Add numeric separator to shippedProposals (#10971)
* add plugins * add plugin description * run build-data * set shipped proposals true * update test fixtures * corejs.proposals should not imply shipped proposals * fix eslint errors Please enter the commit message for your changes. Lines starting * create new object in packages/babel-compat-data/scripts/data/plugin-features.js
This commit is contained in:
@@ -328,6 +328,14 @@
|
||||
"opera": "37",
|
||||
"electron": "1.1"
|
||||
},
|
||||
"proposal-numeric-separator": {
|
||||
"chrome": "75",
|
||||
"firefox": "70",
|
||||
"safari": "13",
|
||||
"node": "12.5",
|
||||
"ios": "13",
|
||||
"opera": "62"
|
||||
},
|
||||
"transform-member-expression-literals": {
|
||||
"chrome": "7",
|
||||
"opera": "12",
|
||||
|
||||
@@ -116,9 +116,14 @@ const es2020 = {
|
||||
"proposal-optional-chaining": "optional chaining operator (?.)",
|
||||
};
|
||||
|
||||
const shippedProposal = {
|
||||
"proposal-numeric-separator": "numeric separator",
|
||||
};
|
||||
|
||||
// Run plugins for modern features first
|
||||
module.exports = Object.assign(
|
||||
{},
|
||||
shippedProposal,
|
||||
es2020,
|
||||
es2019,
|
||||
es2018,
|
||||
|
||||
Reference in New Issue
Block a user