30 lines
1.4 KiB
JavaScript
30 lines
1.4 KiB
JavaScript
|
"use strict";
|
||
|
|
||
|
Object.defineProperty(exports, "__esModule", {
|
||
|
value: true
|
||
|
});
|
||
|
exports.proposalSyntaxPlugins = exports.proposalPlugins = exports.pluginSyntaxMap = void 0;
|
||
|
const proposalPlugins = exports.proposalPlugins = new Set();
|
||
|
const proposalSyntaxPlugins = exports.proposalSyntaxPlugins = ["syntax-import-assertions", "syntax-import-attributes"];
|
||
|
const pluginSyntaxObject = {
|
||
|
"transform-async-generator-functions": "syntax-async-generators",
|
||
|
"transform-class-properties": "syntax-class-properties",
|
||
|
"transform-class-static-block": "syntax-class-static-block",
|
||
|
"transform-export-namespace-from": "syntax-export-namespace-from",
|
||
|
"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 = exports.pluginSyntaxMap = new Map(pluginSyntaxEntries);
|
||
|
|
||
|
//# sourceMappingURL=shipped-proposals.js.map
|