core-js 3.24.0 → 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.
@@ -1 +1,6 @@
1
- module.exports = typeof window == 'object' && typeof Deno != 'object';
1
+ var IS_DENO = require('../internals/engine-is-deno');
2
+ var IS_NODE = require('../internals/engine-is-node');
3
+
4
+ module.exports = !IS_DENO && !IS_NODE
5
+ && typeof window == 'object'
6
+ && typeof document == 'object';
@@ -26,7 +26,7 @@ var FORCED_PROMISE_CONSTRUCTOR = isForced('Promise', function () {
26
26
  // We can't use @@species feature detection in V8 since it causes
27
27
  // deoptimization and performance degradation
28
28
  // https://github.com/zloirock/core-js/issues/679
29
- if (V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {
29
+ if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {
30
30
  // Detect correctness of subclassing with @@species support
31
31
  var promise = new NativePromiseConstructor(function (resolve) { resolve(1); });
32
32
  var FakePromise = function (exec) {
@@ -4,9 +4,9 @@ var store = require('../internals/shared-store');
4
4
  (module.exports = function (key, value) {
5
5
  return store[key] || (store[key] = value !== undefined ? value : {});
6
6
  })('versions', []).push({
7
- version: '3.24.0',
7
+ version: '3.24.1',
8
8
  mode: IS_PURE ? 'pure' : 'global',
9
9
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
10
- license: 'https://github.com/zloirock/core-js/blob/v3.24.0/LICENSE',
10
+ license: 'https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE',
11
11
  source: 'https://github.com/zloirock/core-js'
12
12
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "core-js",
3
3
  "description": "Standard library",
4
- "version": "3.24.0",
4
+ "version": "3.24.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/zloirock/core-js.git"