Bump compat-table and update preset-env mappings (#10127)

This commit is contained in:
Brian Ng 2019-07-03 09:37:06 -05:00 committed by GitHub
parent 595a349174
commit cbb482e2f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 46 additions and 10 deletions

View File

@ -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"

View File

@ -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"
} }
} }

View File

@ -8,8 +8,7 @@
}, },
"modules": false, "modules": false,
"useBuiltIns": "entry", "useBuiltIns": "entry",
"corejs": 2, "corejs": 2
"modules": false
} }
] ]
] ]

View File

@ -8,8 +8,7 @@
}, },
"modules": false, "modules": false,
"useBuiltIns": "entry", "useBuiltIns": "entry",
"corejs": 2, "corejs": 2
"modules": false
} }
] ]
] ]

View File

@ -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();

View File

@ -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();

View File

@ -1 +1 @@
const a = () => 1; var a = () => 1;

View File

@ -0,0 +1,2 @@
const a = () => 1;

View File

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

View File

@ -0,0 +1 @@
const a = () => 1;

View File

@ -0,0 +1,5 @@
{
let a = 3
}
let a = 3

View File

@ -0,0 +1,13 @@
{
"presets": [
[
"../../../../lib",
{
"debug": true,
"targets": {
"safari": "10"
}
}
]
]
}

View File

@ -0,0 +1,4 @@
{
var _a = 3;
}
var a = 3;