Fix es6.string.iterator mapping in babel-preset-env (#8693)
This commit is contained in:
parent
fc1a52cb75
commit
880fc1f54e
@ -277,7 +277,7 @@ const es = {
|
||||
"es6.string.from-code-point": "String static methods / String.fromCodePoint",
|
||||
"es6.string.includes": "String.prototype methods / String.prototype.includes",
|
||||
"es6.string.italics": "String.prototype HTML methods",
|
||||
"es6.string.iterator": "String properties and methods / Property access on strings",
|
||||
"es6.string.iterator": "String.prototype methods / String.prototype[Symbol.iterator]",
|
||||
"es6.string.link": "String.prototype HTML methods",
|
||||
// "String.prototype methods / String.prototype.normalize" not implemented
|
||||
"es7.string.pad-start": "String padding / String.prototype.padStart",
|
||||
|
||||
@ -1183,16 +1183,14 @@
|
||||
"electron": "1.1"
|
||||
},
|
||||
"es6.string.iterator": {
|
||||
"chrome": "5",
|
||||
"opera": "10.10",
|
||||
"chrome": "38",
|
||||
"edge": "12",
|
||||
"firefox": "2",
|
||||
"safari": "3.1",
|
||||
"node": "0.10",
|
||||
"ie": "8",
|
||||
"android": "4.0",
|
||||
"ios": "6",
|
||||
"electron": "1.1"
|
||||
"firefox": "36",
|
||||
"safari": "9",
|
||||
"node": "0.12",
|
||||
"ios": "9",
|
||||
"opera": "25",
|
||||
"electron": "0.2"
|
||||
},
|
||||
"es6.string.link": {
|
||||
"chrome": "5",
|
||||
|
||||
@ -129,6 +129,7 @@ Using polyfills with `entry` option:
|
||||
es6.string.ends-with { "android":"4" }
|
||||
es6.string.from-code-point { "android":"4" }
|
||||
es6.string.includes { "android":"4" }
|
||||
es6.string.iterator { "android":"4" }
|
||||
es7.string.pad-start { "android":"4" }
|
||||
es7.string.pad-end { "android":"4" }
|
||||
es6.string.raw { "android":"4" }
|
||||
@ -149,4 +150,4 @@ Using polyfills with `entry` option:
|
||||
web.timers { "android":"4" }
|
||||
web.immediate { "android":"4" }
|
||||
web.dom.iterable { "android":"4" }
|
||||
Successfully compiled 1 file with Babel.
|
||||
Successfully compiled 1 file with Babel.
|
||||
@ -140,6 +140,7 @@ Using polyfills with `entry` option:
|
||||
es6.string.from-code-point { "ie":"10" }
|
||||
es6.string.includes { "ie":"10" }
|
||||
es6.string.italics { "ie":"10" }
|
||||
es6.string.iterator { "ie":"10" }
|
||||
es6.string.link { "ie":"10" }
|
||||
es7.string.pad-start { "chrome":"54", "ie":"10", "node":"6" }
|
||||
es7.string.pad-end { "chrome":"54", "ie":"10", "node":"6" }
|
||||
@ -165,4 +166,4 @@ Using polyfills with `entry` option:
|
||||
web.timers { "chrome":"54", "ie":"10", "node":"6" }
|
||||
web.immediate { "chrome":"54", "ie":"10", "node":"6" }
|
||||
web.dom.iterable { "chrome":"54", "ie":"10", "node":"6" }
|
||||
Successfully compiled 1 file with Babel.
|
||||
Successfully compiled 1 file with Babel.
|
||||
@ -100,7 +100,6 @@ Using polyfills with `entry` option:
|
||||
es6.string.fontcolor { "electron":"0.36" }
|
||||
es6.string.fontsize { "electron":"0.36" }
|
||||
es6.string.italics { "electron":"0.36" }
|
||||
es6.string.iterator { "electron":"0.36" }
|
||||
es6.string.link { "electron":"0.36" }
|
||||
es7.string.pad-start { "electron":"0.36" }
|
||||
es7.string.pad-end { "electron":"0.36" }
|
||||
@ -125,4 +124,4 @@ Using polyfills with `entry` option:
|
||||
web.timers { "electron":"0.36" }
|
||||
web.immediate { "electron":"0.36" }
|
||||
web.dom.iterable { "electron":"0.36" }
|
||||
Successfully compiled 1 file with Babel.
|
||||
Successfully compiled 1 file with Babel.
|
||||
@ -144,6 +144,7 @@ Using polyfills with `entry` option:
|
||||
es6.string.from-code-point { "ie":"10", "safari":"7" }
|
||||
es6.string.includes { "ie":"10", "safari":"7" }
|
||||
es6.string.italics { "ie":"10" }
|
||||
es6.string.iterator { "ie":"10", "safari":"7" }
|
||||
es6.string.link { "ie":"10" }
|
||||
es7.string.pad-start { "chrome":"54", "edge":"13", "ie":"10", "ios":"9", "safari":"7" }
|
||||
es7.string.pad-end { "chrome":"54", "edge":"13", "ie":"10", "ios":"9", "safari":"7" }
|
||||
@ -169,4 +170,4 @@ Using polyfills with `entry` option:
|
||||
web.timers { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" }
|
||||
web.immediate { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" }
|
||||
web.dom.iterable { "chrome":"54", "edge":"13", "firefox":"49", "ie":"10", "ios":"9", "safari":"7" }
|
||||
Successfully compiled 1 file with Babel.
|
||||
Successfully compiled 1 file with Babel.
|
||||
@ -43,10 +43,11 @@ Using polyfills with `usage` option:
|
||||
[<CWD>/src/in.js] Added following polyfills:
|
||||
es6.promise { "ie":"11" }
|
||||
es6.map { "firefox":"50", "ie":"11" }
|
||||
es6.string.iterator { "ie":"11" }
|
||||
es6.array.iterator { "ie":"11" }
|
||||
web.dom.iterable { "chrome":"52", "firefox":"50", "ie":"11" }
|
||||
|
||||
[<CWD>/src/in2.js] Added following polyfills:
|
||||
regenerator-runtime { "chrome":"52", "firefox":"50", "ie":"11" }
|
||||
web.dom.iterable { "chrome":"52", "firefox":"50", "ie":"11" }
|
||||
Successfully compiled 2 files with Babel.
|
||||
Successfully compiled 2 files with Babel.
|
||||
@ -167,7 +167,7 @@ Using polyfills with `entry` option:
|
||||
es6.string.from-code-point { "ie":"10" }
|
||||
es6.string.includes { "ie":"10" }
|
||||
es6.string.italics { "electron":"0.36", "ie":"10" }
|
||||
es6.string.iterator { "electron":"0.36" }
|
||||
es6.string.iterator { "ie":"10" }
|
||||
es6.string.link { "electron":"0.36", "ie":"10" }
|
||||
es7.string.pad-start { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" }
|
||||
es7.string.pad-end { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" }
|
||||
@ -195,4 +195,4 @@ Using polyfills with `entry` option:
|
||||
web.timers { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" }
|
||||
web.immediate { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" }
|
||||
web.dom.iterable { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" }
|
||||
Successfully compiled 1 file with Babel.
|
||||
Successfully compiled 1 file with Babel.
|
||||
@ -140,6 +140,7 @@ Using polyfills with `entry` option:
|
||||
es6.string.from-code-point { "ie":"10" }
|
||||
es6.string.includes { "ie":"10" }
|
||||
es6.string.italics { "ie":"10" }
|
||||
es6.string.iterator { "ie":"10" }
|
||||
es6.string.link { "ie":"10" }
|
||||
es7.string.pad-start { "chrome":"54", "ie":"10", "node":"6.10" }
|
||||
es7.string.pad-end { "chrome":"54", "ie":"10", "node":"6.10" }
|
||||
@ -165,4 +166,4 @@ Using polyfills with `entry` option:
|
||||
web.timers { "chrome":"54", "ie":"10", "node":"6.10" }
|
||||
web.immediate { "chrome":"54", "ie":"10", "node":"6.10" }
|
||||
web.dom.iterable { "chrome":"54", "ie":"10", "node":"6.10" }
|
||||
Successfully compiled 1 file with Babel.
|
||||
Successfully compiled 1 file with Babel.
|
||||
@ -1,5 +1,6 @@
|
||||
import "core-js/modules/web.dom.iterable";
|
||||
import "core-js/modules/es6.array.iterator";
|
||||
import "core-js/modules/es6.string.iterator";
|
||||
import "core-js/modules/es6.promise";
|
||||
var p = Promise.resolve(0);
|
||||
Promise.all([p]).then(function (outcome) {
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import "core-js/modules/web.dom.iterable";
|
||||
import "core-js/modules/es6.array.iterator";
|
||||
import "core-js/modules/es6.string.iterator";
|
||||
import "core-js/modules/es6.promise";
|
||||
var p = Promise.resolve(0);
|
||||
Promise.race([p]).then(function (outcome) {
|
||||
|
||||
@ -94,6 +94,7 @@ import "core-js/modules/es6.string.fontsize";
|
||||
import "core-js/modules/es6.string.from-code-point";
|
||||
import "core-js/modules/es6.string.includes";
|
||||
import "core-js/modules/es6.string.italics";
|
||||
import "core-js/modules/es6.string.iterator";
|
||||
import "core-js/modules/es6.string.link";
|
||||
import "core-js/modules/es7.string.pad-start";
|
||||
import "core-js/modules/es7.string.pad-end";
|
||||
|
||||
@ -96,6 +96,7 @@ import "core-js/modules/es6.string.fontsize";
|
||||
import "core-js/modules/es6.string.from-code-point";
|
||||
import "core-js/modules/es6.string.includes";
|
||||
import "core-js/modules/es6.string.italics";
|
||||
import "core-js/modules/es6.string.iterator";
|
||||
import "core-js/modules/es6.string.link";
|
||||
import "core-js/modules/es7.string.pad-start";
|
||||
import "core-js/modules/es7.string.pad-end";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user