@jsenv/core 38.4.0 → 38.4.2
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/dist/jsenv_core.js +21 -21
- package/package.json +6 -6
package/dist/jsenv_core.js
CHANGED
|
@@ -9542,7 +9542,7 @@ const babelHelperNameFromUrl = (url) => {
|
|
|
9542
9542
|
// Ideally it would be documented or a separate module
|
|
9543
9543
|
|
|
9544
9544
|
const babelPluginCompatMap = {
|
|
9545
|
-
"
|
|
9545
|
+
"transform-numeric-separator": {
|
|
9546
9546
|
chrome: "75",
|
|
9547
9547
|
opera: "62",
|
|
9548
9548
|
edge: "79",
|
|
@@ -9573,7 +9573,7 @@ const babelPluginCompatMap = {
|
|
|
9573
9573
|
node: "14",
|
|
9574
9574
|
electron: "8.1",
|
|
9575
9575
|
},
|
|
9576
|
-
"
|
|
9576
|
+
"transform-optional-chaining": {
|
|
9577
9577
|
chrome: "80",
|
|
9578
9578
|
opera: "67",
|
|
9579
9579
|
edge: "80",
|
|
@@ -9582,7 +9582,7 @@ const babelPluginCompatMap = {
|
|
|
9582
9582
|
node: "14",
|
|
9583
9583
|
electron: "8.1",
|
|
9584
9584
|
},
|
|
9585
|
-
"
|
|
9585
|
+
"transform-json-strings": {
|
|
9586
9586
|
chrome: "66",
|
|
9587
9587
|
opera: "53",
|
|
9588
9588
|
edge: "79",
|
|
@@ -9593,7 +9593,7 @@ const babelPluginCompatMap = {
|
|
|
9593
9593
|
samsung: "9",
|
|
9594
9594
|
electron: "3",
|
|
9595
9595
|
},
|
|
9596
|
-
"
|
|
9596
|
+
"transform-optional-catch-binding": {
|
|
9597
9597
|
chrome: "66",
|
|
9598
9598
|
opera: "53",
|
|
9599
9599
|
edge: "79",
|
|
@@ -9627,7 +9627,7 @@ const babelPluginCompatMap = {
|
|
|
9627
9627
|
samsung: "8",
|
|
9628
9628
|
electron: "3",
|
|
9629
9629
|
},
|
|
9630
|
-
"
|
|
9630
|
+
"transform-object-rest-spread": {
|
|
9631
9631
|
chrome: "60",
|
|
9632
9632
|
opera: "47",
|
|
9633
9633
|
edge: "79",
|
|
@@ -9649,7 +9649,7 @@ const babelPluginCompatMap = {
|
|
|
9649
9649
|
samsung: "8",
|
|
9650
9650
|
electron: "3",
|
|
9651
9651
|
},
|
|
9652
|
-
"
|
|
9652
|
+
"transform-unicode-property-regex": {
|
|
9653
9653
|
chrome: "64",
|
|
9654
9654
|
opera: "51",
|
|
9655
9655
|
edge: "79",
|
|
@@ -9978,28 +9978,28 @@ const getBaseBabelPluginStructure = ({
|
|
|
9978
9978
|
};
|
|
9979
9979
|
|
|
9980
9980
|
const babelPluginStructure = {};
|
|
9981
|
-
if (isBabelPluginNeeded("
|
|
9982
|
-
babelPluginStructure["
|
|
9983
|
-
"@babel/plugin-
|
|
9981
|
+
if (isBabelPluginNeeded("transform-numeric-separator")) {
|
|
9982
|
+
babelPluginStructure["transform-numeric-separator"] = requireBabelPlugin(
|
|
9983
|
+
"@babel/plugin-transform-numeric-separator",
|
|
9984
9984
|
);
|
|
9985
9985
|
}
|
|
9986
|
-
if (isBabelPluginNeeded("
|
|
9987
|
-
babelPluginStructure["
|
|
9988
|
-
"@babel/plugin-
|
|
9986
|
+
if (isBabelPluginNeeded("transform-json-strings")) {
|
|
9987
|
+
babelPluginStructure["transform-json-strings"] = requireBabelPlugin(
|
|
9988
|
+
"@babel/plugin-transform-json-strings",
|
|
9989
9989
|
);
|
|
9990
9990
|
}
|
|
9991
|
-
if (isBabelPluginNeeded("
|
|
9992
|
-
babelPluginStructure["
|
|
9993
|
-
"@babel/plugin-
|
|
9991
|
+
if (isBabelPluginNeeded("transform-object-rest-spread")) {
|
|
9992
|
+
babelPluginStructure["transform-object-rest-spread"] = requireBabelPlugin(
|
|
9993
|
+
"@babel/plugin-transform-object-rest-spread",
|
|
9994
9994
|
);
|
|
9995
9995
|
}
|
|
9996
|
-
if (isBabelPluginNeeded("
|
|
9997
|
-
babelPluginStructure["
|
|
9998
|
-
requireBabelPlugin("@babel/plugin-
|
|
9996
|
+
if (isBabelPluginNeeded("transform-optional-catch-binding")) {
|
|
9997
|
+
babelPluginStructure["transform-optional-catch-binding"] =
|
|
9998
|
+
requireBabelPlugin("@babel/plugin-transform-optional-catch-binding");
|
|
9999
9999
|
}
|
|
10000
|
-
if (isBabelPluginNeeded("
|
|
10001
|
-
babelPluginStructure["
|
|
10002
|
-
requireBabelPlugin("@babel/plugin-
|
|
10000
|
+
if (isBabelPluginNeeded("transform-unicode-property-regex")) {
|
|
10001
|
+
babelPluginStructure["transform-unicode-property-regex"] =
|
|
10002
|
+
requireBabelPlugin("@babel/plugin-transform-unicode-property-regex");
|
|
10003
10003
|
}
|
|
10004
10004
|
// if (isBabelPluginNeeded("proposal-decorators") && content.includes("@")) {
|
|
10005
10005
|
// babelPluginStructure["proposal-decorators"] = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/core",
|
|
3
|
-
"version": "38.4.
|
|
3
|
+
"version": "38.4.2",
|
|
4
4
|
"description": "Tool to develop, test and build js projects",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -67,15 +67,15 @@
|
|
|
67
67
|
"@jsenv/importmap": "1.2.1",
|
|
68
68
|
"@jsenv/inspect": "2.0.0",
|
|
69
69
|
"@jsenv/integrity": "0.0.1",
|
|
70
|
-
"@jsenv/js-module-fallback": "1.3.
|
|
71
|
-
"@jsenv/log": "3.5.
|
|
70
|
+
"@jsenv/js-module-fallback": "1.3.11",
|
|
71
|
+
"@jsenv/log": "3.5.2",
|
|
72
72
|
"@jsenv/node-esm-resolution": "1.0.2",
|
|
73
|
-
"@jsenv/plugin-bundling": "2.6.
|
|
73
|
+
"@jsenv/plugin-bundling": "2.6.4",
|
|
74
74
|
"@jsenv/plugin-minification": "1.5.4",
|
|
75
75
|
"@jsenv/plugin-supervisor": "1.4.1",
|
|
76
|
-
"@jsenv/plugin-transpilation": "1.3.
|
|
76
|
+
"@jsenv/plugin-transpilation": "1.3.11",
|
|
77
77
|
"@jsenv/runtime-compat": "1.2.2",
|
|
78
|
-
"@jsenv/server": "15.2.
|
|
78
|
+
"@jsenv/server": "15.2.1",
|
|
79
79
|
"@jsenv/sourcemap": "1.2.5",
|
|
80
80
|
"@jsenv/url-meta": "8.4.0",
|
|
81
81
|
"@jsenv/urls": "2.2.2",
|