@jsenv/plugin-transpilation 1.3.10 → 1.3.11

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.3.10",
3
+ "version": "1.3.11",
4
4
  "description": "TODO",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -20,12 +20,12 @@
20
20
  "/src/"
21
21
  ],
22
22
  "dependencies": {
23
- "@babel/plugin-proposal-json-strings": "7.18.6",
24
- "@babel/plugin-proposal-numeric-separator": "7.18.6",
25
- "@babel/plugin-proposal-object-rest-spread": "7.20.7",
26
- "@babel/plugin-proposal-optional-catch-binding": "7.18.6",
27
- "@babel/plugin-proposal-optional-chaining": "7.21.0",
28
- "@babel/plugin-proposal-unicode-property-regex": "7.18.6",
23
+ "@babel/plugin-transform-json-strings": "7.23.4",
24
+ "@babel/plugin-transform-numeric-separator": "7.23.4",
25
+ "@babel/plugin-transform-object-rest-spread": "7.23.4",
26
+ "@babel/plugin-transform-optional-catch-binding": "7.23.4",
27
+ "@babel/plugin-transform-optional-chaining": "7.23.4",
28
+ "@babel/plugin-transform-unicode-property-regex": "7.23.3",
29
29
  "@babel/plugin-syntax-import-assertions": "7.23.3",
30
30
  "@babel/plugin-syntax-object-rest-spread": "7.8.3",
31
31
  "@babel/plugin-syntax-optional-catch-binding": "7.8.3",
@@ -52,10 +52,10 @@
52
52
  "@babel/plugin-transform-typeof-symbol": "7.23.3",
53
53
  "@babel/plugin-transform-unicode-regex": "7.23.3",
54
54
  "@jsenv/ast": "6.0.2",
55
- "@jsenv/js-module-fallback": "1.3.10",
55
+ "@jsenv/js-module-fallback": "1.3.11",
56
56
  "@jsenv/runtime-compat": "1.2.2",
57
57
  "babel-plugin-transform-async-to-promises": "0.8.18",
58
58
  "construct-style-sheets-polyfill": "3.1.0",
59
- "lightningcss": "1.22.1"
59
+ "lightningcss": "1.23.0"
60
60
  }
61
61
  }
@@ -16,28 +16,28 @@ export const getBaseBabelPluginStructure = ({
16
16
  };
17
17
 
18
18
  const babelPluginStructure = {};
19
- if (isBabelPluginNeeded("proposal-numeric-separator")) {
20
- babelPluginStructure["proposal-numeric-separator"] = requireBabelPlugin(
21
- "@babel/plugin-proposal-numeric-separator",
19
+ if (isBabelPluginNeeded("transform-numeric-separator")) {
20
+ babelPluginStructure["transform-numeric-separator"] = requireBabelPlugin(
21
+ "@babel/plugin-transform-numeric-separator",
22
22
  );
23
23
  }
24
- if (isBabelPluginNeeded("proposal-json-strings")) {
25
- babelPluginStructure["proposal-json-strings"] = requireBabelPlugin(
26
- "@babel/plugin-proposal-json-strings",
24
+ if (isBabelPluginNeeded("transform-json-strings")) {
25
+ babelPluginStructure["transform-json-strings"] = requireBabelPlugin(
26
+ "@babel/plugin-transform-json-strings",
27
27
  );
28
28
  }
29
- if (isBabelPluginNeeded("proposal-object-rest-spread")) {
30
- babelPluginStructure["proposal-object-rest-spread"] = requireBabelPlugin(
31
- "@babel/plugin-proposal-object-rest-spread",
29
+ if (isBabelPluginNeeded("transform-object-rest-spread")) {
30
+ babelPluginStructure["transform-object-rest-spread"] = requireBabelPlugin(
31
+ "@babel/plugin-transform-object-rest-spread",
32
32
  );
33
33
  }
34
- if (isBabelPluginNeeded("proposal-optional-catch-binding")) {
35
- babelPluginStructure["proposal-optional-catch-binding"] =
36
- requireBabelPlugin("@babel/plugin-proposal-optional-catch-binding");
34
+ if (isBabelPluginNeeded("transform-optional-catch-binding")) {
35
+ babelPluginStructure["transform-optional-catch-binding"] =
36
+ requireBabelPlugin("@babel/plugin-transform-optional-catch-binding");
37
37
  }
38
- if (isBabelPluginNeeded("proposal-unicode-property-regex")) {
39
- babelPluginStructure["proposal-unicode-property-regex"] =
40
- requireBabelPlugin("@babel/plugin-proposal-unicode-property-regex");
38
+ if (isBabelPluginNeeded("transform-unicode-property-regex")) {
39
+ babelPluginStructure["transform-unicode-property-regex"] =
40
+ requireBabelPlugin("@babel/plugin-transform-unicode-property-regex");
41
41
  }
42
42
  // if (isBabelPluginNeeded("proposal-decorators") && content.includes("@")) {
43
43
  // babelPluginStructure["proposal-decorators"] = [
@@ -9,7 +9,7 @@
9
9
  // Ideally it would be documented or a separate module
10
10
 
11
11
  export const babelPluginCompatMap = {
12
- "proposal-numeric-separator": {
12
+ "transform-numeric-separator": {
13
13
  chrome: "75",
14
14
  opera: "62",
15
15
  edge: "79",
@@ -40,7 +40,7 @@ export const babelPluginCompatMap = {
40
40
  node: "14",
41
41
  electron: "8.1",
42
42
  },
43
- "proposal-optional-chaining": {
43
+ "transform-optional-chaining": {
44
44
  chrome: "80",
45
45
  opera: "67",
46
46
  edge: "80",
@@ -49,7 +49,7 @@ export const babelPluginCompatMap = {
49
49
  node: "14",
50
50
  electron: "8.1",
51
51
  },
52
- "proposal-json-strings": {
52
+ "transform-json-strings": {
53
53
  chrome: "66",
54
54
  opera: "53",
55
55
  edge: "79",
@@ -60,7 +60,7 @@ export const babelPluginCompatMap = {
60
60
  samsung: "9",
61
61
  electron: "3",
62
62
  },
63
- "proposal-optional-catch-binding": {
63
+ "transform-optional-catch-binding": {
64
64
  chrome: "66",
65
65
  opera: "53",
66
66
  edge: "79",
@@ -94,7 +94,7 @@ export const babelPluginCompatMap = {
94
94
  samsung: "8",
95
95
  electron: "3",
96
96
  },
97
- "proposal-object-rest-spread": {
97
+ "transform-object-rest-spread": {
98
98
  chrome: "60",
99
99
  opera: "47",
100
100
  edge: "79",
@@ -116,7 +116,7 @@ export const babelPluginCompatMap = {
116
116
  samsung: "8",
117
117
  electron: "3",
118
118
  },
119
- "proposal-unicode-property-regex": {
119
+ "transform-unicode-property-regex": {
120
120
  chrome: "64",
121
121
  opera: "51",
122
122
  edge: "79",