Bump compat-table and update preset-env mappings (#10127)
This commit is contained in:
parent
595a349174
commit
cbb482e2f9
@ -186,9 +186,9 @@
|
|||||||
"chrome": "49",
|
"chrome": "49",
|
||||||
"edge": "14",
|
"edge": "14",
|
||||||
"firefox": "51",
|
"firefox": "51",
|
||||||
"safari": "10.1",
|
"safari": "11",
|
||||||
"node": "6",
|
"node": "6",
|
||||||
"ios": "10.3",
|
"ios": "11",
|
||||||
"samsung": "5",
|
"samsung": "5",
|
||||||
"opera": "36",
|
"opera": "36",
|
||||||
"electron": "1"
|
"electron": "1"
|
||||||
|
|||||||
@ -75,7 +75,7 @@
|
|||||||
"@babel/helper-plugin-test-runner": "^7.0.0",
|
"@babel/helper-plugin-test-runner": "^7.0.0",
|
||||||
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
|
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
|
||||||
"caniuse-db": "1.0.30000969",
|
"caniuse-db": "1.0.30000969",
|
||||||
"compat-table": "kangax/compat-table#45cbb3a3778815c973c5b09d69bf7d1f7ed0c316",
|
"compat-table": "kangax/compat-table#071b478a44694cbf72a78db8ab39189c5ae31b2c",
|
||||||
"electron-to-chromium": "1.3.113"
|
"electron-to-chromium": "1.3.113"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,8 +8,7 @@
|
|||||||
},
|
},
|
||||||
"modules": false,
|
"modules": false,
|
||||||
"useBuiltIns": "entry",
|
"useBuiltIns": "entry",
|
||||||
"corejs": 2,
|
"corejs": 2
|
||||||
"modules": false
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
|||||||
@ -8,8 +8,7 @@
|
|||||||
},
|
},
|
||||||
"modules": false,
|
"modules": false,
|
||||||
"useBuiltIns": "entry",
|
"useBuiltIns": "entry",
|
||||||
"corejs": 2,
|
"corejs": 2
|
||||||
"modules": false
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
|||||||
@ -1,2 +1,2 @@
|
|||||||
import "core-js/modules/web.dom.iterable";
|
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/es.array.iterator";
|
||||||
import "core-js/modules/web.dom-collections.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;
|
||||||
|
|||||||
2
packages/babel-preset-env/test/fixtures/preset-options/ios-11/input.mjs
vendored
Normal file
2
packages/babel-preset-env/test/fixtures/preset-options/ios-11/input.mjs
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
const a = () => 1;
|
||||||
|
|
||||||
13
packages/babel-preset-env/test/fixtures/preset-options/ios-11/options.json
vendored
Normal file
13
packages/babel-preset-env/test/fixtures/preset-options/ios-11/options.json
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"presets": [
|
||||||
|
[
|
||||||
|
"../../../../lib",
|
||||||
|
{
|
||||||
|
"targets": {
|
||||||
|
"browsers": ["ios >= 11"]
|
||||||
|
},
|
||||||
|
"modules": false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
||||||
1
packages/babel-preset-env/test/fixtures/preset-options/ios-11/output.mjs
vendored
Normal file
1
packages/babel-preset-env/test/fixtures/preset-options/ios-11/output.mjs
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
const a = () => 1;
|
||||||
5
packages/babel-preset-env/test/fixtures/preset-options/safari-10_3-block-scoped/input.js
vendored
Normal file
5
packages/babel-preset-env/test/fixtures/preset-options/safari-10_3-block-scoped/input.js
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
let a = 3
|
||||||
|
}
|
||||||
|
|
||||||
|
let a = 3
|
||||||
13
packages/babel-preset-env/test/fixtures/preset-options/safari-10_3-block-scoped/options.json
vendored
Normal file
13
packages/babel-preset-env/test/fixtures/preset-options/safari-10_3-block-scoped/options.json
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"presets": [
|
||||||
|
[
|
||||||
|
"../../../../lib",
|
||||||
|
{
|
||||||
|
"debug": true,
|
||||||
|
"targets": {
|
||||||
|
"safari": "10"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
||||||
4
packages/babel-preset-env/test/fixtures/preset-options/safari-10_3-block-scoped/output.js
vendored
Normal file
4
packages/babel-preset-env/test/fixtures/preset-options/safari-10_3-block-scoped/output.js
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
var _a = 3;
|
||||||
|
}
|
||||||
|
var a = 3;
|
||||||
Loading…
x
Reference in New Issue
Block a user