aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@babel/preset-env/data/shipped-proposals.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@babel/preset-env/data/shipped-proposals.js')
-rw-r--r--node_modules/@babel/preset-env/data/shipped-proposals.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/node_modules/@babel/preset-env/data/shipped-proposals.js b/node_modules/@babel/preset-env/data/shipped-proposals.js
new file mode 100644
index 00000000..23b74501
--- /dev/null
+++ b/node_modules/@babel/preset-env/data/shipped-proposals.js
@@ -0,0 +1,17 @@
+// These mappings represent the builtin/feature proposals that have been
+// shipped by browsers, and are enabled by the `shippedProposals` option.
+
+const builtIns = {};
+
+const features = {
+ "proposal-optional-catch-binding": "optional catch binding",
+};
+
+const pluginSyntaxMap = new Map([
+ ["proposal-async-generator-functions", "syntax-async-generators"],
+ ["proposal-object-rest-spread", "syntax-object-rest-spread"],
+ ["proposal-optional-catch-binding", "syntax-optional-catch-binding"],
+ ["proposal-unicode-property-regex", null],
+]);
+
+module.exports = { builtIns, features, pluginSyntaxMap };