Skip to content

Commit

Permalink
3.24.1
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Jul 29, 2022
1 parent dc43aac commit e4b27bd
Show file tree
Hide file tree
Showing 12 changed files with 63 additions and 47 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## Changelog
##### Unreleased
- Nothing

##### [3.24.1 - 2022.07.30](https://github.com/zloirock/core-js/releases/tag/v3.24.1)
- NodeJS is ignored in `IS_BROWSER` detection to avoid a false positive with `jsdom`, [#1110](https://github.com/zloirock/core-js/issues/1110)
- Fixed detection of `@@species` support in `Promise` in some old engines
- `{ Array, %TypedArray% }.prototype.{ findLast, findLastIndex }` marked as shipped [in FF104](https://bugzilla.mozilla.org/show_bug.cgi?id=1775026)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,11 @@ queueMicrotask(() => console.log('called as microtask'));
### Installation:[](#index)
```
// global version
npm install --save core-js@3.24.0
npm install --save core-js@3.24.1
// version without global namespace pollution
npm install --save core-js-pure@3.24.0
npm install --save core-js-pure@3.24.1
// bundled global version
npm install --save core-js-bundle@3.24.0
npm install --save core-js-bundle@3.24.1
```

Or you can use `core-js` [from CDN](https://www.jsdelivr.com/package/npm/core-js-bundle).
Expand Down
2 changes: 1 addition & 1 deletion deno/corejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

*Example*:
```js
import 'https://deno.land/x/corejs@v3.24.0/index.js'; // <- at the top of your entry point
import 'https://deno.land/x/corejs@v3.24.1/index.js'; // <- at the top of your entry point

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

Expand Down
19 changes: 12 additions & 7 deletions deno/corejs/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* core-js 3.24.0
* core-js 3.24.1
* © 2014-2022 Denis Pushkarev (zloirock.ru)
* license: https://github.com/zloirock/core-js/blob/v3.24.0/LICENSE
* license: https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE
* source: https://github.com/zloirock/core-js
*/
!function (undefined) { 'use strict'; /******/ (function(modules) { // webpackBootstrap
Expand Down Expand Up @@ -884,10 +884,10 @@ var store = __webpack_require__(34);
(module.exports = function (key, value) {
return store[key] || (store[key] = value !== undefined ? value : {});
})('versions', []).push({
version: '3.24.0',
version: '3.24.1',
mode: IS_PURE ? 'pure' : 'global',
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
license: 'https://github.com/zloirock/core-js/blob/v3.24.0/LICENSE',
license: 'https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE',
source: 'https://github.com/zloirock/core-js'
});

Expand Down Expand Up @@ -3396,7 +3396,7 @@ var FORCED_PROMISE_CONSTRUCTOR = isForced('Promise', function () {
// We can't use @@species feature detection in V8 since it causes
// deoptimization and performance degradation
// https://github.com/zloirock/core-js/issues/679
if (V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {
if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {
// Detect correctness of subclassing with @@species support
var promise = new NativePromiseConstructor(function (resolve) { resolve(1); });
var FakePromise = function (exec) {
Expand All @@ -3419,9 +3419,14 @@ module.exports = {

/***/ }),
/* 124 */
/***/ (function(module, exports) {
/***/ (function(module, exports, __webpack_require__) {

var IS_DENO = __webpack_require__(125);
var IS_NODE = __webpack_require__(105);

module.exports = typeof window == 'object' && typeof Deno != 'object';
module.exports = !IS_DENO && !IS_NODE
&& typeof window == 'object'
&& typeof document == 'object';


/***/ }),
Expand Down
60 changes: 34 additions & 26 deletions docs/compat/compat-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -460,8 +460,8 @@
"ios": "8.0",
"node": "0.11.0",
"oculus": "3.0",
"opera": "16",
"opera_mobile": "16",
"opera": "15",
"opera_mobile": "15",
"rhino": "1.7.13",
"safari": "7.1",
"samsung": "1.5"
Expand Down Expand Up @@ -537,6 +537,7 @@
"deno": "1.16",
"edge": "97",
"electron": "17.0",
"firefox": "104",
"hermes": "0.11",
"ios": "15.4",
"node": "18.0",
Expand All @@ -553,6 +554,7 @@
"deno": "1.16",
"edge": "97",
"electron": "17.0",
"firefox": "104",
"hermes": "0.11",
"ios": "15.4",
"node": "18.0",
Expand Down Expand Up @@ -609,8 +611,8 @@
"ios": "8.0",
"node": "0.11.0",
"oculus": "3.0",
"opera": "16",
"opera_mobile": "16",
"opera": "15",
"opera_mobile": "15",
"rhino": "1.7.13",
"safari": "7.1",
"samsung": "1.5"
Expand Down Expand Up @@ -715,8 +717,8 @@
"ios": "8.0",
"node": "0.11.0",
"oculus": "3.0",
"opera": "16",
"opera_mobile": "16",
"opera": "15",
"opera_mobile": "15",
"rhino": "1.7.13",
"safari": "7.1",
"samsung": "1.5"
Expand Down Expand Up @@ -865,8 +867,8 @@
"ios": "8.0",
"node": "0.11.0",
"oculus": "3.0",
"opera": "16",
"opera_mobile": "16",
"opera": "15",
"opera_mobile": "15",
"rhino": "1.7.13",
"safari": "7.1",
"samsung": "1.5"
Expand Down Expand Up @@ -980,8 +982,8 @@
"ios": "12.0",
"node": "0.11.0",
"oculus": "3.0",
"opera": "16",
"opera_mobile": "16",
"opera": "15",
"opera_mobile": "15",
"safari": "12.0",
"samsung": "1.5"
},
Expand Down Expand Up @@ -1035,8 +1037,8 @@
"ios": "8.0",
"node": "0.11.0",
"oculus": "3.0",
"opera": "16",
"opera_mobile": "16",
"opera": "15",
"opera_mobile": "15",
"rhino": "1.7.13",
"safari": "7.1",
"samsung": "1.5"
Expand All @@ -1054,8 +1056,8 @@
"ios": "8.0",
"node": "0.11.0",
"oculus": "3.0",
"opera": "16",
"opera_mobile": "16",
"opera": "15",
"opera_mobile": "15",
"rhino": "1.7.13",
"safari": "7.1",
"samsung": "1.5"
Expand Down Expand Up @@ -1153,8 +1155,8 @@
"ios": "8.0",
"node": "0.11.0",
"oculus": "3.0",
"opera": "16",
"opera_mobile": "16",
"opera": "15",
"opera_mobile": "15",
"rhino": "1.7.13",
"safari": "7.1",
"samsung": "1.5"
Expand All @@ -1172,8 +1174,8 @@
"ios": "10.0",
"node": "0.11.0",
"oculus": "3.0",
"opera": "16",
"opera_mobile": "16",
"opera": "15",
"opera_mobile": "15",
"rhino": "1.7.13",
"safari": "10.0",
"samsung": "1.5"
Expand Down Expand Up @@ -1549,8 +1551,8 @@
"ios": "9.0",
"node": "0.11.1",
"oculus": "3.0",
"opera": "16",
"opera_mobile": "16",
"opera": "15",
"opera_mobile": "15",
"rhino": "1.7.13",
"safari": "9.0",
"samsung": "1.5"
Expand Down Expand Up @@ -1908,8 +1910,8 @@
"ios": "8.0",
"node": "0.11.0",
"oculus": "3.0",
"opera": "16",
"opera_mobile": "16",
"opera": "15",
"opera_mobile": "15",
"rhino": "1.7.13",
"safari": "7.1",
"samsung": "1.5"
Expand All @@ -1927,8 +1929,8 @@
"ios": "8.0",
"node": "0.11.0",
"oculus": "3.0",
"opera": "16",
"opera_mobile": "16",
"opera": "15",
"opera_mobile": "15",
"rhino": "1.7.13",
"safari": "7.1",
"samsung": "1.5"
Expand Down Expand Up @@ -3907,6 +3909,7 @@
"deno": "1.16",
"edge": "97",
"electron": "17.0",
"firefox": "104",
"hermes": "0.11",
"ios": "15.4",
"node": "18.0",
Expand All @@ -3923,6 +3926,7 @@
"deno": "1.16",
"edge": "97",
"electron": "17.0",
"firefox": "104",
"hermes": "0.11",
"ios": "15.4",
"node": "18.0",
Expand Down Expand Up @@ -4214,8 +4218,8 @@
"ios": "8.0",
"node": "0.11.0",
"oculus": "3.0",
"opera": "16",
"opera_mobile": "16",
"opera": "15",
"opera_mobile": "15",
"safari": "7.1",
"samsung": "1.5"
},
Expand Down Expand Up @@ -4383,6 +4387,7 @@
"deno": "1.16",
"edge": "97",
"electron": "17.0",
"firefox": "104",
"hermes": "0.11",
"ios": "15.4",
"node": "18.0",
Expand All @@ -4399,6 +4404,7 @@
"deno": "1.16",
"edge": "97",
"electron": "17.0",
"firefox": "104",
"hermes": "0.11",
"ios": "15.4",
"node": "18.0",
Expand Down Expand Up @@ -4673,6 +4679,7 @@
"deno": "1.16",
"edge": "97",
"electron": "17.0",
"firefox": "104",
"hermes": "0.11",
"ios": "15.4",
"node": "18.0",
Expand All @@ -4689,6 +4696,7 @@
"deno": "1.16",
"edge": "97",
"electron": "17.0",
"firefox": "104",
"hermes": "0.11",
"ios": "15.4",
"node": "18.0",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "3.24.0",
"version": "3.24.1",
"workspaces": [
"./packages/*"
],
Expand Down
6 changes: 3 additions & 3 deletions packages/core-js-builder/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "core-js-builder",
"description": "core-js builder",
"version": "3.24.0",
"version": "3.24.1",
"repository": {
"type": "git",
"url": "https://github.com/zloirock/core-js.git",
"directory": "packages/core-js-builder"
},
"main": "index.js",
"dependencies": {
"core-js": "3.24.0",
"core-js-compat": "3.24.0",
"core-js": "3.24.1",
"core-js-compat": "3.24.1",
"mkdirp": ">=0.5.5 <1",
"webpack": ">=4.46.0 <5"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/core-js-bundle/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "core-js-bundle",
"description": "Standard library",
"version": "3.24.0",
"version": "3.24.1",
"repository": {
"type": "git",
"url": "https://github.com/zloirock/core-js.git"
Expand Down
2 changes: 1 addition & 1 deletion packages/core-js-compat/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "core-js-compat",
"description": "core-js compat",
"version": "3.24.0",
"version": "3.24.1",
"repository": {
"type": "git",
"url": "https://github.com/zloirock/core-js.git",
Expand Down
2 changes: 1 addition & 1 deletion packages/core-js-pure/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "core-js-pure",
"description": "Standard library",
"version": "3.24.0",
"version": "3.24.1",
"repository": {
"type": "git",
"url": "https://github.com/zloirock/core-js.git"
Expand Down
4 changes: 2 additions & 2 deletions packages/core-js/internals/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ var store = require('../internals/shared-store');
(module.exports = function (key, value) {
return store[key] || (store[key] = value !== undefined ? value : {});
})('versions', []).push({
version: '3.24.0',
version: '3.24.1',
mode: IS_PURE ? 'pure' : 'global',
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
license: 'https://github.com/zloirock/core-js/blob/v3.24.0/LICENSE',
license: 'https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE',
source: 'https://github.com/zloirock/core-js'
});
2 changes: 1 addition & 1 deletion packages/core-js/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "core-js",
"description": "Standard library",
"version": "3.24.0",
"version": "3.24.1",
"repository": {
"type": "git",
"url": "https://github.com/zloirock/core-js.git"
Expand Down

0 comments on commit e4b27bd

Please sign in to comment.