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
@@ -552,17 +552,19 @@ module.exports = fails(function () {
552
552
553
553
var NATIVE_BIND = __webpack_require__ ( 8 ) ;
554
554
555
- var FunctionPrototype = Function . prototype ;
555
+ var $Function = Function ;
556
+ var FunctionPrototype = $Function . prototype ;
556
557
var bind = FunctionPrototype . bind ;
557
558
var call = FunctionPrototype . call ;
558
559
var uncurryThis = NATIVE_BIND && bind . bind ( call , call ) ;
559
560
560
- module . exports = NATIVE_BIND ? function ( fn ) {
561
- return fn && uncurryThis ( fn ) ;
562
- } : function ( fn ) {
563
- return fn && function ( ) {
561
+ module . exports = function ( fn ) {
562
+ // Nashorn bug:
563
+ // https://github.com/zloirock/core-js/issues/1128
564
+ // https://github.com/zloirock/core-js/issues/1130
565
+ return fn instanceof $Function ? NATIVE_BIND ? uncurryThis ( fn ) : function ( ) {
564
566
return call . apply ( fn , arguments ) ;
565
- } ;
567
+ } : undefined ;
566
568
} ;
567
569
568
570
@@ -925,10 +927,10 @@ var store = __webpack_require__(36);
925
927
( module . exports = function ( key , value ) {
926
928
return store [ key ] || ( store [ key ] = value !== undefined ? value : { } ) ;
927
929
} ) ( 'versions' , [ ] ) . push ( {
928
- version : '3.25.3 ' ,
930
+ version : '3.25.4 ' ,
929
931
mode : IS_PURE ? 'pure' : 'global' ,
930
932
copyright : '© 2014-2022 Denis Pushkarev (zloirock.ru)' ,
931
- license : 'https://github.com/zloirock/core-js/blob/v3.25.3 /LICENSE' ,
933
+ license : 'https://github.com/zloirock/core-js/blob/v3.25.4 /LICENSE' ,
932
934
source : 'https://github.com/zloirock/core-js'
933
935
} ) ;
934
936
@@ -11742,9 +11744,13 @@ var structuredCloneInternal = function (value, map) {
11742
11744
} catch ( error ) {
11743
11745
throwUnpolyfillable ( type ) ;
11744
11746
} break ;
11747
+ case 'CropTarget' :
11745
11748
case 'CryptoKey' :
11746
- case 'GPUCompilationMessage' :
11749
+ case 'FileSystemDirectoryHandle' :
11750
+ case 'FileSystemFileHandle' :
11751
+ case 'FileSystemHandle' :
11747
11752
case 'GPUCompilationInfo' :
11753
+ case 'GPUCompilationMessage' :
11748
11754
case 'ImageBitmap' :
11749
11755
case 'RTCCertificate' :
11750
11756
case 'WebAssembly.Module' :
@@ -11843,6 +11849,7 @@ var tryToTransfer = function (rawTransfer, map) {
11843
11849
} catch ( error ) { /* empty */ }
11844
11850
break ;
11845
11851
case 'ArrayBuffer' :
11852
+ case 'MediaSourceHandle' :
11846
11853
case 'MessagePort' :
11847
11854
case 'OffscreenCanvas' :
11848
11855
case 'ReadableStream' :
@@ -11856,6 +11863,8 @@ var tryToTransfer = function (rawTransfer, map) {
11856
11863
}
11857
11864
} ;
11858
11865
11866
+ // `structuredClone` method
11867
+ // https://html.spec.whatwg.org/multipage/structured-data.html#dom-structuredclone
11859
11868
$ ( { global : true , enumerable : true , sham : ! PROPER_TRANSFER , forced : FORCED_REPLACEMENT } , {
11860
11869
structuredClone : function structuredClone ( value /* , { transfer } */ ) {
11861
11870
var options = validateArgumentsLength ( arguments . length , 1 ) > 1 && ! isNullOrUndefined ( arguments [ 1 ] ) ? anObject ( arguments [ 1 ] ) : undefined ;
0 commit comments