Skip to content

Commit c21257f

Browse files
authored
Merge branch 'alpha' into select-keys
2 parents af9d16b + 5a35e6f commit c21257f

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

changelogs/CHANGELOG_alpha.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# [6.0.0-alpha.26](https://github.com/parse-community/parse-server/compare/6.0.0-alpha.25...6.0.0-alpha.26) (2023-01-20)
2+
3+
4+
### Bug Fixes
5+
6+
* ES6 modules do not await the import of Cloud Code files ([#8368](https://github.com/parse-community/parse-server/issues/8368)) ([a7bd180](https://github.com/parse-community/parse-server/commit/a7bd180cddd784c8735622f22e012c342ad535fb))
7+
18
# [6.0.0-alpha.25](https://github.com/parse-community/parse-server/compare/6.0.0-alpha.24...6.0.0-alpha.25) (2023-01-16)
29

310

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "parse-server",
3-
"version": "6.0.0-alpha.25",
3+
"version": "6.0.0-alpha.26",
44
"description": "An express module providing a Parse-compatible API server",
55
"main": "lib/index.js",
66
"repository": {

src/ParseServer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class ParseServer {
124124
json = require(process.env.npm_package_json);
125125
}
126126
if (process.env.npm_package_type === 'module' || json?.type === 'module') {
127-
await import(path.resolve(process.cwd(), cloud)).default;
127+
await import(path.resolve(process.cwd(), cloud));
128128
} else {
129129
require(path.resolve(process.cwd(), cloud));
130130
}

0 commit comments

Comments
 (0)