Update fixtures for core-js new version
This commit is contained in:
parent
e28c8ac612
commit
1b19608a5a
@ -1,5 +1,6 @@
|
||||
import "core-js/modules/es.array.unscopables.flat";
|
||||
import "core-js/modules/es.array.unscopables.flat-map";
|
||||
import "core-js/modules/es.math.hypot";
|
||||
import "core-js/modules/es.object.from-entries";
|
||||
import "core-js/modules/esnext.aggregate-error";
|
||||
import "core-js/modules/esnext.array.last-index";
|
||||
|
||||
@ -28,6 +28,7 @@ import "core-js/modules/es.function.has-instance";
|
||||
import "core-js/modules/es.json.to-string-tag";
|
||||
import "core-js/modules/es.map";
|
||||
import "core-js/modules/es.math.acosh";
|
||||
import "core-js/modules/es.math.hypot";
|
||||
import "core-js/modules/es.math.to-string-tag";
|
||||
import "core-js/modules/es.object.assign";
|
||||
import "core-js/modules/es.object.define-getter";
|
||||
|
||||
@ -26,6 +26,7 @@ import "core-js/modules/es.function.has-instance";
|
||||
import "core-js/modules/es.json.to-string-tag";
|
||||
import "core-js/modules/es.map";
|
||||
import "core-js/modules/es.math.acosh";
|
||||
import "core-js/modules/es.math.hypot";
|
||||
import "core-js/modules/es.math.to-string-tag";
|
||||
import "core-js/modules/es.object.define-getter";
|
||||
import "core-js/modules/es.object.define-setter";
|
||||
|
||||
@ -3,12 +3,15 @@ import "core-js/modules/es.array.flat";
|
||||
import "core-js/modules/es.array.flat-map";
|
||||
import "core-js/modules/es.array.unscopables.flat";
|
||||
import "core-js/modules/es.array.unscopables.flat-map";
|
||||
import "core-js/modules/es.math.hypot";
|
||||
import "core-js/modules/es.object.from-entries";
|
||||
import "core-js/modules/es.promise";
|
||||
import "core-js/modules/es.promise.finally";
|
||||
import "core-js/modules/web.immediate";
|
||||
import "core-js/modules/web.queue-microtask";
|
||||
import "core-js/modules/web.url";
|
||||
import "core-js/modules/web.url.to-json";
|
||||
import "core-js/modules/web.url-search-params";
|
||||
const foo = {
|
||||
a: true
|
||||
};
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import "core-js/modules/es.array.unscopables.flat";
|
||||
import "core-js/modules/es.array.unscopables.flat-map";
|
||||
import "core-js/modules/es.math.hypot";
|
||||
import "core-js/modules/es.object.from-entries";
|
||||
import "core-js/modules/web.immediate";
|
||||
const foo = {
|
||||
|
||||
@ -6,6 +6,7 @@ import "core-js/modules/es.array.iterator";
|
||||
import "core-js/modules/es.array.sort";
|
||||
import "core-js/modules/es.array.unscopables.flat";
|
||||
import "core-js/modules/es.array.unscopables.flat-map";
|
||||
import "core-js/modules/es.math.hypot";
|
||||
import "core-js/modules/es.object.define-getter";
|
||||
import "core-js/modules/es.object.define-setter";
|
||||
import "core-js/modules/es.object.from-entries";
|
||||
|
||||
@ -6,6 +6,7 @@ import "core-js/modules/es.array.iterator";
|
||||
import "core-js/modules/es.array.sort";
|
||||
import "core-js/modules/es.array.unscopables.flat";
|
||||
import "core-js/modules/es.array.unscopables.flat-map";
|
||||
import "core-js/modules/es.math.hypot";
|
||||
import "core-js/modules/es.object.define-getter";
|
||||
import "core-js/modules/es.object.define-setter";
|
||||
import "core-js/modules/es.object.from-entries";
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import "core-js/modules/es.array.unscopables.flat";
|
||||
import "core-js/modules/es.array.unscopables.flat-map";
|
||||
import "core-js/modules/es.math.hypot";
|
||||
import "core-js/modules/es.object.from-entries";
|
||||
import "core-js/modules/esnext.aggregate-error";
|
||||
import "core-js/modules/esnext.array.last-index";
|
||||
|
||||
@ -6,6 +6,7 @@ import "core-js/modules/es.array.iterator";
|
||||
import "core-js/modules/es.array.sort";
|
||||
import "core-js/modules/es.array.unscopables.flat";
|
||||
import "core-js/modules/es.array.unscopables.flat-map";
|
||||
import "core-js/modules/es.math.hypot";
|
||||
import "core-js/modules/es.object.define-getter";
|
||||
import "core-js/modules/es.object.define-setter";
|
||||
import "core-js/modules/es.object.from-entries";
|
||||
|
||||
@ -3,5 +3,6 @@ import "core-js/modules/es.array.flat";
|
||||
import "core-js/modules/es.array.flat-map";
|
||||
import "core-js/modules/es.array.unscopables.flat";
|
||||
import "core-js/modules/es.array.unscopables.flat-map";
|
||||
import "core-js/modules/es.math.hypot";
|
||||
import "core-js/modules/es.object.from-entries";
|
||||
import "core-js/modules/web.queue-microtask";
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
import "core-js/modules/es.array.unscopables.flat";
|
||||
import "core-js/modules/es.array.unscopables.flat-map";
|
||||
import "core-js/modules/es.math.hypot";
|
||||
import "core-js/modules/es.object.from-entries";
|
||||
import "core-js/modules/web.queue-microtask";
|
||||
|
||||
@ -6,6 +6,7 @@ import "core-js/modules/es.array.iterator";
|
||||
import "core-js/modules/es.array.sort";
|
||||
import "core-js/modules/es.array.unscopables.flat";
|
||||
import "core-js/modules/es.array.unscopables.flat-map";
|
||||
import "core-js/modules/es.math.hypot";
|
||||
import "core-js/modules/es.object.define-getter";
|
||||
import "core-js/modules/es.object.define-setter";
|
||||
import "core-js/modules/es.object.from-entries";
|
||||
|
||||
@ -6,6 +6,7 @@ import "core-js/modules/es.array.iterator";
|
||||
import "core-js/modules/es.array.sort";
|
||||
import "core-js/modules/es.array.unscopables.flat";
|
||||
import "core-js/modules/es.array.unscopables.flat-map";
|
||||
import "core-js/modules/es.math.hypot";
|
||||
import "core-js/modules/es.object.define-getter";
|
||||
import "core-js/modules/es.object.define-setter";
|
||||
import "core-js/modules/es.object.from-entries";
|
||||
|
||||
@ -14,6 +14,8 @@ require("core-js/modules/es.array.unscopables.flat");
|
||||
|
||||
require("core-js/modules/es.array.unscopables.flat-map");
|
||||
|
||||
require("core-js/modules/es.math.hypot");
|
||||
|
||||
require("core-js/modules/es.object.define-getter");
|
||||
|
||||
require("core-js/modules/es.object.define-setter");
|
||||
|
||||
@ -2,6 +2,8 @@ require("core-js/modules/es.array.unscopables.flat");
|
||||
|
||||
require("core-js/modules/es.array.unscopables.flat-map");
|
||||
|
||||
require("core-js/modules/es.math.hypot");
|
||||
|
||||
require("core-js/modules/es.object.from-entries");
|
||||
|
||||
1 ** 2;
|
||||
|
||||
@ -14,6 +14,8 @@ require("core-js/modules/es.array.unscopables.flat");
|
||||
|
||||
require("core-js/modules/es.array.unscopables.flat-map");
|
||||
|
||||
require("core-js/modules/es.math.hypot");
|
||||
|
||||
require("core-js/modules/es.object.define-getter");
|
||||
|
||||
require("core-js/modules/es.object.define-setter");
|
||||
|
||||
@ -14,6 +14,8 @@ require("core-js/modules/es.array.unscopables.flat");
|
||||
|
||||
require("core-js/modules/es.array.unscopables.flat-map");
|
||||
|
||||
require("core-js/modules/es.math.hypot");
|
||||
|
||||
require("core-js/modules/es.object.define-getter");
|
||||
|
||||
require("core-js/modules/es.object.define-setter");
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
import "core-js/modules/es.array.unscopables.flat";
|
||||
import "core-js/modules/es.array.unscopables.flat-map";
|
||||
import "core-js/modules/es.math.hypot";
|
||||
import "core-js/modules/es.object.from-entries";
|
||||
import "core-js/modules/web.immediate";
|
||||
|
||||
@ -4,6 +4,7 @@ import "core-js/modules/es.array.flat-map";
|
||||
import "core-js/modules/es.array.iterator";
|
||||
import "core-js/modules/es.array.unscopables.flat";
|
||||
import "core-js/modules/es.array.unscopables.flat-map";
|
||||
import "core-js/modules/es.math.hypot";
|
||||
import "core-js/modules/es.object.from-entries";
|
||||
import "core-js/modules/es.promise";
|
||||
import "core-js/modules/es.promise.finally";
|
||||
@ -13,4 +14,6 @@ import "core-js/modules/es.string.trim-start";
|
||||
import "core-js/modules/web.dom-collections.iterator";
|
||||
import "core-js/modules/web.immediate";
|
||||
import "core-js/modules/web.queue-microtask";
|
||||
import "core-js/modules/web.url";
|
||||
import "core-js/modules/web.url.to-json";
|
||||
import "core-js/modules/web.url-search-params";
|
||||
|
||||
@ -4,6 +4,7 @@ import "core-js/modules/es.array.flat-map";
|
||||
import "core-js/modules/es.array.iterator";
|
||||
import "core-js/modules/es.array.unscopables.flat";
|
||||
import "core-js/modules/es.array.unscopables.flat-map";
|
||||
import "core-js/modules/es.math.hypot";
|
||||
import "core-js/modules/es.object.from-entries";
|
||||
import "core-js/modules/es.promise";
|
||||
import "core-js/modules/es.promise.finally";
|
||||
@ -11,4 +12,6 @@ import "core-js/modules/es.string.replace";
|
||||
import "core-js/modules/es.string.trim-end";
|
||||
import "core-js/modules/es.string.trim-start";
|
||||
import "core-js/modules/web.queue-microtask";
|
||||
import "core-js/modules/web.url";
|
||||
import "core-js/modules/web.url.to-json";
|
||||
import "core-js/modules/web.url-search-params";
|
||||
|
||||
@ -7,6 +7,7 @@ import "core-js/modules/es.array.sort";
|
||||
import "core-js/modules/es.array.unscopables.flat";
|
||||
import "core-js/modules/es.array.unscopables.flat-map";
|
||||
import "core-js/modules/es.map";
|
||||
import "core-js/modules/es.math.hypot";
|
||||
import "core-js/modules/es.object.define-getter";
|
||||
import "core-js/modules/es.object.define-setter";
|
||||
import "core-js/modules/es.object.from-entries";
|
||||
|
||||
@ -6,6 +6,7 @@ import "core-js/modules/es.array.iterator";
|
||||
import "core-js/modules/es.array.sort";
|
||||
import "core-js/modules/es.array.unscopables.flat";
|
||||
import "core-js/modules/es.array.unscopables.flat-map";
|
||||
import "core-js/modules/es.math.hypot";
|
||||
import "core-js/modules/es.object.define-getter";
|
||||
import "core-js/modules/es.object.define-setter";
|
||||
import "core-js/modules/es.object.from-entries";
|
||||
|
||||
@ -7,6 +7,7 @@ import "core-js/modules/es.array.sort";
|
||||
import "core-js/modules/es.array.unscopables.flat";
|
||||
import "core-js/modules/es.array.unscopables.flat-map";
|
||||
import "core-js/modules/es.map";
|
||||
import "core-js/modules/es.math.hypot";
|
||||
import "core-js/modules/es.object.define-getter";
|
||||
import "core-js/modules/es.object.define-setter";
|
||||
import "core-js/modules/es.object.from-entries";
|
||||
|
||||
@ -20,6 +20,7 @@ Using polyfills with `entry` option:
|
||||
[<CWD>/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-all-chrome-71/input.mjs] Replaced core-js entries with the following polyfills:
|
||||
es.array.unscopables.flat { "chrome":"71" }
|
||||
es.array.unscopables.flat-map { "chrome":"71" }
|
||||
es.math.hypot { "chrome":"71" }
|
||||
es.object.from-entries { "chrome":"71" }
|
||||
esnext.aggregate-error { "chrome":"71" }
|
||||
esnext.array.last-index { "chrome":"71" }
|
||||
|
||||
@ -71,6 +71,7 @@ Using polyfills with `entry` option:
|
||||
es.json.to-string-tag { "electron":"0.36" }
|
||||
es.map { "electron":"0.36" }
|
||||
es.math.acosh { "electron":"0.36" }
|
||||
es.math.hypot { "electron":"0.36" }
|
||||
es.math.to-string-tag { "electron":"0.36" }
|
||||
es.object.assign { "electron":"0.36" }
|
||||
es.object.define-getter { "electron":"0.36" }
|
||||
|
||||
@ -20,6 +20,7 @@ Using polyfills with `entry` option:
|
||||
[<CWD>/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-es-chrome-71/input.mjs] Replaced core-js entries with the following polyfills:
|
||||
es.array.unscopables.flat { "chrome":"71" }
|
||||
es.array.unscopables.flat-map { "chrome":"71" }
|
||||
es.math.hypot { "chrome":"71" }
|
||||
es.object.from-entries { "chrome":"71" }
|
||||
|
||||
[<CWD>/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-es-chrome-71/input.mjs] Based on your targets, regenerator-runtime import excluded.
|
||||
|
||||
@ -20,6 +20,7 @@ Using polyfills with `entry` option:
|
||||
[<CWD>/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-es-proposals-chrome-71/input.mjs] Replaced core-js entries with the following polyfills:
|
||||
es.array.unscopables.flat { "chrome":"71" }
|
||||
es.array.unscopables.flat-map { "chrome":"71" }
|
||||
es.math.hypot { "chrome":"71" }
|
||||
es.object.from-entries { "chrome":"71" }
|
||||
esnext.aggregate-error { "chrome":"71" }
|
||||
esnext.array.last-index { "chrome":"71" }
|
||||
|
||||
@ -53,6 +53,7 @@ Using polyfills with `entry` option:
|
||||
es.array.sort { "chrome":"55" }
|
||||
es.array.unscopables.flat { "chrome":"55" }
|
||||
es.array.unscopables.flat-map { "chrome":"55" }
|
||||
es.math.hypot { "chrome":"55" }
|
||||
es.object.define-getter { "chrome":"55" }
|
||||
es.object.define-setter { "chrome":"55" }
|
||||
es.object.from-entries { "chrome":"55" }
|
||||
|
||||
@ -110,7 +110,7 @@ Using polyfills with `entry` option:
|
||||
es.math.cosh { "ie":"10", "safari":"7" }
|
||||
es.math.expm1 { "ie":"10", "safari":"7" }
|
||||
es.math.fround { "ie":"10", "safari":"7" }
|
||||
es.math.hypot { "ie":"10", "safari":"7" }
|
||||
es.math.hypot { "chrome":"54", "ie":"10", "safari":"7" }
|
||||
es.math.imul { "ie":"10", "safari":"7" }
|
||||
es.math.log10 { "ie":"10", "safari":"7" }
|
||||
es.math.log1p { "ie":"10", "safari":"7" }
|
||||
|
||||
@ -20,6 +20,7 @@ Using polyfills with `entry` option:
|
||||
[<CWD>/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-stable-chrome-71/input.mjs] Replaced core-js entries with the following polyfills:
|
||||
es.array.unscopables.flat { "chrome":"71" }
|
||||
es.array.unscopables.flat-map { "chrome":"71" }
|
||||
es.math.hypot { "chrome":"71" }
|
||||
es.object.from-entries { "chrome":"71" }
|
||||
web.immediate { "chrome":"71" }
|
||||
|
||||
|
||||
@ -26,6 +26,7 @@ Using polyfills with `entry` option:
|
||||
es.array.iterator { "samsung":"8.2" }
|
||||
es.array.unscopables.flat { "samsung":"8.2" }
|
||||
es.array.unscopables.flat-map { "samsung":"8.2" }
|
||||
es.math.hypot { "samsung":"8.2" }
|
||||
es.object.from-entries { "samsung":"8.2" }
|
||||
es.promise { "samsung":"8.2" }
|
||||
es.promise.finally { "samsung":"8.2" }
|
||||
@ -35,6 +36,8 @@ Using polyfills with `entry` option:
|
||||
web.dom-collections.iterator { "samsung":"8.2" }
|
||||
web.immediate { "samsung":"8.2" }
|
||||
web.queue-microtask { "samsung":"8.2" }
|
||||
web.url { "samsung":"8.2" }
|
||||
web.url.to-json { "samsung":"8.2" }
|
||||
web.url-search-params { "samsung":"8.2" }
|
||||
|
||||
[<CWD>/packages/babel-preset-env/test/fixtures/debug/entry-corejs3-stable-samsung-8.2/input.mjs] Based on your targets, regenerator-runtime import excluded.
|
||||
|
||||
@ -108,7 +108,7 @@ Using polyfills with `entry` option:
|
||||
es.math.cosh { "ie":"10" }
|
||||
es.math.expm1 { "ie":"10" }
|
||||
es.math.fround { "ie":"10" }
|
||||
es.math.hypot { "ie":"10" }
|
||||
es.math.hypot { "chrome":"54", "electron":"0.36", "ie":"10", "node":"6.1" }
|
||||
es.math.imul { "ie":"10" }
|
||||
es.math.log10 { "ie":"10" }
|
||||
es.math.log1p { "ie":"10" }
|
||||
|
||||
@ -95,7 +95,7 @@ Using polyfills with `entry` option:
|
||||
es.math.cosh { "ie":"10" }
|
||||
es.math.expm1 { "ie":"10" }
|
||||
es.math.fround { "ie":"10" }
|
||||
es.math.hypot { "ie":"10" }
|
||||
es.math.hypot { "chrome":"54", "ie":"10", "node":"6.10" }
|
||||
es.math.imul { "ie":"10" }
|
||||
es.math.log10 { "ie":"10" }
|
||||
es.math.log1p { "ie":"10" }
|
||||
|
||||
@ -96,7 +96,7 @@ Using polyfills with `entry` option:
|
||||
es.math.cosh { "ie":"10" }
|
||||
es.math.expm1 { "ie":"10" }
|
||||
es.math.fround { "ie":"10" }
|
||||
es.math.hypot { "ie":"10" }
|
||||
es.math.hypot { "chrome":"54", "ie":"10", "node":"6.10" }
|
||||
es.math.imul { "ie":"10" }
|
||||
es.math.log10 { "ie":"10" }
|
||||
es.math.log1p { "ie":"10" }
|
||||
|
||||
@ -95,7 +95,7 @@ Using polyfills with `entry` option:
|
||||
es.math.cosh { "ie":"10" }
|
||||
es.math.expm1 { "ie":"10" }
|
||||
es.math.fround { "ie":"10" }
|
||||
es.math.hypot { "ie":"10" }
|
||||
es.math.hypot { "chrome":"54", "ie":"10", "node":"6.10" }
|
||||
es.math.imul { "ie":"10" }
|
||||
es.math.log10 { "ie":"10" }
|
||||
es.math.log1p { "ie":"10" }
|
||||
|
||||
@ -97,7 +97,7 @@ Using polyfills with `entry` option:
|
||||
es.math.cosh { "ie":"10" }
|
||||
es.math.expm1 { "ie":"10" }
|
||||
es.math.fround { "ie":"10" }
|
||||
es.math.hypot { "ie":"10" }
|
||||
es.math.hypot { "chrome":"54", "ie":"10", "node":"6" }
|
||||
es.math.imul { "ie":"10" }
|
||||
es.math.log10 { "ie":"10" }
|
||||
es.math.log1p { "ie":"10" }
|
||||
|
||||
@ -274,7 +274,7 @@ describe("babel-runtime", () => {
|
||||
|
||||
it("matchAll, exists", () => {
|
||||
expect(
|
||||
typeof require("../core-js/instance/match-all")("").call("qwe", /./).next,
|
||||
typeof require("../core-js/instance/match-all")("").call("qwe", /./g).next,
|
||||
).toEqual("function");
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user