@atlaspack/transformer-js 7.1.1 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/JSTransformer.js +1 -0
- package/package.json +7 -7
- package/src/JSTransformer.ts +1 -0
package/lib/JSTransformer.js
CHANGED
|
@@ -437,6 +437,7 @@ var _default = exports.default = new (_plugin().Transformer)({
|
|
|
437
437
|
is_source: asset.isSource,
|
|
438
438
|
enable_global_this_aliaser: Boolean(config.enableGlobalThisAliaser),
|
|
439
439
|
enable_lazy_loading_transformer: Boolean(config.enableLazyLoadingTransformer),
|
|
440
|
+
nested_promise_import_fix: options.featureFlags.nestedPromiseImportFix,
|
|
440
441
|
callMacro: asset.isSource ? async (err, src, exportName, args, loc) => {
|
|
441
442
|
let mod;
|
|
442
443
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/transformer-js",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"license": "(MIT OR Apache-2.0)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@atlaspack/diagnostic": "2.14.4",
|
|
28
|
-
"@atlaspack/feature-flags": "2.26.
|
|
29
|
-
"@atlaspack/plugin": "2.14.
|
|
30
|
-
"@atlaspack/rust": "3.
|
|
28
|
+
"@atlaspack/feature-flags": "2.26.2",
|
|
29
|
+
"@atlaspack/plugin": "2.14.38",
|
|
30
|
+
"@atlaspack/rust": "3.10.0",
|
|
31
31
|
"@parcel/source-map": "^2.1.1",
|
|
32
|
-
"@atlaspack/utils": "3.1.
|
|
33
|
-
"@atlaspack/workers": "2.14.
|
|
32
|
+
"@atlaspack/utils": "3.1.2",
|
|
33
|
+
"@atlaspack/workers": "2.14.38",
|
|
34
34
|
"@swc/helpers": "^0.5.15",
|
|
35
35
|
"browserslist": "^4.6.6",
|
|
36
36
|
"nullthrows": "^1.1.1",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"semver": "^7.5.2"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@atlaspack/core": "2.
|
|
41
|
+
"@atlaspack/core": "2.27.0"
|
|
42
42
|
},
|
|
43
43
|
"type": "commonjs"
|
|
44
44
|
}
|
package/src/JSTransformer.ts
CHANGED
|
@@ -538,6 +538,7 @@ export default new Transformer({
|
|
|
538
538
|
enable_lazy_loading_transformer: Boolean(
|
|
539
539
|
config.enableLazyLoadingTransformer,
|
|
540
540
|
),
|
|
541
|
+
nested_promise_import_fix: options.featureFlags.nestedPromiseImportFix,
|
|
541
542
|
callMacro: asset.isSource
|
|
542
543
|
? async (err: any, src: any, exportName: any, args: any, loc: any) => {
|
|
543
544
|
let mod;
|