mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-23 12:21:07 +07:00
15 lines
564 B
JavaScript
15 lines
564 B
JavaScript
// These mappings represent the syntax proposals that have been
|
|
// shipped by browsers, and are enabled by the `shippedProposals` option.
|
|
|
|
const proposalPlugins = {};
|
|
|
|
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],
|
|
["proposal-json-strings", "syntax-json-strings"],
|
|
]);
|
|
|
|
module.exports = { proposalPlugins, pluginSyntaxMap };
|