Update mappings for node 10 in preset-env (#9048)

This commit is contained in:
Brian Ng 2018-11-20 15:29:45 -06:00 committed by GitHub
parent 5979b0669b
commit 61c1c77a28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 45 additions and 5 deletions

View File

@ -205,6 +205,7 @@
"edge": "12",
"firefox": "5",
"safari": "10.1",
"node": "10.13",
"ie": "9",
"ios": "10.3",
"electron": "3"
@ -840,6 +841,7 @@
"edge": "18",
"firefox": "58",
"safari": "11.1",
"node": "10.13",
"ios": "11.3",
"opera": "50",
"electron": "3"
@ -1060,6 +1062,7 @@
"chrome": "63",
"firefox": "57",
"safari": "12",
"node": "10.13",
"ios": "12",
"opera": "50",
"electron": "3"

View File

@ -169,9 +169,9 @@
"chrome": "49",
"edge": "14",
"firefox": "51",
"safari": "10",
"safari": "10.1",
"node": "6",
"ios": "10",
"ios": "10.3",
"opera": "36",
"electron": "1"
},
@ -229,6 +229,7 @@
"chrome": "63",
"firefox": "57",
"safari": "12",
"node": "10.13",
"ios": "12",
"opera": "50",
"electron": "3"
@ -245,6 +246,7 @@
"proposal-unicode-property-regex": {
"chrome": "64",
"safari": "11.1",
"node": "10.13",
"ios": "11.3",
"opera": "51",
"electron": "3"
@ -254,6 +256,7 @@
"chrome": "66",
"firefox": "58",
"safari": "11.1",
"node": "10.13",
"ios": "11.3",
"opera": "53",
"electron": "3"

View File

@ -51,7 +51,7 @@
"@babel/plugin-transform-template-literals": "^7.0.0",
"@babel/plugin-transform-typeof-symbol": "^7.0.0",
"@babel/plugin-transform-unicode-regex": "^7.0.0",
"browserslist": "^4.1.0",
"browserslist": "^4.3.4",
"invariant": "^2.2.2",
"js-levenshtein": "^1.1.3",
"semver": "^5.3.0"
@ -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#e3630aade96bbe1d228498c18168fe7f2cd15697",
"compat-table": "kangax/compat-table#5c8c113068e15298abd300ec9d064abb5edc636e",
"electron-to-chromium": "1.3.79"
}
}

View File

@ -1 +1 @@
const a = () => 1;
var a = () => 1;

View File

@ -0,0 +1,2 @@
const a = () => 1;

View File

@ -0,0 +1,14 @@
{
"presets": [
[
"../../../../lib",
{
"targets": {
"browsers": ["ios >= 10.3"]
},
"modules": false
}
]
]
}

View File

@ -0,0 +1 @@
const a = () => 1;

View File

@ -0,0 +1,2 @@
import "@babel/polyfill";

View File

@ -0,0 +1,15 @@
{
"presets": [
[
"../../../../lib",
{
"targets": {
"node": "10.13"
},
"modules": false,
"useBuiltIns": "entry"
}
]
]
}