aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@babel/preset-env/data/shipped-proposals.js
blob: 23b7450117f0caa7a74e5f56df7fcafa297d748e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 };