Skip to content

Commit

Permalink
Bump compat-table and update preset-env mappings (#10127)
Browse files Browse the repository at this point in the history
  • Loading branch information
existentialism committed Jul 3, 2019
1 parent 595a349 commit cbb482e
Show file tree
Hide file tree
Showing 13 changed files with 46 additions and 10 deletions.
4 changes: 2 additions & 2 deletions packages/babel-preset-env/data/plugins.json
Expand Up @@ -186,9 +186,9 @@
"chrome": "49",
"edge": "14",
"firefox": "51",
"safari": "10.1",
"safari": "11",
"node": "6",
"ios": "10.3",
"ios": "11",
"samsung": "5",
"opera": "36",
"electron": "1"
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-preset-env/package.json
Expand Up @@ -75,7 +75,7 @@
"@babel/helper-plugin-test-runner": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"caniuse-db": "1.0.30000969",
"compat-table": "kangax/compat-table#45cbb3a3778815c973c5b09d69bf7d1f7ed0c316",
"compat-table": "kangax/compat-table#071b478a44694cbf72a78db8ab39189c5ae31b2c",
"electron-to-chromium": "1.3.113"
}
}
Expand Up @@ -8,8 +8,7 @@
},
"modules": false,
"useBuiltIns": "entry",
"corejs": 2,
"modules": false
"corejs": 2
}
]
]
Expand Down
Expand Up @@ -8,8 +8,7 @@
},
"modules": false,
"useBuiltIns": "entry",
"corejs": 2,
"modules": false
"corejs": 2
}
]
]
Expand Down
@@ -1,2 +1,2 @@
import "core-js/modules/web.dom.iterable";
const a = new Map();
var a = new Map();
@@ -1,3 +1,3 @@
import "core-js/modules/es.array.iterator";
import "core-js/modules/web.dom-collections.iterator";
const a = new Map();
var a = new Map();
@@ -1 +1 @@
const a = () => 1;
var a = () => 1;
@@ -0,0 +1,2 @@
const a = () => 1;

@@ -0,0 +1,13 @@
{
"presets": [
[
"../../../../lib",
{
"targets": {
"browsers": ["ios >= 11"]
},
"modules": false
}
]
]
}
@@ -0,0 +1 @@
const a = () => 1;
@@ -0,0 +1,5 @@
{
let a = 3
}

let a = 3
@@ -0,0 +1,13 @@
{
"presets": [
[
"../../../../lib",
{
"debug": true,
"targets": {
"safari": "10"
}
}
]
]
}
@@ -0,0 +1,4 @@
{
var _a = 3;
}
var a = 3;

0 comments on commit cbb482e

Please sign in to comment.