@jsenv/plugin-transpilation 1.5.59 → 1.5.60
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/plugin-transpilation",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.60",
|
|
4
4
|
"description": "TODO",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"@babel/plugin-syntax-optional-catch-binding": "7.8.3",
|
|
25
25
|
"@babel/plugin-transform-arrow-functions": "7.27.1",
|
|
26
26
|
"@babel/plugin-transform-block-scoped-functions": "7.27.1",
|
|
27
|
-
"@babel/plugin-transform-block-scoping": "7.28.
|
|
28
|
-
"@babel/plugin-transform-classes": "7.28.
|
|
27
|
+
"@babel/plugin-transform-block-scoping": "7.28.4",
|
|
28
|
+
"@babel/plugin-transform-classes": "7.28.4",
|
|
29
29
|
"@babel/plugin-transform-computed-properties": "7.27.1",
|
|
30
30
|
"@babel/plugin-transform-destructuring": "7.28.0",
|
|
31
31
|
"@babel/plugin-transform-dotall-regex": "7.27.1",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"@babel/plugin-transform-literals": "7.27.1",
|
|
38
38
|
"@babel/plugin-transform-new-target": "7.27.1",
|
|
39
39
|
"@babel/plugin-transform-numeric-separator": "7.27.1",
|
|
40
|
-
"@babel/plugin-transform-object-rest-spread": "7.28.
|
|
40
|
+
"@babel/plugin-transform-object-rest-spread": "7.28.4",
|
|
41
41
|
"@babel/plugin-transform-object-super": "7.27.1",
|
|
42
42
|
"@babel/plugin-transform-optional-catch-binding": "7.27.1",
|
|
43
43
|
"@babel/plugin-transform-optional-chaining": "7.27.1",
|
|
44
44
|
"@babel/plugin-transform-parameters": "7.27.7",
|
|
45
|
-
"@babel/plugin-transform-regenerator": "7.28.
|
|
45
|
+
"@babel/plugin-transform-regenerator": "7.28.4",
|
|
46
46
|
"@babel/plugin-transform-shorthand-properties": "7.27.1",
|
|
47
47
|
"@babel/plugin-transform-spread": "7.27.1",
|
|
48
48
|
"@babel/plugin-transform-sticky-regex": "7.27.1",
|
|
@@ -50,14 +50,14 @@
|
|
|
50
50
|
"@babel/plugin-transform-typeof-symbol": "7.27.1",
|
|
51
51
|
"@babel/plugin-transform-unicode-property-regex": "7.27.1",
|
|
52
52
|
"@babel/plugin-transform-unicode-regex": "7.27.1",
|
|
53
|
-
"@jsenv/ast": "6.7.
|
|
54
|
-
"@jsenv/js-module-fallback": "1.4.
|
|
53
|
+
"@jsenv/ast": "6.7.14",
|
|
54
|
+
"@jsenv/js-module-fallback": "1.4.22",
|
|
55
55
|
"@jsenv/sourcemap": "1.3.10",
|
|
56
56
|
"@jsenv/urls": "2.9.1",
|
|
57
57
|
"@jsenv/utils": "2.3.1",
|
|
58
58
|
"babel-plugin-transform-async-to-promises": "0.8.18",
|
|
59
59
|
"construct-style-sheets-polyfill": "3.1.0",
|
|
60
|
-
"lightningcss": "1.30.
|
|
60
|
+
"lightningcss": "1.30.2"
|
|
61
61
|
},
|
|
62
62
|
"engines": {
|
|
63
63
|
"node": ">=16.13.0"
|
|
@@ -42,7 +42,7 @@ export const babelPluginBabelHelpersAsJsenvImports = (
|
|
|
42
42
|
from: getImportSpecifier(babelHelperImportSpecifier),
|
|
43
43
|
nameHint: `_${name}`,
|
|
44
44
|
// disable interop, useless as we work only with js modules
|
|
45
|
-
importedType: "es6",
|
|
45
|
+
// importedType: "es6",
|
|
46
46
|
// importedInterop: "uncompiled",
|
|
47
47
|
});
|
|
48
48
|
cachedHelpers[name] = helper;
|
|
@@ -23,8 +23,8 @@ export const jsenvPluginBabel = ({ babelHelpersAsImport = true } = {}) => {
|
|
|
23
23
|
const babelPluginStructure = getBaseBabelPluginStructure({
|
|
24
24
|
url: urlInfo.originalUrl,
|
|
25
25
|
isSupported,
|
|
26
|
-
isJsModule,
|
|
27
|
-
getImportSpecifier,
|
|
26
|
+
// isJsModule,
|
|
27
|
+
// getImportSpecifier,
|
|
28
28
|
});
|
|
29
29
|
|
|
30
30
|
if (!isSupported("async_generator_function")) {
|
|
@@ -112,9 +112,7 @@ export const jsenvPluginJsModuleConversion = ({ remapImportSpecifier }) => {
|
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
114
|
const { content, sourcemap } = await convertJsModuleToJsClassic({
|
|
115
|
-
rootDirectoryUrl: urlInfo.context.rootDirectoryUrl,
|
|
116
115
|
input: jsModuleUrlInfo.content,
|
|
117
|
-
inputIsEntryPoint: urlInfo.isEntryPoint,
|
|
118
116
|
inputSourcemap: jsModuleUrlInfo.sourcemap,
|
|
119
117
|
inputUrl: jsModuleUrlInfo.url,
|
|
120
118
|
outputUrl: urlInfo.url,
|