Sha256: 06beaf6813993726079a8003a711a64934600cf20684dd926c11c5c88e33ee97
Contents?: true
Size: 1.04 KB
Versions: 1
Compression:
Stored size: 1.04 KB
Contents
/* eslint sort-keys: "error" */ // These mappings represent the syntax proposals that have been // shipped by browsers, and are enabled by the `shippedProposals` option. const proposalPlugins = { "proposal-numeric-separator": true }; // use intermediary object to enforce alphabetical key order const pluginSyntaxObject = { "proposal-async-generator-functions": "syntax-async-generators", "proposal-json-strings": "syntax-json-strings", "proposal-nullish-coalescing-operator": "syntax-nullish-coalescing-operator", "proposal-numeric-separator": "syntax-numeric-separator", "proposal-object-rest-spread": "syntax-object-rest-spread", "proposal-optional-catch-binding": "syntax-optional-catch-binding", "proposal-optional-chaining": "syntax-optional-chaining", "proposal-unicode-property-regex": null, }; const pluginSyntaxEntries = Object.keys(pluginSyntaxObject).map(function (key) { return [key, pluginSyntaxObject[key]]; }); const pluginSyntaxMap = new Map(pluginSyntaxEntries); module.exports = { pluginSyntaxMap, proposalPlugins };
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
condenser-0.3 | lib/condenser/processors/node_modules/@babel/preset-env/data/shipped-proposals.js |