core-js 3.23.4 → 3.24.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/actual/typed-array/index.js +1 -0
- package/actual/typed-array/methods.js +1 -0
- package/actual/typed-array/to-spliced.js +1 -0
- package/features/async-iterator/indexed.js +1 -0
- package/features/iterator/indexed.js +1 -0
- package/full/async-iterator/index.js +2 -0
- package/full/async-iterator/indexed.js +8 -0
- package/full/index.js +2 -0
- package/full/iterator/index.js +2 -0
- package/full/iterator/indexed.js +8 -0
- package/full/typed-array/to-spliced.js +1 -0
- package/internals/async-from-sync-iterator.js +6 -18
- package/internals/async-iterator-close.js +18 -0
- package/internals/async-iterator-create-proxy.js +95 -44
- package/internals/async-iterator-indexed.js +28 -0
- package/internals/async-iterator-iteration.js +30 -39
- package/internals/async-iterator-wrap.js +6 -0
- package/internals/engine-is-browser.js +6 -1
- package/internals/iterator-create-proxy.js +51 -30
- package/internals/iterator-indexed.js +18 -0
- package/internals/not-a-nan.js +7 -0
- package/internals/promise-constructor-detection.js +12 -11
- package/internals/shared.js +2 -2
- package/modules/esnext.async-iterator.as-indexed-pairs.js +4 -24
- package/modules/esnext.async-iterator.drop.js +13 -9
- package/modules/esnext.async-iterator.filter.js +22 -9
- package/modules/esnext.async-iterator.flat-map.js +28 -14
- package/modules/esnext.async-iterator.from.js +3 -9
- package/modules/esnext.async-iterator.indexed.js +7 -0
- package/modules/esnext.async-iterator.map.js +28 -9
- package/modules/esnext.async-iterator.reduce.js +9 -4
- package/modules/esnext.async-iterator.take.js +23 -12
- package/modules/esnext.iterator.as-indexed-pairs.js +4 -17
- package/modules/esnext.iterator.drop.js +4 -4
- package/modules/esnext.iterator.filter.js +3 -3
- package/modules/esnext.iterator.flat-map.js +9 -11
- package/modules/esnext.iterator.from.js +3 -6
- package/modules/esnext.iterator.indexed.js +7 -0
- package/modules/esnext.iterator.map.js +3 -3
- package/modules/esnext.iterator.take.js +5 -4
- package/modules/esnext.iterator.to-async.js +3 -1
- package/modules/esnext.typed-array.to-spliced.js +1 -0
- package/modules/web.structured-clone.js +1 -1
- package/package.json +1 -1
- package/proposals/change-array-by-copy.js +1 -0
- package/proposals/iterator-helpers.js +4 -0
|
@@ -69,7 +69,7 @@ var checkErrorsCloning = function (structuredCloneImplementation, $Error) {
|
|
|
69
69
|
return !fails(function () {
|
|
70
70
|
var error = new $Error();
|
|
71
71
|
var test = structuredCloneImplementation({ a: error, b: error });
|
|
72
|
-
return !(test && test.a === test.b && test.a instanceof $Error && test.stack === error.stack);
|
|
72
|
+
return !(test && test.a === test.b && test.a instanceof $Error && test.a.stack === error.stack);
|
|
73
73
|
});
|
|
74
74
|
};
|
|
75
75
|
|
package/package.json
CHANGED
|
@@ -5,5 +5,6 @@ require('../modules/esnext.array.to-spliced');
|
|
|
5
5
|
require('../modules/esnext.array.with');
|
|
6
6
|
require('../modules/esnext.typed-array.to-reversed');
|
|
7
7
|
require('../modules/esnext.typed-array.to-sorted');
|
|
8
|
+
// TODO: Remove from `core-js@4`
|
|
8
9
|
require('../modules/esnext.typed-array.to-spliced');
|
|
9
10
|
require('../modules/esnext.typed-array.with');
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// https://github.com/tc39/proposal-iterator-helpers
|
|
2
2
|
require('../modules/esnext.async-iterator.constructor');
|
|
3
|
+
// TODO: remove from `core-js@4`
|
|
3
4
|
require('../modules/esnext.async-iterator.as-indexed-pairs');
|
|
4
5
|
require('../modules/esnext.async-iterator.drop');
|
|
5
6
|
require('../modules/esnext.async-iterator.every');
|
|
@@ -8,12 +9,14 @@ require('../modules/esnext.async-iterator.find');
|
|
|
8
9
|
require('../modules/esnext.async-iterator.flat-map');
|
|
9
10
|
require('../modules/esnext.async-iterator.for-each');
|
|
10
11
|
require('../modules/esnext.async-iterator.from');
|
|
12
|
+
require('../modules/esnext.async-iterator.indexed');
|
|
11
13
|
require('../modules/esnext.async-iterator.map');
|
|
12
14
|
require('../modules/esnext.async-iterator.reduce');
|
|
13
15
|
require('../modules/esnext.async-iterator.some');
|
|
14
16
|
require('../modules/esnext.async-iterator.take');
|
|
15
17
|
require('../modules/esnext.async-iterator.to-array');
|
|
16
18
|
require('../modules/esnext.iterator.constructor');
|
|
19
|
+
// TODO: remove from `core-js@4`
|
|
17
20
|
require('../modules/esnext.iterator.as-indexed-pairs');
|
|
18
21
|
require('../modules/esnext.iterator.drop');
|
|
19
22
|
require('../modules/esnext.iterator.every');
|
|
@@ -22,6 +25,7 @@ require('../modules/esnext.iterator.find');
|
|
|
22
25
|
require('../modules/esnext.iterator.flat-map');
|
|
23
26
|
require('../modules/esnext.iterator.for-each');
|
|
24
27
|
require('../modules/esnext.iterator.from');
|
|
28
|
+
require('../modules/esnext.iterator.indexed');
|
|
25
29
|
require('../modules/esnext.iterator.map');
|
|
26
30
|
require('../modules/esnext.iterator.reduce');
|
|
27
31
|
require('../modules/esnext.iterator.some');
|