Skip to content

Commit

Permalink
Bump compat-table and updating preset-env mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
existentialism committed Jun 25, 2019
1 parent 8f8a457 commit 2dd4d23
Show file tree
Hide file tree
Showing 14 changed files with 48 additions and 12 deletions.
4 changes: 2 additions & 2 deletions packages/babel-preset-env/data/built-in-modules.json
Expand Up @@ -6,7 +6,7 @@
"safari": "10.1",
"opera": "48",
"ios_saf": "10.3",
"and_chr": "71",
"and_ff": "64"
"and_chr": "74",
"and_ff": "66"
}
}
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 @@ -73,7 +73,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 2dd4d23

Please sign in to comment.