From 6ea440b9e833f0f5913d262646c30d4761a7a4f0 Mon Sep 17 00:00:00 2001 From: Denis Pushkarev Date: Sat, 13 Nov 2021 06:56:07 +0700 Subject: [PATCH 01/11] add entries to finished proposals --- README.md | 253 +++++++++++++----- .../accessible-object-hasownproperty.js | 1 - packages/core-js/proposals/array-flat-map.js | 5 + packages/core-js/proposals/array-includes.js | 3 + .../proposals/array-is-template-object.js | 1 + packages/core-js/proposals/array-last.js | 1 + packages/core-js/proposals/async-iteration.js | 2 + .../core-js/proposals/collection-methods.js | 1 + .../core-js/proposals/collection-of-from.js | 1 + .../proposals/efficient-64-bit-arithmetic.js | 1 + packages/core-js/proposals/global-this.js | 1 + packages/core-js/proposals/index.js | 1 + .../core-js/proposals/iterator-helpers.js | 1 + .../core-js/proposals/keys-composition.js | 1 + .../core-js/proposals/map-update-or-insert.js | 1 + packages/core-js/proposals/map-upsert.js | 2 +- packages/core-js/proposals/math-extensions.js | 1 + packages/core-js/proposals/math-signbit.js | 1 + .../core-js/proposals/number-from-string.js | 1 + .../core-js/proposals/object-from-entries.js | 2 + .../object-getownpropertydescriptors.js | 2 + .../core-js/proposals/object-iteration.js | 1 + .../proposals/object-values-entries.js | 3 + packages/core-js/proposals/observable.js | 1 + .../core-js/proposals/promise-all-settled.js | 2 +- packages/core-js/proposals/promise-any.js | 1 + packages/core-js/proposals/promise-finally.js | 2 + packages/core-js/proposals/promise-try.js | 1 + .../core-js/proposals/reflect-metadata.js | 1 + .../core-js/proposals/regexp-dotall-flag.js | 5 + .../core-js/proposals/regexp-named-groups.js | 4 + .../proposals/relative-indexing-method.js | 1 - packages/core-js/proposals/seeded-random.js | 1 + packages/core-js/proposals/set-methods.js | 1 + packages/core-js/proposals/string-at.js | 1 + .../core-js/proposals/string-code-points.js | 1 + .../proposals/string-left-right-trim.js | 3 + .../core-js/proposals/string-match-all.js | 2 +- packages/core-js/proposals/string-padding.js | 3 + .../core-js/proposals/string-replace-all.js | 1 + .../core-js/proposals/symbol-description.js | 2 + packages/core-js/proposals/url.js | 1 + .../proposals/well-formed-stringify.js | 2 + packages/core-js/stage/4.js | 1 + tests/commonjs.mjs | 17 +- 45 files changed, 266 insertions(+), 75 deletions(-) create mode 100644 packages/core-js/proposals/array-flat-map.js create mode 100644 packages/core-js/proposals/array-includes.js create mode 100644 packages/core-js/proposals/async-iteration.js create mode 100644 packages/core-js/proposals/object-from-entries.js create mode 100644 packages/core-js/proposals/object-getownpropertydescriptors.js create mode 100644 packages/core-js/proposals/object-values-entries.js create mode 100644 packages/core-js/proposals/promise-finally.js create mode 100644 packages/core-js/proposals/regexp-dotall-flag.js create mode 100644 packages/core-js/proposals/regexp-named-groups.js create mode 100644 packages/core-js/proposals/string-left-right-trim.js create mode 100644 packages/core-js/proposals/string-padding.js create mode 100644 packages/core-js/proposals/symbol-description.js create mode 100644 packages/core-js/proposals/well-formed-stringify.js diff --git a/README.md b/README.md index 03189bebe002..d643e08d7179 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,27 @@ Promise.resolve(32).then(x => console.log(x)); // => 32 - [ECMAScript: JSON](#ecmascript-json) - [ECMAScript: globalThis](#ecmascript-globalthis) - [ECMAScript proposals](#ecmascript-proposals) - - [Stage 4 proposals](#stage-4-proposals) + - [Finished proposals](#finished-proposals) + - [`globalThis`](#globalthis) + - [Relative indexing method](#relative-indexing-method) + - [`Array.prototype.includes`](#arrayprototypeincludes) + - [`Array.prototype.flat` / `Array.prototype.flatMap`](#arrayprototypeflat--arrayprototypeflatmap) + - [`Object.values` / `Object.entries`](#objectvalues--objectentries) + - [`Object.fromEntries`](#objectfromentries) + - [`Object.getOwnPropertyDescriptors`](#objectgetownpropertydescriptors) + - [Accessible `Object.prototype.hasOwnProperty`](#accessible-objectprototypehasownproperty) + - [`String` padding](#string-padding) + - [`String.prototype.matchAll`](#stringmatchall) + - [`String.prototype.replaceAll`](#stringreplaceall) + - [`String.prototype.trimStart` / `String.prototype.trimEnd`](#stringprototypetrimstart-stringprototypetrimend) + - [`RegExp` `s` (`dotAll`) flag](#regexp-s-dotall-flag) + - [`RegExp` named capture groups](#regexp-named-capture-groups) + - [`Promise.allSettled`](#promiseallsettled) + - [`Promise.any`](#promiseany) + - [`Promise.prototype.finally`](#promiseprototypefinally) + - [`Symbol.asyncIterator` for asynchronous iteration](#symbolasynciterator-for-asynchronous-iteration) + - [`Symbol.prototype.description`](#symbolprototypedescription) + - [Well-formed `JSON.stringify`](#well-formed-jsonstringify) - [Stage 3 proposals](#stage-3-proposals) - [`Array` grouping](#array-grouping) - [`Array` find from last](#array-find-from-last) @@ -1790,31 +1810,116 @@ globalThis.Array === Array; // => true ### ECMAScript proposals[⬆](#index) [The TC39 process.](https://tc39.github.io/process-document/) -`core-js/stage/4` entry point contains only stage 4 proposals, `core-js/stage/3` - stage 3 and stage 4, etc. -#### Stage 4 proposals[⬆](#index) -Stage 4 proposals already marked in `core-js` as stable ECMAScript, they will be removed from proposals namespace in the next major `core-js` version. -[*CommonJS entry points:*](#commonjs-api) -```js -core-js(-pure)/stage/4 -``` +#### Finished proposals[⬆](#index) + +Finished (stage 4) proposals already marked in `core-js` as stable ECMAScript, they are available in `core-js/stable` and `core-js/es` namespace, you can find then in related sections of this doc. However, even for finished proposals, `core-js` provide a way to include only featues for a specific proposal like `core-js/proposals/proposal-name`. + ##### [`globalThis`](https://github.com/tc39/proposal-global)[⬆](#index) -Module [`es.global-this`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.global-this.js). ```js let globalThis: Object; ``` [*CommonJS entry points:*](#commonjs-api) ```js core-js/proposals/global-this -core-js(-pure)/es|stable|features/global-this ``` -[*Examples*](https://goo.gl/LAifsc): +##### [Relative indexing method](https://github.com/tc39/proposal-relative-indexing-method)[⬆](#index) ```js -globalThis.Array === Array; // => true +class Array { + at(index: int): any; +} + +class String { + at(index: int): string; +} + +class %TypedArray% { + at(index: int): number; +} ``` -##### [`String#matchAll`](https://github.com/tc39/proposal-string-matchall)[⬆](#index). -Module [`es.string.match-all`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.string.match-all.js). +[*CommonJS entry points:*](#commonjs-api) +``` +core-js/proposals/relative-indexing-method +``` +##### [`Array.prototype.includes`](https://github.com/tc39/proposal-Array.prototype.includes)[⬆](#index) +```js +class Array { + includes(searchElement: any, from?: number): boolean; +} +class %TypedArray% { + includes(searchElement: any, from?: number): boolean; +} +``` +[*CommonJS entry points:*](#commonjs-api) +``` +core-js/proposals/array-includes +``` +##### [`Array.prototype.flat` / `Array.prototype.flatMap`](https://github.com/tc39/proposal-flatMap)[⬆](#index) +```js +class Array { + flat(depthArg?: number = 1): Array; + flatMap(mapFn: (value: any, index: number, target: any) => any, thisArg: any): Array; +} +``` +[*CommonJS entry points:*](#commonjs-api) +``` +core-js/proposals/array-flat-map +``` +##### [`Object.values` / `Object.entries`](https://github.com/tc39/proposal-object-values-entries)[⬆](#index) +```js +class Object { + static entries(object: Object): Array<[string, mixed]>; + static values(object: any): Array; +} +``` +[*CommonJS entry points:*](#commonjs-api) +``` +core-js/proposals/object-values-entries +``` +##### [`Object.fromEntries`](https://github.com/tc39/proposal-object-from-entries)[⬆](#index) +```js +class Object { + static fromEntries(iterable: Iterable<[key, value]>): Object; +} +``` +[*CommonJS entry points:*](#commonjs-api) +``` +core-js/proposals/object-from-entries +``` +##### [`Object.getOwnPropertyDescriptors`](https://github.com/tc39/proposal-object-getownpropertydescriptors)[⬆](#index) +```js +class Object { + static getOwnPropertyDescriptors(object: any): { [property: PropertyKey]: PropertyDescriptor }; +} +``` +[*CommonJS entry points:*](#commonjs-api) +``` +core-js/proposals/object-getownpropertydescriptors +``` +##### [Accessible `Object.prototype.hasOwnProperty`](https://github.com/tc39/proposal-accessible-object-hasownproperty)[⬆](#index) +```js +class Object { + static hasOwn(object: object, key: PropertyKey): boolean; +} +``` +[*CommonJS entry points:*](#commonjs-api) +``` +core-js/proposals/accessible-object-hasownproperty +``` +##### [`String` padding](https://github.com/tc39/proposal-string-pad-start-end)[⬆](#index) +```js +class String { + padStart(length: number, fillStr?: string = ' '): string; + padEnd(length: number, fillStr?: string = ' '): string; +} + +``` +[*CommonJS entry points:*](#commonjs-api) +``` +core-js/proposals/string-padding +``` +##### [`String#matchAll`](https://github.com/tc39/proposal-string-matchall)[⬆](#index). ```js class String { matchAll(regexp: RegExp): Iterator; @@ -1823,10 +1928,8 @@ class String { [*CommonJS entry points:*](#commonjs-api) ```js core-js/proposals/string-match-all -core-js/es|stable|features/string/match-all ``` ##### [`String#replaceAll`](https://github.com/tc39/proposal-string-replace-all)[⬆](#index) -Module [`es.string.replace-all`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.string.replace-all.js) ```js class String { replaceAll(searchValue: string | RegExp, replaceString: string | (searchValue, index, this) => string): string; @@ -1835,14 +1938,48 @@ class String { [*CommonJS entry points:*](#commonjs-api) ```js core-js/proposals/string-replace-all -core-js/es|stable|features/string/replace-all ``` -[*Examples*](https://goo.gl/wUXNXN): +##### [`String.prototype.trimStart` / `String.prototype.trimEnd`](https://github.com/tc39/proposal-string-left-right-trim)[⬆](#index) ```js -'Test abc test test abc test.'.replaceAll('abc', 'foo'); // -> 'Test foo test test foo test.' +class String { + trimLeft(): string; + trimRight(): string; + trimStart(): string; + trimEnd(): string; +} +``` +[*CommonJS entry points:*](#commonjs-api) +```js +core-js/proposals/string-left-right-trim +``` +##### [`RegExp` `s` (`dotAll`) flag](https://github.com/tc39/proposal-regexp-dotall-flag)[⬆](#index) +```js +// patched for support `RegExp` dotAll (`s`) flag: +class RegExp { + constructor(pattern: RegExp | string, flags?: string): RegExp; + exec(): Array | null; + readonly attribute dotAll: boolean; + readonly attribute flags: string; +} +``` +[*CommonJS entry points:*](#commonjs-api) +```js +core-js/proposals/regexp-dotall-flag +``` +##### [`RegExp` named capture groups](https://github.com/tc39/proposal-regexp-named-groups)[⬆](#index) +```js +// patched for support `RegExp` named capture groups: +class RegExp { + constructor(pattern: RegExp | string, flags?: string): RegExp; + exec(): Array | null; + @@replace(string: string, replaceValue: Function | string): string; +} +``` +[*CommonJS entry points:*](#commonjs-api) +```js +core-js/proposals/regexp-named-groups ``` ##### [`Promise.allSettled`](https://github.com/tc39/proposal-promise-allSettled)[⬆](#index) -Module [`es.promise.all-settled`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.promise.all-settled.js) ```js class Promise { static allSettled(iterable: Iterable): Promise; @@ -1851,10 +1988,8 @@ class Promise { [*CommonJS entry points:*](#commonjs-api) ```js core-js/proposals/promise-all-settled -core-js(-pure)/es|stable|features/promise/all-settled ``` ##### [`Promise.any`](https://github.com/tc39/proposal-promise-any)[⬆](#index) -Modules [`es.promise.any`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.promise.any.js) and [`es.aggregate-error`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.aggregate-error.js) ```js class AggregateError { constructor(errors: Iterable, message: string): AggregateError; @@ -1869,70 +2004,52 @@ class Promise { [*CommonJS entry points:*](#commonjs-api) ```js core-js/proposals/promise-any -core-js(-pure)/es|stable|features/promise/any -core-js(-pure)/es|stable|features/aggregate-error ``` -[*Examples*](https://goo.gl/iErvmp): +##### [`Promise.prototype.finally`](https://github.com/tc39/proposal-promise-finally)[⬆](#index) ```js -Promise.any([ - Promise.resolve(1), - Promise.reject(2), - Promise.resolve(3), -]).then(console.log); // => 1 - -Promise.any([ - Promise.reject(1), - Promise.reject(2), - Promise.reject(3), -]).catch(({ errors }) => console.log(errors)); // => [1, 2, 3] -``` -##### [Accessible `Object.prototype.hasOwnProperty`](https://github.com/tc39/proposal-accessible-object-hasownproperty)[⬆](#index) -Module [`es.object.has-own`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.object.has-own.js). -```js -class Object { - static hasOwn(object: object, key: PropertyKey): boolean; +class Promise { + finally(onFinally: Function): Promise; } ``` [*CommonJS entry points:*](#commonjs-api) +```js +core-js/proposals/promise-finally ``` -core-js/proposals/accessible-object-hasownproperty -core-js(-pure)/es|stable|features/object/has-own +##### [`Symbol.asyncIterator` for asynchronous iteration](https://github.com/tc39/proposal-async-iteration)[⬆](#index) +```js +class Symbol { + static asyncIterator: @@asyncIterator; +} ``` -[*Examples*](t.ly/KY37): +[*CommonJS entry points:*](#commonjs-api) ```js -Object.hasOwn({ foo: 42 }, 'foo'); // => true -Object.hasOwn({ foo: 42 }, 'bar'); // => false -Object.hasOwn({}, 'toString'); // => false -```` -##### [Relative indexing method](https://github.com/tc39/proposal-relative-indexing-method)[⬆](#index) -Modules [`es.array.at`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.array.at.js), [`es.string.at-alternative`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.string.at-alternative.js) and [`es.typed-array.at`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.typed-array.at.js) +core-js/proposals/async-iteration +``` +##### [`Symbol.prototype.description`](https://github.com/tc39/proposal-Symbol-description)[⬆](#index) ```js -class Array { - at(index: int): any; -} - -class String { - at(index: int): string; -} - -class %TypedArray% { - at(index: int): number; +class Symbol { + readonly attribute description: string | void; } ``` [*CommonJS entry points:*](#commonjs-api) +```js +core-js/proposals/symbol-description ``` -core-js/proposals/relative-indexing-method -core-js(-pure)/es|stable|features/array/at -core-js(-pure)/es|stable|features/string/at -core-js(-pure)/es|stable|features/typed-array/at +##### [Well-formed `JSON.stringify`](https://github.com/tc39/proposal-well-formed-stringify)[⬆](#index) +```js +namespace JSON { + stringify(target: any, replacer?: Function | Array, space?: string | number): string | void; +} ``` -[*Examples*](t.ly/L6E8): +[*CommonJS entry points:*](#commonjs-api) ```js -[1, 2, 3].at(1); // => 2 -[1, 2, 3].at(-1); // => 3 +core-js/proposals/well-formed-stringify ``` #### Stage 3 proposals[⬆](#index) + +`core-js/stage/3` entry point contains only stage 3 proposals, `core-js/stage/2` - stage 2 and stage 3, etc. + [*CommonJS entry points:*](#commonjs-api) ```js core-js(-pure)/stage/3 diff --git a/packages/core-js/proposals/accessible-object-hasownproperty.js b/packages/core-js/proposals/accessible-object-hasownproperty.js index 8d5d006a4aff..17e0fcb44819 100644 --- a/packages/core-js/proposals/accessible-object-hasownproperty.js +++ b/packages/core-js/proposals/accessible-object-hasownproperty.js @@ -1,3 +1,2 @@ -// TODO: Remove from `core-js@4` // https://github.com/tc39/proposal-accessible-object-hasownproperty require('../modules/esnext.object.has-own'); diff --git a/packages/core-js/proposals/array-flat-map.js b/packages/core-js/proposals/array-flat-map.js new file mode 100644 index 000000000000..e8a9bc40a8a1 --- /dev/null +++ b/packages/core-js/proposals/array-flat-map.js @@ -0,0 +1,5 @@ +// https://github.com/tc39/proposal-flatMap +require('../modules/es.array.flat'); +require('../modules/es.array.flat-map'); +require('../modules/es.array.unscopables.flat'); +require('../modules/es.array.unscopables.flat-map'); diff --git a/packages/core-js/proposals/array-includes.js b/packages/core-js/proposals/array-includes.js new file mode 100644 index 000000000000..c7647b898035 --- /dev/null +++ b/packages/core-js/proposals/array-includes.js @@ -0,0 +1,3 @@ +// https://github.com/tc39/proposal-Array.prototype.includes +require('../modules/es.array.includes'); +require('../modules/es.typed-array.includes'); diff --git a/packages/core-js/proposals/array-is-template-object.js b/packages/core-js/proposals/array-is-template-object.js index 37388c4d28fe..9a261438d199 100644 --- a/packages/core-js/proposals/array-is-template-object.js +++ b/packages/core-js/proposals/array-is-template-object.js @@ -1 +1,2 @@ +// https://github.com/tc39/proposal-array-is-template-object require('../modules/esnext.array.is-template-object'); diff --git a/packages/core-js/proposals/array-last.js b/packages/core-js/proposals/array-last.js index c6710312b51b..7a0aac1861d9 100644 --- a/packages/core-js/proposals/array-last.js +++ b/packages/core-js/proposals/array-last.js @@ -1,2 +1,3 @@ +// https://github.com/tc39/proposal-array-last require('../modules/esnext.array.last-index'); require('../modules/esnext.array.last-item'); diff --git a/packages/core-js/proposals/async-iteration.js b/packages/core-js/proposals/async-iteration.js new file mode 100644 index 000000000000..0abc18027c43 --- /dev/null +++ b/packages/core-js/proposals/async-iteration.js @@ -0,0 +1,2 @@ +// https://github.com/tc39/proposal-async-iteration +require('../modules/es.symbol.async-iterator'); diff --git a/packages/core-js/proposals/collection-methods.js b/packages/core-js/proposals/collection-methods.js index 3acb8c08e85a..ac193ff122b4 100644 --- a/packages/core-js/proposals/collection-methods.js +++ b/packages/core-js/proposals/collection-methods.js @@ -1,3 +1,4 @@ +// https://github.com/tc39/proposal-collection-methods require('../modules/esnext.map.group-by'); require('../modules/esnext.map.key-by'); require('../modules/esnext.map.delete-all'); diff --git a/packages/core-js/proposals/collection-of-from.js b/packages/core-js/proposals/collection-of-from.js index ade30003e64d..7571c7057438 100644 --- a/packages/core-js/proposals/collection-of-from.js +++ b/packages/core-js/proposals/collection-of-from.js @@ -1,3 +1,4 @@ +// https://github.com/tc39/proposal-setmap-offrom require('../modules/esnext.map.from'); require('../modules/esnext.map.of'); require('../modules/esnext.set.from'); diff --git a/packages/core-js/proposals/efficient-64-bit-arithmetic.js b/packages/core-js/proposals/efficient-64-bit-arithmetic.js index 2043bbe59edb..5d8d129bb18f 100644 --- a/packages/core-js/proposals/efficient-64-bit-arithmetic.js +++ b/packages/core-js/proposals/efficient-64-bit-arithmetic.js @@ -1,4 +1,5 @@ // TODO: remove from `core-js@4` as withdrawn +// https://gist.github.com/BrendanEich/4294d5c212a6d2254703 require('../modules/esnext.math.iaddh'); require('../modules/esnext.math.isubh'); require('../modules/esnext.math.imulh'); diff --git a/packages/core-js/proposals/global-this.js b/packages/core-js/proposals/global-this.js index 4cb0f5c50453..5f7715341597 100644 --- a/packages/core-js/proposals/global-this.js +++ b/packages/core-js/proposals/global-this.js @@ -1,3 +1,4 @@ +// https://github.com/tc39/proposal-global require('../modules/esnext.global-this'); var global = require('../internals/global'); diff --git a/packages/core-js/proposals/index.js b/packages/core-js/proposals/index.js index b87a7490700f..622f2ffb0582 100644 --- a/packages/core-js/proposals/index.js +++ b/packages/core-js/proposals/index.js @@ -1 +1,2 @@ +// TODO: Remove this entry from `core-js@4` require('../stage'); diff --git a/packages/core-js/proposals/iterator-helpers.js b/packages/core-js/proposals/iterator-helpers.js index 92b1db90e26b..a7b1355abe82 100644 --- a/packages/core-js/proposals/iterator-helpers.js +++ b/packages/core-js/proposals/iterator-helpers.js @@ -1,3 +1,4 @@ +// https://github.com/tc39/proposal-iterator-helpers require('../modules/esnext.async-iterator.constructor'); require('../modules/esnext.async-iterator.as-indexed-pairs'); require('../modules/esnext.async-iterator.drop'); diff --git a/packages/core-js/proposals/keys-composition.js b/packages/core-js/proposals/keys-composition.js index 47f5e2ed82de..8f1f2c2f2355 100644 --- a/packages/core-js/proposals/keys-composition.js +++ b/packages/core-js/proposals/keys-composition.js @@ -1,2 +1,3 @@ +// https://github.com/tc39/proposal-richer-keys/tree/master/compositeKey require('../modules/esnext.composite-key'); require('../modules/esnext.composite-symbol'); diff --git a/packages/core-js/proposals/map-update-or-insert.js b/packages/core-js/proposals/map-update-or-insert.js index 28603018c81f..0d1fafa997d3 100644 --- a/packages/core-js/proposals/map-update-or-insert.js +++ b/packages/core-js/proposals/map-update-or-insert.js @@ -1,2 +1,3 @@ // TODO: remove from `core-js@4` +// https://github.com/tc39/proposal-upsert require('./map-upsert'); diff --git a/packages/core-js/proposals/map-upsert.js b/packages/core-js/proposals/map-upsert.js index f43496cf5457..aa27f3b732db 100644 --- a/packages/core-js/proposals/map-upsert.js +++ b/packages/core-js/proposals/map-upsert.js @@ -1,4 +1,4 @@ -// https://github.com/thumbsupep/proposal-upsert +// https://github.com/tc39/proposal-upsert require('../modules/esnext.map.emplace'); // TODO: remove from `core-js@4` require('../modules/esnext.map.update-or-insert'); diff --git a/packages/core-js/proposals/math-extensions.js b/packages/core-js/proposals/math-extensions.js index 80d86af3fdab..b1ad66472fb9 100644 --- a/packages/core-js/proposals/math-extensions.js +++ b/packages/core-js/proposals/math-extensions.js @@ -1,3 +1,4 @@ +// https://github.com/rwaldron/proposal-math-extensions require('../modules/esnext.math.clamp'); require('../modules/esnext.math.deg-per-rad'); require('../modules/esnext.math.degrees'); diff --git a/packages/core-js/proposals/math-signbit.js b/packages/core-js/proposals/math-signbit.js index e0a51d176ad1..7754d819e518 100644 --- a/packages/core-js/proposals/math-signbit.js +++ b/packages/core-js/proposals/math-signbit.js @@ -1 +1,2 @@ +// https://github.com/tc39/proposal-Math.signbit require('../modules/esnext.math.signbit'); diff --git a/packages/core-js/proposals/number-from-string.js b/packages/core-js/proposals/number-from-string.js index 094d084202f6..b88cf4b37d48 100644 --- a/packages/core-js/proposals/number-from-string.js +++ b/packages/core-js/proposals/number-from-string.js @@ -1 +1,2 @@ +// https://github.com/tc39/proposal-number-fromstring require('../modules/esnext.number.from-string'); diff --git a/packages/core-js/proposals/object-from-entries.js b/packages/core-js/proposals/object-from-entries.js new file mode 100644 index 000000000000..4f961950c2e3 --- /dev/null +++ b/packages/core-js/proposals/object-from-entries.js @@ -0,0 +1,2 @@ +// https://github.com/tc39/proposal-object-from-entries +require('../modules/es.object.from-entries'); diff --git a/packages/core-js/proposals/object-getownpropertydescriptors.js b/packages/core-js/proposals/object-getownpropertydescriptors.js new file mode 100644 index 000000000000..e70d1c9fe571 --- /dev/null +++ b/packages/core-js/proposals/object-getownpropertydescriptors.js @@ -0,0 +1,2 @@ +// https://github.com/tc39/proposal-object-getownpropertydescriptors +require('../modules/es.object.get-own-property-descriptors'); diff --git a/packages/core-js/proposals/object-iteration.js b/packages/core-js/proposals/object-iteration.js index ebfaabaa2081..6ddd9ea5862c 100644 --- a/packages/core-js/proposals/object-iteration.js +++ b/packages/core-js/proposals/object-iteration.js @@ -1,4 +1,5 @@ // TODO: remove from `core-js@4` as withdrawn +// https://github.com/tc39/proposal-object-iteration require('../modules/esnext.object.iterate-entries'); require('../modules/esnext.object.iterate-keys'); require('../modules/esnext.object.iterate-values'); diff --git a/packages/core-js/proposals/object-values-entries.js b/packages/core-js/proposals/object-values-entries.js new file mode 100644 index 000000000000..731269c47b1d --- /dev/null +++ b/packages/core-js/proposals/object-values-entries.js @@ -0,0 +1,3 @@ +// https://github.com/tc39/proposal-object-values-entries +require('../modules/es.object.entries'); +require('../modules/es.object.values'); diff --git a/packages/core-js/proposals/observable.js b/packages/core-js/proposals/observable.js index cf591564d246..e3a2ea28793d 100644 --- a/packages/core-js/proposals/observable.js +++ b/packages/core-js/proposals/observable.js @@ -1,2 +1,3 @@ +// https://github.com/tc39/proposal-observable require('../modules/esnext.observable'); require('../modules/esnext.symbol.observable'); diff --git a/packages/core-js/proposals/promise-all-settled.js b/packages/core-js/proposals/promise-all-settled.js index ae35910d6891..db7ff70c5e27 100644 --- a/packages/core-js/proposals/promise-all-settled.js +++ b/packages/core-js/proposals/promise-all-settled.js @@ -1,2 +1,2 @@ -// TODO: Remove from `core-js@4` +// https://github.com/tc39/proposal-promise-allSettled require('../modules/esnext.promise.all-settled'); diff --git a/packages/core-js/proposals/promise-any.js b/packages/core-js/proposals/promise-any.js index 9e147363a5c3..cc9c89f70ab5 100644 --- a/packages/core-js/proposals/promise-any.js +++ b/packages/core-js/proposals/promise-any.js @@ -1,2 +1,3 @@ +// https://github.com/tc39/proposal-promise-any require('../modules/esnext.aggregate-error'); require('../modules/esnext.promise.any'); diff --git a/packages/core-js/proposals/promise-finally.js b/packages/core-js/proposals/promise-finally.js new file mode 100644 index 000000000000..c028bba0f29d --- /dev/null +++ b/packages/core-js/proposals/promise-finally.js @@ -0,0 +1,2 @@ +// https://github.com/tc39/proposal-promise-finally +require('../modules/es.promise.finally'); diff --git a/packages/core-js/proposals/promise-try.js b/packages/core-js/proposals/promise-try.js index ce5aca5f00e2..67ec1c2fe58a 100644 --- a/packages/core-js/proposals/promise-try.js +++ b/packages/core-js/proposals/promise-try.js @@ -1 +1,2 @@ +// https://github.com/tc39/proposal-promise-try require('../modules/esnext.promise.try'); diff --git a/packages/core-js/proposals/reflect-metadata.js b/packages/core-js/proposals/reflect-metadata.js index 512b1f25218f..fa7f146d9ef4 100644 --- a/packages/core-js/proposals/reflect-metadata.js +++ b/packages/core-js/proposals/reflect-metadata.js @@ -1,3 +1,4 @@ +// https://github.com/rbuckton/reflect-metadata require('../modules/esnext.reflect.define-metadata'); require('../modules/esnext.reflect.delete-metadata'); require('../modules/esnext.reflect.get-metadata'); diff --git a/packages/core-js/proposals/regexp-dotall-flag.js b/packages/core-js/proposals/regexp-dotall-flag.js new file mode 100644 index 000000000000..adb9e5a484a0 --- /dev/null +++ b/packages/core-js/proposals/regexp-dotall-flag.js @@ -0,0 +1,5 @@ +// https://github.com/tc39/proposal-regexp-dotall-flag +require('../modules/es.regexp.constructor'); +require('../modules/es.regexp.dot-all'); +require('../modules/es.regexp.exec'); +require('../modules/es.regexp.flags'); diff --git a/packages/core-js/proposals/regexp-named-groups.js b/packages/core-js/proposals/regexp-named-groups.js new file mode 100644 index 000000000000..f5ee2bc416f5 --- /dev/null +++ b/packages/core-js/proposals/regexp-named-groups.js @@ -0,0 +1,4 @@ +// https://github.com/tc39/proposal-regexp-named-groups +require('../modules/es.regexp.constructor'); +require('../modules/es.regexp.exec'); +require('../modules/es.string.replace'); diff --git a/packages/core-js/proposals/relative-indexing-method.js b/packages/core-js/proposals/relative-indexing-method.js index 17befec65478..8ab44cbc34fd 100644 --- a/packages/core-js/proposals/relative-indexing-method.js +++ b/packages/core-js/proposals/relative-indexing-method.js @@ -1,4 +1,3 @@ -// TODO: Remove from `core-js@4` // https://github.com/tc39/proposal-relative-indexing-method require('../modules/es.string.at-alternative'); require('../modules/esnext.array.at'); diff --git a/packages/core-js/proposals/seeded-random.js b/packages/core-js/proposals/seeded-random.js index 5bbd9049ebf1..42485d07b370 100644 --- a/packages/core-js/proposals/seeded-random.js +++ b/packages/core-js/proposals/seeded-random.js @@ -1 +1,2 @@ +// https://github.com/tc39/proposal-seeded-random require('../modules/esnext.math.seeded-prng'); diff --git a/packages/core-js/proposals/set-methods.js b/packages/core-js/proposals/set-methods.js index 810546093c8f..e54fd30f8b4d 100644 --- a/packages/core-js/proposals/set-methods.js +++ b/packages/core-js/proposals/set-methods.js @@ -1,3 +1,4 @@ +// https://github.com/tc39/proposal-set-methods require('../modules/esnext.set.difference'); require('../modules/esnext.set.intersection'); require('../modules/esnext.set.is-disjoint-from'); diff --git a/packages/core-js/proposals/string-at.js b/packages/core-js/proposals/string-at.js index e992e58d48cf..fb26993d04ad 100644 --- a/packages/core-js/proposals/string-at.js +++ b/packages/core-js/proposals/string-at.js @@ -1 +1,2 @@ +// https://github.com/mathiasbynens/String.prototype.at require('../modules/esnext.string.at'); diff --git a/packages/core-js/proposals/string-code-points.js b/packages/core-js/proposals/string-code-points.js index 3717523ee50d..19cb1543ef2f 100644 --- a/packages/core-js/proposals/string-code-points.js +++ b/packages/core-js/proposals/string-code-points.js @@ -1 +1,2 @@ +// https://github.com/tc39/proposal-string-prototype-codepoints require('../modules/esnext.string.code-points'); diff --git a/packages/core-js/proposals/string-left-right-trim.js b/packages/core-js/proposals/string-left-right-trim.js new file mode 100644 index 000000000000..aaf9b2131918 --- /dev/null +++ b/packages/core-js/proposals/string-left-right-trim.js @@ -0,0 +1,3 @@ +// https://github.com/tc39/proposal-string-left-right-trim +require('../modules/es.string.trim-start'); +require('../modules/es.string.trim-end'); diff --git a/packages/core-js/proposals/string-match-all.js b/packages/core-js/proposals/string-match-all.js index be5ba60e0238..f07f82ba8e4a 100644 --- a/packages/core-js/proposals/string-match-all.js +++ b/packages/core-js/proposals/string-match-all.js @@ -1,2 +1,2 @@ -// TODO: Remove from `core-js@4` +// https://github.com/tc39/proposal-string-matchall require('../modules/esnext.string.match-all'); diff --git a/packages/core-js/proposals/string-padding.js b/packages/core-js/proposals/string-padding.js new file mode 100644 index 000000000000..168bd8b9fbf2 --- /dev/null +++ b/packages/core-js/proposals/string-padding.js @@ -0,0 +1,3 @@ +// https://github.com/tc39/proposal-string-pad-start-end +require('../modules/es.string.pad-end'); +require('../modules/es.string.pad-start'); diff --git a/packages/core-js/proposals/string-replace-all.js b/packages/core-js/proposals/string-replace-all.js index c36697d72242..ae0f9a19f469 100644 --- a/packages/core-js/proposals/string-replace-all.js +++ b/packages/core-js/proposals/string-replace-all.js @@ -1,2 +1,3 @@ +// https://github.com/tc39/proposal-string-replaceall require('../modules/esnext.string.replace-all'); require('../modules/esnext.symbol.replace-all'); diff --git a/packages/core-js/proposals/symbol-description.js b/packages/core-js/proposals/symbol-description.js new file mode 100644 index 000000000000..0c689aef4501 --- /dev/null +++ b/packages/core-js/proposals/symbol-description.js @@ -0,0 +1,2 @@ +// https://github.com/tc39/proposal-Symbol-description +require('../modules/es.symbol.description'); diff --git a/packages/core-js/proposals/url.js b/packages/core-js/proposals/url.js index 151dfab9f1b2..83d7df8cd429 100644 --- a/packages/core-js/proposals/url.js +++ b/packages/core-js/proposals/url.js @@ -1,3 +1,4 @@ +// https://github.com/jasnell/proposal-url require('../modules/web.url'); require('../modules/web.url.to-json'); require('../modules/web.url-search-params'); diff --git a/packages/core-js/proposals/well-formed-stringify.js b/packages/core-js/proposals/well-formed-stringify.js new file mode 100644 index 000000000000..afab1b447f65 --- /dev/null +++ b/packages/core-js/proposals/well-formed-stringify.js @@ -0,0 +1,2 @@ +// https://github.com/tc39/proposal-well-formed-stringify +require('../modules/es.json.stringify'); diff --git a/packages/core-js/stage/4.js b/packages/core-js/stage/4.js index 8a4e8796899a..a9fd4a5a01f0 100644 --- a/packages/core-js/stage/4.js +++ b/packages/core-js/stage/4.js @@ -1,3 +1,4 @@ +// TODO: Remove this entry from `core-js@4` require('../proposals/accessible-object-hasownproperty'); // require('../proposals/error-cause'); require('../proposals/global-this'); diff --git a/tests/commonjs.mjs b/tests/commonjs.mjs index 613ea72b84db..957d29807d15 100644 --- a/tests/commonjs.mjs +++ b/tests/commonjs.mjs @@ -799,13 +799,16 @@ for (PATH of ['core-js-pure', 'core-js']) { } load('proposals/accessible-object-hasownproperty'); - load('proposals/array-last'); load('proposals/array-filtering'); load('proposals/array-find-from-last'); + load('proposals/array-flat-map'); load('proposals/array-from-async'); load('proposals/array-grouping'); + load('proposals/array-includes'); load('proposals/array-is-template-object'); + load('proposals/array-last'); load('proposals/array-unique'); + load('proposals/async-iteration'); load('proposals/change-array-by-copy'); load('proposals/collection-methods'); load('proposals/collection-of-from'); @@ -823,23 +826,33 @@ for (PATH of ['core-js-pure', 'core-js']) { load('proposals/math-signbit'); load('proposals/number-from-string'); load('proposals/number-range'); + load('proposals/object-from-entries'); load('proposals/object-iteration'); + load('proposals/object-getownpropertydescriptors'); + load('proposals/object-values-entries'); load('proposals/observable'); load('proposals/pattern-matching'); load('proposals/promise-all-settled'); load('proposals/promise-any'); + load('proposals/promise-finally'); load('proposals/promise-try'); load('proposals/reflect-metadata'); + load('proposals/regexp-dotall-flag'); + load('proposals/regexp-named-groups'); load('proposals/relative-indexing-method'); load('proposals/seeded-random'); load('proposals/set-methods'); load('proposals/string-at'); load('proposals/string-cooked'); load('proposals/string-code-points'); + load('proposals/string-left-right-trim'); load('proposals/string-match-all'); + load('proposals/string-padding'); load('proposals/string-replace-all'); - load('proposals/using-statement'); + load('proposals/symbol-description'); load('proposals/url'); + load('proposals/using-statement'); + load('proposals/well-formed-stringify'); load('proposals'); ok(load('stage/4')); From 8d78c4d2174c8ebe1ffcb84c6c5e4d6ea3165470 Mon Sep 17 00:00:00 2001 From: Denis Pushkarev Date: Sun, 14 Nov 2021 22:15:02 +0700 Subject: [PATCH 02/11] add `/actual/` namespace --- .gitignore | 1 + packages/core-js/actual/README.md | 1 + packages/core-js/actual/aggregate-error.js | 3 ++ .../actual/array-buffer/constructor.js | 3 ++ packages/core-js/actual/array-buffer/index.js | 3 ++ .../core-js/actual/array-buffer/is-view.js | 3 ++ packages/core-js/actual/array-buffer/slice.js | 3 ++ packages/core-js/actual/array/at.js | 3 ++ packages/core-js/actual/array/concat.js | 3 ++ packages/core-js/actual/array/copy-within.js | 3 ++ packages/core-js/actual/array/entries.js | 3 ++ packages/core-js/actual/array/every.js | 3 ++ packages/core-js/actual/array/fill.js | 3 ++ packages/core-js/actual/array/filter.js | 3 ++ packages/core-js/actual/array/find-index.js | 3 ++ .../core-js/actual/array/find-last-index.js | 4 ++ packages/core-js/actual/array/find-last.js | 4 ++ packages/core-js/actual/array/find.js | 3 ++ packages/core-js/actual/array/flat-map.js | 3 ++ packages/core-js/actual/array/flat.js | 3 ++ packages/core-js/actual/array/for-each.js | 3 ++ packages/core-js/actual/array/from.js | 3 ++ packages/core-js/actual/array/includes.js | 3 ++ packages/core-js/actual/array/index-of.js | 3 ++ packages/core-js/actual/array/index.js | 5 ++ packages/core-js/actual/array/is-array.js | 3 ++ packages/core-js/actual/array/iterator.js | 3 ++ packages/core-js/actual/array/join.js | 3 ++ packages/core-js/actual/array/keys.js | 3 ++ .../core-js/actual/array/last-index-of.js | 3 ++ packages/core-js/actual/array/map.js | 3 ++ packages/core-js/actual/array/of.js | 3 ++ packages/core-js/actual/array/reduce-right.js | 3 ++ packages/core-js/actual/array/reduce.js | 3 ++ packages/core-js/actual/array/reverse.js | 3 ++ packages/core-js/actual/array/slice.js | 3 ++ packages/core-js/actual/array/some.js | 3 ++ packages/core-js/actual/array/sort.js | 3 ++ packages/core-js/actual/array/splice.js | 3 ++ packages/core-js/actual/array/values.js | 3 ++ packages/core-js/actual/array/virtual/at.js | 3 ++ .../core-js/actual/array/virtual/concat.js | 3 ++ .../actual/array/virtual/copy-within.js | 3 ++ .../core-js/actual/array/virtual/entries.js | 3 ++ .../core-js/actual/array/virtual/every.js | 3 ++ packages/core-js/actual/array/virtual/fill.js | 3 ++ .../core-js/actual/array/virtual/filter.js | 3 ++ .../actual/array/virtual/find-index.js | 3 ++ .../actual/array/virtual/find-last-index.js | 4 ++ .../core-js/actual/array/virtual/find-last.js | 4 ++ packages/core-js/actual/array/virtual/find.js | 3 ++ .../core-js/actual/array/virtual/flat-map.js | 3 ++ packages/core-js/actual/array/virtual/flat.js | 3 ++ .../core-js/actual/array/virtual/for-each.js | 3 ++ .../core-js/actual/array/virtual/includes.js | 3 ++ .../core-js/actual/array/virtual/index-of.js | 3 ++ .../core-js/actual/array/virtual/index.js | 5 ++ .../core-js/actual/array/virtual/iterator.js | 3 ++ packages/core-js/actual/array/virtual/join.js | 3 ++ packages/core-js/actual/array/virtual/keys.js | 3 ++ .../actual/array/virtual/last-index-of.js | 3 ++ packages/core-js/actual/array/virtual/map.js | 3 ++ .../actual/array/virtual/reduce-right.js | 3 ++ .../core-js/actual/array/virtual/reduce.js | 3 ++ .../core-js/actual/array/virtual/reverse.js | 3 ++ .../core-js/actual/array/virtual/slice.js | 3 ++ packages/core-js/actual/array/virtual/some.js | 3 ++ packages/core-js/actual/array/virtual/sort.js | 3 ++ .../core-js/actual/array/virtual/splice.js | 3 ++ .../core-js/actual/array/virtual/values.js | 3 ++ packages/core-js/actual/clear-immediate.js | 3 ++ packages/core-js/actual/data-view/index.js | 3 ++ packages/core-js/actual/date/get-year.js | 3 ++ packages/core-js/actual/date/index.js | 3 ++ packages/core-js/actual/date/now.js | 3 ++ packages/core-js/actual/date/set-year.js | 3 ++ packages/core-js/actual/date/to-gmt-string.js | 3 ++ packages/core-js/actual/date/to-iso-string.js | 3 ++ packages/core-js/actual/date/to-json.js | 3 ++ packages/core-js/actual/date/to-primitive.js | 3 ++ packages/core-js/actual/date/to-string.js | 3 ++ .../actual/dom-collections/for-each.js | 3 ++ .../core-js/actual/dom-collections/index.js | 3 ++ .../actual/dom-collections/iterator.js | 3 ++ packages/core-js/actual/escape.js | 3 ++ packages/core-js/actual/function/bind.js | 3 ++ .../core-js/actual/function/has-instance.js | 3 ++ packages/core-js/actual/function/index.js | 3 ++ packages/core-js/actual/function/name.js | 3 ++ .../core-js/actual/function/virtual/bind.js | 3 ++ .../core-js/actual/function/virtual/index.js | 3 ++ .../core-js/actual/get-iterator-method.js | 3 ++ packages/core-js/actual/get-iterator.js | 3 ++ packages/core-js/actual/global-this.js | 3 ++ packages/core-js/actual/index.js | 4 ++ packages/core-js/actual/instance/at.js | 3 ++ packages/core-js/actual/instance/bind.js | 3 ++ .../core-js/actual/instance/code-point-at.js | 3 ++ packages/core-js/actual/instance/concat.js | 3 ++ .../core-js/actual/instance/copy-within.js | 3 ++ packages/core-js/actual/instance/ends-with.js | 3 ++ packages/core-js/actual/instance/entries.js | 3 ++ packages/core-js/actual/instance/every.js | 3 ++ packages/core-js/actual/instance/fill.js | 3 ++ packages/core-js/actual/instance/filter.js | 3 ++ .../core-js/actual/instance/find-index.js | 3 ++ .../actual/instance/find-last-index.js | 3 ++ packages/core-js/actual/instance/find-last.js | 3 ++ packages/core-js/actual/instance/find.js | 3 ++ packages/core-js/actual/instance/flags.js | 3 ++ packages/core-js/actual/instance/flat-map.js | 3 ++ packages/core-js/actual/instance/flat.js | 3 ++ packages/core-js/actual/instance/for-each.js | 3 ++ packages/core-js/actual/instance/includes.js | 3 ++ packages/core-js/actual/instance/index-of.js | 3 ++ packages/core-js/actual/instance/keys.js | 3 ++ .../core-js/actual/instance/last-index-of.js | 3 ++ packages/core-js/actual/instance/map.js | 3 ++ packages/core-js/actual/instance/match-all.js | 3 ++ packages/core-js/actual/instance/pad-end.js | 3 ++ packages/core-js/actual/instance/pad-start.js | 3 ++ .../core-js/actual/instance/reduce-right.js | 3 ++ packages/core-js/actual/instance/reduce.js | 3 ++ packages/core-js/actual/instance/repeat.js | 3 ++ .../core-js/actual/instance/replace-all.js | 3 ++ packages/core-js/actual/instance/reverse.js | 3 ++ packages/core-js/actual/instance/slice.js | 3 ++ packages/core-js/actual/instance/some.js | 3 ++ packages/core-js/actual/instance/sort.js | 3 ++ packages/core-js/actual/instance/splice.js | 3 ++ .../core-js/actual/instance/starts-with.js | 3 ++ packages/core-js/actual/instance/trim-end.js | 3 ++ packages/core-js/actual/instance/trim-left.js | 3 ++ .../core-js/actual/instance/trim-right.js | 3 ++ .../core-js/actual/instance/trim-start.js | 3 ++ packages/core-js/actual/instance/trim.js | 3 ++ packages/core-js/actual/instance/values.js | 3 ++ packages/core-js/actual/is-iterable.js | 3 ++ packages/core-js/actual/json/index.js | 3 ++ packages/core-js/actual/json/stringify.js | 3 ++ packages/core-js/actual/json/to-string-tag.js | 3 ++ packages/core-js/actual/map/index.js | 3 ++ packages/core-js/actual/math/acosh.js | 3 ++ packages/core-js/actual/math/asinh.js | 3 ++ packages/core-js/actual/math/atanh.js | 3 ++ packages/core-js/actual/math/cbrt.js | 3 ++ packages/core-js/actual/math/clz32.js | 3 ++ packages/core-js/actual/math/cosh.js | 3 ++ packages/core-js/actual/math/expm1.js | 3 ++ packages/core-js/actual/math/fround.js | 3 ++ packages/core-js/actual/math/hypot.js | 3 ++ packages/core-js/actual/math/imul.js | 3 ++ packages/core-js/actual/math/index.js | 3 ++ packages/core-js/actual/math/log10.js | 3 ++ packages/core-js/actual/math/log1p.js | 3 ++ packages/core-js/actual/math/log2.js | 3 ++ packages/core-js/actual/math/sign.js | 3 ++ packages/core-js/actual/math/sinh.js | 3 ++ packages/core-js/actual/math/tanh.js | 3 ++ packages/core-js/actual/math/to-string-tag.js | 3 ++ packages/core-js/actual/math/trunc.js | 3 ++ packages/core-js/actual/number/constructor.js | 3 ++ packages/core-js/actual/number/epsilon.js | 3 ++ packages/core-js/actual/number/index.js | 3 ++ packages/core-js/actual/number/is-finite.js | 3 ++ packages/core-js/actual/number/is-integer.js | 3 ++ packages/core-js/actual/number/is-nan.js | 3 ++ .../core-js/actual/number/is-safe-integer.js | 3 ++ .../core-js/actual/number/max-safe-integer.js | 3 ++ .../core-js/actual/number/min-safe-integer.js | 3 ++ packages/core-js/actual/number/parse-float.js | 3 ++ packages/core-js/actual/number/parse-int.js | 3 ++ packages/core-js/actual/number/to-fixed.js | 3 ++ .../core-js/actual/number/to-precision.js | 3 ++ .../core-js/actual/number/virtual/index.js | 3 ++ .../core-js/actual/number/virtual/to-fixed.js | 3 ++ .../actual/number/virtual/to-precision.js | 3 ++ packages/core-js/actual/object/assign.js | 3 ++ packages/core-js/actual/object/create.js | 3 ++ .../core-js/actual/object/define-getter.js | 3 ++ .../actual/object/define-properties.js | 3 ++ .../core-js/actual/object/define-property.js | 3 ++ .../core-js/actual/object/define-setter.js | 3 ++ packages/core-js/actual/object/entries.js | 3 ++ packages/core-js/actual/object/freeze.js | 3 ++ .../core-js/actual/object/from-entries.js | 3 ++ .../object/get-own-property-descriptor.js | 3 ++ .../object/get-own-property-descriptors.js | 3 ++ .../actual/object/get-own-property-names.js | 3 ++ .../actual/object/get-own-property-symbols.js | 3 ++ .../core-js/actual/object/get-prototype-of.js | 3 ++ packages/core-js/actual/object/has-own.js | 3 ++ packages/core-js/actual/object/index.js | 3 ++ .../core-js/actual/object/is-extensible.js | 3 ++ packages/core-js/actual/object/is-frozen.js | 3 ++ packages/core-js/actual/object/is-sealed.js | 3 ++ packages/core-js/actual/object/is.js | 3 ++ packages/core-js/actual/object/keys.js | 3 ++ .../core-js/actual/object/lookup-getter.js | 3 ++ .../core-js/actual/object/lookup-setter.js | 3 ++ .../actual/object/prevent-extensions.js | 3 ++ packages/core-js/actual/object/seal.js | 3 ++ .../core-js/actual/object/set-prototype-of.js | 3 ++ packages/core-js/actual/object/to-string.js | 3 ++ packages/core-js/actual/object/values.js | 3 ++ packages/core-js/actual/parse-float.js | 3 ++ packages/core-js/actual/parse-int.js | 3 ++ .../core-js/actual/promise/all-settled.js | 3 ++ packages/core-js/actual/promise/any.js | 3 ++ packages/core-js/actual/promise/finally.js | 3 ++ packages/core-js/actual/promise/index.js | 3 ++ packages/core-js/actual/queue-microtask.js | 3 ++ packages/core-js/actual/reflect/apply.js | 3 ++ packages/core-js/actual/reflect/construct.js | 3 ++ .../core-js/actual/reflect/define-property.js | 3 ++ .../core-js/actual/reflect/delete-property.js | 3 ++ .../reflect/get-own-property-descriptor.js | 3 ++ .../actual/reflect/get-prototype-of.js | 3 ++ packages/core-js/actual/reflect/get.js | 3 ++ packages/core-js/actual/reflect/has.js | 3 ++ packages/core-js/actual/reflect/index.js | 3 ++ .../core-js/actual/reflect/is-extensible.js | 3 ++ packages/core-js/actual/reflect/own-keys.js | 3 ++ .../actual/reflect/prevent-extensions.js | 3 ++ .../actual/reflect/set-prototype-of.js | 3 ++ packages/core-js/actual/reflect/set.js | 3 ++ .../core-js/actual/reflect/to-string-tag.js | 3 ++ packages/core-js/actual/regexp/constructor.js | 3 ++ packages/core-js/actual/regexp/dot-all.js | 3 ++ packages/core-js/actual/regexp/flags.js | 3 ++ packages/core-js/actual/regexp/index.js | 3 ++ packages/core-js/actual/regexp/match.js | 3 ++ packages/core-js/actual/regexp/replace.js | 3 ++ packages/core-js/actual/regexp/search.js | 3 ++ packages/core-js/actual/regexp/split.js | 3 ++ packages/core-js/actual/regexp/sticky.js | 3 ++ packages/core-js/actual/regexp/test.js | 3 ++ packages/core-js/actual/regexp/to-string.js | 3 ++ packages/core-js/actual/set-immediate.js | 3 ++ packages/core-js/actual/set-interval.js | 3 ++ packages/core-js/actual/set-timeout.js | 3 ++ packages/core-js/actual/set/index.js | 3 ++ packages/core-js/actual/string/anchor.js | 3 ++ packages/core-js/actual/string/at.js | 3 ++ packages/core-js/actual/string/big.js | 3 ++ packages/core-js/actual/string/blink.js | 3 ++ packages/core-js/actual/string/bold.js | 3 ++ .../core-js/actual/string/code-point-at.js | 3 ++ packages/core-js/actual/string/ends-with.js | 3 ++ packages/core-js/actual/string/fixed.js | 3 ++ packages/core-js/actual/string/fontcolor.js | 3 ++ packages/core-js/actual/string/fontsize.js | 3 ++ .../core-js/actual/string/from-code-point.js | 3 ++ packages/core-js/actual/string/includes.js | 3 ++ packages/core-js/actual/string/index.js | 3 ++ packages/core-js/actual/string/italics.js | 3 ++ packages/core-js/actual/string/iterator.js | 3 ++ packages/core-js/actual/string/link.js | 3 ++ packages/core-js/actual/string/match-all.js | 3 ++ packages/core-js/actual/string/match.js | 3 ++ packages/core-js/actual/string/pad-end.js | 3 ++ packages/core-js/actual/string/pad-start.js | 3 ++ packages/core-js/actual/string/raw.js | 3 ++ packages/core-js/actual/string/repeat.js | 3 ++ packages/core-js/actual/string/replace-all.js | 3 ++ packages/core-js/actual/string/replace.js | 3 ++ packages/core-js/actual/string/search.js | 3 ++ packages/core-js/actual/string/small.js | 3 ++ packages/core-js/actual/string/split.js | 3 ++ packages/core-js/actual/string/starts-with.js | 3 ++ packages/core-js/actual/string/strike.js | 3 ++ packages/core-js/actual/string/sub.js | 3 ++ packages/core-js/actual/string/substr.js | 3 ++ packages/core-js/actual/string/sup.js | 3 ++ packages/core-js/actual/string/trim-end.js | 3 ++ packages/core-js/actual/string/trim-left.js | 3 ++ packages/core-js/actual/string/trim-right.js | 3 ++ packages/core-js/actual/string/trim-start.js | 3 ++ packages/core-js/actual/string/trim.js | 3 ++ .../core-js/actual/string/virtual/anchor.js | 3 ++ packages/core-js/actual/string/virtual/at.js | 3 ++ packages/core-js/actual/string/virtual/big.js | 3 ++ .../core-js/actual/string/virtual/blink.js | 3 ++ .../core-js/actual/string/virtual/bold.js | 3 ++ .../actual/string/virtual/code-point-at.js | 3 ++ .../actual/string/virtual/ends-with.js | 3 ++ .../core-js/actual/string/virtual/fixed.js | 3 ++ .../actual/string/virtual/fontcolor.js | 3 ++ .../core-js/actual/string/virtual/fontsize.js | 3 ++ .../core-js/actual/string/virtual/includes.js | 3 ++ .../core-js/actual/string/virtual/index.js | 3 ++ .../core-js/actual/string/virtual/italics.js | 3 ++ .../core-js/actual/string/virtual/iterator.js | 3 ++ .../core-js/actual/string/virtual/link.js | 3 ++ .../actual/string/virtual/match-all.js | 3 ++ .../core-js/actual/string/virtual/pad-end.js | 3 ++ .../actual/string/virtual/pad-start.js | 3 ++ .../core-js/actual/string/virtual/repeat.js | 3 ++ .../actual/string/virtual/replace-all.js | 3 ++ .../core-js/actual/string/virtual/small.js | 3 ++ .../actual/string/virtual/starts-with.js | 3 ++ .../core-js/actual/string/virtual/strike.js | 3 ++ packages/core-js/actual/string/virtual/sub.js | 3 ++ .../core-js/actual/string/virtual/substr.js | 3 ++ packages/core-js/actual/string/virtual/sup.js | 3 ++ .../core-js/actual/string/virtual/trim-end.js | 3 ++ .../actual/string/virtual/trim-left.js | 3 ++ .../actual/string/virtual/trim-right.js | 3 ++ .../actual/string/virtual/trim-start.js | 3 ++ .../core-js/actual/string/virtual/trim.js | 3 ++ .../core-js/actual/symbol/async-iterator.js | 3 ++ packages/core-js/actual/symbol/description.js | 3 ++ packages/core-js/actual/symbol/for.js | 3 ++ .../core-js/actual/symbol/has-instance.js | 3 ++ packages/core-js/actual/symbol/index.js | 3 ++ .../actual/symbol/is-concat-spreadable.js | 3 ++ packages/core-js/actual/symbol/iterator.js | 3 ++ packages/core-js/actual/symbol/key-for.js | 3 ++ packages/core-js/actual/symbol/match-all.js | 3 ++ packages/core-js/actual/symbol/match.js | 3 ++ packages/core-js/actual/symbol/replace.js | 3 ++ packages/core-js/actual/symbol/search.js | 3 ++ packages/core-js/actual/symbol/species.js | 3 ++ packages/core-js/actual/symbol/split.js | 3 ++ .../core-js/actual/symbol/to-primitive.js | 3 ++ .../core-js/actual/symbol/to-string-tag.js | 3 ++ packages/core-js/actual/symbol/unscopables.js | 3 ++ packages/core-js/actual/typed-array/at.js | 3 ++ .../core-js/actual/typed-array/copy-within.js | 3 ++ .../core-js/actual/typed-array/entries.js | 3 ++ packages/core-js/actual/typed-array/every.js | 3 ++ packages/core-js/actual/typed-array/fill.js | 3 ++ packages/core-js/actual/typed-array/filter.js | 3 ++ .../core-js/actual/typed-array/find-index.js | 3 ++ .../actual/typed-array/find-last-index.js | 1 + .../core-js/actual/typed-array/find-last.js | 1 + packages/core-js/actual/typed-array/find.js | 3 ++ .../actual/typed-array/float32-array.js | 4 ++ .../actual/typed-array/float64-array.js | 4 ++ .../core-js/actual/typed-array/for-each.js | 3 ++ packages/core-js/actual/typed-array/from.js | 3 ++ .../core-js/actual/typed-array/includes.js | 3 ++ .../core-js/actual/typed-array/index-of.js | 3 ++ packages/core-js/actual/typed-array/index.js | 5 ++ .../core-js/actual/typed-array/int16-array.js | 4 ++ .../core-js/actual/typed-array/int32-array.js | 4 ++ .../core-js/actual/typed-array/int8-array.js | 4 ++ .../core-js/actual/typed-array/iterator.js | 3 ++ packages/core-js/actual/typed-array/join.js | 3 ++ packages/core-js/actual/typed-array/keys.js | 3 ++ .../actual/typed-array/last-index-of.js | 3 ++ packages/core-js/actual/typed-array/map.js | 3 ++ .../core-js/actual/typed-array/methods.js | 5 ++ packages/core-js/actual/typed-array/of.js | 3 ++ .../actual/typed-array/reduce-right.js | 3 ++ packages/core-js/actual/typed-array/reduce.js | 3 ++ .../core-js/actual/typed-array/reverse.js | 3 ++ packages/core-js/actual/typed-array/set.js | 3 ++ packages/core-js/actual/typed-array/slice.js | 3 ++ packages/core-js/actual/typed-array/some.js | 3 ++ packages/core-js/actual/typed-array/sort.js | 3 ++ .../core-js/actual/typed-array/subarray.js | 3 ++ .../actual/typed-array/to-locale-string.js | 3 ++ .../core-js/actual/typed-array/to-string.js | 3 ++ .../actual/typed-array/uint16-array.js | 4 ++ .../actual/typed-array/uint32-array.js | 4 ++ .../core-js/actual/typed-array/uint8-array.js | 4 ++ .../actual/typed-array/uint8-clamped-array.js | 4 ++ packages/core-js/actual/typed-array/values.js | 3 ++ packages/core-js/actual/unescape.js | 3 ++ .../core-js/actual/url-search-params/index.js | 3 ++ packages/core-js/actual/url/index.js | 3 ++ packages/core-js/actual/url/to-json.js | 3 ++ packages/core-js/actual/weak-map/index.js | 3 ++ packages/core-js/actual/weak-set/index.js | 3 ++ packages/core-js/features/aggregate-error.js | 2 +- .../features/array-buffer/constructor.js | 2 +- .../core-js/features/array-buffer/index.js | 2 +- .../core-js/features/array-buffer/is-view.js | 2 +- .../core-js/features/array-buffer/slice.js | 2 +- packages/core-js/features/array/at.js | 2 +- packages/core-js/features/array/concat.js | 2 +- .../core-js/features/array/copy-within.js | 2 +- packages/core-js/features/array/entries.js | 2 +- packages/core-js/features/array/every.js | 2 +- packages/core-js/features/array/fill.js | 2 +- packages/core-js/features/array/filter.js | 2 +- packages/core-js/features/array/find-index.js | 2 +- .../core-js/features/array/find-last-index.js | 5 +- packages/core-js/features/array/find-last.js | 5 +- packages/core-js/features/array/find.js | 2 +- packages/core-js/features/array/flat-map.js | 2 +- packages/core-js/features/array/flat.js | 2 +- packages/core-js/features/array/for-each.js | 2 +- packages/core-js/features/array/from.js | 2 +- packages/core-js/features/array/includes.js | 2 +- packages/core-js/features/array/index-of.js | 2 +- packages/core-js/features/array/index.js | 4 +- packages/core-js/features/array/is-array.js | 2 +- packages/core-js/features/array/iterator.js | 2 +- packages/core-js/features/array/join.js | 2 +- packages/core-js/features/array/keys.js | 2 +- .../core-js/features/array/last-index-of.js | 2 +- packages/core-js/features/array/map.js | 2 +- packages/core-js/features/array/of.js | 2 +- .../core-js/features/array/reduce-right.js | 2 +- packages/core-js/features/array/reduce.js | 2 +- packages/core-js/features/array/reverse.js | 2 +- packages/core-js/features/array/slice.js | 2 +- packages/core-js/features/array/some.js | 2 +- packages/core-js/features/array/sort.js | 2 +- packages/core-js/features/array/splice.js | 2 +- packages/core-js/features/array/values.js | 2 +- packages/core-js/features/array/virtual/at.js | 2 +- .../core-js/features/array/virtual/concat.js | 2 +- .../features/array/virtual/copy-within.js | 2 +- .../core-js/features/array/virtual/entries.js | 2 +- .../core-js/features/array/virtual/every.js | 2 +- .../core-js/features/array/virtual/fill.js | 2 +- .../core-js/features/array/virtual/filter.js | 2 +- .../features/array/virtual/find-index.js | 2 +- .../features/array/virtual/find-last-index.js | 5 +- .../features/array/virtual/find-last.js | 5 +- .../core-js/features/array/virtual/find.js | 2 +- .../features/array/virtual/flat-map.js | 2 +- .../core-js/features/array/virtual/flat.js | 2 +- .../features/array/virtual/for-each.js | 2 +- .../features/array/virtual/includes.js | 2 +- .../features/array/virtual/index-of.js | 2 +- .../core-js/features/array/virtual/index.js | 4 +- .../features/array/virtual/iterator.js | 2 +- .../core-js/features/array/virtual/join.js | 2 +- .../core-js/features/array/virtual/keys.js | 2 +- .../features/array/virtual/last-index-of.js | 2 +- .../core-js/features/array/virtual/map.js | 2 +- .../features/array/virtual/reduce-right.js | 2 +- .../core-js/features/array/virtual/reduce.js | 2 +- .../core-js/features/array/virtual/reverse.js | 2 +- .../core-js/features/array/virtual/slice.js | 2 +- .../core-js/features/array/virtual/some.js | 2 +- .../core-js/features/array/virtual/sort.js | 2 +- .../core-js/features/array/virtual/splice.js | 2 +- .../core-js/features/array/virtual/values.js | 2 +- packages/core-js/features/clear-immediate.js | 2 +- packages/core-js/features/data-view/index.js | 2 +- packages/core-js/features/date/get-year.js | 2 +- packages/core-js/features/date/index.js | 2 +- packages/core-js/features/date/now.js | 2 +- packages/core-js/features/date/set-year.js | 2 +- .../core-js/features/date/to-gmt-string.js | 2 +- .../core-js/features/date/to-iso-string.js | 2 +- packages/core-js/features/date/to-json.js | 2 +- .../core-js/features/date/to-primitive.js | 2 +- packages/core-js/features/date/to-string.js | 2 +- .../features/dom-collections/for-each.js | 2 +- .../core-js/features/dom-collections/index.js | 2 +- .../features/dom-collections/iterator.js | 2 +- packages/core-js/features/escape.js | 2 +- packages/core-js/features/function/bind.js | 2 +- .../core-js/features/function/has-instance.js | 2 +- packages/core-js/features/function/index.js | 2 +- packages/core-js/features/function/name.js | 2 +- .../core-js/features/function/virtual/bind.js | 2 +- .../features/function/virtual/index.js | 2 +- .../core-js/features/get-iterator-method.js | 2 +- packages/core-js/features/get-iterator.js | 2 +- packages/core-js/features/global-this.js | 2 +- packages/core-js/features/instance/bind.js | 2 +- .../features/instance/code-point-at.js | 2 +- packages/core-js/features/instance/concat.js | 2 +- .../core-js/features/instance/copy-within.js | 2 +- .../core-js/features/instance/ends-with.js | 2 +- packages/core-js/features/instance/entries.js | 2 +- packages/core-js/features/instance/every.js | 2 +- packages/core-js/features/instance/fill.js | 2 +- packages/core-js/features/instance/filter.js | 2 +- .../core-js/features/instance/find-index.js | 2 +- .../features/instance/find-last-index.js | 10 +--- .../core-js/features/instance/find-last.js | 10 +--- packages/core-js/features/instance/find.js | 2 +- packages/core-js/features/instance/flags.js | 2 +- .../core-js/features/instance/flat-map.js | 2 +- packages/core-js/features/instance/flat.js | 2 +- .../core-js/features/instance/for-each.js | 2 +- .../core-js/features/instance/includes.js | 2 +- .../core-js/features/instance/index-of.js | 2 +- packages/core-js/features/instance/keys.js | 2 +- .../features/instance/last-index-of.js | 2 +- packages/core-js/features/instance/map.js | 2 +- .../core-js/features/instance/match-all.js | 2 +- packages/core-js/features/instance/pad-end.js | 2 +- .../core-js/features/instance/pad-start.js | 2 +- .../core-js/features/instance/reduce-right.js | 2 +- packages/core-js/features/instance/reduce.js | 2 +- packages/core-js/features/instance/repeat.js | 2 +- .../core-js/features/instance/replace-all.js | 2 +- packages/core-js/features/instance/reverse.js | 2 +- packages/core-js/features/instance/slice.js | 2 +- packages/core-js/features/instance/some.js | 2 +- packages/core-js/features/instance/sort.js | 2 +- packages/core-js/features/instance/splice.js | 2 +- .../core-js/features/instance/starts-with.js | 2 +- .../core-js/features/instance/trim-end.js | 2 +- .../core-js/features/instance/trim-left.js | 2 +- .../core-js/features/instance/trim-right.js | 2 +- .../core-js/features/instance/trim-start.js | 2 +- packages/core-js/features/instance/trim.js | 2 +- packages/core-js/features/instance/values.js | 2 +- packages/core-js/features/is-iterable.js | 2 +- packages/core-js/features/json/index.js | 2 +- packages/core-js/features/json/stringify.js | 2 +- .../core-js/features/json/to-string-tag.js | 2 +- packages/core-js/features/map/index.js | 2 +- packages/core-js/features/math/acosh.js | 2 +- packages/core-js/features/math/asinh.js | 2 +- packages/core-js/features/math/atanh.js | 2 +- packages/core-js/features/math/cbrt.js | 2 +- packages/core-js/features/math/clz32.js | 2 +- packages/core-js/features/math/cosh.js | 2 +- packages/core-js/features/math/expm1.js | 2 +- packages/core-js/features/math/fround.js | 2 +- packages/core-js/features/math/hypot.js | 2 +- packages/core-js/features/math/imul.js | 2 +- packages/core-js/features/math/index.js | 2 +- packages/core-js/features/math/log10.js | 2 +- packages/core-js/features/math/log1p.js | 2 +- packages/core-js/features/math/log2.js | 2 +- packages/core-js/features/math/sign.js | 2 +- packages/core-js/features/math/sinh.js | 2 +- packages/core-js/features/math/tanh.js | 2 +- .../core-js/features/math/to-string-tag.js | 2 +- packages/core-js/features/math/trunc.js | 2 +- .../core-js/features/number/constructor.js | 2 +- packages/core-js/features/number/epsilon.js | 2 +- packages/core-js/features/number/index.js | 2 +- packages/core-js/features/number/is-finite.js | 2 +- .../core-js/features/number/is-integer.js | 2 +- packages/core-js/features/number/is-nan.js | 2 +- .../features/number/is-safe-integer.js | 2 +- .../features/number/max-safe-integer.js | 2 +- .../features/number/min-safe-integer.js | 2 +- .../core-js/features/number/parse-float.js | 2 +- packages/core-js/features/number/parse-int.js | 2 +- packages/core-js/features/number/to-fixed.js | 2 +- .../core-js/features/number/to-precision.js | 2 +- .../core-js/features/number/virtual/index.js | 2 +- .../features/number/virtual/to-fixed.js | 2 +- .../features/number/virtual/to-precision.js | 2 +- packages/core-js/features/object/assign.js | 2 +- packages/core-js/features/object/create.js | 2 +- .../core-js/features/object/define-getter.js | 2 +- .../features/object/define-properties.js | 2 +- .../features/object/define-property.js | 2 +- .../core-js/features/object/define-setter.js | 2 +- packages/core-js/features/object/entries.js | 2 +- packages/core-js/features/object/freeze.js | 2 +- .../core-js/features/object/from-entries.js | 2 +- .../object/get-own-property-descriptor.js | 2 +- .../object/get-own-property-descriptors.js | 2 +- .../features/object/get-own-property-names.js | 2 +- .../object/get-own-property-symbols.js | 2 +- .../features/object/get-prototype-of.js | 2 +- packages/core-js/features/object/has-own.js | 2 +- packages/core-js/features/object/index.js | 2 +- .../core-js/features/object/is-extensible.js | 2 +- packages/core-js/features/object/is-frozen.js | 2 +- packages/core-js/features/object/is-sealed.js | 2 +- packages/core-js/features/object/is.js | 2 +- packages/core-js/features/object/keys.js | 2 +- .../core-js/features/object/lookup-getter.js | 2 +- .../core-js/features/object/lookup-setter.js | 2 +- .../features/object/prevent-extensions.js | 2 +- packages/core-js/features/object/seal.js | 2 +- .../features/object/set-prototype-of.js | 2 +- packages/core-js/features/object/to-string.js | 2 +- packages/core-js/features/object/values.js | 2 +- packages/core-js/features/parse-float.js | 2 +- packages/core-js/features/parse-int.js | 2 +- .../core-js/features/promise/all-settled.js | 2 +- packages/core-js/features/promise/any.js | 2 +- packages/core-js/features/promise/finally.js | 2 +- packages/core-js/features/promise/index.js | 2 +- packages/core-js/features/queue-microtask.js | 2 +- packages/core-js/features/reflect/apply.js | 2 +- .../core-js/features/reflect/construct.js | 2 +- .../features/reflect/define-property.js | 2 +- .../features/reflect/delete-property.js | 2 +- .../reflect/get-own-property-descriptor.js | 2 +- .../features/reflect/get-prototype-of.js | 2 +- packages/core-js/features/reflect/get.js | 2 +- packages/core-js/features/reflect/has.js | 2 +- packages/core-js/features/reflect/index.js | 2 +- .../core-js/features/reflect/is-extensible.js | 2 +- packages/core-js/features/reflect/own-keys.js | 2 +- .../features/reflect/prevent-extensions.js | 2 +- .../features/reflect/set-prototype-of.js | 2 +- packages/core-js/features/reflect/set.js | 2 +- .../core-js/features/regexp/constructor.js | 2 +- packages/core-js/features/regexp/dot-all.js | 2 +- packages/core-js/features/regexp/flags.js | 2 +- packages/core-js/features/regexp/index.js | 2 +- packages/core-js/features/regexp/match.js | 2 +- packages/core-js/features/regexp/replace.js | 2 +- packages/core-js/features/regexp/search.js | 2 +- packages/core-js/features/regexp/split.js | 2 +- packages/core-js/features/regexp/sticky.js | 2 +- packages/core-js/features/regexp/test.js | 2 +- packages/core-js/features/regexp/to-string.js | 2 +- packages/core-js/features/set-immediate.js | 2 +- packages/core-js/features/set-interval.js | 2 +- packages/core-js/features/set-timeout.js | 2 +- packages/core-js/features/set/index.js | 2 +- packages/core-js/features/string/anchor.js | 2 +- packages/core-js/features/string/at.js | 2 +- packages/core-js/features/string/big.js | 2 +- packages/core-js/features/string/blink.js | 2 +- packages/core-js/features/string/bold.js | 2 +- .../core-js/features/string/code-point-at.js | 2 +- packages/core-js/features/string/ends-with.js | 2 +- packages/core-js/features/string/fixed.js | 2 +- packages/core-js/features/string/fontcolor.js | 2 +- packages/core-js/features/string/fontsize.js | 2 +- .../features/string/from-code-point.js | 2 +- packages/core-js/features/string/includes.js | 2 +- packages/core-js/features/string/index.js | 4 +- packages/core-js/features/string/italics.js | 2 +- packages/core-js/features/string/iterator.js | 2 +- packages/core-js/features/string/link.js | 2 +- packages/core-js/features/string/match-all.js | 2 +- packages/core-js/features/string/match.js | 2 +- packages/core-js/features/string/pad-end.js | 2 +- packages/core-js/features/string/pad-start.js | 2 +- packages/core-js/features/string/raw.js | 2 +- packages/core-js/features/string/repeat.js | 2 +- .../core-js/features/string/replace-all.js | 2 +- packages/core-js/features/string/replace.js | 2 +- packages/core-js/features/string/search.js | 2 +- packages/core-js/features/string/small.js | 2 +- packages/core-js/features/string/split.js | 2 +- .../core-js/features/string/starts-with.js | 2 +- packages/core-js/features/string/strike.js | 2 +- packages/core-js/features/string/sub.js | 2 +- packages/core-js/features/string/substr.js | 2 +- packages/core-js/features/string/sup.js | 2 +- packages/core-js/features/string/trim-end.js | 2 +- packages/core-js/features/string/trim-left.js | 2 +- .../core-js/features/string/trim-right.js | 2 +- .../core-js/features/string/trim-start.js | 2 +- packages/core-js/features/string/trim.js | 2 +- .../core-js/features/string/virtual/anchor.js | 2 +- .../core-js/features/string/virtual/at.js | 2 +- .../core-js/features/string/virtual/big.js | 2 +- .../core-js/features/string/virtual/blink.js | 2 +- .../core-js/features/string/virtual/bold.js | 2 +- .../features/string/virtual/code-point-at.js | 2 +- .../features/string/virtual/ends-with.js | 2 +- .../core-js/features/string/virtual/fixed.js | 2 +- .../features/string/virtual/fontcolor.js | 2 +- .../features/string/virtual/fontsize.js | 2 +- .../features/string/virtual/includes.js | 2 +- .../core-js/features/string/virtual/index.js | 2 +- .../features/string/virtual/italics.js | 2 +- .../features/string/virtual/iterator.js | 2 +- .../core-js/features/string/virtual/link.js | 2 +- .../features/string/virtual/match-all.js | 2 +- .../features/string/virtual/pad-end.js | 2 +- .../features/string/virtual/pad-start.js | 2 +- .../core-js/features/string/virtual/repeat.js | 2 +- .../features/string/virtual/replace-all.js | 2 +- .../core-js/features/string/virtual/small.js | 2 +- .../features/string/virtual/starts-with.js | 2 +- .../core-js/features/string/virtual/strike.js | 2 +- .../core-js/features/string/virtual/sub.js | 2 +- .../core-js/features/string/virtual/substr.js | 2 +- .../core-js/features/string/virtual/sup.js | 2 +- .../features/string/virtual/trim-end.js | 2 +- .../features/string/virtual/trim-left.js | 2 +- .../features/string/virtual/trim-right.js | 2 +- .../features/string/virtual/trim-start.js | 2 +- .../core-js/features/string/virtual/trim.js | 2 +- .../core-js/features/symbol/async-iterator.js | 2 +- packages/core-js/features/symbol/for.js | 2 +- .../core-js/features/symbol/has-instance.js | 2 +- packages/core-js/features/symbol/index.js | 2 +- .../features/symbol/is-concat-spreadable.js | 2 +- packages/core-js/features/symbol/iterator.js | 2 +- packages/core-js/features/symbol/key-for.js | 2 +- packages/core-js/features/symbol/match-all.js | 2 +- packages/core-js/features/symbol/match.js | 2 +- packages/core-js/features/symbol/replace.js | 2 +- packages/core-js/features/symbol/search.js | 2 +- packages/core-js/features/symbol/species.js | 2 +- packages/core-js/features/symbol/split.js | 2 +- .../core-js/features/symbol/to-primitive.js | 2 +- .../core-js/features/symbol/to-string-tag.js | 2 +- .../core-js/features/symbol/unscopables.js | 2 +- packages/core-js/features/typed-array/at.js | 2 +- .../features/typed-array/copy-within.js | 2 +- .../core-js/features/typed-array/entries.js | 2 +- .../core-js/features/typed-array/every.js | 2 +- packages/core-js/features/typed-array/fill.js | 2 +- .../core-js/features/typed-array/filter.js | 2 +- .../features/typed-array/find-index.js | 2 +- .../features/typed-array/find-last-index.js | 4 +- .../core-js/features/typed-array/find-last.js | 4 +- packages/core-js/features/typed-array/find.js | 2 +- .../features/typed-array/float32-array.js | 2 +- .../features/typed-array/float64-array.js | 2 +- .../core-js/features/typed-array/for-each.js | 2 +- packages/core-js/features/typed-array/from.js | 2 +- .../core-js/features/typed-array/includes.js | 2 +- .../core-js/features/typed-array/index-of.js | 2 +- .../core-js/features/typed-array/index.js | 4 +- .../features/typed-array/int16-array.js | 2 +- .../features/typed-array/int32-array.js | 2 +- .../features/typed-array/int8-array.js | 2 +- .../core-js/features/typed-array/iterator.js | 2 +- packages/core-js/features/typed-array/join.js | 2 +- packages/core-js/features/typed-array/keys.js | 2 +- .../features/typed-array/last-index-of.js | 2 +- packages/core-js/features/typed-array/map.js | 2 +- .../core-js/features/typed-array/methods.js | 4 +- packages/core-js/features/typed-array/of.js | 2 +- .../features/typed-array/reduce-right.js | 2 +- .../core-js/features/typed-array/reduce.js | 2 +- .../core-js/features/typed-array/reverse.js | 2 +- packages/core-js/features/typed-array/set.js | 2 +- .../core-js/features/typed-array/slice.js | 2 +- packages/core-js/features/typed-array/some.js | 2 +- packages/core-js/features/typed-array/sort.js | 2 +- .../core-js/features/typed-array/subarray.js | 2 +- .../features/typed-array/to-locale-string.js | 2 +- .../core-js/features/typed-array/to-string.js | 2 +- .../features/typed-array/uint16-array.js | 2 +- .../features/typed-array/uint32-array.js | 2 +- .../features/typed-array/uint8-array.js | 2 +- .../typed-array/uint8-clamped-array.js | 2 +- .../core-js/features/typed-array/values.js | 2 +- packages/core-js/features/unescape.js | 2 +- .../features/url-search-params/index.js | 2 +- packages/core-js/features/url/index.js | 2 +- packages/core-js/features/url/to-json.js | 2 +- packages/core-js/features/weak-map/index.js | 2 +- packages/core-js/features/weak-set/index.js | 2 +- packages/core-js/stable/symbol/description.js | 4 +- scripts/build-compat-entries.mjs | 1 + tests/commonjs-entries-content.mjs | 30 ++++++++++-- tests/commonjs.mjs | 48 +++++++++++-------- 748 files changed, 1576 insertions(+), 426 deletions(-) create mode 100644 packages/core-js/actual/README.md create mode 100644 packages/core-js/actual/aggregate-error.js create mode 100644 packages/core-js/actual/array-buffer/constructor.js create mode 100644 packages/core-js/actual/array-buffer/index.js create mode 100644 packages/core-js/actual/array-buffer/is-view.js create mode 100644 packages/core-js/actual/array-buffer/slice.js create mode 100644 packages/core-js/actual/array/at.js create mode 100644 packages/core-js/actual/array/concat.js create mode 100644 packages/core-js/actual/array/copy-within.js create mode 100644 packages/core-js/actual/array/entries.js create mode 100644 packages/core-js/actual/array/every.js create mode 100644 packages/core-js/actual/array/fill.js create mode 100644 packages/core-js/actual/array/filter.js create mode 100644 packages/core-js/actual/array/find-index.js create mode 100644 packages/core-js/actual/array/find-last-index.js create mode 100644 packages/core-js/actual/array/find-last.js create mode 100644 packages/core-js/actual/array/find.js create mode 100644 packages/core-js/actual/array/flat-map.js create mode 100644 packages/core-js/actual/array/flat.js create mode 100644 packages/core-js/actual/array/for-each.js create mode 100644 packages/core-js/actual/array/from.js create mode 100644 packages/core-js/actual/array/includes.js create mode 100644 packages/core-js/actual/array/index-of.js create mode 100644 packages/core-js/actual/array/index.js create mode 100644 packages/core-js/actual/array/is-array.js create mode 100644 packages/core-js/actual/array/iterator.js create mode 100644 packages/core-js/actual/array/join.js create mode 100644 packages/core-js/actual/array/keys.js create mode 100644 packages/core-js/actual/array/last-index-of.js create mode 100644 packages/core-js/actual/array/map.js create mode 100644 packages/core-js/actual/array/of.js create mode 100644 packages/core-js/actual/array/reduce-right.js create mode 100644 packages/core-js/actual/array/reduce.js create mode 100644 packages/core-js/actual/array/reverse.js create mode 100644 packages/core-js/actual/array/slice.js create mode 100644 packages/core-js/actual/array/some.js create mode 100644 packages/core-js/actual/array/sort.js create mode 100644 packages/core-js/actual/array/splice.js create mode 100644 packages/core-js/actual/array/values.js create mode 100644 packages/core-js/actual/array/virtual/at.js create mode 100644 packages/core-js/actual/array/virtual/concat.js create mode 100644 packages/core-js/actual/array/virtual/copy-within.js create mode 100644 packages/core-js/actual/array/virtual/entries.js create mode 100644 packages/core-js/actual/array/virtual/every.js create mode 100644 packages/core-js/actual/array/virtual/fill.js create mode 100644 packages/core-js/actual/array/virtual/filter.js create mode 100644 packages/core-js/actual/array/virtual/find-index.js create mode 100644 packages/core-js/actual/array/virtual/find-last-index.js create mode 100644 packages/core-js/actual/array/virtual/find-last.js create mode 100644 packages/core-js/actual/array/virtual/find.js create mode 100644 packages/core-js/actual/array/virtual/flat-map.js create mode 100644 packages/core-js/actual/array/virtual/flat.js create mode 100644 packages/core-js/actual/array/virtual/for-each.js create mode 100644 packages/core-js/actual/array/virtual/includes.js create mode 100644 packages/core-js/actual/array/virtual/index-of.js create mode 100644 packages/core-js/actual/array/virtual/index.js create mode 100644 packages/core-js/actual/array/virtual/iterator.js create mode 100644 packages/core-js/actual/array/virtual/join.js create mode 100644 packages/core-js/actual/array/virtual/keys.js create mode 100644 packages/core-js/actual/array/virtual/last-index-of.js create mode 100644 packages/core-js/actual/array/virtual/map.js create mode 100644 packages/core-js/actual/array/virtual/reduce-right.js create mode 100644 packages/core-js/actual/array/virtual/reduce.js create mode 100644 packages/core-js/actual/array/virtual/reverse.js create mode 100644 packages/core-js/actual/array/virtual/slice.js create mode 100644 packages/core-js/actual/array/virtual/some.js create mode 100644 packages/core-js/actual/array/virtual/sort.js create mode 100644 packages/core-js/actual/array/virtual/splice.js create mode 100644 packages/core-js/actual/array/virtual/values.js create mode 100644 packages/core-js/actual/clear-immediate.js create mode 100644 packages/core-js/actual/data-view/index.js create mode 100644 packages/core-js/actual/date/get-year.js create mode 100644 packages/core-js/actual/date/index.js create mode 100644 packages/core-js/actual/date/now.js create mode 100644 packages/core-js/actual/date/set-year.js create mode 100644 packages/core-js/actual/date/to-gmt-string.js create mode 100644 packages/core-js/actual/date/to-iso-string.js create mode 100644 packages/core-js/actual/date/to-json.js create mode 100644 packages/core-js/actual/date/to-primitive.js create mode 100644 packages/core-js/actual/date/to-string.js create mode 100644 packages/core-js/actual/dom-collections/for-each.js create mode 100644 packages/core-js/actual/dom-collections/index.js create mode 100644 packages/core-js/actual/dom-collections/iterator.js create mode 100644 packages/core-js/actual/escape.js create mode 100644 packages/core-js/actual/function/bind.js create mode 100644 packages/core-js/actual/function/has-instance.js create mode 100644 packages/core-js/actual/function/index.js create mode 100644 packages/core-js/actual/function/name.js create mode 100644 packages/core-js/actual/function/virtual/bind.js create mode 100644 packages/core-js/actual/function/virtual/index.js create mode 100644 packages/core-js/actual/get-iterator-method.js create mode 100644 packages/core-js/actual/get-iterator.js create mode 100644 packages/core-js/actual/global-this.js create mode 100644 packages/core-js/actual/index.js create mode 100644 packages/core-js/actual/instance/at.js create mode 100644 packages/core-js/actual/instance/bind.js create mode 100644 packages/core-js/actual/instance/code-point-at.js create mode 100644 packages/core-js/actual/instance/concat.js create mode 100644 packages/core-js/actual/instance/copy-within.js create mode 100644 packages/core-js/actual/instance/ends-with.js create mode 100644 packages/core-js/actual/instance/entries.js create mode 100644 packages/core-js/actual/instance/every.js create mode 100644 packages/core-js/actual/instance/fill.js create mode 100644 packages/core-js/actual/instance/filter.js create mode 100644 packages/core-js/actual/instance/find-index.js create mode 100644 packages/core-js/actual/instance/find-last-index.js create mode 100644 packages/core-js/actual/instance/find-last.js create mode 100644 packages/core-js/actual/instance/find.js create mode 100644 packages/core-js/actual/instance/flags.js create mode 100644 packages/core-js/actual/instance/flat-map.js create mode 100644 packages/core-js/actual/instance/flat.js create mode 100644 packages/core-js/actual/instance/for-each.js create mode 100644 packages/core-js/actual/instance/includes.js create mode 100644 packages/core-js/actual/instance/index-of.js create mode 100644 packages/core-js/actual/instance/keys.js create mode 100644 packages/core-js/actual/instance/last-index-of.js create mode 100644 packages/core-js/actual/instance/map.js create mode 100644 packages/core-js/actual/instance/match-all.js create mode 100644 packages/core-js/actual/instance/pad-end.js create mode 100644 packages/core-js/actual/instance/pad-start.js create mode 100644 packages/core-js/actual/instance/reduce-right.js create mode 100644 packages/core-js/actual/instance/reduce.js create mode 100644 packages/core-js/actual/instance/repeat.js create mode 100644 packages/core-js/actual/instance/replace-all.js create mode 100644 packages/core-js/actual/instance/reverse.js create mode 100644 packages/core-js/actual/instance/slice.js create mode 100644 packages/core-js/actual/instance/some.js create mode 100644 packages/core-js/actual/instance/sort.js create mode 100644 packages/core-js/actual/instance/splice.js create mode 100644 packages/core-js/actual/instance/starts-with.js create mode 100644 packages/core-js/actual/instance/trim-end.js create mode 100644 packages/core-js/actual/instance/trim-left.js create mode 100644 packages/core-js/actual/instance/trim-right.js create mode 100644 packages/core-js/actual/instance/trim-start.js create mode 100644 packages/core-js/actual/instance/trim.js create mode 100644 packages/core-js/actual/instance/values.js create mode 100644 packages/core-js/actual/is-iterable.js create mode 100644 packages/core-js/actual/json/index.js create mode 100644 packages/core-js/actual/json/stringify.js create mode 100644 packages/core-js/actual/json/to-string-tag.js create mode 100644 packages/core-js/actual/map/index.js create mode 100644 packages/core-js/actual/math/acosh.js create mode 100644 packages/core-js/actual/math/asinh.js create mode 100644 packages/core-js/actual/math/atanh.js create mode 100644 packages/core-js/actual/math/cbrt.js create mode 100644 packages/core-js/actual/math/clz32.js create mode 100644 packages/core-js/actual/math/cosh.js create mode 100644 packages/core-js/actual/math/expm1.js create mode 100644 packages/core-js/actual/math/fround.js create mode 100644 packages/core-js/actual/math/hypot.js create mode 100644 packages/core-js/actual/math/imul.js create mode 100644 packages/core-js/actual/math/index.js create mode 100644 packages/core-js/actual/math/log10.js create mode 100644 packages/core-js/actual/math/log1p.js create mode 100644 packages/core-js/actual/math/log2.js create mode 100644 packages/core-js/actual/math/sign.js create mode 100644 packages/core-js/actual/math/sinh.js create mode 100644 packages/core-js/actual/math/tanh.js create mode 100644 packages/core-js/actual/math/to-string-tag.js create mode 100644 packages/core-js/actual/math/trunc.js create mode 100644 packages/core-js/actual/number/constructor.js create mode 100644 packages/core-js/actual/number/epsilon.js create mode 100644 packages/core-js/actual/number/index.js create mode 100644 packages/core-js/actual/number/is-finite.js create mode 100644 packages/core-js/actual/number/is-integer.js create mode 100644 packages/core-js/actual/number/is-nan.js create mode 100644 packages/core-js/actual/number/is-safe-integer.js create mode 100644 packages/core-js/actual/number/max-safe-integer.js create mode 100644 packages/core-js/actual/number/min-safe-integer.js create mode 100644 packages/core-js/actual/number/parse-float.js create mode 100644 packages/core-js/actual/number/parse-int.js create mode 100644 packages/core-js/actual/number/to-fixed.js create mode 100644 packages/core-js/actual/number/to-precision.js create mode 100644 packages/core-js/actual/number/virtual/index.js create mode 100644 packages/core-js/actual/number/virtual/to-fixed.js create mode 100644 packages/core-js/actual/number/virtual/to-precision.js create mode 100644 packages/core-js/actual/object/assign.js create mode 100644 packages/core-js/actual/object/create.js create mode 100644 packages/core-js/actual/object/define-getter.js create mode 100644 packages/core-js/actual/object/define-properties.js create mode 100644 packages/core-js/actual/object/define-property.js create mode 100644 packages/core-js/actual/object/define-setter.js create mode 100644 packages/core-js/actual/object/entries.js create mode 100644 packages/core-js/actual/object/freeze.js create mode 100644 packages/core-js/actual/object/from-entries.js create mode 100644 packages/core-js/actual/object/get-own-property-descriptor.js create mode 100644 packages/core-js/actual/object/get-own-property-descriptors.js create mode 100644 packages/core-js/actual/object/get-own-property-names.js create mode 100644 packages/core-js/actual/object/get-own-property-symbols.js create mode 100644 packages/core-js/actual/object/get-prototype-of.js create mode 100644 packages/core-js/actual/object/has-own.js create mode 100644 packages/core-js/actual/object/index.js create mode 100644 packages/core-js/actual/object/is-extensible.js create mode 100644 packages/core-js/actual/object/is-frozen.js create mode 100644 packages/core-js/actual/object/is-sealed.js create mode 100644 packages/core-js/actual/object/is.js create mode 100644 packages/core-js/actual/object/keys.js create mode 100644 packages/core-js/actual/object/lookup-getter.js create mode 100644 packages/core-js/actual/object/lookup-setter.js create mode 100644 packages/core-js/actual/object/prevent-extensions.js create mode 100644 packages/core-js/actual/object/seal.js create mode 100644 packages/core-js/actual/object/set-prototype-of.js create mode 100644 packages/core-js/actual/object/to-string.js create mode 100644 packages/core-js/actual/object/values.js create mode 100644 packages/core-js/actual/parse-float.js create mode 100644 packages/core-js/actual/parse-int.js create mode 100644 packages/core-js/actual/promise/all-settled.js create mode 100644 packages/core-js/actual/promise/any.js create mode 100644 packages/core-js/actual/promise/finally.js create mode 100644 packages/core-js/actual/promise/index.js create mode 100644 packages/core-js/actual/queue-microtask.js create mode 100644 packages/core-js/actual/reflect/apply.js create mode 100644 packages/core-js/actual/reflect/construct.js create mode 100644 packages/core-js/actual/reflect/define-property.js create mode 100644 packages/core-js/actual/reflect/delete-property.js create mode 100644 packages/core-js/actual/reflect/get-own-property-descriptor.js create mode 100644 packages/core-js/actual/reflect/get-prototype-of.js create mode 100644 packages/core-js/actual/reflect/get.js create mode 100644 packages/core-js/actual/reflect/has.js create mode 100644 packages/core-js/actual/reflect/index.js create mode 100644 packages/core-js/actual/reflect/is-extensible.js create mode 100644 packages/core-js/actual/reflect/own-keys.js create mode 100644 packages/core-js/actual/reflect/prevent-extensions.js create mode 100644 packages/core-js/actual/reflect/set-prototype-of.js create mode 100644 packages/core-js/actual/reflect/set.js create mode 100644 packages/core-js/actual/reflect/to-string-tag.js create mode 100644 packages/core-js/actual/regexp/constructor.js create mode 100644 packages/core-js/actual/regexp/dot-all.js create mode 100644 packages/core-js/actual/regexp/flags.js create mode 100644 packages/core-js/actual/regexp/index.js create mode 100644 packages/core-js/actual/regexp/match.js create mode 100644 packages/core-js/actual/regexp/replace.js create mode 100644 packages/core-js/actual/regexp/search.js create mode 100644 packages/core-js/actual/regexp/split.js create mode 100644 packages/core-js/actual/regexp/sticky.js create mode 100644 packages/core-js/actual/regexp/test.js create mode 100644 packages/core-js/actual/regexp/to-string.js create mode 100644 packages/core-js/actual/set-immediate.js create mode 100644 packages/core-js/actual/set-interval.js create mode 100644 packages/core-js/actual/set-timeout.js create mode 100644 packages/core-js/actual/set/index.js create mode 100644 packages/core-js/actual/string/anchor.js create mode 100644 packages/core-js/actual/string/at.js create mode 100644 packages/core-js/actual/string/big.js create mode 100644 packages/core-js/actual/string/blink.js create mode 100644 packages/core-js/actual/string/bold.js create mode 100644 packages/core-js/actual/string/code-point-at.js create mode 100644 packages/core-js/actual/string/ends-with.js create mode 100644 packages/core-js/actual/string/fixed.js create mode 100644 packages/core-js/actual/string/fontcolor.js create mode 100644 packages/core-js/actual/string/fontsize.js create mode 100644 packages/core-js/actual/string/from-code-point.js create mode 100644 packages/core-js/actual/string/includes.js create mode 100644 packages/core-js/actual/string/index.js create mode 100644 packages/core-js/actual/string/italics.js create mode 100644 packages/core-js/actual/string/iterator.js create mode 100644 packages/core-js/actual/string/link.js create mode 100644 packages/core-js/actual/string/match-all.js create mode 100644 packages/core-js/actual/string/match.js create mode 100644 packages/core-js/actual/string/pad-end.js create mode 100644 packages/core-js/actual/string/pad-start.js create mode 100644 packages/core-js/actual/string/raw.js create mode 100644 packages/core-js/actual/string/repeat.js create mode 100644 packages/core-js/actual/string/replace-all.js create mode 100644 packages/core-js/actual/string/replace.js create mode 100644 packages/core-js/actual/string/search.js create mode 100644 packages/core-js/actual/string/small.js create mode 100644 packages/core-js/actual/string/split.js create mode 100644 packages/core-js/actual/string/starts-with.js create mode 100644 packages/core-js/actual/string/strike.js create mode 100644 packages/core-js/actual/string/sub.js create mode 100644 packages/core-js/actual/string/substr.js create mode 100644 packages/core-js/actual/string/sup.js create mode 100644 packages/core-js/actual/string/trim-end.js create mode 100644 packages/core-js/actual/string/trim-left.js create mode 100644 packages/core-js/actual/string/trim-right.js create mode 100644 packages/core-js/actual/string/trim-start.js create mode 100644 packages/core-js/actual/string/trim.js create mode 100644 packages/core-js/actual/string/virtual/anchor.js create mode 100644 packages/core-js/actual/string/virtual/at.js create mode 100644 packages/core-js/actual/string/virtual/big.js create mode 100644 packages/core-js/actual/string/virtual/blink.js create mode 100644 packages/core-js/actual/string/virtual/bold.js create mode 100644 packages/core-js/actual/string/virtual/code-point-at.js create mode 100644 packages/core-js/actual/string/virtual/ends-with.js create mode 100644 packages/core-js/actual/string/virtual/fixed.js create mode 100644 packages/core-js/actual/string/virtual/fontcolor.js create mode 100644 packages/core-js/actual/string/virtual/fontsize.js create mode 100644 packages/core-js/actual/string/virtual/includes.js create mode 100644 packages/core-js/actual/string/virtual/index.js create mode 100644 packages/core-js/actual/string/virtual/italics.js create mode 100644 packages/core-js/actual/string/virtual/iterator.js create mode 100644 packages/core-js/actual/string/virtual/link.js create mode 100644 packages/core-js/actual/string/virtual/match-all.js create mode 100644 packages/core-js/actual/string/virtual/pad-end.js create mode 100644 packages/core-js/actual/string/virtual/pad-start.js create mode 100644 packages/core-js/actual/string/virtual/repeat.js create mode 100644 packages/core-js/actual/string/virtual/replace-all.js create mode 100644 packages/core-js/actual/string/virtual/small.js create mode 100644 packages/core-js/actual/string/virtual/starts-with.js create mode 100644 packages/core-js/actual/string/virtual/strike.js create mode 100644 packages/core-js/actual/string/virtual/sub.js create mode 100644 packages/core-js/actual/string/virtual/substr.js create mode 100644 packages/core-js/actual/string/virtual/sup.js create mode 100644 packages/core-js/actual/string/virtual/trim-end.js create mode 100644 packages/core-js/actual/string/virtual/trim-left.js create mode 100644 packages/core-js/actual/string/virtual/trim-right.js create mode 100644 packages/core-js/actual/string/virtual/trim-start.js create mode 100644 packages/core-js/actual/string/virtual/trim.js create mode 100644 packages/core-js/actual/symbol/async-iterator.js create mode 100644 packages/core-js/actual/symbol/description.js create mode 100644 packages/core-js/actual/symbol/for.js create mode 100644 packages/core-js/actual/symbol/has-instance.js create mode 100644 packages/core-js/actual/symbol/index.js create mode 100644 packages/core-js/actual/symbol/is-concat-spreadable.js create mode 100644 packages/core-js/actual/symbol/iterator.js create mode 100644 packages/core-js/actual/symbol/key-for.js create mode 100644 packages/core-js/actual/symbol/match-all.js create mode 100644 packages/core-js/actual/symbol/match.js create mode 100644 packages/core-js/actual/symbol/replace.js create mode 100644 packages/core-js/actual/symbol/search.js create mode 100644 packages/core-js/actual/symbol/species.js create mode 100644 packages/core-js/actual/symbol/split.js create mode 100644 packages/core-js/actual/symbol/to-primitive.js create mode 100644 packages/core-js/actual/symbol/to-string-tag.js create mode 100644 packages/core-js/actual/symbol/unscopables.js create mode 100644 packages/core-js/actual/typed-array/at.js create mode 100644 packages/core-js/actual/typed-array/copy-within.js create mode 100644 packages/core-js/actual/typed-array/entries.js create mode 100644 packages/core-js/actual/typed-array/every.js create mode 100644 packages/core-js/actual/typed-array/fill.js create mode 100644 packages/core-js/actual/typed-array/filter.js create mode 100644 packages/core-js/actual/typed-array/find-index.js create mode 100644 packages/core-js/actual/typed-array/find-last-index.js create mode 100644 packages/core-js/actual/typed-array/find-last.js create mode 100644 packages/core-js/actual/typed-array/find.js create mode 100644 packages/core-js/actual/typed-array/float32-array.js create mode 100644 packages/core-js/actual/typed-array/float64-array.js create mode 100644 packages/core-js/actual/typed-array/for-each.js create mode 100644 packages/core-js/actual/typed-array/from.js create mode 100644 packages/core-js/actual/typed-array/includes.js create mode 100644 packages/core-js/actual/typed-array/index-of.js create mode 100644 packages/core-js/actual/typed-array/index.js create mode 100644 packages/core-js/actual/typed-array/int16-array.js create mode 100644 packages/core-js/actual/typed-array/int32-array.js create mode 100644 packages/core-js/actual/typed-array/int8-array.js create mode 100644 packages/core-js/actual/typed-array/iterator.js create mode 100644 packages/core-js/actual/typed-array/join.js create mode 100644 packages/core-js/actual/typed-array/keys.js create mode 100644 packages/core-js/actual/typed-array/last-index-of.js create mode 100644 packages/core-js/actual/typed-array/map.js create mode 100644 packages/core-js/actual/typed-array/methods.js create mode 100644 packages/core-js/actual/typed-array/of.js create mode 100644 packages/core-js/actual/typed-array/reduce-right.js create mode 100644 packages/core-js/actual/typed-array/reduce.js create mode 100644 packages/core-js/actual/typed-array/reverse.js create mode 100644 packages/core-js/actual/typed-array/set.js create mode 100644 packages/core-js/actual/typed-array/slice.js create mode 100644 packages/core-js/actual/typed-array/some.js create mode 100644 packages/core-js/actual/typed-array/sort.js create mode 100644 packages/core-js/actual/typed-array/subarray.js create mode 100644 packages/core-js/actual/typed-array/to-locale-string.js create mode 100644 packages/core-js/actual/typed-array/to-string.js create mode 100644 packages/core-js/actual/typed-array/uint16-array.js create mode 100644 packages/core-js/actual/typed-array/uint32-array.js create mode 100644 packages/core-js/actual/typed-array/uint8-array.js create mode 100644 packages/core-js/actual/typed-array/uint8-clamped-array.js create mode 100644 packages/core-js/actual/typed-array/values.js create mode 100644 packages/core-js/actual/unescape.js create mode 100644 packages/core-js/actual/url-search-params/index.js create mode 100644 packages/core-js/actual/url/index.js create mode 100644 packages/core-js/actual/url/to-json.js create mode 100644 packages/core-js/actual/weak-map/index.js create mode 100644 packages/core-js/actual/weak-set/index.js diff --git a/.gitignore b/.gitignore index c91ab3115340..7a947adabfcb 100644 --- a/.gitignore +++ b/.gitignore @@ -23,6 +23,7 @@ node_modules/ /packages/core-js-compat/external.json /packages/core-js-compat/modules.json /packages/core-js-compat/modules-by-versions.json +/packages/core-js-pure/actual/ /packages/core-js-pure/es/ /packages/core-js-pure/features/ /packages/core-js-pure/internals/ diff --git a/packages/core-js/actual/README.md b/packages/core-js/actual/README.md new file mode 100644 index 000000000000..62c88a0ddf75 --- /dev/null +++ b/packages/core-js/actual/README.md @@ -0,0 +1 @@ +This folder contains entry points for all `core-js` features with dependencies. It's the recommended way for usage only required features. diff --git a/packages/core-js/actual/aggregate-error.js b/packages/core-js/actual/aggregate-error.js new file mode 100644 index 000000000000..ce22a3c0599e --- /dev/null +++ b/packages/core-js/actual/aggregate-error.js @@ -0,0 +1,3 @@ +var parent = require('../stable/aggregate-error'); + +module.exports = parent; diff --git a/packages/core-js/actual/array-buffer/constructor.js b/packages/core-js/actual/array-buffer/constructor.js new file mode 100644 index 000000000000..4c615c87f9dc --- /dev/null +++ b/packages/core-js/actual/array-buffer/constructor.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array-buffer/constructor'); + +module.exports = parent; diff --git a/packages/core-js/actual/array-buffer/index.js b/packages/core-js/actual/array-buffer/index.js new file mode 100644 index 000000000000..d9e47296ebf4 --- /dev/null +++ b/packages/core-js/actual/array-buffer/index.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array-buffer'); + +module.exports = parent; diff --git a/packages/core-js/actual/array-buffer/is-view.js b/packages/core-js/actual/array-buffer/is-view.js new file mode 100644 index 000000000000..fb9fa22cba1f --- /dev/null +++ b/packages/core-js/actual/array-buffer/is-view.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array-buffer/is-view'); + +module.exports = parent; diff --git a/packages/core-js/actual/array-buffer/slice.js b/packages/core-js/actual/array-buffer/slice.js new file mode 100644 index 000000000000..d63fbc494102 --- /dev/null +++ b/packages/core-js/actual/array-buffer/slice.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array-buffer/slice'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/at.js b/packages/core-js/actual/array/at.js new file mode 100644 index 000000000000..9684fa10bed4 --- /dev/null +++ b/packages/core-js/actual/array/at.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array/at'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/concat.js b/packages/core-js/actual/array/concat.js new file mode 100644 index 000000000000..d9ba09174d14 --- /dev/null +++ b/packages/core-js/actual/array/concat.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array/concat'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/copy-within.js b/packages/core-js/actual/array/copy-within.js new file mode 100644 index 000000000000..cd71eed19109 --- /dev/null +++ b/packages/core-js/actual/array/copy-within.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array/copy-within'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/entries.js b/packages/core-js/actual/array/entries.js new file mode 100644 index 000000000000..aecade0431cb --- /dev/null +++ b/packages/core-js/actual/array/entries.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array/entries'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/every.js b/packages/core-js/actual/array/every.js new file mode 100644 index 000000000000..69eb9670cd6a --- /dev/null +++ b/packages/core-js/actual/array/every.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array/every'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/fill.js b/packages/core-js/actual/array/fill.js new file mode 100644 index 000000000000..350be578746d --- /dev/null +++ b/packages/core-js/actual/array/fill.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array/fill'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/filter.js b/packages/core-js/actual/array/filter.js new file mode 100644 index 000000000000..f72598c2e53d --- /dev/null +++ b/packages/core-js/actual/array/filter.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array/filter'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/find-index.js b/packages/core-js/actual/array/find-index.js new file mode 100644 index 000000000000..e31a18fceaee --- /dev/null +++ b/packages/core-js/actual/array/find-index.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array/find-index'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/find-last-index.js b/packages/core-js/actual/array/find-last-index.js new file mode 100644 index 000000000000..70ba3a234fe6 --- /dev/null +++ b/packages/core-js/actual/array/find-last-index.js @@ -0,0 +1,4 @@ +require('../../modules/esnext.array.find-last-index'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'findLastIndex'); diff --git a/packages/core-js/actual/array/find-last.js b/packages/core-js/actual/array/find-last.js new file mode 100644 index 000000000000..9d10c47d7d8d --- /dev/null +++ b/packages/core-js/actual/array/find-last.js @@ -0,0 +1,4 @@ +require('../../modules/esnext.array.find-last'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'findLast'); diff --git a/packages/core-js/actual/array/find.js b/packages/core-js/actual/array/find.js new file mode 100644 index 000000000000..a25dbec773b3 --- /dev/null +++ b/packages/core-js/actual/array/find.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array/find'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/flat-map.js b/packages/core-js/actual/array/flat-map.js new file mode 100644 index 000000000000..89115267a7e9 --- /dev/null +++ b/packages/core-js/actual/array/flat-map.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array/flat-map'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/flat.js b/packages/core-js/actual/array/flat.js new file mode 100644 index 000000000000..ddafdd83e6d9 --- /dev/null +++ b/packages/core-js/actual/array/flat.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array/flat'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/for-each.js b/packages/core-js/actual/array/for-each.js new file mode 100644 index 000000000000..3616b984dbd4 --- /dev/null +++ b/packages/core-js/actual/array/for-each.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array/for-each'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/from.js b/packages/core-js/actual/array/from.js new file mode 100644 index 000000000000..8514002dc459 --- /dev/null +++ b/packages/core-js/actual/array/from.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array/from'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/includes.js b/packages/core-js/actual/array/includes.js new file mode 100644 index 000000000000..8e4f190cb3de --- /dev/null +++ b/packages/core-js/actual/array/includes.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array/includes'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/index-of.js b/packages/core-js/actual/array/index-of.js new file mode 100644 index 000000000000..6dc634402725 --- /dev/null +++ b/packages/core-js/actual/array/index-of.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array/index-of'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/index.js b/packages/core-js/actual/array/index.js new file mode 100644 index 000000000000..5b5722d54ea5 --- /dev/null +++ b/packages/core-js/actual/array/index.js @@ -0,0 +1,5 @@ +var parent = require('../../stable/array'); +require('../../modules/esnext.array.find-last'); +require('../../modules/esnext.array.find-last-index'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/is-array.js b/packages/core-js/actual/array/is-array.js new file mode 100644 index 000000000000..a2d93c544686 --- /dev/null +++ b/packages/core-js/actual/array/is-array.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array/is-array'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/iterator.js b/packages/core-js/actual/array/iterator.js new file mode 100644 index 000000000000..699419ebc3df --- /dev/null +++ b/packages/core-js/actual/array/iterator.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array/iterator'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/join.js b/packages/core-js/actual/array/join.js new file mode 100644 index 000000000000..c4793688d1d6 --- /dev/null +++ b/packages/core-js/actual/array/join.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array/join'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/keys.js b/packages/core-js/actual/array/keys.js new file mode 100644 index 000000000000..c27bd671ddd9 --- /dev/null +++ b/packages/core-js/actual/array/keys.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array/keys'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/last-index-of.js b/packages/core-js/actual/array/last-index-of.js new file mode 100644 index 000000000000..f4352bcb1fb8 --- /dev/null +++ b/packages/core-js/actual/array/last-index-of.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array/last-index-of'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/map.js b/packages/core-js/actual/array/map.js new file mode 100644 index 000000000000..c1cbef9f98a2 --- /dev/null +++ b/packages/core-js/actual/array/map.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array/map'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/of.js b/packages/core-js/actual/array/of.js new file mode 100644 index 000000000000..376b4b4e8bd3 --- /dev/null +++ b/packages/core-js/actual/array/of.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array/of'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/reduce-right.js b/packages/core-js/actual/array/reduce-right.js new file mode 100644 index 000000000000..3bf7a82348ce --- /dev/null +++ b/packages/core-js/actual/array/reduce-right.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array/reduce-right'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/reduce.js b/packages/core-js/actual/array/reduce.js new file mode 100644 index 000000000000..bf865c83f612 --- /dev/null +++ b/packages/core-js/actual/array/reduce.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array/reduce'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/reverse.js b/packages/core-js/actual/array/reverse.js new file mode 100644 index 000000000000..192a596328bc --- /dev/null +++ b/packages/core-js/actual/array/reverse.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array/reverse'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/slice.js b/packages/core-js/actual/array/slice.js new file mode 100644 index 000000000000..51eaed31fbab --- /dev/null +++ b/packages/core-js/actual/array/slice.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array/slice'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/some.js b/packages/core-js/actual/array/some.js new file mode 100644 index 000000000000..4f3035c3ef8f --- /dev/null +++ b/packages/core-js/actual/array/some.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array/some'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/sort.js b/packages/core-js/actual/array/sort.js new file mode 100644 index 000000000000..62ca66ef70ea --- /dev/null +++ b/packages/core-js/actual/array/sort.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array/sort'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/splice.js b/packages/core-js/actual/array/splice.js new file mode 100644 index 000000000000..e557425275fa --- /dev/null +++ b/packages/core-js/actual/array/splice.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array/splice'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/values.js b/packages/core-js/actual/array/values.js new file mode 100644 index 000000000000..7f98b8165a54 --- /dev/null +++ b/packages/core-js/actual/array/values.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/array/values'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/virtual/at.js b/packages/core-js/actual/array/virtual/at.js new file mode 100644 index 000000000000..30ec999bb433 --- /dev/null +++ b/packages/core-js/actual/array/virtual/at.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/array/virtual/at'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/virtual/concat.js b/packages/core-js/actual/array/virtual/concat.js new file mode 100644 index 000000000000..1ddbfdb5e05e --- /dev/null +++ b/packages/core-js/actual/array/virtual/concat.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/array/virtual/concat'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/virtual/copy-within.js b/packages/core-js/actual/array/virtual/copy-within.js new file mode 100644 index 000000000000..68178e8d4a2f --- /dev/null +++ b/packages/core-js/actual/array/virtual/copy-within.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/array/virtual/copy-within'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/virtual/entries.js b/packages/core-js/actual/array/virtual/entries.js new file mode 100644 index 000000000000..c313c98163e1 --- /dev/null +++ b/packages/core-js/actual/array/virtual/entries.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/array/virtual/entries'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/virtual/every.js b/packages/core-js/actual/array/virtual/every.js new file mode 100644 index 000000000000..e76602f64f32 --- /dev/null +++ b/packages/core-js/actual/array/virtual/every.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/array/virtual/every'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/virtual/fill.js b/packages/core-js/actual/array/virtual/fill.js new file mode 100644 index 000000000000..c491116bc9d5 --- /dev/null +++ b/packages/core-js/actual/array/virtual/fill.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/array/virtual/fill'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/virtual/filter.js b/packages/core-js/actual/array/virtual/filter.js new file mode 100644 index 000000000000..c1eb85528f8d --- /dev/null +++ b/packages/core-js/actual/array/virtual/filter.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/array/virtual/filter'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/virtual/find-index.js b/packages/core-js/actual/array/virtual/find-index.js new file mode 100644 index 000000000000..7c4c430704ed --- /dev/null +++ b/packages/core-js/actual/array/virtual/find-index.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/array/virtual/find-index'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/virtual/find-last-index.js b/packages/core-js/actual/array/virtual/find-last-index.js new file mode 100644 index 000000000000..748cf5f2c9ae --- /dev/null +++ b/packages/core-js/actual/array/virtual/find-last-index.js @@ -0,0 +1,4 @@ +require('../../../modules/esnext.array.find-last-index'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').findLastIndex; diff --git a/packages/core-js/actual/array/virtual/find-last.js b/packages/core-js/actual/array/virtual/find-last.js new file mode 100644 index 000000000000..ab4f4ef6329c --- /dev/null +++ b/packages/core-js/actual/array/virtual/find-last.js @@ -0,0 +1,4 @@ +require('../../../modules/esnext.array.find-last'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').findLast; diff --git a/packages/core-js/actual/array/virtual/find.js b/packages/core-js/actual/array/virtual/find.js new file mode 100644 index 000000000000..03287af0de3a --- /dev/null +++ b/packages/core-js/actual/array/virtual/find.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/array/virtual/find'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/virtual/flat-map.js b/packages/core-js/actual/array/virtual/flat-map.js new file mode 100644 index 000000000000..1525170bdc8e --- /dev/null +++ b/packages/core-js/actual/array/virtual/flat-map.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/array/virtual/flat-map'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/virtual/flat.js b/packages/core-js/actual/array/virtual/flat.js new file mode 100644 index 000000000000..57f1a924e64b --- /dev/null +++ b/packages/core-js/actual/array/virtual/flat.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/array/virtual/flat'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/virtual/for-each.js b/packages/core-js/actual/array/virtual/for-each.js new file mode 100644 index 000000000000..bffccc46b453 --- /dev/null +++ b/packages/core-js/actual/array/virtual/for-each.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/array/virtual/for-each'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/virtual/includes.js b/packages/core-js/actual/array/virtual/includes.js new file mode 100644 index 000000000000..1d417b12f4d4 --- /dev/null +++ b/packages/core-js/actual/array/virtual/includes.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/array/virtual/includes'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/virtual/index-of.js b/packages/core-js/actual/array/virtual/index-of.js new file mode 100644 index 000000000000..8c55de0e775b --- /dev/null +++ b/packages/core-js/actual/array/virtual/index-of.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/array/virtual/index-of'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/virtual/index.js b/packages/core-js/actual/array/virtual/index.js new file mode 100644 index 000000000000..d888833553e1 --- /dev/null +++ b/packages/core-js/actual/array/virtual/index.js @@ -0,0 +1,5 @@ +var parent = require('../../../stable/array/virtual'); +require('../../../modules/esnext.array.find-last'); +require('../../../modules/esnext.array.find-last-index'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/virtual/iterator.js b/packages/core-js/actual/array/virtual/iterator.js new file mode 100644 index 000000000000..503ee1ce9fd0 --- /dev/null +++ b/packages/core-js/actual/array/virtual/iterator.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/array/virtual/iterator'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/virtual/join.js b/packages/core-js/actual/array/virtual/join.js new file mode 100644 index 000000000000..14a01ec9384b --- /dev/null +++ b/packages/core-js/actual/array/virtual/join.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/array/virtual/join'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/virtual/keys.js b/packages/core-js/actual/array/virtual/keys.js new file mode 100644 index 000000000000..ffae3a4eb7ba --- /dev/null +++ b/packages/core-js/actual/array/virtual/keys.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/array/virtual/keys'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/virtual/last-index-of.js b/packages/core-js/actual/array/virtual/last-index-of.js new file mode 100644 index 000000000000..dd9c82527b11 --- /dev/null +++ b/packages/core-js/actual/array/virtual/last-index-of.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/array/virtual/last-index-of'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/virtual/map.js b/packages/core-js/actual/array/virtual/map.js new file mode 100644 index 000000000000..4f404f163319 --- /dev/null +++ b/packages/core-js/actual/array/virtual/map.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/array/virtual/map'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/virtual/reduce-right.js b/packages/core-js/actual/array/virtual/reduce-right.js new file mode 100644 index 000000000000..dcbc9329c60a --- /dev/null +++ b/packages/core-js/actual/array/virtual/reduce-right.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/array/virtual/reduce-right'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/virtual/reduce.js b/packages/core-js/actual/array/virtual/reduce.js new file mode 100644 index 000000000000..1e727d00e27a --- /dev/null +++ b/packages/core-js/actual/array/virtual/reduce.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/array/virtual/reduce'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/virtual/reverse.js b/packages/core-js/actual/array/virtual/reverse.js new file mode 100644 index 000000000000..89eb7f9f9615 --- /dev/null +++ b/packages/core-js/actual/array/virtual/reverse.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/array/virtual/reverse'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/virtual/slice.js b/packages/core-js/actual/array/virtual/slice.js new file mode 100644 index 000000000000..5f5ded8aa7dc --- /dev/null +++ b/packages/core-js/actual/array/virtual/slice.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/array/virtual/slice'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/virtual/some.js b/packages/core-js/actual/array/virtual/some.js new file mode 100644 index 000000000000..56111f86a463 --- /dev/null +++ b/packages/core-js/actual/array/virtual/some.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/array/virtual/some'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/virtual/sort.js b/packages/core-js/actual/array/virtual/sort.js new file mode 100644 index 000000000000..9d5774d654d5 --- /dev/null +++ b/packages/core-js/actual/array/virtual/sort.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/array/virtual/sort'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/virtual/splice.js b/packages/core-js/actual/array/virtual/splice.js new file mode 100644 index 000000000000..8cc965232e91 --- /dev/null +++ b/packages/core-js/actual/array/virtual/splice.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/array/virtual/splice'); + +module.exports = parent; diff --git a/packages/core-js/actual/array/virtual/values.js b/packages/core-js/actual/array/virtual/values.js new file mode 100644 index 000000000000..db657c644a56 --- /dev/null +++ b/packages/core-js/actual/array/virtual/values.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/array/virtual/values'); + +module.exports = parent; diff --git a/packages/core-js/actual/clear-immediate.js b/packages/core-js/actual/clear-immediate.js new file mode 100644 index 000000000000..15aa13bfc46b --- /dev/null +++ b/packages/core-js/actual/clear-immediate.js @@ -0,0 +1,3 @@ +var parent = require('../stable/clear-immediate'); + +module.exports = parent; diff --git a/packages/core-js/actual/data-view/index.js b/packages/core-js/actual/data-view/index.js new file mode 100644 index 000000000000..1a8d48be44ac --- /dev/null +++ b/packages/core-js/actual/data-view/index.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/data-view'); + +module.exports = parent; diff --git a/packages/core-js/actual/date/get-year.js b/packages/core-js/actual/date/get-year.js new file mode 100644 index 000000000000..e735b23fe88c --- /dev/null +++ b/packages/core-js/actual/date/get-year.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/date/get-year'); + +module.exports = parent; diff --git a/packages/core-js/actual/date/index.js b/packages/core-js/actual/date/index.js new file mode 100644 index 000000000000..e0f2f06c0641 --- /dev/null +++ b/packages/core-js/actual/date/index.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/date'); + +module.exports = parent; diff --git a/packages/core-js/actual/date/now.js b/packages/core-js/actual/date/now.js new file mode 100644 index 000000000000..e4e21e48b4d2 --- /dev/null +++ b/packages/core-js/actual/date/now.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/date/now'); + +module.exports = parent; diff --git a/packages/core-js/actual/date/set-year.js b/packages/core-js/actual/date/set-year.js new file mode 100644 index 000000000000..d533e7566e3a --- /dev/null +++ b/packages/core-js/actual/date/set-year.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/date/set-year'); + +module.exports = parent; diff --git a/packages/core-js/actual/date/to-gmt-string.js b/packages/core-js/actual/date/to-gmt-string.js new file mode 100644 index 000000000000..b807d99d5ffd --- /dev/null +++ b/packages/core-js/actual/date/to-gmt-string.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/date/to-gmt-string'); + +module.exports = parent; diff --git a/packages/core-js/actual/date/to-iso-string.js b/packages/core-js/actual/date/to-iso-string.js new file mode 100644 index 000000000000..ff65f2983838 --- /dev/null +++ b/packages/core-js/actual/date/to-iso-string.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/date/to-iso-string'); + +module.exports = parent; diff --git a/packages/core-js/actual/date/to-json.js b/packages/core-js/actual/date/to-json.js new file mode 100644 index 000000000000..59715058c232 --- /dev/null +++ b/packages/core-js/actual/date/to-json.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/date/to-json'); + +module.exports = parent; diff --git a/packages/core-js/actual/date/to-primitive.js b/packages/core-js/actual/date/to-primitive.js new file mode 100644 index 000000000000..c6dfc0d915dd --- /dev/null +++ b/packages/core-js/actual/date/to-primitive.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/date/to-primitive'); + +module.exports = parent; diff --git a/packages/core-js/actual/date/to-string.js b/packages/core-js/actual/date/to-string.js new file mode 100644 index 000000000000..7ca6a84ed544 --- /dev/null +++ b/packages/core-js/actual/date/to-string.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/date/to-string'); + +module.exports = parent; diff --git a/packages/core-js/actual/dom-collections/for-each.js b/packages/core-js/actual/dom-collections/for-each.js new file mode 100644 index 000000000000..dd2ac64b491c --- /dev/null +++ b/packages/core-js/actual/dom-collections/for-each.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/dom-collections/for-each'); + +module.exports = parent; diff --git a/packages/core-js/actual/dom-collections/index.js b/packages/core-js/actual/dom-collections/index.js new file mode 100644 index 000000000000..1ae0660b9050 --- /dev/null +++ b/packages/core-js/actual/dom-collections/index.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/dom-collections'); + +module.exports = parent; diff --git a/packages/core-js/actual/dom-collections/iterator.js b/packages/core-js/actual/dom-collections/iterator.js new file mode 100644 index 000000000000..d63ca4304add --- /dev/null +++ b/packages/core-js/actual/dom-collections/iterator.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/dom-collections/iterator'); + +module.exports = parent; diff --git a/packages/core-js/actual/escape.js b/packages/core-js/actual/escape.js new file mode 100644 index 000000000000..af60217719dd --- /dev/null +++ b/packages/core-js/actual/escape.js @@ -0,0 +1,3 @@ +var parent = require('../stable/escape'); + +module.exports = parent; diff --git a/packages/core-js/actual/function/bind.js b/packages/core-js/actual/function/bind.js new file mode 100644 index 000000000000..758ced6630a7 --- /dev/null +++ b/packages/core-js/actual/function/bind.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/function/bind'); + +module.exports = parent; diff --git a/packages/core-js/actual/function/has-instance.js b/packages/core-js/actual/function/has-instance.js new file mode 100644 index 000000000000..d0e8fa974251 --- /dev/null +++ b/packages/core-js/actual/function/has-instance.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/function/has-instance'); + +module.exports = parent; diff --git a/packages/core-js/actual/function/index.js b/packages/core-js/actual/function/index.js new file mode 100644 index 000000000000..a510d84ea92d --- /dev/null +++ b/packages/core-js/actual/function/index.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/function'); + +module.exports = parent; diff --git a/packages/core-js/actual/function/name.js b/packages/core-js/actual/function/name.js new file mode 100644 index 000000000000..d96d5ef51800 --- /dev/null +++ b/packages/core-js/actual/function/name.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/function/name'); + +module.exports = parent; diff --git a/packages/core-js/actual/function/virtual/bind.js b/packages/core-js/actual/function/virtual/bind.js new file mode 100644 index 000000000000..22b662f4d2cc --- /dev/null +++ b/packages/core-js/actual/function/virtual/bind.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/function/virtual/bind'); + +module.exports = parent; diff --git a/packages/core-js/actual/function/virtual/index.js b/packages/core-js/actual/function/virtual/index.js new file mode 100644 index 000000000000..a176e8ea3320 --- /dev/null +++ b/packages/core-js/actual/function/virtual/index.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/function/virtual'); + +module.exports = parent; diff --git a/packages/core-js/actual/get-iterator-method.js b/packages/core-js/actual/get-iterator-method.js new file mode 100644 index 000000000000..dd3aac533777 --- /dev/null +++ b/packages/core-js/actual/get-iterator-method.js @@ -0,0 +1,3 @@ +var parent = require('../stable/get-iterator-method'); + +module.exports = parent; diff --git a/packages/core-js/actual/get-iterator.js b/packages/core-js/actual/get-iterator.js new file mode 100644 index 000000000000..c2da1bae2606 --- /dev/null +++ b/packages/core-js/actual/get-iterator.js @@ -0,0 +1,3 @@ +var parent = require('../stable/get-iterator'); + +module.exports = parent; diff --git a/packages/core-js/actual/global-this.js b/packages/core-js/actual/global-this.js new file mode 100644 index 000000000000..76c8a55819f3 --- /dev/null +++ b/packages/core-js/actual/global-this.js @@ -0,0 +1,3 @@ +var parent = require('../stable/global-this'); + +module.exports = parent; diff --git a/packages/core-js/actual/index.js b/packages/core-js/actual/index.js new file mode 100644 index 000000000000..74e5fcedc6bf --- /dev/null +++ b/packages/core-js/actual/index.js @@ -0,0 +1,4 @@ +require('../stable'); +require('../stage/3'); + +module.exports = require('../internals/path'); diff --git a/packages/core-js/actual/instance/at.js b/packages/core-js/actual/instance/at.js new file mode 100644 index 000000000000..c6dd7bd06228 --- /dev/null +++ b/packages/core-js/actual/instance/at.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/at'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/bind.js b/packages/core-js/actual/instance/bind.js new file mode 100644 index 000000000000..c7bbadb64994 --- /dev/null +++ b/packages/core-js/actual/instance/bind.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/bind'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/code-point-at.js b/packages/core-js/actual/instance/code-point-at.js new file mode 100644 index 000000000000..095b1e2a4ca7 --- /dev/null +++ b/packages/core-js/actual/instance/code-point-at.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/code-point-at'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/concat.js b/packages/core-js/actual/instance/concat.js new file mode 100644 index 000000000000..43af32327d26 --- /dev/null +++ b/packages/core-js/actual/instance/concat.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/concat'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/copy-within.js b/packages/core-js/actual/instance/copy-within.js new file mode 100644 index 000000000000..8570f1ece149 --- /dev/null +++ b/packages/core-js/actual/instance/copy-within.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/copy-within'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/ends-with.js b/packages/core-js/actual/instance/ends-with.js new file mode 100644 index 000000000000..c1596b978e86 --- /dev/null +++ b/packages/core-js/actual/instance/ends-with.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/ends-with'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/entries.js b/packages/core-js/actual/instance/entries.js new file mode 100644 index 000000000000..ef42a0e32eed --- /dev/null +++ b/packages/core-js/actual/instance/entries.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/entries'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/every.js b/packages/core-js/actual/instance/every.js new file mode 100644 index 000000000000..949926ce6c48 --- /dev/null +++ b/packages/core-js/actual/instance/every.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/every'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/fill.js b/packages/core-js/actual/instance/fill.js new file mode 100644 index 000000000000..d625f284d8c0 --- /dev/null +++ b/packages/core-js/actual/instance/fill.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/fill'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/filter.js b/packages/core-js/actual/instance/filter.js new file mode 100644 index 000000000000..2200e4ef6c6c --- /dev/null +++ b/packages/core-js/actual/instance/filter.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/filter'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/find-index.js b/packages/core-js/actual/instance/find-index.js new file mode 100644 index 000000000000..57922c4c9c52 --- /dev/null +++ b/packages/core-js/actual/instance/find-index.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/find-index'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/find-last-index.js b/packages/core-js/actual/instance/find-last-index.js new file mode 100644 index 000000000000..cccb9dbee8e9 --- /dev/null +++ b/packages/core-js/actual/instance/find-last-index.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/find-last-index'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/find-last.js b/packages/core-js/actual/instance/find-last.js new file mode 100644 index 000000000000..bd7303dce64c --- /dev/null +++ b/packages/core-js/actual/instance/find-last.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/find-last'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/find.js b/packages/core-js/actual/instance/find.js new file mode 100644 index 000000000000..4c9cb4e08252 --- /dev/null +++ b/packages/core-js/actual/instance/find.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/find'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/flags.js b/packages/core-js/actual/instance/flags.js new file mode 100644 index 000000000000..760fe5baf196 --- /dev/null +++ b/packages/core-js/actual/instance/flags.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/flags'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/flat-map.js b/packages/core-js/actual/instance/flat-map.js new file mode 100644 index 000000000000..dc53f1fa8342 --- /dev/null +++ b/packages/core-js/actual/instance/flat-map.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/flat-map'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/flat.js b/packages/core-js/actual/instance/flat.js new file mode 100644 index 000000000000..45ea7750498b --- /dev/null +++ b/packages/core-js/actual/instance/flat.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/flat'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/for-each.js b/packages/core-js/actual/instance/for-each.js new file mode 100644 index 000000000000..59d1d80db950 --- /dev/null +++ b/packages/core-js/actual/instance/for-each.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/for-each'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/includes.js b/packages/core-js/actual/instance/includes.js new file mode 100644 index 000000000000..317c1bdd6278 --- /dev/null +++ b/packages/core-js/actual/instance/includes.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/includes'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/index-of.js b/packages/core-js/actual/instance/index-of.js new file mode 100644 index 000000000000..c6d9c39a78ba --- /dev/null +++ b/packages/core-js/actual/instance/index-of.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/index-of'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/keys.js b/packages/core-js/actual/instance/keys.js new file mode 100644 index 000000000000..63208469daf4 --- /dev/null +++ b/packages/core-js/actual/instance/keys.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/keys'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/last-index-of.js b/packages/core-js/actual/instance/last-index-of.js new file mode 100644 index 000000000000..7ba5dd27abfd --- /dev/null +++ b/packages/core-js/actual/instance/last-index-of.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/last-index-of'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/map.js b/packages/core-js/actual/instance/map.js new file mode 100644 index 000000000000..a5e19972cb47 --- /dev/null +++ b/packages/core-js/actual/instance/map.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/map'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/match-all.js b/packages/core-js/actual/instance/match-all.js new file mode 100644 index 000000000000..cf12ce1459c1 --- /dev/null +++ b/packages/core-js/actual/instance/match-all.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/match-all'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/pad-end.js b/packages/core-js/actual/instance/pad-end.js new file mode 100644 index 000000000000..339936feb9d8 --- /dev/null +++ b/packages/core-js/actual/instance/pad-end.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/pad-end'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/pad-start.js b/packages/core-js/actual/instance/pad-start.js new file mode 100644 index 000000000000..c12d6731df5f --- /dev/null +++ b/packages/core-js/actual/instance/pad-start.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/pad-start'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/reduce-right.js b/packages/core-js/actual/instance/reduce-right.js new file mode 100644 index 000000000000..f55661c0585a --- /dev/null +++ b/packages/core-js/actual/instance/reduce-right.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/reduce-right'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/reduce.js b/packages/core-js/actual/instance/reduce.js new file mode 100644 index 000000000000..b25a49f263a7 --- /dev/null +++ b/packages/core-js/actual/instance/reduce.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/reduce'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/repeat.js b/packages/core-js/actual/instance/repeat.js new file mode 100644 index 000000000000..83cf6649a965 --- /dev/null +++ b/packages/core-js/actual/instance/repeat.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/repeat'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/replace-all.js b/packages/core-js/actual/instance/replace-all.js new file mode 100644 index 000000000000..c4dc865a6a8b --- /dev/null +++ b/packages/core-js/actual/instance/replace-all.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/replace-all'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/reverse.js b/packages/core-js/actual/instance/reverse.js new file mode 100644 index 000000000000..3c0639fdeed8 --- /dev/null +++ b/packages/core-js/actual/instance/reverse.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/reverse'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/slice.js b/packages/core-js/actual/instance/slice.js new file mode 100644 index 000000000000..5e6e6f6a4797 --- /dev/null +++ b/packages/core-js/actual/instance/slice.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/slice'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/some.js b/packages/core-js/actual/instance/some.js new file mode 100644 index 000000000000..3a809cbaa0e4 --- /dev/null +++ b/packages/core-js/actual/instance/some.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/some'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/sort.js b/packages/core-js/actual/instance/sort.js new file mode 100644 index 000000000000..1171de34ff16 --- /dev/null +++ b/packages/core-js/actual/instance/sort.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/sort'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/splice.js b/packages/core-js/actual/instance/splice.js new file mode 100644 index 000000000000..b5fb39ad7f65 --- /dev/null +++ b/packages/core-js/actual/instance/splice.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/splice'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/starts-with.js b/packages/core-js/actual/instance/starts-with.js new file mode 100644 index 000000000000..41ba6e4c503e --- /dev/null +++ b/packages/core-js/actual/instance/starts-with.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/starts-with'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/trim-end.js b/packages/core-js/actual/instance/trim-end.js new file mode 100644 index 000000000000..0fba6f179436 --- /dev/null +++ b/packages/core-js/actual/instance/trim-end.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/trim-end'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/trim-left.js b/packages/core-js/actual/instance/trim-left.js new file mode 100644 index 000000000000..23adfeadfe15 --- /dev/null +++ b/packages/core-js/actual/instance/trim-left.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/trim-left'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/trim-right.js b/packages/core-js/actual/instance/trim-right.js new file mode 100644 index 000000000000..62c228be4008 --- /dev/null +++ b/packages/core-js/actual/instance/trim-right.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/trim-right'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/trim-start.js b/packages/core-js/actual/instance/trim-start.js new file mode 100644 index 000000000000..a594340bff55 --- /dev/null +++ b/packages/core-js/actual/instance/trim-start.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/trim-start'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/trim.js b/packages/core-js/actual/instance/trim.js new file mode 100644 index 000000000000..02628980dee0 --- /dev/null +++ b/packages/core-js/actual/instance/trim.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/trim'); + +module.exports = parent; diff --git a/packages/core-js/actual/instance/values.js b/packages/core-js/actual/instance/values.js new file mode 100644 index 000000000000..71d17335c580 --- /dev/null +++ b/packages/core-js/actual/instance/values.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/instance/values'); + +module.exports = parent; diff --git a/packages/core-js/actual/is-iterable.js b/packages/core-js/actual/is-iterable.js new file mode 100644 index 000000000000..c23159b3953a --- /dev/null +++ b/packages/core-js/actual/is-iterable.js @@ -0,0 +1,3 @@ +var parent = require('../stable/is-iterable'); + +module.exports = parent; diff --git a/packages/core-js/actual/json/index.js b/packages/core-js/actual/json/index.js new file mode 100644 index 000000000000..3eda5a461c65 --- /dev/null +++ b/packages/core-js/actual/json/index.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/json'); + +module.exports = parent; diff --git a/packages/core-js/actual/json/stringify.js b/packages/core-js/actual/json/stringify.js new file mode 100644 index 000000000000..1bd0d89bc830 --- /dev/null +++ b/packages/core-js/actual/json/stringify.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/json/stringify'); + +module.exports = parent; diff --git a/packages/core-js/actual/json/to-string-tag.js b/packages/core-js/actual/json/to-string-tag.js new file mode 100644 index 000000000000..2c6d2bd1b7ef --- /dev/null +++ b/packages/core-js/actual/json/to-string-tag.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/json/to-string-tag'); + +module.exports = parent; diff --git a/packages/core-js/actual/map/index.js b/packages/core-js/actual/map/index.js new file mode 100644 index 000000000000..1166276af13e --- /dev/null +++ b/packages/core-js/actual/map/index.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/map'); + +module.exports = parent; diff --git a/packages/core-js/actual/math/acosh.js b/packages/core-js/actual/math/acosh.js new file mode 100644 index 000000000000..e81645b8bb81 --- /dev/null +++ b/packages/core-js/actual/math/acosh.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/math/acosh'); + +module.exports = parent; diff --git a/packages/core-js/actual/math/asinh.js b/packages/core-js/actual/math/asinh.js new file mode 100644 index 000000000000..86ffb589a5fb --- /dev/null +++ b/packages/core-js/actual/math/asinh.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/math/asinh'); + +module.exports = parent; diff --git a/packages/core-js/actual/math/atanh.js b/packages/core-js/actual/math/atanh.js new file mode 100644 index 000000000000..4732b628d004 --- /dev/null +++ b/packages/core-js/actual/math/atanh.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/math/atanh'); + +module.exports = parent; diff --git a/packages/core-js/actual/math/cbrt.js b/packages/core-js/actual/math/cbrt.js new file mode 100644 index 000000000000..627a4a061e60 --- /dev/null +++ b/packages/core-js/actual/math/cbrt.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/math/cbrt'); + +module.exports = parent; diff --git a/packages/core-js/actual/math/clz32.js b/packages/core-js/actual/math/clz32.js new file mode 100644 index 000000000000..d2476feb8c16 --- /dev/null +++ b/packages/core-js/actual/math/clz32.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/math/clz32'); + +module.exports = parent; diff --git a/packages/core-js/actual/math/cosh.js b/packages/core-js/actual/math/cosh.js new file mode 100644 index 000000000000..c22c2d42e772 --- /dev/null +++ b/packages/core-js/actual/math/cosh.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/math/cosh'); + +module.exports = parent; diff --git a/packages/core-js/actual/math/expm1.js b/packages/core-js/actual/math/expm1.js new file mode 100644 index 000000000000..172ad2a88cbe --- /dev/null +++ b/packages/core-js/actual/math/expm1.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/math/expm1'); + +module.exports = parent; diff --git a/packages/core-js/actual/math/fround.js b/packages/core-js/actual/math/fround.js new file mode 100644 index 000000000000..74b6b47efcd4 --- /dev/null +++ b/packages/core-js/actual/math/fround.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/math/fround'); + +module.exports = parent; diff --git a/packages/core-js/actual/math/hypot.js b/packages/core-js/actual/math/hypot.js new file mode 100644 index 000000000000..cc07a7adb14d --- /dev/null +++ b/packages/core-js/actual/math/hypot.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/math/hypot'); + +module.exports = parent; diff --git a/packages/core-js/actual/math/imul.js b/packages/core-js/actual/math/imul.js new file mode 100644 index 000000000000..de2f8ec0a01a --- /dev/null +++ b/packages/core-js/actual/math/imul.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/math/imul'); + +module.exports = parent; diff --git a/packages/core-js/actual/math/index.js b/packages/core-js/actual/math/index.js new file mode 100644 index 000000000000..42d09dc1e247 --- /dev/null +++ b/packages/core-js/actual/math/index.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/math'); + +module.exports = parent; diff --git a/packages/core-js/actual/math/log10.js b/packages/core-js/actual/math/log10.js new file mode 100644 index 000000000000..f695d3474b90 --- /dev/null +++ b/packages/core-js/actual/math/log10.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/math/log10'); + +module.exports = parent; diff --git a/packages/core-js/actual/math/log1p.js b/packages/core-js/actual/math/log1p.js new file mode 100644 index 000000000000..d71add61c230 --- /dev/null +++ b/packages/core-js/actual/math/log1p.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/math/log1p'); + +module.exports = parent; diff --git a/packages/core-js/actual/math/log2.js b/packages/core-js/actual/math/log2.js new file mode 100644 index 000000000000..edd3dac0fe6e --- /dev/null +++ b/packages/core-js/actual/math/log2.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/math/log2'); + +module.exports = parent; diff --git a/packages/core-js/actual/math/sign.js b/packages/core-js/actual/math/sign.js new file mode 100644 index 000000000000..80afd7a290e7 --- /dev/null +++ b/packages/core-js/actual/math/sign.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/math/sign'); + +module.exports = parent; diff --git a/packages/core-js/actual/math/sinh.js b/packages/core-js/actual/math/sinh.js new file mode 100644 index 000000000000..02e1a02fb6b1 --- /dev/null +++ b/packages/core-js/actual/math/sinh.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/math/sinh'); + +module.exports = parent; diff --git a/packages/core-js/actual/math/tanh.js b/packages/core-js/actual/math/tanh.js new file mode 100644 index 000000000000..376b0ba13a57 --- /dev/null +++ b/packages/core-js/actual/math/tanh.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/math/tanh'); + +module.exports = parent; diff --git a/packages/core-js/actual/math/to-string-tag.js b/packages/core-js/actual/math/to-string-tag.js new file mode 100644 index 000000000000..ccd38976c8de --- /dev/null +++ b/packages/core-js/actual/math/to-string-tag.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/math/to-string-tag'); + +module.exports = parent; diff --git a/packages/core-js/actual/math/trunc.js b/packages/core-js/actual/math/trunc.js new file mode 100644 index 000000000000..106289b03a83 --- /dev/null +++ b/packages/core-js/actual/math/trunc.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/math/trunc'); + +module.exports = parent; diff --git a/packages/core-js/actual/number/constructor.js b/packages/core-js/actual/number/constructor.js new file mode 100644 index 000000000000..ed8021e96865 --- /dev/null +++ b/packages/core-js/actual/number/constructor.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/number/constructor'); + +module.exports = parent; diff --git a/packages/core-js/actual/number/epsilon.js b/packages/core-js/actual/number/epsilon.js new file mode 100644 index 000000000000..39c668eb3626 --- /dev/null +++ b/packages/core-js/actual/number/epsilon.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/number/epsilon'); + +module.exports = parent; diff --git a/packages/core-js/actual/number/index.js b/packages/core-js/actual/number/index.js new file mode 100644 index 000000000000..14baad220aeb --- /dev/null +++ b/packages/core-js/actual/number/index.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/number'); + +module.exports = parent; diff --git a/packages/core-js/actual/number/is-finite.js b/packages/core-js/actual/number/is-finite.js new file mode 100644 index 000000000000..4cbb7ea5ab75 --- /dev/null +++ b/packages/core-js/actual/number/is-finite.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/number/is-finite'); + +module.exports = parent; diff --git a/packages/core-js/actual/number/is-integer.js b/packages/core-js/actual/number/is-integer.js new file mode 100644 index 000000000000..2e9cae0d9fd3 --- /dev/null +++ b/packages/core-js/actual/number/is-integer.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/number/is-integer'); + +module.exports = parent; diff --git a/packages/core-js/actual/number/is-nan.js b/packages/core-js/actual/number/is-nan.js new file mode 100644 index 000000000000..a5d55a8c64de --- /dev/null +++ b/packages/core-js/actual/number/is-nan.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/number/is-nan'); + +module.exports = parent; diff --git a/packages/core-js/actual/number/is-safe-integer.js b/packages/core-js/actual/number/is-safe-integer.js new file mode 100644 index 000000000000..d04dde2b4b1d --- /dev/null +++ b/packages/core-js/actual/number/is-safe-integer.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/number/is-safe-integer'); + +module.exports = parent; diff --git a/packages/core-js/actual/number/max-safe-integer.js b/packages/core-js/actual/number/max-safe-integer.js new file mode 100644 index 000000000000..129191cb5a09 --- /dev/null +++ b/packages/core-js/actual/number/max-safe-integer.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/number/max-safe-integer'); + +module.exports = parent; diff --git a/packages/core-js/actual/number/min-safe-integer.js b/packages/core-js/actual/number/min-safe-integer.js new file mode 100644 index 000000000000..fa2b0a723643 --- /dev/null +++ b/packages/core-js/actual/number/min-safe-integer.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/number/min-safe-integer'); + +module.exports = parent; diff --git a/packages/core-js/actual/number/parse-float.js b/packages/core-js/actual/number/parse-float.js new file mode 100644 index 000000000000..0f0bcbf34b14 --- /dev/null +++ b/packages/core-js/actual/number/parse-float.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/number/parse-float'); + +module.exports = parent; diff --git a/packages/core-js/actual/number/parse-int.js b/packages/core-js/actual/number/parse-int.js new file mode 100644 index 000000000000..cad32c6bd516 --- /dev/null +++ b/packages/core-js/actual/number/parse-int.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/number/parse-int'); + +module.exports = parent; diff --git a/packages/core-js/actual/number/to-fixed.js b/packages/core-js/actual/number/to-fixed.js new file mode 100644 index 000000000000..0153c8c2a563 --- /dev/null +++ b/packages/core-js/actual/number/to-fixed.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/number/to-fixed'); + +module.exports = parent; diff --git a/packages/core-js/actual/number/to-precision.js b/packages/core-js/actual/number/to-precision.js new file mode 100644 index 000000000000..0fd208459ab5 --- /dev/null +++ b/packages/core-js/actual/number/to-precision.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/number/to-precision'); + +module.exports = parent; diff --git a/packages/core-js/actual/number/virtual/index.js b/packages/core-js/actual/number/virtual/index.js new file mode 100644 index 000000000000..ba5ed51bf89c --- /dev/null +++ b/packages/core-js/actual/number/virtual/index.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/number/virtual'); + +module.exports = parent; diff --git a/packages/core-js/actual/number/virtual/to-fixed.js b/packages/core-js/actual/number/virtual/to-fixed.js new file mode 100644 index 000000000000..33de83774257 --- /dev/null +++ b/packages/core-js/actual/number/virtual/to-fixed.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/number/virtual/to-fixed'); + +module.exports = parent; diff --git a/packages/core-js/actual/number/virtual/to-precision.js b/packages/core-js/actual/number/virtual/to-precision.js new file mode 100644 index 000000000000..6ba7432c8a3d --- /dev/null +++ b/packages/core-js/actual/number/virtual/to-precision.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/number/virtual/to-precision'); + +module.exports = parent; diff --git a/packages/core-js/actual/object/assign.js b/packages/core-js/actual/object/assign.js new file mode 100644 index 000000000000..09912e5cc811 --- /dev/null +++ b/packages/core-js/actual/object/assign.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/object/assign'); + +module.exports = parent; diff --git a/packages/core-js/actual/object/create.js b/packages/core-js/actual/object/create.js new file mode 100644 index 000000000000..4d409666e46e --- /dev/null +++ b/packages/core-js/actual/object/create.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/object/create'); + +module.exports = parent; diff --git a/packages/core-js/actual/object/define-getter.js b/packages/core-js/actual/object/define-getter.js new file mode 100644 index 000000000000..076e9cbc4f85 --- /dev/null +++ b/packages/core-js/actual/object/define-getter.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/object/define-getter'); + +module.exports = parent; diff --git a/packages/core-js/actual/object/define-properties.js b/packages/core-js/actual/object/define-properties.js new file mode 100644 index 000000000000..9de0a2058b9a --- /dev/null +++ b/packages/core-js/actual/object/define-properties.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/object/define-properties'); + +module.exports = parent; diff --git a/packages/core-js/actual/object/define-property.js b/packages/core-js/actual/object/define-property.js new file mode 100644 index 000000000000..6c0eacfcc66e --- /dev/null +++ b/packages/core-js/actual/object/define-property.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/object/define-property'); + +module.exports = parent; diff --git a/packages/core-js/actual/object/define-setter.js b/packages/core-js/actual/object/define-setter.js new file mode 100644 index 000000000000..26c84d060501 --- /dev/null +++ b/packages/core-js/actual/object/define-setter.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/object/define-setter'); + +module.exports = parent; diff --git a/packages/core-js/actual/object/entries.js b/packages/core-js/actual/object/entries.js new file mode 100644 index 000000000000..90ef8007a770 --- /dev/null +++ b/packages/core-js/actual/object/entries.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/object/entries'); + +module.exports = parent; diff --git a/packages/core-js/actual/object/freeze.js b/packages/core-js/actual/object/freeze.js new file mode 100644 index 000000000000..7f6672a5ab1a --- /dev/null +++ b/packages/core-js/actual/object/freeze.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/object/freeze'); + +module.exports = parent; diff --git a/packages/core-js/actual/object/from-entries.js b/packages/core-js/actual/object/from-entries.js new file mode 100644 index 000000000000..17fe87834d16 --- /dev/null +++ b/packages/core-js/actual/object/from-entries.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/object/from-entries'); + +module.exports = parent; diff --git a/packages/core-js/actual/object/get-own-property-descriptor.js b/packages/core-js/actual/object/get-own-property-descriptor.js new file mode 100644 index 000000000000..0dd7c73a8150 --- /dev/null +++ b/packages/core-js/actual/object/get-own-property-descriptor.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/object/get-own-property-descriptor'); + +module.exports = parent; diff --git a/packages/core-js/actual/object/get-own-property-descriptors.js b/packages/core-js/actual/object/get-own-property-descriptors.js new file mode 100644 index 000000000000..f4e2fe057650 --- /dev/null +++ b/packages/core-js/actual/object/get-own-property-descriptors.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/object/get-own-property-descriptors'); + +module.exports = parent; diff --git a/packages/core-js/actual/object/get-own-property-names.js b/packages/core-js/actual/object/get-own-property-names.js new file mode 100644 index 000000000000..c13094b7fa17 --- /dev/null +++ b/packages/core-js/actual/object/get-own-property-names.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/object/get-own-property-names'); + +module.exports = parent; diff --git a/packages/core-js/actual/object/get-own-property-symbols.js b/packages/core-js/actual/object/get-own-property-symbols.js new file mode 100644 index 000000000000..1e9197928ccf --- /dev/null +++ b/packages/core-js/actual/object/get-own-property-symbols.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/object/get-own-property-symbols'); + +module.exports = parent; diff --git a/packages/core-js/actual/object/get-prototype-of.js b/packages/core-js/actual/object/get-prototype-of.js new file mode 100644 index 000000000000..9d20623cc14b --- /dev/null +++ b/packages/core-js/actual/object/get-prototype-of.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/object/get-prototype-of'); + +module.exports = parent; diff --git a/packages/core-js/actual/object/has-own.js b/packages/core-js/actual/object/has-own.js new file mode 100644 index 000000000000..a1a33f74fa43 --- /dev/null +++ b/packages/core-js/actual/object/has-own.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/object/has-own'); + +module.exports = parent; diff --git a/packages/core-js/actual/object/index.js b/packages/core-js/actual/object/index.js new file mode 100644 index 000000000000..f17bacfa6437 --- /dev/null +++ b/packages/core-js/actual/object/index.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/object'); + +module.exports = parent; diff --git a/packages/core-js/actual/object/is-extensible.js b/packages/core-js/actual/object/is-extensible.js new file mode 100644 index 000000000000..170be7a763a1 --- /dev/null +++ b/packages/core-js/actual/object/is-extensible.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/object/is-extensible'); + +module.exports = parent; diff --git a/packages/core-js/actual/object/is-frozen.js b/packages/core-js/actual/object/is-frozen.js new file mode 100644 index 000000000000..1e3bdca46665 --- /dev/null +++ b/packages/core-js/actual/object/is-frozen.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/object/is-frozen'); + +module.exports = parent; diff --git a/packages/core-js/actual/object/is-sealed.js b/packages/core-js/actual/object/is-sealed.js new file mode 100644 index 000000000000..8cb033deda9f --- /dev/null +++ b/packages/core-js/actual/object/is-sealed.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/object/is-sealed'); + +module.exports = parent; diff --git a/packages/core-js/actual/object/is.js b/packages/core-js/actual/object/is.js new file mode 100644 index 000000000000..3dcd83a7c47f --- /dev/null +++ b/packages/core-js/actual/object/is.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/object/is'); + +module.exports = parent; diff --git a/packages/core-js/actual/object/keys.js b/packages/core-js/actual/object/keys.js new file mode 100644 index 000000000000..328bf30cc905 --- /dev/null +++ b/packages/core-js/actual/object/keys.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/object/keys'); + +module.exports = parent; diff --git a/packages/core-js/actual/object/lookup-getter.js b/packages/core-js/actual/object/lookup-getter.js new file mode 100644 index 000000000000..d93cc2983895 --- /dev/null +++ b/packages/core-js/actual/object/lookup-getter.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/object/lookup-getter'); + +module.exports = parent; diff --git a/packages/core-js/actual/object/lookup-setter.js b/packages/core-js/actual/object/lookup-setter.js new file mode 100644 index 000000000000..55d61470d084 --- /dev/null +++ b/packages/core-js/actual/object/lookup-setter.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/object/lookup-setter'); + +module.exports = parent; diff --git a/packages/core-js/actual/object/prevent-extensions.js b/packages/core-js/actual/object/prevent-extensions.js new file mode 100644 index 000000000000..0fa499051022 --- /dev/null +++ b/packages/core-js/actual/object/prevent-extensions.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/object/prevent-extensions'); + +module.exports = parent; diff --git a/packages/core-js/actual/object/seal.js b/packages/core-js/actual/object/seal.js new file mode 100644 index 000000000000..3234a1e023a7 --- /dev/null +++ b/packages/core-js/actual/object/seal.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/object/seal'); + +module.exports = parent; diff --git a/packages/core-js/actual/object/set-prototype-of.js b/packages/core-js/actual/object/set-prototype-of.js new file mode 100644 index 000000000000..d30e98894e70 --- /dev/null +++ b/packages/core-js/actual/object/set-prototype-of.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/object/set-prototype-of'); + +module.exports = parent; diff --git a/packages/core-js/actual/object/to-string.js b/packages/core-js/actual/object/to-string.js new file mode 100644 index 000000000000..d8a3e07aa99d --- /dev/null +++ b/packages/core-js/actual/object/to-string.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/object/to-string'); + +module.exports = parent; diff --git a/packages/core-js/actual/object/values.js b/packages/core-js/actual/object/values.js new file mode 100644 index 000000000000..cec7711d7902 --- /dev/null +++ b/packages/core-js/actual/object/values.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/object/values'); + +module.exports = parent; diff --git a/packages/core-js/actual/parse-float.js b/packages/core-js/actual/parse-float.js new file mode 100644 index 000000000000..cdd51f12fd3f --- /dev/null +++ b/packages/core-js/actual/parse-float.js @@ -0,0 +1,3 @@ +var parent = require('../stable/parse-float'); + +module.exports = parent; diff --git a/packages/core-js/actual/parse-int.js b/packages/core-js/actual/parse-int.js new file mode 100644 index 000000000000..3055d7b3aed7 --- /dev/null +++ b/packages/core-js/actual/parse-int.js @@ -0,0 +1,3 @@ +var parent = require('../stable/parse-int'); + +module.exports = parent; diff --git a/packages/core-js/actual/promise/all-settled.js b/packages/core-js/actual/promise/all-settled.js new file mode 100644 index 000000000000..6afb65d6be95 --- /dev/null +++ b/packages/core-js/actual/promise/all-settled.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/promise/all-settled'); + +module.exports = parent; diff --git a/packages/core-js/actual/promise/any.js b/packages/core-js/actual/promise/any.js new file mode 100644 index 000000000000..1ab5f1fc2c8e --- /dev/null +++ b/packages/core-js/actual/promise/any.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/promise/any'); + +module.exports = parent; diff --git a/packages/core-js/actual/promise/finally.js b/packages/core-js/actual/promise/finally.js new file mode 100644 index 000000000000..360ea82b9411 --- /dev/null +++ b/packages/core-js/actual/promise/finally.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/promise/finally'); + +module.exports = parent; diff --git a/packages/core-js/actual/promise/index.js b/packages/core-js/actual/promise/index.js new file mode 100644 index 000000000000..a9e58ffb0211 --- /dev/null +++ b/packages/core-js/actual/promise/index.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/promise'); + +module.exports = parent; diff --git a/packages/core-js/actual/queue-microtask.js b/packages/core-js/actual/queue-microtask.js new file mode 100644 index 000000000000..66c39d67bc49 --- /dev/null +++ b/packages/core-js/actual/queue-microtask.js @@ -0,0 +1,3 @@ +var parent = require('../stable/queue-microtask'); + +module.exports = parent; diff --git a/packages/core-js/actual/reflect/apply.js b/packages/core-js/actual/reflect/apply.js new file mode 100644 index 000000000000..7859a48e3f59 --- /dev/null +++ b/packages/core-js/actual/reflect/apply.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/reflect/apply'); + +module.exports = parent; diff --git a/packages/core-js/actual/reflect/construct.js b/packages/core-js/actual/reflect/construct.js new file mode 100644 index 000000000000..1b58314e0c6c --- /dev/null +++ b/packages/core-js/actual/reflect/construct.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/reflect/construct'); + +module.exports = parent; diff --git a/packages/core-js/actual/reflect/define-property.js b/packages/core-js/actual/reflect/define-property.js new file mode 100644 index 000000000000..2a7fa266bd20 --- /dev/null +++ b/packages/core-js/actual/reflect/define-property.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/reflect/define-property'); + +module.exports = parent; diff --git a/packages/core-js/actual/reflect/delete-property.js b/packages/core-js/actual/reflect/delete-property.js new file mode 100644 index 000000000000..6dd807e6e48e --- /dev/null +++ b/packages/core-js/actual/reflect/delete-property.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/reflect/delete-property'); + +module.exports = parent; diff --git a/packages/core-js/actual/reflect/get-own-property-descriptor.js b/packages/core-js/actual/reflect/get-own-property-descriptor.js new file mode 100644 index 000000000000..dfaa4aeb054c --- /dev/null +++ b/packages/core-js/actual/reflect/get-own-property-descriptor.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/reflect/get-own-property-descriptor'); + +module.exports = parent; diff --git a/packages/core-js/actual/reflect/get-prototype-of.js b/packages/core-js/actual/reflect/get-prototype-of.js new file mode 100644 index 000000000000..004ae7cc1e75 --- /dev/null +++ b/packages/core-js/actual/reflect/get-prototype-of.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/reflect/get-prototype-of'); + +module.exports = parent; diff --git a/packages/core-js/actual/reflect/get.js b/packages/core-js/actual/reflect/get.js new file mode 100644 index 000000000000..8316620b4977 --- /dev/null +++ b/packages/core-js/actual/reflect/get.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/reflect/get'); + +module.exports = parent; diff --git a/packages/core-js/actual/reflect/has.js b/packages/core-js/actual/reflect/has.js new file mode 100644 index 000000000000..e4754a037909 --- /dev/null +++ b/packages/core-js/actual/reflect/has.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/reflect/has'); + +module.exports = parent; diff --git a/packages/core-js/actual/reflect/index.js b/packages/core-js/actual/reflect/index.js new file mode 100644 index 000000000000..9e66ac2c55d0 --- /dev/null +++ b/packages/core-js/actual/reflect/index.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/reflect'); + +module.exports = parent; diff --git a/packages/core-js/actual/reflect/is-extensible.js b/packages/core-js/actual/reflect/is-extensible.js new file mode 100644 index 000000000000..fc697f544e64 --- /dev/null +++ b/packages/core-js/actual/reflect/is-extensible.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/reflect/is-extensible'); + +module.exports = parent; diff --git a/packages/core-js/actual/reflect/own-keys.js b/packages/core-js/actual/reflect/own-keys.js new file mode 100644 index 000000000000..75a5f01a4f52 --- /dev/null +++ b/packages/core-js/actual/reflect/own-keys.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/reflect/own-keys'); + +module.exports = parent; diff --git a/packages/core-js/actual/reflect/prevent-extensions.js b/packages/core-js/actual/reflect/prevent-extensions.js new file mode 100644 index 000000000000..72a4de531620 --- /dev/null +++ b/packages/core-js/actual/reflect/prevent-extensions.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/reflect/prevent-extensions'); + +module.exports = parent; diff --git a/packages/core-js/actual/reflect/set-prototype-of.js b/packages/core-js/actual/reflect/set-prototype-of.js new file mode 100644 index 000000000000..58a42d7a9f13 --- /dev/null +++ b/packages/core-js/actual/reflect/set-prototype-of.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/reflect/set-prototype-of'); + +module.exports = parent; diff --git a/packages/core-js/actual/reflect/set.js b/packages/core-js/actual/reflect/set.js new file mode 100644 index 000000000000..ff8078ecddb1 --- /dev/null +++ b/packages/core-js/actual/reflect/set.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/reflect/set'); + +module.exports = parent; diff --git a/packages/core-js/actual/reflect/to-string-tag.js b/packages/core-js/actual/reflect/to-string-tag.js new file mode 100644 index 000000000000..f04e791fd091 --- /dev/null +++ b/packages/core-js/actual/reflect/to-string-tag.js @@ -0,0 +1,3 @@ +require('../../modules/es.reflect.to-string-tag'); + +module.exports = 'Reflect'; diff --git a/packages/core-js/actual/regexp/constructor.js b/packages/core-js/actual/regexp/constructor.js new file mode 100644 index 000000000000..587eb2c0921a --- /dev/null +++ b/packages/core-js/actual/regexp/constructor.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/regexp/constructor'); + +module.exports = parent; diff --git a/packages/core-js/actual/regexp/dot-all.js b/packages/core-js/actual/regexp/dot-all.js new file mode 100644 index 000000000000..1a235fe4865f --- /dev/null +++ b/packages/core-js/actual/regexp/dot-all.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/regexp/dot-all'); + +module.exports = parent; diff --git a/packages/core-js/actual/regexp/flags.js b/packages/core-js/actual/regexp/flags.js new file mode 100644 index 000000000000..d8602fd7bcc8 --- /dev/null +++ b/packages/core-js/actual/regexp/flags.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/regexp/flags'); + +module.exports = parent; diff --git a/packages/core-js/actual/regexp/index.js b/packages/core-js/actual/regexp/index.js new file mode 100644 index 000000000000..56afce585c45 --- /dev/null +++ b/packages/core-js/actual/regexp/index.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/regexp'); + +module.exports = parent; diff --git a/packages/core-js/actual/regexp/match.js b/packages/core-js/actual/regexp/match.js new file mode 100644 index 000000000000..f054535d441b --- /dev/null +++ b/packages/core-js/actual/regexp/match.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/regexp/match'); + +module.exports = parent; diff --git a/packages/core-js/actual/regexp/replace.js b/packages/core-js/actual/regexp/replace.js new file mode 100644 index 000000000000..eeac02308bd6 --- /dev/null +++ b/packages/core-js/actual/regexp/replace.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/regexp/replace'); + +module.exports = parent; diff --git a/packages/core-js/actual/regexp/search.js b/packages/core-js/actual/regexp/search.js new file mode 100644 index 000000000000..d8b7aeb37cbc --- /dev/null +++ b/packages/core-js/actual/regexp/search.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/regexp/search'); + +module.exports = parent; diff --git a/packages/core-js/actual/regexp/split.js b/packages/core-js/actual/regexp/split.js new file mode 100644 index 000000000000..a258ea941cda --- /dev/null +++ b/packages/core-js/actual/regexp/split.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/regexp/split'); + +module.exports = parent; diff --git a/packages/core-js/actual/regexp/sticky.js b/packages/core-js/actual/regexp/sticky.js new file mode 100644 index 000000000000..84571db84161 --- /dev/null +++ b/packages/core-js/actual/regexp/sticky.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/regexp/sticky'); + +module.exports = parent; diff --git a/packages/core-js/actual/regexp/test.js b/packages/core-js/actual/regexp/test.js new file mode 100644 index 000000000000..2b46d3649a71 --- /dev/null +++ b/packages/core-js/actual/regexp/test.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/regexp/test'); + +module.exports = parent; diff --git a/packages/core-js/actual/regexp/to-string.js b/packages/core-js/actual/regexp/to-string.js new file mode 100644 index 000000000000..c74d43d1c0ec --- /dev/null +++ b/packages/core-js/actual/regexp/to-string.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/regexp/to-string'); + +module.exports = parent; diff --git a/packages/core-js/actual/set-immediate.js b/packages/core-js/actual/set-immediate.js new file mode 100644 index 000000000000..01530a28491e --- /dev/null +++ b/packages/core-js/actual/set-immediate.js @@ -0,0 +1,3 @@ +var parent = require('../stable/set-immediate'); + +module.exports = parent; diff --git a/packages/core-js/actual/set-interval.js b/packages/core-js/actual/set-interval.js new file mode 100644 index 000000000000..122b8ba347da --- /dev/null +++ b/packages/core-js/actual/set-interval.js @@ -0,0 +1,3 @@ +var parent = require('../stable/set-interval'); + +module.exports = parent; diff --git a/packages/core-js/actual/set-timeout.js b/packages/core-js/actual/set-timeout.js new file mode 100644 index 000000000000..310fcd37fd19 --- /dev/null +++ b/packages/core-js/actual/set-timeout.js @@ -0,0 +1,3 @@ +var parent = require('../stable/set-timeout'); + +module.exports = parent; diff --git a/packages/core-js/actual/set/index.js b/packages/core-js/actual/set/index.js new file mode 100644 index 000000000000..7962e69ec7a5 --- /dev/null +++ b/packages/core-js/actual/set/index.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/set'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/anchor.js b/packages/core-js/actual/string/anchor.js new file mode 100644 index 000000000000..1939fbdece3f --- /dev/null +++ b/packages/core-js/actual/string/anchor.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/anchor'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/at.js b/packages/core-js/actual/string/at.js new file mode 100644 index 000000000000..df7d659cd29c --- /dev/null +++ b/packages/core-js/actual/string/at.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/at'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/big.js b/packages/core-js/actual/string/big.js new file mode 100644 index 000000000000..55643c4e97a5 --- /dev/null +++ b/packages/core-js/actual/string/big.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/big'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/blink.js b/packages/core-js/actual/string/blink.js new file mode 100644 index 000000000000..8fc44494a714 --- /dev/null +++ b/packages/core-js/actual/string/blink.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/blink'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/bold.js b/packages/core-js/actual/string/bold.js new file mode 100644 index 000000000000..252a065a534a --- /dev/null +++ b/packages/core-js/actual/string/bold.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/bold'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/code-point-at.js b/packages/core-js/actual/string/code-point-at.js new file mode 100644 index 000000000000..b12bff31d6ef --- /dev/null +++ b/packages/core-js/actual/string/code-point-at.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/code-point-at'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/ends-with.js b/packages/core-js/actual/string/ends-with.js new file mode 100644 index 000000000000..2974957c2aee --- /dev/null +++ b/packages/core-js/actual/string/ends-with.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/ends-with'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/fixed.js b/packages/core-js/actual/string/fixed.js new file mode 100644 index 000000000000..645f02c399a2 --- /dev/null +++ b/packages/core-js/actual/string/fixed.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/fixed'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/fontcolor.js b/packages/core-js/actual/string/fontcolor.js new file mode 100644 index 000000000000..14b5c9ea7b3a --- /dev/null +++ b/packages/core-js/actual/string/fontcolor.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/fontcolor'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/fontsize.js b/packages/core-js/actual/string/fontsize.js new file mode 100644 index 000000000000..98906edde989 --- /dev/null +++ b/packages/core-js/actual/string/fontsize.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/fontsize'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/from-code-point.js b/packages/core-js/actual/string/from-code-point.js new file mode 100644 index 000000000000..76c0579f9002 --- /dev/null +++ b/packages/core-js/actual/string/from-code-point.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/from-code-point'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/includes.js b/packages/core-js/actual/string/includes.js new file mode 100644 index 000000000000..a9e5ea961c4b --- /dev/null +++ b/packages/core-js/actual/string/includes.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/includes'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/index.js b/packages/core-js/actual/string/index.js new file mode 100644 index 000000000000..4b4a2636bb2a --- /dev/null +++ b/packages/core-js/actual/string/index.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/italics.js b/packages/core-js/actual/string/italics.js new file mode 100644 index 000000000000..c7624e1cfa71 --- /dev/null +++ b/packages/core-js/actual/string/italics.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/italics'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/iterator.js b/packages/core-js/actual/string/iterator.js new file mode 100644 index 000000000000..b439bff6967b --- /dev/null +++ b/packages/core-js/actual/string/iterator.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/iterator'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/link.js b/packages/core-js/actual/string/link.js new file mode 100644 index 000000000000..9c3b708259e0 --- /dev/null +++ b/packages/core-js/actual/string/link.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/link'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/match-all.js b/packages/core-js/actual/string/match-all.js new file mode 100644 index 000000000000..9cd95b0474b1 --- /dev/null +++ b/packages/core-js/actual/string/match-all.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/match-all'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/match.js b/packages/core-js/actual/string/match.js new file mode 100644 index 000000000000..f0ae6e821ff5 --- /dev/null +++ b/packages/core-js/actual/string/match.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/match'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/pad-end.js b/packages/core-js/actual/string/pad-end.js new file mode 100644 index 000000000000..e004a9e7bb85 --- /dev/null +++ b/packages/core-js/actual/string/pad-end.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/pad-end'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/pad-start.js b/packages/core-js/actual/string/pad-start.js new file mode 100644 index 000000000000..15736c488a2e --- /dev/null +++ b/packages/core-js/actual/string/pad-start.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/pad-start'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/raw.js b/packages/core-js/actual/string/raw.js new file mode 100644 index 000000000000..249da0db871b --- /dev/null +++ b/packages/core-js/actual/string/raw.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/raw'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/repeat.js b/packages/core-js/actual/string/repeat.js new file mode 100644 index 000000000000..bd2da333e822 --- /dev/null +++ b/packages/core-js/actual/string/repeat.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/repeat'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/replace-all.js b/packages/core-js/actual/string/replace-all.js new file mode 100644 index 000000000000..907362c3510c --- /dev/null +++ b/packages/core-js/actual/string/replace-all.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/replace-all'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/replace.js b/packages/core-js/actual/string/replace.js new file mode 100644 index 000000000000..09009cec6bc2 --- /dev/null +++ b/packages/core-js/actual/string/replace.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/replace'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/search.js b/packages/core-js/actual/string/search.js new file mode 100644 index 000000000000..5ca36200720a --- /dev/null +++ b/packages/core-js/actual/string/search.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/search'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/small.js b/packages/core-js/actual/string/small.js new file mode 100644 index 000000000000..5c81c0a872d3 --- /dev/null +++ b/packages/core-js/actual/string/small.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/small'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/split.js b/packages/core-js/actual/string/split.js new file mode 100644 index 000000000000..b435d7228e60 --- /dev/null +++ b/packages/core-js/actual/string/split.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/split'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/starts-with.js b/packages/core-js/actual/string/starts-with.js new file mode 100644 index 000000000000..c5f5ecc65f98 --- /dev/null +++ b/packages/core-js/actual/string/starts-with.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/starts-with'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/strike.js b/packages/core-js/actual/string/strike.js new file mode 100644 index 000000000000..b7cdd90086fb --- /dev/null +++ b/packages/core-js/actual/string/strike.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/strike'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/sub.js b/packages/core-js/actual/string/sub.js new file mode 100644 index 000000000000..49dcecd263d2 --- /dev/null +++ b/packages/core-js/actual/string/sub.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/sub'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/substr.js b/packages/core-js/actual/string/substr.js new file mode 100644 index 000000000000..c7cbe539f66e --- /dev/null +++ b/packages/core-js/actual/string/substr.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/substr'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/sup.js b/packages/core-js/actual/string/sup.js new file mode 100644 index 000000000000..1f766ae7efbd --- /dev/null +++ b/packages/core-js/actual/string/sup.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/sup'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/trim-end.js b/packages/core-js/actual/string/trim-end.js new file mode 100644 index 000000000000..942ee3f54d66 --- /dev/null +++ b/packages/core-js/actual/string/trim-end.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/trim-end'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/trim-left.js b/packages/core-js/actual/string/trim-left.js new file mode 100644 index 000000000000..fb66ece92291 --- /dev/null +++ b/packages/core-js/actual/string/trim-left.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/trim-left'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/trim-right.js b/packages/core-js/actual/string/trim-right.js new file mode 100644 index 000000000000..a58d96607d42 --- /dev/null +++ b/packages/core-js/actual/string/trim-right.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/trim-right'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/trim-start.js b/packages/core-js/actual/string/trim-start.js new file mode 100644 index 000000000000..18131c037d22 --- /dev/null +++ b/packages/core-js/actual/string/trim-start.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/trim-start'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/trim.js b/packages/core-js/actual/string/trim.js new file mode 100644 index 000000000000..9fa0498df93a --- /dev/null +++ b/packages/core-js/actual/string/trim.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/string/trim'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/virtual/anchor.js b/packages/core-js/actual/string/virtual/anchor.js new file mode 100644 index 000000000000..277e7acd72aa --- /dev/null +++ b/packages/core-js/actual/string/virtual/anchor.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/string/virtual/anchor'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/virtual/at.js b/packages/core-js/actual/string/virtual/at.js new file mode 100644 index 000000000000..7559a70a0b99 --- /dev/null +++ b/packages/core-js/actual/string/virtual/at.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/string/virtual/at'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/virtual/big.js b/packages/core-js/actual/string/virtual/big.js new file mode 100644 index 000000000000..44826a302440 --- /dev/null +++ b/packages/core-js/actual/string/virtual/big.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/string/virtual/big'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/virtual/blink.js b/packages/core-js/actual/string/virtual/blink.js new file mode 100644 index 000000000000..9606cdb63d62 --- /dev/null +++ b/packages/core-js/actual/string/virtual/blink.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/string/virtual/blink'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/virtual/bold.js b/packages/core-js/actual/string/virtual/bold.js new file mode 100644 index 000000000000..17cce57b52d0 --- /dev/null +++ b/packages/core-js/actual/string/virtual/bold.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/string/virtual/bold'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/virtual/code-point-at.js b/packages/core-js/actual/string/virtual/code-point-at.js new file mode 100644 index 000000000000..7cb00c4a8c61 --- /dev/null +++ b/packages/core-js/actual/string/virtual/code-point-at.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/string/virtual/code-point-at'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/virtual/ends-with.js b/packages/core-js/actual/string/virtual/ends-with.js new file mode 100644 index 000000000000..fd2c25595827 --- /dev/null +++ b/packages/core-js/actual/string/virtual/ends-with.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/string/virtual/ends-with'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/virtual/fixed.js b/packages/core-js/actual/string/virtual/fixed.js new file mode 100644 index 000000000000..4abe3647fbbc --- /dev/null +++ b/packages/core-js/actual/string/virtual/fixed.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/string/virtual/fixed'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/virtual/fontcolor.js b/packages/core-js/actual/string/virtual/fontcolor.js new file mode 100644 index 000000000000..62ca5465073d --- /dev/null +++ b/packages/core-js/actual/string/virtual/fontcolor.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/string/virtual/fontcolor'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/virtual/fontsize.js b/packages/core-js/actual/string/virtual/fontsize.js new file mode 100644 index 000000000000..809a94ededed --- /dev/null +++ b/packages/core-js/actual/string/virtual/fontsize.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/string/virtual/fontsize'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/virtual/includes.js b/packages/core-js/actual/string/virtual/includes.js new file mode 100644 index 000000000000..2b2c7b254349 --- /dev/null +++ b/packages/core-js/actual/string/virtual/includes.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/string/virtual/includes'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/virtual/index.js b/packages/core-js/actual/string/virtual/index.js new file mode 100644 index 000000000000..8442860839d7 --- /dev/null +++ b/packages/core-js/actual/string/virtual/index.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/string/virtual'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/virtual/italics.js b/packages/core-js/actual/string/virtual/italics.js new file mode 100644 index 000000000000..9ef84418604d --- /dev/null +++ b/packages/core-js/actual/string/virtual/italics.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/string/virtual/italics'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/virtual/iterator.js b/packages/core-js/actual/string/virtual/iterator.js new file mode 100644 index 000000000000..a4b5a44e1b5c --- /dev/null +++ b/packages/core-js/actual/string/virtual/iterator.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/string/virtual/iterator'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/virtual/link.js b/packages/core-js/actual/string/virtual/link.js new file mode 100644 index 000000000000..15c395d78da2 --- /dev/null +++ b/packages/core-js/actual/string/virtual/link.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/string/virtual/link'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/virtual/match-all.js b/packages/core-js/actual/string/virtual/match-all.js new file mode 100644 index 000000000000..fc0ce2b1f828 --- /dev/null +++ b/packages/core-js/actual/string/virtual/match-all.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/string/virtual/match-all'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/virtual/pad-end.js b/packages/core-js/actual/string/virtual/pad-end.js new file mode 100644 index 000000000000..19dc7acde6b1 --- /dev/null +++ b/packages/core-js/actual/string/virtual/pad-end.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/string/virtual/pad-end'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/virtual/pad-start.js b/packages/core-js/actual/string/virtual/pad-start.js new file mode 100644 index 000000000000..22f8fe8d95f2 --- /dev/null +++ b/packages/core-js/actual/string/virtual/pad-start.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/string/virtual/pad-start'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/virtual/repeat.js b/packages/core-js/actual/string/virtual/repeat.js new file mode 100644 index 000000000000..34af622a885c --- /dev/null +++ b/packages/core-js/actual/string/virtual/repeat.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/string/virtual/repeat'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/virtual/replace-all.js b/packages/core-js/actual/string/virtual/replace-all.js new file mode 100644 index 000000000000..36bfd56cb96b --- /dev/null +++ b/packages/core-js/actual/string/virtual/replace-all.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/string/virtual/replace-all'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/virtual/small.js b/packages/core-js/actual/string/virtual/small.js new file mode 100644 index 000000000000..6f0c0ca24f00 --- /dev/null +++ b/packages/core-js/actual/string/virtual/small.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/string/virtual/small'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/virtual/starts-with.js b/packages/core-js/actual/string/virtual/starts-with.js new file mode 100644 index 000000000000..b0fe525d2c21 --- /dev/null +++ b/packages/core-js/actual/string/virtual/starts-with.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/string/virtual/starts-with'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/virtual/strike.js b/packages/core-js/actual/string/virtual/strike.js new file mode 100644 index 000000000000..3b50b89d5731 --- /dev/null +++ b/packages/core-js/actual/string/virtual/strike.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/string/virtual/strike'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/virtual/sub.js b/packages/core-js/actual/string/virtual/sub.js new file mode 100644 index 000000000000..d48b2df551cc --- /dev/null +++ b/packages/core-js/actual/string/virtual/sub.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/string/virtual/sub'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/virtual/substr.js b/packages/core-js/actual/string/virtual/substr.js new file mode 100644 index 000000000000..40beb068d7a5 --- /dev/null +++ b/packages/core-js/actual/string/virtual/substr.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/string/virtual/substr'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/virtual/sup.js b/packages/core-js/actual/string/virtual/sup.js new file mode 100644 index 000000000000..a60dd45e4e30 --- /dev/null +++ b/packages/core-js/actual/string/virtual/sup.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/string/virtual/sup'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/virtual/trim-end.js b/packages/core-js/actual/string/virtual/trim-end.js new file mode 100644 index 000000000000..b9792caafd80 --- /dev/null +++ b/packages/core-js/actual/string/virtual/trim-end.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/string/virtual/trim-end'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/virtual/trim-left.js b/packages/core-js/actual/string/virtual/trim-left.js new file mode 100644 index 000000000000..146470bc7103 --- /dev/null +++ b/packages/core-js/actual/string/virtual/trim-left.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/string/virtual/trim-left'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/virtual/trim-right.js b/packages/core-js/actual/string/virtual/trim-right.js new file mode 100644 index 000000000000..44cc597c8bd3 --- /dev/null +++ b/packages/core-js/actual/string/virtual/trim-right.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/string/virtual/trim-right'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/virtual/trim-start.js b/packages/core-js/actual/string/virtual/trim-start.js new file mode 100644 index 000000000000..776560053275 --- /dev/null +++ b/packages/core-js/actual/string/virtual/trim-start.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/string/virtual/trim-start'); + +module.exports = parent; diff --git a/packages/core-js/actual/string/virtual/trim.js b/packages/core-js/actual/string/virtual/trim.js new file mode 100644 index 000000000000..b5680ceed426 --- /dev/null +++ b/packages/core-js/actual/string/virtual/trim.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/string/virtual/trim'); + +module.exports = parent; diff --git a/packages/core-js/actual/symbol/async-iterator.js b/packages/core-js/actual/symbol/async-iterator.js new file mode 100644 index 000000000000..04bdea1ef404 --- /dev/null +++ b/packages/core-js/actual/symbol/async-iterator.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/symbol/async-iterator'); + +module.exports = parent; diff --git a/packages/core-js/actual/symbol/description.js b/packages/core-js/actual/symbol/description.js new file mode 100644 index 000000000000..0b76e553ca3b --- /dev/null +++ b/packages/core-js/actual/symbol/description.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/symbol/description'); + +module.exports = parent; diff --git a/packages/core-js/actual/symbol/for.js b/packages/core-js/actual/symbol/for.js new file mode 100644 index 000000000000..88ac02754843 --- /dev/null +++ b/packages/core-js/actual/symbol/for.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/symbol/for'); + +module.exports = parent; diff --git a/packages/core-js/actual/symbol/has-instance.js b/packages/core-js/actual/symbol/has-instance.js new file mode 100644 index 000000000000..3844587c223e --- /dev/null +++ b/packages/core-js/actual/symbol/has-instance.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/symbol/has-instance'); + +module.exports = parent; diff --git a/packages/core-js/actual/symbol/index.js b/packages/core-js/actual/symbol/index.js new file mode 100644 index 000000000000..5eeb6fbc6a61 --- /dev/null +++ b/packages/core-js/actual/symbol/index.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/symbol'); + +module.exports = parent; diff --git a/packages/core-js/actual/symbol/is-concat-spreadable.js b/packages/core-js/actual/symbol/is-concat-spreadable.js new file mode 100644 index 000000000000..b11233c9927a --- /dev/null +++ b/packages/core-js/actual/symbol/is-concat-spreadable.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/symbol/is-concat-spreadable'); + +module.exports = parent; diff --git a/packages/core-js/actual/symbol/iterator.js b/packages/core-js/actual/symbol/iterator.js new file mode 100644 index 000000000000..35659798db7c --- /dev/null +++ b/packages/core-js/actual/symbol/iterator.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/symbol/iterator'); + +module.exports = parent; diff --git a/packages/core-js/actual/symbol/key-for.js b/packages/core-js/actual/symbol/key-for.js new file mode 100644 index 000000000000..2ddbccbf8c58 --- /dev/null +++ b/packages/core-js/actual/symbol/key-for.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/symbol/key-for'); + +module.exports = parent; diff --git a/packages/core-js/actual/symbol/match-all.js b/packages/core-js/actual/symbol/match-all.js new file mode 100644 index 000000000000..73c5ca93324b --- /dev/null +++ b/packages/core-js/actual/symbol/match-all.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/symbol/match-all'); + +module.exports = parent; diff --git a/packages/core-js/actual/symbol/match.js b/packages/core-js/actual/symbol/match.js new file mode 100644 index 000000000000..b671ea8a6ac1 --- /dev/null +++ b/packages/core-js/actual/symbol/match.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/symbol/match'); + +module.exports = parent; diff --git a/packages/core-js/actual/symbol/replace.js b/packages/core-js/actual/symbol/replace.js new file mode 100644 index 000000000000..a86f08081b17 --- /dev/null +++ b/packages/core-js/actual/symbol/replace.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/symbol/replace'); + +module.exports = parent; diff --git a/packages/core-js/actual/symbol/search.js b/packages/core-js/actual/symbol/search.js new file mode 100644 index 000000000000..2bd9f374c5db --- /dev/null +++ b/packages/core-js/actual/symbol/search.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/symbol/search'); + +module.exports = parent; diff --git a/packages/core-js/actual/symbol/species.js b/packages/core-js/actual/symbol/species.js new file mode 100644 index 000000000000..7e936104baf0 --- /dev/null +++ b/packages/core-js/actual/symbol/species.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/symbol/species'); + +module.exports = parent; diff --git a/packages/core-js/actual/symbol/split.js b/packages/core-js/actual/symbol/split.js new file mode 100644 index 000000000000..71ad7910c14a --- /dev/null +++ b/packages/core-js/actual/symbol/split.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/symbol/split'); + +module.exports = parent; diff --git a/packages/core-js/actual/symbol/to-primitive.js b/packages/core-js/actual/symbol/to-primitive.js new file mode 100644 index 000000000000..113818adbbde --- /dev/null +++ b/packages/core-js/actual/symbol/to-primitive.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/symbol/to-primitive'); + +module.exports = parent; diff --git a/packages/core-js/actual/symbol/to-string-tag.js b/packages/core-js/actual/symbol/to-string-tag.js new file mode 100644 index 000000000000..c0c0f0a254f7 --- /dev/null +++ b/packages/core-js/actual/symbol/to-string-tag.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/symbol/to-string-tag'); + +module.exports = parent; diff --git a/packages/core-js/actual/symbol/unscopables.js b/packages/core-js/actual/symbol/unscopables.js new file mode 100644 index 000000000000..f45cf12e848a --- /dev/null +++ b/packages/core-js/actual/symbol/unscopables.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/symbol/unscopables'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/at.js b/packages/core-js/actual/typed-array/at.js new file mode 100644 index 000000000000..8beccc9d5baf --- /dev/null +++ b/packages/core-js/actual/typed-array/at.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/typed-array/every'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/copy-within.js b/packages/core-js/actual/typed-array/copy-within.js new file mode 100644 index 000000000000..6344fc64dcd4 --- /dev/null +++ b/packages/core-js/actual/typed-array/copy-within.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/typed-array/copy-within'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/entries.js b/packages/core-js/actual/typed-array/entries.js new file mode 100644 index 000000000000..5ae8915f146b --- /dev/null +++ b/packages/core-js/actual/typed-array/entries.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/typed-array/entries'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/every.js b/packages/core-js/actual/typed-array/every.js new file mode 100644 index 000000000000..8beccc9d5baf --- /dev/null +++ b/packages/core-js/actual/typed-array/every.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/typed-array/every'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/fill.js b/packages/core-js/actual/typed-array/fill.js new file mode 100644 index 000000000000..0c2104020368 --- /dev/null +++ b/packages/core-js/actual/typed-array/fill.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/typed-array/fill'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/filter.js b/packages/core-js/actual/typed-array/filter.js new file mode 100644 index 000000000000..3b4f24850c17 --- /dev/null +++ b/packages/core-js/actual/typed-array/filter.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/typed-array/filter'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/find-index.js b/packages/core-js/actual/typed-array/find-index.js new file mode 100644 index 000000000000..461242518f24 --- /dev/null +++ b/packages/core-js/actual/typed-array/find-index.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/typed-array/find-index'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/find-last-index.js b/packages/core-js/actual/typed-array/find-last-index.js new file mode 100644 index 000000000000..096a3a3fe85a --- /dev/null +++ b/packages/core-js/actual/typed-array/find-last-index.js @@ -0,0 +1 @@ +require('../../modules/esnext.typed-array.find-last-index'); diff --git a/packages/core-js/actual/typed-array/find-last.js b/packages/core-js/actual/typed-array/find-last.js new file mode 100644 index 000000000000..af9a272e2efa --- /dev/null +++ b/packages/core-js/actual/typed-array/find-last.js @@ -0,0 +1 @@ +require('../../modules/esnext.typed-array.find-last'); diff --git a/packages/core-js/actual/typed-array/find.js b/packages/core-js/actual/typed-array/find.js new file mode 100644 index 000000000000..cd1f85df1a18 --- /dev/null +++ b/packages/core-js/actual/typed-array/find.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/typed-array/find'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/float32-array.js b/packages/core-js/actual/typed-array/float32-array.js new file mode 100644 index 000000000000..de21cac78135 --- /dev/null +++ b/packages/core-js/actual/typed-array/float32-array.js @@ -0,0 +1,4 @@ +var parent = require('../../stable/typed-array/float32-array'); +require('../../actual/typed-array/methods'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/float64-array.js b/packages/core-js/actual/typed-array/float64-array.js new file mode 100644 index 000000000000..621d7492b820 --- /dev/null +++ b/packages/core-js/actual/typed-array/float64-array.js @@ -0,0 +1,4 @@ +var parent = require('../../stable/typed-array/float64-array'); +require('../../actual/typed-array/methods'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/for-each.js b/packages/core-js/actual/typed-array/for-each.js new file mode 100644 index 000000000000..32af05d96028 --- /dev/null +++ b/packages/core-js/actual/typed-array/for-each.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/typed-array/for-each'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/from.js b/packages/core-js/actual/typed-array/from.js new file mode 100644 index 000000000000..016b18004be9 --- /dev/null +++ b/packages/core-js/actual/typed-array/from.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/typed-array/from'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/includes.js b/packages/core-js/actual/typed-array/includes.js new file mode 100644 index 000000000000..ca9fcd87bfea --- /dev/null +++ b/packages/core-js/actual/typed-array/includes.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/typed-array/includes'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/index-of.js b/packages/core-js/actual/typed-array/index-of.js new file mode 100644 index 000000000000..64ab0977f2b7 --- /dev/null +++ b/packages/core-js/actual/typed-array/index-of.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/typed-array/index-of'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/index.js b/packages/core-js/actual/typed-array/index.js new file mode 100644 index 000000000000..6464ab3d020b --- /dev/null +++ b/packages/core-js/actual/typed-array/index.js @@ -0,0 +1,5 @@ +var parent = require('../../stable/typed-array'); +require('../../modules/esnext.typed-array.find-last'); +require('../../modules/esnext.typed-array.find-last-index'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/int16-array.js b/packages/core-js/actual/typed-array/int16-array.js new file mode 100644 index 000000000000..a601e56973cd --- /dev/null +++ b/packages/core-js/actual/typed-array/int16-array.js @@ -0,0 +1,4 @@ +var parent = require('../../stable/typed-array/int16-array'); +require('../../actual/typed-array/methods'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/int32-array.js b/packages/core-js/actual/typed-array/int32-array.js new file mode 100644 index 000000000000..504f108abbe7 --- /dev/null +++ b/packages/core-js/actual/typed-array/int32-array.js @@ -0,0 +1,4 @@ +var parent = require('../../stable/typed-array/int32-array'); +require('../../actual/typed-array/methods'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/int8-array.js b/packages/core-js/actual/typed-array/int8-array.js new file mode 100644 index 000000000000..75ceac839512 --- /dev/null +++ b/packages/core-js/actual/typed-array/int8-array.js @@ -0,0 +1,4 @@ +var parent = require('../../stable/typed-array/int8-array'); +require('../../actual/typed-array/methods'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/iterator.js b/packages/core-js/actual/typed-array/iterator.js new file mode 100644 index 000000000000..377e421786d3 --- /dev/null +++ b/packages/core-js/actual/typed-array/iterator.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/typed-array/iterator'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/join.js b/packages/core-js/actual/typed-array/join.js new file mode 100644 index 000000000000..71ab65596a4c --- /dev/null +++ b/packages/core-js/actual/typed-array/join.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/typed-array/join'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/keys.js b/packages/core-js/actual/typed-array/keys.js new file mode 100644 index 000000000000..97324b789ced --- /dev/null +++ b/packages/core-js/actual/typed-array/keys.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/typed-array/keys'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/last-index-of.js b/packages/core-js/actual/typed-array/last-index-of.js new file mode 100644 index 000000000000..a51aa3c02974 --- /dev/null +++ b/packages/core-js/actual/typed-array/last-index-of.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/typed-array/last-index-of'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/map.js b/packages/core-js/actual/typed-array/map.js new file mode 100644 index 000000000000..669b4c7d4aae --- /dev/null +++ b/packages/core-js/actual/typed-array/map.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/typed-array/map'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/methods.js b/packages/core-js/actual/typed-array/methods.js new file mode 100644 index 000000000000..c29084c00906 --- /dev/null +++ b/packages/core-js/actual/typed-array/methods.js @@ -0,0 +1,5 @@ +var parent = require('../../stable/typed-array/methods'); +require('../../modules/esnext.typed-array.find-last'); +require('../../modules/esnext.typed-array.find-last-index'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/of.js b/packages/core-js/actual/typed-array/of.js new file mode 100644 index 000000000000..17082f89b1a6 --- /dev/null +++ b/packages/core-js/actual/typed-array/of.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/typed-array/of'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/reduce-right.js b/packages/core-js/actual/typed-array/reduce-right.js new file mode 100644 index 000000000000..82c1b103abb0 --- /dev/null +++ b/packages/core-js/actual/typed-array/reduce-right.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/typed-array/reduce-right'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/reduce.js b/packages/core-js/actual/typed-array/reduce.js new file mode 100644 index 000000000000..9f655ec8e82d --- /dev/null +++ b/packages/core-js/actual/typed-array/reduce.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/typed-array/reduce'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/reverse.js b/packages/core-js/actual/typed-array/reverse.js new file mode 100644 index 000000000000..52b90bc3ad5c --- /dev/null +++ b/packages/core-js/actual/typed-array/reverse.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/typed-array/reverse'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/set.js b/packages/core-js/actual/typed-array/set.js new file mode 100644 index 000000000000..8e5de9457ee2 --- /dev/null +++ b/packages/core-js/actual/typed-array/set.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/typed-array/set'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/slice.js b/packages/core-js/actual/typed-array/slice.js new file mode 100644 index 000000000000..cf7efb2ed2eb --- /dev/null +++ b/packages/core-js/actual/typed-array/slice.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/typed-array/slice'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/some.js b/packages/core-js/actual/typed-array/some.js new file mode 100644 index 000000000000..c3e9cf1a8401 --- /dev/null +++ b/packages/core-js/actual/typed-array/some.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/typed-array/some'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/sort.js b/packages/core-js/actual/typed-array/sort.js new file mode 100644 index 000000000000..3d3e54633cff --- /dev/null +++ b/packages/core-js/actual/typed-array/sort.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/typed-array/sort'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/subarray.js b/packages/core-js/actual/typed-array/subarray.js new file mode 100644 index 000000000000..f89a8fc0c28c --- /dev/null +++ b/packages/core-js/actual/typed-array/subarray.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/typed-array/subarray'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/to-locale-string.js b/packages/core-js/actual/typed-array/to-locale-string.js new file mode 100644 index 000000000000..fe6589c77faa --- /dev/null +++ b/packages/core-js/actual/typed-array/to-locale-string.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/typed-array/to-locale-string'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/to-string.js b/packages/core-js/actual/typed-array/to-string.js new file mode 100644 index 000000000000..9ccb6a2132be --- /dev/null +++ b/packages/core-js/actual/typed-array/to-string.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/typed-array/to-string'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/uint16-array.js b/packages/core-js/actual/typed-array/uint16-array.js new file mode 100644 index 000000000000..fd297a0cabe8 --- /dev/null +++ b/packages/core-js/actual/typed-array/uint16-array.js @@ -0,0 +1,4 @@ +var parent = require('../../stable/typed-array/uint16-array'); +require('../../actual/typed-array/methods'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/uint32-array.js b/packages/core-js/actual/typed-array/uint32-array.js new file mode 100644 index 000000000000..290b1f7c7dff --- /dev/null +++ b/packages/core-js/actual/typed-array/uint32-array.js @@ -0,0 +1,4 @@ +var parent = require('../../stable/typed-array/uint32-array'); +require('../../actual/typed-array/methods'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/uint8-array.js b/packages/core-js/actual/typed-array/uint8-array.js new file mode 100644 index 000000000000..ec9af8d80220 --- /dev/null +++ b/packages/core-js/actual/typed-array/uint8-array.js @@ -0,0 +1,4 @@ +var parent = require('../../stable/typed-array/uint8-array'); +require('../../actual/typed-array/methods'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/uint8-clamped-array.js b/packages/core-js/actual/typed-array/uint8-clamped-array.js new file mode 100644 index 000000000000..e3b01a9bf458 --- /dev/null +++ b/packages/core-js/actual/typed-array/uint8-clamped-array.js @@ -0,0 +1,4 @@ +var parent = require('../../stable/typed-array/uint8-clamped-array'); +require('../../actual/typed-array/methods'); + +module.exports = parent; diff --git a/packages/core-js/actual/typed-array/values.js b/packages/core-js/actual/typed-array/values.js new file mode 100644 index 000000000000..98d458be8147 --- /dev/null +++ b/packages/core-js/actual/typed-array/values.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/typed-array/values'); + +module.exports = parent; diff --git a/packages/core-js/actual/unescape.js b/packages/core-js/actual/unescape.js new file mode 100644 index 000000000000..f5d78c0e66b0 --- /dev/null +++ b/packages/core-js/actual/unescape.js @@ -0,0 +1,3 @@ +var parent = require('../stable/unescape'); + +module.exports = parent; diff --git a/packages/core-js/actual/url-search-params/index.js b/packages/core-js/actual/url-search-params/index.js new file mode 100644 index 000000000000..46c415b89781 --- /dev/null +++ b/packages/core-js/actual/url-search-params/index.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/url-search-params'); + +module.exports = parent; diff --git a/packages/core-js/actual/url/index.js b/packages/core-js/actual/url/index.js new file mode 100644 index 000000000000..fa902afd6d06 --- /dev/null +++ b/packages/core-js/actual/url/index.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/url'); + +module.exports = parent; diff --git a/packages/core-js/actual/url/to-json.js b/packages/core-js/actual/url/to-json.js new file mode 100644 index 000000000000..e7cafe81bdf6 --- /dev/null +++ b/packages/core-js/actual/url/to-json.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/url/to-json'); + +module.exports = parent; diff --git a/packages/core-js/actual/weak-map/index.js b/packages/core-js/actual/weak-map/index.js new file mode 100644 index 000000000000..20a891748ac4 --- /dev/null +++ b/packages/core-js/actual/weak-map/index.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/weak-map'); + +module.exports = parent; diff --git a/packages/core-js/actual/weak-set/index.js b/packages/core-js/actual/weak-set/index.js new file mode 100644 index 000000000000..e17731f8bdd9 --- /dev/null +++ b/packages/core-js/actual/weak-set/index.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/weak-set'); + +module.exports = parent; diff --git a/packages/core-js/features/aggregate-error.js b/packages/core-js/features/aggregate-error.js index 1cfed9e238b6..d79561e0596b 100644 --- a/packages/core-js/features/aggregate-error.js +++ b/packages/core-js/features/aggregate-error.js @@ -1,6 +1,6 @@ // TODO: remove from `core-js@4` require('../modules/esnext.aggregate-error'); -var parent = require('../stable/aggregate-error'); +var parent = require('../actual/aggregate-error'); module.exports = parent; diff --git a/packages/core-js/features/array-buffer/constructor.js b/packages/core-js/features/array-buffer/constructor.js index 4c615c87f9dc..3ea5f9b4bdf5 100644 --- a/packages/core-js/features/array-buffer/constructor.js +++ b/packages/core-js/features/array-buffer/constructor.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array-buffer/constructor'); +var parent = require('../../actual/array-buffer/constructor'); module.exports = parent; diff --git a/packages/core-js/features/array-buffer/index.js b/packages/core-js/features/array-buffer/index.js index d9e47296ebf4..48e9c8383df5 100644 --- a/packages/core-js/features/array-buffer/index.js +++ b/packages/core-js/features/array-buffer/index.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array-buffer'); +var parent = require('../../actual/array-buffer'); module.exports = parent; diff --git a/packages/core-js/features/array-buffer/is-view.js b/packages/core-js/features/array-buffer/is-view.js index fb9fa22cba1f..88cf7073da57 100644 --- a/packages/core-js/features/array-buffer/is-view.js +++ b/packages/core-js/features/array-buffer/is-view.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array-buffer/is-view'); +var parent = require('../../actual/array-buffer/is-view'); module.exports = parent; diff --git a/packages/core-js/features/array-buffer/slice.js b/packages/core-js/features/array-buffer/slice.js index d63fbc494102..38e5cb2d8277 100644 --- a/packages/core-js/features/array-buffer/slice.js +++ b/packages/core-js/features/array-buffer/slice.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array-buffer/slice'); +var parent = require('../../actual/array-buffer/slice'); module.exports = parent; diff --git a/packages/core-js/features/array/at.js b/packages/core-js/features/array/at.js index 7540bf5be303..d839dbff9c59 100644 --- a/packages/core-js/features/array/at.js +++ b/packages/core-js/features/array/at.js @@ -1,4 +1,4 @@ -var parent = require('../../stable/array/at'); +var parent = require('../../actual/array/at'); // TODO: Remove from `core-js@4` require('../../modules/esnext.array.at'); diff --git a/packages/core-js/features/array/concat.js b/packages/core-js/features/array/concat.js index d9ba09174d14..e7e23e159013 100644 --- a/packages/core-js/features/array/concat.js +++ b/packages/core-js/features/array/concat.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array/concat'); +var parent = require('../../actual/array/concat'); module.exports = parent; diff --git a/packages/core-js/features/array/copy-within.js b/packages/core-js/features/array/copy-within.js index cd71eed19109..97e47144199d 100644 --- a/packages/core-js/features/array/copy-within.js +++ b/packages/core-js/features/array/copy-within.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array/copy-within'); +var parent = require('../../actual/array/copy-within'); module.exports = parent; diff --git a/packages/core-js/features/array/entries.js b/packages/core-js/features/array/entries.js index aecade0431cb..c7d1322a7bf3 100644 --- a/packages/core-js/features/array/entries.js +++ b/packages/core-js/features/array/entries.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array/entries'); +var parent = require('../../actual/array/entries'); module.exports = parent; diff --git a/packages/core-js/features/array/every.js b/packages/core-js/features/array/every.js index 69eb9670cd6a..0fd16b254bba 100644 --- a/packages/core-js/features/array/every.js +++ b/packages/core-js/features/array/every.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array/every'); +var parent = require('../../actual/array/every'); module.exports = parent; diff --git a/packages/core-js/features/array/fill.js b/packages/core-js/features/array/fill.js index 350be578746d..fc479fc57675 100644 --- a/packages/core-js/features/array/fill.js +++ b/packages/core-js/features/array/fill.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array/fill'); +var parent = require('../../actual/array/fill'); module.exports = parent; diff --git a/packages/core-js/features/array/filter.js b/packages/core-js/features/array/filter.js index f72598c2e53d..bbc97dd28f16 100644 --- a/packages/core-js/features/array/filter.js +++ b/packages/core-js/features/array/filter.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array/filter'); +var parent = require('../../actual/array/filter'); module.exports = parent; diff --git a/packages/core-js/features/array/find-index.js b/packages/core-js/features/array/find-index.js index e31a18fceaee..4988476546a4 100644 --- a/packages/core-js/features/array/find-index.js +++ b/packages/core-js/features/array/find-index.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array/find-index'); +var parent = require('../../actual/array/find-index'); module.exports = parent; diff --git a/packages/core-js/features/array/find-last-index.js b/packages/core-js/features/array/find-last-index.js index 70ba3a234fe6..edf3db2af605 100644 --- a/packages/core-js/features/array/find-last-index.js +++ b/packages/core-js/features/array/find-last-index.js @@ -1,4 +1,3 @@ -require('../../modules/esnext.array.find-last-index'); -var entryUnbind = require('../../internals/entry-unbind'); +var parent = require('../../actual/array/find-last-index'); -module.exports = entryUnbind('Array', 'findLastIndex'); +module.exports = parent; diff --git a/packages/core-js/features/array/find-last.js b/packages/core-js/features/array/find-last.js index 9d10c47d7d8d..cd72d38486fb 100644 --- a/packages/core-js/features/array/find-last.js +++ b/packages/core-js/features/array/find-last.js @@ -1,4 +1,3 @@ -require('../../modules/esnext.array.find-last'); -var entryUnbind = require('../../internals/entry-unbind'); +var parent = require('../../actual/array/find-last'); -module.exports = entryUnbind('Array', 'findLast'); +module.exports = parent; diff --git a/packages/core-js/features/array/find.js b/packages/core-js/features/array/find.js index a25dbec773b3..19f78e2863ac 100644 --- a/packages/core-js/features/array/find.js +++ b/packages/core-js/features/array/find.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array/find'); +var parent = require('../../actual/array/find'); module.exports = parent; diff --git a/packages/core-js/features/array/flat-map.js b/packages/core-js/features/array/flat-map.js index 89115267a7e9..39a8e7a5be46 100644 --- a/packages/core-js/features/array/flat-map.js +++ b/packages/core-js/features/array/flat-map.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array/flat-map'); +var parent = require('../../actual/array/flat-map'); module.exports = parent; diff --git a/packages/core-js/features/array/flat.js b/packages/core-js/features/array/flat.js index ddafdd83e6d9..c251d523fd20 100644 --- a/packages/core-js/features/array/flat.js +++ b/packages/core-js/features/array/flat.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array/flat'); +var parent = require('../../actual/array/flat'); module.exports = parent; diff --git a/packages/core-js/features/array/for-each.js b/packages/core-js/features/array/for-each.js index 3616b984dbd4..5b5d9e8988e1 100644 --- a/packages/core-js/features/array/for-each.js +++ b/packages/core-js/features/array/for-each.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array/for-each'); +var parent = require('../../actual/array/for-each'); module.exports = parent; diff --git a/packages/core-js/features/array/from.js b/packages/core-js/features/array/from.js index 8514002dc459..990e08e474e2 100644 --- a/packages/core-js/features/array/from.js +++ b/packages/core-js/features/array/from.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array/from'); +var parent = require('../../actual/array/from'); module.exports = parent; diff --git a/packages/core-js/features/array/includes.js b/packages/core-js/features/array/includes.js index 8e4f190cb3de..83e4849176b7 100644 --- a/packages/core-js/features/array/includes.js +++ b/packages/core-js/features/array/includes.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array/includes'); +var parent = require('../../actual/array/includes'); module.exports = parent; diff --git a/packages/core-js/features/array/index-of.js b/packages/core-js/features/array/index-of.js index 6dc634402725..bc2524492012 100644 --- a/packages/core-js/features/array/index-of.js +++ b/packages/core-js/features/array/index-of.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array/index-of'); +var parent = require('../../actual/array/index-of'); module.exports = parent; diff --git a/packages/core-js/features/array/index.js b/packages/core-js/features/array/index.js index 60eafddf3add..82b006ec028e 100644 --- a/packages/core-js/features/array/index.js +++ b/packages/core-js/features/array/index.js @@ -1,4 +1,4 @@ -var parent = require('../../stable/array'); +var parent = require('../../actual/array'); require('../../modules/es.map'); require('../../modules/es.promise'); require('../../modules/esnext.array.from-async'); @@ -7,8 +7,6 @@ require('../../modules/esnext.array.at'); // TODO: Remove from `core-js@4` require('../../modules/esnext.array.filter-out'); require('../../modules/esnext.array.filter-reject'); -require('../../modules/esnext.array.find-last'); -require('../../modules/esnext.array.find-last-index'); require('../../modules/esnext.array.group-by'); require('../../modules/esnext.array.group-by-to-map'); require('../../modules/esnext.array.is-template-object'); diff --git a/packages/core-js/features/array/is-array.js b/packages/core-js/features/array/is-array.js index a2d93c544686..fb792da3f923 100644 --- a/packages/core-js/features/array/is-array.js +++ b/packages/core-js/features/array/is-array.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array/is-array'); +var parent = require('../../actual/array/is-array'); module.exports = parent; diff --git a/packages/core-js/features/array/iterator.js b/packages/core-js/features/array/iterator.js index 699419ebc3df..ae79cbb2bc8c 100644 --- a/packages/core-js/features/array/iterator.js +++ b/packages/core-js/features/array/iterator.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array/iterator'); +var parent = require('../../actual/array/iterator'); module.exports = parent; diff --git a/packages/core-js/features/array/join.js b/packages/core-js/features/array/join.js index c4793688d1d6..e48a94aaba0e 100644 --- a/packages/core-js/features/array/join.js +++ b/packages/core-js/features/array/join.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array/join'); +var parent = require('../../actual/array/join'); module.exports = parent; diff --git a/packages/core-js/features/array/keys.js b/packages/core-js/features/array/keys.js index c27bd671ddd9..33382ad56caf 100644 --- a/packages/core-js/features/array/keys.js +++ b/packages/core-js/features/array/keys.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array/keys'); +var parent = require('../../actual/array/keys'); module.exports = parent; diff --git a/packages/core-js/features/array/last-index-of.js b/packages/core-js/features/array/last-index-of.js index f4352bcb1fb8..0d8c19590afc 100644 --- a/packages/core-js/features/array/last-index-of.js +++ b/packages/core-js/features/array/last-index-of.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array/last-index-of'); +var parent = require('../../actual/array/last-index-of'); module.exports = parent; diff --git a/packages/core-js/features/array/map.js b/packages/core-js/features/array/map.js index c1cbef9f98a2..10d766603c0c 100644 --- a/packages/core-js/features/array/map.js +++ b/packages/core-js/features/array/map.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array/map'); +var parent = require('../../actual/array/map'); module.exports = parent; diff --git a/packages/core-js/features/array/of.js b/packages/core-js/features/array/of.js index 376b4b4e8bd3..788776534192 100644 --- a/packages/core-js/features/array/of.js +++ b/packages/core-js/features/array/of.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array/of'); +var parent = require('../../actual/array/of'); module.exports = parent; diff --git a/packages/core-js/features/array/reduce-right.js b/packages/core-js/features/array/reduce-right.js index 3bf7a82348ce..1ab096435579 100644 --- a/packages/core-js/features/array/reduce-right.js +++ b/packages/core-js/features/array/reduce-right.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array/reduce-right'); +var parent = require('../../actual/array/reduce-right'); module.exports = parent; diff --git a/packages/core-js/features/array/reduce.js b/packages/core-js/features/array/reduce.js index bf865c83f612..36bd21ca2ced 100644 --- a/packages/core-js/features/array/reduce.js +++ b/packages/core-js/features/array/reduce.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array/reduce'); +var parent = require('../../actual/array/reduce'); module.exports = parent; diff --git a/packages/core-js/features/array/reverse.js b/packages/core-js/features/array/reverse.js index 192a596328bc..82dde3f6c1e7 100644 --- a/packages/core-js/features/array/reverse.js +++ b/packages/core-js/features/array/reverse.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array/reverse'); +var parent = require('../../actual/array/reverse'); module.exports = parent; diff --git a/packages/core-js/features/array/slice.js b/packages/core-js/features/array/slice.js index 51eaed31fbab..da63dd43f1aa 100644 --- a/packages/core-js/features/array/slice.js +++ b/packages/core-js/features/array/slice.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array/slice'); +var parent = require('../../actual/array/slice'); module.exports = parent; diff --git a/packages/core-js/features/array/some.js b/packages/core-js/features/array/some.js index 4f3035c3ef8f..fa2641b485d5 100644 --- a/packages/core-js/features/array/some.js +++ b/packages/core-js/features/array/some.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array/some'); +var parent = require('../../actual/array/some'); module.exports = parent; diff --git a/packages/core-js/features/array/sort.js b/packages/core-js/features/array/sort.js index 62ca66ef70ea..f30bb6de58ed 100644 --- a/packages/core-js/features/array/sort.js +++ b/packages/core-js/features/array/sort.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array/sort'); +var parent = require('../../actual/array/sort'); module.exports = parent; diff --git a/packages/core-js/features/array/splice.js b/packages/core-js/features/array/splice.js index e557425275fa..f69aba09f27c 100644 --- a/packages/core-js/features/array/splice.js +++ b/packages/core-js/features/array/splice.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array/splice'); +var parent = require('../../actual/array/splice'); module.exports = parent; diff --git a/packages/core-js/features/array/values.js b/packages/core-js/features/array/values.js index 7f98b8165a54..25fb98e47903 100644 --- a/packages/core-js/features/array/values.js +++ b/packages/core-js/features/array/values.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/array/values'); +var parent = require('../../actual/array/values'); module.exports = parent; diff --git a/packages/core-js/features/array/virtual/at.js b/packages/core-js/features/array/virtual/at.js index 62d7cf8fa5b2..734e941b3f1a 100644 --- a/packages/core-js/features/array/virtual/at.js +++ b/packages/core-js/features/array/virtual/at.js @@ -1,4 +1,4 @@ -var parent = require('../../../stable/array/virtual/at'); +var parent = require('../../../actual/array/virtual/at'); // TODO: Remove from `core-js@4` require('../../../modules/esnext.array.at'); diff --git a/packages/core-js/features/array/virtual/concat.js b/packages/core-js/features/array/virtual/concat.js index 1ddbfdb5e05e..e95161124cc5 100644 --- a/packages/core-js/features/array/virtual/concat.js +++ b/packages/core-js/features/array/virtual/concat.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/array/virtual/concat'); +var parent = require('../../../actual/array/virtual/concat'); module.exports = parent; diff --git a/packages/core-js/features/array/virtual/copy-within.js b/packages/core-js/features/array/virtual/copy-within.js index 68178e8d4a2f..034426f75f30 100644 --- a/packages/core-js/features/array/virtual/copy-within.js +++ b/packages/core-js/features/array/virtual/copy-within.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/array/virtual/copy-within'); +var parent = require('../../../actual/array/virtual/copy-within'); module.exports = parent; diff --git a/packages/core-js/features/array/virtual/entries.js b/packages/core-js/features/array/virtual/entries.js index c313c98163e1..760f1fa91826 100644 --- a/packages/core-js/features/array/virtual/entries.js +++ b/packages/core-js/features/array/virtual/entries.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/array/virtual/entries'); +var parent = require('../../../actual/array/virtual/entries'); module.exports = parent; diff --git a/packages/core-js/features/array/virtual/every.js b/packages/core-js/features/array/virtual/every.js index e76602f64f32..aed3a440afbd 100644 --- a/packages/core-js/features/array/virtual/every.js +++ b/packages/core-js/features/array/virtual/every.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/array/virtual/every'); +var parent = require('../../../actual/array/virtual/every'); module.exports = parent; diff --git a/packages/core-js/features/array/virtual/fill.js b/packages/core-js/features/array/virtual/fill.js index c491116bc9d5..3d0e62c99c90 100644 --- a/packages/core-js/features/array/virtual/fill.js +++ b/packages/core-js/features/array/virtual/fill.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/array/virtual/fill'); +var parent = require('../../../actual/array/virtual/fill'); module.exports = parent; diff --git a/packages/core-js/features/array/virtual/filter.js b/packages/core-js/features/array/virtual/filter.js index c1eb85528f8d..c7bc7b46f16d 100644 --- a/packages/core-js/features/array/virtual/filter.js +++ b/packages/core-js/features/array/virtual/filter.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/array/virtual/filter'); +var parent = require('../../../actual/array/virtual/filter'); module.exports = parent; diff --git a/packages/core-js/features/array/virtual/find-index.js b/packages/core-js/features/array/virtual/find-index.js index 7c4c430704ed..e65273b8049e 100644 --- a/packages/core-js/features/array/virtual/find-index.js +++ b/packages/core-js/features/array/virtual/find-index.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/array/virtual/find-index'); +var parent = require('../../../actual/array/virtual/find-index'); module.exports = parent; diff --git a/packages/core-js/features/array/virtual/find-last-index.js b/packages/core-js/features/array/virtual/find-last-index.js index 748cf5f2c9ae..bffd9b66c848 100644 --- a/packages/core-js/features/array/virtual/find-last-index.js +++ b/packages/core-js/features/array/virtual/find-last-index.js @@ -1,4 +1,3 @@ -require('../../../modules/esnext.array.find-last-index'); -var entryVirtual = require('../../../internals/entry-virtual'); +var parent = require('../../../actual/array/virtual/find-last-index'); -module.exports = entryVirtual('Array').findLastIndex; +module.exports = parent; diff --git a/packages/core-js/features/array/virtual/find-last.js b/packages/core-js/features/array/virtual/find-last.js index ab4f4ef6329c..e98e7c8b64b8 100644 --- a/packages/core-js/features/array/virtual/find-last.js +++ b/packages/core-js/features/array/virtual/find-last.js @@ -1,4 +1,3 @@ -require('../../../modules/esnext.array.find-last'); -var entryVirtual = require('../../../internals/entry-virtual'); +var parent = require('../../../actual/array/virtual/find-last'); -module.exports = entryVirtual('Array').findLast; +module.exports = parent; diff --git a/packages/core-js/features/array/virtual/find.js b/packages/core-js/features/array/virtual/find.js index 03287af0de3a..177698e62452 100644 --- a/packages/core-js/features/array/virtual/find.js +++ b/packages/core-js/features/array/virtual/find.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/array/virtual/find'); +var parent = require('../../../actual/array/virtual/find'); module.exports = parent; diff --git a/packages/core-js/features/array/virtual/flat-map.js b/packages/core-js/features/array/virtual/flat-map.js index 1525170bdc8e..43ea6f89b4c7 100644 --- a/packages/core-js/features/array/virtual/flat-map.js +++ b/packages/core-js/features/array/virtual/flat-map.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/array/virtual/flat-map'); +var parent = require('../../../actual/array/virtual/flat-map'); module.exports = parent; diff --git a/packages/core-js/features/array/virtual/flat.js b/packages/core-js/features/array/virtual/flat.js index 57f1a924e64b..291d7d874b07 100644 --- a/packages/core-js/features/array/virtual/flat.js +++ b/packages/core-js/features/array/virtual/flat.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/array/virtual/flat'); +var parent = require('../../../actual/array/virtual/flat'); module.exports = parent; diff --git a/packages/core-js/features/array/virtual/for-each.js b/packages/core-js/features/array/virtual/for-each.js index bffccc46b453..530208e928c6 100644 --- a/packages/core-js/features/array/virtual/for-each.js +++ b/packages/core-js/features/array/virtual/for-each.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/array/virtual/for-each'); +var parent = require('../../../actual/array/virtual/for-each'); module.exports = parent; diff --git a/packages/core-js/features/array/virtual/includes.js b/packages/core-js/features/array/virtual/includes.js index 1d417b12f4d4..5df2fa78d8fb 100644 --- a/packages/core-js/features/array/virtual/includes.js +++ b/packages/core-js/features/array/virtual/includes.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/array/virtual/includes'); +var parent = require('../../../actual/array/virtual/includes'); module.exports = parent; diff --git a/packages/core-js/features/array/virtual/index-of.js b/packages/core-js/features/array/virtual/index-of.js index 8c55de0e775b..b8f887784f7a 100644 --- a/packages/core-js/features/array/virtual/index-of.js +++ b/packages/core-js/features/array/virtual/index-of.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/array/virtual/index-of'); +var parent = require('../../../actual/array/virtual/index-of'); module.exports = parent; diff --git a/packages/core-js/features/array/virtual/index.js b/packages/core-js/features/array/virtual/index.js index 6ab79da3e8c8..2df66b242ba3 100644 --- a/packages/core-js/features/array/virtual/index.js +++ b/packages/core-js/features/array/virtual/index.js @@ -1,12 +1,10 @@ -var parent = require('../../../stable/array/virtual'); +var parent = require('../../../actual/array/virtual'); require('../../../modules/es.map'); // TODO: Remove from `core-js@4` require('../../../modules/esnext.array.at'); // TODO: Remove from `core-js@4` require('../../../modules/esnext.array.filter-out'); require('../../../modules/esnext.array.filter-reject'); -require('../../../modules/esnext.array.find-last'); -require('../../../modules/esnext.array.find-last-index'); require('../../../modules/esnext.array.group-by'); require('../../../modules/esnext.array.group-by-to-map'); require('../../../modules/esnext.array.to-reversed'); diff --git a/packages/core-js/features/array/virtual/iterator.js b/packages/core-js/features/array/virtual/iterator.js index 503ee1ce9fd0..9bb997638e12 100644 --- a/packages/core-js/features/array/virtual/iterator.js +++ b/packages/core-js/features/array/virtual/iterator.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/array/virtual/iterator'); +var parent = require('../../../actual/array/virtual/iterator'); module.exports = parent; diff --git a/packages/core-js/features/array/virtual/join.js b/packages/core-js/features/array/virtual/join.js index 14a01ec9384b..f9beb623886b 100644 --- a/packages/core-js/features/array/virtual/join.js +++ b/packages/core-js/features/array/virtual/join.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/array/virtual/join'); +var parent = require('../../../actual/array/virtual/join'); module.exports = parent; diff --git a/packages/core-js/features/array/virtual/keys.js b/packages/core-js/features/array/virtual/keys.js index ffae3a4eb7ba..9dd129ac06d6 100644 --- a/packages/core-js/features/array/virtual/keys.js +++ b/packages/core-js/features/array/virtual/keys.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/array/virtual/keys'); +var parent = require('../../../actual/array/virtual/keys'); module.exports = parent; diff --git a/packages/core-js/features/array/virtual/last-index-of.js b/packages/core-js/features/array/virtual/last-index-of.js index dd9c82527b11..35e2aed09bbc 100644 --- a/packages/core-js/features/array/virtual/last-index-of.js +++ b/packages/core-js/features/array/virtual/last-index-of.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/array/virtual/last-index-of'); +var parent = require('../../../actual/array/virtual/last-index-of'); module.exports = parent; diff --git a/packages/core-js/features/array/virtual/map.js b/packages/core-js/features/array/virtual/map.js index 4f404f163319..f38d7017f505 100644 --- a/packages/core-js/features/array/virtual/map.js +++ b/packages/core-js/features/array/virtual/map.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/array/virtual/map'); +var parent = require('../../../actual/array/virtual/map'); module.exports = parent; diff --git a/packages/core-js/features/array/virtual/reduce-right.js b/packages/core-js/features/array/virtual/reduce-right.js index dcbc9329c60a..d71cf70d2f2f 100644 --- a/packages/core-js/features/array/virtual/reduce-right.js +++ b/packages/core-js/features/array/virtual/reduce-right.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/array/virtual/reduce-right'); +var parent = require('../../../actual/array/virtual/reduce-right'); module.exports = parent; diff --git a/packages/core-js/features/array/virtual/reduce.js b/packages/core-js/features/array/virtual/reduce.js index 1e727d00e27a..0b44e2b1adbb 100644 --- a/packages/core-js/features/array/virtual/reduce.js +++ b/packages/core-js/features/array/virtual/reduce.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/array/virtual/reduce'); +var parent = require('../../../actual/array/virtual/reduce'); module.exports = parent; diff --git a/packages/core-js/features/array/virtual/reverse.js b/packages/core-js/features/array/virtual/reverse.js index 89eb7f9f9615..19b9d81cd7c9 100644 --- a/packages/core-js/features/array/virtual/reverse.js +++ b/packages/core-js/features/array/virtual/reverse.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/array/virtual/reverse'); +var parent = require('../../../actual/array/virtual/reverse'); module.exports = parent; diff --git a/packages/core-js/features/array/virtual/slice.js b/packages/core-js/features/array/virtual/slice.js index 5f5ded8aa7dc..fd2cae930246 100644 --- a/packages/core-js/features/array/virtual/slice.js +++ b/packages/core-js/features/array/virtual/slice.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/array/virtual/slice'); +var parent = require('../../../actual/array/virtual/slice'); module.exports = parent; diff --git a/packages/core-js/features/array/virtual/some.js b/packages/core-js/features/array/virtual/some.js index 56111f86a463..b622220066c9 100644 --- a/packages/core-js/features/array/virtual/some.js +++ b/packages/core-js/features/array/virtual/some.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/array/virtual/some'); +var parent = require('../../../actual/array/virtual/some'); module.exports = parent; diff --git a/packages/core-js/features/array/virtual/sort.js b/packages/core-js/features/array/virtual/sort.js index 9d5774d654d5..f9e817884476 100644 --- a/packages/core-js/features/array/virtual/sort.js +++ b/packages/core-js/features/array/virtual/sort.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/array/virtual/sort'); +var parent = require('../../../actual/array/virtual/sort'); module.exports = parent; diff --git a/packages/core-js/features/array/virtual/splice.js b/packages/core-js/features/array/virtual/splice.js index 8cc965232e91..e1ccc0d7daeb 100644 --- a/packages/core-js/features/array/virtual/splice.js +++ b/packages/core-js/features/array/virtual/splice.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/array/virtual/splice'); +var parent = require('../../../actual/array/virtual/splice'); module.exports = parent; diff --git a/packages/core-js/features/array/virtual/values.js b/packages/core-js/features/array/virtual/values.js index db657c644a56..11fed7806c0b 100644 --- a/packages/core-js/features/array/virtual/values.js +++ b/packages/core-js/features/array/virtual/values.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/array/virtual/values'); +var parent = require('../../../actual/array/virtual/values'); module.exports = parent; diff --git a/packages/core-js/features/clear-immediate.js b/packages/core-js/features/clear-immediate.js index 15aa13bfc46b..44c5222ec7f0 100644 --- a/packages/core-js/features/clear-immediate.js +++ b/packages/core-js/features/clear-immediate.js @@ -1,3 +1,3 @@ -var parent = require('../stable/clear-immediate'); +var parent = require('../actual/clear-immediate'); module.exports = parent; diff --git a/packages/core-js/features/data-view/index.js b/packages/core-js/features/data-view/index.js index 1a8d48be44ac..e9a0f841fcfc 100644 --- a/packages/core-js/features/data-view/index.js +++ b/packages/core-js/features/data-view/index.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/data-view'); +var parent = require('../../actual/data-view'); module.exports = parent; diff --git a/packages/core-js/features/date/get-year.js b/packages/core-js/features/date/get-year.js index e735b23fe88c..d1937047d510 100644 --- a/packages/core-js/features/date/get-year.js +++ b/packages/core-js/features/date/get-year.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/date/get-year'); +var parent = require('../../actual/date/get-year'); module.exports = parent; diff --git a/packages/core-js/features/date/index.js b/packages/core-js/features/date/index.js index e0f2f06c0641..9f0da904596b 100644 --- a/packages/core-js/features/date/index.js +++ b/packages/core-js/features/date/index.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/date'); +var parent = require('../../actual/date'); module.exports = parent; diff --git a/packages/core-js/features/date/now.js b/packages/core-js/features/date/now.js index e4e21e48b4d2..d9e2a3291769 100644 --- a/packages/core-js/features/date/now.js +++ b/packages/core-js/features/date/now.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/date/now'); +var parent = require('../../actual/date/now'); module.exports = parent; diff --git a/packages/core-js/features/date/set-year.js b/packages/core-js/features/date/set-year.js index d533e7566e3a..a13cda8db76f 100644 --- a/packages/core-js/features/date/set-year.js +++ b/packages/core-js/features/date/set-year.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/date/set-year'); +var parent = require('../../actual/date/set-year'); module.exports = parent; diff --git a/packages/core-js/features/date/to-gmt-string.js b/packages/core-js/features/date/to-gmt-string.js index b807d99d5ffd..cbaa0b4714e3 100644 --- a/packages/core-js/features/date/to-gmt-string.js +++ b/packages/core-js/features/date/to-gmt-string.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/date/to-gmt-string'); +var parent = require('../../actual/date/to-gmt-string'); module.exports = parent; diff --git a/packages/core-js/features/date/to-iso-string.js b/packages/core-js/features/date/to-iso-string.js index ff65f2983838..14bb42bb2a85 100644 --- a/packages/core-js/features/date/to-iso-string.js +++ b/packages/core-js/features/date/to-iso-string.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/date/to-iso-string'); +var parent = require('../../actual/date/to-iso-string'); module.exports = parent; diff --git a/packages/core-js/features/date/to-json.js b/packages/core-js/features/date/to-json.js index 59715058c232..d00259c10f59 100644 --- a/packages/core-js/features/date/to-json.js +++ b/packages/core-js/features/date/to-json.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/date/to-json'); +var parent = require('../../actual/date/to-json'); module.exports = parent; diff --git a/packages/core-js/features/date/to-primitive.js b/packages/core-js/features/date/to-primitive.js index c6dfc0d915dd..d839d2f389c8 100644 --- a/packages/core-js/features/date/to-primitive.js +++ b/packages/core-js/features/date/to-primitive.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/date/to-primitive'); +var parent = require('../../actual/date/to-primitive'); module.exports = parent; diff --git a/packages/core-js/features/date/to-string.js b/packages/core-js/features/date/to-string.js index 7ca6a84ed544..8da3afe3341c 100644 --- a/packages/core-js/features/date/to-string.js +++ b/packages/core-js/features/date/to-string.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/date/to-string'); +var parent = require('../../actual/date/to-string'); module.exports = parent; diff --git a/packages/core-js/features/dom-collections/for-each.js b/packages/core-js/features/dom-collections/for-each.js index dd2ac64b491c..d304985d2bbe 100644 --- a/packages/core-js/features/dom-collections/for-each.js +++ b/packages/core-js/features/dom-collections/for-each.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/dom-collections/for-each'); +var parent = require('../../actual/dom-collections/for-each'); module.exports = parent; diff --git a/packages/core-js/features/dom-collections/index.js b/packages/core-js/features/dom-collections/index.js index 1ae0660b9050..aa54ad495ea3 100644 --- a/packages/core-js/features/dom-collections/index.js +++ b/packages/core-js/features/dom-collections/index.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/dom-collections'); +var parent = require('../../actual/dom-collections'); module.exports = parent; diff --git a/packages/core-js/features/dom-collections/iterator.js b/packages/core-js/features/dom-collections/iterator.js index d63ca4304add..cfa71ceaf280 100644 --- a/packages/core-js/features/dom-collections/iterator.js +++ b/packages/core-js/features/dom-collections/iterator.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/dom-collections/iterator'); +var parent = require('../../actual/dom-collections/iterator'); module.exports = parent; diff --git a/packages/core-js/features/escape.js b/packages/core-js/features/escape.js index af60217719dd..427f6052bd32 100644 --- a/packages/core-js/features/escape.js +++ b/packages/core-js/features/escape.js @@ -1,3 +1,3 @@ -var parent = require('../stable/escape'); +var parent = require('../actual/escape'); module.exports = parent; diff --git a/packages/core-js/features/function/bind.js b/packages/core-js/features/function/bind.js index 758ced6630a7..86116b78aadc 100644 --- a/packages/core-js/features/function/bind.js +++ b/packages/core-js/features/function/bind.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/function/bind'); +var parent = require('../../actual/function/bind'); module.exports = parent; diff --git a/packages/core-js/features/function/has-instance.js b/packages/core-js/features/function/has-instance.js index d0e8fa974251..73d470133c4c 100644 --- a/packages/core-js/features/function/has-instance.js +++ b/packages/core-js/features/function/has-instance.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/function/has-instance'); +var parent = require('../../actual/function/has-instance'); module.exports = parent; diff --git a/packages/core-js/features/function/index.js b/packages/core-js/features/function/index.js index d4dd8a2e1842..94d3a948c5fd 100644 --- a/packages/core-js/features/function/index.js +++ b/packages/core-js/features/function/index.js @@ -1,4 +1,4 @@ -var parent = require('../../stable/function'); +var parent = require('../../actual/function'); require('../../modules/esnext.function.is-callable'); require('../../modules/esnext.function.is-constructor'); require('../../modules/esnext.function.un-this'); diff --git a/packages/core-js/features/function/name.js b/packages/core-js/features/function/name.js index d96d5ef51800..bcdd9546c6bb 100644 --- a/packages/core-js/features/function/name.js +++ b/packages/core-js/features/function/name.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/function/name'); +var parent = require('../../actual/function/name'); module.exports = parent; diff --git a/packages/core-js/features/function/virtual/bind.js b/packages/core-js/features/function/virtual/bind.js index 22b662f4d2cc..54f6017dfd82 100644 --- a/packages/core-js/features/function/virtual/bind.js +++ b/packages/core-js/features/function/virtual/bind.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/function/virtual/bind'); +var parent = require('../../../actual/function/virtual/bind'); module.exports = parent; diff --git a/packages/core-js/features/function/virtual/index.js b/packages/core-js/features/function/virtual/index.js index 2bab3e5939df..8963f64cc5f3 100644 --- a/packages/core-js/features/function/virtual/index.js +++ b/packages/core-js/features/function/virtual/index.js @@ -1,4 +1,4 @@ -var parent = require('../../../stable/function/virtual'); +var parent = require('../../../actual/function/virtual'); require('../../../modules/esnext.function.un-this'); module.exports = parent; diff --git a/packages/core-js/features/get-iterator-method.js b/packages/core-js/features/get-iterator-method.js index dd3aac533777..405c523dab1d 100644 --- a/packages/core-js/features/get-iterator-method.js +++ b/packages/core-js/features/get-iterator-method.js @@ -1,3 +1,3 @@ -var parent = require('../stable/get-iterator-method'); +var parent = require('../actual/get-iterator-method'); module.exports = parent; diff --git a/packages/core-js/features/get-iterator.js b/packages/core-js/features/get-iterator.js index c2da1bae2606..e81514e32295 100644 --- a/packages/core-js/features/get-iterator.js +++ b/packages/core-js/features/get-iterator.js @@ -1,3 +1,3 @@ -var parent = require('../stable/get-iterator'); +var parent = require('../actual/get-iterator'); module.exports = parent; diff --git a/packages/core-js/features/global-this.js b/packages/core-js/features/global-this.js index ce2cf188da37..ba9983036491 100644 --- a/packages/core-js/features/global-this.js +++ b/packages/core-js/features/global-this.js @@ -1,6 +1,6 @@ // TODO: remove from `core-js@4` require('../modules/esnext.global-this'); -var parent = require('../stable/global-this'); +var parent = require('../actual/global-this'); module.exports = parent; diff --git a/packages/core-js/features/instance/bind.js b/packages/core-js/features/instance/bind.js index c7bbadb64994..53165803b6de 100644 --- a/packages/core-js/features/instance/bind.js +++ b/packages/core-js/features/instance/bind.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/bind'); +var parent = require('../../actual/instance/bind'); module.exports = parent; diff --git a/packages/core-js/features/instance/code-point-at.js b/packages/core-js/features/instance/code-point-at.js index 095b1e2a4ca7..87b1acd85ae2 100644 --- a/packages/core-js/features/instance/code-point-at.js +++ b/packages/core-js/features/instance/code-point-at.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/code-point-at'); +var parent = require('../../actual/instance/code-point-at'); module.exports = parent; diff --git a/packages/core-js/features/instance/concat.js b/packages/core-js/features/instance/concat.js index 43af32327d26..9e8e83a5d535 100644 --- a/packages/core-js/features/instance/concat.js +++ b/packages/core-js/features/instance/concat.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/concat'); +var parent = require('../../actual/instance/concat'); module.exports = parent; diff --git a/packages/core-js/features/instance/copy-within.js b/packages/core-js/features/instance/copy-within.js index 8570f1ece149..5d1934901d82 100644 --- a/packages/core-js/features/instance/copy-within.js +++ b/packages/core-js/features/instance/copy-within.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/copy-within'); +var parent = require('../../actual/instance/copy-within'); module.exports = parent; diff --git a/packages/core-js/features/instance/ends-with.js b/packages/core-js/features/instance/ends-with.js index c1596b978e86..e38934741a19 100644 --- a/packages/core-js/features/instance/ends-with.js +++ b/packages/core-js/features/instance/ends-with.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/ends-with'); +var parent = require('../../actual/instance/ends-with'); module.exports = parent; diff --git a/packages/core-js/features/instance/entries.js b/packages/core-js/features/instance/entries.js index ef42a0e32eed..1f1e47d26cde 100644 --- a/packages/core-js/features/instance/entries.js +++ b/packages/core-js/features/instance/entries.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/entries'); +var parent = require('../../actual/instance/entries'); module.exports = parent; diff --git a/packages/core-js/features/instance/every.js b/packages/core-js/features/instance/every.js index 949926ce6c48..6a10cbe0db5a 100644 --- a/packages/core-js/features/instance/every.js +++ b/packages/core-js/features/instance/every.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/every'); +var parent = require('../../actual/instance/every'); module.exports = parent; diff --git a/packages/core-js/features/instance/fill.js b/packages/core-js/features/instance/fill.js index d625f284d8c0..e7e40ca014aa 100644 --- a/packages/core-js/features/instance/fill.js +++ b/packages/core-js/features/instance/fill.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/fill'); +var parent = require('../../actual/instance/fill'); module.exports = parent; diff --git a/packages/core-js/features/instance/filter.js b/packages/core-js/features/instance/filter.js index 2200e4ef6c6c..50801dd2de8a 100644 --- a/packages/core-js/features/instance/filter.js +++ b/packages/core-js/features/instance/filter.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/filter'); +var parent = require('../../actual/instance/filter'); module.exports = parent; diff --git a/packages/core-js/features/instance/find-index.js b/packages/core-js/features/instance/find-index.js index 57922c4c9c52..c4dcf3797efb 100644 --- a/packages/core-js/features/instance/find-index.js +++ b/packages/core-js/features/instance/find-index.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/find-index'); +var parent = require('../../actual/instance/find-index'); module.exports = parent; diff --git a/packages/core-js/features/instance/find-last-index.js b/packages/core-js/features/instance/find-last-index.js index 6d3a28bc0325..1a12e1846721 100644 --- a/packages/core-js/features/instance/find-last-index.js +++ b/packages/core-js/features/instance/find-last-index.js @@ -1,9 +1,3 @@ -var isPrototypeOf = require('../../internals/object-is-prototype-of'); -var method = require('../array/virtual/find-last-index'); +var parent = require('../../actual/instance/find-last-index'); -var ArrayPrototype = Array.prototype; - -module.exports = function (it) { - var own = it.findLastIndex; - return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.findLastIndex) ? method : own; -}; +module.exports = parent; diff --git a/packages/core-js/features/instance/find-last.js b/packages/core-js/features/instance/find-last.js index aa0474c287b2..8acb6bd1702e 100644 --- a/packages/core-js/features/instance/find-last.js +++ b/packages/core-js/features/instance/find-last.js @@ -1,9 +1,3 @@ -var isPrototypeOf = require('../../internals/object-is-prototype-of'); -var method = require('../array/virtual/find-last'); +var parent = require('../../actual/instance/find-last'); -var ArrayPrototype = Array.prototype; - -module.exports = function (it) { - var own = it.findLast; - return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.findLast) ? method : own; -}; +module.exports = parent; diff --git a/packages/core-js/features/instance/find.js b/packages/core-js/features/instance/find.js index 4c9cb4e08252..b5497794cf82 100644 --- a/packages/core-js/features/instance/find.js +++ b/packages/core-js/features/instance/find.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/find'); +var parent = require('../../actual/instance/find'); module.exports = parent; diff --git a/packages/core-js/features/instance/flags.js b/packages/core-js/features/instance/flags.js index 760fe5baf196..8edb3958efe6 100644 --- a/packages/core-js/features/instance/flags.js +++ b/packages/core-js/features/instance/flags.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/flags'); +var parent = require('../../actual/instance/flags'); module.exports = parent; diff --git a/packages/core-js/features/instance/flat-map.js b/packages/core-js/features/instance/flat-map.js index dc53f1fa8342..261ea8f6d330 100644 --- a/packages/core-js/features/instance/flat-map.js +++ b/packages/core-js/features/instance/flat-map.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/flat-map'); +var parent = require('../../actual/instance/flat-map'); module.exports = parent; diff --git a/packages/core-js/features/instance/flat.js b/packages/core-js/features/instance/flat.js index 45ea7750498b..4051536fb4a3 100644 --- a/packages/core-js/features/instance/flat.js +++ b/packages/core-js/features/instance/flat.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/flat'); +var parent = require('../../actual/instance/flat'); module.exports = parent; diff --git a/packages/core-js/features/instance/for-each.js b/packages/core-js/features/instance/for-each.js index 59d1d80db950..8d00c6fd8857 100644 --- a/packages/core-js/features/instance/for-each.js +++ b/packages/core-js/features/instance/for-each.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/for-each'); +var parent = require('../../actual/instance/for-each'); module.exports = parent; diff --git a/packages/core-js/features/instance/includes.js b/packages/core-js/features/instance/includes.js index 317c1bdd6278..d2f172067aef 100644 --- a/packages/core-js/features/instance/includes.js +++ b/packages/core-js/features/instance/includes.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/includes'); +var parent = require('../../actual/instance/includes'); module.exports = parent; diff --git a/packages/core-js/features/instance/index-of.js b/packages/core-js/features/instance/index-of.js index c6d9c39a78ba..b32f57c9280f 100644 --- a/packages/core-js/features/instance/index-of.js +++ b/packages/core-js/features/instance/index-of.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/index-of'); +var parent = require('../../actual/instance/index-of'); module.exports = parent; diff --git a/packages/core-js/features/instance/keys.js b/packages/core-js/features/instance/keys.js index 63208469daf4..d781aca015ac 100644 --- a/packages/core-js/features/instance/keys.js +++ b/packages/core-js/features/instance/keys.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/keys'); +var parent = require('../../actual/instance/keys'); module.exports = parent; diff --git a/packages/core-js/features/instance/last-index-of.js b/packages/core-js/features/instance/last-index-of.js index 7ba5dd27abfd..0c2e7c8443e7 100644 --- a/packages/core-js/features/instance/last-index-of.js +++ b/packages/core-js/features/instance/last-index-of.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/last-index-of'); +var parent = require('../../actual/instance/last-index-of'); module.exports = parent; diff --git a/packages/core-js/features/instance/map.js b/packages/core-js/features/instance/map.js index a5e19972cb47..5769ae2fb72a 100644 --- a/packages/core-js/features/instance/map.js +++ b/packages/core-js/features/instance/map.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/map'); +var parent = require('../../actual/instance/map'); module.exports = parent; diff --git a/packages/core-js/features/instance/match-all.js b/packages/core-js/features/instance/match-all.js index a4fca244a6ea..fc99a5a7d43c 100644 --- a/packages/core-js/features/instance/match-all.js +++ b/packages/core-js/features/instance/match-all.js @@ -1,6 +1,6 @@ // TODO: remove from `core-js@4` require('../../modules/esnext.string.match-all'); -var parent = require('../../stable/instance/match-all'); +var parent = require('../../actual/instance/match-all'); module.exports = parent; diff --git a/packages/core-js/features/instance/pad-end.js b/packages/core-js/features/instance/pad-end.js index 339936feb9d8..a9a1818b5c12 100644 --- a/packages/core-js/features/instance/pad-end.js +++ b/packages/core-js/features/instance/pad-end.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/pad-end'); +var parent = require('../../actual/instance/pad-end'); module.exports = parent; diff --git a/packages/core-js/features/instance/pad-start.js b/packages/core-js/features/instance/pad-start.js index c12d6731df5f..a96e95b0bb9f 100644 --- a/packages/core-js/features/instance/pad-start.js +++ b/packages/core-js/features/instance/pad-start.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/pad-start'); +var parent = require('../../actual/instance/pad-start'); module.exports = parent; diff --git a/packages/core-js/features/instance/reduce-right.js b/packages/core-js/features/instance/reduce-right.js index f55661c0585a..ae45d0152e8c 100644 --- a/packages/core-js/features/instance/reduce-right.js +++ b/packages/core-js/features/instance/reduce-right.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/reduce-right'); +var parent = require('../../actual/instance/reduce-right'); module.exports = parent; diff --git a/packages/core-js/features/instance/reduce.js b/packages/core-js/features/instance/reduce.js index b25a49f263a7..746d0956de84 100644 --- a/packages/core-js/features/instance/reduce.js +++ b/packages/core-js/features/instance/reduce.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/reduce'); +var parent = require('../../actual/instance/reduce'); module.exports = parent; diff --git a/packages/core-js/features/instance/repeat.js b/packages/core-js/features/instance/repeat.js index 83cf6649a965..475e5bc0dcce 100644 --- a/packages/core-js/features/instance/repeat.js +++ b/packages/core-js/features/instance/repeat.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/repeat'); +var parent = require('../../actual/instance/repeat'); module.exports = parent; diff --git a/packages/core-js/features/instance/replace-all.js b/packages/core-js/features/instance/replace-all.js index c4dc865a6a8b..89cb803d3c79 100644 --- a/packages/core-js/features/instance/replace-all.js +++ b/packages/core-js/features/instance/replace-all.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/replace-all'); +var parent = require('../../actual/instance/replace-all'); module.exports = parent; diff --git a/packages/core-js/features/instance/reverse.js b/packages/core-js/features/instance/reverse.js index 3c0639fdeed8..1cccff1acbf7 100644 --- a/packages/core-js/features/instance/reverse.js +++ b/packages/core-js/features/instance/reverse.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/reverse'); +var parent = require('../../actual/instance/reverse'); module.exports = parent; diff --git a/packages/core-js/features/instance/slice.js b/packages/core-js/features/instance/slice.js index 5e6e6f6a4797..41c334ad4ea7 100644 --- a/packages/core-js/features/instance/slice.js +++ b/packages/core-js/features/instance/slice.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/slice'); +var parent = require('../../actual/instance/slice'); module.exports = parent; diff --git a/packages/core-js/features/instance/some.js b/packages/core-js/features/instance/some.js index 3a809cbaa0e4..41d456042c63 100644 --- a/packages/core-js/features/instance/some.js +++ b/packages/core-js/features/instance/some.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/some'); +var parent = require('../../actual/instance/some'); module.exports = parent; diff --git a/packages/core-js/features/instance/sort.js b/packages/core-js/features/instance/sort.js index 1171de34ff16..a491c8298c19 100644 --- a/packages/core-js/features/instance/sort.js +++ b/packages/core-js/features/instance/sort.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/sort'); +var parent = require('../../actual/instance/sort'); module.exports = parent; diff --git a/packages/core-js/features/instance/splice.js b/packages/core-js/features/instance/splice.js index b5fb39ad7f65..76cf8d2e4460 100644 --- a/packages/core-js/features/instance/splice.js +++ b/packages/core-js/features/instance/splice.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/splice'); +var parent = require('../../actual/instance/splice'); module.exports = parent; diff --git a/packages/core-js/features/instance/starts-with.js b/packages/core-js/features/instance/starts-with.js index 41ba6e4c503e..541f45a2d0dd 100644 --- a/packages/core-js/features/instance/starts-with.js +++ b/packages/core-js/features/instance/starts-with.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/starts-with'); +var parent = require('../../actual/instance/starts-with'); module.exports = parent; diff --git a/packages/core-js/features/instance/trim-end.js b/packages/core-js/features/instance/trim-end.js index 0fba6f179436..cf32f5e1c93e 100644 --- a/packages/core-js/features/instance/trim-end.js +++ b/packages/core-js/features/instance/trim-end.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/trim-end'); +var parent = require('../../actual/instance/trim-end'); module.exports = parent; diff --git a/packages/core-js/features/instance/trim-left.js b/packages/core-js/features/instance/trim-left.js index 23adfeadfe15..a370016b758a 100644 --- a/packages/core-js/features/instance/trim-left.js +++ b/packages/core-js/features/instance/trim-left.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/trim-left'); +var parent = require('../../actual/instance/trim-left'); module.exports = parent; diff --git a/packages/core-js/features/instance/trim-right.js b/packages/core-js/features/instance/trim-right.js index 62c228be4008..3a4f69f9dc34 100644 --- a/packages/core-js/features/instance/trim-right.js +++ b/packages/core-js/features/instance/trim-right.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/trim-right'); +var parent = require('../../actual/instance/trim-right'); module.exports = parent; diff --git a/packages/core-js/features/instance/trim-start.js b/packages/core-js/features/instance/trim-start.js index a594340bff55..c4cc8db6d1b1 100644 --- a/packages/core-js/features/instance/trim-start.js +++ b/packages/core-js/features/instance/trim-start.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/trim-start'); +var parent = require('../../actual/instance/trim-start'); module.exports = parent; diff --git a/packages/core-js/features/instance/trim.js b/packages/core-js/features/instance/trim.js index 02628980dee0..a22c4d403f86 100644 --- a/packages/core-js/features/instance/trim.js +++ b/packages/core-js/features/instance/trim.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/trim'); +var parent = require('../../actual/instance/trim'); module.exports = parent; diff --git a/packages/core-js/features/instance/values.js b/packages/core-js/features/instance/values.js index 71d17335c580..0e9a3814347c 100644 --- a/packages/core-js/features/instance/values.js +++ b/packages/core-js/features/instance/values.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/instance/values'); +var parent = require('../../actual/instance/values'); module.exports = parent; diff --git a/packages/core-js/features/is-iterable.js b/packages/core-js/features/is-iterable.js index c23159b3953a..50f93ebc5903 100644 --- a/packages/core-js/features/is-iterable.js +++ b/packages/core-js/features/is-iterable.js @@ -1,3 +1,3 @@ -var parent = require('../stable/is-iterable'); +var parent = require('../actual/is-iterable'); module.exports = parent; diff --git a/packages/core-js/features/json/index.js b/packages/core-js/features/json/index.js index 3eda5a461c65..a31d9c5eb8f9 100644 --- a/packages/core-js/features/json/index.js +++ b/packages/core-js/features/json/index.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/json'); +var parent = require('../../actual/json'); module.exports = parent; diff --git a/packages/core-js/features/json/stringify.js b/packages/core-js/features/json/stringify.js index 1bd0d89bc830..0667ada9a611 100644 --- a/packages/core-js/features/json/stringify.js +++ b/packages/core-js/features/json/stringify.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/json/stringify'); +var parent = require('../../actual/json/stringify'); module.exports = parent; diff --git a/packages/core-js/features/json/to-string-tag.js b/packages/core-js/features/json/to-string-tag.js index 2c6d2bd1b7ef..7316d84c3fb0 100644 --- a/packages/core-js/features/json/to-string-tag.js +++ b/packages/core-js/features/json/to-string-tag.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/json/to-string-tag'); +var parent = require('../../actual/json/to-string-tag'); module.exports = parent; diff --git a/packages/core-js/features/map/index.js b/packages/core-js/features/map/index.js index 17f271d09762..d7f73de01c4c 100644 --- a/packages/core-js/features/map/index.js +++ b/packages/core-js/features/map/index.js @@ -1,4 +1,4 @@ -var parent = require('../../stable/map'); +var parent = require('../../actual/map'); require('../../modules/esnext.map.from'); require('../../modules/esnext.map.of'); require('../../modules/esnext.map.delete-all'); diff --git a/packages/core-js/features/math/acosh.js b/packages/core-js/features/math/acosh.js index e81645b8bb81..7b2e80d014ce 100644 --- a/packages/core-js/features/math/acosh.js +++ b/packages/core-js/features/math/acosh.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/math/acosh'); +var parent = require('../../actual/math/acosh'); module.exports = parent; diff --git a/packages/core-js/features/math/asinh.js b/packages/core-js/features/math/asinh.js index 86ffb589a5fb..95e90ce60887 100644 --- a/packages/core-js/features/math/asinh.js +++ b/packages/core-js/features/math/asinh.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/math/asinh'); +var parent = require('../../actual/math/asinh'); module.exports = parent; diff --git a/packages/core-js/features/math/atanh.js b/packages/core-js/features/math/atanh.js index 4732b628d004..8e447fc09799 100644 --- a/packages/core-js/features/math/atanh.js +++ b/packages/core-js/features/math/atanh.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/math/atanh'); +var parent = require('../../actual/math/atanh'); module.exports = parent; diff --git a/packages/core-js/features/math/cbrt.js b/packages/core-js/features/math/cbrt.js index 627a4a061e60..272bd9d7d251 100644 --- a/packages/core-js/features/math/cbrt.js +++ b/packages/core-js/features/math/cbrt.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/math/cbrt'); +var parent = require('../../actual/math/cbrt'); module.exports = parent; diff --git a/packages/core-js/features/math/clz32.js b/packages/core-js/features/math/clz32.js index d2476feb8c16..827b08f24902 100644 --- a/packages/core-js/features/math/clz32.js +++ b/packages/core-js/features/math/clz32.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/math/clz32'); +var parent = require('../../actual/math/clz32'); module.exports = parent; diff --git a/packages/core-js/features/math/cosh.js b/packages/core-js/features/math/cosh.js index c22c2d42e772..47bc73b15649 100644 --- a/packages/core-js/features/math/cosh.js +++ b/packages/core-js/features/math/cosh.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/math/cosh'); +var parent = require('../../actual/math/cosh'); module.exports = parent; diff --git a/packages/core-js/features/math/expm1.js b/packages/core-js/features/math/expm1.js index 172ad2a88cbe..b4d7d0599923 100644 --- a/packages/core-js/features/math/expm1.js +++ b/packages/core-js/features/math/expm1.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/math/expm1'); +var parent = require('../../actual/math/expm1'); module.exports = parent; diff --git a/packages/core-js/features/math/fround.js b/packages/core-js/features/math/fround.js index 74b6b47efcd4..3d09f9f60448 100644 --- a/packages/core-js/features/math/fround.js +++ b/packages/core-js/features/math/fround.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/math/fround'); +var parent = require('../../actual/math/fround'); module.exports = parent; diff --git a/packages/core-js/features/math/hypot.js b/packages/core-js/features/math/hypot.js index cc07a7adb14d..82eebe748636 100644 --- a/packages/core-js/features/math/hypot.js +++ b/packages/core-js/features/math/hypot.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/math/hypot'); +var parent = require('../../actual/math/hypot'); module.exports = parent; diff --git a/packages/core-js/features/math/imul.js b/packages/core-js/features/math/imul.js index de2f8ec0a01a..0c5c1d87e6e6 100644 --- a/packages/core-js/features/math/imul.js +++ b/packages/core-js/features/math/imul.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/math/imul'); +var parent = require('../../actual/math/imul'); module.exports = parent; diff --git a/packages/core-js/features/math/index.js b/packages/core-js/features/math/index.js index c9b759b21d20..1a8eb534ac09 100644 --- a/packages/core-js/features/math/index.js +++ b/packages/core-js/features/math/index.js @@ -1,4 +1,4 @@ -var parent = require('../../stable/math'); +var parent = require('../../actual/math'); require('../../modules/esnext.math.clamp'); require('../../modules/esnext.math.deg-per-rad'); require('../../modules/esnext.math.degrees'); diff --git a/packages/core-js/features/math/log10.js b/packages/core-js/features/math/log10.js index f695d3474b90..5874563d3dc6 100644 --- a/packages/core-js/features/math/log10.js +++ b/packages/core-js/features/math/log10.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/math/log10'); +var parent = require('../../actual/math/log10'); module.exports = parent; diff --git a/packages/core-js/features/math/log1p.js b/packages/core-js/features/math/log1p.js index d71add61c230..8e95081900c3 100644 --- a/packages/core-js/features/math/log1p.js +++ b/packages/core-js/features/math/log1p.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/math/log1p'); +var parent = require('../../actual/math/log1p'); module.exports = parent; diff --git a/packages/core-js/features/math/log2.js b/packages/core-js/features/math/log2.js index edd3dac0fe6e..0dbc2f161da7 100644 --- a/packages/core-js/features/math/log2.js +++ b/packages/core-js/features/math/log2.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/math/log2'); +var parent = require('../../actual/math/log2'); module.exports = parent; diff --git a/packages/core-js/features/math/sign.js b/packages/core-js/features/math/sign.js index 80afd7a290e7..5af967ad53f2 100644 --- a/packages/core-js/features/math/sign.js +++ b/packages/core-js/features/math/sign.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/math/sign'); +var parent = require('../../actual/math/sign'); module.exports = parent; diff --git a/packages/core-js/features/math/sinh.js b/packages/core-js/features/math/sinh.js index 02e1a02fb6b1..2a816d6e944c 100644 --- a/packages/core-js/features/math/sinh.js +++ b/packages/core-js/features/math/sinh.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/math/sinh'); +var parent = require('../../actual/math/sinh'); module.exports = parent; diff --git a/packages/core-js/features/math/tanh.js b/packages/core-js/features/math/tanh.js index 376b0ba13a57..8d7f38d3351f 100644 --- a/packages/core-js/features/math/tanh.js +++ b/packages/core-js/features/math/tanh.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/math/tanh'); +var parent = require('../../actual/math/tanh'); module.exports = parent; diff --git a/packages/core-js/features/math/to-string-tag.js b/packages/core-js/features/math/to-string-tag.js index ccd38976c8de..381cf2b8f068 100644 --- a/packages/core-js/features/math/to-string-tag.js +++ b/packages/core-js/features/math/to-string-tag.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/math/to-string-tag'); +var parent = require('../../actual/math/to-string-tag'); module.exports = parent; diff --git a/packages/core-js/features/math/trunc.js b/packages/core-js/features/math/trunc.js index 106289b03a83..168c466c76a9 100644 --- a/packages/core-js/features/math/trunc.js +++ b/packages/core-js/features/math/trunc.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/math/trunc'); +var parent = require('../../actual/math/trunc'); module.exports = parent; diff --git a/packages/core-js/features/number/constructor.js b/packages/core-js/features/number/constructor.js index ed8021e96865..6ac1d1f24080 100644 --- a/packages/core-js/features/number/constructor.js +++ b/packages/core-js/features/number/constructor.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/number/constructor'); +var parent = require('../../actual/number/constructor'); module.exports = parent; diff --git a/packages/core-js/features/number/epsilon.js b/packages/core-js/features/number/epsilon.js index 39c668eb3626..93997607c484 100644 --- a/packages/core-js/features/number/epsilon.js +++ b/packages/core-js/features/number/epsilon.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/number/epsilon'); +var parent = require('../../actual/number/epsilon'); module.exports = parent; diff --git a/packages/core-js/features/number/index.js b/packages/core-js/features/number/index.js index 216c93b90a50..0656d370376b 100644 --- a/packages/core-js/features/number/index.js +++ b/packages/core-js/features/number/index.js @@ -1,4 +1,4 @@ -var parent = require('../../stable/number'); +var parent = require('../../actual/number'); module.exports = parent; diff --git a/packages/core-js/features/number/is-finite.js b/packages/core-js/features/number/is-finite.js index 4cbb7ea5ab75..37299f2bc817 100644 --- a/packages/core-js/features/number/is-finite.js +++ b/packages/core-js/features/number/is-finite.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/number/is-finite'); +var parent = require('../../actual/number/is-finite'); module.exports = parent; diff --git a/packages/core-js/features/number/is-integer.js b/packages/core-js/features/number/is-integer.js index 2e9cae0d9fd3..0abfee4b7c5f 100644 --- a/packages/core-js/features/number/is-integer.js +++ b/packages/core-js/features/number/is-integer.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/number/is-integer'); +var parent = require('../../actual/number/is-integer'); module.exports = parent; diff --git a/packages/core-js/features/number/is-nan.js b/packages/core-js/features/number/is-nan.js index a5d55a8c64de..758d138cbf9b 100644 --- a/packages/core-js/features/number/is-nan.js +++ b/packages/core-js/features/number/is-nan.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/number/is-nan'); +var parent = require('../../actual/number/is-nan'); module.exports = parent; diff --git a/packages/core-js/features/number/is-safe-integer.js b/packages/core-js/features/number/is-safe-integer.js index d04dde2b4b1d..fbae63c58584 100644 --- a/packages/core-js/features/number/is-safe-integer.js +++ b/packages/core-js/features/number/is-safe-integer.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/number/is-safe-integer'); +var parent = require('../../actual/number/is-safe-integer'); module.exports = parent; diff --git a/packages/core-js/features/number/max-safe-integer.js b/packages/core-js/features/number/max-safe-integer.js index 129191cb5a09..67169cacc05c 100644 --- a/packages/core-js/features/number/max-safe-integer.js +++ b/packages/core-js/features/number/max-safe-integer.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/number/max-safe-integer'); +var parent = require('../../actual/number/max-safe-integer'); module.exports = parent; diff --git a/packages/core-js/features/number/min-safe-integer.js b/packages/core-js/features/number/min-safe-integer.js index fa2b0a723643..790e9acbf7ca 100644 --- a/packages/core-js/features/number/min-safe-integer.js +++ b/packages/core-js/features/number/min-safe-integer.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/number/min-safe-integer'); +var parent = require('../../actual/number/min-safe-integer'); module.exports = parent; diff --git a/packages/core-js/features/number/parse-float.js b/packages/core-js/features/number/parse-float.js index 0f0bcbf34b14..3399bbce9acf 100644 --- a/packages/core-js/features/number/parse-float.js +++ b/packages/core-js/features/number/parse-float.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/number/parse-float'); +var parent = require('../../actual/number/parse-float'); module.exports = parent; diff --git a/packages/core-js/features/number/parse-int.js b/packages/core-js/features/number/parse-int.js index cad32c6bd516..597aac3c90ef 100644 --- a/packages/core-js/features/number/parse-int.js +++ b/packages/core-js/features/number/parse-int.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/number/parse-int'); +var parent = require('../../actual/number/parse-int'); module.exports = parent; diff --git a/packages/core-js/features/number/to-fixed.js b/packages/core-js/features/number/to-fixed.js index 0153c8c2a563..e5a6174243c5 100644 --- a/packages/core-js/features/number/to-fixed.js +++ b/packages/core-js/features/number/to-fixed.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/number/to-fixed'); +var parent = require('../../actual/number/to-fixed'); module.exports = parent; diff --git a/packages/core-js/features/number/to-precision.js b/packages/core-js/features/number/to-precision.js index 0fd208459ab5..7a2722a5215e 100644 --- a/packages/core-js/features/number/to-precision.js +++ b/packages/core-js/features/number/to-precision.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/number/to-precision'); +var parent = require('../../actual/number/to-precision'); module.exports = parent; diff --git a/packages/core-js/features/number/virtual/index.js b/packages/core-js/features/number/virtual/index.js index ba5ed51bf89c..6d32b6460c5f 100644 --- a/packages/core-js/features/number/virtual/index.js +++ b/packages/core-js/features/number/virtual/index.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/number/virtual'); +var parent = require('../../../actual/number/virtual'); module.exports = parent; diff --git a/packages/core-js/features/number/virtual/to-fixed.js b/packages/core-js/features/number/virtual/to-fixed.js index 33de83774257..302c85c55e6e 100644 --- a/packages/core-js/features/number/virtual/to-fixed.js +++ b/packages/core-js/features/number/virtual/to-fixed.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/number/virtual/to-fixed'); +var parent = require('../../../actual/number/virtual/to-fixed'); module.exports = parent; diff --git a/packages/core-js/features/number/virtual/to-precision.js b/packages/core-js/features/number/virtual/to-precision.js index 6ba7432c8a3d..f0b4bd44dcf2 100644 --- a/packages/core-js/features/number/virtual/to-precision.js +++ b/packages/core-js/features/number/virtual/to-precision.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/number/virtual/to-precision'); +var parent = require('../../../actual/number/virtual/to-precision'); module.exports = parent; diff --git a/packages/core-js/features/object/assign.js b/packages/core-js/features/object/assign.js index 09912e5cc811..cc4910cfc453 100644 --- a/packages/core-js/features/object/assign.js +++ b/packages/core-js/features/object/assign.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/object/assign'); +var parent = require('../../actual/object/assign'); module.exports = parent; diff --git a/packages/core-js/features/object/create.js b/packages/core-js/features/object/create.js index 4d409666e46e..bcff70289c99 100644 --- a/packages/core-js/features/object/create.js +++ b/packages/core-js/features/object/create.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/object/create'); +var parent = require('../../actual/object/create'); module.exports = parent; diff --git a/packages/core-js/features/object/define-getter.js b/packages/core-js/features/object/define-getter.js index 076e9cbc4f85..635e3570e14a 100644 --- a/packages/core-js/features/object/define-getter.js +++ b/packages/core-js/features/object/define-getter.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/object/define-getter'); +var parent = require('../../actual/object/define-getter'); module.exports = parent; diff --git a/packages/core-js/features/object/define-properties.js b/packages/core-js/features/object/define-properties.js index 9de0a2058b9a..4c88ce39802e 100644 --- a/packages/core-js/features/object/define-properties.js +++ b/packages/core-js/features/object/define-properties.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/object/define-properties'); +var parent = require('../../actual/object/define-properties'); module.exports = parent; diff --git a/packages/core-js/features/object/define-property.js b/packages/core-js/features/object/define-property.js index 6c0eacfcc66e..fe3c33baa738 100644 --- a/packages/core-js/features/object/define-property.js +++ b/packages/core-js/features/object/define-property.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/object/define-property'); +var parent = require('../../actual/object/define-property'); module.exports = parent; diff --git a/packages/core-js/features/object/define-setter.js b/packages/core-js/features/object/define-setter.js index 26c84d060501..664d508978d1 100644 --- a/packages/core-js/features/object/define-setter.js +++ b/packages/core-js/features/object/define-setter.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/object/define-setter'); +var parent = require('../../actual/object/define-setter'); module.exports = parent; diff --git a/packages/core-js/features/object/entries.js b/packages/core-js/features/object/entries.js index 90ef8007a770..bfe370659962 100644 --- a/packages/core-js/features/object/entries.js +++ b/packages/core-js/features/object/entries.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/object/entries'); +var parent = require('../../actual/object/entries'); module.exports = parent; diff --git a/packages/core-js/features/object/freeze.js b/packages/core-js/features/object/freeze.js index 7f6672a5ab1a..ea035468ed56 100644 --- a/packages/core-js/features/object/freeze.js +++ b/packages/core-js/features/object/freeze.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/object/freeze'); +var parent = require('../../actual/object/freeze'); module.exports = parent; diff --git a/packages/core-js/features/object/from-entries.js b/packages/core-js/features/object/from-entries.js index 17fe87834d16..ab031cd4062e 100644 --- a/packages/core-js/features/object/from-entries.js +++ b/packages/core-js/features/object/from-entries.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/object/from-entries'); +var parent = require('../../actual/object/from-entries'); module.exports = parent; diff --git a/packages/core-js/features/object/get-own-property-descriptor.js b/packages/core-js/features/object/get-own-property-descriptor.js index 0dd7c73a8150..1ca80f36b966 100644 --- a/packages/core-js/features/object/get-own-property-descriptor.js +++ b/packages/core-js/features/object/get-own-property-descriptor.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/object/get-own-property-descriptor'); +var parent = require('../../actual/object/get-own-property-descriptor'); module.exports = parent; diff --git a/packages/core-js/features/object/get-own-property-descriptors.js b/packages/core-js/features/object/get-own-property-descriptors.js index f4e2fe057650..ee1e93155c6e 100644 --- a/packages/core-js/features/object/get-own-property-descriptors.js +++ b/packages/core-js/features/object/get-own-property-descriptors.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/object/get-own-property-descriptors'); +var parent = require('../../actual/object/get-own-property-descriptors'); module.exports = parent; diff --git a/packages/core-js/features/object/get-own-property-names.js b/packages/core-js/features/object/get-own-property-names.js index c13094b7fa17..8a7387b4adcb 100644 --- a/packages/core-js/features/object/get-own-property-names.js +++ b/packages/core-js/features/object/get-own-property-names.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/object/get-own-property-names'); +var parent = require('../../actual/object/get-own-property-names'); module.exports = parent; diff --git a/packages/core-js/features/object/get-own-property-symbols.js b/packages/core-js/features/object/get-own-property-symbols.js index 1e9197928ccf..6851a3250f71 100644 --- a/packages/core-js/features/object/get-own-property-symbols.js +++ b/packages/core-js/features/object/get-own-property-symbols.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/object/get-own-property-symbols'); +var parent = require('../../actual/object/get-own-property-symbols'); module.exports = parent; diff --git a/packages/core-js/features/object/get-prototype-of.js b/packages/core-js/features/object/get-prototype-of.js index 9d20623cc14b..feeb3c9f4fc6 100644 --- a/packages/core-js/features/object/get-prototype-of.js +++ b/packages/core-js/features/object/get-prototype-of.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/object/get-prototype-of'); +var parent = require('../../actual/object/get-prototype-of'); module.exports = parent; diff --git a/packages/core-js/features/object/has-own.js b/packages/core-js/features/object/has-own.js index d5be764d2746..68e873b18afe 100644 --- a/packages/core-js/features/object/has-own.js +++ b/packages/core-js/features/object/has-own.js @@ -1,4 +1,4 @@ -var parent = require('../../stable/object/has-own'); +var parent = require('../../actual/object/has-own'); // TODO: Remove from `core-js@4` require('../../modules/esnext.object.has-own'); diff --git a/packages/core-js/features/object/index.js b/packages/core-js/features/object/index.js index 2e023c407300..576c404e6a70 100644 --- a/packages/core-js/features/object/index.js +++ b/packages/core-js/features/object/index.js @@ -1,4 +1,4 @@ -var parent = require('../../stable/object'); +var parent = require('../../actual/object'); // TODO: Remove from `core-js@4` require('../../modules/esnext.object.has-own'); require('../../modules/esnext.object.iterate-entries'); diff --git a/packages/core-js/features/object/is-extensible.js b/packages/core-js/features/object/is-extensible.js index 170be7a763a1..4bfc4140090a 100644 --- a/packages/core-js/features/object/is-extensible.js +++ b/packages/core-js/features/object/is-extensible.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/object/is-extensible'); +var parent = require('../../actual/object/is-extensible'); module.exports = parent; diff --git a/packages/core-js/features/object/is-frozen.js b/packages/core-js/features/object/is-frozen.js index 1e3bdca46665..5438ad1ffb86 100644 --- a/packages/core-js/features/object/is-frozen.js +++ b/packages/core-js/features/object/is-frozen.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/object/is-frozen'); +var parent = require('../../actual/object/is-frozen'); module.exports = parent; diff --git a/packages/core-js/features/object/is-sealed.js b/packages/core-js/features/object/is-sealed.js index 8cb033deda9f..c80ab2bde24c 100644 --- a/packages/core-js/features/object/is-sealed.js +++ b/packages/core-js/features/object/is-sealed.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/object/is-sealed'); +var parent = require('../../actual/object/is-sealed'); module.exports = parent; diff --git a/packages/core-js/features/object/is.js b/packages/core-js/features/object/is.js index 3dcd83a7c47f..f82da2af566b 100644 --- a/packages/core-js/features/object/is.js +++ b/packages/core-js/features/object/is.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/object/is'); +var parent = require('../../actual/object/is'); module.exports = parent; diff --git a/packages/core-js/features/object/keys.js b/packages/core-js/features/object/keys.js index 328bf30cc905..442b7b2e8277 100644 --- a/packages/core-js/features/object/keys.js +++ b/packages/core-js/features/object/keys.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/object/keys'); +var parent = require('../../actual/object/keys'); module.exports = parent; diff --git a/packages/core-js/features/object/lookup-getter.js b/packages/core-js/features/object/lookup-getter.js index d93cc2983895..f64923abc7de 100644 --- a/packages/core-js/features/object/lookup-getter.js +++ b/packages/core-js/features/object/lookup-getter.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/object/lookup-getter'); +var parent = require('../../actual/object/lookup-getter'); module.exports = parent; diff --git a/packages/core-js/features/object/lookup-setter.js b/packages/core-js/features/object/lookup-setter.js index 55d61470d084..bd7964e59e92 100644 --- a/packages/core-js/features/object/lookup-setter.js +++ b/packages/core-js/features/object/lookup-setter.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/object/lookup-setter'); +var parent = require('../../actual/object/lookup-setter'); module.exports = parent; diff --git a/packages/core-js/features/object/prevent-extensions.js b/packages/core-js/features/object/prevent-extensions.js index 0fa499051022..72162d38563d 100644 --- a/packages/core-js/features/object/prevent-extensions.js +++ b/packages/core-js/features/object/prevent-extensions.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/object/prevent-extensions'); +var parent = require('../../actual/object/prevent-extensions'); module.exports = parent; diff --git a/packages/core-js/features/object/seal.js b/packages/core-js/features/object/seal.js index 3234a1e023a7..24e54fedf7eb 100644 --- a/packages/core-js/features/object/seal.js +++ b/packages/core-js/features/object/seal.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/object/seal'); +var parent = require('../../actual/object/seal'); module.exports = parent; diff --git a/packages/core-js/features/object/set-prototype-of.js b/packages/core-js/features/object/set-prototype-of.js index d30e98894e70..08bea18a28c6 100644 --- a/packages/core-js/features/object/set-prototype-of.js +++ b/packages/core-js/features/object/set-prototype-of.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/object/set-prototype-of'); +var parent = require('../../actual/object/set-prototype-of'); module.exports = parent; diff --git a/packages/core-js/features/object/to-string.js b/packages/core-js/features/object/to-string.js index d8a3e07aa99d..142302ab105c 100644 --- a/packages/core-js/features/object/to-string.js +++ b/packages/core-js/features/object/to-string.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/object/to-string'); +var parent = require('../../actual/object/to-string'); module.exports = parent; diff --git a/packages/core-js/features/object/values.js b/packages/core-js/features/object/values.js index cec7711d7902..187744d00af7 100644 --- a/packages/core-js/features/object/values.js +++ b/packages/core-js/features/object/values.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/object/values'); +var parent = require('../../actual/object/values'); module.exports = parent; diff --git a/packages/core-js/features/parse-float.js b/packages/core-js/features/parse-float.js index cdd51f12fd3f..c494d25b3b81 100644 --- a/packages/core-js/features/parse-float.js +++ b/packages/core-js/features/parse-float.js @@ -1,3 +1,3 @@ -var parent = require('../stable/parse-float'); +var parent = require('../actual/parse-float'); module.exports = parent; diff --git a/packages/core-js/features/parse-int.js b/packages/core-js/features/parse-int.js index 3055d7b3aed7..325d0457531b 100644 --- a/packages/core-js/features/parse-int.js +++ b/packages/core-js/features/parse-int.js @@ -1,3 +1,3 @@ -var parent = require('../stable/parse-int'); +var parent = require('../actual/parse-int'); module.exports = parent; diff --git a/packages/core-js/features/promise/all-settled.js b/packages/core-js/features/promise/all-settled.js index fda1114ce251..60205ad77008 100644 --- a/packages/core-js/features/promise/all-settled.js +++ b/packages/core-js/features/promise/all-settled.js @@ -1,6 +1,6 @@ // TODO: Remove from `core-js@4` require('../../modules/esnext.promise.all-settled'); -var parent = require('../../stable/promise/all-settled'); +var parent = require('../../actual/promise/all-settled'); module.exports = parent; diff --git a/packages/core-js/features/promise/any.js b/packages/core-js/features/promise/any.js index 4c143dd69640..f0bc6c7943a2 100644 --- a/packages/core-js/features/promise/any.js +++ b/packages/core-js/features/promise/any.js @@ -1,4 +1,4 @@ -var parent = require('../../stable/promise/any'); +var parent = require('../../actual/promise/any'); // TODO: Remove from `core-js@4` require('../../modules/esnext.aggregate-error'); diff --git a/packages/core-js/features/promise/finally.js b/packages/core-js/features/promise/finally.js index 360ea82b9411..232e5e9a9048 100644 --- a/packages/core-js/features/promise/finally.js +++ b/packages/core-js/features/promise/finally.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/promise/finally'); +var parent = require('../../actual/promise/finally'); module.exports = parent; diff --git a/packages/core-js/features/promise/index.js b/packages/core-js/features/promise/index.js index 0d9dde1057d6..c45bb5883d37 100644 --- a/packages/core-js/features/promise/index.js +++ b/packages/core-js/features/promise/index.js @@ -1,4 +1,4 @@ -var parent = require('../../stable/promise'); +var parent = require('../../actual/promise'); require('../../modules/esnext.aggregate-error'); // TODO: Remove from `core-js@4` require('../../modules/esnext.promise.all-settled'); diff --git a/packages/core-js/features/queue-microtask.js b/packages/core-js/features/queue-microtask.js index 66c39d67bc49..f5b85b70d763 100644 --- a/packages/core-js/features/queue-microtask.js +++ b/packages/core-js/features/queue-microtask.js @@ -1,3 +1,3 @@ -var parent = require('../stable/queue-microtask'); +var parent = require('../actual/queue-microtask'); module.exports = parent; diff --git a/packages/core-js/features/reflect/apply.js b/packages/core-js/features/reflect/apply.js index 7859a48e3f59..cc9189940ef1 100644 --- a/packages/core-js/features/reflect/apply.js +++ b/packages/core-js/features/reflect/apply.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/reflect/apply'); +var parent = require('../../actual/reflect/apply'); module.exports = parent; diff --git a/packages/core-js/features/reflect/construct.js b/packages/core-js/features/reflect/construct.js index 1b58314e0c6c..2a8a6123a121 100644 --- a/packages/core-js/features/reflect/construct.js +++ b/packages/core-js/features/reflect/construct.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/reflect/construct'); +var parent = require('../../actual/reflect/construct'); module.exports = parent; diff --git a/packages/core-js/features/reflect/define-property.js b/packages/core-js/features/reflect/define-property.js index 2a7fa266bd20..1348ad8c6279 100644 --- a/packages/core-js/features/reflect/define-property.js +++ b/packages/core-js/features/reflect/define-property.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/reflect/define-property'); +var parent = require('../../actual/reflect/define-property'); module.exports = parent; diff --git a/packages/core-js/features/reflect/delete-property.js b/packages/core-js/features/reflect/delete-property.js index 6dd807e6e48e..0b40f3d7a326 100644 --- a/packages/core-js/features/reflect/delete-property.js +++ b/packages/core-js/features/reflect/delete-property.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/reflect/delete-property'); +var parent = require('../../actual/reflect/delete-property'); module.exports = parent; diff --git a/packages/core-js/features/reflect/get-own-property-descriptor.js b/packages/core-js/features/reflect/get-own-property-descriptor.js index dfaa4aeb054c..30132097e025 100644 --- a/packages/core-js/features/reflect/get-own-property-descriptor.js +++ b/packages/core-js/features/reflect/get-own-property-descriptor.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/reflect/get-own-property-descriptor'); +var parent = require('../../actual/reflect/get-own-property-descriptor'); module.exports = parent; diff --git a/packages/core-js/features/reflect/get-prototype-of.js b/packages/core-js/features/reflect/get-prototype-of.js index 004ae7cc1e75..ae151a0b20a6 100644 --- a/packages/core-js/features/reflect/get-prototype-of.js +++ b/packages/core-js/features/reflect/get-prototype-of.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/reflect/get-prototype-of'); +var parent = require('../../actual/reflect/get-prototype-of'); module.exports = parent; diff --git a/packages/core-js/features/reflect/get.js b/packages/core-js/features/reflect/get.js index 8316620b4977..5bc5957e4af4 100644 --- a/packages/core-js/features/reflect/get.js +++ b/packages/core-js/features/reflect/get.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/reflect/get'); +var parent = require('../../actual/reflect/get'); module.exports = parent; diff --git a/packages/core-js/features/reflect/has.js b/packages/core-js/features/reflect/has.js index e4754a037909..a8de2b4df6a3 100644 --- a/packages/core-js/features/reflect/has.js +++ b/packages/core-js/features/reflect/has.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/reflect/has'); +var parent = require('../../actual/reflect/has'); module.exports = parent; diff --git a/packages/core-js/features/reflect/index.js b/packages/core-js/features/reflect/index.js index 85fa193c6ba2..505aac9b8aa4 100644 --- a/packages/core-js/features/reflect/index.js +++ b/packages/core-js/features/reflect/index.js @@ -1,4 +1,4 @@ -var parent = require('../../stable/reflect'); +var parent = require('../../actual/reflect'); require('../../modules/esnext.reflect.define-metadata'); require('../../modules/esnext.reflect.delete-metadata'); require('../../modules/esnext.reflect.get-metadata'); diff --git a/packages/core-js/features/reflect/is-extensible.js b/packages/core-js/features/reflect/is-extensible.js index fc697f544e64..7de44157c232 100644 --- a/packages/core-js/features/reflect/is-extensible.js +++ b/packages/core-js/features/reflect/is-extensible.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/reflect/is-extensible'); +var parent = require('../../actual/reflect/is-extensible'); module.exports = parent; diff --git a/packages/core-js/features/reflect/own-keys.js b/packages/core-js/features/reflect/own-keys.js index 75a5f01a4f52..3a91333e89ea 100644 --- a/packages/core-js/features/reflect/own-keys.js +++ b/packages/core-js/features/reflect/own-keys.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/reflect/own-keys'); +var parent = require('../../actual/reflect/own-keys'); module.exports = parent; diff --git a/packages/core-js/features/reflect/prevent-extensions.js b/packages/core-js/features/reflect/prevent-extensions.js index 72a4de531620..59579e135342 100644 --- a/packages/core-js/features/reflect/prevent-extensions.js +++ b/packages/core-js/features/reflect/prevent-extensions.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/reflect/prevent-extensions'); +var parent = require('../../actual/reflect/prevent-extensions'); module.exports = parent; diff --git a/packages/core-js/features/reflect/set-prototype-of.js b/packages/core-js/features/reflect/set-prototype-of.js index 58a42d7a9f13..f20e02f057bc 100644 --- a/packages/core-js/features/reflect/set-prototype-of.js +++ b/packages/core-js/features/reflect/set-prototype-of.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/reflect/set-prototype-of'); +var parent = require('../../actual/reflect/set-prototype-of'); module.exports = parent; diff --git a/packages/core-js/features/reflect/set.js b/packages/core-js/features/reflect/set.js index ff8078ecddb1..3f4ca267bf0e 100644 --- a/packages/core-js/features/reflect/set.js +++ b/packages/core-js/features/reflect/set.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/reflect/set'); +var parent = require('../../actual/reflect/set'); module.exports = parent; diff --git a/packages/core-js/features/regexp/constructor.js b/packages/core-js/features/regexp/constructor.js index 587eb2c0921a..d07b6aac9415 100644 --- a/packages/core-js/features/regexp/constructor.js +++ b/packages/core-js/features/regexp/constructor.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/regexp/constructor'); +var parent = require('../../actual/regexp/constructor'); module.exports = parent; diff --git a/packages/core-js/features/regexp/dot-all.js b/packages/core-js/features/regexp/dot-all.js index 1a235fe4865f..6b78403f183d 100644 --- a/packages/core-js/features/regexp/dot-all.js +++ b/packages/core-js/features/regexp/dot-all.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/regexp/dot-all'); +var parent = require('../../actual/regexp/dot-all'); module.exports = parent; diff --git a/packages/core-js/features/regexp/flags.js b/packages/core-js/features/regexp/flags.js index d8602fd7bcc8..67e86f9c66c0 100644 --- a/packages/core-js/features/regexp/flags.js +++ b/packages/core-js/features/regexp/flags.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/regexp/flags'); +var parent = require('../../actual/regexp/flags'); module.exports = parent; diff --git a/packages/core-js/features/regexp/index.js b/packages/core-js/features/regexp/index.js index 56afce585c45..3cb7b921c155 100644 --- a/packages/core-js/features/regexp/index.js +++ b/packages/core-js/features/regexp/index.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/regexp'); +var parent = require('../../actual/regexp'); module.exports = parent; diff --git a/packages/core-js/features/regexp/match.js b/packages/core-js/features/regexp/match.js index f054535d441b..c45b4a64ccc7 100644 --- a/packages/core-js/features/regexp/match.js +++ b/packages/core-js/features/regexp/match.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/regexp/match'); +var parent = require('../../actual/regexp/match'); module.exports = parent; diff --git a/packages/core-js/features/regexp/replace.js b/packages/core-js/features/regexp/replace.js index eeac02308bd6..20738a28d4bb 100644 --- a/packages/core-js/features/regexp/replace.js +++ b/packages/core-js/features/regexp/replace.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/regexp/replace'); +var parent = require('../../actual/regexp/replace'); module.exports = parent; diff --git a/packages/core-js/features/regexp/search.js b/packages/core-js/features/regexp/search.js index d8b7aeb37cbc..c8d20a9bd7d3 100644 --- a/packages/core-js/features/regexp/search.js +++ b/packages/core-js/features/regexp/search.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/regexp/search'); +var parent = require('../../actual/regexp/search'); module.exports = parent; diff --git a/packages/core-js/features/regexp/split.js b/packages/core-js/features/regexp/split.js index a258ea941cda..0bf7dc84168b 100644 --- a/packages/core-js/features/regexp/split.js +++ b/packages/core-js/features/regexp/split.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/regexp/split'); +var parent = require('../../actual/regexp/split'); module.exports = parent; diff --git a/packages/core-js/features/regexp/sticky.js b/packages/core-js/features/regexp/sticky.js index 84571db84161..19a3255df3a2 100644 --- a/packages/core-js/features/regexp/sticky.js +++ b/packages/core-js/features/regexp/sticky.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/regexp/sticky'); +var parent = require('../../actual/regexp/sticky'); module.exports = parent; diff --git a/packages/core-js/features/regexp/test.js b/packages/core-js/features/regexp/test.js index 2b46d3649a71..0c1b052c9545 100644 --- a/packages/core-js/features/regexp/test.js +++ b/packages/core-js/features/regexp/test.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/regexp/test'); +var parent = require('../../actual/regexp/test'); module.exports = parent; diff --git a/packages/core-js/features/regexp/to-string.js b/packages/core-js/features/regexp/to-string.js index c74d43d1c0ec..3864ae5aac57 100644 --- a/packages/core-js/features/regexp/to-string.js +++ b/packages/core-js/features/regexp/to-string.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/regexp/to-string'); +var parent = require('../../actual/regexp/to-string'); module.exports = parent; diff --git a/packages/core-js/features/set-immediate.js b/packages/core-js/features/set-immediate.js index 01530a28491e..4b20c90b18c8 100644 --- a/packages/core-js/features/set-immediate.js +++ b/packages/core-js/features/set-immediate.js @@ -1,3 +1,3 @@ -var parent = require('../stable/set-immediate'); +var parent = require('../actual/set-immediate'); module.exports = parent; diff --git a/packages/core-js/features/set-interval.js b/packages/core-js/features/set-interval.js index 122b8ba347da..0f77f658adb6 100644 --- a/packages/core-js/features/set-interval.js +++ b/packages/core-js/features/set-interval.js @@ -1,3 +1,3 @@ -var parent = require('../stable/set-interval'); +var parent = require('../actual/set-interval'); module.exports = parent; diff --git a/packages/core-js/features/set-timeout.js b/packages/core-js/features/set-timeout.js index 310fcd37fd19..82acf36fde5b 100644 --- a/packages/core-js/features/set-timeout.js +++ b/packages/core-js/features/set-timeout.js @@ -1,3 +1,3 @@ -var parent = require('../stable/set-timeout'); +var parent = require('../actual/set-timeout'); module.exports = parent; diff --git a/packages/core-js/features/set/index.js b/packages/core-js/features/set/index.js index cfccb3c13bc7..7498ee09c518 100644 --- a/packages/core-js/features/set/index.js +++ b/packages/core-js/features/set/index.js @@ -1,4 +1,4 @@ -var parent = require('../../stable/set'); +var parent = require('../../actual/set'); require('../../modules/esnext.set.from'); require('../../modules/esnext.set.of'); require('../../modules/esnext.set.add-all'); diff --git a/packages/core-js/features/string/anchor.js b/packages/core-js/features/string/anchor.js index 1939fbdece3f..9805459d6a4b 100644 --- a/packages/core-js/features/string/anchor.js +++ b/packages/core-js/features/string/anchor.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/anchor'); +var parent = require('../../actual/string/anchor'); module.exports = parent; diff --git a/packages/core-js/features/string/at.js b/packages/core-js/features/string/at.js index a665bc9a081f..b1d7645ef4dc 100644 --- a/packages/core-js/features/string/at.js +++ b/packages/core-js/features/string/at.js @@ -1,4 +1,4 @@ -require('../../stable/string/at'); +require('../../actual/string/at'); // TODO: Remove from `core-js@4` require('../../modules/esnext.string.at'); diff --git a/packages/core-js/features/string/big.js b/packages/core-js/features/string/big.js index 55643c4e97a5..9e23f143e956 100644 --- a/packages/core-js/features/string/big.js +++ b/packages/core-js/features/string/big.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/big'); +var parent = require('../../actual/string/big'); module.exports = parent; diff --git a/packages/core-js/features/string/blink.js b/packages/core-js/features/string/blink.js index 8fc44494a714..5f2d82ab438b 100644 --- a/packages/core-js/features/string/blink.js +++ b/packages/core-js/features/string/blink.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/blink'); +var parent = require('../../actual/string/blink'); module.exports = parent; diff --git a/packages/core-js/features/string/bold.js b/packages/core-js/features/string/bold.js index 252a065a534a..46a0325f6fa4 100644 --- a/packages/core-js/features/string/bold.js +++ b/packages/core-js/features/string/bold.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/bold'); +var parent = require('../../actual/string/bold'); module.exports = parent; diff --git a/packages/core-js/features/string/code-point-at.js b/packages/core-js/features/string/code-point-at.js index b12bff31d6ef..288fd3022ece 100644 --- a/packages/core-js/features/string/code-point-at.js +++ b/packages/core-js/features/string/code-point-at.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/code-point-at'); +var parent = require('../../actual/string/code-point-at'); module.exports = parent; diff --git a/packages/core-js/features/string/ends-with.js b/packages/core-js/features/string/ends-with.js index 2974957c2aee..331685608b33 100644 --- a/packages/core-js/features/string/ends-with.js +++ b/packages/core-js/features/string/ends-with.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/ends-with'); +var parent = require('../../actual/string/ends-with'); module.exports = parent; diff --git a/packages/core-js/features/string/fixed.js b/packages/core-js/features/string/fixed.js index 645f02c399a2..51fad3cd1472 100644 --- a/packages/core-js/features/string/fixed.js +++ b/packages/core-js/features/string/fixed.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/fixed'); +var parent = require('../../actual/string/fixed'); module.exports = parent; diff --git a/packages/core-js/features/string/fontcolor.js b/packages/core-js/features/string/fontcolor.js index 14b5c9ea7b3a..fe94191d0f0e 100644 --- a/packages/core-js/features/string/fontcolor.js +++ b/packages/core-js/features/string/fontcolor.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/fontcolor'); +var parent = require('../../actual/string/fontcolor'); module.exports = parent; diff --git a/packages/core-js/features/string/fontsize.js b/packages/core-js/features/string/fontsize.js index 98906edde989..ab96c420dd0e 100644 --- a/packages/core-js/features/string/fontsize.js +++ b/packages/core-js/features/string/fontsize.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/fontsize'); +var parent = require('../../actual/string/fontsize'); module.exports = parent; diff --git a/packages/core-js/features/string/from-code-point.js b/packages/core-js/features/string/from-code-point.js index 76c0579f9002..0a499170a1a9 100644 --- a/packages/core-js/features/string/from-code-point.js +++ b/packages/core-js/features/string/from-code-point.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/from-code-point'); +var parent = require('../../actual/string/from-code-point'); module.exports = parent; diff --git a/packages/core-js/features/string/includes.js b/packages/core-js/features/string/includes.js index a9e5ea961c4b..647417e2af9d 100644 --- a/packages/core-js/features/string/includes.js +++ b/packages/core-js/features/string/includes.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/includes'); +var parent = require('../../actual/string/includes'); module.exports = parent; diff --git a/packages/core-js/features/string/index.js b/packages/core-js/features/string/index.js index 42d16b2be061..f8ddb599dd9f 100644 --- a/packages/core-js/features/string/index.js +++ b/packages/core-js/features/string/index.js @@ -1,9 +1,7 @@ -var parent = require('../../stable/string'); +var parent = require('../../actual/string'); // TODO: remove from `core-js@4` require('../../modules/esnext.string.at'); require('../../modules/esnext.string.cooked'); -// TODO: disabled by default because of the conflict with another proposal -// require('../../modules/esnext.string.at-alternative'); require('../../modules/esnext.string.code-points'); // TODO: remove from `core-js@4` require('../../modules/esnext.string.match-all'); diff --git a/packages/core-js/features/string/italics.js b/packages/core-js/features/string/italics.js index c7624e1cfa71..63b6290da3a4 100644 --- a/packages/core-js/features/string/italics.js +++ b/packages/core-js/features/string/italics.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/italics'); +var parent = require('../../actual/string/italics'); module.exports = parent; diff --git a/packages/core-js/features/string/iterator.js b/packages/core-js/features/string/iterator.js index b439bff6967b..06307983e4d6 100644 --- a/packages/core-js/features/string/iterator.js +++ b/packages/core-js/features/string/iterator.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/iterator'); +var parent = require('../../actual/string/iterator'); module.exports = parent; diff --git a/packages/core-js/features/string/link.js b/packages/core-js/features/string/link.js index 9c3b708259e0..bdb928f7196e 100644 --- a/packages/core-js/features/string/link.js +++ b/packages/core-js/features/string/link.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/link'); +var parent = require('../../actual/string/link'); module.exports = parent; diff --git a/packages/core-js/features/string/match-all.js b/packages/core-js/features/string/match-all.js index 97e74f48e2f3..3d6163ff041a 100644 --- a/packages/core-js/features/string/match-all.js +++ b/packages/core-js/features/string/match-all.js @@ -1,6 +1,6 @@ // TODO: remove from `core-js@4` require('../../modules/esnext.string.match-all'); -var parent = require('../../stable/string/match-all'); +var parent = require('../../actual/string/match-all'); module.exports = parent; diff --git a/packages/core-js/features/string/match.js b/packages/core-js/features/string/match.js index f0ae6e821ff5..00b4edafad54 100644 --- a/packages/core-js/features/string/match.js +++ b/packages/core-js/features/string/match.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/match'); +var parent = require('../../actual/string/match'); module.exports = parent; diff --git a/packages/core-js/features/string/pad-end.js b/packages/core-js/features/string/pad-end.js index e004a9e7bb85..aa81dc21eb87 100644 --- a/packages/core-js/features/string/pad-end.js +++ b/packages/core-js/features/string/pad-end.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/pad-end'); +var parent = require('../../actual/string/pad-end'); module.exports = parent; diff --git a/packages/core-js/features/string/pad-start.js b/packages/core-js/features/string/pad-start.js index 15736c488a2e..7de52aa067ca 100644 --- a/packages/core-js/features/string/pad-start.js +++ b/packages/core-js/features/string/pad-start.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/pad-start'); +var parent = require('../../actual/string/pad-start'); module.exports = parent; diff --git a/packages/core-js/features/string/raw.js b/packages/core-js/features/string/raw.js index 249da0db871b..2d1e6a30b108 100644 --- a/packages/core-js/features/string/raw.js +++ b/packages/core-js/features/string/raw.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/raw'); +var parent = require('../../actual/string/raw'); module.exports = parent; diff --git a/packages/core-js/features/string/repeat.js b/packages/core-js/features/string/repeat.js index bd2da333e822..bd94eb95f13a 100644 --- a/packages/core-js/features/string/repeat.js +++ b/packages/core-js/features/string/repeat.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/repeat'); +var parent = require('../../actual/string/repeat'); module.exports = parent; diff --git a/packages/core-js/features/string/replace-all.js b/packages/core-js/features/string/replace-all.js index 25af56787676..3d0f743fff22 100644 --- a/packages/core-js/features/string/replace-all.js +++ b/packages/core-js/features/string/replace-all.js @@ -1,6 +1,6 @@ // TODO: remove from `core-js@4` require('../../modules/esnext.string.replace-all'); -var parent = require('../../stable/string/replace-all'); +var parent = require('../../actual/string/replace-all'); module.exports = parent; diff --git a/packages/core-js/features/string/replace.js b/packages/core-js/features/string/replace.js index 09009cec6bc2..f35395292832 100644 --- a/packages/core-js/features/string/replace.js +++ b/packages/core-js/features/string/replace.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/replace'); +var parent = require('../../actual/string/replace'); module.exports = parent; diff --git a/packages/core-js/features/string/search.js b/packages/core-js/features/string/search.js index 5ca36200720a..52c6b84a2232 100644 --- a/packages/core-js/features/string/search.js +++ b/packages/core-js/features/string/search.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/search'); +var parent = require('../../actual/string/search'); module.exports = parent; diff --git a/packages/core-js/features/string/small.js b/packages/core-js/features/string/small.js index 5c81c0a872d3..1c5c34eb3b0b 100644 --- a/packages/core-js/features/string/small.js +++ b/packages/core-js/features/string/small.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/small'); +var parent = require('../../actual/string/small'); module.exports = parent; diff --git a/packages/core-js/features/string/split.js b/packages/core-js/features/string/split.js index b435d7228e60..1a6dbfe1d85a 100644 --- a/packages/core-js/features/string/split.js +++ b/packages/core-js/features/string/split.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/split'); +var parent = require('../../actual/string/split'); module.exports = parent; diff --git a/packages/core-js/features/string/starts-with.js b/packages/core-js/features/string/starts-with.js index c5f5ecc65f98..a3f721cc2ccd 100644 --- a/packages/core-js/features/string/starts-with.js +++ b/packages/core-js/features/string/starts-with.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/starts-with'); +var parent = require('../../actual/string/starts-with'); module.exports = parent; diff --git a/packages/core-js/features/string/strike.js b/packages/core-js/features/string/strike.js index b7cdd90086fb..603122de5e0b 100644 --- a/packages/core-js/features/string/strike.js +++ b/packages/core-js/features/string/strike.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/strike'); +var parent = require('../../actual/string/strike'); module.exports = parent; diff --git a/packages/core-js/features/string/sub.js b/packages/core-js/features/string/sub.js index 49dcecd263d2..78b143ddf82c 100644 --- a/packages/core-js/features/string/sub.js +++ b/packages/core-js/features/string/sub.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/sub'); +var parent = require('../../actual/string/sub'); module.exports = parent; diff --git a/packages/core-js/features/string/substr.js b/packages/core-js/features/string/substr.js index c7cbe539f66e..7fa009371bf3 100644 --- a/packages/core-js/features/string/substr.js +++ b/packages/core-js/features/string/substr.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/substr'); +var parent = require('../../actual/string/substr'); module.exports = parent; diff --git a/packages/core-js/features/string/sup.js b/packages/core-js/features/string/sup.js index 1f766ae7efbd..2c9782d919c6 100644 --- a/packages/core-js/features/string/sup.js +++ b/packages/core-js/features/string/sup.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/sup'); +var parent = require('../../actual/string/sup'); module.exports = parent; diff --git a/packages/core-js/features/string/trim-end.js b/packages/core-js/features/string/trim-end.js index 942ee3f54d66..54161ee4ec00 100644 --- a/packages/core-js/features/string/trim-end.js +++ b/packages/core-js/features/string/trim-end.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/trim-end'); +var parent = require('../../actual/string/trim-end'); module.exports = parent; diff --git a/packages/core-js/features/string/trim-left.js b/packages/core-js/features/string/trim-left.js index fb66ece92291..43dfe6076586 100644 --- a/packages/core-js/features/string/trim-left.js +++ b/packages/core-js/features/string/trim-left.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/trim-left'); +var parent = require('../../actual/string/trim-left'); module.exports = parent; diff --git a/packages/core-js/features/string/trim-right.js b/packages/core-js/features/string/trim-right.js index a58d96607d42..eb688e3dcc94 100644 --- a/packages/core-js/features/string/trim-right.js +++ b/packages/core-js/features/string/trim-right.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/trim-right'); +var parent = require('../../actual/string/trim-right'); module.exports = parent; diff --git a/packages/core-js/features/string/trim-start.js b/packages/core-js/features/string/trim-start.js index 18131c037d22..51c466056e6a 100644 --- a/packages/core-js/features/string/trim-start.js +++ b/packages/core-js/features/string/trim-start.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/trim-start'); +var parent = require('../../actual/string/trim-start'); module.exports = parent; diff --git a/packages/core-js/features/string/trim.js b/packages/core-js/features/string/trim.js index 9fa0498df93a..e649eb43905b 100644 --- a/packages/core-js/features/string/trim.js +++ b/packages/core-js/features/string/trim.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/string/trim'); +var parent = require('../../actual/string/trim'); module.exports = parent; diff --git a/packages/core-js/features/string/virtual/anchor.js b/packages/core-js/features/string/virtual/anchor.js index 277e7acd72aa..8025ea36bea8 100644 --- a/packages/core-js/features/string/virtual/anchor.js +++ b/packages/core-js/features/string/virtual/anchor.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/string/virtual/anchor'); +var parent = require('../../../actual/string/virtual/anchor'); module.exports = parent; diff --git a/packages/core-js/features/string/virtual/at.js b/packages/core-js/features/string/virtual/at.js index 3fa0d14550c8..da47cc980e43 100644 --- a/packages/core-js/features/string/virtual/at.js +++ b/packages/core-js/features/string/virtual/at.js @@ -1,4 +1,4 @@ -require('../../../stable/string/virtual/at'); +require('../../../actual/string/virtual/at'); // TODO: Remove from `core-js@4` require('../../../modules/esnext.string.at'); var entryVirtual = require('../../../internals/entry-virtual'); diff --git a/packages/core-js/features/string/virtual/big.js b/packages/core-js/features/string/virtual/big.js index 44826a302440..c9d1a25849ee 100644 --- a/packages/core-js/features/string/virtual/big.js +++ b/packages/core-js/features/string/virtual/big.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/string/virtual/big'); +var parent = require('../../../actual/string/virtual/big'); module.exports = parent; diff --git a/packages/core-js/features/string/virtual/blink.js b/packages/core-js/features/string/virtual/blink.js index 9606cdb63d62..c87be71285da 100644 --- a/packages/core-js/features/string/virtual/blink.js +++ b/packages/core-js/features/string/virtual/blink.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/string/virtual/blink'); +var parent = require('../../../actual/string/virtual/blink'); module.exports = parent; diff --git a/packages/core-js/features/string/virtual/bold.js b/packages/core-js/features/string/virtual/bold.js index 17cce57b52d0..9390919d369d 100644 --- a/packages/core-js/features/string/virtual/bold.js +++ b/packages/core-js/features/string/virtual/bold.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/string/virtual/bold'); +var parent = require('../../../actual/string/virtual/bold'); module.exports = parent; diff --git a/packages/core-js/features/string/virtual/code-point-at.js b/packages/core-js/features/string/virtual/code-point-at.js index 7cb00c4a8c61..3242c2445fde 100644 --- a/packages/core-js/features/string/virtual/code-point-at.js +++ b/packages/core-js/features/string/virtual/code-point-at.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/string/virtual/code-point-at'); +var parent = require('../../../actual/string/virtual/code-point-at'); module.exports = parent; diff --git a/packages/core-js/features/string/virtual/ends-with.js b/packages/core-js/features/string/virtual/ends-with.js index fd2c25595827..f53fcc539e87 100644 --- a/packages/core-js/features/string/virtual/ends-with.js +++ b/packages/core-js/features/string/virtual/ends-with.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/string/virtual/ends-with'); +var parent = require('../../../actual/string/virtual/ends-with'); module.exports = parent; diff --git a/packages/core-js/features/string/virtual/fixed.js b/packages/core-js/features/string/virtual/fixed.js index 4abe3647fbbc..80d41613be73 100644 --- a/packages/core-js/features/string/virtual/fixed.js +++ b/packages/core-js/features/string/virtual/fixed.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/string/virtual/fixed'); +var parent = require('../../../actual/string/virtual/fixed'); module.exports = parent; diff --git a/packages/core-js/features/string/virtual/fontcolor.js b/packages/core-js/features/string/virtual/fontcolor.js index 62ca5465073d..3de8d2683ec1 100644 --- a/packages/core-js/features/string/virtual/fontcolor.js +++ b/packages/core-js/features/string/virtual/fontcolor.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/string/virtual/fontcolor'); +var parent = require('../../../actual/string/virtual/fontcolor'); module.exports = parent; diff --git a/packages/core-js/features/string/virtual/fontsize.js b/packages/core-js/features/string/virtual/fontsize.js index 809a94ededed..d1ac6a811171 100644 --- a/packages/core-js/features/string/virtual/fontsize.js +++ b/packages/core-js/features/string/virtual/fontsize.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/string/virtual/fontsize'); +var parent = require('../../../actual/string/virtual/fontsize'); module.exports = parent; diff --git a/packages/core-js/features/string/virtual/includes.js b/packages/core-js/features/string/virtual/includes.js index 2b2c7b254349..a0ebd38e5886 100644 --- a/packages/core-js/features/string/virtual/includes.js +++ b/packages/core-js/features/string/virtual/includes.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/string/virtual/includes'); +var parent = require('../../../actual/string/virtual/includes'); module.exports = parent; diff --git a/packages/core-js/features/string/virtual/index.js b/packages/core-js/features/string/virtual/index.js index b5dcddcc0a60..5838517a3bcc 100644 --- a/packages/core-js/features/string/virtual/index.js +++ b/packages/core-js/features/string/virtual/index.js @@ -1,4 +1,4 @@ -var parent = require('../../../stable/string/virtual'); +var parent = require('../../../actual/string/virtual'); // TODO: remove from `core-js@4` require('../../../modules/esnext.string.at'); require('../../../modules/esnext.string.code-points'); diff --git a/packages/core-js/features/string/virtual/italics.js b/packages/core-js/features/string/virtual/italics.js index 9ef84418604d..1f4d4211ce67 100644 --- a/packages/core-js/features/string/virtual/italics.js +++ b/packages/core-js/features/string/virtual/italics.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/string/virtual/italics'); +var parent = require('../../../actual/string/virtual/italics'); module.exports = parent; diff --git a/packages/core-js/features/string/virtual/iterator.js b/packages/core-js/features/string/virtual/iterator.js index a4b5a44e1b5c..fbdee71009ee 100644 --- a/packages/core-js/features/string/virtual/iterator.js +++ b/packages/core-js/features/string/virtual/iterator.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/string/virtual/iterator'); +var parent = require('../../../actual/string/virtual/iterator'); module.exports = parent; diff --git a/packages/core-js/features/string/virtual/link.js b/packages/core-js/features/string/virtual/link.js index 15c395d78da2..1409f33c7600 100644 --- a/packages/core-js/features/string/virtual/link.js +++ b/packages/core-js/features/string/virtual/link.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/string/virtual/link'); +var parent = require('../../../actual/string/virtual/link'); module.exports = parent; diff --git a/packages/core-js/features/string/virtual/match-all.js b/packages/core-js/features/string/virtual/match-all.js index b90b5c2e9fc2..a4be08cf3dc9 100644 --- a/packages/core-js/features/string/virtual/match-all.js +++ b/packages/core-js/features/string/virtual/match-all.js @@ -1,6 +1,6 @@ // TODO: remove from `core-js@4` require('../../../modules/esnext.string.match-all'); -var parent = require('../../../stable/string/virtual/match-all'); +var parent = require('../../../actual/string/virtual/match-all'); module.exports = parent; diff --git a/packages/core-js/features/string/virtual/pad-end.js b/packages/core-js/features/string/virtual/pad-end.js index 19dc7acde6b1..1201958d3559 100644 --- a/packages/core-js/features/string/virtual/pad-end.js +++ b/packages/core-js/features/string/virtual/pad-end.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/string/virtual/pad-end'); +var parent = require('../../../actual/string/virtual/pad-end'); module.exports = parent; diff --git a/packages/core-js/features/string/virtual/pad-start.js b/packages/core-js/features/string/virtual/pad-start.js index 22f8fe8d95f2..7bea18b15351 100644 --- a/packages/core-js/features/string/virtual/pad-start.js +++ b/packages/core-js/features/string/virtual/pad-start.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/string/virtual/pad-start'); +var parent = require('../../../actual/string/virtual/pad-start'); module.exports = parent; diff --git a/packages/core-js/features/string/virtual/repeat.js b/packages/core-js/features/string/virtual/repeat.js index 34af622a885c..aee4be9aef33 100644 --- a/packages/core-js/features/string/virtual/repeat.js +++ b/packages/core-js/features/string/virtual/repeat.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/string/virtual/repeat'); +var parent = require('../../../actual/string/virtual/repeat'); module.exports = parent; diff --git a/packages/core-js/features/string/virtual/replace-all.js b/packages/core-js/features/string/virtual/replace-all.js index c6ebd2782e9a..6814dac1d238 100644 --- a/packages/core-js/features/string/virtual/replace-all.js +++ b/packages/core-js/features/string/virtual/replace-all.js @@ -1,6 +1,6 @@ // TODO: remove from `core-js@4` require('../../../modules/esnext.string.replace-all'); -var parent = require('../../../stable/string/virtual/replace-all'); +var parent = require('../../../actual/string/virtual/replace-all'); module.exports = parent; diff --git a/packages/core-js/features/string/virtual/small.js b/packages/core-js/features/string/virtual/small.js index 6f0c0ca24f00..1046ccb8501b 100644 --- a/packages/core-js/features/string/virtual/small.js +++ b/packages/core-js/features/string/virtual/small.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/string/virtual/small'); +var parent = require('../../../actual/string/virtual/small'); module.exports = parent; diff --git a/packages/core-js/features/string/virtual/starts-with.js b/packages/core-js/features/string/virtual/starts-with.js index b0fe525d2c21..7059a6dbc831 100644 --- a/packages/core-js/features/string/virtual/starts-with.js +++ b/packages/core-js/features/string/virtual/starts-with.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/string/virtual/starts-with'); +var parent = require('../../../actual/string/virtual/starts-with'); module.exports = parent; diff --git a/packages/core-js/features/string/virtual/strike.js b/packages/core-js/features/string/virtual/strike.js index 3b50b89d5731..8d386e12dd66 100644 --- a/packages/core-js/features/string/virtual/strike.js +++ b/packages/core-js/features/string/virtual/strike.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/string/virtual/strike'); +var parent = require('../../../actual/string/virtual/strike'); module.exports = parent; diff --git a/packages/core-js/features/string/virtual/sub.js b/packages/core-js/features/string/virtual/sub.js index d48b2df551cc..e62bec62ffcc 100644 --- a/packages/core-js/features/string/virtual/sub.js +++ b/packages/core-js/features/string/virtual/sub.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/string/virtual/sub'); +var parent = require('../../../actual/string/virtual/sub'); module.exports = parent; diff --git a/packages/core-js/features/string/virtual/substr.js b/packages/core-js/features/string/virtual/substr.js index 40beb068d7a5..536b867169a3 100644 --- a/packages/core-js/features/string/virtual/substr.js +++ b/packages/core-js/features/string/virtual/substr.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/string/virtual/substr'); +var parent = require('../../../actual/string/virtual/substr'); module.exports = parent; diff --git a/packages/core-js/features/string/virtual/sup.js b/packages/core-js/features/string/virtual/sup.js index a60dd45e4e30..2e24df851844 100644 --- a/packages/core-js/features/string/virtual/sup.js +++ b/packages/core-js/features/string/virtual/sup.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/string/virtual/sup'); +var parent = require('../../../actual/string/virtual/sup'); module.exports = parent; diff --git a/packages/core-js/features/string/virtual/trim-end.js b/packages/core-js/features/string/virtual/trim-end.js index b9792caafd80..df07e4166fc4 100644 --- a/packages/core-js/features/string/virtual/trim-end.js +++ b/packages/core-js/features/string/virtual/trim-end.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/string/virtual/trim-end'); +var parent = require('../../../actual/string/virtual/trim-end'); module.exports = parent; diff --git a/packages/core-js/features/string/virtual/trim-left.js b/packages/core-js/features/string/virtual/trim-left.js index 146470bc7103..0790d80a5cbf 100644 --- a/packages/core-js/features/string/virtual/trim-left.js +++ b/packages/core-js/features/string/virtual/trim-left.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/string/virtual/trim-left'); +var parent = require('../../../actual/string/virtual/trim-left'); module.exports = parent; diff --git a/packages/core-js/features/string/virtual/trim-right.js b/packages/core-js/features/string/virtual/trim-right.js index 44cc597c8bd3..2f7a56229a1f 100644 --- a/packages/core-js/features/string/virtual/trim-right.js +++ b/packages/core-js/features/string/virtual/trim-right.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/string/virtual/trim-right'); +var parent = require('../../../actual/string/virtual/trim-right'); module.exports = parent; diff --git a/packages/core-js/features/string/virtual/trim-start.js b/packages/core-js/features/string/virtual/trim-start.js index 776560053275..d605db9724ec 100644 --- a/packages/core-js/features/string/virtual/trim-start.js +++ b/packages/core-js/features/string/virtual/trim-start.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/string/virtual/trim-start'); +var parent = require('../../../actual/string/virtual/trim-start'); module.exports = parent; diff --git a/packages/core-js/features/string/virtual/trim.js b/packages/core-js/features/string/virtual/trim.js index b5680ceed426..4ed624e4a1eb 100644 --- a/packages/core-js/features/string/virtual/trim.js +++ b/packages/core-js/features/string/virtual/trim.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/string/virtual/trim'); +var parent = require('../../../actual/string/virtual/trim'); module.exports = parent; diff --git a/packages/core-js/features/symbol/async-iterator.js b/packages/core-js/features/symbol/async-iterator.js index 04bdea1ef404..0428df16ab18 100644 --- a/packages/core-js/features/symbol/async-iterator.js +++ b/packages/core-js/features/symbol/async-iterator.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/symbol/async-iterator'); +var parent = require('../../actual/symbol/async-iterator'); module.exports = parent; diff --git a/packages/core-js/features/symbol/for.js b/packages/core-js/features/symbol/for.js index 88ac02754843..cdf6955ccc39 100644 --- a/packages/core-js/features/symbol/for.js +++ b/packages/core-js/features/symbol/for.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/symbol/for'); +var parent = require('../../actual/symbol/for'); module.exports = parent; diff --git a/packages/core-js/features/symbol/has-instance.js b/packages/core-js/features/symbol/has-instance.js index 3844587c223e..ab0b41cb9757 100644 --- a/packages/core-js/features/symbol/has-instance.js +++ b/packages/core-js/features/symbol/has-instance.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/symbol/has-instance'); +var parent = require('../../actual/symbol/has-instance'); module.exports = parent; diff --git a/packages/core-js/features/symbol/index.js b/packages/core-js/features/symbol/index.js index c09a87dc1916..3a59016a76a1 100644 --- a/packages/core-js/features/symbol/index.js +++ b/packages/core-js/features/symbol/index.js @@ -1,4 +1,4 @@ -var parent = require('../../stable/symbol'); +var parent = require('../../actual/symbol'); require('../../modules/esnext.symbol.async-dispose'); require('../../modules/esnext.symbol.dispose'); require('../../modules/esnext.symbol.matcher'); diff --git a/packages/core-js/features/symbol/is-concat-spreadable.js b/packages/core-js/features/symbol/is-concat-spreadable.js index b11233c9927a..444bdccf19f2 100644 --- a/packages/core-js/features/symbol/is-concat-spreadable.js +++ b/packages/core-js/features/symbol/is-concat-spreadable.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/symbol/is-concat-spreadable'); +var parent = require('../../actual/symbol/is-concat-spreadable'); module.exports = parent; diff --git a/packages/core-js/features/symbol/iterator.js b/packages/core-js/features/symbol/iterator.js index 35659798db7c..5cb72edef22c 100644 --- a/packages/core-js/features/symbol/iterator.js +++ b/packages/core-js/features/symbol/iterator.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/symbol/iterator'); +var parent = require('../../actual/symbol/iterator'); module.exports = parent; diff --git a/packages/core-js/features/symbol/key-for.js b/packages/core-js/features/symbol/key-for.js index 2ddbccbf8c58..f8f40dff9f56 100644 --- a/packages/core-js/features/symbol/key-for.js +++ b/packages/core-js/features/symbol/key-for.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/symbol/key-for'); +var parent = require('../../actual/symbol/key-for'); module.exports = parent; diff --git a/packages/core-js/features/symbol/match-all.js b/packages/core-js/features/symbol/match-all.js index 73c5ca93324b..5fb49aee4359 100644 --- a/packages/core-js/features/symbol/match-all.js +++ b/packages/core-js/features/symbol/match-all.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/symbol/match-all'); +var parent = require('../../actual/symbol/match-all'); module.exports = parent; diff --git a/packages/core-js/features/symbol/match.js b/packages/core-js/features/symbol/match.js index b671ea8a6ac1..e60d4da955f2 100644 --- a/packages/core-js/features/symbol/match.js +++ b/packages/core-js/features/symbol/match.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/symbol/match'); +var parent = require('../../actual/symbol/match'); module.exports = parent; diff --git a/packages/core-js/features/symbol/replace.js b/packages/core-js/features/symbol/replace.js index a86f08081b17..9dececb43c00 100644 --- a/packages/core-js/features/symbol/replace.js +++ b/packages/core-js/features/symbol/replace.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/symbol/replace'); +var parent = require('../../actual/symbol/replace'); module.exports = parent; diff --git a/packages/core-js/features/symbol/search.js b/packages/core-js/features/symbol/search.js index 2bd9f374c5db..c51b1d37f726 100644 --- a/packages/core-js/features/symbol/search.js +++ b/packages/core-js/features/symbol/search.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/symbol/search'); +var parent = require('../../actual/symbol/search'); module.exports = parent; diff --git a/packages/core-js/features/symbol/species.js b/packages/core-js/features/symbol/species.js index 7e936104baf0..0013769d9396 100644 --- a/packages/core-js/features/symbol/species.js +++ b/packages/core-js/features/symbol/species.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/symbol/species'); +var parent = require('../../actual/symbol/species'); module.exports = parent; diff --git a/packages/core-js/features/symbol/split.js b/packages/core-js/features/symbol/split.js index 71ad7910c14a..351f0517db54 100644 --- a/packages/core-js/features/symbol/split.js +++ b/packages/core-js/features/symbol/split.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/symbol/split'); +var parent = require('../../actual/symbol/split'); module.exports = parent; diff --git a/packages/core-js/features/symbol/to-primitive.js b/packages/core-js/features/symbol/to-primitive.js index 113818adbbde..9fa846269ce8 100644 --- a/packages/core-js/features/symbol/to-primitive.js +++ b/packages/core-js/features/symbol/to-primitive.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/symbol/to-primitive'); +var parent = require('../../actual/symbol/to-primitive'); module.exports = parent; diff --git a/packages/core-js/features/symbol/to-string-tag.js b/packages/core-js/features/symbol/to-string-tag.js index c0c0f0a254f7..43320c9e95f8 100644 --- a/packages/core-js/features/symbol/to-string-tag.js +++ b/packages/core-js/features/symbol/to-string-tag.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/symbol/to-string-tag'); +var parent = require('../../actual/symbol/to-string-tag'); module.exports = parent; diff --git a/packages/core-js/features/symbol/unscopables.js b/packages/core-js/features/symbol/unscopables.js index f45cf12e848a..01f1d4d1864e 100644 --- a/packages/core-js/features/symbol/unscopables.js +++ b/packages/core-js/features/symbol/unscopables.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/symbol/unscopables'); +var parent = require('../../actual/symbol/unscopables'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/at.js b/packages/core-js/features/typed-array/at.js index d9793c1c474a..a549dd1e32dc 100644 --- a/packages/core-js/features/typed-array/at.js +++ b/packages/core-js/features/typed-array/at.js @@ -1,4 +1,4 @@ -var parent = require('../../stable/typed-array/every'); +var parent = require('../../actual/typed-array/every'); // TODO: Remove from `core-js@4` require('../../modules/esnext.typed-array.at'); diff --git a/packages/core-js/features/typed-array/copy-within.js b/packages/core-js/features/typed-array/copy-within.js index 6344fc64dcd4..06d7be80b314 100644 --- a/packages/core-js/features/typed-array/copy-within.js +++ b/packages/core-js/features/typed-array/copy-within.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/typed-array/copy-within'); +var parent = require('../../actual/typed-array/copy-within'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/entries.js b/packages/core-js/features/typed-array/entries.js index 5ae8915f146b..83f7ff2d1128 100644 --- a/packages/core-js/features/typed-array/entries.js +++ b/packages/core-js/features/typed-array/entries.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/typed-array/entries'); +var parent = require('../../actual/typed-array/entries'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/every.js b/packages/core-js/features/typed-array/every.js index 8beccc9d5baf..3a18ef419b4f 100644 --- a/packages/core-js/features/typed-array/every.js +++ b/packages/core-js/features/typed-array/every.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/typed-array/every'); +var parent = require('../../actual/typed-array/every'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/fill.js b/packages/core-js/features/typed-array/fill.js index 0c2104020368..98ef559ead04 100644 --- a/packages/core-js/features/typed-array/fill.js +++ b/packages/core-js/features/typed-array/fill.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/typed-array/fill'); +var parent = require('../../actual/typed-array/fill'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/filter.js b/packages/core-js/features/typed-array/filter.js index 3b4f24850c17..5de26d8b5be0 100644 --- a/packages/core-js/features/typed-array/filter.js +++ b/packages/core-js/features/typed-array/filter.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/typed-array/filter'); +var parent = require('../../actual/typed-array/filter'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/find-index.js b/packages/core-js/features/typed-array/find-index.js index 461242518f24..700bf8820b76 100644 --- a/packages/core-js/features/typed-array/find-index.js +++ b/packages/core-js/features/typed-array/find-index.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/typed-array/find-index'); +var parent = require('../../actual/typed-array/find-index'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/find-last-index.js b/packages/core-js/features/typed-array/find-last-index.js index 096a3a3fe85a..298b9c9ca098 100644 --- a/packages/core-js/features/typed-array/find-last-index.js +++ b/packages/core-js/features/typed-array/find-last-index.js @@ -1 +1,3 @@ -require('../../modules/esnext.typed-array.find-last-index'); +var parent = require('../../actual/typed-array/find-last-index'); + +module.exports = parent; diff --git a/packages/core-js/features/typed-array/find-last.js b/packages/core-js/features/typed-array/find-last.js index af9a272e2efa..d03e3bb85ef4 100644 --- a/packages/core-js/features/typed-array/find-last.js +++ b/packages/core-js/features/typed-array/find-last.js @@ -1 +1,3 @@ -require('../../modules/esnext.typed-array.find-last'); +var parent = require('../../actual/typed-array/find-last'); + +module.exports = parent; diff --git a/packages/core-js/features/typed-array/find.js b/packages/core-js/features/typed-array/find.js index cd1f85df1a18..d9e346be8ad5 100644 --- a/packages/core-js/features/typed-array/find.js +++ b/packages/core-js/features/typed-array/find.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/typed-array/find'); +var parent = require('../../actual/typed-array/find'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/float32-array.js b/packages/core-js/features/typed-array/float32-array.js index 71a00977721d..18b289ab0a45 100644 --- a/packages/core-js/features/typed-array/float32-array.js +++ b/packages/core-js/features/typed-array/float32-array.js @@ -1,4 +1,4 @@ -var parent = require('../../stable/typed-array/float32-array'); +var parent = require('../../actual/typed-array/float32-array'); require('../../features/typed-array/methods'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/float64-array.js b/packages/core-js/features/typed-array/float64-array.js index 8bad2a924a7a..de4bf0d30b6b 100644 --- a/packages/core-js/features/typed-array/float64-array.js +++ b/packages/core-js/features/typed-array/float64-array.js @@ -1,4 +1,4 @@ -var parent = require('../../stable/typed-array/float64-array'); +var parent = require('../../actual/typed-array/float64-array'); require('../../features/typed-array/methods'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/for-each.js b/packages/core-js/features/typed-array/for-each.js index 32af05d96028..5d93fef63882 100644 --- a/packages/core-js/features/typed-array/for-each.js +++ b/packages/core-js/features/typed-array/for-each.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/typed-array/for-each'); +var parent = require('../../actual/typed-array/for-each'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/from.js b/packages/core-js/features/typed-array/from.js index 016b18004be9..c4d5b6aba923 100644 --- a/packages/core-js/features/typed-array/from.js +++ b/packages/core-js/features/typed-array/from.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/typed-array/from'); +var parent = require('../../actual/typed-array/from'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/includes.js b/packages/core-js/features/typed-array/includes.js index ca9fcd87bfea..e2954f89a9a7 100644 --- a/packages/core-js/features/typed-array/includes.js +++ b/packages/core-js/features/typed-array/includes.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/typed-array/includes'); +var parent = require('../../actual/typed-array/includes'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/index-of.js b/packages/core-js/features/typed-array/index-of.js index 64ab0977f2b7..a009ddfbf4fd 100644 --- a/packages/core-js/features/typed-array/index-of.js +++ b/packages/core-js/features/typed-array/index-of.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/typed-array/index-of'); +var parent = require('../../actual/typed-array/index-of'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/index.js b/packages/core-js/features/typed-array/index.js index 80760c62015e..cdd64b6f49d8 100644 --- a/packages/core-js/features/typed-array/index.js +++ b/packages/core-js/features/typed-array/index.js @@ -1,4 +1,4 @@ -var parent = require('../../stable/typed-array'); +var parent = require('../../actual/typed-array'); require('../../modules/es.map'); require('../../modules/es.promise'); require('../../modules/esnext.typed-array.from-async'); @@ -7,8 +7,6 @@ require('../../modules/esnext.typed-array.at'); // TODO: Remove from `core-js@4` require('../../modules/esnext.typed-array.filter-out'); require('../../modules/esnext.typed-array.filter-reject'); -require('../../modules/esnext.typed-array.find-last'); -require('../../modules/esnext.typed-array.find-last-index'); require('../../modules/esnext.typed-array.group-by'); require('../../modules/esnext.typed-array.to-reversed'); require('../../modules/esnext.typed-array.to-sorted'); diff --git a/packages/core-js/features/typed-array/int16-array.js b/packages/core-js/features/typed-array/int16-array.js index b363806edcce..baaff6316386 100644 --- a/packages/core-js/features/typed-array/int16-array.js +++ b/packages/core-js/features/typed-array/int16-array.js @@ -1,4 +1,4 @@ -var parent = require('../../stable/typed-array/int16-array'); +var parent = require('../../actual/typed-array/int16-array'); require('../../features/typed-array/methods'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/int32-array.js b/packages/core-js/features/typed-array/int32-array.js index 70ef872b4818..565e2bbde1de 100644 --- a/packages/core-js/features/typed-array/int32-array.js +++ b/packages/core-js/features/typed-array/int32-array.js @@ -1,4 +1,4 @@ -var parent = require('../../stable/typed-array/int32-array'); +var parent = require('../../actual/typed-array/int32-array'); require('../../features/typed-array/methods'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/int8-array.js b/packages/core-js/features/typed-array/int8-array.js index 168f911e31f3..8df354a52cb1 100644 --- a/packages/core-js/features/typed-array/int8-array.js +++ b/packages/core-js/features/typed-array/int8-array.js @@ -1,4 +1,4 @@ -var parent = require('../../stable/typed-array/int8-array'); +var parent = require('../../actual/typed-array/int8-array'); require('../../features/typed-array/methods'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/iterator.js b/packages/core-js/features/typed-array/iterator.js index 377e421786d3..8620cd81a6b2 100644 --- a/packages/core-js/features/typed-array/iterator.js +++ b/packages/core-js/features/typed-array/iterator.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/typed-array/iterator'); +var parent = require('../../actual/typed-array/iterator'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/join.js b/packages/core-js/features/typed-array/join.js index 71ab65596a4c..2f22009cf1ab 100644 --- a/packages/core-js/features/typed-array/join.js +++ b/packages/core-js/features/typed-array/join.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/typed-array/join'); +var parent = require('../../actual/typed-array/join'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/keys.js b/packages/core-js/features/typed-array/keys.js index 97324b789ced..13e48b13b923 100644 --- a/packages/core-js/features/typed-array/keys.js +++ b/packages/core-js/features/typed-array/keys.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/typed-array/keys'); +var parent = require('../../actual/typed-array/keys'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/last-index-of.js b/packages/core-js/features/typed-array/last-index-of.js index a51aa3c02974..45822fa0ed51 100644 --- a/packages/core-js/features/typed-array/last-index-of.js +++ b/packages/core-js/features/typed-array/last-index-of.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/typed-array/last-index-of'); +var parent = require('../../actual/typed-array/last-index-of'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/map.js b/packages/core-js/features/typed-array/map.js index 669b4c7d4aae..901497d872b0 100644 --- a/packages/core-js/features/typed-array/map.js +++ b/packages/core-js/features/typed-array/map.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/typed-array/map'); +var parent = require('../../actual/typed-array/map'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/methods.js b/packages/core-js/features/typed-array/methods.js index 3188b466926b..d745611ebbe6 100644 --- a/packages/core-js/features/typed-array/methods.js +++ b/packages/core-js/features/typed-array/methods.js @@ -1,4 +1,4 @@ -var parent = require('../../stable/typed-array/methods'); +var parent = require('../../actual/typed-array/methods'); require('../../modules/es.map'); require('../../modules/es.promise'); require('../../modules/esnext.typed-array.from-async'); @@ -7,8 +7,6 @@ require('../../modules/esnext.typed-array.at'); // TODO: Remove from `core-js@4` require('../../modules/esnext.typed-array.filter-out'); require('../../modules/esnext.typed-array.filter-reject'); -require('../../modules/esnext.typed-array.find-last'); -require('../../modules/esnext.typed-array.find-last-index'); require('../../modules/esnext.typed-array.group-by'); require('../../modules/esnext.typed-array.to-reversed'); require('../../modules/esnext.typed-array.to-sorted'); diff --git a/packages/core-js/features/typed-array/of.js b/packages/core-js/features/typed-array/of.js index 17082f89b1a6..c351186ee5ef 100644 --- a/packages/core-js/features/typed-array/of.js +++ b/packages/core-js/features/typed-array/of.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/typed-array/of'); +var parent = require('../../actual/typed-array/of'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/reduce-right.js b/packages/core-js/features/typed-array/reduce-right.js index 82c1b103abb0..c31f13ade33c 100644 --- a/packages/core-js/features/typed-array/reduce-right.js +++ b/packages/core-js/features/typed-array/reduce-right.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/typed-array/reduce-right'); +var parent = require('../../actual/typed-array/reduce-right'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/reduce.js b/packages/core-js/features/typed-array/reduce.js index 9f655ec8e82d..32d48f1fa9bb 100644 --- a/packages/core-js/features/typed-array/reduce.js +++ b/packages/core-js/features/typed-array/reduce.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/typed-array/reduce'); +var parent = require('../../actual/typed-array/reduce'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/reverse.js b/packages/core-js/features/typed-array/reverse.js index 52b90bc3ad5c..0f196665d975 100644 --- a/packages/core-js/features/typed-array/reverse.js +++ b/packages/core-js/features/typed-array/reverse.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/typed-array/reverse'); +var parent = require('../../actual/typed-array/reverse'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/set.js b/packages/core-js/features/typed-array/set.js index 8e5de9457ee2..73c1a5734f90 100644 --- a/packages/core-js/features/typed-array/set.js +++ b/packages/core-js/features/typed-array/set.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/typed-array/set'); +var parent = require('../../actual/typed-array/set'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/slice.js b/packages/core-js/features/typed-array/slice.js index cf7efb2ed2eb..2ef5450c14bd 100644 --- a/packages/core-js/features/typed-array/slice.js +++ b/packages/core-js/features/typed-array/slice.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/typed-array/slice'); +var parent = require('../../actual/typed-array/slice'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/some.js b/packages/core-js/features/typed-array/some.js index c3e9cf1a8401..05fdcf059087 100644 --- a/packages/core-js/features/typed-array/some.js +++ b/packages/core-js/features/typed-array/some.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/typed-array/some'); +var parent = require('../../actual/typed-array/some'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/sort.js b/packages/core-js/features/typed-array/sort.js index 3d3e54633cff..e34b510ab908 100644 --- a/packages/core-js/features/typed-array/sort.js +++ b/packages/core-js/features/typed-array/sort.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/typed-array/sort'); +var parent = require('../../actual/typed-array/sort'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/subarray.js b/packages/core-js/features/typed-array/subarray.js index f89a8fc0c28c..54c6a2c11110 100644 --- a/packages/core-js/features/typed-array/subarray.js +++ b/packages/core-js/features/typed-array/subarray.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/typed-array/subarray'); +var parent = require('../../actual/typed-array/subarray'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/to-locale-string.js b/packages/core-js/features/typed-array/to-locale-string.js index fe6589c77faa..11fb9d56ec5d 100644 --- a/packages/core-js/features/typed-array/to-locale-string.js +++ b/packages/core-js/features/typed-array/to-locale-string.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/typed-array/to-locale-string'); +var parent = require('../../actual/typed-array/to-locale-string'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/to-string.js b/packages/core-js/features/typed-array/to-string.js index 9ccb6a2132be..662ff58269d9 100644 --- a/packages/core-js/features/typed-array/to-string.js +++ b/packages/core-js/features/typed-array/to-string.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/typed-array/to-string'); +var parent = require('../../actual/typed-array/to-string'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/uint16-array.js b/packages/core-js/features/typed-array/uint16-array.js index ae858876895a..b2271f8436a2 100644 --- a/packages/core-js/features/typed-array/uint16-array.js +++ b/packages/core-js/features/typed-array/uint16-array.js @@ -1,4 +1,4 @@ -var parent = require('../../stable/typed-array/uint16-array'); +var parent = require('../../actual/typed-array/uint16-array'); require('../../features/typed-array/methods'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/uint32-array.js b/packages/core-js/features/typed-array/uint32-array.js index b4a4123fb4ef..4f72b94eccd4 100644 --- a/packages/core-js/features/typed-array/uint32-array.js +++ b/packages/core-js/features/typed-array/uint32-array.js @@ -1,4 +1,4 @@ -var parent = require('../../stable/typed-array/uint32-array'); +var parent = require('../../actual/typed-array/uint32-array'); require('../../features/typed-array/methods'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/uint8-array.js b/packages/core-js/features/typed-array/uint8-array.js index 8dd57d7b214f..64f2d5d9ed41 100644 --- a/packages/core-js/features/typed-array/uint8-array.js +++ b/packages/core-js/features/typed-array/uint8-array.js @@ -1,4 +1,4 @@ -var parent = require('../../stable/typed-array/uint8-array'); +var parent = require('../../actual/typed-array/uint8-array'); require('../../features/typed-array/methods'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/uint8-clamped-array.js b/packages/core-js/features/typed-array/uint8-clamped-array.js index b563039de09d..17a87173bf21 100644 --- a/packages/core-js/features/typed-array/uint8-clamped-array.js +++ b/packages/core-js/features/typed-array/uint8-clamped-array.js @@ -1,4 +1,4 @@ -var parent = require('../../stable/typed-array/uint8-clamped-array'); +var parent = require('../../actual/typed-array/uint8-clamped-array'); require('../../features/typed-array/methods'); module.exports = parent; diff --git a/packages/core-js/features/typed-array/values.js b/packages/core-js/features/typed-array/values.js index 98d458be8147..9456dfb170be 100644 --- a/packages/core-js/features/typed-array/values.js +++ b/packages/core-js/features/typed-array/values.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/typed-array/values'); +var parent = require('../../actual/typed-array/values'); module.exports = parent; diff --git a/packages/core-js/features/unescape.js b/packages/core-js/features/unescape.js index f5d78c0e66b0..cf895fb5600b 100644 --- a/packages/core-js/features/unescape.js +++ b/packages/core-js/features/unescape.js @@ -1,3 +1,3 @@ -var parent = require('../stable/unescape'); +var parent = require('../actual/unescape'); module.exports = parent; diff --git a/packages/core-js/features/url-search-params/index.js b/packages/core-js/features/url-search-params/index.js index 46c415b89781..d8661ea6793e 100644 --- a/packages/core-js/features/url-search-params/index.js +++ b/packages/core-js/features/url-search-params/index.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/url-search-params'); +var parent = require('../../actual/url-search-params'); module.exports = parent; diff --git a/packages/core-js/features/url/index.js b/packages/core-js/features/url/index.js index fa902afd6d06..fe9d86f0700b 100644 --- a/packages/core-js/features/url/index.js +++ b/packages/core-js/features/url/index.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/url'); +var parent = require('../../actual/url'); module.exports = parent; diff --git a/packages/core-js/features/url/to-json.js b/packages/core-js/features/url/to-json.js index e7cafe81bdf6..a4b10cf43fce 100644 --- a/packages/core-js/features/url/to-json.js +++ b/packages/core-js/features/url/to-json.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/url/to-json'); +var parent = require('../../actual/url/to-json'); module.exports = parent; diff --git a/packages/core-js/features/weak-map/index.js b/packages/core-js/features/weak-map/index.js index 8f8825a110d9..8cf5bd2d8d76 100644 --- a/packages/core-js/features/weak-map/index.js +++ b/packages/core-js/features/weak-map/index.js @@ -1,4 +1,4 @@ -var parent = require('../../stable/weak-map'); +var parent = require('../../actual/weak-map'); require('../../modules/es.string.iterator'); require('../../modules/esnext.weak-map.emplace'); require('../../modules/esnext.weak-map.from'); diff --git a/packages/core-js/features/weak-set/index.js b/packages/core-js/features/weak-set/index.js index 9625b5ad6a9c..c815e7ff93c3 100644 --- a/packages/core-js/features/weak-set/index.js +++ b/packages/core-js/features/weak-set/index.js @@ -1,4 +1,4 @@ -var parent = require('../../stable/weak-set'); +var parent = require('../../actual/weak-set'); require('../../modules/es.string.iterator'); require('../../modules/esnext.weak-set.add-all'); require('../../modules/esnext.weak-set.delete-all'); diff --git a/packages/core-js/stable/symbol/description.js b/packages/core-js/stable/symbol/description.js index 7bb4b2bc9c5d..a6309f483c54 100644 --- a/packages/core-js/stable/symbol/description.js +++ b/packages/core-js/stable/symbol/description.js @@ -1 +1,3 @@ -require('../../modules/es.symbol.description'); +var parent = require('../../es/symbol/description'); + +module.exports = parent; diff --git a/scripts/build-compat-entries.mjs b/scripts/build-compat-entries.mjs index c481b5ef04ac..8f9390130613 100644 --- a/scripts/build-compat-entries.mjs +++ b/scripts/build-compat-entries.mjs @@ -22,6 +22,7 @@ async function getModulesForEntryPoint(path, parent) { const entriesList = await globby([ 'packages/core-js/index.js', + 'packages/core-js/actual/**/*.js', 'packages/core-js/es/**/*.js', 'packages/core-js/features/**/*.js', 'packages/core-js/modules/*.js', diff --git a/tests/commonjs-entries-content.mjs b/tests/commonjs-entries-content.mjs index 6d82cf5e6212..788156a065ec 100644 --- a/tests/commonjs-entries-content.mjs +++ b/tests/commonjs-entries-content.mjs @@ -77,6 +77,29 @@ superset('core-js/stable/url', /^web\.url(\.|$)/); superset('core-js/stable/url-search-params', /^web\.url-search-params/); superset('core-js/stable/weak-map', /^es\.weak-map/); superset('core-js/stable/weak-set', /^es\.weak-set/); +superset('core-js/actual', /^(es|web)\./); +superset('core-js/actual/array', /^es\.array\./); +superset('core-js/actual/array-buffer', /^es\.array-buffer\./); +superset('core-js/actual/data-view', /^es\.data-view\./); +superset('core-js/actual/date', /^es\.date\./); +superset('core-js/actual/dom-collections', /^web\.dom-collections\./); +superset('core-js/actual/function', /^es\.function\./); +superset('core-js/actual/json', /^es\.json\./); +superset('core-js/actual/map', /^es\.map/); +superset('core-js/actual/math', /^es\.math\./); +superset('core-js/actual/number', /^es\.number\./); +superset('core-js/actual/object', /^es\.object\./); +superset('core-js/actual/promise', /^es\.promise/); +superset('core-js/actual/reflect', /^es\.reflect\./); +superset('core-js/actual/regexp', /^es\.regexp\./); +superset('core-js/actual/set', /^es\.set/); +superset('core-js/actual/string', /^es\.string\./); +superset('core-js/actual/symbol', /^es\.symbol/); +superset('core-js/actual/typed-array', /^es\.typed-array\./); +superset('core-js/actual/url', /^web\.url(\.|$)/); +superset('core-js/actual/url-search-params', /^web\.url-search-params/); +superset('core-js/actual/weak-map', /^es\.weak-map/); +superset('core-js/actual/weak-set', /^es\.weak-set/); equal('core-js/features', allModules); superset('core-js/features/array', /^(es|esnext)\.array\./); superset('core-js/features/array-buffer', /^(es|esnext)\.array-buffer\./); @@ -126,9 +149,10 @@ async function unexpectedInnerNamespace(namespace, unexpected) { } await Promise.all([ - unexpectedInnerNamespace('es', /\/(?:features|stable)\//), - unexpectedInnerNamespace('stable', /\/features\//), - unexpectedInnerNamespace('features', /\/es\//), + unexpectedInnerNamespace('es', /\/(?:actual|features|stable)\//), + unexpectedInnerNamespace('stable', /\/(?:actual|features)\//), + unexpectedInnerNamespace('actual', /\/(?:es|features)\//), + unexpectedInnerNamespace('features', /\/(?:es|stable)\//), ]); console.log(chalk.green('entry points content tested')); diff --git a/tests/commonjs.mjs b/tests/commonjs.mjs index 957d29807d15..92e84317e889 100644 --- a/tests/commonjs.mjs +++ b/tests/commonjs.mjs @@ -16,7 +16,7 @@ function load(...components) { } for (PATH of ['core-js-pure', 'core-js']) { - for (const NS of ['es', 'stable', 'features']) { + for (const NS of ['es', 'stable', 'actual', 'features']) { let O; ok(load(NS, 'global-this').Math === Math); ok(new (load(NS, 'aggregate-error'))([42]).errors[0] === 42); @@ -544,7 +544,7 @@ for (PATH of ['core-js-pure', 'core-js']) { ok(instanceValues([]).call([1, 2, 3]).next().value === 1); } - for (const NS of ['stable', 'features']) { + for (const NS of ['stable', 'actual', 'features']) { ok(typeof load(NS, 'dom-exception/constructor') == 'function'); ok(load(NS, 'dom-exception/to-string-tag') === 'DOMException'); ok(typeof load(NS, 'dom-exception') == 'function'); @@ -562,6 +562,25 @@ for (PATH of ['core-js-pure', 'core-js']) { ok(typeof load(NS, 'url-search-params') == 'function'); } + for (const NS of ['actual', 'features']) { + ok(load(NS, 'array/find-last')([1, 2, 3], it => it % 2) === 3); + ok(load(NS, 'array/find-last-index')([1, 2, 3], it => it % 2) === 2); + ok(load(NS, 'array/virtual/find-last').call([1, 2, 3], it => it % 2) === 3); + ok(load(NS, 'array/virtual/find-last-index').call([1, 2, 3], it => it % 2) === 2); + + const instanceFindLastIndex = load(NS, 'instance/find-last-index'); + ok(typeof instanceFindLastIndex == 'function'); + ok(instanceFindLastIndex({}) === undefined); + ok(typeof instanceFindLastIndex([]) == 'function'); + ok(instanceFindLastIndex([]).call([1, 2, 3], it => it % 2) === 2); + + const instanceFindLast = load(NS, 'instance/find-last'); + ok(typeof instanceFindLast == 'function'); + ok(instanceFindLast({}) === undefined); + ok(typeof instanceFindLast([]) == 'function'); + ok(instanceFindLast([]).call([1, 2, 3], it => it % 2) === 3); + } + { const NS = 'features'; @@ -572,8 +591,6 @@ for (PATH of ['core-js-pure', 'core-js']) { ok(typeof load(NS, 'array/from-async') == 'function'); ok(typeof load(NS, 'array/filter-out') == 'function'); ok(typeof load(NS, 'array/filter-reject') == 'function'); - ok(load(NS, 'array/find-last')([1, 2, 3], it => it % 2) === 3); - ok(load(NS, 'array/find-last-index')([1, 2, 3], it => it % 2) === 2); ok(typeof load(NS, 'array/group-by') == 'function'); ok(typeof load(NS, 'array/group-by-to-map') == 'function'); ok(typeof load(NS, 'array/is-template-object') == 'function'); @@ -586,8 +603,6 @@ for (PATH of ['core-js-pure', 'core-js']) { ok(load(NS, 'array/to-spliced')([3, 2, 1], 1, 1, 4, 5).length === 4); ok(typeof load(NS, 'array/virtual/filter-out') == 'function'); ok(typeof load(NS, 'array/virtual/filter-reject') == 'function'); - ok(load(NS, 'array/virtual/find-last').call([1, 2, 3], it => it % 2) === 3); - ok(load(NS, 'array/virtual/find-last-index').call([1, 2, 3], it => it % 2) === 2); ok(typeof load(NS, 'array/virtual/group-by') == 'function'); ok(typeof load(NS, 'array/virtual/group-by-to-map') == 'function'); ok(typeof load(NS, 'array/virtual/unique-by') == 'function'); @@ -725,18 +740,6 @@ for (PATH of ['core-js-pure', 'core-js']) { ok(typeof instanceCodePoints('') == 'function'); ok(instanceCodePoints('').call('abc').next().value.codePoint === 97); - const instanceFindLastIndex = load(NS, 'instance/find-last-index'); - ok(typeof instanceFindLastIndex == 'function'); - ok(instanceFindLastIndex({}) === undefined); - ok(typeof instanceFindLastIndex([]) == 'function'); - ok(instanceFindLastIndex([]).call([1, 2, 3], it => it % 2) === 2); - - const instanceFindLast = load(NS, 'instance/find-last'); - ok(typeof instanceFindLast == 'function'); - ok(instanceFindLast({}) === undefined); - ok(typeof instanceFindLast([]) == 'function'); - ok(instanceFindLast([]).call([1, 2, 3], it => it % 2) === 3); - const instanceFilterOut = load(NS, 'instance/filter-out'); ok(typeof instanceFilterOut == 'function'); ok(instanceFilterOut({}) === undefined); @@ -878,7 +881,7 @@ for (PATH of ['core-js-pure', 'core-js']) { ok(load('')); } -for (const NS of ['es', 'stable', 'features']) { +for (const NS of ['es', 'stable', 'actual', 'features']) { ok(typeof load(NS, 'string/match') == 'function'); ok('next' in load(NS, 'string/match-all')('a', /./g)); ok(typeof load(NS, 'string/replace') == 'function'); @@ -931,14 +934,17 @@ for (const NS of ['es', 'stable', 'features']) { ok(typeof load(NS, 'typed-array').Uint32Array == 'function'); } +for (const NS of ['actual', 'features']) { + load(NS, 'typed-array/find-last'); + load(NS, 'typed-array/find-last-index'); +} + { const NS = 'features'; load(NS, 'typed-array/from-async'); load(NS, 'typed-array/filter-out'); load(NS, 'typed-array/filter-reject'); - load(NS, 'typed-array/find-last'); - load(NS, 'typed-array/find-last-index'); load(NS, 'typed-array/group-by'); load(NS, 'typed-array/unique-by'); load(NS, 'typed-array/with'); From 8ab23354ad18f4fa223857bb6612997b84a54495 Mon Sep 17 00:00:00 2001 From: Denis Pushkarev Date: Mon, 15 Nov 2021 01:14:22 +0700 Subject: [PATCH 03/11] reduce import in the `/pure` tests only to required subset of features --- .../actual/instance/find-last-index.js | 10 ++++-- packages/core-js/actual/instance/find-last.js | 10 ++++-- tests/pure/es.array.concat.js | 4 +-- tests/pure/es.array.copy-within.js | 2 +- tests/pure/es.array.every.js | 2 +- tests/pure/es.array.fill.js | 2 +- tests/pure/es.array.filter.js | 4 +-- tests/pure/es.array.find-index.js | 2 +- tests/pure/es.array.find.js | 2 +- tests/pure/es.array.flat-map.js | 2 +- tests/pure/es.array.flat.js | 4 +-- tests/pure/es.array.for-each.js | 2 +- tests/pure/es.array.from.js | 8 ++--- tests/pure/es.array.includes.js | 2 +- tests/pure/es.array.index-of.js | 2 +- tests/pure/es.array.is-array.js | 2 +- tests/pure/es.array.iterator.js | 6 ++-- tests/pure/es.array.join.js | 2 +- tests/pure/es.array.last-index-of.js | 2 +- tests/pure/es.array.map.js | 4 +-- tests/pure/es.array.of.js | 4 +-- tests/pure/es.array.reduce-right.js | 2 +- tests/pure/es.array.reduce.js | 2 +- tests/pure/es.array.reverse.js | 2 +- tests/pure/es.array.slice.js | 5 +-- tests/pure/es.array.some.js | 2 +- tests/pure/es.array.sort.js | 2 +- tests/pure/es.array.splice.js | 4 +-- tests/pure/es.date.now.js | 2 +- tests/pure/es.date.to-iso-string.js | 2 +- tests/pure/es.date.to-json.js | 3 +- tests/pure/es.function.bind.js | 2 +- tests/pure/es.function.has-instance.js | 8 ++--- tests/pure/es.global-this.js | 2 +- tests/pure/es.json.stringify.js | 1 + tests/pure/es.map.js | 16 +++++++--- tests/pure/es.math.acosh.js | 4 +-- tests/pure/es.math.asinh.js | 2 +- tests/pure/es.math.atanh.js | 2 +- tests/pure/es.math.cbrt.js | 2 +- tests/pure/es.math.clz32.js | 2 +- tests/pure/es.math.cosh.js | 2 +- tests/pure/es.math.expm1.js | 2 +- tests/pure/es.math.fround.js | 2 +- tests/pure/es.math.hypot.js | 2 +- tests/pure/es.math.imul.js | 2 +- tests/pure/es.math.log10.js | 2 +- tests/pure/es.math.log1p.js | 2 +- tests/pure/es.math.log2.js | 2 +- tests/pure/es.math.sign.js | 2 +- tests/pure/es.math.sinh.js | 2 +- tests/pure/es.math.tanh.js | 2 +- tests/pure/es.math.trunc.js | 2 +- tests/pure/es.number.epsilon.js | 2 +- tests/pure/es.number.is-finite.js | 4 +-- tests/pure/es.number.is-integer.js | 4 +-- tests/pure/es.number.is-nan.js | 4 +-- tests/pure/es.number.is-safe-integer.js | 4 +-- tests/pure/es.number.max-safe-integer.js | 2 +- tests/pure/es.number.min-safe-integer.js | 2 +- tests/pure/es.number.parse-float.js | 2 +- tests/pure/es.number.parse-int.js | 2 +- tests/pure/es.number.to-fixed.js | 2 +- tests/pure/es.number.to-precision.js | 2 +- tests/pure/es.object.assign.js | 6 ++-- tests/pure/es.object.create.js | 4 ++- tests/pure/es.object.define-getter.js | 3 +- tests/pure/es.object.define-properties.js | 2 +- tests/pure/es.object.define-property.js | 3 +- tests/pure/es.object.define-setter.js | 3 +- tests/pure/es.object.entries.js | 4 ++- tests/pure/es.object.freeze.js | 7 ++-- tests/pure/es.object.from-entries.js | 4 +-- .../es.object.get-own-property-descriptor.js | 2 +- .../es.object.get-own-property-descriptors.js | 5 +-- .../pure/es.object.get-own-property-names.js | 4 +-- tests/pure/es.object.get-prototype-of.js | 3 +- tests/pure/es.object.is-extensible.js | 2 +- tests/pure/es.object.is-frozen.js | 2 +- tests/pure/es.object.is-sealed.js | 2 +- tests/pure/es.object.is.js | 2 +- tests/pure/es.object.keys.js | 2 +- tests/pure/es.object.lookup-getter.js | 4 ++- tests/pure/es.object.lookup-setter.js | 4 ++- tests/pure/es.object.prevent-extensions.js | 7 ++-- tests/pure/es.object.seal.js | 7 ++-- tests/pure/es.object.set-prototype-of.js | 2 +- tests/pure/es.object.values.js | 4 ++- tests/pure/es.parse-float.js | 2 +- tests/pure/es.parse-int.js | 2 +- tests/pure/es.promise.any.js | 3 +- tests/pure/es.promise.finally.js | 2 +- tests/pure/es.promise.js | 10 +++--- tests/pure/es.reflect.construct.js | 4 +-- tests/pure/es.reflect.define-property.js | 5 +-- tests/pure/es.reflect.delete-property.js | 5 +-- .../es.reflect.get-own-property-descriptor.js | 2 +- tests/pure/es.reflect.get-prototype-of.js | 2 +- tests/pure/es.reflect.get.js | 5 +-- tests/pure/es.reflect.has.js | 2 +- tests/pure/es.reflect.is-extensible.js | 4 +-- tests/pure/es.reflect.own-keys.js | 7 ++-- tests/pure/es.reflect.prevent-extensions.js | 4 +-- tests/pure/es.reflect.set-prototype-of.js | 2 +- tests/pure/es.reflect.set.js | 7 ++-- tests/pure/es.set.js | 16 +++++++--- tests/pure/es.string.anchor.js | 2 +- tests/pure/es.string.at-alternative.js | 2 +- tests/pure/es.string.big.js | 2 +- tests/pure/es.string.blink.js | 2 +- tests/pure/es.string.bold.js | 2 +- tests/pure/es.string.code-point-at.js | 2 +- tests/pure/es.string.ends-with.js | 4 +-- tests/pure/es.string.fixed.js | 2 +- tests/pure/es.string.fontcolor.js | 2 +- tests/pure/es.string.fontsize.js | 2 +- tests/pure/es.string.from-code-point.js | 2 +- tests/pure/es.string.includes.js | 4 +-- tests/pure/es.string.italics.js | 2 +- tests/pure/es.string.iterator.js | 8 ++--- tests/pure/es.string.link.js | 2 +- tests/pure/es.string.match-all.js | 2 +- tests/pure/es.string.pad-end.js | 4 +-- tests/pure/es.string.pad-start.js | 4 +-- tests/pure/es.string.raw.js | 2 +- tests/pure/es.string.repeat.js | 2 +- tests/pure/es.string.replace-all.js | 4 +-- tests/pure/es.string.small.js | 2 +- tests/pure/es.string.starts-with.js | 4 +-- tests/pure/es.string.strike.js | 2 +- tests/pure/es.string.sub.js | 2 +- tests/pure/es.string.sup.js | 2 +- tests/pure/es.string.trim-end.js | 5 +-- tests/pure/es.string.trim-start.js | 5 +-- tests/pure/es.string.trim.js | 2 +- tests/pure/es.symbol.async-iterator.js | 2 +- tests/pure/es.symbol.js | 32 +++++++++---------- tests/pure/es.weak-map.js | 10 ++++-- tests/pure/es.weak-set.js | 10 ++++-- tests/pure/esnext.array.filter-out.js | 2 +- tests/pure/esnext.array.filter-reject.js | 2 +- tests/pure/esnext.array.find-last-index.js | 2 +- tests/pure/esnext.array.find-last.js | 2 +- tests/pure/esnext.array.from-async.js | 1 + tests/pure/esnext.array.group-by.js | 4 +-- tests/pure/esnext.array.is-template-object.js | 2 +- tests/pure/esnext.array.unique-by.js | 3 +- .../esnext.async-iterator.as-indexed-pairs.js | 4 +-- .../pure/esnext.async-iterator.constructor.js | 3 +- tests/pure/esnext.async-iterator.drop.js | 4 +-- tests/pure/esnext.async-iterator.every.js | 4 +-- tests/pure/esnext.async-iterator.filter.js | 4 +-- tests/pure/esnext.async-iterator.find.js | 4 +-- tests/pure/esnext.async-iterator.flat-map.js | 4 +-- tests/pure/esnext.async-iterator.for-each.js | 4 +-- tests/pure/esnext.async-iterator.from.js | 6 ++-- tests/pure/esnext.async-iterator.map.js | 4 +-- tests/pure/esnext.async-iterator.reduce.js | 4 +-- tests/pure/esnext.async-iterator.some.js | 4 +-- tests/pure/esnext.async-iterator.take.js | 4 +-- tests/pure/esnext.async-iterator.to-array.js | 4 +-- tests/pure/esnext.bigint.range.js | 2 +- tests/pure/esnext.composite-key.js | 2 +- tests/pure/esnext.composite-symbol.js | 4 +-- .../pure/esnext.iterator.as-indexed-pairs.js | 4 +-- tests/pure/esnext.iterator.constructor.js | 6 ++-- tests/pure/esnext.iterator.drop.js | 4 +-- tests/pure/esnext.iterator.every.js | 4 +-- tests/pure/esnext.iterator.filter.js | 4 +-- tests/pure/esnext.iterator.find.js | 4 +-- tests/pure/esnext.iterator.flat-map.js | 4 +-- tests/pure/esnext.iterator.for-each.js | 4 +-- tests/pure/esnext.iterator.from.js | 4 +-- tests/pure/esnext.iterator.map.js | 4 +-- tests/pure/esnext.iterator.reduce.js | 4 +-- tests/pure/esnext.iterator.some.js | 4 +-- tests/pure/esnext.iterator.take.js | 4 +-- tests/pure/esnext.iterator.to-array.js | 4 +-- tests/pure/esnext.map.delete-all.js | 2 +- tests/pure/esnext.map.filter.js | 2 +- tests/pure/esnext.map.from.js | 2 +- tests/pure/esnext.map.group-by.js | 10 +++--- tests/pure/esnext.map.key-by.js | 10 +++--- tests/pure/esnext.map.map-keys.js | 2 +- tests/pure/esnext.map.map-values.js | 2 +- tests/pure/esnext.map.merge.js | 2 +- tests/pure/esnext.map.of.js | 6 ++-- tests/pure/esnext.number.range.js | 2 +- tests/pure/esnext.object.iterate-entries.js | 4 +-- tests/pure/esnext.object.iterate-keys.js | 4 +-- tests/pure/esnext.object.iterate-values.js | 4 +-- tests/pure/esnext.observable.js | 3 +- tests/pure/esnext.reflect.delete-metadata.js | 4 ++- .../pure/esnext.reflect.get-metadata-keys.js | 3 +- tests/pure/esnext.reflect.get-metadata.js | 3 +- tests/pure/esnext.reflect.get-own-matadata.js | 3 +- .../esnext.reflect.get-own-metadata-keys.js | 3 +- tests/pure/esnext.reflect.has-metadata.js | 3 +- tests/pure/esnext.reflect.has-own-metadata.js | 3 +- tests/pure/esnext.reflect.metadata.js | 3 +- tests/pure/esnext.set.add-all.js | 2 +- tests/pure/esnext.set.delete-all.js | 2 +- tests/pure/esnext.set.difference.js | 2 +- tests/pure/esnext.set.filter.js | 2 +- tests/pure/esnext.set.from.js | 2 +- tests/pure/esnext.set.intersection.js | 2 +- tests/pure/esnext.set.map.js | 2 +- tests/pure/esnext.set.of.js | 6 ++-- tests/pure/esnext.set.symmetric-difference.js | 2 +- tests/pure/esnext.set.union.js | 2 +- tests/pure/esnext.string.code-points.js | 2 +- tests/pure/web.dom-collections.iterator.js | 4 +-- tests/pure/web.immediate.js | 3 +- tests/pure/web.timers.js | 3 +- tests/pure/web.url-search-params.js | 5 +-- tests/pure/web.url.js | 3 +- 216 files changed, 431 insertions(+), 341 deletions(-) diff --git a/packages/core-js/actual/instance/find-last-index.js b/packages/core-js/actual/instance/find-last-index.js index cccb9dbee8e9..6d3a28bc0325 100644 --- a/packages/core-js/actual/instance/find-last-index.js +++ b/packages/core-js/actual/instance/find-last-index.js @@ -1,3 +1,9 @@ -var parent = require('../../stable/instance/find-last-index'); +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/find-last-index'); -module.exports = parent; +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.findLastIndex; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.findLastIndex) ? method : own; +}; diff --git a/packages/core-js/actual/instance/find-last.js b/packages/core-js/actual/instance/find-last.js index bd7303dce64c..aa0474c287b2 100644 --- a/packages/core-js/actual/instance/find-last.js +++ b/packages/core-js/actual/instance/find-last.js @@ -1,3 +1,9 @@ -var parent = require('../../stable/instance/find-last'); +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/find-last'); -module.exports = parent; +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.findLast; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.findLast) ? method : own; +}; diff --git a/tests/pure/es.array.concat.js b/tests/pure/es.array.concat.js index 8ecdb497d19a..8a1ffc2555cd 100644 --- a/tests/pure/es.array.concat.js +++ b/tests/pure/es.array.concat.js @@ -1,5 +1,5 @@ -import Symbol from 'core-js-pure/features/symbol'; -import concat from 'core-js-pure/features/array/concat'; +import Symbol from 'core-js-pure/es/symbol'; +import concat from 'core-js-pure/es/array/concat'; /* eslint-disable no-sparse-arrays -- required for testing */ QUnit.test('Array#concat', assert => { diff --git a/tests/pure/es.array.copy-within.js b/tests/pure/es.array.copy-within.js index 76cf79d830d7..8be065a9689b 100644 --- a/tests/pure/es.array.copy-within.js +++ b/tests/pure/es.array.copy-within.js @@ -1,6 +1,6 @@ import { STRICT } from '../helpers/constants'; -import copyWithin from 'core-js-pure/features/array/copy-within'; +import copyWithin from 'core-js-pure/es/array/copy-within'; QUnit.test('Array#copyWithin', assert => { assert.isFunction(copyWithin); diff --git a/tests/pure/es.array.every.js b/tests/pure/es.array.every.js index 674ad0f67331..95f6385fd3f4 100644 --- a/tests/pure/es.array.every.js +++ b/tests/pure/es.array.every.js @@ -1,6 +1,6 @@ import { STRICT } from '../helpers/constants'; -import every from 'core-js-pure/features/array/every'; +import every from 'core-js-pure/es/array/every'; QUnit.test('Array#every', assert => { assert.isFunction(every); diff --git a/tests/pure/es.array.fill.js b/tests/pure/es.array.fill.js index fb2419d9fd23..39c02fb66da6 100644 --- a/tests/pure/es.array.fill.js +++ b/tests/pure/es.array.fill.js @@ -1,6 +1,6 @@ import { STRICT } from '../helpers/constants'; -import fill from 'core-js-pure/features/array/fill'; +import fill from 'core-js-pure/es/array/fill'; QUnit.test('Array#fill', assert => { assert.isFunction(fill); diff --git a/tests/pure/es.array.filter.js b/tests/pure/es.array.filter.js index dbcc5c86a9a0..508a052776c7 100644 --- a/tests/pure/es.array.filter.js +++ b/tests/pure/es.array.filter.js @@ -1,7 +1,7 @@ import { STRICT } from '../helpers/constants'; -import Symbol from 'core-js-pure/features/symbol'; -import filter from 'core-js-pure/features/array/filter'; +import Symbol from 'core-js-pure/es/symbol'; +import filter from 'core-js-pure/es/array/filter'; QUnit.test('Array#filter', assert => { assert.isFunction(filter); diff --git a/tests/pure/es.array.find-index.js b/tests/pure/es.array.find-index.js index 59948af9fa7e..e68e278d38e8 100644 --- a/tests/pure/es.array.find-index.js +++ b/tests/pure/es.array.find-index.js @@ -1,6 +1,6 @@ import { STRICT } from '../helpers/constants'; -import findIndex from 'core-js-pure/features/array/find-index'; +import findIndex from 'core-js-pure/es/array/find-index'; QUnit.test('Array#findIndex', assert => { assert.isFunction(findIndex); diff --git a/tests/pure/es.array.find.js b/tests/pure/es.array.find.js index dca5aecd8a8f..6334f7e3a070 100644 --- a/tests/pure/es.array.find.js +++ b/tests/pure/es.array.find.js @@ -1,6 +1,6 @@ import { STRICT } from '../helpers/constants'; -import find from 'core-js-pure/features/array/find'; +import find from 'core-js-pure/es/array/find'; QUnit.test('Array#find', assert => { assert.isFunction(find); diff --git a/tests/pure/es.array.flat-map.js b/tests/pure/es.array.flat-map.js index cf29f67d3b28..a4f5c28c4d33 100644 --- a/tests/pure/es.array.flat-map.js +++ b/tests/pure/es.array.flat-map.js @@ -1,6 +1,6 @@ import { STRICT } from '../helpers/constants'; -import flatMap from 'core-js-pure/features/array/flat-map'; +import flatMap from 'core-js-pure/es/array/flat-map'; QUnit.test('Array#flatMap', assert => { assert.isFunction(flatMap); diff --git a/tests/pure/es.array.flat.js b/tests/pure/es.array.flat.js index 0f510e4bf941..b0477303274c 100644 --- a/tests/pure/es.array.flat.js +++ b/tests/pure/es.array.flat.js @@ -1,7 +1,7 @@ import { DESCRIPTORS, STRICT } from '../helpers/constants'; -import flat from 'core-js-pure/features/array/flat'; -import defineProperty from 'core-js-pure/features/object/define-property'; +import flat from 'core-js-pure/es/array/flat'; +import defineProperty from 'core-js-pure/es/object/define-property'; QUnit.test('Array#flat', assert => { assert.isFunction(flat); diff --git a/tests/pure/es.array.for-each.js b/tests/pure/es.array.for-each.js index 790188af881c..d3b7aadd81c5 100644 --- a/tests/pure/es.array.for-each.js +++ b/tests/pure/es.array.for-each.js @@ -1,6 +1,6 @@ import { STRICT } from '../helpers/constants'; -import forEach from 'core-js-pure/features/array/for-each'; +import forEach from 'core-js-pure/es/array/for-each'; QUnit.test('Array#forEach', assert => { assert.isFunction(forEach); diff --git a/tests/pure/es.array.from.js b/tests/pure/es.array.from.js index 9dfb287b57f6..4b18338628f0 100644 --- a/tests/pure/es.array.from.js +++ b/tests/pure/es.array.from.js @@ -1,10 +1,10 @@ import { DESCRIPTORS } from '../helpers/constants'; import { createIterable } from '../helpers/helpers'; -import Symbol from 'core-js-pure/features/symbol'; -import getIteratorMethod from 'core-js-pure/features/get-iterator-method'; -import from from 'core-js-pure/features/array/from'; -import defineProperty from 'core-js-pure/features/object/define-property'; +import Symbol from 'core-js-pure/es/symbol'; +import defineProperty from 'core-js-pure/es/object/define-property'; +import getIteratorMethod from 'core-js-pure/es/get-iterator-method'; +import from from 'core-js-pure/es/array/from'; QUnit.test('Array.from', assert => { assert.isFunction(from); diff --git a/tests/pure/es.array.includes.js b/tests/pure/es.array.includes.js index 6860ca1061ca..48a194ad9bd7 100644 --- a/tests/pure/es.array.includes.js +++ b/tests/pure/es.array.includes.js @@ -1,6 +1,6 @@ import { STRICT } from '../helpers/constants'; -import includes from 'core-js-pure/features/array/includes'; +import includes from 'core-js-pure/es/array/includes'; QUnit.test('Array#includes', assert => { assert.isFunction(includes); diff --git a/tests/pure/es.array.index-of.js b/tests/pure/es.array.index-of.js index 054967a0a794..66fddd8dc9ae 100644 --- a/tests/pure/es.array.index-of.js +++ b/tests/pure/es.array.index-of.js @@ -1,6 +1,6 @@ import { STRICT } from '../helpers/constants'; -import indexOf from 'core-js-pure/features/array/index-of'; +import indexOf from 'core-js-pure/es/array/index-of'; QUnit.test('Array#indexOf', assert => { assert.isFunction(indexOf); diff --git a/tests/pure/es.array.is-array.js b/tests/pure/es.array.is-array.js index 88f2177b9ecd..85e81d9811e0 100644 --- a/tests/pure/es.array.is-array.js +++ b/tests/pure/es.array.is-array.js @@ -1,4 +1,4 @@ -import isArray from 'core-js-pure/features/array/is-array'; +import isArray from 'core-js-pure/es/array/is-array'; QUnit.test('Array.isArray', assert => { assert.isFunction(isArray); diff --git a/tests/pure/es.array.iterator.js b/tests/pure/es.array.iterator.js index b54d50cd317f..60776a268adc 100644 --- a/tests/pure/es.array.iterator.js +++ b/tests/pure/es.array.iterator.js @@ -1,6 +1,6 @@ -import { keys, values, entries } from 'core-js-pure/features/array'; -import Symbol from 'core-js-pure/features/symbol'; -import getIterator from 'core-js-pure/features/get-iterator'; +import Symbol from 'core-js-pure/es/symbol'; +import getIterator from 'core-js-pure/es/get-iterator'; +import { keys, values, entries } from 'core-js-pure/es/array'; QUnit.test('Array#@@iterator', assert => { assert.isFunction(values); diff --git a/tests/pure/es.array.join.js b/tests/pure/es.array.join.js index 7e081a1dd3cd..dd534629979d 100644 --- a/tests/pure/es.array.join.js +++ b/tests/pure/es.array.join.js @@ -1,6 +1,6 @@ import { STRICT } from '../helpers/constants'; -import join from 'core-js-pure/features/array/join'; +import join from 'core-js-pure/es/array/join'; QUnit.test('Array#join', assert => { assert.isFunction(join); diff --git a/tests/pure/es.array.last-index-of.js b/tests/pure/es.array.last-index-of.js index e400001c1286..4a41b9b212ec 100644 --- a/tests/pure/es.array.last-index-of.js +++ b/tests/pure/es.array.last-index-of.js @@ -1,6 +1,6 @@ import { STRICT } from '../helpers/constants'; -import lastIndexOf from 'core-js-pure/features/array/last-index-of'; +import lastIndexOf from 'core-js-pure/es/array/last-index-of'; QUnit.test('Array#lastIndexOf', assert => { assert.isFunction(lastIndexOf); diff --git a/tests/pure/es.array.map.js b/tests/pure/es.array.map.js index e167ef679707..e7f66aa6e14b 100644 --- a/tests/pure/es.array.map.js +++ b/tests/pure/es.array.map.js @@ -1,7 +1,7 @@ import { STRICT } from '../helpers/constants'; -import Symbol from 'core-js-pure/features/symbol'; -import map from 'core-js-pure/features/array/map'; +import Symbol from 'core-js-pure/es/symbol'; +import map from 'core-js-pure/es/array/map'; QUnit.test('Array#map', assert => { assert.isFunction(map); diff --git a/tests/pure/es.array.of.js b/tests/pure/es.array.of.js index 22ca1c12f2ae..3aea8d219804 100644 --- a/tests/pure/es.array.of.js +++ b/tests/pure/es.array.of.js @@ -1,7 +1,7 @@ import { DESCRIPTORS } from '../helpers/constants'; -import of from 'core-js-pure/features/array/of'; -import defineProperty from 'core-js-pure/features/object/define-property'; +import defineProperty from 'core-js-pure/es/object/define-property'; +import of from 'core-js-pure/es/array/of'; QUnit.test('Array.of', assert => { assert.isFunction(of); diff --git a/tests/pure/es.array.reduce-right.js b/tests/pure/es.array.reduce-right.js index de60bfc70b79..a0a016856a7d 100644 --- a/tests/pure/es.array.reduce-right.js +++ b/tests/pure/es.array.reduce-right.js @@ -1,6 +1,6 @@ import { STRICT } from '../helpers/constants'; -import reduceRight from 'core-js-pure/features/array/reduce-right'; +import reduceRight from 'core-js-pure/es/array/reduce-right'; QUnit.test('Array#reduceRight', assert => { assert.isFunction(reduceRight); diff --git a/tests/pure/es.array.reduce.js b/tests/pure/es.array.reduce.js index 5668017016cf..0799d82ba632 100644 --- a/tests/pure/es.array.reduce.js +++ b/tests/pure/es.array.reduce.js @@ -1,6 +1,6 @@ import { STRICT } from '../helpers/constants'; -import reduce from 'core-js-pure/features/array/reduce'; +import reduce from 'core-js-pure/es/array/reduce'; QUnit.test('Array#reduce', assert => { assert.isFunction(reduce); diff --git a/tests/pure/es.array.reverse.js b/tests/pure/es.array.reverse.js index 7c89cd1410a2..57c0f425ac20 100644 --- a/tests/pure/es.array.reverse.js +++ b/tests/pure/es.array.reverse.js @@ -1,6 +1,6 @@ import { STRICT } from '../helpers/constants'; -import reverse from 'core-js-pure/features/array/reverse'; +import reverse from 'core-js-pure/es/array/reverse'; QUnit.test('Array#reverse', assert => { assert.isFunction(reverse); diff --git a/tests/pure/es.array.slice.js b/tests/pure/es.array.slice.js index 843eee3f1189..9c8ca9daf79f 100644 --- a/tests/pure/es.array.slice.js +++ b/tests/pure/es.array.slice.js @@ -1,7 +1,8 @@ import { GLOBAL } from '../helpers/constants'; -import { slice, isArray } from 'core-js-pure/features/array'; -import Symbol from 'core-js-pure/features/symbol'; +import Symbol from 'core-js-pure/es/symbol'; +import isArray from 'core-js-pure/es/array/is-array'; +import slice from 'core-js-pure/es/array/slice'; QUnit.test('Array#slice', assert => { assert.isFunction(slice); diff --git a/tests/pure/es.array.some.js b/tests/pure/es.array.some.js index 736b277671b3..fd0b391cf85a 100644 --- a/tests/pure/es.array.some.js +++ b/tests/pure/es.array.some.js @@ -1,6 +1,6 @@ import { STRICT } from '../helpers/constants'; -import some from 'core-js-pure/features/array/some'; +import some from 'core-js-pure/es/array/some'; QUnit.test('Array#some', assert => { assert.isFunction(some); diff --git a/tests/pure/es.array.sort.js b/tests/pure/es.array.sort.js index 7e80396037fd..3860d17757ba 100644 --- a/tests/pure/es.array.sort.js +++ b/tests/pure/es.array.sort.js @@ -1,6 +1,6 @@ import { STRICT } from '../helpers/constants'; -import sort from 'core-js-pure/features/array/sort'; +import sort from 'core-js-pure/es/array/sort'; QUnit.test('Array#sort', assert => { assert.isFunction(sort); diff --git a/tests/pure/es.array.splice.js b/tests/pure/es.array.splice.js index 004ac97ab518..ee7c5cbe9af1 100644 --- a/tests/pure/es.array.splice.js +++ b/tests/pure/es.array.splice.js @@ -1,7 +1,7 @@ import { STRICT } from '../helpers/constants'; -import splice from 'core-js-pure/features/array/splice'; -import Symbol from 'core-js-pure/features/symbol'; +import Symbol from 'core-js-pure/es/symbol'; +import splice from 'core-js-pure/es/array/splice'; QUnit.test('Array#splice', assert => { assert.isFunction(splice); diff --git a/tests/pure/es.date.now.js b/tests/pure/es.date.now.js index 9010f0e7f627..041985bbb2a8 100644 --- a/tests/pure/es.date.now.js +++ b/tests/pure/es.date.now.js @@ -1,4 +1,4 @@ -import now from 'core-js-pure/features/date/now'; +import now from 'core-js-pure/es/date/now'; QUnit.test('Date.now', assert => { assert.isFunction(now); diff --git a/tests/pure/es.date.to-iso-string.js b/tests/pure/es.date.to-iso-string.js index 5006288faf64..916630d88c7e 100644 --- a/tests/pure/es.date.to-iso-string.js +++ b/tests/pure/es.date.to-iso-string.js @@ -1,4 +1,4 @@ -import toISOString from 'core-js-pure/features/date/to-iso-string'; +import toISOString from 'core-js-pure/es/date/to-iso-string'; QUnit.test('Date#toISOString', assert => { assert.isFunction(toISOString); diff --git a/tests/pure/es.date.to-json.js b/tests/pure/es.date.to-json.js index da7fbbf6c04f..53c3293d7252 100644 --- a/tests/pure/es.date.to-json.js +++ b/tests/pure/es.date.to-json.js @@ -1,4 +1,5 @@ -import { toJSON, toISOString } from 'core-js-pure/features/date'; +import toISOString from 'core-js-pure/es/date/to-iso-string'; +import toJSON from 'core-js-pure/es/date/to-json'; QUnit.test('Date#toJSON', assert => { assert.isFunction(toJSON); diff --git a/tests/pure/es.function.bind.js b/tests/pure/es.function.bind.js index 437378d3739c..895975b478ed 100644 --- a/tests/pure/es.function.bind.js +++ b/tests/pure/es.function.bind.js @@ -1,4 +1,4 @@ -import bind from 'core-js-pure/features/function/bind'; +import bind from 'core-js-pure/es/function/bind'; QUnit.test('Function#bind', assert => { assert.isFunction(bind); diff --git a/tests/pure/es.function.has-instance.js b/tests/pure/es.function.has-instance.js index 2e8b1ceb129a..ab9bc3097bb4 100644 --- a/tests/pure/es.function.has-instance.js +++ b/tests/pure/es.function.has-instance.js @@ -1,7 +1,7 @@ -import HAS_INSTANCE from 'core-js-pure/features/symbol/has-instance'; +import Symbol from 'core-js-pure/es/symbol'; QUnit.test('Function#@@hasInstance', assert => { - assert.true(HAS_INSTANCE in Function.prototype); - assert.true(Function[HAS_INSTANCE](() => { /* empty */ })); - assert.false(Function[HAS_INSTANCE]({})); + assert.true(Symbol.hasInstance in Function.prototype); + assert.true(Function[Symbol.hasInstance](() => { /* empty */ })); + assert.false(Function[Symbol.hasInstance]({})); }); diff --git a/tests/pure/es.global-this.js b/tests/pure/es.global-this.js index d2648fd1f405..8a60670b682e 100644 --- a/tests/pure/es.global-this.js +++ b/tests/pure/es.global-this.js @@ -1,4 +1,4 @@ -import globalThis from 'core-js-pure/features/global-this'; +import globalThis from 'core-js-pure/es/global-this'; QUnit.test('globalThis', assert => { assert.same(globalThis, Object(globalThis), 'is object'); diff --git a/tests/pure/es.json.stringify.js b/tests/pure/es.json.stringify.js index 193ef27958ef..c2302935f22f 100644 --- a/tests/pure/es.json.stringify.js +++ b/tests/pure/es.json.stringify.js @@ -1,4 +1,5 @@ import { GLOBAL } from '../helpers/constants'; + import stringify from 'core-js/es/json/stringify'; if (GLOBAL.JSON) { diff --git a/tests/pure/es.map.js b/tests/pure/es.map.js index 85977c0330e9..dd6f6c275e77 100644 --- a/tests/pure/es.map.js +++ b/tests/pure/es.map.js @@ -3,11 +3,17 @@ import { createIterable, is, nativeSubclass } from '../helpers/helpers'; import { DESCRIPTORS } from '../helpers/constants'; -import { Set, Map, Symbol } from 'core-js-pure'; -import getIterator from 'core-js-pure/features/get-iterator'; -import getIteratorMethod from 'core-js-pure/features/get-iterator-method'; -import { freeze, getOwnPropertyDescriptor, keys, getOwnPropertyNames, getOwnPropertySymbols } from 'core-js-pure/features/object'; -import ownKeys from 'core-js-pure/features/reflect/own-keys'; +import getIterator from 'core-js-pure/es/get-iterator'; +import getIteratorMethod from 'core-js-pure/es/get-iterator-method'; +import freeze from 'core-js-pure/es/object/freeze'; +import getOwnPropertyDescriptor from 'core-js-pure/es/object/get-own-property-descriptor'; +import getOwnPropertyNames from 'core-js-pure/es/object/get-own-property-names'; +import getOwnPropertySymbols from 'core-js-pure/es/object/get-own-property-symbols'; +import keys from 'core-js-pure/es/object/keys'; +import ownKeys from 'core-js-pure/es/reflect/own-keys'; +import Symbol from 'core-js-pure/es/symbol'; +import Set from 'core-js-pure/es/set'; +import Map from 'core-js-pure/es/map'; QUnit.test('Map', assert => { assert.isFunction(Map); diff --git a/tests/pure/es.math.acosh.js b/tests/pure/es.math.acosh.js index 8e824347a143..2da88bd80d95 100644 --- a/tests/pure/es.math.acosh.js +++ b/tests/pure/es.math.acosh.js @@ -1,5 +1,5 @@ -import acosh from 'core-js-pure/features/math/acosh'; -import EPSILON from 'core-js-pure/features/number/epsilon'; +import acosh from 'core-js-pure/es/math/acosh'; +import EPSILON from 'core-js-pure/es/number/epsilon'; QUnit.test('Math.acosh', assert => { assert.isFunction(acosh); diff --git a/tests/pure/es.math.asinh.js b/tests/pure/es.math.asinh.js index c30d063bc124..db94f20e3da7 100644 --- a/tests/pure/es.math.asinh.js +++ b/tests/pure/es.math.asinh.js @@ -1,4 +1,4 @@ -import asinh from 'core-js-pure/features/math/asinh'; +import asinh from 'core-js-pure/es/math/asinh'; QUnit.test('Math.asinh', assert => { assert.isFunction(asinh); diff --git a/tests/pure/es.math.atanh.js b/tests/pure/es.math.atanh.js index 13417816e407..9ac06bf651c4 100644 --- a/tests/pure/es.math.atanh.js +++ b/tests/pure/es.math.atanh.js @@ -1,4 +1,4 @@ -import atanh from 'core-js-pure/features/math/atanh'; +import atanh from 'core-js-pure/es/math/atanh'; QUnit.test('Math.atanh', assert => { assert.isFunction(atanh); diff --git a/tests/pure/es.math.cbrt.js b/tests/pure/es.math.cbrt.js index 561d441544de..1a133ee5d3ee 100644 --- a/tests/pure/es.math.cbrt.js +++ b/tests/pure/es.math.cbrt.js @@ -1,4 +1,4 @@ -import cbrt from 'core-js-pure/features/math/cbrt'; +import cbrt from 'core-js-pure/es/math/cbrt'; QUnit.test('Math.cbrt', assert => { assert.isFunction(cbrt); diff --git a/tests/pure/es.math.clz32.js b/tests/pure/es.math.clz32.js index 8dedfe41b6ce..7b6e05e5a1d6 100644 --- a/tests/pure/es.math.clz32.js +++ b/tests/pure/es.math.clz32.js @@ -1,4 +1,4 @@ -import clz32 from 'core-js-pure/features/math/clz32'; +import clz32 from 'core-js-pure/es/math/clz32'; QUnit.test('Math.clz32', assert => { assert.isFunction(clz32); diff --git a/tests/pure/es.math.cosh.js b/tests/pure/es.math.cosh.js index ac9264c49b06..501498b07c9d 100644 --- a/tests/pure/es.math.cosh.js +++ b/tests/pure/es.math.cosh.js @@ -1,4 +1,4 @@ -import cosh from 'core-js-pure/features/math/cosh'; +import cosh from 'core-js-pure/es/math/cosh'; QUnit.test('Math.cosh', assert => { assert.isFunction(cosh); diff --git a/tests/pure/es.math.expm1.js b/tests/pure/es.math.expm1.js index eefcf4faed99..6ff04e61dd4e 100644 --- a/tests/pure/es.math.expm1.js +++ b/tests/pure/es.math.expm1.js @@ -1,4 +1,4 @@ -import expm1 from 'core-js-pure/features/math/expm1'; +import expm1 from 'core-js-pure/es/math/expm1'; QUnit.test('Math.expm1', assert => { assert.isFunction(expm1); diff --git a/tests/pure/es.math.fround.js b/tests/pure/es.math.fround.js index 34224c505a6d..d59c43a83c0e 100644 --- a/tests/pure/es.math.fround.js +++ b/tests/pure/es.math.fround.js @@ -1,4 +1,4 @@ -import fround from 'core-js-pure/features/math/fround'; +import fround from 'core-js-pure/es/math/fround'; QUnit.test('Math.fround', assert => { assert.isFunction(fround); diff --git a/tests/pure/es.math.hypot.js b/tests/pure/es.math.hypot.js index 7dcd874313fe..000c34dfd7ff 100644 --- a/tests/pure/es.math.hypot.js +++ b/tests/pure/es.math.hypot.js @@ -1,4 +1,4 @@ -import hypot from 'core-js-pure/features/math/hypot'; +import hypot from 'core-js-pure/es/math/hypot'; QUnit.test('Math.hypot', assert => { const { sqrt } = Math; diff --git a/tests/pure/es.math.imul.js b/tests/pure/es.math.imul.js index f914458f4a0e..191f97cd5238 100644 --- a/tests/pure/es.math.imul.js +++ b/tests/pure/es.math.imul.js @@ -1,4 +1,4 @@ -import imul from 'core-js-pure/features/math/imul'; +import imul from 'core-js-pure/es/math/imul'; QUnit.test('Math.imul', assert => { assert.isFunction(imul); diff --git a/tests/pure/es.math.log10.js b/tests/pure/es.math.log10.js index 75ffad0239ea..a5ae7f6531fa 100644 --- a/tests/pure/es.math.log10.js +++ b/tests/pure/es.math.log10.js @@ -1,4 +1,4 @@ -import log10 from 'core-js-pure/features/math/log10'; +import log10 from 'core-js-pure/es/math/log10'; QUnit.test('Math.log10', assert => { assert.isFunction(log10); diff --git a/tests/pure/es.math.log1p.js b/tests/pure/es.math.log1p.js index 31926fcb55ea..17f7d8d7d4f6 100644 --- a/tests/pure/es.math.log1p.js +++ b/tests/pure/es.math.log1p.js @@ -1,4 +1,4 @@ -import log1p from 'core-js-pure/features/math/log1p'; +import log1p from 'core-js-pure/es/math/log1p'; QUnit.test('Math.log1p', assert => { assert.isFunction(log1p); diff --git a/tests/pure/es.math.log2.js b/tests/pure/es.math.log2.js index 112569d8843a..e8b9bcfc3a1a 100644 --- a/tests/pure/es.math.log2.js +++ b/tests/pure/es.math.log2.js @@ -1,4 +1,4 @@ -import log2 from 'core-js-pure/features/math/log2'; +import log2 from 'core-js-pure/es/math/log2'; QUnit.test('Math.log2', assert => { assert.isFunction(log2); diff --git a/tests/pure/es.math.sign.js b/tests/pure/es.math.sign.js index e6e04207d0a9..55a671b08e90 100644 --- a/tests/pure/es.math.sign.js +++ b/tests/pure/es.math.sign.js @@ -1,4 +1,4 @@ -import sign from 'core-js-pure/features/math/sign'; +import sign from 'core-js-pure/es/math/sign'; QUnit.test('Math.sign', assert => { assert.isFunction(sign); diff --git a/tests/pure/es.math.sinh.js b/tests/pure/es.math.sinh.js index 1ffe718b5833..b0ff855c5967 100644 --- a/tests/pure/es.math.sinh.js +++ b/tests/pure/es.math.sinh.js @@ -1,4 +1,4 @@ -import sinh from 'core-js-pure/features/math/sinh'; +import sinh from 'core-js-pure/es/math/sinh'; QUnit.test('Math.sinh', assert => { assert.isFunction(sinh); diff --git a/tests/pure/es.math.tanh.js b/tests/pure/es.math.tanh.js index 8027468b96e5..38dd409c388d 100644 --- a/tests/pure/es.math.tanh.js +++ b/tests/pure/es.math.tanh.js @@ -1,4 +1,4 @@ -import tanh from 'core-js-pure/features/math/tanh'; +import tanh from 'core-js-pure/es/math/tanh'; QUnit.test('Math.tanh', assert => { assert.isFunction(tanh); diff --git a/tests/pure/es.math.trunc.js b/tests/pure/es.math.trunc.js index 6ce1a55427b1..4e9fd17838c2 100644 --- a/tests/pure/es.math.trunc.js +++ b/tests/pure/es.math.trunc.js @@ -1,4 +1,4 @@ -import trunc from 'core-js-pure/features/math/trunc'; +import trunc from 'core-js-pure/es/math/trunc'; QUnit.test('Math.trunc', assert => { assert.isFunction(trunc); diff --git a/tests/pure/es.number.epsilon.js b/tests/pure/es.number.epsilon.js index 208a451e1f24..cd8ba94831a3 100644 --- a/tests/pure/es.number.epsilon.js +++ b/tests/pure/es.number.epsilon.js @@ -1,4 +1,4 @@ -import EPSILON from 'core-js-pure/features/number/epsilon'; +import EPSILON from 'core-js-pure/es/number/epsilon'; QUnit.test('Number.EPSILON', assert => { assert.same(EPSILON, 2 ** -52, 'Is 2^-52'); diff --git a/tests/pure/es.number.is-finite.js b/tests/pure/es.number.is-finite.js index 783a4ba0cde9..8bc9c5a9efe8 100644 --- a/tests/pure/es.number.is-finite.js +++ b/tests/pure/es.number.is-finite.js @@ -1,5 +1,5 @@ -import isFinite from 'core-js-pure/features/number/is-finite'; -import create from 'core-js-pure/features/object/create'; +import create from 'core-js-pure/es/object/create'; +import isFinite from 'core-js-pure/es/number/is-finite'; QUnit.test('Number.isFinite', assert => { assert.isFunction(isFinite); diff --git a/tests/pure/es.number.is-integer.js b/tests/pure/es.number.is-integer.js index 3743b6260999..35b9a3d4a7a2 100644 --- a/tests/pure/es.number.is-integer.js +++ b/tests/pure/es.number.is-integer.js @@ -1,5 +1,5 @@ -import isInteger from 'core-js-pure/features/number/is-integer'; -import create from 'core-js-pure/features/object/create'; +import create from 'core-js-pure/es/object/create'; +import isInteger from 'core-js-pure/es/number/is-integer'; QUnit.test('Number.isInteger', assert => { assert.isFunction(isInteger); diff --git a/tests/pure/es.number.is-nan.js b/tests/pure/es.number.is-nan.js index ca9e72739bef..502e1fccacf8 100644 --- a/tests/pure/es.number.is-nan.js +++ b/tests/pure/es.number.is-nan.js @@ -1,5 +1,5 @@ -import isNaN from 'core-js-pure/features/number/is-nan'; -import create from 'core-js-pure/features/object/create'; +import create from 'core-js-pure/es/object/create'; +import isNaN from 'core-js-pure/es/number/is-nan'; QUnit.test('Number.isNaN', assert => { assert.isFunction(isNaN); diff --git a/tests/pure/es.number.is-safe-integer.js b/tests/pure/es.number.is-safe-integer.js index a001b3adcd2e..84050a81988a 100644 --- a/tests/pure/es.number.is-safe-integer.js +++ b/tests/pure/es.number.is-safe-integer.js @@ -1,5 +1,5 @@ -import isSafeInteger from 'core-js-pure/features/number/is-safe-integer'; -import create from 'core-js-pure/features/object/create'; +import create from 'core-js-pure/es/object/create'; +import isSafeInteger from 'core-js-pure/es/number/is-safe-integer'; QUnit.test('Number.isSafeInteger', assert => { assert.isFunction(isSafeInteger); diff --git a/tests/pure/es.number.max-safe-integer.js b/tests/pure/es.number.max-safe-integer.js index 6e1436cc7dfe..ed535a190f3d 100644 --- a/tests/pure/es.number.max-safe-integer.js +++ b/tests/pure/es.number.max-safe-integer.js @@ -1,4 +1,4 @@ -import MAX_SAFE_INTEGER from 'core-js-pure/features/number/max-safe-integer'; +import MAX_SAFE_INTEGER from 'core-js-pure/es/number/max-safe-integer'; QUnit.test('Number.MAX_SAFE_INTEGER', assert => { assert.same(MAX_SAFE_INTEGER, 2 ** 53 - 1, 'Is 2^53 - 1'); diff --git a/tests/pure/es.number.min-safe-integer.js b/tests/pure/es.number.min-safe-integer.js index 20e74846fcf7..2c34e4734e0e 100644 --- a/tests/pure/es.number.min-safe-integer.js +++ b/tests/pure/es.number.min-safe-integer.js @@ -1,4 +1,4 @@ -import MIN_SAFE_INTEGER from 'core-js-pure/features/number/min-safe-integer'; +import MIN_SAFE_INTEGER from 'core-js-pure/es/number/min-safe-integer'; QUnit.test('Number.MIN_SAFE_INTEGER', assert => { assert.same(MIN_SAFE_INTEGER, -(2 ** 53) + 1, 'Is -2^53 + 1'); diff --git a/tests/pure/es.number.parse-float.js b/tests/pure/es.number.parse-float.js index 4a86c0876b1e..484060523cf8 100644 --- a/tests/pure/es.number.parse-float.js +++ b/tests/pure/es.number.parse-float.js @@ -1,6 +1,6 @@ import { WHITESPACES } from '../helpers/constants'; -import parseFloat from 'core-js-pure/features/number/parse-float'; +import parseFloat from 'core-js-pure/es/number/parse-float'; QUnit.test('Number.parseFloat', assert => { assert.isFunction(parseFloat); diff --git a/tests/pure/es.number.parse-int.js b/tests/pure/es.number.parse-int.js index 8463a2370f0d..d47a2f31213d 100644 --- a/tests/pure/es.number.parse-int.js +++ b/tests/pure/es.number.parse-int.js @@ -1,6 +1,6 @@ import { WHITESPACES } from '../helpers/constants'; -import parseInt from 'core-js-pure/features/number/parse-int'; +import parseInt from 'core-js-pure/es/number/parse-int'; QUnit.test('Number.parseInt', assert => { assert.isFunction(parseInt); diff --git a/tests/pure/es.number.to-fixed.js b/tests/pure/es.number.to-fixed.js index 56acf9c4e8ea..80ca3097f39d 100644 --- a/tests/pure/es.number.to-fixed.js +++ b/tests/pure/es.number.to-fixed.js @@ -1,4 +1,4 @@ -import toFixed from 'core-js-pure/features/number/to-fixed'; +import toFixed from 'core-js-pure/es/number/to-fixed'; QUnit.test('Number#toFixed', assert => { assert.isFunction(toFixed); diff --git a/tests/pure/es.number.to-precision.js b/tests/pure/es.number.to-precision.js index 606d6fa3ed20..a1f09f356546 100644 --- a/tests/pure/es.number.to-precision.js +++ b/tests/pure/es.number.to-precision.js @@ -1,4 +1,4 @@ -import toPrecision from 'core-js-pure/features/number/to-precision'; +import toPrecision from 'core-js-pure/es/number/to-precision'; QUnit.test('Number#toPrecision', assert => { assert.isFunction(toPrecision); diff --git a/tests/pure/es.object.assign.js b/tests/pure/es.object.assign.js index b5264283bf23..f8c62cc857e2 100644 --- a/tests/pure/es.object.assign.js +++ b/tests/pure/es.object.assign.js @@ -1,7 +1,9 @@ import { DESCRIPTORS } from '../helpers/constants'; -import Symbol from 'core-js-pure/features/symbol'; -import { assign, keys, defineProperty } from 'core-js-pure/features/object'; +import Symbol from 'core-js-pure/es/symbol'; +import defineProperty from 'core-js-pure/es/object/define-property'; +import keys from 'core-js-pure/es/object/keys'; +import assign from 'core-js-pure/es/object/assign'; QUnit.test('Object.assign', assert => { assert.isFunction(assign); diff --git a/tests/pure/es.object.create.js b/tests/pure/es.object.create.js index 3052941a1d9a..3db92b05e1f0 100644 --- a/tests/pure/es.object.create.js +++ b/tests/pure/es.object.create.js @@ -1,6 +1,8 @@ import { DESCRIPTORS } from '../helpers/constants'; -import { create, getPrototypeOf, getOwnPropertyNames } from 'core-js-pure/features/object'; +import getPrototypeOf from 'core-js-pure/es/object/get-prototype-of'; +import getOwnPropertyNames from 'core-js-pure/es/object/get-own-property-names'; +import create from 'core-js-pure/es/object/create'; QUnit.test('Object.create', assert => { function getPropertyNames(object) { diff --git a/tests/pure/es.object.define-getter.js b/tests/pure/es.object.define-getter.js index 19f785974fcc..9404f5720b72 100644 --- a/tests/pure/es.object.define-getter.js +++ b/tests/pure/es.object.define-getter.js @@ -1,6 +1,7 @@ import { DESCRIPTORS, STRICT } from '../helpers/constants'; -import { __defineGetter__, __defineSetter__ } from 'core-js-pure/features/object'; +import __defineGetter__ from 'core-js-pure/es/object/define-getter'; +import __defineSetter__ from 'core-js-pure/es/object/define-setter'; if (DESCRIPTORS) { QUnit.test('Object#__defineGetter__', assert => { diff --git a/tests/pure/es.object.define-properties.js b/tests/pure/es.object.define-properties.js index b74adac851b2..c0cf727c5ae9 100644 --- a/tests/pure/es.object.define-properties.js +++ b/tests/pure/es.object.define-properties.js @@ -1,6 +1,6 @@ import { DESCRIPTORS } from '../helpers/constants'; -import defineProperties from 'core-js-pure/features/object/define-properties'; +import defineProperties from 'core-js-pure/es/object/define-properties'; QUnit.test('Object.defineProperties', assert => { assert.isFunction(defineProperties); diff --git a/tests/pure/es.object.define-property.js b/tests/pure/es.object.define-property.js index d0a8a4db4e07..c7f8dfe495f5 100644 --- a/tests/pure/es.object.define-property.js +++ b/tests/pure/es.object.define-property.js @@ -1,6 +1,7 @@ import { DESCRIPTORS } from '../helpers/constants'; -import { defineProperty, create } from 'core-js-pure/features/object'; +import create from 'core-js-pure/es/object/create'; +import defineProperty from 'core-js-pure/es/object/define-property'; QUnit.test('Object.defineProperty', assert => { assert.isFunction(defineProperty); diff --git a/tests/pure/es.object.define-setter.js b/tests/pure/es.object.define-setter.js index 0ec9da8b5f32..80a9d8d4850c 100644 --- a/tests/pure/es.object.define-setter.js +++ b/tests/pure/es.object.define-setter.js @@ -1,6 +1,7 @@ import { DESCRIPTORS, STRICT } from '../helpers/constants'; -import { __defineGetter__, __defineSetter__ } from 'core-js-pure/features/object'; +import __defineGetter__ from 'core-js-pure/es/object/define-getter'; +import __defineSetter__ from 'core-js-pure/es/object/define-setter'; if (DESCRIPTORS) { QUnit.test('Object#__defineSetter__', assert => { diff --git a/tests/pure/es.object.entries.js b/tests/pure/es.object.entries.js index c0d1bf6ace1f..039c56e30096 100644 --- a/tests/pure/es.object.entries.js +++ b/tests/pure/es.object.entries.js @@ -1,4 +1,6 @@ -import { entries, create, assign } from 'core-js-pure/features/object'; +import assign from 'core-js-pure/es/object/assign'; +import create from 'core-js-pure/es/object/create'; +import entries from 'core-js-pure/es/object/entries'; QUnit.test('Object.entries', assert => { assert.isFunction(entries); diff --git a/tests/pure/es.object.freeze.js b/tests/pure/es.object.freeze.js index 9f726f709ffa..9d56f12d7e0f 100644 --- a/tests/pure/es.object.freeze.js +++ b/tests/pure/es.object.freeze.js @@ -1,5 +1,8 @@ -import { freeze, keys, getOwnPropertyNames, getOwnPropertySymbols } from 'core-js-pure/features/object'; -import ownKeys from 'core-js-pure/features/reflect/own-keys'; +import ownKeys from 'core-js-pure/es/reflect/own-keys'; +import keys from 'core-js-pure/es/object/keys'; +import getOwnPropertyNames from 'core-js-pure/es/object/get-own-property-names'; +import getOwnPropertySymbols from 'core-js-pure/es/object/get-own-property-symbols'; +import freeze from 'core-js-pure/es/object/freeze'; QUnit.test('Object.freeze', assert => { assert.isFunction(freeze); diff --git a/tests/pure/es.object.from-entries.js b/tests/pure/es.object.from-entries.js index b45f298358bb..8a09b4c4471b 100644 --- a/tests/pure/es.object.from-entries.js +++ b/tests/pure/es.object.from-entries.js @@ -1,7 +1,7 @@ import { createIterable } from '../helpers/helpers'; -import fromEntries from 'core-js-pure/features/object/from-entries'; -import Set from 'core-js-pure/features/set'; +import Set from 'core-js-pure/es/set'; +import fromEntries from 'core-js-pure/es/object/from-entries'; QUnit.test('Object.fromEntries', assert => { assert.isFunction(fromEntries); diff --git a/tests/pure/es.object.get-own-property-descriptor.js b/tests/pure/es.object.get-own-property-descriptor.js index 9f5bc6f63079..38e5acf6dae3 100644 --- a/tests/pure/es.object.get-own-property-descriptor.js +++ b/tests/pure/es.object.get-own-property-descriptor.js @@ -1,6 +1,6 @@ import { DESCRIPTORS } from '../helpers/constants'; -import getOwnPropertyDescriptor from 'core-js-pure/features/object/get-own-property-descriptor'; +import getOwnPropertyDescriptor from 'core-js-pure/es/object/get-own-property-descriptor'; QUnit.test('Object.getOwnPropertyDescriptor', assert => { assert.isFunction(getOwnPropertyDescriptor); diff --git a/tests/pure/es.object.get-own-property-descriptors.js b/tests/pure/es.object.get-own-property-descriptors.js index 34c066f4dd32..d145217698ef 100644 --- a/tests/pure/es.object.get-own-property-descriptors.js +++ b/tests/pure/es.object.get-own-property-descriptors.js @@ -1,7 +1,8 @@ import { DESCRIPTORS } from '../helpers/constants'; -import Symbol from 'core-js-pure/features/symbol'; -import { create, getOwnPropertyDescriptors } from 'core-js-pure/features/object'; +import Symbol from 'core-js-pure/es/symbol'; +import create from 'core-js-pure/es/object/create'; +import getOwnPropertyDescriptors from 'core-js-pure/es/object/get-own-property-descriptors'; QUnit.test('Object.getOwnPropertyDescriptors', assert => { assert.isFunction(getOwnPropertyDescriptors); diff --git a/tests/pure/es.object.get-own-property-names.js b/tests/pure/es.object.get-own-property-names.js index bafde47a653a..2975257fd839 100644 --- a/tests/pure/es.object.get-own-property-names.js +++ b/tests/pure/es.object.get-own-property-names.js @@ -1,8 +1,8 @@ import { GLOBAL } from '../helpers/constants'; import { includes } from '../helpers/helpers'; -import freeze from 'core-js-pure/features/object/freeze'; -import getOwnPropertyNames from 'core-js-pure/features/object/get-own-property-names'; +import freeze from 'core-js-pure/es/object/freeze'; +import getOwnPropertyNames from 'core-js-pure/es/object/get-own-property-names'; QUnit.test('Object.getOwnPropertyNames', assert => { assert.isFunction(getOwnPropertyNames); diff --git a/tests/pure/es.object.get-prototype-of.js b/tests/pure/es.object.get-prototype-of.js index 1e670d8a33df..b04f51d1ff87 100644 --- a/tests/pure/es.object.get-prototype-of.js +++ b/tests/pure/es.object.get-prototype-of.js @@ -1,6 +1,7 @@ import { CORRECT_PROTOTYPE_GETTER } from '../helpers/constants'; -import { create, getPrototypeOf } from 'core-js-pure/features/object'; +import create from 'core-js-pure/features/object/create'; +import getPrototypeOf from 'core-js-pure/features/object/get-prototype-of'; QUnit.test('Object.getPrototypeOf', assert => { assert.isFunction(getPrototypeOf); diff --git a/tests/pure/es.object.is-extensible.js b/tests/pure/es.object.is-extensible.js index 4a565a369949..e1750d914693 100644 --- a/tests/pure/es.object.is-extensible.js +++ b/tests/pure/es.object.is-extensible.js @@ -1,4 +1,4 @@ -import isExtensible from 'core-js-pure/features/object/is-extensible'; +import isExtensible from 'core-js-pure/es/object/is-extensible'; QUnit.test('Object.isExtensible', assert => { assert.isFunction(isExtensible); diff --git a/tests/pure/es.object.is-frozen.js b/tests/pure/es.object.is-frozen.js index d6e7353ebd2e..2127132ad672 100644 --- a/tests/pure/es.object.is-frozen.js +++ b/tests/pure/es.object.is-frozen.js @@ -1,4 +1,4 @@ -import isFrozen from 'core-js-pure/features/object/is-frozen'; +import isFrozen from 'core-js-pure/es/object/is-frozen'; QUnit.test('Object.isFrozen', assert => { assert.isFunction(isFrozen); diff --git a/tests/pure/es.object.is-sealed.js b/tests/pure/es.object.is-sealed.js index 8fa136ebb5c0..af57709ba02d 100644 --- a/tests/pure/es.object.is-sealed.js +++ b/tests/pure/es.object.is-sealed.js @@ -1,4 +1,4 @@ -import isSealed from 'core-js-pure/features/object/is-sealed'; +import isSealed from 'core-js-pure/es/object/is-sealed'; QUnit.test('Object.isSealed', assert => { assert.isFunction(isSealed); diff --git a/tests/pure/es.object.is.js b/tests/pure/es.object.is.js index 90944dcad3fe..a1ee7378d7ea 100644 --- a/tests/pure/es.object.is.js +++ b/tests/pure/es.object.is.js @@ -1,4 +1,4 @@ -import is from 'core-js-pure/features/object/is'; +import is from 'core-js-pure/es/object/is'; QUnit.test('Object.is', assert => { assert.isFunction(is); diff --git a/tests/pure/es.object.keys.js b/tests/pure/es.object.keys.js index a129ffa5b343..9931d432f69c 100644 --- a/tests/pure/es.object.keys.js +++ b/tests/pure/es.object.keys.js @@ -1,6 +1,6 @@ import { includes } from '../helpers/helpers'; -import keys from 'core-js-pure/features/object/keys'; +import keys from 'core-js-pure/es/object/keys'; QUnit.test('Object.keys', assert => { assert.isFunction(keys); diff --git a/tests/pure/es.object.lookup-getter.js b/tests/pure/es.object.lookup-getter.js index cc3cda36a7f2..d750878ef93e 100644 --- a/tests/pure/es.object.lookup-getter.js +++ b/tests/pure/es.object.lookup-getter.js @@ -1,6 +1,8 @@ import { DESCRIPTORS, STRICT } from '../helpers/constants'; -import { __lookupGetter__, __defineGetter__, create } from 'core-js-pure/features/object'; +import create from 'core-js-pure/es/object/create'; +import __defineGetter__ from 'core-js-pure/es/object/define-getter'; +import __lookupGetter__ from 'core-js-pure/es/object/lookup-getter'; if (DESCRIPTORS) { QUnit.test('Object#__lookupGetter__', assert => { diff --git a/tests/pure/es.object.lookup-setter.js b/tests/pure/es.object.lookup-setter.js index 03685f529bcc..84d9e1f64d96 100644 --- a/tests/pure/es.object.lookup-setter.js +++ b/tests/pure/es.object.lookup-setter.js @@ -1,6 +1,8 @@ import { DESCRIPTORS, STRICT } from '../helpers/constants'; -import { __lookupSetter__, __defineSetter__, create } from 'core-js-pure/features/object'; +import create from 'core-js-pure/es/object/create'; +import __defineSetter__ from 'core-js-pure/es/object/define-setter'; +import __lookupSetter__ from 'core-js-pure/es/object/lookup-setter'; if (DESCRIPTORS) { QUnit.test('Object#__lookupSetter__', assert => { diff --git a/tests/pure/es.object.prevent-extensions.js b/tests/pure/es.object.prevent-extensions.js index affb495e3126..1418c35efebc 100644 --- a/tests/pure/es.object.prevent-extensions.js +++ b/tests/pure/es.object.prevent-extensions.js @@ -1,5 +1,8 @@ -import { preventExtensions, keys, getOwnPropertyNames, getOwnPropertySymbols } from 'core-js-pure/features/object'; -import ownKeys from 'core-js-pure/features/reflect/own-keys'; +import ownKeys from 'core-js-pure/es/reflect/own-keys'; +import keys from 'core-js-pure/es/object/keys'; +import getOwnPropertyNames from 'core-js-pure/es/object/get-own-property-names'; +import getOwnPropertySymbols from 'core-js-pure/es/object/get-own-property-symbols'; +import preventExtensions from 'core-js-pure/es/object/prevent-extensions'; QUnit.test('Object.preventExtensions', assert => { assert.isFunction(preventExtensions); diff --git a/tests/pure/es.object.seal.js b/tests/pure/es.object.seal.js index eafc8cbac684..a4e15e2b88b2 100644 --- a/tests/pure/es.object.seal.js +++ b/tests/pure/es.object.seal.js @@ -1,5 +1,8 @@ -import { seal, keys, getOwnPropertyNames, getOwnPropertySymbols } from 'core-js-pure/features/object'; -import ownKeys from 'core-js-pure/features/reflect/own-keys'; +import ownKeys from 'core-js-pure/es/reflect/own-keys'; +import keys from 'core-js-pure/es/object/keys'; +import getOwnPropertyNames from 'core-js-pure/es/object/get-own-property-names'; +import getOwnPropertySymbols from 'core-js-pure/es/object/get-own-property-symbols'; +import seal from 'core-js-pure/es/object/seal'; QUnit.test('Object.seal', assert => { assert.isFunction(seal); diff --git a/tests/pure/es.object.set-prototype-of.js b/tests/pure/es.object.set-prototype-of.js index f1c4331780a7..1b523f7b6446 100644 --- a/tests/pure/es.object.set-prototype-of.js +++ b/tests/pure/es.object.set-prototype-of.js @@ -1,6 +1,6 @@ import { PROTO } from '../helpers/constants'; -import setPrototypeOf from 'core-js-pure/features/object/set-prototype-of'; +import setPrototypeOf from 'core-js-pure/es/object/set-prototype-of'; if (PROTO) QUnit.test('Object.setPrototypeOf', assert => { assert.isFunction(setPrototypeOf); diff --git a/tests/pure/es.object.values.js b/tests/pure/es.object.values.js index 88d8e3f36540..6e4ae18e5d80 100644 --- a/tests/pure/es.object.values.js +++ b/tests/pure/es.object.values.js @@ -1,4 +1,6 @@ -import { values, create, assign } from 'core-js-pure/features/object'; +import assign from 'core-js-pure/es/object/assign'; +import create from 'core-js-pure/es/object/create'; +import values from 'core-js-pure/es/object/values'; QUnit.test('Object.values', assert => { assert.isFunction(values); diff --git a/tests/pure/es.parse-float.js b/tests/pure/es.parse-float.js index c8d4c664c142..e5acc4b569b0 100644 --- a/tests/pure/es.parse-float.js +++ b/tests/pure/es.parse-float.js @@ -1,5 +1,5 @@ import { WHITESPACES } from '../helpers/constants'; -import parseFloat from 'core-js-pure/features/parse-float'; +import parseFloat from 'core-js-pure/es/parse-float'; QUnit.test('parseFloat', assert => { assert.isFunction(parseFloat); diff --git a/tests/pure/es.parse-int.js b/tests/pure/es.parse-int.js index e77a841f18ba..be01c2786822 100644 --- a/tests/pure/es.parse-int.js +++ b/tests/pure/es.parse-int.js @@ -1,5 +1,5 @@ import { WHITESPACES } from '../helpers/constants'; -import parseInt from 'core-js-pure/features/parse-int'; +import parseInt from 'core-js-pure/es/parse-int'; QUnit.test('parseInt', assert => { assert.isFunction(parseInt); diff --git a/tests/pure/es.promise.any.js b/tests/pure/es.promise.any.js index c1871b6063de..0474bd21d1cf 100644 --- a/tests/pure/es.promise.any.js +++ b/tests/pure/es.promise.any.js @@ -1,4 +1,5 @@ -import { AggregateError, Promise } from 'core-js-pure/es'; +import AggregateError from 'core-js-pure/es/aggregate-error'; +import Promise from 'core-js-pure/es/promise'; QUnit.test('Promise.any', assert => { assert.isFunction(Promise.any); diff --git a/tests/pure/es.promise.finally.js b/tests/pure/es.promise.finally.js index 29339ffd0051..f0a095432783 100644 --- a/tests/pure/es.promise.finally.js +++ b/tests/pure/es.promise.finally.js @@ -1,4 +1,4 @@ -import Promise from 'core-js-pure/features/promise'; +import Promise from 'core-js-pure/es/promise'; QUnit.test('Promise#finally', assert => { assert.isFunction(Promise.prototype.finally); diff --git a/tests/pure/es.promise.js b/tests/pure/es.promise.js index 2e888e1998e5..830d4f80155f 100644 --- a/tests/pure/es.promise.js +++ b/tests/pure/es.promise.js @@ -1,10 +1,12 @@ import { DESCRIPTORS, GLOBAL, PROTO, STRICT } from '../helpers/constants'; import { createIterable } from '../helpers/helpers'; -import { Promise, Symbol } from 'core-js-pure'; -import getIteratorMethod from 'core-js-pure/features/get-iterator-method'; -import { setPrototypeOf, create } from 'core-js-pure/features/object'; -import bind from 'core-js-pure/features/function/bind'; +import getIteratorMethod from 'core-js-pure/es/get-iterator-method'; +import setPrototypeOf from 'core-js-pure/es/object/set-prototype-of'; +import create from 'core-js-pure/es/object/create'; +import bind from 'core-js-pure/es/function/bind'; +import Symbol from 'core-js-pure/es/symbol'; +import Promise from 'core-js-pure/es/promise'; QUnit.test('Promise', assert => { assert.isFunction(Promise); diff --git a/tests/pure/es.reflect.construct.js b/tests/pure/es.reflect.construct.js index 74af68a03051..005e514613e7 100644 --- a/tests/pure/es.reflect.construct.js +++ b/tests/pure/es.reflect.construct.js @@ -1,5 +1,5 @@ -import construct from 'core-js-pure/features/reflect/construct'; -import getPrototypeOf from 'core-js-pure/features/object/get-prototype-of'; +import construct from 'core-js-pure/es/reflect/construct'; +import getPrototypeOf from 'core-js-pure/es/object/get-prototype-of'; QUnit.test('Reflect.construct', assert => { assert.isFunction(construct); diff --git a/tests/pure/es.reflect.define-property.js b/tests/pure/es.reflect.define-property.js index 4e953a154527..648a353700b6 100644 --- a/tests/pure/es.reflect.define-property.js +++ b/tests/pure/es.reflect.define-property.js @@ -1,7 +1,8 @@ import { DESCRIPTORS } from '../helpers/constants'; -import defineProperty from 'core-js-pure/features/reflect/define-property'; -import { getOwnPropertyDescriptor, create } from 'core-js-pure/features/object'; +import getOwnPropertyDescriptor from 'core-js-pure/es/object/get-own-property-descriptor'; +import create from 'core-js-pure/es/object/create'; +import defineProperty from 'core-js-pure/es/reflect/define-property'; QUnit.test('Reflect.defineProperty', assert => { assert.isFunction(defineProperty); diff --git a/tests/pure/es.reflect.delete-property.js b/tests/pure/es.reflect.delete-property.js index 76dbff4cacf9..7dc978b385e4 100644 --- a/tests/pure/es.reflect.delete-property.js +++ b/tests/pure/es.reflect.delete-property.js @@ -1,7 +1,8 @@ import { DESCRIPTORS } from '../helpers/constants'; -import deleteProperty from 'core-js-pure/features/reflect/delete-property'; -import { defineProperty, keys } from 'core-js-pure/features/object'; +import keys from 'core-js-pure/es/object/keys'; +import defineProperty from 'core-js-pure/es/object/define-property'; +import deleteProperty from 'core-js-pure/es/reflect/delete-property'; QUnit.test('Reflect.deleteProperty', assert => { assert.isFunction(deleteProperty); diff --git a/tests/pure/es.reflect.get-own-property-descriptor.js b/tests/pure/es.reflect.get-own-property-descriptor.js index 39d252f6ff60..043a08bc2a25 100644 --- a/tests/pure/es.reflect.get-own-property-descriptor.js +++ b/tests/pure/es.reflect.get-own-property-descriptor.js @@ -1,6 +1,6 @@ import { DESCRIPTORS } from '../helpers/constants'; -import getOwnPropertyDescriptor from 'core-js-pure/features/reflect/get-own-property-descriptor'; +import getOwnPropertyDescriptor from 'core-js-pure/es/reflect/get-own-property-descriptor'; QUnit.test('Reflect.getOwnPropertyDescriptor', assert => { assert.isFunction(getOwnPropertyDescriptor); diff --git a/tests/pure/es.reflect.get-prototype-of.js b/tests/pure/es.reflect.get-prototype-of.js index 80fac111868c..2af47db6481c 100644 --- a/tests/pure/es.reflect.get-prototype-of.js +++ b/tests/pure/es.reflect.get-prototype-of.js @@ -1,6 +1,6 @@ import { CORRECT_PROTOTYPE_GETTER } from '../helpers/constants'; -import getPrototypeOf from 'core-js-pure/features/reflect/get-prototype-of'; +import getPrototypeOf from 'core-js-pure/es/reflect/get-prototype-of'; QUnit.test('Reflect.getPrototypeOf', assert => { assert.isFunction(getPrototypeOf); diff --git a/tests/pure/es.reflect.get.js b/tests/pure/es.reflect.get.js index ebe94dafc4d7..651027b3f9fa 100644 --- a/tests/pure/es.reflect.get.js +++ b/tests/pure/es.reflect.get.js @@ -1,7 +1,8 @@ import { DESCRIPTORS } from '../helpers/constants'; -import get from 'core-js-pure/features/reflect/get'; -import { defineProperty, create } from 'core-js-pure/features/object'; +import create from 'core-js-pure/es/object/create'; +import defineProperty from 'core-js-pure/es/object/define-property'; +import get from 'core-js-pure/es/reflect/get'; QUnit.test('Reflect.get', assert => { assert.isFunction(get); diff --git a/tests/pure/es.reflect.has.js b/tests/pure/es.reflect.has.js index 6a19fb703595..8fcba7d980b7 100644 --- a/tests/pure/es.reflect.has.js +++ b/tests/pure/es.reflect.has.js @@ -1,4 +1,4 @@ -import has from 'core-js-pure/features/reflect/has'; +import has from 'core-js-pure/es/reflect/has'; QUnit.test('Reflect.has', assert => { assert.isFunction(has); diff --git a/tests/pure/es.reflect.is-extensible.js b/tests/pure/es.reflect.is-extensible.js index 1bcf25bf528c..898a79557cc8 100644 --- a/tests/pure/es.reflect.is-extensible.js +++ b/tests/pure/es.reflect.is-extensible.js @@ -1,7 +1,7 @@ import { DESCRIPTORS } from '../helpers/constants'; -import isExtensible from 'core-js-pure/features/reflect/is-extensible'; -import preventExtensions from 'core-js-pure/features/object/prevent-extensions'; +import preventExtensions from 'core-js-pure/es/object/prevent-extensions'; +import isExtensible from 'core-js-pure/es/reflect/is-extensible'; QUnit.test('Reflect.isExtensible', assert => { assert.isFunction(isExtensible); diff --git a/tests/pure/es.reflect.own-keys.js b/tests/pure/es.reflect.own-keys.js index d47169c88bc2..20e77742dfc2 100644 --- a/tests/pure/es.reflect.own-keys.js +++ b/tests/pure/es.reflect.own-keys.js @@ -1,8 +1,9 @@ import { includes } from '../helpers/helpers'; -import Symbol from 'core-js-pure/features/symbol'; -import ownKeys from 'core-js-pure/features/reflect/own-keys'; -import { defineProperty, create } from 'core-js-pure/features/object'; +import Symbol from 'core-js-pure/es/symbol'; +import create from 'core-js-pure/es/object/create'; +import defineProperty from 'core-js-pure/es/object/define-property'; +import ownKeys from 'core-js-pure/es/reflect/own-keys'; QUnit.test('Reflect.ownKeys', assert => { assert.isFunction(ownKeys); diff --git a/tests/pure/es.reflect.prevent-extensions.js b/tests/pure/es.reflect.prevent-extensions.js index c4305dac9a27..46f4a6d37636 100644 --- a/tests/pure/es.reflect.prevent-extensions.js +++ b/tests/pure/es.reflect.prevent-extensions.js @@ -1,7 +1,7 @@ import { DESCRIPTORS, FREEZING } from '../helpers/constants'; -import preventExtensions from 'core-js-pure/features/reflect/prevent-extensions'; -import isExtensible from 'core-js-pure/features/object/is-extensible'; +import preventExtensions from 'core-js-pure/es/reflect/prevent-extensions'; +import isExtensible from 'core-js-pure/es/object/is-extensible'; QUnit.test('Reflect.preventExtensions', assert => { assert.isFunction(preventExtensions); diff --git a/tests/pure/es.reflect.set-prototype-of.js b/tests/pure/es.reflect.set-prototype-of.js index 5a2a824a5c1d..3820a499850a 100644 --- a/tests/pure/es.reflect.set-prototype-of.js +++ b/tests/pure/es.reflect.set-prototype-of.js @@ -1,6 +1,6 @@ import { PROTO } from '../helpers/constants'; -import setPrototypeOf from 'core-js-pure/features/reflect/set-prototype-of'; +import setPrototypeOf from 'core-js-pure/es/reflect/set-prototype-of'; if (PROTO) QUnit.test('Reflect.setPrototypeOf', assert => { assert.isFunction(setPrototypeOf); diff --git a/tests/pure/es.reflect.set.js b/tests/pure/es.reflect.set.js index 5ee0d315e46b..974dded289c1 100644 --- a/tests/pure/es.reflect.set.js +++ b/tests/pure/es.reflect.set.js @@ -1,7 +1,10 @@ import { DESCRIPTORS } from '../helpers/constants'; -import set from 'core-js-pure/features/reflect/set'; -import { defineProperty, getOwnPropertyDescriptor, create, getPrototypeOf } from 'core-js-pure/features/object'; +import create from 'core-js-pure/es/object/create'; +import defineProperty from 'core-js-pure/es/object/define-property'; +import getOwnPropertyDescriptor from 'core-js-pure/es/object/get-own-property-descriptor'; +import getPrototypeOf from 'core-js-pure/es/object/get-prototype-of'; +import set from 'core-js-pure/es/reflect/set'; QUnit.test('Reflect.set', assert => { assert.isFunction(set); diff --git a/tests/pure/es.set.js b/tests/pure/es.set.js index 8e867bb49e8d..cfe4e16d8a1a 100644 --- a/tests/pure/es.set.js +++ b/tests/pure/es.set.js @@ -3,12 +3,18 @@ import { createIterable, is, nativeSubclass } from '../helpers/helpers'; import { DESCRIPTORS } from '../helpers/constants'; -import { Set, Map, Symbol } from 'core-js-pure'; -import getIterator from 'core-js-pure/features/get-iterator'; -import getIteratorMethod from 'core-js-pure/features/get-iterator-method'; -import { freeze, getOwnPropertyDescriptor, keys, getOwnPropertyNames, getOwnPropertySymbols } from 'core-js-pure/features/object'; -import ownKeys from 'core-js-pure/features/reflect/own-keys'; +import getIterator from 'core-js-pure/es/get-iterator'; +import getIteratorMethod from 'core-js-pure/es/get-iterator-method'; import from from 'core-js-pure/features/array/from'; +import freeze from 'core-js-pure/es/object/freeze'; +import getOwnPropertyDescriptor from 'core-js-pure/es/object/get-own-property-descriptor'; +import getOwnPropertyNames from 'core-js-pure/es/object/get-own-property-names'; +import getOwnPropertySymbols from 'core-js-pure/es/object/get-own-property-symbols'; +import keys from 'core-js-pure/es/object/keys'; +import ownKeys from 'core-js-pure/es/reflect/own-keys'; +import Symbol from 'core-js-pure/es/symbol'; +import Map from 'core-js-pure/es/map'; +import Set from 'core-js-pure/es/set'; QUnit.test('Set', assert => { assert.isFunction(Set); diff --git a/tests/pure/es.string.anchor.js b/tests/pure/es.string.anchor.js index 30ed966d9678..b4a466a24786 100644 --- a/tests/pure/es.string.anchor.js +++ b/tests/pure/es.string.anchor.js @@ -1,4 +1,4 @@ -import anchor from 'core-js-pure/features/string/anchor'; +import anchor from 'core-js-pure/es/string/anchor'; QUnit.test('String#anchor', assert => { assert.isFunction(anchor); diff --git a/tests/pure/es.string.at-alternative.js b/tests/pure/es.string.at-alternative.js index 3d0bb8034bf3..459c0bc549d7 100644 --- a/tests/pure/es.string.at-alternative.js +++ b/tests/pure/es.string.at-alternative.js @@ -1,7 +1,7 @@ import { STRICT } from '../helpers/constants'; -import at from 'core-js-pure/es/string/at'; import Symbol from 'core-js-pure/es/symbol'; +import at from 'core-js-pure/es/string/at'; QUnit.test('String#at', assert => { assert.isFunction(at); diff --git a/tests/pure/es.string.big.js b/tests/pure/es.string.big.js index 82cd191486a7..bdb794badb02 100644 --- a/tests/pure/es.string.big.js +++ b/tests/pure/es.string.big.js @@ -1,4 +1,4 @@ -import big from 'core-js-pure/features/string/big'; +import big from 'core-js-pure/es/string/big'; QUnit.test('String#big', assert => { assert.isFunction(big); diff --git a/tests/pure/es.string.blink.js b/tests/pure/es.string.blink.js index f926ca02cf65..b3fe96378437 100644 --- a/tests/pure/es.string.blink.js +++ b/tests/pure/es.string.blink.js @@ -1,4 +1,4 @@ -import blink from 'core-js-pure/features/string/blink'; +import blink from 'core-js-pure/es/string/blink'; QUnit.test('String#blink', assert => { assert.isFunction(blink); diff --git a/tests/pure/es.string.bold.js b/tests/pure/es.string.bold.js index ea7247afb627..a0d938b0d67d 100644 --- a/tests/pure/es.string.bold.js +++ b/tests/pure/es.string.bold.js @@ -1,4 +1,4 @@ -import bold from 'core-js-pure/features/string/bold'; +import bold from 'core-js-pure/es/string/bold'; QUnit.test('String#bold', assert => { assert.isFunction(bold); diff --git a/tests/pure/es.string.code-point-at.js b/tests/pure/es.string.code-point-at.js index 87dbc6beb59c..72d4295c7efc 100644 --- a/tests/pure/es.string.code-point-at.js +++ b/tests/pure/es.string.code-point-at.js @@ -1,6 +1,6 @@ import { STRICT } from '../helpers/constants'; -import codePointAt from 'core-js-pure/features/string/code-point-at'; +import codePointAt from 'core-js-pure/es/string/code-point-at'; QUnit.test('String#codePointAt', assert => { assert.isFunction(codePointAt); diff --git a/tests/pure/es.string.ends-with.js b/tests/pure/es.string.ends-with.js index 0af2180f62b5..ba5e8b922b62 100644 --- a/tests/pure/es.string.ends-with.js +++ b/tests/pure/es.string.ends-with.js @@ -1,7 +1,7 @@ import { STRICT } from '../helpers/constants'; -import Symbol from 'core-js-pure/features/symbol'; -import endsWith from 'core-js-pure/features/string/ends-with'; +import Symbol from 'core-js-pure/es/symbol'; +import endsWith from 'core-js-pure/es/string/ends-with'; QUnit.test('String#endsWith', assert => { assert.isFunction(endsWith); diff --git a/tests/pure/es.string.fixed.js b/tests/pure/es.string.fixed.js index cfd5de8da06a..1851da4c834b 100644 --- a/tests/pure/es.string.fixed.js +++ b/tests/pure/es.string.fixed.js @@ -1,4 +1,4 @@ -import fixed from 'core-js-pure/features/string/fixed'; +import fixed from 'core-js-pure/es/string/fixed'; QUnit.test('String#fixed', assert => { assert.isFunction(fixed); diff --git a/tests/pure/es.string.fontcolor.js b/tests/pure/es.string.fontcolor.js index ca0c53c61151..9a037f291cc9 100644 --- a/tests/pure/es.string.fontcolor.js +++ b/tests/pure/es.string.fontcolor.js @@ -1,4 +1,4 @@ -import fontcolor from 'core-js-pure/features/string/fontcolor'; +import fontcolor from 'core-js-pure/es/string/fontcolor'; QUnit.test('String#fontcolor', assert => { assert.isFunction(fontcolor); diff --git a/tests/pure/es.string.fontsize.js b/tests/pure/es.string.fontsize.js index 791d435e74b8..524b59fe9954 100644 --- a/tests/pure/es.string.fontsize.js +++ b/tests/pure/es.string.fontsize.js @@ -1,4 +1,4 @@ -import fontsize from 'core-js-pure/features/string/fontsize'; +import fontsize from 'core-js-pure/es/string/fontsize'; QUnit.test('String#fontsize', assert => { assert.isFunction(fontsize); diff --git a/tests/pure/es.string.from-code-point.js b/tests/pure/es.string.from-code-point.js index afd75785cb0b..b52892e863a9 100644 --- a/tests/pure/es.string.from-code-point.js +++ b/tests/pure/es.string.from-code-point.js @@ -1,4 +1,4 @@ -import fromCodePoint from 'core-js-pure/features/string/from-code-point'; +import fromCodePoint from 'core-js-pure/es/string/from-code-point'; QUnit.test('String.fromCodePoint', assert => { assert.isFunction(fromCodePoint); diff --git a/tests/pure/es.string.includes.js b/tests/pure/es.string.includes.js index cfc46e0ebc1a..29508f957a66 100644 --- a/tests/pure/es.string.includes.js +++ b/tests/pure/es.string.includes.js @@ -1,7 +1,7 @@ import { STRICT } from '../helpers/constants'; -import Symbol from 'core-js-pure/features/symbol'; -import includes from 'core-js-pure/features/string/includes'; +import Symbol from 'core-js-pure/es/symbol'; +import includes from 'core-js-pure/es/string/includes'; QUnit.test('String#includes', assert => { assert.isFunction(includes); diff --git a/tests/pure/es.string.italics.js b/tests/pure/es.string.italics.js index 1116bc1023f0..2682922f5cd5 100644 --- a/tests/pure/es.string.italics.js +++ b/tests/pure/es.string.italics.js @@ -1,4 +1,4 @@ -import italics from 'core-js-pure/features/string/italics'; +import italics from 'core-js-pure/es/string/italics'; QUnit.test('String#italics', assert => { assert.isFunction(italics); diff --git a/tests/pure/es.string.iterator.js b/tests/pure/es.string.iterator.js index bcdccccd198f..b33c3d65373e 100644 --- a/tests/pure/es.string.iterator.js +++ b/tests/pure/es.string.iterator.js @@ -1,7 +1,7 @@ -import Symbol from 'core-js-pure/features/symbol'; -import getIterator from 'core-js-pure/features/get-iterator'; -import getIteratorMethod from 'core-js-pure/features/get-iterator-method'; -import from from 'core-js-pure/features/array/from'; +import getIterator from 'core-js-pure/es/get-iterator'; +import getIteratorMethod from 'core-js-pure/es/get-iterator-method'; +import Symbol from 'core-js-pure/es/symbol'; +import from from 'core-js-pure/es/array/from'; QUnit.test('String#@@iterator', assert => { let iterator = getIterator('qwe'); diff --git a/tests/pure/es.string.link.js b/tests/pure/es.string.link.js index a04e5a661e1a..87267efe1dcd 100644 --- a/tests/pure/es.string.link.js +++ b/tests/pure/es.string.link.js @@ -1,4 +1,4 @@ -import link from 'core-js-pure/features/string/link'; +import link from 'core-js-pure/es/string/link'; QUnit.test('String#link', assert => { assert.isFunction(link); diff --git a/tests/pure/es.string.match-all.js b/tests/pure/es.string.match-all.js index fe7114a336cb..c5e42e7317f4 100644 --- a/tests/pure/es.string.match-all.js +++ b/tests/pure/es.string.match-all.js @@ -1,8 +1,8 @@ import { STRICT } from '../helpers/constants'; -import matchAll from 'core-js-pure/es/string/match-all'; import Symbol from 'core-js-pure/es/symbol'; import assign from 'core-js-pure/es/object/assign'; +import matchAll from 'core-js-pure/es/string/match-all'; QUnit.test('String#matchAll', assert => { assert.isFunction(matchAll); diff --git a/tests/pure/es.string.pad-end.js b/tests/pure/es.string.pad-end.js index 80b4f0aac97d..7f49e5326530 100644 --- a/tests/pure/es.string.pad-end.js +++ b/tests/pure/es.string.pad-end.js @@ -1,7 +1,7 @@ import { STRICT } from '../helpers/constants'; -import padEnd from 'core-js-pure/features/string/pad-end'; -import Symbol from 'core-js-pure/features/symbol'; +import Symbol from 'core-js-pure/es/symbol'; +import padEnd from 'core-js-pure/es/string/pad-end'; QUnit.test('String#padEnd', assert => { assert.isFunction(padEnd); diff --git a/tests/pure/es.string.pad-start.js b/tests/pure/es.string.pad-start.js index 3f2fb7a6f549..589d86191507 100644 --- a/tests/pure/es.string.pad-start.js +++ b/tests/pure/es.string.pad-start.js @@ -1,7 +1,7 @@ import { STRICT } from '../helpers/constants'; -import padStart from 'core-js-pure/features/string/pad-start'; -import Symbol from 'core-js-pure/features/symbol'; +import Symbol from 'core-js-pure/es/symbol'; +import padStart from 'core-js-pure/es/string/pad-start'; QUnit.test('String#padStart', assert => { assert.isFunction(padStart); diff --git a/tests/pure/es.string.raw.js b/tests/pure/es.string.raw.js index d8a7ed3d746a..4a2322c8276a 100644 --- a/tests/pure/es.string.raw.js +++ b/tests/pure/es.string.raw.js @@ -1,4 +1,4 @@ -import raw from 'core-js-pure/features/string/raw'; +import raw from 'core-js-pure/es/string/raw'; QUnit.test('String.raw', assert => { assert.isFunction(raw); diff --git a/tests/pure/es.string.repeat.js b/tests/pure/es.string.repeat.js index f4d28e89e8fd..d7a61d66a1a3 100644 --- a/tests/pure/es.string.repeat.js +++ b/tests/pure/es.string.repeat.js @@ -1,6 +1,6 @@ import { STRICT } from '../helpers/constants'; -import repeat from 'core-js-pure/features/string/repeat'; +import repeat from 'core-js-pure/es/string/repeat'; QUnit.test('String#repeat', assert => { assert.isFunction(repeat); diff --git a/tests/pure/es.string.replace-all.js b/tests/pure/es.string.replace-all.js index 5500acab8302..bf784af9eeaf 100644 --- a/tests/pure/es.string.replace-all.js +++ b/tests/pure/es.string.replace-all.js @@ -1,7 +1,7 @@ import { STRICT } from '../helpers/constants'; -import replaceAll from 'core-js-pure/features/string/replace-all'; -import Symbol from 'core-js-pure/features/symbol'; +import Symbol from 'core-js-pure/es/symbol'; +import replaceAll from 'core-js-pure/es/string/replace-all'; QUnit.test('String#replaceAll', assert => { assert.isFunction(replaceAll); diff --git a/tests/pure/es.string.small.js b/tests/pure/es.string.small.js index 3c077a175d74..c2302824f859 100644 --- a/tests/pure/es.string.small.js +++ b/tests/pure/es.string.small.js @@ -1,4 +1,4 @@ -import small from 'core-js-pure/features/string/small'; +import small from 'core-js-pure/es/string/small'; QUnit.test('String#small', assert => { assert.isFunction(small); diff --git a/tests/pure/es.string.starts-with.js b/tests/pure/es.string.starts-with.js index 882c41cd77b2..7461685444ce 100644 --- a/tests/pure/es.string.starts-with.js +++ b/tests/pure/es.string.starts-with.js @@ -1,7 +1,7 @@ import { STRICT } from '../helpers/constants'; -import Symbol from 'core-js-pure/features/symbol'; -import startsWith from 'core-js-pure/features/string/starts-with'; +import Symbol from 'core-js-pure/es/symbol'; +import startsWith from 'core-js-pure/es/string/starts-with'; QUnit.test('String#startsWith', assert => { assert.isFunction(startsWith); diff --git a/tests/pure/es.string.strike.js b/tests/pure/es.string.strike.js index 1cc561f2054f..576638b4ecf6 100644 --- a/tests/pure/es.string.strike.js +++ b/tests/pure/es.string.strike.js @@ -1,4 +1,4 @@ -import strike from 'core-js-pure/features/string/strike'; +import strike from 'core-js-pure/es/string/strike'; QUnit.test('String#strike', assert => { assert.isFunction(strike); diff --git a/tests/pure/es.string.sub.js b/tests/pure/es.string.sub.js index eb1727b6a36a..1bcb53a28027 100644 --- a/tests/pure/es.string.sub.js +++ b/tests/pure/es.string.sub.js @@ -1,4 +1,4 @@ -import sub from 'core-js-pure/features/string/sub'; +import sub from 'core-js-pure/es/string/sub'; QUnit.test('String#sub', assert => { assert.isFunction(sub); diff --git a/tests/pure/es.string.sup.js b/tests/pure/es.string.sup.js index ab69df6d69d0..a677c05f64eb 100644 --- a/tests/pure/es.string.sup.js +++ b/tests/pure/es.string.sup.js @@ -1,4 +1,4 @@ -import sup from 'core-js-pure/features/string/sup'; +import sup from 'core-js-pure/es/string/sup'; QUnit.test('String#sup', assert => { assert.isFunction(sup); diff --git a/tests/pure/es.string.trim-end.js b/tests/pure/es.string.trim-end.js index ace474e86c82..738e2d2b5f99 100644 --- a/tests/pure/es.string.trim-end.js +++ b/tests/pure/es.string.trim-end.js @@ -1,7 +1,8 @@ import { STRICT, WHITESPACES } from '../helpers/constants'; -import { trimRight, trimEnd } from 'core-js-pure/features/string'; -import Symbol from 'core-js-pure/features/symbol'; +import Symbol from 'core-js-pure/es/symbol'; +import trimRight from 'core-js-pure/es/string/trim-right'; +import trimEnd from 'core-js-pure/es/string/trim-end'; QUnit.test('String#trimRight', assert => { assert.isFunction(trimRight); diff --git a/tests/pure/es.string.trim-start.js b/tests/pure/es.string.trim-start.js index 602e366f0d44..e6b8111b319c 100644 --- a/tests/pure/es.string.trim-start.js +++ b/tests/pure/es.string.trim-start.js @@ -1,7 +1,8 @@ import { STRICT, WHITESPACES } from '../helpers/constants'; -import { trimLeft, trimStart } from 'core-js-pure/features/string'; -import Symbol from 'core-js-pure/features/symbol'; +import Symbol from 'core-js-pure/es/symbol'; +import trimLeft from 'core-js-pure/es/string/trim-left'; +import trimStart from 'core-js-pure/es/string/trim-start'; QUnit.test('String#trimLeft', assert => { assert.isFunction(trimLeft); diff --git a/tests/pure/es.string.trim.js b/tests/pure/es.string.trim.js index 2ce038a31916..c9da0ea8dab8 100644 --- a/tests/pure/es.string.trim.js +++ b/tests/pure/es.string.trim.js @@ -1,6 +1,6 @@ import { STRICT, WHITESPACES } from '../helpers/constants'; -import trim from 'core-js-pure/features/string/trim'; +import trim from 'core-js-pure/es/string/trim'; QUnit.test('String#trim', assert => { assert.isFunction(trim); diff --git a/tests/pure/es.symbol.async-iterator.js b/tests/pure/es.symbol.async-iterator.js index ac149d096571..910c0d093f7e 100644 --- a/tests/pure/es.symbol.async-iterator.js +++ b/tests/pure/es.symbol.async-iterator.js @@ -1,4 +1,4 @@ -import Symbol from 'core-js-pure/features/symbol'; +import Symbol from 'core-js-pure/es/symbol'; QUnit.test('Symbol.asyncIterator', assert => { assert.true('asyncIterator' in Symbol, 'Symbol.asyncIterator available'); diff --git a/tests/pure/es.symbol.js b/tests/pure/es.symbol.js index 0a1cf6485b93..86091dfb0066 100644 --- a/tests/pure/es.symbol.js +++ b/tests/pure/es.symbol.js @@ -1,18 +1,18 @@ import { DESCRIPTORS } from '../helpers/constants'; -import core from 'core-js-pure'; -import { - defineProperty, - defineProperties, - getOwnPropertyDescriptor, - getOwnPropertyNames, - getOwnPropertySymbols, - keys, - create, -} from 'core-js-pure/features/object'; +import create from 'core-js-pure/features/object/create'; +import defineProperty from 'core-js-pure/features/object/define-property'; +import defineProperties from 'core-js-pure/features/object/define-properties'; +import getOwnPropertyDescriptor from 'core-js-pure/features/object/get-own-property-descriptor'; +import getOwnPropertyNames from 'core-js-pure/features/object/get-own-property-names'; +import getOwnPropertySymbols from 'core-js-pure/features/object/get-own-property-symbols'; +import keys from 'core-js-pure/features/object/keys'; import ownKeys from 'core-js-pure/features/reflect/own-keys'; - -const { Symbol, JSON } = core; +import JSON from 'core-js-pure/features/json'; +import Map from 'core-js-pure/features/map'; +import Set from 'core-js-pure/features/set'; +import Promise from 'core-js-pure/features/promise'; +import Symbol from 'core-js-pure/features/symbol'; QUnit.test('Symbol', assert => { assert.isFunction(Symbol); @@ -268,11 +268,11 @@ if (DESCRIPTORS) { assert.same(object[d], undefined, 'd'); }); - const constructors = ['Map', 'Set', 'Promise']; - for (const name of constructors) { + const constructors = { Map, Set, Promise }; + for (const name in constructors) { QUnit.test(`${ name }@@species`, assert => { - assert.same(core[name][Symbol.species], core[name], `${ name }@@species === ${ name }`); - const Subclass = create(core[name]); + assert.same(constructors[name][Symbol.species], constructors[name], `${ name }@@species === ${ name }`); + const Subclass = create(constructors[name]); assert.same(Subclass[Symbol.species], Subclass, `${ name } subclass`); }); } diff --git a/tests/pure/es.weak-map.js b/tests/pure/es.weak-map.js index 6a729d5c0d0b..379911289ff5 100644 --- a/tests/pure/es.weak-map.js +++ b/tests/pure/es.weak-map.js @@ -1,10 +1,14 @@ import { createIterable, nativeSubclass } from '../helpers/helpers'; import { DESCRIPTORS } from '../helpers/constants'; -import { Symbol, WeakMap } from 'core-js-pure'; import getIteratorMethod from 'core-js-pure/features/get-iterator-method'; -import { freeze, keys, getOwnPropertyNames, getOwnPropertySymbols } from 'core-js-pure/features/object'; -import ownKeys from 'core-js-pure/features/reflect/own-keys'; +import freeze from 'core-js-pure/es/object/freeze'; +import getOwnPropertyNames from 'core-js-pure/es/object/get-own-property-names'; +import getOwnPropertySymbols from 'core-js-pure/es/object/get-own-property-symbols'; +import keys from 'core-js-pure/es/object/keys'; +import ownKeys from 'core-js-pure/es/reflect/own-keys'; +import Symbol from 'core-js-pure/es/symbol'; +import WeakMap from 'core-js-pure/es/weak-map'; QUnit.test('WeakMap', assert => { assert.isFunction(WeakMap); diff --git a/tests/pure/es.weak-set.js b/tests/pure/es.weak-set.js index e48254bfb901..cb832acefd0a 100644 --- a/tests/pure/es.weak-set.js +++ b/tests/pure/es.weak-set.js @@ -1,10 +1,14 @@ import { createIterable, nativeSubclass } from '../helpers/helpers'; import { DESCRIPTORS } from '../helpers/constants'; -import { Symbol, WeakSet } from 'core-js-pure'; import getIteratorMethod from 'core-js-pure/features/get-iterator-method'; -import { freeze, keys, getOwnPropertyNames, getOwnPropertySymbols } from 'core-js-pure/features/object'; -import ownKeys from 'core-js-pure/features/reflect/own-keys'; +import freeze from 'core-js-pure/es/object/freeze'; +import getOwnPropertyNames from 'core-js-pure/es/object/get-own-property-names'; +import getOwnPropertySymbols from 'core-js-pure/es/object/get-own-property-symbols'; +import keys from 'core-js-pure/es/object/keys'; +import ownKeys from 'core-js-pure/es/reflect/own-keys'; +import Symbol from 'core-js-pure/es/symbol'; +import WeakSet from 'core-js-pure/es/weak-set'; QUnit.test('WeakSet', assert => { assert.isFunction(WeakSet); diff --git a/tests/pure/esnext.array.filter-out.js b/tests/pure/esnext.array.filter-out.js index e6bb6d76f05f..26440290e29b 100644 --- a/tests/pure/esnext.array.filter-out.js +++ b/tests/pure/esnext.array.filter-out.js @@ -1,7 +1,7 @@ // TODO: Remove from `core-js@4` import { STRICT } from '../helpers/constants'; -import Symbol from 'core-js-pure/features/symbol'; +import Symbol from 'core-js-pure/es/symbol'; import filterOut from 'core-js-pure/features/array/filter-out'; QUnit.test('Array#filterOut', assert => { diff --git a/tests/pure/esnext.array.filter-reject.js b/tests/pure/esnext.array.filter-reject.js index ed87dd05a37e..e58c15ef2612 100644 --- a/tests/pure/esnext.array.filter-reject.js +++ b/tests/pure/esnext.array.filter-reject.js @@ -1,6 +1,6 @@ import { STRICT } from '../helpers/constants'; -import Symbol from 'core-js-pure/features/symbol'; +import Symbol from 'core-js-pure/es/symbol'; import filterReject from 'core-js-pure/features/array/filter-reject'; QUnit.test('Array#filterReject', assert => { diff --git a/tests/pure/esnext.array.find-last-index.js b/tests/pure/esnext.array.find-last-index.js index 10d87eae87df..b28b092f9f81 100644 --- a/tests/pure/esnext.array.find-last-index.js +++ b/tests/pure/esnext.array.find-last-index.js @@ -1,6 +1,6 @@ import { STRICT } from '../helpers/constants'; -import findLastIndex from 'core-js-pure/features/array/find-last-index'; +import findLastIndex from 'core-js-pure/actual/array/find-last-index'; QUnit.test('Array#findLastIndex', assert => { assert.isFunction(findLastIndex); diff --git a/tests/pure/esnext.array.find-last.js b/tests/pure/esnext.array.find-last.js index 13c84e38307f..dd87c231df6c 100644 --- a/tests/pure/esnext.array.find-last.js +++ b/tests/pure/esnext.array.find-last.js @@ -1,6 +1,6 @@ import { STRICT } from '../helpers/constants'; -import findLast from 'core-js-pure/features/array/find-last'; +import findLast from 'core-js-pure/actual/array/find-last'; QUnit.test('Array#findLast', assert => { assert.isFunction(findLast); diff --git a/tests/pure/esnext.array.from-async.js b/tests/pure/esnext.array.from-async.js index 3c401dbfd48a..b7f45b242744 100644 --- a/tests/pure/esnext.array.from-async.js +++ b/tests/pure/esnext.array.from-async.js @@ -1,5 +1,6 @@ import { createAsyncIterable, createIterable } from '../helpers/helpers'; import { STRICT_THIS } from '../helpers/constants'; + import Promise from 'core-js-pure/es/promise'; import fromAsync from 'core-js-pure/features/array/from-async'; diff --git a/tests/pure/esnext.array.group-by.js b/tests/pure/esnext.array.group-by.js index 2b9492d62076..879d5d524751 100644 --- a/tests/pure/esnext.array.group-by.js +++ b/tests/pure/esnext.array.group-by.js @@ -1,8 +1,8 @@ import { STRICT } from '../helpers/constants'; -import Symbol from 'core-js-pure/features/symbol'; +import Symbol from 'core-js-pure/es/symbol'; +import getPrototypeOf from 'core-js-pure/es/object/get-prototype-of'; import groupBy from 'core-js-pure/features/array/group-by'; -import getPrototypeOf from 'core-js-pure/features/object/get-prototype-of'; QUnit.test('Array#groupBy', assert => { assert.isFunction(groupBy); diff --git a/tests/pure/esnext.array.is-template-object.js b/tests/pure/esnext.array.is-template-object.js index d78387a52710..228a5226f4ca 100644 --- a/tests/pure/esnext.array.is-template-object.js +++ b/tests/pure/esnext.array.is-template-object.js @@ -1,5 +1,5 @@ +import freeze from 'core-js-pure/es/object/freeze'; import isTemplateObject from 'core-js-pure/features/array/is-template-object'; -import freeze from 'core-js-pure/features/object/freeze'; QUnit.test('Array.isTemplateObject', assert => { assert.isFunction(isTemplateObject); diff --git a/tests/pure/esnext.array.unique-by.js b/tests/pure/esnext.array.unique-by.js index 1f6ec183e526..7086a7ad48f8 100644 --- a/tests/pure/esnext.array.unique-by.js +++ b/tests/pure/esnext.array.unique-by.js @@ -1,6 +1,7 @@ -import uniqueBy from 'core-js-pure/features/array/unique-by'; import { STRICT } from '../helpers/constants'; +import uniqueBy from 'core-js-pure/features/array/unique-by'; + QUnit.test('Array#uniqueBy', assert => { assert.isFunction(uniqueBy); diff --git a/tests/pure/esnext.async-iterator.as-indexed-pairs.js b/tests/pure/esnext.async-iterator.as-indexed-pairs.js index 2206cc933d18..f16ddb16e166 100644 --- a/tests/pure/esnext.async-iterator.as-indexed-pairs.js +++ b/tests/pure/esnext.async-iterator.as-indexed-pairs.js @@ -1,7 +1,7 @@ -import AsyncIterator from 'core-js-pure/features/async-iterator'; - import { createIterator } from '../helpers/helpers'; +import AsyncIterator from 'core-js-pure/features/async-iterator'; + QUnit.test('AsyncIterator#asIndexedPairs', assert => { assert.expect(8); const async = assert.async(); diff --git a/tests/pure/esnext.async-iterator.constructor.js b/tests/pure/esnext.async-iterator.constructor.js index bba80d98b26c..78677e15a816 100644 --- a/tests/pure/esnext.async-iterator.constructor.js +++ b/tests/pure/esnext.async-iterator.constructor.js @@ -1,5 +1,6 @@ +import Symbol from 'core-js-pure/es/symbol'; + import AsyncIterator from 'core-js-pure/features/async-iterator'; -import Symbol from 'core-js-pure/features/symbol'; QUnit.test('AsyncIterator', assert => { assert.isFunction(AsyncIterator); diff --git a/tests/pure/esnext.async-iterator.drop.js b/tests/pure/esnext.async-iterator.drop.js index 8989f61fccff..9b29e98eb56e 100644 --- a/tests/pure/esnext.async-iterator.drop.js +++ b/tests/pure/esnext.async-iterator.drop.js @@ -1,7 +1,7 @@ -import AsyncIterator from 'core-js-pure/features/async-iterator'; - import { createIterator } from '../helpers/helpers'; +import AsyncIterator from 'core-js-pure/features/async-iterator'; + QUnit.test('AsyncIterator#drop', assert => { assert.expect(12); const async = assert.async(); diff --git a/tests/pure/esnext.async-iterator.every.js b/tests/pure/esnext.async-iterator.every.js index 99be1f9635cb..b8a23490deb4 100644 --- a/tests/pure/esnext.async-iterator.every.js +++ b/tests/pure/esnext.async-iterator.every.js @@ -1,8 +1,8 @@ -import AsyncIterator from 'core-js-pure/features/async-iterator'; - import { createIterator } from '../helpers/helpers'; import { STRICT_THIS } from '../helpers/constants'; +import AsyncIterator from 'core-js-pure/features/async-iterator'; + QUnit.test('AsyncIterator#every', assert => { assert.expect(16); const async = assert.async(); diff --git a/tests/pure/esnext.async-iterator.filter.js b/tests/pure/esnext.async-iterator.filter.js index 21d456d0b577..e604a9e43335 100644 --- a/tests/pure/esnext.async-iterator.filter.js +++ b/tests/pure/esnext.async-iterator.filter.js @@ -1,8 +1,8 @@ -import AsyncIterator from 'core-js-pure/features/async-iterator'; - import { createIterator } from '../helpers/helpers'; import { STRICT_THIS } from '../helpers/constants'; +import AsyncIterator from 'core-js-pure/features/async-iterator'; + QUnit.test('AsyncIterator#filter', assert => { assert.expect(15); const async = assert.async(); diff --git a/tests/pure/esnext.async-iterator.find.js b/tests/pure/esnext.async-iterator.find.js index 6837e309015e..0ebcabc6894b 100644 --- a/tests/pure/esnext.async-iterator.find.js +++ b/tests/pure/esnext.async-iterator.find.js @@ -1,8 +1,8 @@ -import AsyncIterator from 'core-js-pure/features/async-iterator'; - import { createIterator } from '../helpers/helpers'; import { STRICT_THIS } from '../helpers/constants'; +import AsyncIterator from 'core-js-pure/features/async-iterator'; + QUnit.test('AsyncIterator#find', assert => { assert.expect(16); const async = assert.async(); diff --git a/tests/pure/esnext.async-iterator.flat-map.js b/tests/pure/esnext.async-iterator.flat-map.js index 934618cf1c81..ddee25e3d15b 100644 --- a/tests/pure/esnext.async-iterator.flat-map.js +++ b/tests/pure/esnext.async-iterator.flat-map.js @@ -1,8 +1,8 @@ -import AsyncIterator from 'core-js-pure/features/async-iterator'; - import { createIterator, createIterable } from '../helpers/helpers'; import { STRICT_THIS } from '../helpers/constants'; +import AsyncIterator from 'core-js-pure/features/async-iterator'; + QUnit.test('AsyncIterator#flatMap', assert => { assert.expect(15); const async = assert.async(); diff --git a/tests/pure/esnext.async-iterator.for-each.js b/tests/pure/esnext.async-iterator.for-each.js index 3dad7272ef0d..cf0b1be3362c 100644 --- a/tests/pure/esnext.async-iterator.for-each.js +++ b/tests/pure/esnext.async-iterator.for-each.js @@ -1,8 +1,8 @@ -import AsyncIterator from 'core-js-pure/features/async-iterator'; - import { createIterator } from '../helpers/helpers'; import { STRICT_THIS } from '../helpers/constants'; +import AsyncIterator from 'core-js-pure/features/async-iterator'; + QUnit.test('AsyncIterator#forEach', assert => { assert.expect(15); const async = assert.async(); diff --git a/tests/pure/esnext.async-iterator.from.js b/tests/pure/esnext.async-iterator.from.js index 18f0cdec7158..53fc0ea22ea0 100644 --- a/tests/pure/esnext.async-iterator.from.js +++ b/tests/pure/esnext.async-iterator.from.js @@ -1,7 +1,7 @@ +import Promise from 'core-js-pure/es/promise'; +import assign from 'core-js-pure/es/object/assign'; +import values from 'core-js-pure/es/array/values'; import AsyncIterator from 'core-js-pure/features/async-iterator'; -import Promise from 'core-js-pure/features/promise'; -import assign from 'core-js-pure/features/object/assign'; -import values from 'core-js-pure/features/array/values'; QUnit.test('AsyncIterator.from', assert => { assert.expect(9); diff --git a/tests/pure/esnext.async-iterator.map.js b/tests/pure/esnext.async-iterator.map.js index 4d6e75e7743a..be526204d90e 100644 --- a/tests/pure/esnext.async-iterator.map.js +++ b/tests/pure/esnext.async-iterator.map.js @@ -1,8 +1,8 @@ -import AsyncIterator from 'core-js-pure/features/async-iterator'; - import { createIterator } from '../helpers/helpers'; import { STRICT_THIS } from '../helpers/constants'; +import AsyncIterator from 'core-js-pure/features/async-iterator'; + QUnit.test('AsyncIterator#map', assert => { assert.expect(15); const async = assert.async(); diff --git a/tests/pure/esnext.async-iterator.reduce.js b/tests/pure/esnext.async-iterator.reduce.js index 8e82281d4e3d..36105c4ff834 100644 --- a/tests/pure/esnext.async-iterator.reduce.js +++ b/tests/pure/esnext.async-iterator.reduce.js @@ -1,8 +1,8 @@ -import AsyncIterator from 'core-js-pure/features/async-iterator'; - import { createIterator } from '../helpers/helpers'; import { STRICT_THIS } from '../helpers/constants'; +import AsyncIterator from 'core-js-pure/features/async-iterator'; + QUnit.test('AsyncIterator#reduce', assert => { assert.expect(18); const async = assert.async(); diff --git a/tests/pure/esnext.async-iterator.some.js b/tests/pure/esnext.async-iterator.some.js index 1e7e98f7e470..9788d791617b 100644 --- a/tests/pure/esnext.async-iterator.some.js +++ b/tests/pure/esnext.async-iterator.some.js @@ -1,8 +1,8 @@ -import AsyncIterator from 'core-js-pure/features/async-iterator'; - import { createIterator } from '../helpers/helpers'; import { STRICT_THIS } from '../helpers/constants'; +import AsyncIterator from 'core-js-pure/features/async-iterator'; + QUnit.test('AsyncIterator#some', assert => { assert.expect(16); const async = assert.async(); diff --git a/tests/pure/esnext.async-iterator.take.js b/tests/pure/esnext.async-iterator.take.js index 5e1f4b2abb9d..23da163d06d3 100644 --- a/tests/pure/esnext.async-iterator.take.js +++ b/tests/pure/esnext.async-iterator.take.js @@ -1,7 +1,7 @@ -import AsyncIterator from 'core-js-pure/features/async-iterator'; - import { createIterator } from '../helpers/helpers'; +import AsyncIterator from 'core-js-pure/features/async-iterator'; + QUnit.test('AsyncIterator#take', assert => { assert.expect(12); const async = assert.async(); diff --git a/tests/pure/esnext.async-iterator.to-array.js b/tests/pure/esnext.async-iterator.to-array.js index 46a517bb1fce..4e3dd7ebe29d 100644 --- a/tests/pure/esnext.async-iterator.to-array.js +++ b/tests/pure/esnext.async-iterator.to-array.js @@ -1,7 +1,7 @@ -import AsyncIterator from 'core-js-pure/features/async-iterator'; - import { createIterator } from '../helpers/helpers'; +import AsyncIterator from 'core-js-pure/features/async-iterator'; + QUnit.test('AsyncIterator#toArray', assert => { assert.expect(8); const async = assert.async(); diff --git a/tests/pure/esnext.bigint.range.js b/tests/pure/esnext.bigint.range.js index 9af000bcfd34..befac2198b9e 100644 --- a/tests/pure/esnext.bigint.range.js +++ b/tests/pure/esnext.bigint.range.js @@ -1,5 +1,5 @@ /* eslint-disable es/no-bigint -- safe */ -import from from 'core-js-pure/features/array/from'; +import from from 'core-js-pure/es/array/from'; import range from 'core-js-pure/features/bigint/range'; if (typeof BigInt == 'function') QUnit.test('BigInt.range', assert => { diff --git a/tests/pure/esnext.composite-key.js b/tests/pure/esnext.composite-key.js index 219784b7fd38..62eae6f6d0ad 100644 --- a/tests/pure/esnext.composite-key.js +++ b/tests/pure/esnext.composite-key.js @@ -1,8 +1,8 @@ import { FREEZING } from '../helpers/constants'; +import { getPrototypeOf, isFrozen } from 'core-js-pure/es/object'; import compositeKey from 'core-js-pure/features/composite-key'; -import { getPrototypeOf, isFrozen } from 'core-js-pure/features/object'; QUnit.test('compositeKey', assert => { assert.isFunction(compositeKey); diff --git a/tests/pure/esnext.composite-symbol.js b/tests/pure/esnext.composite-symbol.js index acf5498037cb..5a191fa3a327 100644 --- a/tests/pure/esnext.composite-symbol.js +++ b/tests/pure/esnext.composite-symbol.js @@ -1,6 +1,6 @@ - +/* eslint-disable no-self-compare -- required for testing */ +import Symbol from 'core-js-pure/es/symbol'; import compositeSymbol from 'core-js-pure/features/composite-symbol'; -import Symbol from 'core-js-pure/features/symbol'; QUnit.test('compositeSymbol', assert => { assert.isFunction(compositeSymbol); diff --git a/tests/pure/esnext.iterator.as-indexed-pairs.js b/tests/pure/esnext.iterator.as-indexed-pairs.js index e7a79c945696..96927e70e4bb 100644 --- a/tests/pure/esnext.iterator.as-indexed-pairs.js +++ b/tests/pure/esnext.iterator.as-indexed-pairs.js @@ -1,7 +1,7 @@ -import Iterator from 'core-js-pure/features/iterator'; - import { createIterator } from '../helpers/helpers'; +import Iterator from 'core-js-pure/features/iterator'; + QUnit.test('Iterator#asIndexedPairs', assert => { const { asIndexedPairs } = Iterator.prototype; diff --git a/tests/pure/esnext.iterator.constructor.js b/tests/pure/esnext.iterator.constructor.js index 5a6d7c97bad3..41a4d9a7ed06 100644 --- a/tests/pure/esnext.iterator.constructor.js +++ b/tests/pure/esnext.iterator.constructor.js @@ -1,8 +1,8 @@ -import Iterator from 'core-js-pure/features/iterator'; -import Symbol from 'core-js-pure/features/symbol'; - import { createIterator } from '../helpers/helpers'; +import Symbol from 'core-js-pure/es/symbol'; +import Iterator from 'core-js-pure/features/iterator'; + QUnit.test('Iterator', assert => { assert.isFunction(Iterator); assert.arity(Iterator, 0); diff --git a/tests/pure/esnext.iterator.drop.js b/tests/pure/esnext.iterator.drop.js index de35ea80e482..aaddebe479a7 100644 --- a/tests/pure/esnext.iterator.drop.js +++ b/tests/pure/esnext.iterator.drop.js @@ -1,7 +1,7 @@ -import Iterator from 'core-js-pure/features/iterator'; - import { createIterator } from '../helpers/helpers'; +import Iterator from 'core-js-pure/features/iterator'; + QUnit.test('Iterator#drop', assert => { const { drop } = Iterator.prototype; diff --git a/tests/pure/esnext.iterator.every.js b/tests/pure/esnext.iterator.every.js index 5269cc78fc78..fb98752b8812 100644 --- a/tests/pure/esnext.iterator.every.js +++ b/tests/pure/esnext.iterator.every.js @@ -1,8 +1,8 @@ -import Iterator from 'core-js-pure/features/iterator'; - import { createIterator } from '../helpers/helpers'; import { STRICT_THIS } from '../helpers/constants'; +import Iterator from 'core-js-pure/features/iterator'; + QUnit.test('Iterator#every', assert => { const { every } = Iterator.prototype; diff --git a/tests/pure/esnext.iterator.filter.js b/tests/pure/esnext.iterator.filter.js index 1920401f401b..0aaa5138fbc1 100644 --- a/tests/pure/esnext.iterator.filter.js +++ b/tests/pure/esnext.iterator.filter.js @@ -1,8 +1,8 @@ -import Iterator from 'core-js-pure/features/iterator'; - import { createIterator } from '../helpers/helpers'; import { STRICT_THIS } from '../helpers/constants'; +import Iterator from 'core-js-pure/features/iterator'; + QUnit.test('Iterator#filter', assert => { const { filter } = Iterator.prototype; diff --git a/tests/pure/esnext.iterator.find.js b/tests/pure/esnext.iterator.find.js index 339587651098..44d1f79ae18c 100644 --- a/tests/pure/esnext.iterator.find.js +++ b/tests/pure/esnext.iterator.find.js @@ -1,8 +1,8 @@ -import Iterator from 'core-js-pure/features/iterator'; - import { createIterator } from '../helpers/helpers'; import { STRICT_THIS } from '../helpers/constants'; +import Iterator from 'core-js-pure/features/iterator'; + QUnit.test('Iterator#find', assert => { const { find } = Iterator.prototype; diff --git a/tests/pure/esnext.iterator.flat-map.js b/tests/pure/esnext.iterator.flat-map.js index b21dbe3a9712..885d13415366 100644 --- a/tests/pure/esnext.iterator.flat-map.js +++ b/tests/pure/esnext.iterator.flat-map.js @@ -1,8 +1,8 @@ -import Iterator from 'core-js-pure/features/iterator'; - import { createIterator, createIterable } from '../helpers/helpers'; import { STRICT_THIS } from '../helpers/constants'; +import Iterator from 'core-js-pure/features/iterator'; + QUnit.test('Iterator#flatMap', assert => { const { flatMap } = Iterator.prototype; diff --git a/tests/pure/esnext.iterator.for-each.js b/tests/pure/esnext.iterator.for-each.js index 212cabfb2a8c..74aeef91bb89 100644 --- a/tests/pure/esnext.iterator.for-each.js +++ b/tests/pure/esnext.iterator.for-each.js @@ -1,8 +1,8 @@ -import Iterator from 'core-js-pure/features/iterator'; - import { createIterator } from '../helpers/helpers'; import { STRICT_THIS } from '../helpers/constants'; +import Iterator from 'core-js-pure/features/iterator'; + QUnit.test('Iterator#forEach', assert => { const { forEach } = Iterator.prototype; diff --git a/tests/pure/esnext.iterator.from.js b/tests/pure/esnext.iterator.from.js index 643d8d23d53e..7c8b950ad257 100644 --- a/tests/pure/esnext.iterator.from.js +++ b/tests/pure/esnext.iterator.from.js @@ -1,7 +1,7 @@ -import Iterator from 'core-js-pure/features/iterator'; - import { createIterable, createIterator } from '../helpers/helpers'; +import Iterator from 'core-js-pure/features/iterator'; + QUnit.test('Iterator.from', assert => { const { from } = Iterator; diff --git a/tests/pure/esnext.iterator.map.js b/tests/pure/esnext.iterator.map.js index 01617417588e..70137e8a4d98 100644 --- a/tests/pure/esnext.iterator.map.js +++ b/tests/pure/esnext.iterator.map.js @@ -1,8 +1,8 @@ -import Iterator from 'core-js-pure/features/iterator'; - import { createIterator } from '../helpers/helpers'; import { STRICT_THIS } from '../helpers/constants'; +import Iterator from 'core-js-pure/features/iterator'; + QUnit.test('Iterator#map', assert => { const { map } = Iterator.prototype; diff --git a/tests/pure/esnext.iterator.reduce.js b/tests/pure/esnext.iterator.reduce.js index 8a4af9f4ecb1..34da2ba300ad 100644 --- a/tests/pure/esnext.iterator.reduce.js +++ b/tests/pure/esnext.iterator.reduce.js @@ -1,8 +1,8 @@ -import Iterator from 'core-js-pure/features/iterator'; - import { createIterator } from '../helpers/helpers'; import { STRICT_THIS } from '../helpers/constants'; +import Iterator from 'core-js-pure/features/iterator'; + QUnit.test('Iterator#reduce', assert => { const { reduce } = Iterator.prototype; diff --git a/tests/pure/esnext.iterator.some.js b/tests/pure/esnext.iterator.some.js index 8923df3c26f6..6703dab9fd41 100644 --- a/tests/pure/esnext.iterator.some.js +++ b/tests/pure/esnext.iterator.some.js @@ -1,8 +1,8 @@ -import Iterator from 'core-js-pure/features/iterator'; - import { createIterator } from '../helpers/helpers'; import { STRICT_THIS } from '../helpers/constants'; +import Iterator from 'core-js-pure/features/iterator'; + QUnit.test('Iterator#some', assert => { const { some } = Iterator.prototype; diff --git a/tests/pure/esnext.iterator.take.js b/tests/pure/esnext.iterator.take.js index a75e637afc21..a9f926f14bdd 100644 --- a/tests/pure/esnext.iterator.take.js +++ b/tests/pure/esnext.iterator.take.js @@ -1,7 +1,7 @@ -import Iterator from 'core-js-pure/features/iterator'; - import { createIterator } from '../helpers/helpers'; +import Iterator from 'core-js-pure/features/iterator'; + QUnit.test('Iterator#take', assert => { const { take } = Iterator.prototype; diff --git a/tests/pure/esnext.iterator.to-array.js b/tests/pure/esnext.iterator.to-array.js index 2a40ab4a96c3..9d224b5603c5 100644 --- a/tests/pure/esnext.iterator.to-array.js +++ b/tests/pure/esnext.iterator.to-array.js @@ -1,7 +1,7 @@ -import Iterator from 'core-js-pure/features/iterator'; - import { createIterable, createIterator } from '../helpers/helpers'; +import Iterator from 'core-js-pure/features/iterator'; + QUnit.test('Iterator#toArray', assert => { const { toArray } = Iterator.prototype; diff --git a/tests/pure/esnext.map.delete-all.js b/tests/pure/esnext.map.delete-all.js index 51489da3d543..cfa17757e659 100644 --- a/tests/pure/esnext.map.delete-all.js +++ b/tests/pure/esnext.map.delete-all.js @@ -1,5 +1,5 @@ +import from from 'core-js-pure/es/array/from'; import Map from 'core-js-pure/features/map'; -import from from 'core-js-pure/features/array/from'; QUnit.test('Map#deleteAll', assert => { const { deleteAll } = Map.prototype; diff --git a/tests/pure/esnext.map.filter.js b/tests/pure/esnext.map.filter.js index dd3c85b33a2a..94f76e3c5d94 100644 --- a/tests/pure/esnext.map.filter.js +++ b/tests/pure/esnext.map.filter.js @@ -1,5 +1,5 @@ +import from from 'core-js-pure/es/array/from'; import Map from 'core-js-pure/features/map'; -import from from 'core-js-pure/features/array/from'; QUnit.test('Map#filter', assert => { const { filter } = Map.prototype; diff --git a/tests/pure/esnext.map.from.js b/tests/pure/esnext.map.from.js index eade25d8c45a..b370d51184f9 100644 --- a/tests/pure/esnext.map.from.js +++ b/tests/pure/esnext.map.from.js @@ -1,7 +1,7 @@ import { createIterable } from '../helpers/helpers'; +import toArray from 'core-js-pure/es/array/from'; import Map from 'core-js-pure/features/map'; -import toArray from 'core-js-pure/features/array/from'; QUnit.test('Map.from', assert => { const { from } = Map; diff --git a/tests/pure/esnext.map.group-by.js b/tests/pure/esnext.map.group-by.js index 4cf036b1497e..0c6033055f13 100644 --- a/tests/pure/esnext.map.group-by.js +++ b/tests/pure/esnext.map.group-by.js @@ -1,7 +1,7 @@ import { createIterable } from '../helpers/helpers'; +import from from 'core-js-pure/es/array/from'; import Map from 'core-js-pure/features/map'; -import toArray from 'core-js-pure/features/array/from'; QUnit.test('Map.groupBy', assert => { const { groupBy } = Map; @@ -12,10 +12,10 @@ QUnit.test('Map.groupBy', assert => { assert.true(Map.groupBy([], it => it) instanceof Map); - assert.deepEqual(toArray(Map.groupBy([], it => it)), []); - assert.deepEqual(toArray(Map.groupBy([1, 2], it => it ** 2)), [[1, [1]], [4, [2]]]); - assert.deepEqual(toArray(Map.groupBy([1, 2, 1], it => it ** 2)), [[1, [1, 1]], [4, [2]]]); - assert.deepEqual(toArray(Map.groupBy(createIterable([1, 2]), it => it ** 2)), [[1, [1]], [4, [2]]]); + assert.deepEqual(from(Map.groupBy([], it => it)), []); + assert.deepEqual(from(Map.groupBy([1, 2], it => it ** 2)), [[1, [1]], [4, [2]]]); + assert.deepEqual(from(Map.groupBy([1, 2, 1], it => it ** 2)), [[1, [1, 1]], [4, [2]]]); + assert.deepEqual(from(Map.groupBy(createIterable([1, 2]), it => it ** 2)), [[1, [1]], [4, [2]]]); const element = {}; Map.groupBy([element], it => assert.same(it, element)); diff --git a/tests/pure/esnext.map.key-by.js b/tests/pure/esnext.map.key-by.js index 839b3b06748d..96dd94b5cca7 100644 --- a/tests/pure/esnext.map.key-by.js +++ b/tests/pure/esnext.map.key-by.js @@ -1,7 +1,7 @@ import { createIterable } from '../helpers/helpers'; +import from from 'core-js-pure/es/array/from'; import Map from 'core-js-pure/features/map'; -import toArray from 'core-js-pure/features/array/from'; QUnit.test('Map.keyBy', assert => { const { keyBy } = Map; @@ -12,10 +12,10 @@ QUnit.test('Map.keyBy', assert => { assert.true(Map.keyBy([], it => it) instanceof Map); - assert.deepEqual(toArray(Map.keyBy([], it => it)), []); - assert.deepEqual(toArray(Map.keyBy([1, 2], it => it ** 2)), [[1, 1], [4, 2]]); - assert.deepEqual(toArray(Map.keyBy([1, 2, 1], it => it ** 2)), [[1, 1], [4, 2]]); - assert.deepEqual(toArray(Map.keyBy(createIterable([1, 2]), it => it ** 2)), [[1, 1], [4, 2]]); + assert.deepEqual(from(Map.keyBy([], it => it)), []); + assert.deepEqual(from(Map.keyBy([1, 2], it => it ** 2)), [[1, 1], [4, 2]]); + assert.deepEqual(from(Map.keyBy([1, 2, 1], it => it ** 2)), [[1, 1], [4, 2]]); + assert.deepEqual(from(Map.keyBy(createIterable([1, 2]), it => it ** 2)), [[1, 1], [4, 2]]); const element = {}; Map.keyBy([element], it => assert.same(it, element)); diff --git a/tests/pure/esnext.map.map-keys.js b/tests/pure/esnext.map.map-keys.js index 19e3b35980b7..6b1f1480ee9e 100644 --- a/tests/pure/esnext.map.map-keys.js +++ b/tests/pure/esnext.map.map-keys.js @@ -1,5 +1,5 @@ +import from from 'core-js-pure/es/array/from'; import Map from 'core-js-pure/features/map'; -import from from 'core-js-pure/features/array/from'; QUnit.test('Map#mapKeys', assert => { const { mapKeys } = Map.prototype; diff --git a/tests/pure/esnext.map.map-values.js b/tests/pure/esnext.map.map-values.js index 371a9e8fc0a4..6cdb240321aa 100644 --- a/tests/pure/esnext.map.map-values.js +++ b/tests/pure/esnext.map.map-values.js @@ -1,5 +1,5 @@ +import from from 'core-js-pure/es/array/from'; import Map from 'core-js-pure/features/map'; -import from from 'core-js-pure/features/array/from'; QUnit.test('Map#mapValues', assert => { const { mapValues } = Map.prototype; diff --git a/tests/pure/esnext.map.merge.js b/tests/pure/esnext.map.merge.js index 4e8bc046aa50..f692ebb39dbe 100644 --- a/tests/pure/esnext.map.merge.js +++ b/tests/pure/esnext.map.merge.js @@ -1,5 +1,5 @@ +import from from 'core-js-pure/es/array/from'; import Map from 'core-js-pure/features/map'; -import from from 'core-js-pure/features/array/from'; QUnit.test('Map#merge', assert => { const { merge } = Map.prototype; diff --git a/tests/pure/esnext.map.of.js b/tests/pure/esnext.map.of.js index 3aea5ccacff2..c43be1fde128 100644 --- a/tests/pure/esnext.map.of.js +++ b/tests/pure/esnext.map.of.js @@ -1,13 +1,13 @@ +import from from 'core-js-pure/es/array/from'; import Map from 'core-js-pure/features/map'; -import toArray from 'core-js-pure/features/array/from'; QUnit.test('Map.of', assert => { const { of } = Map; assert.isFunction(of); assert.arity(of, 0); assert.true(Map.of() instanceof Map); - assert.deepEqual(toArray(Map.of([1, 2])), [[1, 2]]); - assert.deepEqual(toArray(Map.of([1, 2], [2, 3], [1, 4])), [[1, 4], [2, 3]]); + assert.deepEqual(from(Map.of([1, 2])), [[1, 2]]); + assert.deepEqual(from(Map.of([1, 2], [2, 3], [1, 4])), [[1, 4], [2, 3]]); assert.throws(() => of(1)); let arg = null; function F(it) { diff --git a/tests/pure/esnext.number.range.js b/tests/pure/esnext.number.range.js index 0fcbcd5230a0..9fef62caf416 100644 --- a/tests/pure/esnext.number.range.js +++ b/tests/pure/esnext.number.range.js @@ -1,4 +1,4 @@ -import from from 'core-js-pure/features/array/from'; +import from from 'core-js-pure/es/array/from'; import range from 'core-js-pure/features/number/range'; QUnit.test('range', assert => { diff --git a/tests/pure/esnext.object.iterate-entries.js b/tests/pure/esnext.object.iterate-entries.js index 0b89e9794282..273046660264 100644 --- a/tests/pure/esnext.object.iterate-entries.js +++ b/tests/pure/esnext.object.iterate-entries.js @@ -1,5 +1,5 @@ +import Symbol from 'core-js-pure/es/symbol'; import iterateEntries from 'core-js-pure/features/object/iterate-entries'; -import TO_STRING_TAG from 'core-js-pure/features/symbol/to-string-tag'; QUnit.test('Object.iterateEntries', assert => { assert.isFunction(iterateEntries); @@ -14,7 +14,7 @@ QUnit.test('Object.iterateEntries', assert => { const iterator = iterateEntries(object); assert.isIterator(iterator); assert.isIterable(iterator); - assert.same(iterator[TO_STRING_TAG], 'Object Iterator'); + assert.same(iterator[Symbol.toStringTag], 'Object Iterator'); assert.deepEqual(iterator.next(), { value: ['q', 1], done: false, diff --git a/tests/pure/esnext.object.iterate-keys.js b/tests/pure/esnext.object.iterate-keys.js index b99b1f22a921..2d8c6718b192 100644 --- a/tests/pure/esnext.object.iterate-keys.js +++ b/tests/pure/esnext.object.iterate-keys.js @@ -1,5 +1,5 @@ +import Symbol from 'core-js-pure/es/symbol'; import iterateKeys from 'core-js-pure/features/object/iterate-keys'; -import TO_STRING_TAG from 'core-js-pure/features/symbol/to-string-tag'; QUnit.test('Object.iterateKeys', assert => { assert.isFunction(iterateKeys); @@ -14,7 +14,7 @@ QUnit.test('Object.iterateKeys', assert => { const iterator = iterateKeys(object); assert.isIterator(iterator); assert.isIterable(iterator); - assert.same(iterator[TO_STRING_TAG], 'Object Iterator'); + assert.same(iterator[Symbol.toStringTag], 'Object Iterator'); assert.deepEqual(iterator.next(), { value: 'q', done: false, diff --git a/tests/pure/esnext.object.iterate-values.js b/tests/pure/esnext.object.iterate-values.js index 63c2d87e7458..c86e5137cd89 100644 --- a/tests/pure/esnext.object.iterate-values.js +++ b/tests/pure/esnext.object.iterate-values.js @@ -1,5 +1,5 @@ +import Symbol from 'core-js-pure/es/symbol'; import iterateValues from 'core-js-pure/features/object/iterate-values'; -import TO_STRING_TAG from 'core-js-pure/features/symbol/to-string-tag'; QUnit.test('Object.iterateValues', assert => { assert.isFunction(iterateValues); @@ -14,7 +14,7 @@ QUnit.test('Object.iterateValues', assert => { const iterator = iterateValues(object); assert.isIterator(iterator); assert.isIterable(iterator); - assert.same(iterator[TO_STRING_TAG], 'Object Iterator'); + assert.same(iterator[Symbol.toStringTag], 'Object Iterator'); assert.deepEqual(iterator.next(), { value: 1, done: false, diff --git a/tests/pure/esnext.observable.js b/tests/pure/esnext.observable.js index d25741deaf3d..dd397925a615 100644 --- a/tests/pure/esnext.observable.js +++ b/tests/pure/esnext.observable.js @@ -1,6 +1,7 @@ import { STRICT } from '../helpers/constants'; -import { Observable, Symbol } from 'core-js-pure'; +import Symbol from 'core-js-pure/features/symbol'; +import Observable from 'core-js-pure/features/observable'; QUnit.test('Observable', assert => { assert.isFunction(Observable); diff --git a/tests/pure/esnext.reflect.delete-metadata.js b/tests/pure/esnext.reflect.delete-metadata.js index 0f454a77a237..9f976c4f8c86 100644 --- a/tests/pure/esnext.reflect.delete-metadata.js +++ b/tests/pure/esnext.reflect.delete-metadata.js @@ -1,5 +1,7 @@ -import { defineMetadata, hasOwnMetadata, deleteMetadata } from 'core-js-pure/features/reflect'; import create from 'core-js-pure/features/object/create'; +import defineMetadata from 'core-js-pure/features/reflect/define-metadata'; +import hasOwnMetadata from 'core-js-pure/features/reflect/has-own-metadata'; +import deleteMetadata from 'core-js-pure/features/reflect/delete-metadata'; QUnit.test('Reflect.deleteMetadata', assert => { assert.isFunction(deleteMetadata); diff --git a/tests/pure/esnext.reflect.get-metadata-keys.js b/tests/pure/esnext.reflect.get-metadata-keys.js index 9003d0658ecd..d2e97812d703 100644 --- a/tests/pure/esnext.reflect.get-metadata-keys.js +++ b/tests/pure/esnext.reflect.get-metadata-keys.js @@ -1,5 +1,6 @@ -import { defineMetadata, getMetadataKeys } from 'core-js-pure/features/reflect'; import create from 'core-js-pure/features/object/create'; +import defineMetadata from 'core-js-pure/features/reflect/define-metadata'; +import getMetadataKeys from 'core-js-pure/features/reflect/get-metadata-keys'; QUnit.test('Reflect.getMetadataKeys', assert => { assert.isFunction(getMetadataKeys); diff --git a/tests/pure/esnext.reflect.get-metadata.js b/tests/pure/esnext.reflect.get-metadata.js index 74a47a9f77c1..86e7d355e4f0 100644 --- a/tests/pure/esnext.reflect.get-metadata.js +++ b/tests/pure/esnext.reflect.get-metadata.js @@ -1,5 +1,6 @@ -import { defineMetadata, getMetadata } from 'core-js-pure/features/reflect'; import create from 'core-js-pure/features/object/create'; +import defineMetadata from 'core-js-pure/features/reflect/define-metadata'; +import getMetadata from 'core-js-pure/features/reflect/get-metadata'; QUnit.test('Reflect.getMetadata', assert => { assert.isFunction(getMetadata); diff --git a/tests/pure/esnext.reflect.get-own-matadata.js b/tests/pure/esnext.reflect.get-own-matadata.js index 8008c31868cb..b3e3e39c0c32 100644 --- a/tests/pure/esnext.reflect.get-own-matadata.js +++ b/tests/pure/esnext.reflect.get-own-matadata.js @@ -1,5 +1,6 @@ -import { defineMetadata, getOwnMetadata } from 'core-js-pure/features/reflect'; import create from 'core-js-pure/features/object/create'; +import defineMetadata from 'core-js-pure/features/reflect/define-metadata'; +import getOwnMetadata from 'core-js-pure/features/reflect/get-own-metadata'; QUnit.test('Reflect.getOwnMetadata', assert => { assert.isFunction(getOwnMetadata); diff --git a/tests/pure/esnext.reflect.get-own-metadata-keys.js b/tests/pure/esnext.reflect.get-own-metadata-keys.js index 91ef047a168b..b3912a6dcf39 100644 --- a/tests/pure/esnext.reflect.get-own-metadata-keys.js +++ b/tests/pure/esnext.reflect.get-own-metadata-keys.js @@ -1,5 +1,6 @@ -import { defineMetadata, getOwnMetadataKeys } from 'core-js-pure/features/reflect'; import create from 'core-js-pure/features/object/create'; +import defineMetadata from 'core-js-pure/features/reflect/define-metadata'; +import getOwnMetadataKeys from 'core-js-pure/features/reflect/get-own-metadata-keys'; QUnit.test('Reflect.getOwnMetadataKeys', assert => { assert.isFunction(getOwnMetadataKeys); diff --git a/tests/pure/esnext.reflect.has-metadata.js b/tests/pure/esnext.reflect.has-metadata.js index 0ecedf057324..e87646e69a29 100644 --- a/tests/pure/esnext.reflect.has-metadata.js +++ b/tests/pure/esnext.reflect.has-metadata.js @@ -1,5 +1,6 @@ -import { defineMetadata, hasMetadata } from 'core-js-pure/features/reflect'; import create from 'core-js-pure/features/object/create'; +import defineMetadata from 'core-js-pure/features/reflect/define-metadata'; +import hasMetadata from 'core-js-pure/features/reflect/has-metadata'; QUnit.test('Reflect.hasMetadata', assert => { assert.isFunction(hasMetadata); diff --git a/tests/pure/esnext.reflect.has-own-metadata.js b/tests/pure/esnext.reflect.has-own-metadata.js index 410040c114cd..e7dfaa4b0d0a 100644 --- a/tests/pure/esnext.reflect.has-own-metadata.js +++ b/tests/pure/esnext.reflect.has-own-metadata.js @@ -1,5 +1,6 @@ -import { defineMetadata, hasOwnMetadata } from 'core-js-pure/features/reflect'; import create from 'core-js-pure/features/object/create'; +import defineMetadata from 'core-js-pure/features/reflect/define-metadata'; +import hasOwnMetadata from 'core-js-pure/features/reflect/has-own-metadata'; QUnit.test('Reflect.hasOwnMetadata', assert => { assert.isFunction(hasOwnMetadata); diff --git a/tests/pure/esnext.reflect.metadata.js b/tests/pure/esnext.reflect.metadata.js index c98a8a22af3a..d5da1327da88 100644 --- a/tests/pure/esnext.reflect.metadata.js +++ b/tests/pure/esnext.reflect.metadata.js @@ -1,4 +1,5 @@ -import { metadata, hasOwnMetadata } from 'core-js-pure/features/reflect'; +import hasOwnMetadata from 'core-js-pure/features/reflect/has-own-metadata'; +import metadata from 'core-js-pure/features/reflect/metadata'; QUnit.test('Reflect.metadata', assert => { assert.isFunction(metadata); diff --git a/tests/pure/esnext.set.add-all.js b/tests/pure/esnext.set.add-all.js index 1c857a368057..a7b0b04da570 100644 --- a/tests/pure/esnext.set.add-all.js +++ b/tests/pure/esnext.set.add-all.js @@ -1,5 +1,5 @@ +import from from 'core-js-pure/es/array/from'; import Set from 'core-js-pure/features/set'; -import from from 'core-js-pure/features/array/from'; QUnit.test('Set#addAll', assert => { const { addAll } = Set.prototype; diff --git a/tests/pure/esnext.set.delete-all.js b/tests/pure/esnext.set.delete-all.js index 14399a2a8732..6a3e1d8858cd 100644 --- a/tests/pure/esnext.set.delete-all.js +++ b/tests/pure/esnext.set.delete-all.js @@ -1,5 +1,5 @@ +import from from 'core-js-pure/es/array/from'; import Set from 'core-js-pure/features/set'; -import from from 'core-js-pure/features/array/from'; QUnit.test('Set#deleteAll', assert => { const { deleteAll } = Set.prototype; diff --git a/tests/pure/esnext.set.difference.js b/tests/pure/esnext.set.difference.js index c0fb9a7e4f7f..4bff58e83592 100644 --- a/tests/pure/esnext.set.difference.js +++ b/tests/pure/esnext.set.difference.js @@ -1,7 +1,7 @@ import { createIterable } from '../helpers/helpers'; +import from from 'core-js-pure/es/array/from'; import Set from 'core-js-pure/features/set'; -import from from 'core-js-pure/features/array/from'; QUnit.test('Set#difference', assert => { const { difference } = Set.prototype; diff --git a/tests/pure/esnext.set.filter.js b/tests/pure/esnext.set.filter.js index 90127cdf06b1..68f416191e80 100644 --- a/tests/pure/esnext.set.filter.js +++ b/tests/pure/esnext.set.filter.js @@ -1,5 +1,5 @@ +import from from 'core-js-pure/es/array/from'; import Set from 'core-js-pure/features/set'; -import from from 'core-js-pure/features/array/from'; QUnit.test('Set#filter', assert => { const { filter } = Set.prototype; diff --git a/tests/pure/esnext.set.from.js b/tests/pure/esnext.set.from.js index 4d66140c0cb9..6185eb32c1f0 100644 --- a/tests/pure/esnext.set.from.js +++ b/tests/pure/esnext.set.from.js @@ -1,7 +1,7 @@ import { createIterable } from '../helpers/helpers'; +import toArray from 'core-js-pure/es/array/from'; import Set from 'core-js-pure/features/set'; -import toArray from 'core-js-pure/features/array/from'; QUnit.test('Set.from', assert => { const { from } = Set; diff --git a/tests/pure/esnext.set.intersection.js b/tests/pure/esnext.set.intersection.js index 3c476c9786ea..00a5f45f082f 100644 --- a/tests/pure/esnext.set.intersection.js +++ b/tests/pure/esnext.set.intersection.js @@ -1,7 +1,7 @@ import { createIterable } from '../helpers/helpers'; +import from from 'core-js-pure/es/array/from'; import Set from 'core-js-pure/features/set'; -import from from 'core-js-pure/features/array/from'; QUnit.test('Set#intersection', assert => { const { intersection } = Set.prototype; diff --git a/tests/pure/esnext.set.map.js b/tests/pure/esnext.set.map.js index f759101342ad..b1bebb42e254 100644 --- a/tests/pure/esnext.set.map.js +++ b/tests/pure/esnext.set.map.js @@ -1,5 +1,5 @@ +import from from 'core-js-pure/es/array/from'; import Set from 'core-js-pure/features/set'; -import from from 'core-js-pure/features/array/from'; QUnit.test('Set#map', assert => { const { map } = Set.prototype; diff --git a/tests/pure/esnext.set.of.js b/tests/pure/esnext.set.of.js index d42fe5427d53..a6b6519ec953 100644 --- a/tests/pure/esnext.set.of.js +++ b/tests/pure/esnext.set.of.js @@ -1,13 +1,13 @@ +import from from 'core-js-pure/es/array/from'; import Set from 'core-js-pure/features/set'; -import toArray from 'core-js-pure/features/array/from'; QUnit.test('Set.of', assert => { const { of } = Set; assert.isFunction(of); assert.arity(of, 0); assert.true(Set.of() instanceof Set); - assert.deepEqual(toArray(Set.of(1)), [1]); - assert.deepEqual(toArray(Set.of(1, 2, 3, 2, 1)), [1, 2, 3]); + assert.deepEqual(from(Set.of(1)), [1]); + assert.deepEqual(from(Set.of(1, 2, 3, 2, 1)), [1, 2, 3]); assert.throws(() => of(1)); let arg = null; function F(it) { diff --git a/tests/pure/esnext.set.symmetric-difference.js b/tests/pure/esnext.set.symmetric-difference.js index 5c2493de8ec2..874721eea4fc 100644 --- a/tests/pure/esnext.set.symmetric-difference.js +++ b/tests/pure/esnext.set.symmetric-difference.js @@ -1,7 +1,7 @@ import { createIterable } from '../helpers/helpers'; +import from from 'core-js-pure/es/array/from'; import Set from 'core-js-pure/features/set'; -import from from 'core-js-pure/features/array/from'; QUnit.test('Set#symmetricDifference', assert => { const { symmetricDifference } = Set.prototype; diff --git a/tests/pure/esnext.set.union.js b/tests/pure/esnext.set.union.js index 092c0f9d234f..a93b43ab571a 100644 --- a/tests/pure/esnext.set.union.js +++ b/tests/pure/esnext.set.union.js @@ -1,7 +1,7 @@ import { createIterable } from '../helpers/helpers'; +import from from 'core-js-pure/es/array/from'; import Set from 'core-js-pure/features/set'; -import from from 'core-js-pure/features/array/from'; QUnit.test('Set#union', assert => { const { union } = Set.prototype; diff --git a/tests/pure/esnext.string.code-points.js b/tests/pure/esnext.string.code-points.js index 8dad7930ee73..258c5f27eca7 100644 --- a/tests/pure/esnext.string.code-points.js +++ b/tests/pure/esnext.string.code-points.js @@ -1,4 +1,4 @@ -import Symbol from 'core-js-pure/features/symbol'; +import Symbol from 'core-js-pure/es/symbol'; import codePoints from 'core-js-pure/features/string/code-points'; QUnit.test('String#codePoints', assert => { diff --git a/tests/pure/web.dom-collections.iterator.js b/tests/pure/web.dom-collections.iterator.js index 94629fb79153..95ece89e5932 100644 --- a/tests/pure/web.dom-collections.iterator.js +++ b/tests/pure/web.dom-collections.iterator.js @@ -1,7 +1,7 @@ import { GLOBAL } from '../helpers/constants'; -import Symbol from 'core-js-pure/features/symbol'; -import getIteratorMethod from 'core-js-pure/features/get-iterator-method'; +import Symbol from 'core-js-pure/es/symbol'; +import getIteratorMethod from 'core-js-pure/stable/get-iterator-method'; QUnit.test('Iterable DOM collections', assert => { let absent = true; diff --git a/tests/pure/web.immediate.js b/tests/pure/web.immediate.js index f0bc6ff5ec97..608990f59f38 100644 --- a/tests/pure/web.immediate.js +++ b/tests/pure/web.immediate.js @@ -1,6 +1,7 @@ import { timeLimitedPromise } from '../helpers/helpers'; -import { setImmediate, clearImmediate } from 'core-js-pure'; +import setImmediate from 'core-js-pure/stable/set-immediate'; +import clearImmediate from 'core-js-pure/stable/clear-immediate'; QUnit.test('setImmediate / clearImmediate', assert => { let called = false; diff --git a/tests/pure/web.timers.js b/tests/pure/web.timers.js index 2459ca6af6d3..c0fcfcfed188 100644 --- a/tests/pure/web.timers.js +++ b/tests/pure/web.timers.js @@ -1,6 +1,7 @@ import { timeLimitedPromise } from '../helpers/helpers'; -import { setTimeout, setInterval } from 'core-js-pure'; +import setTimeout from 'core-js-pure/stable/set-timeout'; +import setInterval from 'core-js-pure/stable/set-interval'; QUnit.test('setTimeout / clearTimeout', assert => { assert.expect(2); diff --git a/tests/pure/web.url-search-params.js b/tests/pure/web.url-search-params.js index e565d219aebc..e6c9cecfa67f 100644 --- a/tests/pure/web.url-search-params.js +++ b/tests/pure/web.url-search-params.js @@ -3,8 +3,9 @@ import { createIterable } from '../helpers/helpers'; import getPrototypeOf from 'core-js-pure/es/object/get-prototype-of'; import getOwnPropertyDescriptor from 'core-js-pure/es/object/get-own-property-descriptor'; - -import { Symbol, URL, URLSearchParams } from 'core-js-pure'; +import Symbol from 'core-js-pure/es/symbol'; +import URL from 'core-js-pure/stable/url'; +import URLSearchParams from 'core-js-pure/stable/url-search-params'; QUnit.test('URLSearchParams', assert => { assert.isFunction(URLSearchParams); diff --git a/tests/pure/web.url.js b/tests/pure/web.url.js index a1ac03d77eb8..68dc1e2b6a93 100644 --- a/tests/pure/web.url.js +++ b/tests/pure/web.url.js @@ -4,7 +4,8 @@ import urlTestData from '../wpt-url-resources/urltestdata'; import settersTestData from '../wpt-url-resources/setters'; import toASCIITestData from '../wpt-url-resources/toascii'; -import { URL, URLSearchParams } from 'core-js-pure'; +import URL from 'core-js-pure/stable/url'; +import URLSearchParams from 'core-js-pure/stable/url-search-params'; const { hasOwnProperty } = Object.prototype; From 3cecbc7f57a3c508e97856ba863a1eb4a93f0d45 Mon Sep 17 00:00:00 2001 From: Denis Pushkarev Date: Mon, 15 Nov 2021 04:55:31 +0700 Subject: [PATCH 04/11] update docs --- README.md | 649 +++++++++++++++--------------- packages/core-js-bundle/README.md | 35 +- packages/core-js-pure/README.md | 35 +- packages/core-js/README.md | 35 +- 4 files changed, 389 insertions(+), 365 deletions(-) diff --git a/README.md b/README.md index d643e08d7179..ae499fa8a924 100644 --- a/README.md +++ b/README.md @@ -30,37 +30,42 @@ The maintainers of `core-js` and thousands of other packages are working with Ti --- -[*Example of usage*](http://goo.gl/a2xexl): +[*Example of usage*](https://is.gd/yHurcF): ```js import 'core-js'; // <- at the top of your entry point Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] -[1, [2, 3], [4, [5]]].flat(2); // => [1, 2, 3, 4, 5] -Promise.resolve(32).then(x => console.log(x)); // => 32 +[1, 2, 3, 4].findLast(it => it % 2); // => 3 +Promise.resolve(42).then(x => console.log(x)); // => 42 +queueMicrotask(() => console.log('called as microtask')); ``` *You can load only required features*: ```js -import 'core-js/features/array/from'; // <- at the top of your entry point -import 'core-js/features/array/flat'; // <- at the top of your entry point -import 'core-js/features/set'; // <- at the top of your entry point -import 'core-js/features/promise'; // <- at the top of your entry point +import 'core-js/actual/array/from'; // <- at the top of your entry point +import 'core-js/actual/array/find-last'; // <- at the top of your entry point +import 'core-js/actual/set'; // <- at the top of your entry point +import 'core-js/actual/promise'; // <- at the top of your entry point +import 'core-js/actual/queue-microtask'; // <- at the top of your entry point Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] -[1, [2, 3], [4, [5]]].flat(2); // => [1, 2, 3, 4, 5] -Promise.resolve(32).then(x => console.log(x)); // => 32 +[1, 2, 3, 4].findLast(it => it % 2); // => 3 +Promise.resolve(42).then(x => console.log(x)); // => 42 +queueMicrotask(() => console.log('called as microtask')); ``` *Or use it without global namespace pollution*: ```js -import from from 'core-js-pure/features/array/from'; -import flat from 'core-js-pure/features/array/flat'; -import Set from 'core-js-pure/features/set'; -import Promise from 'core-js-pure/features/promise'; +import from from 'core-js-pure/actual/array/from'; +import findLast from 'core-js-pure/actual/array/find-last'; +import Set from 'core-js-pure/actual/set'; +import Promise from 'core-js-pure/actual/promise'; +import queueMicrotask from 'core-js-pure/actual/queue-microtask'; from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] -flat([1, [2, 3], [4, [5]]], 2); // => [1, 2, 3, 4, 5] -Promise.resolve(32).then(x => console.log(x)); // => 32 +findLast([1, 2, 3, 4], it => it % 2); // => 3 +Promise.resolve(42).then(x => console.log(x)); // => 42 +queueMicrotask(() => console.log('called as microtask')); ``` ### Index @@ -190,16 +195,22 @@ npm install --loglevel silent You can import only-required-for-you polyfills, like in examples at the top of `README.md`. Available CommonJS entry points for all polyfilled methods / constructors and namespaces. Just some examples: ```js -// polyfill all `core-js` features: +// polyfill all `core-js` features, including early-stage proposals: import "core-js"; -// polyfill only stable `core-js` features - ES and web standards: +// or: +import "core-js/features"; +// polyfill all actual features - stable ES, web standards and stage 3 ES proposals: +import "core-js/actual"; +// polyfill only stable features - ES and web standards: import "core-js/stable"; // polyfill only stable ES features: import "core-js/es"; // if you want to polyfill `Set`: -// all `Set`-related features, with ES proposals: +// all `Set`-related features, with early-stage ES proposals: import "core-js/features/set"; +// stable required for `Set` ES features, features from web standards and stage 3 ES proposals: +import "core-js/actual/set"; // stable required for `Set` ES features and features from web standards // (DOM collections iterator in this case): import "core-js/stable/set"; @@ -207,11 +218,13 @@ import "core-js/stable/set"; import "core-js/es/set"; // the same without global namespace pollution: import Set from "core-js-pure/features/set"; +import Set from "core-js-pure/actual/set"; import Set from "core-js-pure/stable/set"; import Set from "core-js-pure/es/set"; // if you want to polyfill just required methods: import "core-js/features/set/intersection"; +import "core-js/actual/array/find-last"; import "core-js/stable/queue-microtask"; import "core-js/es/array/from"; @@ -221,6 +234,8 @@ import "core-js/proposals/iterator-helpers"; import "core-js/stage/2"; ``` +**Note: The usage of the `/actual/` namespace is recommended since it includes all actual JavaScript features and does not include unstable early-stage proposals that are available mainly for experiments.** + ##### Caveats when using CommonJS API:[⬆](#index) * `modules` path is an internal API, does not inject all required dependencies and can be changed in minor or patch releases. Use it only for a custom build and/or if you know what are you doing. @@ -232,14 +247,8 @@ import "core-js/stage/2"; #### CommonJS and prototype methods without global namespace pollution[⬆](#index) In the `pure` version, we can't pollute prototypes of native constructors. Because of that, prototype methods transformed into static methods like in examples above. But with transpilers, we can use one more trick - [bind operator and virtual methods](https://github.com/tc39/proposal-bind-operator). Special for that, available `/virtual/` entry points. Example: ```js -import fill from 'core-js-pure/features/array/virtual/fill'; -import findIndex from 'core-js-pure/features/array/virtual/find-index'; - -Array(10)::fill(0).map((a, b) => b * b)::findIndex(it => it && !(it % 8)); // => 4 - -// or - -import { fill, findIndex } from 'core-js-pure/features/array/virtual'; +import fill from 'core-js-pure/actual/array/virtual/fill'; +import findIndex from 'core-js-pure/actual/array/virtual/find-index'; Array(10)::fill(0).map((a, b) => b * b)::findIndex(it => it && !(it % 8)); // => 4 ``` @@ -457,33 +466,33 @@ class Object { ``` [*CommonJS entry points:*](#commonjs-api) ``` -core-js(-pure)/es|stable|features/object -core-js(-pure)/es|stable|features/object/assign -core-js(-pure)/es|stable|features/object/is -core-js(-pure)/es|stable|features/object/set-prototype-of -core-js(-pure)/es|stable|features/object/get-prototype-of -core-js(-pure)/es|stable|features/object/create -core-js(-pure)/es|stable|features/object/define-property -core-js(-pure)/es|stable|features/object/define-properties -core-js(-pure)/es|stable|features/object/get-own-property-descriptor -core-js(-pure)/es|stable|features/object/get-own-property-descriptors -core-js(-pure)/es|stable|features/object/has-own -core-js(-pure)/es|stable|features/object/keys -core-js(-pure)/es|stable|features/object/values -core-js(-pure)/es|stable|features/object/entries -core-js(-pure)/es|stable|features/object/get-own-property-names -core-js(-pure)/es|stable|features/object/freeze -core-js(-pure)/es|stable|features/object/from-entries -core-js(-pure)/es|stable|features/object/seal -core-js(-pure)/es|stable|features/object/prevent-extensions -core-js(-pure)/es|stable|features/object/is-frozen -core-js(-pure)/es|stable|features/object/is-sealed -core-js(-pure)/es|stable|features/object/is-extensible -core-js/es|stable|features/object/to-string -core-js(-pure)/es|stable|features/object/define-getter -core-js(-pure)/es|stable|features/object/define-setter -core-js(-pure)/es|stable|features/object/lookup-getter -core-js(-pure)/es|stable|features/object/lookup-setter +core-js(-pure)/es|stable|actual|features/object +core-js(-pure)/es|stable|actual|features/object/assign +core-js(-pure)/es|stable|actual|features/object/is +core-js(-pure)/es|stable|actual|features/object/set-prototype-of +core-js(-pure)/es|stable|actual|features/object/get-prototype-of +core-js(-pure)/es|stable|actual|features/object/create +core-js(-pure)/es|stable|actual|features/object/define-property +core-js(-pure)/es|stable|actual|features/object/define-properties +core-js(-pure)/es|stable|actual|features/object/get-own-property-descriptor +core-js(-pure)/es|stable|actual|features/object/get-own-property-descriptors +core-js(-pure)/es|stable|actual|features/object/has-own +core-js(-pure)/es|stable|actual|features/object/keys +core-js(-pure)/es|stable|actual|features/object/values +core-js(-pure)/es|stable|actual|features/object/entries +core-js(-pure)/es|stable|actual|features/object/get-own-property-names +core-js(-pure)/es|stable|actual|features/object/freeze +core-js(-pure)/es|stable|actual|features/object/from-entries +core-js(-pure)/es|stable|actual|features/object/seal +core-js(-pure)/es|stable|actual|features/object/prevent-extensions +core-js(-pure)/es|stable|actual|features/object/is-frozen +core-js(-pure)/es|stable|actual|features/object/is-sealed +core-js(-pure)/es|stable|actual|features/object/is-extensible +core-js/es|stable|actual|features/object/to-string +core-js(-pure)/es|stable|actual|features/object/define-getter +core-js(-pure)/es|stable|actual|features/object/define-setter +core-js(-pure)/es|stable|actual|features/object/lookup-getter +core-js(-pure)/es|stable|actual|features/object/lookup-setter ``` [*Examples*](t.ly/j1Uw): ```js @@ -557,11 +566,11 @@ class Function { ``` [*CommonJS entry points:*](#commonjs-api) ``` -core-js/es|stable|features/function -core-js/es|stable|features/function/name -core-js/es|stable|features/function/has-instance -core-js(-pure)/es|stable|features/function/bind -core-js(-pure)/es|stable|features/function/virtual/bind +core-js/es|stable|actual|features/function +core-js/es|stable|actual|features/function/name +core-js/es|stable|actual|features/function/has-instance +core-js(-pure)/es|stable|actual|features/function/bind +core-js(-pure)/es|stable|actual|features/function/virtual/bind ``` [*Example*](http://goo.gl/zqu3Wp): ```js @@ -600,10 +609,10 @@ class Error { ``` [*CommonJS entry points:*](#commonjs-api) ``` -core-js(-pure)/es|stable|features/aggregate-error -core-js/es|stable|features/error -core-js/es|stable|features/error/constructor -core-js/es|stable|features/error/to-string +core-js(-pure)/es|stable|actual|features/aggregate-error +core-js/es|stable|actual|features/error +core-js/es|stable|actual|features/error/constructor +core-js/es|stable|actual|features/error/to-string ``` [*Example*](https://is.gd/1SufcH): ```js @@ -663,64 +672,64 @@ class Arguments { ``` [*CommonJS entry points:*](#commonjs-api) ``` -core-js(-pure)/es|stable|features/array -core-js(-pure)/es|stable|features/array/from -core-js(-pure)/es|stable|features/array/of -core-js(-pure)/es|stable|features/array/is-array -core-js(-pure)/es|stable|features/array/at -core-js(-pure)/es|stable|features/array/concat -core-js(-pure)/es|stable|features/array/entries -core-js(-pure)/es|stable|features/array/every -core-js(-pure)/es|stable|features/array/copy-within -core-js(-pure)/es|stable|features/array/fill -core-js(-pure)/es|stable|features/array/filter -core-js(-pure)/es|stable|features/array/find -core-js(-pure)/es|stable|features/array/find-index -core-js(-pure)/es|stable|features/array/flat -core-js(-pure)/es|stable|features/array/flat-map -core-js(-pure)/es|stable|features/array/for-each -core-js(-pure)/es|stable|features/array/includes -core-js(-pure)/es|stable|features/array/index-of -core-js(-pure)/es|stable|features/array/iterator -core-js(-pure)/es|stable|features/array/join -core-js(-pure)/es|stable|features/array/keys -core-js(-pure)/es|stable|features/array/last-index-of -core-js(-pure)/es|stable|features/array/map -core-js(-pure)/es|stable|features/array/reduce -core-js(-pure)/es|stable|features/array/reduce-right -core-js(-pure)/es|stable|features/array/reverse -core-js(-pure)/es|stable|features/array/slice -core-js(-pure)/es|stable|features/array/splice -core-js(-pure)/es|stable|features/array/some -core-js(-pure)/es|stable|features/array/sort -core-js(-pure)/es|stable|features/array/values -core-js(-pure)/es|stable|features/array/virtual/at -core-js(-pure)/es|stable|features/array/virtual/concat -core-js(-pure)/es|stable|features/array/virtual/copy-within -core-js(-pure)/es|stable|features/array/virtual/entries -core-js(-pure)/es|stable|features/array/virtual/every -core-js(-pure)/es|stable|features/array/virtual/fill -core-js(-pure)/es|stable|features/array/virtual/filter -core-js(-pure)/es|stable|features/array/virtual/find -core-js(-pure)/es|stable|features/array/virtual/find-index -core-js(-pure)/es|stable|features/array/virtual/flat -core-js(-pure)/es|stable|features/array/virtual/flat-map -core-js(-pure)/es|stable|features/array/virtual/for-each -core-js(-pure)/es|stable|features/array/virtual/includes -core-js(-pure)/es|stable|features/array/virtual/index-of -core-js(-pure)/es|stable|features/array/virtual/iterator -core-js(-pure)/es|stable|features/array/virtual/join -core-js(-pure)/es|stable|features/array/virtual/keys -core-js(-pure)/es|stable|features/array/virtual/last-index-of -core-js(-pure)/es|stable|features/array/virtual/map -core-js(-pure)/es|stable|features/array/virtual/reduce -core-js(-pure)/es|stable|features/array/virtual/reduce-right -core-js(-pure)/es|stable|features/array/virtual/reverse -core-js(-pure)/es|stable|features/array/virtual/slice -core-js(-pure)/es|stable|features/array/virtual/some -core-js(-pure)/es|stable|features/array/virtual/sort -core-js(-pure)/es|stable|features/array/virtual/splice -core-js(-pure)/es|stable|features/array/virtual/values +core-js(-pure)/es|stable|actual|features/array +core-js(-pure)/es|stable|actual|features/array/from +core-js(-pure)/es|stable|actual|features/array/of +core-js(-pure)/es|stable|actual|features/array/is-array +core-js(-pure)/es|stable|actual|features/array/at +core-js(-pure)/es|stable|actual|features/array/concat +core-js(-pure)/es|stable|actual|features/array/entries +core-js(-pure)/es|stable|actual|features/array/every +core-js(-pure)/es|stable|actual|features/array/copy-within +core-js(-pure)/es|stable|actual|features/array/fill +core-js(-pure)/es|stable|actual|features/array/filter +core-js(-pure)/es|stable|actual|features/array/find +core-js(-pure)/es|stable|actual|features/array/find-index +core-js(-pure)/es|stable|actual|features/array/flat +core-js(-pure)/es|stable|actual|features/array/flat-map +core-js(-pure)/es|stable|actual|features/array/for-each +core-js(-pure)/es|stable|actual|features/array/includes +core-js(-pure)/es|stable|actual|features/array/index-of +core-js(-pure)/es|stable|actual|features/array/iterator +core-js(-pure)/es|stable|actual|features/array/join +core-js(-pure)/es|stable|actual|features/array/keys +core-js(-pure)/es|stable|actual|features/array/last-index-of +core-js(-pure)/es|stable|actual|features/array/map +core-js(-pure)/es|stable|actual|features/array/reduce +core-js(-pure)/es|stable|actual|features/array/reduce-right +core-js(-pure)/es|stable|actual|features/array/reverse +core-js(-pure)/es|stable|actual|features/array/slice +core-js(-pure)/es|stable|actual|features/array/splice +core-js(-pure)/es|stable|actual|features/array/some +core-js(-pure)/es|stable|actual|features/array/sort +core-js(-pure)/es|stable|actual|features/array/values +core-js(-pure)/es|stable|actual|features/array/virtual/at +core-js(-pure)/es|stable|actual|features/array/virtual/concat +core-js(-pure)/es|stable|actual|features/array/virtual/copy-within +core-js(-pure)/es|stable|actual|features/array/virtual/entries +core-js(-pure)/es|stable|actual|features/array/virtual/every +core-js(-pure)/es|stable|actual|features/array/virtual/fill +core-js(-pure)/es|stable|actual|features/array/virtual/filter +core-js(-pure)/es|stable|actual|features/array/virtual/find +core-js(-pure)/es|stable|actual|features/array/virtual/find-index +core-js(-pure)/es|stable|actual|features/array/virtual/flat +core-js(-pure)/es|stable|actual|features/array/virtual/flat-map +core-js(-pure)/es|stable|actual|features/array/virtual/for-each +core-js(-pure)/es|stable|actual|features/array/virtual/includes +core-js(-pure)/es|stable|actual|features/array/virtual/index-of +core-js(-pure)/es|stable|actual|features/array/virtual/iterator +core-js(-pure)/es|stable|actual|features/array/virtual/join +core-js(-pure)/es|stable|actual|features/array/virtual/keys +core-js(-pure)/es|stable|actual|features/array/virtual/last-index-of +core-js(-pure)/es|stable|actual|features/array/virtual/map +core-js(-pure)/es|stable|actual|features/array/virtual/reduce +core-js(-pure)/es|stable|actual|features/array/virtual/reduce-right +core-js(-pure)/es|stable|actual|features/array/virtual/reverse +core-js(-pure)/es|stable|actual|features/array/virtual/slice +core-js(-pure)/es|stable|actual|features/array/virtual/some +core-js(-pure)/es|stable|actual|features/array/virtual/sort +core-js(-pure)/es|stable|actual|features/array/virtual/splice +core-js(-pure)/es|stable|actual|features/array/virtual/values ``` [*Examples*](t.ly/0qoU): ```js @@ -843,52 +852,52 @@ function unescape(string: string): string; ``` [*CommonJS entry points:*](#commonjs-api) ``` -core-js(-pure)/es|stable|features/string -core-js(-pure)/es|stable|features/string/from-code-point -core-js(-pure)/es|stable|features/string/raw -core-js/es|stable|features/string/match -core-js/es|stable|features/string/replace -core-js/es|stable|features/string/search -core-js/es|stable|features/string/split -core-js(-pure)/es|stable/string(/virtual)/at -core-js(-pure)/es|stable|features/string(/virtual)/code-point-at -core-js(-pure)/es|stable|features/string(/virtual)/ends-with -core-js(-pure)/es|stable|features/string(/virtual)/includes -core-js(-pure)/es|stable|features/string(/virtual)/starts-with -core-js(-pure)/es|stable|features/string(/virtual)/match-all -core-js(-pure)/es|stable|features/string(/virtual)/pad-start -core-js(-pure)/es|stable|features/string(/virtual)/pad-end -core-js(-pure)/es|stable|features/string(/virtual)/repeat -core-js(-pure)/es|stable|features/string(/virtual)/replace-all -core-js(-pure)/es|stable|features/string(/virtual)/trim -core-js(-pure)/es|stable|features/string(/virtual)/trim-start -core-js(-pure)/es|stable|features/string(/virtual)/trim-end -core-js(-pure)/es|stable|features/string(/virtual)/trim-left -core-js(-pure)/es|stable|features/string(/virtual)/trim-right -core-js(-pure)/es|stable|features/string(/virtual)/anchor -core-js(-pure)/es|stable|features/string(/virtual)/big -core-js(-pure)/es|stable|features/string(/virtual)/blink -core-js(-pure)/es|stable|features/string(/virtual)/bold -core-js(-pure)/es|stable|features/string(/virtual)/fixed -core-js(-pure)/es|stable|features/string(/virtual)/fontcolor -core-js(-pure)/es|stable|features/string(/virtual)/fontsize -core-js(-pure)/es|stable|features/string(/virtual)(/virtual)/italics -core-js(-pure)/es|stable|features/string(/virtual)/link -core-js(-pure)/es|stable|features/string(/virtual)/small -core-js(-pure)/es|stable|features/string(/virtual)/strike -core-js(-pure)/es|stable|features/string(/virtual)/sub -core-js(-pure)/es|stable|features/string(/virtual)/substr -core-js(-pure)/es|stable|features/string(/virtual)/sup -core-js(-pure)/es|stable|features/string(/virtual)/iterator -core-js/es|stable|features/regexp -core-js/es|stable|features/regexp/constructor -core-js/es|stable|features/regexp/dot-all -core-js(-pure)/es|stable|features/regexp/flags -core-js/es|stable|features/regexp/sticky -core-js/es|stable|features/regexp/test -core-js/es|stable|features/regexp/to-string -core-js/es|stable|features/escape -core-js/es|stable|features/unescape +core-js(-pure)/es|stable|actual|features/string +core-js(-pure)/es|stable|actual|features/string/from-code-point +core-js(-pure)/es|stable|actual|features/string/raw +core-js/es|stable|actual|features/string/match +core-js/es|stable|actual|features/string/replace +core-js/es|stable|actual|features/string/search +core-js/es|stable|actual|features/string/split +core-js(-pure)/es|stable|actual/string(/virtual)/at +core-js(-pure)/es|stable|actual|features/string(/virtual)/code-point-at +core-js(-pure)/es|stable|actual|features/string(/virtual)/ends-with +core-js(-pure)/es|stable|actual|features/string(/virtual)/includes +core-js(-pure)/es|stable|actual|features/string(/virtual)/starts-with +core-js(-pure)/es|stable|actual|features/string(/virtual)/match-all +core-js(-pure)/es|stable|actual|features/string(/virtual)/pad-start +core-js(-pure)/es|stable|actual|features/string(/virtual)/pad-end +core-js(-pure)/es|stable|actual|features/string(/virtual)/repeat +core-js(-pure)/es|stable|actual|features/string(/virtual)/replace-all +core-js(-pure)/es|stable|actual|features/string(/virtual)/trim +core-js(-pure)/es|stable|actual|features/string(/virtual)/trim-start +core-js(-pure)/es|stable|actual|features/string(/virtual)/trim-end +core-js(-pure)/es|stable|actual|features/string(/virtual)/trim-left +core-js(-pure)/es|stable|actual|features/string(/virtual)/trim-right +core-js(-pure)/es|stable|actual|features/string(/virtual)/anchor +core-js(-pure)/es|stable|actual|features/string(/virtual)/big +core-js(-pure)/es|stable|actual|features/string(/virtual)/blink +core-js(-pure)/es|stable|actual|features/string(/virtual)/bold +core-js(-pure)/es|stable|actual|features/string(/virtual)/fixed +core-js(-pure)/es|stable|actual|features/string(/virtual)/fontcolor +core-js(-pure)/es|stable|actual|features/string(/virtual)/fontsize +core-js(-pure)/es|stable|actual|features/string(/virtual)(/virtual)/italics +core-js(-pure)/es|stable|actual|features/string(/virtual)/link +core-js(-pure)/es|stable|actual|features/string(/virtual)/small +core-js(-pure)/es|stable|actual|features/string(/virtual)/strike +core-js(-pure)/es|stable|actual|features/string(/virtual)/sub +core-js(-pure)/es|stable|actual|features/string(/virtual)/substr +core-js(-pure)/es|stable|actual|features/string(/virtual)/sup +core-js(-pure)/es|stable|actual|features/string(/virtual)/iterator +core-js/es|stable|actual|features/regexp +core-js/es|stable|actual|features/regexp/constructor +core-js/es|stable|actual|features/regexp/dot-all +core-js(-pure)/es|stable|actual|features/regexp/flags +core-js/es|stable|actual|features/regexp/sticky +core-js/es|stable|actual|features/regexp/test +core-js/es|stable|actual|features/regexp/to-string +core-js/es|stable|actual|features/escape +core-js/es|stable|actual|features/unescape ``` [*Examples*](t.ly/ex9y): ```js @@ -992,22 +1001,22 @@ function parseInt(string: string, radix?: number = 10): number; ``` [*CommonJS entry points:*](#commonjs-api) ``` -core-js(-pure)/es|stable|features/number -core-js/es|stable|features/number/constructor -core-js(-pure)/es|stable|features/number/is-finite -core-js(-pure)/es|stable|features/number/is-nan -core-js(-pure)/es|stable|features/number/is-integer -core-js(-pure)/es|stable|features/number/is-safe-integer -core-js(-pure)/es|stable|features/number/parse-float -core-js(-pure)/es|stable|features/number/parse-int -core-js(-pure)/es|stable|features/number/epsilon -core-js(-pure)/es|stable|features/number/max-safe-integer -core-js(-pure)/es|stable|features/number/min-safe-integer -core-js(-pure)/es|stable|features/number/to-exponential -core-js(-pure)/es|stable|features/number/to-fixed -core-js(-pure)/es|stable|features/number/to-precision -core-js(-pure)/es|stable|features/parse-float -core-js(-pure)/es|stable|features/parse-int +core-js(-pure)/es|stable|actual|features/number +core-js/es|stable|actual|features/number/constructor +core-js(-pure)/es|stable|actual|features/number/is-finite +core-js(-pure)/es|stable|actual|features/number/is-nan +core-js(-pure)/es|stable|actual|features/number/is-integer +core-js(-pure)/es|stable|actual|features/number/is-safe-integer +core-js(-pure)/es|stable|actual|features/number/parse-float +core-js(-pure)/es|stable|actual|features/number/parse-int +core-js(-pure)/es|stable|actual|features/number/epsilon +core-js(-pure)/es|stable|actual|features/number/max-safe-integer +core-js(-pure)/es|stable|actual|features/number/min-safe-integer +core-js(-pure)/es|stable|actual|features/number/to-exponential +core-js(-pure)/es|stable|actual|features/number/to-fixed +core-js(-pure)/es|stable|actual|features/number/to-precision +core-js(-pure)/es|stable|actual|features/parse-float +core-js(-pure)/es|stable|actual|features/parse-int ``` #### ECMAScript: Math[⬆](#index) Modules [`es.math.acosh`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.math.acosh.js), [`es.math.asinh`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.math.asinh.js), [`es.math.atanh`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.math.atanh.js), [`es.math.cbrt`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.math.cbrt.js), [`es.math.clz32`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.math.clz32.js), [`es.math.cosh`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.math.cosh.js), [`es.math.expm1`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.math.expm1.js), [`es.math.fround`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.math.fround.js), [`es.math.hypot`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.math.hypot.js), [`es.math.imul`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.math.imul.js), [`es.math.log10`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.math.log10.js), [`es.math.log1p`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.math.log1p.js), [`es.math.log2`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.math.log2.js), [`es.math.sign`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.math.sign.js), [`es.math.sinh`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.math.sinh.js), [`es.math.tanh`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.math.tanh.js), [`es.math.trunc`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.math.trunc.js). @@ -1034,24 +1043,24 @@ namespace Math { ``` [*CommonJS entry points:*](#commonjs-api) ``` -core-js(-pure)/es|stable|features/math -core-js(-pure)/es|stable|features/math/acosh -core-js(-pure)/es|stable|features/math/asinh -core-js(-pure)/es|stable|features/math/atanh -core-js(-pure)/es|stable|features/math/cbrt -core-js(-pure)/es|stable|features/math/clz32 -core-js(-pure)/es|stable|features/math/cosh -core-js(-pure)/es|stable|features/math/expm1 -core-js(-pure)/es|stable|features/math/fround -core-js(-pure)/es|stable|features/math/hypot -core-js(-pure)/es|stable|features/math/imul -core-js(-pure)/es|stable|features/math/log1p -core-js(-pure)/es|stable|features/math/log10 -core-js(-pure)/es|stable|features/math/log2 -core-js(-pure)/es|stable|features/math/sign -core-js(-pure)/es|stable|features/math/sinh -core-js(-pure)/es|stable|features/math/tanh -core-js(-pure)/es|stable|features/math/trunc +core-js(-pure)/es|stable|actual|features/math +core-js(-pure)/es|stable|actual|features/math/acosh +core-js(-pure)/es|stable|actual|features/math/asinh +core-js(-pure)/es|stable|actual|features/math/atanh +core-js(-pure)/es|stable|actual|features/math/cbrt +core-js(-pure)/es|stable|actual|features/math/clz32 +core-js(-pure)/es|stable|actual|features/math/cosh +core-js(-pure)/es|stable|actual|features/math/expm1 +core-js(-pure)/es|stable|actual|features/math/fround +core-js(-pure)/es|stable|actual|features/math/hypot +core-js(-pure)/es|stable|actual|features/math/imul +core-js(-pure)/es|stable|actual|features/math/log1p +core-js(-pure)/es|stable|actual|features/math/log10 +core-js(-pure)/es|stable|actual|features/math/log2 +core-js(-pure)/es|stable|actual|features/math/sign +core-js(-pure)/es|stable|actual|features/math/sinh +core-js(-pure)/es|stable|actual|features/math/tanh +core-js(-pure)/es|stable|actual|features/math/trunc ``` #### ECMAScript: Date[⬆](#index) Modules [`es.date.to-string`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.date.to-string.js), ES5 features with fixes: [`es.date.now`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.date.now.js), [`es.date.to-iso-string`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.date.to-iso-string.js), [`es.date.to-json`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.date.to-json.js) and [`es.date.to-primitive`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.date.to-primitive.js). @@ -1071,15 +1080,15 @@ class Date { ``` [*CommonJS entry points:*](#commonjs-api) ``` -core-js/es|stable|features/date -core-js/es|stable|features/date/to-string -core-js(-pure)/es|stable|features/date/now -core-js(-pure)/es|stable|features/date/get-year -core-js(-pure)/es|stable|features/date/set-year -core-js(-pure)/es|stable|features/date/to-gmt-string -core-js(-pure)/es|stable|features/date/to-iso-string -core-js(-pure)/es|stable|features/date/to-json -core-js(-pure)/es|stable|features/date/to-primitive +core-js/es|stable|actual|features/date +core-js/es|stable|actual|features/date/to-string +core-js(-pure)/es|stable|actual|features/date/now +core-js(-pure)/es|stable|actual|features/date/get-year +core-js(-pure)/es|stable|actual|features/date/set-year +core-js(-pure)/es|stable|actual|features/date/to-gmt-string +core-js(-pure)/es|stable|actual|features/date/to-iso-string +core-js(-pure)/es|stable|actual|features/date/to-json +core-js(-pure)/es|stable|actual|features/date/to-primitive ``` [*Example*](http://goo.gl/haeHLR): ```js @@ -1103,10 +1112,10 @@ class Promise { ``` [*CommonJS entry points:*](#commonjs-api) ``` -core-js(-pure)/es|stable|features/promise -core-js(-pure)/es|stable|features/promise/all-settled -core-js(-pure)/es|stable|features/promise/any -core-js(-pure)/es|stable|features/promise/finally +core-js(-pure)/es|stable|actual|features/promise +core-js(-pure)/es|stable|actual|features/promise/all-settled +core-js(-pure)/es|stable|actual|features/promise/any +core-js(-pure)/es|stable|actual|features/promise/finally ``` Basic [*example*](http://goo.gl/vGrtUC): ```js @@ -1285,24 +1294,24 @@ class Object { ``` [*CommonJS entry points:*](#commonjs-api) ``` -core-js(-pure)/es|stable|features/symbol -core-js(-pure)/es|stable|features/symbol/async-iterator -core-js/es|stable|features/symbol/description -core-js(-pure)/es|stable|features/symbol/has-instance -core-js(-pure)/es|stable|features/symbol/is-concat-spreadable -core-js(-pure)/es|stable|features/symbol/iterator -core-js(-pure)/es|stable|features/symbol/match -core-js(-pure)/es|stable|features/symbol/replace -core-js(-pure)/es|stable|features/symbol/search -core-js(-pure)/es|stable|features/symbol/species -core-js(-pure)/es|stable|features/symbol/split -core-js(-pure)/es|stable|features/symbol/to-primitive -core-js(-pure)/es|stable|features/symbol/to-string-tag -core-js(-pure)/es|stable|features/symbol/unscopables -core-js(-pure)/es|stable|features/symbol/for -core-js(-pure)/es|stable|features/symbol/key-for -core-js(-pure)/es|stable|features/object/get-own-property-symbols -core-js(-pure)/es|stable|features/math/to-string-tag +core-js(-pure)/es|stable|actual|features/symbol +core-js(-pure)/es|stable|actual|features/symbol/async-iterator +core-js/es|stable|actual|features/symbol/description +core-js(-pure)/es|stable|actual|features/symbol/has-instance +core-js(-pure)/es|stable|actual|features/symbol/is-concat-spreadable +core-js(-pure)/es|stable|actual|features/symbol/iterator +core-js(-pure)/es|stable|actual|features/symbol/match +core-js(-pure)/es|stable|actual|features/symbol/replace +core-js(-pure)/es|stable|actual|features/symbol/search +core-js(-pure)/es|stable|actual|features/symbol/species +core-js(-pure)/es|stable|actual|features/symbol/split +core-js(-pure)/es|stable|actual|features/symbol/to-primitive +core-js(-pure)/es|stable|actual|features/symbol/to-string-tag +core-js(-pure)/es|stable|actual|features/symbol/unscopables +core-js(-pure)/es|stable|actual|features/symbol/for +core-js(-pure)/es|stable|actual|features/symbol/key-for +core-js(-pure)/es|stable|actual|features/object/get-own-property-symbols +core-js(-pure)/es|stable|actual|features/math/to-string-tag ``` [*Basic example*](http://goo.gl/BbvWFc): ```js @@ -1391,7 +1400,7 @@ class Map { ``` [*CommonJS entry points:*](#commonjs-api) ``` -core-js(-pure)/es|stable|features/map +core-js(-pure)/es|stable|actual|features/map ``` [*Examples*](http://goo.gl/GWR7NI): ```js @@ -1445,7 +1454,7 @@ class Set { ``` [*CommonJS entry points:*](#commonjs-api) ``` -core-js(-pure)/es|stable|features/set +core-js(-pure)/es|stable|actual|features/set ``` [*Examples*](http://goo.gl/bmhLwg): ```js @@ -1484,7 +1493,7 @@ class WeakMap { ``` [*CommonJS entry points:*](#commonjs-api) ``` -core-js(-pure)/es|stable|features/weak-map +core-js(-pure)/es|stable|actual|features/weak-map ``` [*Examples*](http://goo.gl/SILXyw): ```js @@ -1529,7 +1538,7 @@ class WeakSet { ``` [*CommonJS entry points:*](#commonjs-api) ``` -core-js(-pure)/es|stable|features/weak-set +core-js(-pure)/es|stable|actual|features/weak-set ``` [*Examples*](http://goo.gl/TdFbEx): ```js @@ -1639,50 +1648,50 @@ class %TypedArray% { ``` [*CommonJS entry points:*](#commonjs-api) ``` -core-js/es|stable|features/array-buffer -core-js/es|stable|features/array-buffer/constructor -core-js/es|stable|features/array-buffer/is-view -core-js/es|stable|features/array-buffer/slice -core-js/es|stable|features/data-view -core-js/es|stable|features/typed-array -core-js/es|stable|features/typed-array/int8-array -core-js/es|stable|features/typed-array/uint8-array -core-js/es|stable|features/typed-array/uint8-clamped-array -core-js/es|stable|features/typed-array/int16-array -core-js/es|stable|features/typed-array/uint16-array -core-js/es|stable|features/typed-array/int32-array -core-js/es|stable|features/typed-array/uint32-array -core-js/es|stable|features/typed-array/float32-array -core-js/es|stable|features/typed-array/float64-array -core-js/es|stable|features/typed-array/at -core-js/es|stable|features/typed-array/copy-within -core-js/es|stable|features/typed-array/entries -core-js/es|stable|features/typed-array/every -core-js/es|stable|features/typed-array/fill -core-js/es|stable|features/typed-array/filter -core-js/es|stable|features/typed-array/find -core-js/es|stable|features/typed-array/find-index -core-js/es|stable|features/typed-array/for-each -core-js/es|stable|features/typed-array/from -core-js/es|stable|features/typed-array/includes -core-js/es|stable|features/typed-array/index-of -core-js/es|stable|features/typed-array/iterator -core-js/es|stable|features/typed-array/join -core-js/es|stable|features/typed-array/keys -core-js/es|stable|features/typed-array/last-index-of -core-js/es|stable|features/typed-array/map -core-js/es|stable|features/typed-array/of -core-js/es|stable|features/typed-array/reduce -core-js/es|stable|features/typed-array/reduce-right -core-js/es|stable|features/typed-array/reverse -core-js/es|stable|features/typed-array/set -core-js/es|stable|features/typed-array/slice -core-js/es|stable|features/typed-array/some -core-js/es|stable|features/typed-array/sort -core-js/es|stable|features/typed-array/subarray -core-js/es|stable|features/typed-array/to-locale-string -core-js/es|stable|features/typed-array/to-string -core-js/es|stable|features/typed-array/values +core-js/es|stable|actual|features/array-buffer +core-js/es|stable|actual|features/array-buffer/constructor +core-js/es|stable|actual|features/array-buffer/is-view +core-js/es|stable|actual|features/array-buffer/slice +core-js/es|stable|actual|features/data-view +core-js/es|stable|actual|features/typed-array +core-js/es|stable|actual|features/typed-array/int8-array +core-js/es|stable|actual|features/typed-array/uint8-array +core-js/es|stable|actual|features/typed-array/uint8-clamped-array +core-js/es|stable|actual|features/typed-array/int16-array +core-js/es|stable|actual|features/typed-array/uint16-array +core-js/es|stable|actual|features/typed-array/int32-array +core-js/es|stable|actual|features/typed-array/uint32-array +core-js/es|stable|actual|features/typed-array/float32-array +core-js/es|stable|actual|features/typed-array/float64-array +core-js/es|stable|actual|features/typed-array/at +core-js/es|stable|actual|features/typed-array/copy-within +core-js/es|stable|actual|features/typed-array/entries +core-js/es|stable|actual|features/typed-array/every +core-js/es|stable|actual|features/typed-array/fill +core-js/es|stable|actual|features/typed-array/filter +core-js/es|stable|actual|features/typed-array/find +core-js/es|stable|actual|features/typed-array/find-index +core-js/es|stable|actual|features/typed-array/for-each +core-js/es|stable|actual|features/typed-array/from +core-js/es|stable|actual|features/typed-array/includes +core-js/es|stable|actual|features/typed-array/index-of +core-js/es|stable|actual|features/typed-array/iterator +core-js/es|stable|actual|features/typed-array/join +core-js/es|stable|actual|features/typed-array/keys +core-js/es|stable|actual|features/typed-array/last-index-of +core-js/es|stable|actual|features/typed-array/map +core-js/es|stable|actual|features/typed-array/of +core-js/es|stable|actual|features/typed-array/reduce +core-js/es|stable|actual|features/typed-array/reduce-right +core-js/es|stable|actual|features/typed-array/reverse +core-js/es|stable|actual|features/typed-array/set +core-js/es|stable|actual|features/typed-array/slice +core-js/es|stable|actual|features/typed-array/some +core-js/es|stable|actual|features/typed-array/sort +core-js/es|stable|actual|features/typed-array/subarray +core-js/es|stable|actual|features/typed-array/to-locale-string +core-js/es|stable|actual|features/typed-array/to-string +core-js/es|stable|actual|features/typed-array/values ``` [*Examples*](t.ly/w98j): ```js @@ -1744,20 +1753,20 @@ namespace Reflect { ``` [*CommonJS entry points:*](#commonjs-api) ``` -core-js(-pure)/es|stable|features/reflect -core-js(-pure)/es|stable|features/reflect/apply -core-js(-pure)/es|stable|features/reflect/construct -core-js(-pure)/es|stable|features/reflect/define-property -core-js(-pure)/es|stable|features/reflect/delete-property -core-js(-pure)/es|stable|features/reflect/get -core-js(-pure)/es|stable|features/reflect/get-own-property-descriptor -core-js(-pure)/es|stable|features/reflect/get-prototype-of -core-js(-pure)/es|stable|features/reflect/has -core-js(-pure)/es|stable|features/reflect/is-extensible -core-js(-pure)/es|stable|features/reflect/own-keys -core-js(-pure)/es|stable|features/reflect/prevent-extensions -core-js(-pure)/es|stable|features/reflect/set -core-js(-pure)/es|stable|features/reflect/set-prototype-of +core-js(-pure)/es|stable|actual|features/reflect +core-js(-pure)/es|stable|actual|features/reflect/apply +core-js(-pure)/es|stable|actual|features/reflect/construct +core-js(-pure)/es|stable|actual|features/reflect/define-property +core-js(-pure)/es|stable|actual|features/reflect/delete-property +core-js(-pure)/es|stable|actual|features/reflect/get +core-js(-pure)/es|stable|actual|features/reflect/get-own-property-descriptor +core-js(-pure)/es|stable|actual|features/reflect/get-prototype-of +core-js(-pure)/es|stable|actual|features/reflect/has +core-js(-pure)/es|stable|actual|features/reflect/is-extensible +core-js(-pure)/es|stable|actual|features/reflect/own-keys +core-js(-pure)/es|stable|actual|features/reflect/prevent-extensions +core-js(-pure)/es|stable|actual|features/reflect/set +core-js(-pure)/es|stable|actual|features/reflect/set-prototype-of ``` [*Examples*](http://goo.gl/gVT0cH): ```js @@ -1786,8 +1795,8 @@ namespace JSON { ``` [*CommonJS entry points:*](#commonjs-api) ```js -core-js(-pure)/es|stable|features/json/stringify -core-js(-pure)/es|stable|features/json/to-string-tag +core-js(-pure)/es|stable|actual|features/json/stringify +core-js(-pure)/es|stable|actual|features/json/to-string-tag ``` [*Examples*](t.ly/YJeG): ```js @@ -1801,7 +1810,7 @@ let globalThis: Object; ``` [*CommonJS entry points:*](#commonjs-api) ```js -core-js(-pure)/es|stable|features/global-this +core-js(-pure)/es|stable|actual|features/global-this ``` [*Examples*](https://goo.gl/LAifsc): ```js @@ -2092,10 +2101,10 @@ class %TypedArray% { [*CommonJS entry points:*](#commonjs-api) ``` core-js/proposals/array-find-from-last -core-js(-pure)/features(/virtual)/array/find-last -core-js(-pure)/features(/virtual)/array/find-last-index -core-js/features/typed-array/find-last -core-js/features/typed-array/find-last-index +core-js(-pure)/actual|features(/virtual)/array/find-last +core-js(-pure)/actual|features(/virtual)/array/find-last-index +core-js/actual|features/typed-array/find-last +core-js/actual|features/typed-array/find-last-index ``` [*Examples*](t.ly/TwKr): ```js @@ -2991,7 +3000,7 @@ function structuredClone(value: Serializable, { transfer?: Sequence): number; [*CommonJS entry points:*](#commonjs-api) ```js core-js(-pure)/web/timers -core-js(-pure)/stable|features/set-timeout -core-js(-pure)/stable|features/set-interval +core-js(-pure)/stable|actual|features/set-timeout +core-js(-pure)/stable|actual|features/set-interval ``` ```js // Before: @@ -3055,8 +3064,8 @@ function clearImmediate(id: number): void; [*CommonJS entry points:*](#commonjs-api) ```js core-js(-pure)/web/immediate -core-js(-pure)/stable|features/set-immediate -core-js(-pure)/stable|features/clear-immediate +core-js(-pure)/stable|actual|features/set-immediate +core-js(-pure)/stable|actual|features/clear-immediate ``` [*Examples*](http://goo.gl/6nXGrx): ```js @@ -3077,7 +3086,7 @@ function queueMicrotask(fn: Function): void; [*CommonJS entry points:*](#commonjs-api) ```js core-js/web/queue-microtask -core-js(-pure)/stable|features/queue-microtask +core-js(-pure)/stable|actual|features/queue-microtask ``` [*Examples*](https://goo.gl/nsW8P9): ```js @@ -3127,9 +3136,9 @@ class URLSearchParams { core-js/proposals/url core-js(-pure)/web/url core-js(-pure)/web/url-search-params -core-js(-pure)/stable|features/url -core-js/stable|features/url/to-json -core-js(-pure)/stable|features/url-search-params +core-js(-pure)/stable|actual|features/url +core-js/stable|actual|features/url/to-json +core-js(-pure)/stable|actual|features/url-search-params ``` [*Examples*](t.ly/ZiA6): ```js @@ -3193,9 +3202,9 @@ class DOMException { ```` [*CommonJS entry points:*](#commonjs-api) ```js -core-js(-pure)/stable|features/dom-exception -core-js(-pure)/stable|features/dom-exception/constructor -core-js/stable|features/dom-exception/to-string-tag +core-js(-pure)/stable|actual|features/dom-exception +core-js(-pure)/stable|actual|features/dom-exception/constructor +core-js/stable|actual|features/dom-exception/to-string-tag ``` [*Examples*](is.gd/pI6oTN): ```js @@ -3258,8 +3267,8 @@ class [DOMTokenList, NodeList] { [*CommonJS entry points:*](#commonjs-api) ```js core-js(-pure)/web/dom-collections -core-js(-pure)/stable|features/dom-collections/iterator -core-js/stable|features/dom-collections/for-each +core-js(-pure)/stable|actual|features/dom-collections/iterator +core-js/stable|actual|features/dom-collections/for-each ``` [*Examples*](http://goo.gl/lfXVFl): ```js @@ -3282,15 +3291,15 @@ function getIteratorMethod(value: any): Function | void; ``` [*CommonJS entry points:*](#commonjs-api) ```js -core-js-pure/es|stable|features/is-iterable -core-js-pure/es|stable|features/get-iterator -core-js-pure/es|stable|features/get-iterator-method +core-js-pure/es|stable|actual|features/is-iterable +core-js-pure/es|stable|actual|features/get-iterator +core-js-pure/es|stable|actual|features/get-iterator-method ``` [*Examples*](http://goo.gl/SXsM6D): ```js -import isIterable from 'core-js-pure/features/is-iterable'; -import getIterator from 'core-js-pure/features/get-iterator'; -import getIteratorMethod from 'core-js-pure/features/get-iterator-method'; +import isIterable from 'core-js-pure/actual/is-iterable'; +import getIterator from 'core-js-pure/actual/get-iterator'; +import getIteratorMethod from 'core-js-pure/actual/get-iterator-method'; let list = (function () { return arguments; diff --git a/packages/core-js-bundle/README.md b/packages/core-js-bundle/README.md index b866a70fb541..de264f16e466 100644 --- a/packages/core-js-bundle/README.md +++ b/packages/core-js-bundle/README.md @@ -22,37 +22,42 @@ --- -[*Example*](http://goo.gl/a2xexl): +[*Example of usage*](https://is.gd/yHurcF): ```js import 'core-js'; // <- at the top of your entry point Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] -[1, [2, 3], [4, [5]]].flat(2); // => [1, 2, 3, 4, 5] -Promise.resolve(32).then(x => console.log(x)); // => 32 +[1, 2, 3, 4].findLast(it => it % 2); // => 3 +Promise.resolve(42).then(x => console.log(x)); // => 42 +queueMicrotask(() => console.log('called as microtask')); ``` *You can load only required features*: ```js -import 'core-js/features/array/from'; // <- at the top of your entry point -import 'core-js/features/array/flat'; // <- at the top of your entry point -import 'core-js/features/set'; // <- at the top of your entry point -import 'core-js/features/promise'; // <- at the top of your entry point +import 'core-js/actual/array/from'; // <- at the top of your entry point +import 'core-js/actual/array/find-last'; // <- at the top of your entry point +import 'core-js/actual/set'; // <- at the top of your entry point +import 'core-js/actual/promise'; // <- at the top of your entry point +import 'core-js/actual/queue-microtask'; // <- at the top of your entry point Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] -[1, [2, 3], [4, [5]]].flat(2); // => [1, 2, 3, 4, 5] -Promise.resolve(32).then(x => console.log(x)); // => 32 +[1, 2, 3, 4].findLast(it => it % 2); // => 3 +Promise.resolve(42).then(x => console.log(x)); // => 42 +queueMicrotask(() => console.log('called as microtask')); ``` *Or use it without global namespace pollution*: ```js -import from from 'core-js-pure/features/array/from'; -import flat from 'core-js-pure/features/array/flat'; -import Set from 'core-js-pure/features/set'; -import Promise from 'core-js-pure/features/promise'; +import from from 'core-js-pure/actual/array/from'; +import findLast from 'core-js-pure/actual/array/find-last'; +import Set from 'core-js-pure/actual/set'; +import Promise from 'core-js-pure/actual/promise'; +import queueMicrotask from 'core-js-pure/actual/queue-microtask'; from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] -flat([1, [2, 3], [4, [5]]], 2); // => [1, 2, 3, 4, 5] -Promise.resolve(32).then(x => console.log(x)); // => 32 +findLast([1, 2, 3, 4], it => it % 2); // => 3 +Promise.resolve(42).then(x => console.log(x)); // => 42 +queueMicrotask(() => console.log('called as microtask')); ``` **It's a bundled global version, for more info see [`core-js` documentation](https://github.com/zloirock/core-js/blob/master/README.md).** diff --git a/packages/core-js-pure/README.md b/packages/core-js-pure/README.md index fe0b8ca562b4..6897e1d6d1c9 100644 --- a/packages/core-js-pure/README.md +++ b/packages/core-js-pure/README.md @@ -22,37 +22,42 @@ --- -[*Example*](http://goo.gl/a2xexl): +[*Example of usage*](https://is.gd/yHurcF): ```js import 'core-js'; // <- at the top of your entry point Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] -[1, [2, 3], [4, [5]]].flat(2); // => [1, 2, 3, 4, 5] -Promise.resolve(32).then(x => console.log(x)); // => 32 +[1, 2, 3, 4].findLast(it => it % 2); // => 3 +Promise.resolve(42).then(x => console.log(x)); // => 42 +queueMicrotask(() => console.log('called as microtask')); ``` *You can load only required features*: ```js -import 'core-js/features/array/from'; // <- at the top of your entry point -import 'core-js/features/array/flat'; // <- at the top of your entry point -import 'core-js/features/set'; // <- at the top of your entry point -import 'core-js/features/promise'; // <- at the top of your entry point +import 'core-js/actual/array/from'; // <- at the top of your entry point +import 'core-js/actual/array/find-last'; // <- at the top of your entry point +import 'core-js/actual/set'; // <- at the top of your entry point +import 'core-js/actual/promise'; // <- at the top of your entry point +import 'core-js/actual/queue-microtask'; // <- at the top of your entry point Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] -[1, [2, 3], [4, [5]]].flat(2); // => [1, 2, 3, 4, 5] -Promise.resolve(32).then(x => console.log(x)); // => 32 +[1, 2, 3, 4].findLast(it => it % 2); // => 3 +Promise.resolve(42).then(x => console.log(x)); // => 42 +queueMicrotask(() => console.log('called as microtask')); ``` *Or use it without global namespace pollution*: ```js -import from from 'core-js-pure/features/array/from'; -import flat from 'core-js-pure/features/array/flat'; -import Set from 'core-js-pure/features/set'; -import Promise from 'core-js-pure/features/promise'; +import from from 'core-js-pure/actual/array/from'; +import findLast from 'core-js-pure/actual/array/find-last'; +import Set from 'core-js-pure/actual/set'; +import Promise from 'core-js-pure/actual/promise'; +import queueMicrotask from 'core-js-pure/actual/queue-microtask'; from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] -flat([1, [2, 3], [4, [5]]], 2); // => [1, 2, 3, 4, 5] -Promise.resolve(32).then(x => console.log(x)); // => 32 +findLast([1, 2, 3, 4], it => it % 2); // => 3 +Promise.resolve(42).then(x => console.log(x)); // => 42 +queueMicrotask(() => console.log('called as microtask')); ``` **It's a version without global namespace pollution (the third example), for more info see [`core-js` documentation](https://github.com/zloirock/core-js/blob/master/README.md)**. diff --git a/packages/core-js/README.md b/packages/core-js/README.md index 06f24d3f8c8c..ada4bd395d73 100644 --- a/packages/core-js/README.md +++ b/packages/core-js/README.md @@ -22,37 +22,42 @@ --- -[*Example*](http://goo.gl/a2xexl): +[*Example of usage*](https://is.gd/yHurcF): ```js import 'core-js'; // <- at the top of your entry point Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] -[1, [2, 3], [4, [5]]].flat(2); // => [1, 2, 3, 4, 5] -Promise.resolve(32).then(x => console.log(x)); // => 32 +[1, 2, 3, 4].findLast(it => it % 2); // => 3 +Promise.resolve(42).then(x => console.log(x)); // => 42 +queueMicrotask(() => console.log('called as microtask')); ``` *You can load only required features*: ```js -import 'core-js/features/array/from'; // <- at the top of your entry point -import 'core-js/features/array/flat'; // <- at the top of your entry point -import 'core-js/features/set'; // <- at the top of your entry point -import 'core-js/features/promise'; // <- at the top of your entry point +import 'core-js/actual/array/from'; // <- at the top of your entry point +import 'core-js/actual/array/find-last'; // <- at the top of your entry point +import 'core-js/actual/set'; // <- at the top of your entry point +import 'core-js/actual/promise'; // <- at the top of your entry point +import 'core-js/actual/queue-microtask'; // <- at the top of your entry point Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] -[1, [2, 3], [4, [5]]].flat(2); // => [1, 2, 3, 4, 5] -Promise.resolve(32).then(x => console.log(x)); // => 32 +[1, 2, 3, 4].findLast(it => it % 2); // => 3 +Promise.resolve(42).then(x => console.log(x)); // => 42 +queueMicrotask(() => console.log('called as microtask')); ``` *Or use it without global namespace pollution*: ```js -import from from 'core-js-pure/features/array/from'; -import flat from 'core-js-pure/features/array/flat'; -import Set from 'core-js-pure/features/set'; -import Promise from 'core-js-pure/features/promise'; +import from from 'core-js-pure/actual/array/from'; +import findLast from 'core-js-pure/actual/array/find-last'; +import Set from 'core-js-pure/actual/set'; +import Promise from 'core-js-pure/actual/promise'; +import queueMicrotask from 'core-js-pure/actual/queue-microtask'; from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] -flat([1, [2, 3], [4, [5]]], 2); // => [1, 2, 3, 4, 5] -Promise.resolve(32).then(x => console.log(x)); // => 32 +findLast([1, 2, 3, 4], it => it % 2); // => 3 +Promise.resolve(42).then(x => console.log(x)); // => 42 +queueMicrotask(() => console.log('called as microtask')); ``` **It's a global version (first 2 examples), for more info see [`core-js` documentation](https://github.com/zloirock/core-js/blob/master/README.md).** From 14aed141bee06fee7acc2d9b4b4de2709725ab0f Mon Sep 17 00:00:00 2001 From: Denis Pushkarev Date: Wed, 24 Nov 2021 02:42:05 +0700 Subject: [PATCH 05/11] remove mention of `/web/` namespace from the readme --- README.md | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/README.md b/README.md index ae499fa8a924..4cefb4ad6495 100644 --- a/README.md +++ b/README.md @@ -881,7 +881,7 @@ core-js(-pure)/es|stable|actual|features/string(/virtual)/bold core-js(-pure)/es|stable|actual|features/string(/virtual)/fixed core-js(-pure)/es|stable|actual|features/string(/virtual)/fontcolor core-js(-pure)/es|stable|actual|features/string(/virtual)/fontsize -core-js(-pure)/es|stable|actual|features/string(/virtual)(/virtual)/italics +core-js(-pure)/es|stable|actual|features/string(/virtual)/italics core-js(-pure)/es|stable|actual|features/string(/virtual)/link core-js(-pure)/es|stable|actual|features/string(/virtual)/small core-js(-pure)/es|stable|actual|features/string(/virtual)/strike @@ -2988,10 +2988,6 @@ Reflect.getOwnMetadata('foo', object); // => 'bar' ``` ### Web standards[⬆](#index) -[*CommonJS entry points:*](#commonjs-api) -```js -core-js(-pure)/web -``` #### `structuredClone`[⬆](#index) [Spec](https://html.spec.whatwg.org/multipage/structured-data.html#dom-structuredclone), module [`web.structured-clone`](https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/web.structured-clone.js) ```js @@ -3045,7 +3041,6 @@ function setInterval(callback: any, time: any, ...args: Array): number; ``` [*CommonJS entry points:*](#commonjs-api) ```js -core-js(-pure)/web/timers core-js(-pure)/stable|actual|features/set-timeout core-js(-pure)/stable|actual|features/set-interval ``` @@ -3063,7 +3058,6 @@ function clearImmediate(id: number): void; ``` [*CommonJS entry points:*](#commonjs-api) ```js -core-js(-pure)/web/immediate core-js(-pure)/stable|actual|features/set-immediate core-js(-pure)/stable|actual|features/clear-immediate ``` @@ -3085,7 +3079,6 @@ function queueMicrotask(fn: Function): void; ``` [*CommonJS entry points:*](#commonjs-api) ```js -core-js/web/queue-microtask core-js(-pure)/stable|actual|features/queue-microtask ``` [*Examples*](https://goo.gl/nsW8P9): @@ -3134,8 +3127,6 @@ class URLSearchParams { [*CommonJS entry points:*](#commonjs-api) ```js core-js/proposals/url -core-js(-pure)/web/url -core-js(-pure)/web/url-search-params core-js(-pure)/stable|actual|features/url core-js/stable|actual|features/url/to-json core-js(-pure)/stable|actual|features/url-search-params @@ -3266,7 +3257,6 @@ class [DOMTokenList, NodeList] { ``` [*CommonJS entry points:*](#commonjs-api) ```js -core-js(-pure)/web/dom-collections core-js(-pure)/stable|actual|features/dom-collections/iterator core-js/stable|actual|features/dom-collections/for-each ``` From 132649b224fe7f71681dcb0c6ef7ce1745637de3 Mon Sep 17 00:00:00 2001 From: Denis Pushkarev Date: Thu, 2 Dec 2021 11:27:53 +0700 Subject: [PATCH 06/11] update the changelog --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b56e95fee332..35f659b9d632 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,6 +35,9 @@ - Added a workaround of most cases breakage modern `String#at` after loading obsolete `String#at` proposal module, [#1019](https://github.com/zloirock/core-js/issues/1019) - Fixed `Array.prototype.{ values, @@iterator }.name` in V8 ~ Chrome 45- - Fixed validation of typed arrays in typed arrays iteration methods in V8 ~ Chrome 50- +- Extension of the API, [#1012](https://github.com/zloirock/core-js/issues/1012) + - Added a new `core-js/actual/**` namespace + - Added entry points for each finished post-ES6 proposal ##### 3.19.3 - 2021.12.06 - Fixed internal slots check in methods of some built-in types, [#1017](https://github.com/zloirock/core-js/issues/1017) From c124e00b58fc83c4df52b8bab39307ce5cceb5c8 Mon Sep 17 00:00:00 2001 From: Denis Pushkarev Date: Thu, 9 Dec 2021 23:17:31 +0700 Subject: [PATCH 07/11] add entries for recently added features --- README.md | 6 +++--- packages/core-js/actual/dom-exception/constructor.js | 3 +++ packages/core-js/actual/dom-exception/index.js | 3 +++ packages/core-js/actual/dom-exception/to-string-tag.js | 3 +++ packages/core-js/actual/error/constructor.js | 3 +++ packages/core-js/actual/error/index.js | 3 +++ packages/core-js/actual/error/to-string.js | 3 +++ packages/core-js/actual/number/to-exponential.js | 3 +++ packages/core-js/actual/number/virtual/to-exponential.js | 3 +++ packages/core-js/actual/structured-clone.js | 3 +++ packages/core-js/features/dom-exception/constructor.js | 2 +- packages/core-js/features/dom-exception/index.js | 2 +- packages/core-js/features/dom-exception/to-string-tag.js | 2 +- packages/core-js/features/error/constructor.js | 2 +- packages/core-js/features/error/index.js | 2 +- packages/core-js/features/error/to-string.js | 2 +- packages/core-js/features/number/to-exponential.js | 2 +- packages/core-js/features/number/virtual/to-exponential.js | 2 +- packages/core-js/features/structured-clone.js | 2 +- 19 files changed, 39 insertions(+), 12 deletions(-) create mode 100644 packages/core-js/actual/dom-exception/constructor.js create mode 100644 packages/core-js/actual/dom-exception/index.js create mode 100644 packages/core-js/actual/dom-exception/to-string-tag.js create mode 100644 packages/core-js/actual/error/constructor.js create mode 100644 packages/core-js/actual/error/index.js create mode 100644 packages/core-js/actual/error/to-string.js create mode 100644 packages/core-js/actual/number/to-exponential.js create mode 100644 packages/core-js/actual/number/virtual/to-exponential.js create mode 100644 packages/core-js/actual/structured-clone.js diff --git a/README.md b/README.md index 4cefb4ad6495..0e2bc523aa5f 100644 --- a/README.md +++ b/README.md @@ -1012,9 +1012,9 @@ core-js(-pure)/es|stable|actual|features/number/parse-int core-js(-pure)/es|stable|actual|features/number/epsilon core-js(-pure)/es|stable|actual|features/number/max-safe-integer core-js(-pure)/es|stable|actual|features/number/min-safe-integer -core-js(-pure)/es|stable|actual|features/number/to-exponential -core-js(-pure)/es|stable|actual|features/number/to-fixed -core-js(-pure)/es|stable|actual|features/number/to-precision +core-js(-pure)/es|stable|actual|features/number(/virtual)/to-exponential +core-js(-pure)/es|stable|actual|features/number(/virtual)/to-fixed +core-js(-pure)/es|stable|actual|features/number(/virtual)/to-precision core-js(-pure)/es|stable|actual|features/parse-float core-js(-pure)/es|stable|actual|features/parse-int ``` diff --git a/packages/core-js/actual/dom-exception/constructor.js b/packages/core-js/actual/dom-exception/constructor.js new file mode 100644 index 000000000000..43277c26e540 --- /dev/null +++ b/packages/core-js/actual/dom-exception/constructor.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/dom-exception/constructor'); + +module.exports = parent; diff --git a/packages/core-js/actual/dom-exception/index.js b/packages/core-js/actual/dom-exception/index.js new file mode 100644 index 000000000000..0950bee9a995 --- /dev/null +++ b/packages/core-js/actual/dom-exception/index.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/dom-exception'); + +module.exports = parent; diff --git a/packages/core-js/actual/dom-exception/to-string-tag.js b/packages/core-js/actual/dom-exception/to-string-tag.js new file mode 100644 index 000000000000..6b205c0a6c65 --- /dev/null +++ b/packages/core-js/actual/dom-exception/to-string-tag.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/dom-exception/to-string-tag'); + +module.exports = parent; diff --git a/packages/core-js/actual/error/constructor.js b/packages/core-js/actual/error/constructor.js new file mode 100644 index 000000000000..b94f2ed28a98 --- /dev/null +++ b/packages/core-js/actual/error/constructor.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/error/constructor'); + +module.exports = parent; diff --git a/packages/core-js/actual/error/index.js b/packages/core-js/actual/error/index.js new file mode 100644 index 000000000000..36b388eaf2e3 --- /dev/null +++ b/packages/core-js/actual/error/index.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/error'); + +module.exports = parent; diff --git a/packages/core-js/actual/error/to-string.js b/packages/core-js/actual/error/to-string.js new file mode 100644 index 000000000000..fc11dbf0386c --- /dev/null +++ b/packages/core-js/actual/error/to-string.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/error/to-string'); + +module.exports = parent; diff --git a/packages/core-js/actual/number/to-exponential.js b/packages/core-js/actual/number/to-exponential.js new file mode 100644 index 000000000000..02d506d50395 --- /dev/null +++ b/packages/core-js/actual/number/to-exponential.js @@ -0,0 +1,3 @@ +var parent = require('../../stable/number/to-exponential'); + +module.exports = parent; diff --git a/packages/core-js/actual/number/virtual/to-exponential.js b/packages/core-js/actual/number/virtual/to-exponential.js new file mode 100644 index 000000000000..1f684c897737 --- /dev/null +++ b/packages/core-js/actual/number/virtual/to-exponential.js @@ -0,0 +1,3 @@ +var parent = require('../../../stable/number/virtual/to-exponential'); + +module.exports = parent; diff --git a/packages/core-js/actual/structured-clone.js b/packages/core-js/actual/structured-clone.js new file mode 100644 index 000000000000..1b48415eed2d --- /dev/null +++ b/packages/core-js/actual/structured-clone.js @@ -0,0 +1,3 @@ +var parent = require('../stable/structured-clone'); + +module.exports = parent; diff --git a/packages/core-js/features/dom-exception/constructor.js b/packages/core-js/features/dom-exception/constructor.js index 43277c26e540..93f859114c8d 100644 --- a/packages/core-js/features/dom-exception/constructor.js +++ b/packages/core-js/features/dom-exception/constructor.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/dom-exception/constructor'); +var parent = require('../../actual/dom-exception/constructor'); module.exports = parent; diff --git a/packages/core-js/features/dom-exception/index.js b/packages/core-js/features/dom-exception/index.js index 0950bee9a995..e5e78448ab2a 100644 --- a/packages/core-js/features/dom-exception/index.js +++ b/packages/core-js/features/dom-exception/index.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/dom-exception'); +var parent = require('../../actual/dom-exception'); module.exports = parent; diff --git a/packages/core-js/features/dom-exception/to-string-tag.js b/packages/core-js/features/dom-exception/to-string-tag.js index 6b205c0a6c65..081ab6e6411c 100644 --- a/packages/core-js/features/dom-exception/to-string-tag.js +++ b/packages/core-js/features/dom-exception/to-string-tag.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/dom-exception/to-string-tag'); +var parent = require('../../actual/dom-exception/to-string-tag'); module.exports = parent; diff --git a/packages/core-js/features/error/constructor.js b/packages/core-js/features/error/constructor.js index b94f2ed28a98..5c456748250f 100644 --- a/packages/core-js/features/error/constructor.js +++ b/packages/core-js/features/error/constructor.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/error/constructor'); +var parent = require('../../actual/error/constructor'); module.exports = parent; diff --git a/packages/core-js/features/error/index.js b/packages/core-js/features/error/index.js index 36b388eaf2e3..72240d6f94b2 100644 --- a/packages/core-js/features/error/index.js +++ b/packages/core-js/features/error/index.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/error'); +var parent = require('../../actual/error'); module.exports = parent; diff --git a/packages/core-js/features/error/to-string.js b/packages/core-js/features/error/to-string.js index fc11dbf0386c..51edb2813dc3 100644 --- a/packages/core-js/features/error/to-string.js +++ b/packages/core-js/features/error/to-string.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/error/to-string'); +var parent = require('../../actual/error/to-string'); module.exports = parent; diff --git a/packages/core-js/features/number/to-exponential.js b/packages/core-js/features/number/to-exponential.js index 02d506d50395..8f4875602d3f 100644 --- a/packages/core-js/features/number/to-exponential.js +++ b/packages/core-js/features/number/to-exponential.js @@ -1,3 +1,3 @@ -var parent = require('../../stable/number/to-exponential'); +var parent = require('../../actual/number/to-exponential'); module.exports = parent; diff --git a/packages/core-js/features/number/virtual/to-exponential.js b/packages/core-js/features/number/virtual/to-exponential.js index 1f684c897737..bc6697800d43 100644 --- a/packages/core-js/features/number/virtual/to-exponential.js +++ b/packages/core-js/features/number/virtual/to-exponential.js @@ -1,3 +1,3 @@ -var parent = require('../../../stable/number/virtual/to-exponential'); +var parent = require('../../../actual/number/virtual/to-exponential'); module.exports = parent; diff --git a/packages/core-js/features/structured-clone.js b/packages/core-js/features/structured-clone.js index 1b48415eed2d..4ffacde44e3b 100644 --- a/packages/core-js/features/structured-clone.js +++ b/packages/core-js/features/structured-clone.js @@ -1,3 +1,3 @@ -var parent = require('../stable/structured-clone'); +var parent = require('../actual/structured-clone'); module.exports = parent; From cafdde76f5ad3f12be65e644f6b3d4ae7f95e79b Mon Sep 17 00:00:00 2001 From: Denis Pushkarev Date: Fri, 10 Dec 2021 00:15:41 +0700 Subject: [PATCH 08/11] add a `structuredClone` example --- README.md | 17 +++++++++++------ packages/core-js-bundle/README.md | 17 +++++++++++------ packages/core-js-pure/README.md | 17 +++++++++++------ packages/core-js/README.md | 17 +++++++++++------ 4 files changed, 44 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index 0e2bc523aa5f..65c6fe3c783a 100644 --- a/README.md +++ b/README.md @@ -30,27 +30,30 @@ The maintainers of `core-js` and thousands of other packages are working with Ti --- -[*Example of usage*](https://is.gd/yHurcF): +[*Example of usage*](https://is.gd/FdIG6n): ```js import 'core-js'; // <- at the top of your entry point Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] [1, 2, 3, 4].findLast(it => it % 2); // => 3 Promise.resolve(42).then(x => console.log(x)); // => 42 +structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3]) queueMicrotask(() => console.log('called as microtask')); ``` *You can load only required features*: ```js -import 'core-js/actual/array/from'; // <- at the top of your entry point -import 'core-js/actual/array/find-last'; // <- at the top of your entry point -import 'core-js/actual/set'; // <- at the top of your entry point -import 'core-js/actual/promise'; // <- at the top of your entry point -import 'core-js/actual/queue-microtask'; // <- at the top of your entry point +import 'core-js/actual/array/from'; // <- at the top of your entry point +import 'core-js/actual/array/find-last'; // <- at the top of your entry point +import 'core-js/actual/set'; // <- at the top of your entry point +import 'core-js/actual/promise'; // <- at the top of your entry point +import 'core-js/actual/structured-clone'; // <- at the top of your entry point +import 'core-js/actual/queue-microtask'; // <- at the top of your entry point Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] [1, 2, 3, 4].findLast(it => it % 2); // => 3 Promise.resolve(42).then(x => console.log(x)); // => 42 +structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3]) queueMicrotask(() => console.log('called as microtask')); ``` @@ -60,11 +63,13 @@ import from from 'core-js-pure/actual/array/from'; import findLast from 'core-js-pure/actual/array/find-last'; import Set from 'core-js-pure/actual/set'; import Promise from 'core-js-pure/actual/promise'; +import structuredClone from 'core-js-pure/actual/structured-clone'; import queueMicrotask from 'core-js-pure/actual/queue-microtask'; from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] findLast([1, 2, 3, 4], it => it % 2); // => 3 Promise.resolve(42).then(x => console.log(x)); // => 42 +structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3]) queueMicrotask(() => console.log('called as microtask')); ``` diff --git a/packages/core-js-bundle/README.md b/packages/core-js-bundle/README.md index de264f16e466..b478c6cd8cc2 100644 --- a/packages/core-js-bundle/README.md +++ b/packages/core-js-bundle/README.md @@ -22,27 +22,30 @@ --- -[*Example of usage*](https://is.gd/yHurcF): +[*Example of usage*](https://is.gd/FdIG6n): ```js import 'core-js'; // <- at the top of your entry point Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] [1, 2, 3, 4].findLast(it => it % 2); // => 3 Promise.resolve(42).then(x => console.log(x)); // => 42 +structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3]) queueMicrotask(() => console.log('called as microtask')); ``` *You can load only required features*: ```js -import 'core-js/actual/array/from'; // <- at the top of your entry point -import 'core-js/actual/array/find-last'; // <- at the top of your entry point -import 'core-js/actual/set'; // <- at the top of your entry point -import 'core-js/actual/promise'; // <- at the top of your entry point -import 'core-js/actual/queue-microtask'; // <- at the top of your entry point +import 'core-js/actual/array/from'; // <- at the top of your entry point +import 'core-js/actual/array/find-last'; // <- at the top of your entry point +import 'core-js/actual/set'; // <- at the top of your entry point +import 'core-js/actual/promise'; // <- at the top of your entry point +import 'core-js/actual/structured-clone'; // <- at the top of your entry point +import 'core-js/actual/queue-microtask'; // <- at the top of your entry point Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] [1, 2, 3, 4].findLast(it => it % 2); // => 3 Promise.resolve(42).then(x => console.log(x)); // => 42 +structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3]) queueMicrotask(() => console.log('called as microtask')); ``` @@ -52,11 +55,13 @@ import from from 'core-js-pure/actual/array/from'; import findLast from 'core-js-pure/actual/array/find-last'; import Set from 'core-js-pure/actual/set'; import Promise from 'core-js-pure/actual/promise'; +import structuredClone from 'core-js-pure/actual/structured-clone'; import queueMicrotask from 'core-js-pure/actual/queue-microtask'; from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] findLast([1, 2, 3, 4], it => it % 2); // => 3 Promise.resolve(42).then(x => console.log(x)); // => 42 +structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3]) queueMicrotask(() => console.log('called as microtask')); ``` diff --git a/packages/core-js-pure/README.md b/packages/core-js-pure/README.md index 6897e1d6d1c9..59532a22b354 100644 --- a/packages/core-js-pure/README.md +++ b/packages/core-js-pure/README.md @@ -22,27 +22,30 @@ --- -[*Example of usage*](https://is.gd/yHurcF): +[*Example of usage*](https://is.gd/FdIG6n): ```js import 'core-js'; // <- at the top of your entry point Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] [1, 2, 3, 4].findLast(it => it % 2); // => 3 Promise.resolve(42).then(x => console.log(x)); // => 42 +structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3]) queueMicrotask(() => console.log('called as microtask')); ``` *You can load only required features*: ```js -import 'core-js/actual/array/from'; // <- at the top of your entry point -import 'core-js/actual/array/find-last'; // <- at the top of your entry point -import 'core-js/actual/set'; // <- at the top of your entry point -import 'core-js/actual/promise'; // <- at the top of your entry point -import 'core-js/actual/queue-microtask'; // <- at the top of your entry point +import 'core-js/actual/array/from'; // <- at the top of your entry point +import 'core-js/actual/array/find-last'; // <- at the top of your entry point +import 'core-js/actual/set'; // <- at the top of your entry point +import 'core-js/actual/promise'; // <- at the top of your entry point +import 'core-js/actual/structured-clone'; // <- at the top of your entry point +import 'core-js/actual/queue-microtask'; // <- at the top of your entry point Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] [1, 2, 3, 4].findLast(it => it % 2); // => 3 Promise.resolve(42).then(x => console.log(x)); // => 42 +structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3]) queueMicrotask(() => console.log('called as microtask')); ``` @@ -52,11 +55,13 @@ import from from 'core-js-pure/actual/array/from'; import findLast from 'core-js-pure/actual/array/find-last'; import Set from 'core-js-pure/actual/set'; import Promise from 'core-js-pure/actual/promise'; +import structuredClone from 'core-js-pure/actual/structured-clone'; import queueMicrotask from 'core-js-pure/actual/queue-microtask'; from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] findLast([1, 2, 3, 4], it => it % 2); // => 3 Promise.resolve(42).then(x => console.log(x)); // => 42 +structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3]) queueMicrotask(() => console.log('called as microtask')); ``` diff --git a/packages/core-js/README.md b/packages/core-js/README.md index ada4bd395d73..e04ebe671ed0 100644 --- a/packages/core-js/README.md +++ b/packages/core-js/README.md @@ -22,27 +22,30 @@ --- -[*Example of usage*](https://is.gd/yHurcF): +[*Example of usage*](https://is.gd/FdIG6n): ```js import 'core-js'; // <- at the top of your entry point Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] [1, 2, 3, 4].findLast(it => it % 2); // => 3 Promise.resolve(42).then(x => console.log(x)); // => 42 +structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3]) queueMicrotask(() => console.log('called as microtask')); ``` *You can load only required features*: ```js -import 'core-js/actual/array/from'; // <- at the top of your entry point -import 'core-js/actual/array/find-last'; // <- at the top of your entry point -import 'core-js/actual/set'; // <- at the top of your entry point -import 'core-js/actual/promise'; // <- at the top of your entry point -import 'core-js/actual/queue-microtask'; // <- at the top of your entry point +import 'core-js/actual/array/from'; // <- at the top of your entry point +import 'core-js/actual/array/find-last'; // <- at the top of your entry point +import 'core-js/actual/set'; // <- at the top of your entry point +import 'core-js/actual/promise'; // <- at the top of your entry point +import 'core-js/actual/structured-clone'; // <- at the top of your entry point +import 'core-js/actual/queue-microtask'; // <- at the top of your entry point Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] [1, 2, 3, 4].findLast(it => it % 2); // => 3 Promise.resolve(42).then(x => console.log(x)); // => 42 +structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3]) queueMicrotask(() => console.log('called as microtask')); ``` @@ -52,11 +55,13 @@ import from from 'core-js-pure/actual/array/from'; import findLast from 'core-js-pure/actual/array/find-last'; import Set from 'core-js-pure/actual/set'; import Promise from 'core-js-pure/actual/promise'; +import structuredClone from 'core-js-pure/actual/structured-clone'; import queueMicrotask from 'core-js-pure/actual/queue-microtask'; from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] findLast([1, 2, 3, 4], it => it % 2); // => 3 Promise.resolve(42).then(x => console.log(x)); // => 42 +structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3]) queueMicrotask(() => console.log('called as microtask')); ``` From 9d9833cef3c7114d74124d0abdbbb3d818fb6392 Mon Sep 17 00:00:00 2001 From: Denis Pushkarev Date: Wed, 15 Dec 2021 16:22:46 +0700 Subject: [PATCH 09/11] update `.groupBy` --- README.md | 12 +++---- deno/corejs/README.md | 10 +++--- packages/core-js-bundle/README.md | 12 +++---- packages/core-js-pure/README.md | 12 +++---- packages/core-js/README.md | 12 +++---- .../core-js/actual/array/group-by-to-map.js | 5 +++ packages/core-js/actual/array/group-by.js | 4 +++ packages/core-js/actual/array/index.js | 3 ++ .../actual/array/virtual/group-by-to-map.js | 5 +++ .../core-js/actual/array/virtual/group-by.js | 4 +++ .../core-js/actual/array/virtual/index.js | 3 ++ .../actual/instance/group-by-to-map.js | 9 ++++++ packages/core-js/actual/instance/group-by.js | 9 ++++++ .../core-js/features/array/group-by-to-map.js | 6 ++-- packages/core-js/features/array/group-by.js | 5 ++- packages/core-js/features/array/index.js | 3 -- .../features/array/virtual/group-by-to-map.js | 6 ++-- .../features/array/virtual/group-by.js | 5 ++- .../core-js/features/array/virtual/index.js | 3 -- .../features/instance/group-by-to-map.js | 10 ++---- .../core-js/features/instance/group-by.js | 10 ++---- tests/commonjs.mjs | 32 +++++++++---------- tests/pure/esnext.composite-symbol.js | 1 - 23 files changed, 100 insertions(+), 81 deletions(-) create mode 100644 packages/core-js/actual/array/group-by-to-map.js create mode 100644 packages/core-js/actual/array/group-by.js create mode 100644 packages/core-js/actual/array/virtual/group-by-to-map.js create mode 100644 packages/core-js/actual/array/virtual/group-by.js create mode 100644 packages/core-js/actual/instance/group-by-to-map.js create mode 100644 packages/core-js/actual/instance/group-by.js diff --git a/README.md b/README.md index 65c6fe3c783a..3de4cee57ba9 100644 --- a/README.md +++ b/README.md @@ -30,12 +30,12 @@ The maintainers of `core-js` and thousands of other packages are working with Ti --- -[*Example of usage*](https://is.gd/FdIG6n): +[*Example of usage*](https://is.gd/XD4mRe): ```js import 'core-js'; // <- at the top of your entry point Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] -[1, 2, 3, 4].findLast(it => it % 2); // => 3 +[1, 2, 3, 4, 5].groupBy(it => it % 2); // => { 1: [1, 3, 5], 0: [2, 4] } Promise.resolve(42).then(x => console.log(x)); // => 42 structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3]) queueMicrotask(() => console.log('called as microtask')); @@ -44,14 +44,14 @@ queueMicrotask(() => console.log('called as microtask')); *You can load only required features*: ```js import 'core-js/actual/array/from'; // <- at the top of your entry point -import 'core-js/actual/array/find-last'; // <- at the top of your entry point +import 'core-js/actual/array/group-by'; // <- at the top of your entry point import 'core-js/actual/set'; // <- at the top of your entry point import 'core-js/actual/promise'; // <- at the top of your entry point import 'core-js/actual/structured-clone'; // <- at the top of your entry point import 'core-js/actual/queue-microtask'; // <- at the top of your entry point Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] -[1, 2, 3, 4].findLast(it => it % 2); // => 3 +[1, 2, 3, 4, 5].groupBy(it => it % 2); // => { 1: [1, 3, 5], 0: [2, 4] } Promise.resolve(42).then(x => console.log(x)); // => 42 structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3]) queueMicrotask(() => console.log('called as microtask')); @@ -60,14 +60,14 @@ queueMicrotask(() => console.log('called as microtask')); *Or use it without global namespace pollution*: ```js import from from 'core-js-pure/actual/array/from'; -import findLast from 'core-js-pure/actual/array/find-last'; +import groupBy from 'core-js-pure/actual/array/group-by'; import Set from 'core-js-pure/actual/set'; import Promise from 'core-js-pure/actual/promise'; import structuredClone from 'core-js-pure/actual/structured-clone'; import queueMicrotask from 'core-js-pure/actual/queue-microtask'; from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] -findLast([1, 2, 3, 4], it => it % 2); // => 3 +groupBy([1, 2, 3, 4, 5], it => it % 2); // => { 1: [1, 3, 5], 0: [2, 4] } Promise.resolve(42).then(x => console.log(x)); // => 42 structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3]) queueMicrotask(() => console.log('called as microtask')); diff --git a/deno/corejs/README.md b/deno/corejs/README.md index c1942a205b87..9905dc4c7445 100644 --- a/deno/corejs/README.md +++ b/deno/corejs/README.md @@ -26,22 +26,24 @@ ```js import 'https://deno.land/x/corejs@v3.19.3/index.js'; // <- at the top of your entry point -Object.hasOwn({ foo: 42 }, 'foo'); // => true +Object.hasOwn({ foo: 42 }, 'foo'); // => true -[1, 2, 3, 4, 5, 6, 7].at(-3); // => 5 +[1, 2, 3, 4, 5, 6, 7].at(-3); // => 5 + +[1, 2, 3, 4, 5].groupBy(it => it % 2); // => { 1: [1, 3, 5], 0: [2, 4] } Promise.any([ Promise.resolve(1), Promise.reject(2), Promise.resolve(3), -]).then(console.log); // => 1 +]).then(console.log); // => 1 [1, 2, 3, 4, 5, 6, 7].values() .drop(1) .take(5) .filter(it => it % 2) .map(it => it ** 2) - .toArray(); // => [9, 25] + .toArray(); // => [9, 25] ``` **It's a bundled global version for Deno 1.0+, for more info see [`core-js` documentation](https://github.com/zloirock/core-js/blob/master/README.md).** diff --git a/packages/core-js-bundle/README.md b/packages/core-js-bundle/README.md index b478c6cd8cc2..24c16318a224 100644 --- a/packages/core-js-bundle/README.md +++ b/packages/core-js-bundle/README.md @@ -22,12 +22,12 @@ --- -[*Example of usage*](https://is.gd/FdIG6n): +[*Example of usage*](https://is.gd/XD4mRe): ```js import 'core-js'; // <- at the top of your entry point Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] -[1, 2, 3, 4].findLast(it => it % 2); // => 3 +[1, 2, 3, 4, 5].groupBy(it => it % 2); // => { 1: [1, 3, 5], 0: [2, 4] } Promise.resolve(42).then(x => console.log(x)); // => 42 structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3]) queueMicrotask(() => console.log('called as microtask')); @@ -36,14 +36,14 @@ queueMicrotask(() => console.log('called as microtask')); *You can load only required features*: ```js import 'core-js/actual/array/from'; // <- at the top of your entry point -import 'core-js/actual/array/find-last'; // <- at the top of your entry point +import 'core-js/actual/array/group-by'; // <- at the top of your entry point import 'core-js/actual/set'; // <- at the top of your entry point import 'core-js/actual/promise'; // <- at the top of your entry point import 'core-js/actual/structured-clone'; // <- at the top of your entry point import 'core-js/actual/queue-microtask'; // <- at the top of your entry point Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] -[1, 2, 3, 4].findLast(it => it % 2); // => 3 +[1, 2, 3, 4, 5].groupBy(it => it % 2); // => { 1: [1, 3, 5], 0: [2, 4] } Promise.resolve(42).then(x => console.log(x)); // => 42 structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3]) queueMicrotask(() => console.log('called as microtask')); @@ -52,14 +52,14 @@ queueMicrotask(() => console.log('called as microtask')); *Or use it without global namespace pollution*: ```js import from from 'core-js-pure/actual/array/from'; -import findLast from 'core-js-pure/actual/array/find-last'; +import groupBy from 'core-js-pure/actual/array/group-by'; import Set from 'core-js-pure/actual/set'; import Promise from 'core-js-pure/actual/promise'; import structuredClone from 'core-js-pure/actual/structured-clone'; import queueMicrotask from 'core-js-pure/actual/queue-microtask'; from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] -findLast([1, 2, 3, 4], it => it % 2); // => 3 +groupBy([1, 2, 3, 4, 5], it => it % 2); // => { 1: [1, 3, 5], 0: [2, 4] } Promise.resolve(42).then(x => console.log(x)); // => 42 structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3]) queueMicrotask(() => console.log('called as microtask')); diff --git a/packages/core-js-pure/README.md b/packages/core-js-pure/README.md index 59532a22b354..5226ce337806 100644 --- a/packages/core-js-pure/README.md +++ b/packages/core-js-pure/README.md @@ -22,12 +22,12 @@ --- -[*Example of usage*](https://is.gd/FdIG6n): +[*Example of usage*](https://is.gd/XD4mRe): ```js import 'core-js'; // <- at the top of your entry point Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] -[1, 2, 3, 4].findLast(it => it % 2); // => 3 +[1, 2, 3, 4, 5].groupBy(it => it % 2); // => { 1: [1, 3, 5], 0: [2, 4] } Promise.resolve(42).then(x => console.log(x)); // => 42 structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3]) queueMicrotask(() => console.log('called as microtask')); @@ -36,14 +36,14 @@ queueMicrotask(() => console.log('called as microtask')); *You can load only required features*: ```js import 'core-js/actual/array/from'; // <- at the top of your entry point -import 'core-js/actual/array/find-last'; // <- at the top of your entry point +import 'core-js/actual/array/group-by'; // <- at the top of your entry point import 'core-js/actual/set'; // <- at the top of your entry point import 'core-js/actual/promise'; // <- at the top of your entry point import 'core-js/actual/structured-clone'; // <- at the top of your entry point import 'core-js/actual/queue-microtask'; // <- at the top of your entry point Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] -[1, 2, 3, 4].findLast(it => it % 2); // => 3 +[1, 2, 3, 4, 5].groupBy(it => it % 2); // => { 1: [1, 3, 5], 0: [2, 4] } Promise.resolve(42).then(x => console.log(x)); // => 42 structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3]) queueMicrotask(() => console.log('called as microtask')); @@ -52,14 +52,14 @@ queueMicrotask(() => console.log('called as microtask')); *Or use it without global namespace pollution*: ```js import from from 'core-js-pure/actual/array/from'; -import findLast from 'core-js-pure/actual/array/find-last'; +import groupBy from 'core-js-pure/actual/array/group-by'; import Set from 'core-js-pure/actual/set'; import Promise from 'core-js-pure/actual/promise'; import structuredClone from 'core-js-pure/actual/structured-clone'; import queueMicrotask from 'core-js-pure/actual/queue-microtask'; from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] -findLast([1, 2, 3, 4], it => it % 2); // => 3 +groupBy([1, 2, 3, 4, 5], it => it % 2); // => { 1: [1, 3, 5], 0: [2, 4] } Promise.resolve(42).then(x => console.log(x)); // => 42 structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3]) queueMicrotask(() => console.log('called as microtask')); diff --git a/packages/core-js/README.md b/packages/core-js/README.md index e04ebe671ed0..a67d5ab24c09 100644 --- a/packages/core-js/README.md +++ b/packages/core-js/README.md @@ -22,12 +22,12 @@ --- -[*Example of usage*](https://is.gd/FdIG6n): +[*Example of usage*](https://is.gd/XD4mRe): ```js import 'core-js'; // <- at the top of your entry point Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] -[1, 2, 3, 4].findLast(it => it % 2); // => 3 +[1, 2, 3, 4, 5].groupBy(it => it % 2); // => { 1: [1, 3, 5], 0: [2, 4] } Promise.resolve(42).then(x => console.log(x)); // => 42 structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3]) queueMicrotask(() => console.log('called as microtask')); @@ -36,14 +36,14 @@ queueMicrotask(() => console.log('called as microtask')); *You can load only required features*: ```js import 'core-js/actual/array/from'; // <- at the top of your entry point -import 'core-js/actual/array/find-last'; // <- at the top of your entry point +import 'core-js/actual/array/group-by'; // <- at the top of your entry point import 'core-js/actual/set'; // <- at the top of your entry point import 'core-js/actual/promise'; // <- at the top of your entry point import 'core-js/actual/structured-clone'; // <- at the top of your entry point import 'core-js/actual/queue-microtask'; // <- at the top of your entry point Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] -[1, 2, 3, 4].findLast(it => it % 2); // => 3 +[1, 2, 3, 4, 5].groupBy(it => it % 2); // => { 1: [1, 3, 5], 0: [2, 4] } Promise.resolve(42).then(x => console.log(x)); // => 42 structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3]) queueMicrotask(() => console.log('called as microtask')); @@ -52,14 +52,14 @@ queueMicrotask(() => console.log('called as microtask')); *Or use it without global namespace pollution*: ```js import from from 'core-js-pure/actual/array/from'; -import findLast from 'core-js-pure/actual/array/find-last'; +import groupBy from 'core-js-pure/actual/array/group-by'; import Set from 'core-js-pure/actual/set'; import Promise from 'core-js-pure/actual/promise'; import structuredClone from 'core-js-pure/actual/structured-clone'; import queueMicrotask from 'core-js-pure/actual/queue-microtask'; from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3] -findLast([1, 2, 3, 4], it => it % 2); // => 3 +groupBy([1, 2, 3, 4, 5], it => it % 2); // => { 1: [1, 3, 5], 0: [2, 4] } Promise.resolve(42).then(x => console.log(x)); // => 42 structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3]) queueMicrotask(() => console.log('called as microtask')); diff --git a/packages/core-js/actual/array/group-by-to-map.js b/packages/core-js/actual/array/group-by-to-map.js new file mode 100644 index 000000000000..a3eda27753cc --- /dev/null +++ b/packages/core-js/actual/array/group-by-to-map.js @@ -0,0 +1,5 @@ +require('../../modules/es.map'); +require('../../modules/esnext.array.group-by-to-map'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'groupByToMap'); diff --git a/packages/core-js/actual/array/group-by.js b/packages/core-js/actual/array/group-by.js new file mode 100644 index 000000000000..fcb65664a586 --- /dev/null +++ b/packages/core-js/actual/array/group-by.js @@ -0,0 +1,4 @@ +require('../../modules/esnext.array.group-by'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'groupBy'); diff --git a/packages/core-js/actual/array/index.js b/packages/core-js/actual/array/index.js index 5b5722d54ea5..3a930777279d 100644 --- a/packages/core-js/actual/array/index.js +++ b/packages/core-js/actual/array/index.js @@ -1,5 +1,8 @@ var parent = require('../../stable/array'); +require('../../modules/es.map'); require('../../modules/esnext.array.find-last'); require('../../modules/esnext.array.find-last-index'); +require('../../modules/esnext.array.group-by'); +require('../../modules/esnext.array.group-by-to-map'); module.exports = parent; diff --git a/packages/core-js/actual/array/virtual/group-by-to-map.js b/packages/core-js/actual/array/virtual/group-by-to-map.js new file mode 100644 index 000000000000..8c6d70200718 --- /dev/null +++ b/packages/core-js/actual/array/virtual/group-by-to-map.js @@ -0,0 +1,5 @@ +require('../../../modules/es.map'); +require('../../../modules/esnext.array.group-by-to-map'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').groupByToMap; diff --git a/packages/core-js/actual/array/virtual/group-by.js b/packages/core-js/actual/array/virtual/group-by.js new file mode 100644 index 000000000000..19c82816a7ea --- /dev/null +++ b/packages/core-js/actual/array/virtual/group-by.js @@ -0,0 +1,4 @@ +require('../../../modules/esnext.array.group-by'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').groupBy; diff --git a/packages/core-js/actual/array/virtual/index.js b/packages/core-js/actual/array/virtual/index.js index d888833553e1..f19096351632 100644 --- a/packages/core-js/actual/array/virtual/index.js +++ b/packages/core-js/actual/array/virtual/index.js @@ -1,5 +1,8 @@ var parent = require('../../../stable/array/virtual'); +require('../../../modules/es.map'); require('../../../modules/esnext.array.find-last'); require('../../../modules/esnext.array.find-last-index'); +require('../../../modules/esnext.array.group-by'); +require('../../../modules/esnext.array.group-by-to-map'); module.exports = parent; diff --git a/packages/core-js/actual/instance/group-by-to-map.js b/packages/core-js/actual/instance/group-by-to-map.js new file mode 100644 index 000000000000..b16909b1bc59 --- /dev/null +++ b/packages/core-js/actual/instance/group-by-to-map.js @@ -0,0 +1,9 @@ +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/group-by-to-map'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.groupByToMap; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.groupByToMap) ? method : own; +}; diff --git a/packages/core-js/actual/instance/group-by.js b/packages/core-js/actual/instance/group-by.js new file mode 100644 index 000000000000..8bfd5a9e1b5b --- /dev/null +++ b/packages/core-js/actual/instance/group-by.js @@ -0,0 +1,9 @@ +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/group-by'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.groupBy; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.groupBy) ? method : own; +}; diff --git a/packages/core-js/features/array/group-by-to-map.js b/packages/core-js/features/array/group-by-to-map.js index a3eda27753cc..b64186519214 100644 --- a/packages/core-js/features/array/group-by-to-map.js +++ b/packages/core-js/features/array/group-by-to-map.js @@ -1,5 +1,3 @@ -require('../../modules/es.map'); -require('../../modules/esnext.array.group-by-to-map'); -var entryUnbind = require('../../internals/entry-unbind'); +var parent = require('../../actual/array/group-by-to-map'); -module.exports = entryUnbind('Array', 'groupByToMap'); +module.exports = parent; diff --git a/packages/core-js/features/array/group-by.js b/packages/core-js/features/array/group-by.js index fcb65664a586..d93c6428c9f4 100644 --- a/packages/core-js/features/array/group-by.js +++ b/packages/core-js/features/array/group-by.js @@ -1,4 +1,3 @@ -require('../../modules/esnext.array.group-by'); -var entryUnbind = require('../../internals/entry-unbind'); +var parent = require('../../actual/array/group-by'); -module.exports = entryUnbind('Array', 'groupBy'); +module.exports = parent; diff --git a/packages/core-js/features/array/index.js b/packages/core-js/features/array/index.js index 82b006ec028e..976b45b001a7 100644 --- a/packages/core-js/features/array/index.js +++ b/packages/core-js/features/array/index.js @@ -1,5 +1,4 @@ var parent = require('../../actual/array'); -require('../../modules/es.map'); require('../../modules/es.promise'); require('../../modules/esnext.array.from-async'); // TODO: Remove from `core-js@4` @@ -7,8 +6,6 @@ require('../../modules/esnext.array.at'); // TODO: Remove from `core-js@4` require('../../modules/esnext.array.filter-out'); require('../../modules/esnext.array.filter-reject'); -require('../../modules/esnext.array.group-by'); -require('../../modules/esnext.array.group-by-to-map'); require('../../modules/esnext.array.is-template-object'); require('../../modules/esnext.array.last-item'); require('../../modules/esnext.array.last-index'); diff --git a/packages/core-js/features/array/virtual/group-by-to-map.js b/packages/core-js/features/array/virtual/group-by-to-map.js index 8c6d70200718..7e5fe02176db 100644 --- a/packages/core-js/features/array/virtual/group-by-to-map.js +++ b/packages/core-js/features/array/virtual/group-by-to-map.js @@ -1,5 +1,3 @@ -require('../../../modules/es.map'); -require('../../../modules/esnext.array.group-by-to-map'); -var entryVirtual = require('../../../internals/entry-virtual'); +var parent = require('../../../actual/array/virtual/group-by-to-map'); -module.exports = entryVirtual('Array').groupByToMap; +module.exports = parent; diff --git a/packages/core-js/features/array/virtual/group-by.js b/packages/core-js/features/array/virtual/group-by.js index 19c82816a7ea..cb406905ad83 100644 --- a/packages/core-js/features/array/virtual/group-by.js +++ b/packages/core-js/features/array/virtual/group-by.js @@ -1,4 +1,3 @@ -require('../../../modules/esnext.array.group-by'); -var entryVirtual = require('../../../internals/entry-virtual'); +var parent = require('../../../actual/array/virtual/group-by'); -module.exports = entryVirtual('Array').groupBy; +module.exports = parent; diff --git a/packages/core-js/features/array/virtual/index.js b/packages/core-js/features/array/virtual/index.js index 2df66b242ba3..e73cdd431846 100644 --- a/packages/core-js/features/array/virtual/index.js +++ b/packages/core-js/features/array/virtual/index.js @@ -1,12 +1,9 @@ var parent = require('../../../actual/array/virtual'); -require('../../../modules/es.map'); // TODO: Remove from `core-js@4` require('../../../modules/esnext.array.at'); // TODO: Remove from `core-js@4` require('../../../modules/esnext.array.filter-out'); require('../../../modules/esnext.array.filter-reject'); -require('../../../modules/esnext.array.group-by'); -require('../../../modules/esnext.array.group-by-to-map'); require('../../../modules/esnext.array.to-reversed'); require('../../../modules/esnext.array.to-sorted'); require('../../../modules/esnext.array.to-spliced'); diff --git a/packages/core-js/features/instance/group-by-to-map.js b/packages/core-js/features/instance/group-by-to-map.js index b16909b1bc59..9d38100dcc0b 100644 --- a/packages/core-js/features/instance/group-by-to-map.js +++ b/packages/core-js/features/instance/group-by-to-map.js @@ -1,9 +1,3 @@ -var isPrototypeOf = require('../../internals/object-is-prototype-of'); -var method = require('../array/virtual/group-by-to-map'); +var parent = require('../../actual/instance/group-by-to-map'); -var ArrayPrototype = Array.prototype; - -module.exports = function (it) { - var own = it.groupByToMap; - return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.groupByToMap) ? method : own; -}; +module.exports = parent; diff --git a/packages/core-js/features/instance/group-by.js b/packages/core-js/features/instance/group-by.js index 8bfd5a9e1b5b..279c54daee19 100644 --- a/packages/core-js/features/instance/group-by.js +++ b/packages/core-js/features/instance/group-by.js @@ -1,9 +1,3 @@ -var isPrototypeOf = require('../../internals/object-is-prototype-of'); -var method = require('../array/virtual/group-by'); +var parent = require('../../actual/instance/group-by'); -var ArrayPrototype = Array.prototype; - -module.exports = function (it) { - var own = it.groupBy; - return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.groupBy) ? method : own; -}; +module.exports = parent; diff --git a/tests/commonjs.mjs b/tests/commonjs.mjs index 92e84317e889..8a26978ec2a7 100644 --- a/tests/commonjs.mjs +++ b/tests/commonjs.mjs @@ -565,8 +565,12 @@ for (PATH of ['core-js-pure', 'core-js']) { for (const NS of ['actual', 'features']) { ok(load(NS, 'array/find-last')([1, 2, 3], it => it % 2) === 3); ok(load(NS, 'array/find-last-index')([1, 2, 3], it => it % 2) === 2); + ok(typeof load(NS, 'array/group-by') == 'function'); + ok(typeof load(NS, 'array/group-by-to-map') == 'function'); ok(load(NS, 'array/virtual/find-last').call([1, 2, 3], it => it % 2) === 3); ok(load(NS, 'array/virtual/find-last-index').call([1, 2, 3], it => it % 2) === 2); + ok(typeof load(NS, 'array/virtual/group-by') == 'function'); + ok(typeof load(NS, 'array/virtual/group-by-to-map') == 'function'); const instanceFindLastIndex = load(NS, 'instance/find-last-index'); ok(typeof instanceFindLastIndex == 'function'); @@ -579,6 +583,18 @@ for (PATH of ['core-js-pure', 'core-js']) { ok(instanceFindLast({}) === undefined); ok(typeof instanceFindLast([]) == 'function'); ok(instanceFindLast([]).call([1, 2, 3], it => it % 2) === 3); + + const instanceGroupBy = load(NS, 'instance/group-by'); + ok(typeof instanceGroupBy == 'function'); + ok(instanceGroupBy({}) === undefined); + ok(typeof instanceGroupBy([]) == 'function'); + ok(instanceGroupBy([]).call([1, 2, 3], it => it % 2)[1].length === 2); + + const instanceGroupByToMap = load(NS, 'instance/group-by-to-map'); + ok(typeof instanceGroupByToMap == 'function'); + ok(instanceGroupByToMap({}) === undefined); + ok(typeof instanceGroupByToMap([]) == 'function'); + ok(instanceGroupByToMap([]).call([1, 2, 3], it => it % 2).get(1).length === 2); } { @@ -591,8 +607,6 @@ for (PATH of ['core-js-pure', 'core-js']) { ok(typeof load(NS, 'array/from-async') == 'function'); ok(typeof load(NS, 'array/filter-out') == 'function'); ok(typeof load(NS, 'array/filter-reject') == 'function'); - ok(typeof load(NS, 'array/group-by') == 'function'); - ok(typeof load(NS, 'array/group-by-to-map') == 'function'); ok(typeof load(NS, 'array/is-template-object') == 'function'); load(NS, 'array/last-item'); load(NS, 'array/last-index'); @@ -603,8 +617,6 @@ for (PATH of ['core-js-pure', 'core-js']) { ok(load(NS, 'array/to-spliced')([3, 2, 1], 1, 1, 4, 5).length === 4); ok(typeof load(NS, 'array/virtual/filter-out') == 'function'); ok(typeof load(NS, 'array/virtual/filter-reject') == 'function'); - ok(typeof load(NS, 'array/virtual/group-by') == 'function'); - ok(typeof load(NS, 'array/virtual/group-by-to-map') == 'function'); ok(typeof load(NS, 'array/virtual/unique-by') == 'function'); ok(load(NS, 'array/virtual/with').call([1, 2, 3], 1, 4)); ok(load(NS, 'array/virtual/to-reversed').call([1, 2, 3])[0] === 3); @@ -752,18 +764,6 @@ for (PATH of ['core-js-pure', 'core-js']) { ok(typeof instanceFilterReject([]) == 'function'); ok(instanceFilterReject([]).call([1, 2, 3], it => it % 2).length === 1); - const instanceGroupBy = load(NS, 'instance/group-by'); - ok(typeof instanceGroupBy == 'function'); - ok(instanceGroupBy({}) === undefined); - ok(typeof instanceGroupBy([]) == 'function'); - ok(instanceGroupBy([]).call([1, 2, 3], it => it % 2)[1].length === 2); - - const instanceGroupByToMap = load(NS, 'instance/group-by-to-map'); - ok(typeof instanceGroupByToMap == 'function'); - ok(instanceGroupByToMap({}) === undefined); - ok(typeof instanceGroupByToMap([]) == 'function'); - ok(instanceGroupByToMap([]).call([1, 2, 3], it => it % 2).get(1).length === 2); - const instanceToReversed = load(NS, 'instance/to-reversed'); ok(typeof instanceToReversed == 'function'); ok(instanceToReversed({}) === undefined); diff --git a/tests/pure/esnext.composite-symbol.js b/tests/pure/esnext.composite-symbol.js index 5a191fa3a327..36e33bceb82a 100644 --- a/tests/pure/esnext.composite-symbol.js +++ b/tests/pure/esnext.composite-symbol.js @@ -1,4 +1,3 @@ -/* eslint-disable no-self-compare -- required for testing */ import Symbol from 'core-js-pure/es/symbol'; import compositeSymbol from 'core-js-pure/features/composite-symbol'; From e9168f013fc0586880ad3d33d4fe7ba08ee6eff3 Mon Sep 17 00:00:00 2001 From: Denis Pushkarev Date: Thu, 16 Dec 2021 00:10:16 +0700 Subject: [PATCH 10/11] add logo --- README.md | 6 +++--- deno/corejs/README.md | 2 +- packages/core-js-builder/README.md | 2 ++ packages/core-js-bundle/README.md | 2 +- packages/core-js-compat/README.md | 2 ++ packages/core-js-pure/README.md | 2 +- packages/core-js/README.md | 2 +- 7 files changed, 11 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 3de4cee57ba9..9dc9e0ff9b06 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# core-js +![logo](https://user-images.githubusercontent.com/2213682/140570622-ea744c11-632e-4d9a-ba0a-70c390a1fdff.png) [![Open Collective](https://opencollective.com/core-js/all/badge.svg?label=open%20collective)](https://opencollective.com/core-js) [![version](https://img.shields.io/npm/v/core-js.svg)](https://www.npmjs.com/package/core-js) [![core-js downloads](https://img.shields.io/npm/dm/core-js.svg?label=npm%20i%20core-js)](https://npm-stat.com/charts.html?package=core-js&package=core-js-pure&package=core-js-compat&from=2014-11-18) [![core-js-pure downloads](https://img.shields.io/npm/dm/core-js-pure.svg?label=npm%20i%20core-js-pure)](https://npm-stat.com/charts.html?package=core-js&package=core-js-pure&package=core-js-compat&from=2014-11-18) [![tests](https://github.com/zloirock/core-js/workflows/tests/badge.svg)](https://github.com/zloirock/core-js/actions) [![eslint](https://github.com/zloirock/core-js/workflows/eslint/badge.svg)](https://github.com/zloirock/core-js/actions) @@ -2079,8 +2079,8 @@ class Array { [*CommonJS entry points:*](#commonjs-api) ``` core-js/proposals/array-grouping -core-js(-pure)/features/array(/virtual)/group-by -core-js(-pure)/features/array(/virtual)/group-by-to-map +core-js(-pure)/actual|features/array(/virtual)/group-by +core-js(-pure)/actual|features/array(/virtual)/group-by-to-map ``` [*Examples*](t.ly/xEqc): ```js diff --git a/deno/corejs/README.md b/deno/corejs/README.md index 9905dc4c7445..479892845170 100644 --- a/deno/corejs/README.md +++ b/deno/corejs/README.md @@ -1,4 +1,4 @@ -# core-js +![logo](https://user-images.githubusercontent.com/2213682/140570622-ea744c11-632e-4d9a-ba0a-70c390a1fdff.png) [![Open Collective](https://opencollective.com/core-js/all/badge.svg?label=open%20collective)](https://opencollective.com/core-js) [![version](https://img.shields.io/npm/v/core-js.svg)](https://www.npmjs.com/package/core-js) [![core-js downloads](https://img.shields.io/npm/dm/core-js.svg?label=npm%20i%20core-js)](https://npm-stat.com/charts.html?package=core-js&package=core-js-pure&package=core-js-compat&from=2014-11-18) [![core-js-pure downloads](https://img.shields.io/npm/dm/core-js-pure.svg?label=npm%20i%20core-js-pure)](https://npm-stat.com/charts.html?package=core-js&package=core-js-pure&package=core-js-compat&from=2014-11-18) [![tests](https://github.com/zloirock/core-js/workflows/tests/badge.svg)](https://github.com/zloirock/core-js/actions) [![eslint](https://github.com/zloirock/core-js/workflows/eslint/badge.svg)](https://github.com/zloirock/core-js/actions) diff --git a/packages/core-js-builder/README.md b/packages/core-js-builder/README.md index 6243c0ba6536..a3e2a4a83825 100644 --- a/packages/core-js-builder/README.md +++ b/packages/core-js-builder/README.md @@ -1,3 +1,5 @@ +![logo](https://user-images.githubusercontent.com/2213682/140570622-ea744c11-632e-4d9a-ba0a-70c390a1fdff.png) + For some cases could be useful to exclude some `core-js` features or generate a polyfill for target engines. This API helps conditionally include or exclude certain parts of [`core-js`](https://github.com/zloirock/core-js), build for targets [specified in `core-js-compat` format](https://github.com/zloirock/core-js/tree/master/packages/core-js-compat#targets-option). ```js diff --git a/packages/core-js-bundle/README.md b/packages/core-js-bundle/README.md index 24c16318a224..c820263242c4 100644 --- a/packages/core-js-bundle/README.md +++ b/packages/core-js-bundle/README.md @@ -1,4 +1,4 @@ -# core-js-bundle +![logo](https://user-images.githubusercontent.com/2213682/140570622-ea744c11-632e-4d9a-ba0a-70c390a1fdff.png) [![Open Collective](https://opencollective.com/core-js/all/badge.svg?label=open%20collective)](https://opencollective.com/core-js) [![version](https://img.shields.io/npm/v/core-js.svg)](https://www.npmjs.com/package/core-js) [![core-js downloads](https://img.shields.io/npm/dm/core-js.svg?label=npm%20i%20core-js)](https://npm-stat.com/charts.html?package=core-js&package=core-js-pure&package=core-js-compat&from=2014-11-18) [![core-js-pure downloads](https://img.shields.io/npm/dm/core-js-pure.svg?label=npm%20i%20core-js-pure)](https://npm-stat.com/charts.html?package=core-js&package=core-js-pure&package=core-js-compat&from=2014-11-18) [![tests](https://github.com/zloirock/core-js/workflows/tests/badge.svg)](https://github.com/zloirock/core-js/actions) [![eslint](https://github.com/zloirock/core-js/workflows/eslint/badge.svg)](https://github.com/zloirock/core-js/actions) diff --git a/packages/core-js-compat/README.md b/packages/core-js-compat/README.md index 01a51e156f80..268bbeb2aec9 100644 --- a/packages/core-js-compat/README.md +++ b/packages/core-js-compat/README.md @@ -1,3 +1,5 @@ +![logo](https://user-images.githubusercontent.com/2213682/140570622-ea744c11-632e-4d9a-ba0a-70c390a1fdff.png) + [`core-js-compat` package](https://github.com/zloirock/core-js/tree/master/packages/core-js-compat) contains data about the necessity of [`core-js`](https://github.com/zloirock/core-js) modules and API for getting a list of required core-js modules by browserslist query. ```js diff --git a/packages/core-js-pure/README.md b/packages/core-js-pure/README.md index 5226ce337806..e37314674f16 100644 --- a/packages/core-js-pure/README.md +++ b/packages/core-js-pure/README.md @@ -1,4 +1,4 @@ -# core-js-pure +![logo](https://user-images.githubusercontent.com/2213682/140570622-ea744c11-632e-4d9a-ba0a-70c390a1fdff.png) [![Open Collective](https://opencollective.com/core-js/all/badge.svg?label=open%20collective)](https://opencollective.com/core-js) [![version](https://img.shields.io/npm/v/core-js.svg)](https://www.npmjs.com/package/core-js) [![core-js downloads](https://img.shields.io/npm/dm/core-js.svg?label=npm%20i%20core-js)](https://npm-stat.com/charts.html?package=core-js&package=core-js-pure&package=core-js-compat&from=2014-11-18) [![core-js-pure downloads](https://img.shields.io/npm/dm/core-js-pure.svg?label=npm%20i%20core-js-pure)](https://npm-stat.com/charts.html?package=core-js&package=core-js-pure&package=core-js-compat&from=2014-11-18) [![tests](https://github.com/zloirock/core-js/workflows/tests/badge.svg)](https://github.com/zloirock/core-js/actions) [![eslint](https://github.com/zloirock/core-js/workflows/eslint/badge.svg)](https://github.com/zloirock/core-js/actions) diff --git a/packages/core-js/README.md b/packages/core-js/README.md index a67d5ab24c09..28aecc1d39f0 100644 --- a/packages/core-js/README.md +++ b/packages/core-js/README.md @@ -1,4 +1,4 @@ -# core-js +![logo](https://user-images.githubusercontent.com/2213682/140570622-ea744c11-632e-4d9a-ba0a-70c390a1fdff.png) [![Open Collective](https://opencollective.com/core-js/all/badge.svg?label=open%20collective)](https://opencollective.com/core-js) [![version](https://img.shields.io/npm/v/core-js.svg)](https://www.npmjs.com/package/core-js) [![core-js downloads](https://img.shields.io/npm/dm/core-js.svg?label=npm%20i%20core-js)](https://npm-stat.com/charts.html?package=core-js&package=core-js-pure&package=core-js-compat&from=2014-11-18) [![core-js-pure downloads](https://img.shields.io/npm/dm/core-js-pure.svg?label=npm%20i%20core-js-pure)](https://npm-stat.com/charts.html?package=core-js&package=core-js-pure&package=core-js-compat&from=2014-11-18) [![tests](https://github.com/zloirock/core-js/workflows/tests/badge.svg)](https://github.com/zloirock/core-js/actions) [![eslint](https://github.com/zloirock/core-js/workflows/eslint/badge.svg)](https://github.com/zloirock/core-js/actions) From 55fdcb8f51e2d4b3fc69e109750bd353f46fc513 Mon Sep 17 00:00:00 2001 From: Denis Pushkarev Date: Thu, 16 Dec 2021 01:18:32 +0700 Subject: [PATCH 11/11] update the readme --- README.md | 6 ++---- packages/core-js-bundle/README.md | 2 +- packages/core-js-pure/README.md | 2 +- packages/core-js/README.md | 2 +- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 9dc9e0ff9b06..e3e2b622d60d 100644 --- a/README.md +++ b/README.md @@ -24,9 +24,7 @@ --- -Available as part of the Tidelift Subscription. - -The maintainers of `core-js` and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-core-js?utm_source=npm-core-js&utm_medium=referral&utm_campaign=enterprise) +Available as part of the Tidelift Subscription, [learn more](https://tidelift.com/subscription/pkg/npm-core-js?utm_source=npm-core-js&utm_medium=referral&utm_campaign=enterprise). --- @@ -44,7 +42,7 @@ queueMicrotask(() => console.log('called as microtask')); *You can load only required features*: ```js import 'core-js/actual/array/from'; // <- at the top of your entry point -import 'core-js/actual/array/group-by'; // <- at the top of your entry point +import 'core-js/actual/array/group-by'; // <- at the top of your entry point import 'core-js/actual/set'; // <- at the top of your entry point import 'core-js/actual/promise'; // <- at the top of your entry point import 'core-js/actual/structured-clone'; // <- at the top of your entry point diff --git a/packages/core-js-bundle/README.md b/packages/core-js-bundle/README.md index c820263242c4..ee03b04455df 100644 --- a/packages/core-js-bundle/README.md +++ b/packages/core-js-bundle/README.md @@ -36,7 +36,7 @@ queueMicrotask(() => console.log('called as microtask')); *You can load only required features*: ```js import 'core-js/actual/array/from'; // <- at the top of your entry point -import 'core-js/actual/array/group-by'; // <- at the top of your entry point +import 'core-js/actual/array/group-by'; // <- at the top of your entry point import 'core-js/actual/set'; // <- at the top of your entry point import 'core-js/actual/promise'; // <- at the top of your entry point import 'core-js/actual/structured-clone'; // <- at the top of your entry point diff --git a/packages/core-js-pure/README.md b/packages/core-js-pure/README.md index e37314674f16..b80f843c47ab 100644 --- a/packages/core-js-pure/README.md +++ b/packages/core-js-pure/README.md @@ -36,7 +36,7 @@ queueMicrotask(() => console.log('called as microtask')); *You can load only required features*: ```js import 'core-js/actual/array/from'; // <- at the top of your entry point -import 'core-js/actual/array/group-by'; // <- at the top of your entry point +import 'core-js/actual/array/group-by'; // <- at the top of your entry point import 'core-js/actual/set'; // <- at the top of your entry point import 'core-js/actual/promise'; // <- at the top of your entry point import 'core-js/actual/structured-clone'; // <- at the top of your entry point diff --git a/packages/core-js/README.md b/packages/core-js/README.md index 28aecc1d39f0..6e898c153f4d 100644 --- a/packages/core-js/README.md +++ b/packages/core-js/README.md @@ -36,7 +36,7 @@ queueMicrotask(() => console.log('called as microtask')); *You can load only required features*: ```js import 'core-js/actual/array/from'; // <- at the top of your entry point -import 'core-js/actual/array/group-by'; // <- at the top of your entry point +import 'core-js/actual/array/group-by'; // <- at the top of your entry point import 'core-js/actual/set'; // <- at the top of your entry point import 'core-js/actual/promise'; // <- at the top of your entry point import 'core-js/actual/structured-clone'; // <- at the top of your entry point