@jsenv/core 38.4.1 → 38.4.3
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 +22 -21
- package/package.json +4 -4
package/dist/jsenv_core.js
CHANGED
|
@@ -4115,6 +4115,7 @@ const createDynamicLog = ({
|
|
|
4115
4115
|
// The spy is required only if we actually wrote something in the stream
|
|
4116
4116
|
// something else than this code has written in the stream
|
|
4117
4117
|
// so we just write without clearing (append instead of replacing)
|
|
4118
|
+
lastOutput = "";
|
|
4118
4119
|
lastOutputFromOutside = "";
|
|
4119
4120
|
} else {
|
|
4120
4121
|
stringToWrite = `${getErasePreviousOutput()}${string}`;
|
|
@@ -9542,7 +9543,7 @@ const babelHelperNameFromUrl = (url) => {
|
|
|
9542
9543
|
// Ideally it would be documented or a separate module
|
|
9543
9544
|
|
|
9544
9545
|
const babelPluginCompatMap = {
|
|
9545
|
-
"
|
|
9546
|
+
"transform-numeric-separator": {
|
|
9546
9547
|
chrome: "75",
|
|
9547
9548
|
opera: "62",
|
|
9548
9549
|
edge: "79",
|
|
@@ -9573,7 +9574,7 @@ const babelPluginCompatMap = {
|
|
|
9573
9574
|
node: "14",
|
|
9574
9575
|
electron: "8.1",
|
|
9575
9576
|
},
|
|
9576
|
-
"
|
|
9577
|
+
"transform-optional-chaining": {
|
|
9577
9578
|
chrome: "80",
|
|
9578
9579
|
opera: "67",
|
|
9579
9580
|
edge: "80",
|
|
@@ -9582,7 +9583,7 @@ const babelPluginCompatMap = {
|
|
|
9582
9583
|
node: "14",
|
|
9583
9584
|
electron: "8.1",
|
|
9584
9585
|
},
|
|
9585
|
-
"
|
|
9586
|
+
"transform-json-strings": {
|
|
9586
9587
|
chrome: "66",
|
|
9587
9588
|
opera: "53",
|
|
9588
9589
|
edge: "79",
|
|
@@ -9593,7 +9594,7 @@ const babelPluginCompatMap = {
|
|
|
9593
9594
|
samsung: "9",
|
|
9594
9595
|
electron: "3",
|
|
9595
9596
|
},
|
|
9596
|
-
"
|
|
9597
|
+
"transform-optional-catch-binding": {
|
|
9597
9598
|
chrome: "66",
|
|
9598
9599
|
opera: "53",
|
|
9599
9600
|
edge: "79",
|
|
@@ -9627,7 +9628,7 @@ const babelPluginCompatMap = {
|
|
|
9627
9628
|
samsung: "8",
|
|
9628
9629
|
electron: "3",
|
|
9629
9630
|
},
|
|
9630
|
-
"
|
|
9631
|
+
"transform-object-rest-spread": {
|
|
9631
9632
|
chrome: "60",
|
|
9632
9633
|
opera: "47",
|
|
9633
9634
|
edge: "79",
|
|
@@ -9649,7 +9650,7 @@ const babelPluginCompatMap = {
|
|
|
9649
9650
|
samsung: "8",
|
|
9650
9651
|
electron: "3",
|
|
9651
9652
|
},
|
|
9652
|
-
"
|
|
9653
|
+
"transform-unicode-property-regex": {
|
|
9653
9654
|
chrome: "64",
|
|
9654
9655
|
opera: "51",
|
|
9655
9656
|
edge: "79",
|
|
@@ -9978,28 +9979,28 @@ const getBaseBabelPluginStructure = ({
|
|
|
9978
9979
|
};
|
|
9979
9980
|
|
|
9980
9981
|
const babelPluginStructure = {};
|
|
9981
|
-
if (isBabelPluginNeeded("
|
|
9982
|
-
babelPluginStructure["
|
|
9983
|
-
"@babel/plugin-
|
|
9982
|
+
if (isBabelPluginNeeded("transform-numeric-separator")) {
|
|
9983
|
+
babelPluginStructure["transform-numeric-separator"] = requireBabelPlugin(
|
|
9984
|
+
"@babel/plugin-transform-numeric-separator",
|
|
9984
9985
|
);
|
|
9985
9986
|
}
|
|
9986
|
-
if (isBabelPluginNeeded("
|
|
9987
|
-
babelPluginStructure["
|
|
9988
|
-
"@babel/plugin-
|
|
9987
|
+
if (isBabelPluginNeeded("transform-json-strings")) {
|
|
9988
|
+
babelPluginStructure["transform-json-strings"] = requireBabelPlugin(
|
|
9989
|
+
"@babel/plugin-transform-json-strings",
|
|
9989
9990
|
);
|
|
9990
9991
|
}
|
|
9991
|
-
if (isBabelPluginNeeded("
|
|
9992
|
-
babelPluginStructure["
|
|
9993
|
-
"@babel/plugin-
|
|
9992
|
+
if (isBabelPluginNeeded("transform-object-rest-spread")) {
|
|
9993
|
+
babelPluginStructure["transform-object-rest-spread"] = requireBabelPlugin(
|
|
9994
|
+
"@babel/plugin-transform-object-rest-spread",
|
|
9994
9995
|
);
|
|
9995
9996
|
}
|
|
9996
|
-
if (isBabelPluginNeeded("
|
|
9997
|
-
babelPluginStructure["
|
|
9998
|
-
requireBabelPlugin("@babel/plugin-
|
|
9997
|
+
if (isBabelPluginNeeded("transform-optional-catch-binding")) {
|
|
9998
|
+
babelPluginStructure["transform-optional-catch-binding"] =
|
|
9999
|
+
requireBabelPlugin("@babel/plugin-transform-optional-catch-binding");
|
|
9999
10000
|
}
|
|
10000
|
-
if (isBabelPluginNeeded("
|
|
10001
|
-
babelPluginStructure["
|
|
10002
|
-
requireBabelPlugin("@babel/plugin-
|
|
10001
|
+
if (isBabelPluginNeeded("transform-unicode-property-regex")) {
|
|
10002
|
+
babelPluginStructure["transform-unicode-property-regex"] =
|
|
10003
|
+
requireBabelPlugin("@babel/plugin-transform-unicode-property-regex");
|
|
10003
10004
|
}
|
|
10004
10005
|
// if (isBabelPluginNeeded("proposal-decorators") && content.includes("@")) {
|
|
10005
10006
|
// 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.3",
|
|
4
4
|
"description": "Tool to develop, test and build js projects",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -67,13 +67,13 @@
|
|
|
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.
|
|
70
|
+
"@jsenv/js-module-fallback": "1.3.11",
|
|
71
71
|
"@jsenv/log": "3.5.2",
|
|
72
72
|
"@jsenv/node-esm-resolution": "1.0.2",
|
|
73
73
|
"@jsenv/plugin-bundling": "2.6.4",
|
|
74
74
|
"@jsenv/plugin-minification": "1.5.4",
|
|
75
|
-
"@jsenv/plugin-supervisor": "1.4.
|
|
76
|
-
"@jsenv/plugin-transpilation": "1.3.
|
|
75
|
+
"@jsenv/plugin-supervisor": "1.4.2",
|
|
76
|
+
"@jsenv/plugin-transpilation": "1.3.11",
|
|
77
77
|
"@jsenv/runtime-compat": "1.2.2",
|
|
78
78
|
"@jsenv/server": "15.2.1",
|
|
79
79
|
"@jsenv/sourcemap": "1.2.5",
|