Skip to content

Commit

Permalink
Update mappings for node 10 in preset-env (#9048)
Browse files Browse the repository at this point in the history
  • Loading branch information
existentialism committed Nov 20, 2018
1 parent 5979b06 commit 61c1c77
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 5 deletions.
3 changes: 3 additions & 0 deletions packages/babel-preset-env/data/built-ins.json
Expand Up @@ -205,6 +205,7 @@
"edge": "12",
"firefox": "5",
"safari": "10.1",
"node": "10.13",
"ie": "9",
"ios": "10.3",
"electron": "3"
Expand Down Expand Up @@ -840,6 +841,7 @@
"edge": "18",
"firefox": "58",
"safari": "11.1",
"node": "10.13",
"ios": "11.3",
"opera": "50",
"electron": "3"
Expand Down Expand Up @@ -1060,6 +1062,7 @@
"chrome": "63",
"firefox": "57",
"safari": "12",
"node": "10.13",
"ios": "12",
"opera": "50",
"electron": "3"
Expand Down
7 changes: 5 additions & 2 deletions packages/babel-preset-env/data/plugins.json
Expand Up @@ -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"
},
Expand Down Expand Up @@ -229,6 +229,7 @@
"chrome": "63",
"firefox": "57",
"safari": "12",
"node": "10.13",
"ios": "12",
"opera": "50",
"electron": "3"
Expand All @@ -245,6 +246,7 @@
"proposal-unicode-property-regex": {
"chrome": "64",
"safari": "11.1",
"node": "10.13",
"ios": "11.3",
"opera": "51",
"electron": "3"
Expand All @@ -254,6 +256,7 @@
"chrome": "66",
"firefox": "58",
"safari": "11.1",
"node": "10.13",
"ios": "11.3",
"opera": "53",
"electron": "3"
Expand Down
4 changes: 2 additions & 2 deletions packages/babel-preset-env/package.json
Expand Up @@ -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"
Expand All @@ -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"
}
}
@@ -1 +1 @@
const a = () => 1;
var a = () => 1;
@@ -0,0 +1,2 @@
const a = () => 1;

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

@@ -0,0 +1 @@
const a = () => 1;
@@ -0,0 +1,2 @@
import "@babel/polyfill";

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

0 comments on commit 61c1c77

Please sign in to comment.