summaryrefslogtreecommitdiff
path: root/node_modules/@babel/preset-env/lib/shipped-proposals.js
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-10-14 15:31:11 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-10-14 15:31:11 +0800
commitaa773172311dcada759dfbaac485f4bc6e00bc21 (patch)
treeca6d9a5eff3ab8f689f9acb4f0df791d9486813d /node_modules/@babel/preset-env/lib/shipped-proposals.js
parentc5a5384e846f242e901e859fe600d695d8990a9a (diff)
added babel
Diffstat (limited to 'node_modules/@babel/preset-env/lib/shipped-proposals.js')
-rw-r--r--node_modules/@babel/preset-env/lib/shipped-proposals.js31
1 files changed, 31 insertions, 0 deletions
diff --git a/node_modules/@babel/preset-env/lib/shipped-proposals.js b/node_modules/@babel/preset-env/lib/shipped-proposals.js
new file mode 100644
index 00000000..a6738475
--- /dev/null
+++ b/node_modules/@babel/preset-env/lib/shipped-proposals.js
@@ -0,0 +1,31 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports.proposalSyntaxPlugins = exports.proposalPlugins = exports.pluginSyntaxMap = void 0;
+const proposalPlugins = new Set();
+exports.proposalPlugins = proposalPlugins;
+const proposalSyntaxPlugins = ["syntax-import-assertions", "syntax-import-attributes"];
+exports.proposalSyntaxPlugins = proposalSyntaxPlugins;
+const pluginSyntaxObject = {
+ "transform-async-generator-functions": "syntax-async-generators",
+ "transform-class-properties": "syntax-class-properties",
+ "transform-class-static-block": "syntax-class-static-block",
+ "transform-json-strings": "syntax-json-strings",
+ "transform-nullish-coalescing-operator": "syntax-nullish-coalescing-operator",
+ "transform-numeric-separator": "syntax-numeric-separator",
+ "transform-object-rest-spread": "syntax-object-rest-spread",
+ "transform-optional-catch-binding": "syntax-optional-catch-binding",
+ "transform-optional-chaining": "syntax-optional-chaining",
+ "transform-private-methods": "syntax-class-properties",
+ "transform-private-property-in-object": "syntax-private-property-in-object",
+ "transform-unicode-property-regex": null
+};
+const pluginSyntaxEntries = Object.keys(pluginSyntaxObject).map(function (key) {
+ return [key, pluginSyntaxObject[key]];
+});
+const pluginSyntaxMap = new Map(pluginSyntaxEntries);
+exports.pluginSyntaxMap = pluginSyntaxMap;
+
+//# sourceMappingURL=shipped-proposals.js.map