core-js-bundle 3.25.3 → 3.25.4

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/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
- * core-js 3.25.3
2
+ * core-js 3.25.4
3
3
  * © 2014-2022 Denis Pushkarev (zloirock.ru)
4
- * license: https://github.com/zloirock/core-js/blob/v3.25.3/LICENSE
4
+ * license: https://github.com/zloirock/core-js/blob/v3.25.4/LICENSE
5
5
  * source: https://github.com/zloirock/core-js
6
6
  */
7
7
  !function (undefined) { 'use strict'; /******/ (function(modules) { // webpackBootstrap
@@ -998,17 +998,19 @@ module.exports = fails(function () {
998
998
 
999
999
  var NATIVE_BIND = __webpack_require__(9);
1000
1000
 
1001
- var FunctionPrototype = Function.prototype;
1001
+ var $Function = Function;
1002
+ var FunctionPrototype = $Function.prototype;
1002
1003
  var bind = FunctionPrototype.bind;
1003
1004
  var call = FunctionPrototype.call;
1004
1005
  var uncurryThis = NATIVE_BIND && bind.bind(call, call);
1005
1006
 
1006
- module.exports = NATIVE_BIND ? function (fn) {
1007
- return fn && uncurryThis(fn);
1008
- } : function (fn) {
1009
- return fn && function () {
1007
+ module.exports = function (fn) {
1008
+ // Nashorn bug:
1009
+ // https://github.com/zloirock/core-js/issues/1128
1010
+ // https://github.com/zloirock/core-js/issues/1130
1011
+ return fn instanceof $Function ? NATIVE_BIND ? uncurryThis(fn) : function () {
1010
1012
  return call.apply(fn, arguments);
1011
- };
1013
+ } : undefined;
1012
1014
  };
1013
1015
 
1014
1016
 
@@ -1371,10 +1373,10 @@ var store = __webpack_require__(37);
1371
1373
  (module.exports = function (key, value) {
1372
1374
  return store[key] || (store[key] = value !== undefined ? value : {});
1373
1375
  })('versions', []).push({
1374
- version: '3.25.3',
1376
+ version: '3.25.4',
1375
1377
  mode: IS_PURE ? 'pure' : 'global',
1376
1378
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
1377
- license: 'https://github.com/zloirock/core-js/blob/v3.25.3/LICENSE',
1379
+ license: 'https://github.com/zloirock/core-js/blob/v3.25.4/LICENSE',
1378
1380
  source: 'https://github.com/zloirock/core-js'
1379
1381
  });
1380
1382
 
@@ -20924,9 +20926,13 @@ var structuredCloneInternal = function (value, map) {
20924
20926
  } catch (error) {
20925
20927
  throwUnpolyfillable(type);
20926
20928
  } break;
20929
+ case 'CropTarget':
20927
20930
  case 'CryptoKey':
20928
- case 'GPUCompilationMessage':
20931
+ case 'FileSystemDirectoryHandle':
20932
+ case 'FileSystemFileHandle':
20933
+ case 'FileSystemHandle':
20929
20934
  case 'GPUCompilationInfo':
20935
+ case 'GPUCompilationMessage':
20930
20936
  case 'ImageBitmap':
20931
20937
  case 'RTCCertificate':
20932
20938
  case 'WebAssembly.Module':
@@ -21025,6 +21031,7 @@ var tryToTransfer = function (rawTransfer, map) {
21025
21031
  } catch (error) { /* empty */ }
21026
21032
  break;
21027
21033
  case 'ArrayBuffer':
21034
+ case 'MediaSourceHandle':
21028
21035
  case 'MessagePort':
21029
21036
  case 'OffscreenCanvas':
21030
21037
  case 'ReadableStream':
@@ -21038,6 +21045,8 @@ var tryToTransfer = function (rawTransfer, map) {
21038
21045
  }
21039
21046
  };
21040
21047
 
21048
+ // `structuredClone` method
21049
+ // https://html.spec.whatwg.org/multipage/structured-data.html#dom-structuredclone
21041
21050
  $({ global: true, enumerable: true, sham: !PROPER_TRANSFER, forced: FORCED_REPLACEMENT }, {
21042
21051
  structuredClone: function structuredClone(value /* , { transfer } */) {
21043
21052
  var options = validateArgumentsLength(arguments.length, 1) > 1 && !isNullOrUndefined(arguments[1]) ? anObject(arguments[1]) : undefined;