Update mapping for regex unicode plugin in preset-env (#9091)
This commit is contained in:
parent
4f2eacf615
commit
3fda01b185
@ -49,6 +49,7 @@ const es = {
|
||||
features: [
|
||||
'RegExp "y" and "u" flags / "u" flag, case folding',
|
||||
'RegExp "y" and "u" flags / "u" flag, Unicode code point escapes',
|
||||
'RegExp "y" and "u" flags / "u" flag, non-BMP Unicode characters',
|
||||
'RegExp "y" and "u" flags / "u" flag',
|
||||
],
|
||||
},
|
||||
|
||||
@ -131,9 +131,9 @@
|
||||
"chrome": "50",
|
||||
"edge": "13",
|
||||
"firefox": "46",
|
||||
"safari": "10",
|
||||
"safari": "12",
|
||||
"node": "6",
|
||||
"ios": "10",
|
||||
"ios": "12",
|
||||
"opera": "37",
|
||||
"electron": "1.1"
|
||||
},
|
||||
|
||||
@ -65,7 +65,7 @@
|
||||
"@babel/helper-fixtures": "^7.0.0",
|
||||
"@babel/helper-plugin-test-runner": "^7.0.0",
|
||||
"caniuse-db": "1.0.30000851",
|
||||
"compat-table": "kangax/compat-table#5c8c113068e15298abd300ec9d064abb5edc636e",
|
||||
"compat-table": "kangax/compat-table#29ec2bed5a475b42388866cfc7d24f3f44b12eba",
|
||||
"electron-to-chromium": "1.3.79"
|
||||
}
|
||||
}
|
||||
|
||||
@ -232,8 +232,8 @@ const getLowestImplementedVersion = ({ features }, env) => {
|
||||
return envTests
|
||||
.map(str => str.replace(env, ""))
|
||||
.reduce((a, b) => {
|
||||
if (b === unreleasedLabelForEnv) {
|
||||
return b;
|
||||
if (a === unreleasedLabelForEnv || b === unreleasedLabelForEnv) {
|
||||
return unreleasedLabelForEnv;
|
||||
}
|
||||
|
||||
return semver.lt(semver.coerce(a), semver.coerce(b)) ? b : a;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user