Bump compat-table for preset-env (#7808)

This commit is contained in:
Brian Ng
2018-04-25 16:23:49 -05:00
committed by GitHub
parent 138d60922c
commit 47201db61e
5 changed files with 36 additions and 3 deletions

View File

@@ -79,7 +79,33 @@ const es2015 = {
},
"es6.map": "Map",
"es6.set": "Set",
// This is explicit due to prevent the stage-1 Set proposals under the
// category "Set methods" from being included.
"es6.set": {
features: [
"Set / basic functionality",
"Set / constructor arguments",
"Set / constructor requires new",
"Set / constructor accepts null",
"Set / constructor invokes add",
"Set / iterator closing",
"Set / Set.prototype.add returns this",
"Set / -0 key converts to +0",
"Set / Set.prototype.size",
"Set / Set.prototype.delete",
"Set / Set.prototype.clear",
"Set / Set.prototype.forEach",
"Set / Set.prototype.keys",
"Set / Set.prototype.values",
"Set / Set.prototype.entries",
"Set / Set.prototype[Symbol.iterator]",
"Set / Set.prototype isn't an instance",
"Set / Set iterator prototype chain",
"Set / Set[Symbol.species]",
],
},
"es6.weak-map": "WeakMap",
"es6.weak-set": "WeakSet",

View File

@@ -1150,6 +1150,7 @@
"chrome": "63",
"firefox": "58",
"safari": "11.1",
"ios": "11.3",
"opera": "50"
},
"es7.symbol.async-iterator": {

View File

@@ -229,23 +229,27 @@
"firefox": "55",
"safari": "11.1",
"node": "8.3",
"ios": "11.3",
"opera": "47",
"electron": "2"
},
"proposal-unicode-property-regex": {
"chrome": "64",
"safari": "11.1",
"ios": "11.3",
"opera": "51"
},
"transform-dotall-regex": {
"chrome": "62",
"safari": "11.1",
"ios": "11.3",
"opera": "49"
},
"proposal-optional-catch-binding": {
"chrome": "66",
"firefox": "58",
"safari": "11.1",
"ios": "11.3",
"opera": "53"
}
}

View File

@@ -59,7 +59,7 @@
"@babel/core": "7.0.0-beta.46",
"@babel/helper-fixtures": "7.0.0-beta.46",
"@babel/helper-plugin-test-runner": "7.0.0-beta.46",
"compat-table": "kangax/compat-table#7c202e2da648fbd9d223d48d1680ec8f15147044",
"compat-table": "kangax/compat-table#f405358532e8597614b95af4dd30f2a672583727",
"electron-to-chromium": "^1.3.27",
"request": "^2.83.0"
}

View File

@@ -190,7 +190,9 @@ const getLowestImplementedVersion = ({ features }, env) => {
// Babel itself doesn't implement the feature correctly,
// don't count against it
// only doing this for built-ins atm
if (!test.babel && isBuiltIn) {
//
// NOTE: when/if compat-table adds a babel7 key, we'll want to update this
if (!test.babel6 && isBuiltIn) {
return "-1";
}