Skip to content

Commit 35bfb87

Browse files
committed
3.23.5
1 parent 9112027 commit 35bfb87

File tree

12 files changed

+44
-27
lines changed

12 files changed

+44
-27
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
## Changelog
22
##### Unreleased
3+
- Nothing
4+
5+
##### [3.23.5 - 2022.07.18](https://github.com/zloirock/core-js/releases/tag/v3.23.5)
36
- Fixed a typo in the `structuredClone` feature detection, [#1106](https://github.com/zloirock/core-js/issues/1106)
47
- Added Opera Android 70 compat data mapping
58

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,11 @@ queueMicrotask(() => console.log('called as microtask'));
176176
### Installation:[](#index)
177177
```
178178
// global version
179-
npm install --save [email protected].4
179+
npm install --save [email protected].5
180180
// version without global namespace pollution
181-
npm install --save [email protected].4
181+
npm install --save [email protected].5
182182
// bundled global version
183-
npm install --save [email protected].4
183+
npm install --save [email protected].5
184184
```
185185

186186
Or you can use `core-js` [from CDN](https://www.jsdelivr.com/package/npm/core-js-bundle).

deno/corejs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
*Example*:
2626
```js
27-
import 'https://deno.land/x/[email protected].4/index.js'; // <- at the top of your entry point
27+
import 'https://deno.land/x/[email protected].5/index.js'; // <- at the top of your entry point
2828

2929
Object.hasOwn({ foo: 42 }, 'foo'); // => true
3030

deno/corejs/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
2-
* core-js 3.23.4
2+
* core-js 3.23.5
33
* © 2014-2022 Denis Pushkarev (zloirock.ru)
4-
* license: https://github.com/zloirock/core-js/blob/v3.23.4/LICENSE
4+
* license: https://github.com/zloirock/core-js/blob/v3.23.5/LICENSE
55
* source: https://github.com/zloirock/core-js
66
*/
77
!function (undefined) { 'use strict'; /******/ (function(modules) { // webpackBootstrap
@@ -879,10 +879,10 @@ var store = __webpack_require__(34);
879879
(module.exports = function (key, value) {
880880
return store[key] || (store[key] = value !== undefined ? value : {});
881881
})('versions', []).push({
882-
version: '3.23.4',
882+
version: '3.23.5',
883883
mode: IS_PURE ? 'pure' : 'global',
884884
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
885-
license: 'https://github.com/zloirock/core-js/blob/v3.23.4/LICENSE',
885+
license: 'https://github.com/zloirock/core-js/blob/v3.23.5/LICENSE',
886886
source: 'https://github.com/zloirock/core-js'
887887
});
888888

@@ -10239,7 +10239,7 @@ var checkErrorsCloning = function (structuredCloneImplementation, $Error) {
1023910239
return !fails(function () {
1024010240
var error = new $Error();
1024110241
var test = structuredCloneImplementation({ a: error, b: error });
10242-
return !(test && test.a === test.b && test.a instanceof $Error && test.stack === error.stack);
10242+
return !(test && test.a === test.b && test.a instanceof $Error && test.a.stack === error.stack);
1024310243
});
1024410244
};
1024510245

docs/compat/tests.js

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,10 @@ function IMMEDIATE() {
223223
return setImmediate && clearImmediate;
224224
}
225225

226+
function TIMERS() {
227+
return !/MSIE .\./.test(USERAGENT);
228+
}
229+
226230
GLOBAL.tests = {
227231
// TODO: Remove this module from `core-js@4` since it's split to modules listed below
228232
'es.symbol': [SYMBOLS_SUPPORT, function () {
@@ -1851,16 +1855,26 @@ GLOBAL.tests = {
18511855
return Object.getOwnPropertyDescriptor(GLOBAL, 'queueMicrotask').value;
18521856
},
18531857
'web.set-immediate': IMMEDIATE,
1858+
'web.set-interval': TIMERS,
1859+
'web.set-timeout': TIMERS,
18541860
'web.structured-clone': function () {
1855-
var error = new Error();
1856-
var test = structuredClone({ a: error, b: error });
1857-
if (!(test && test.a === test.b && test.a instanceof Error && test.stack === error.stack)) return false;
1858-
test = structuredClone(new AggregateError([1], 'a', { cause: 3 }));
1859-
return test.name == 'AggregateError' && test.errors[0] == 1 && test.message == 'a' && test.cause == 3;
1860-
},
1861-
'web.timers': function () {
1862-
return !/MSIE .\./.test(USERAGENT);
1861+
function checkErrorsCloning(structuredCloneImplementation, $Error) {
1862+
var error = new $Error();
1863+
var test = structuredCloneImplementation({ a: error, b: error });
1864+
return test && test.a === test.b && test.a instanceof $Error && test.a.stack === error.stack;
1865+
}
1866+
1867+
function checkNewErrorsCloningSemantic(structuredCloneImplementation) {
1868+
var test = structuredCloneImplementation(new AggregateError([1], 'message', { cause: 3 }));
1869+
return test.name == 'AggregateError' && test.errors[0] == 1 && test.message == 'message' && test.cause == 3;
1870+
}
1871+
1872+
return checkErrorsCloning(structuredClone, Error)
1873+
&& checkErrorsCloning(structuredClone, DOMException)
1874+
&& checkNewErrorsCloningSemantic(structuredClone);
18631875
},
1876+
// TODO: Remove this module from `core-js@4` since it's split to submodules
1877+
'web.timers': TIMERS,
18641878
'web.url.constructor': URL_AND_URL_SEARCH_PARAMS_SUPPORT,
18651879
'web.url.to-json': [URL_AND_URL_SEARCH_PARAMS_SUPPORT, function () {
18661880
return URL.prototype.toJSON;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "3.23.4",
2+
"version": "3.23.5",
33
"workspaces": [
44
"./packages/*"
55
],

packages/core-js-builder/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"name": "core-js-builder",
33
"description": "core-js builder",
4-
"version": "3.23.4",
4+
"version": "3.23.5",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/zloirock/core-js.git",
88
"directory": "packages/core-js-builder"
99
},
1010
"main": "index.js",
1111
"dependencies": {
12-
"core-js": "3.23.4",
13-
"core-js-compat": "3.23.4",
12+
"core-js": "3.23.5",
13+
"core-js-compat": "3.23.5",
1414
"mkdirp": ">=0.5.5 <1",
1515
"webpack": ">=4.46.0 <5"
1616
},

packages/core-js-bundle/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "core-js-bundle",
33
"description": "Standard library",
4-
"version": "3.23.4",
4+
"version": "3.23.5",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/zloirock/core-js.git"

packages/core-js-compat/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "core-js-compat",
33
"description": "core-js compat",
4-
"version": "3.23.4",
4+
"version": "3.23.5",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/zloirock/core-js.git",

packages/core-js-pure/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "core-js-pure",
33
"description": "Standard library",
4-
"version": "3.23.4",
4+
"version": "3.23.5",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/zloirock/core-js.git"

packages/core-js/internals/shared.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ var store = require('../internals/shared-store');
44
(module.exports = function (key, value) {
55
return store[key] || (store[key] = value !== undefined ? value : {});
66
})('versions', []).push({
7-
version: '3.23.4',
7+
version: '3.23.5',
88
mode: IS_PURE ? 'pure' : 'global',
99
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
10-
license: 'https://github.com/zloirock/core-js/blob/v3.23.4/LICENSE',
10+
license: 'https://github.com/zloirock/core-js/blob/v3.23.5/LICENSE',
1111
source: 'https://github.com/zloirock/core-js'
1212
});

packages/core-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "core-js",
33
"description": "Standard library",
4-
"version": "3.23.4",
4+
"version": "3.23.5",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/zloirock/core-js.git"

0 commit comments

Comments
 (0)