core-js-pure
Advanced tools
Comparing version 3.25.3 to 3.25.4
var NATIVE_BIND = require('../internals/function-bind-native'); | ||
var FunctionPrototype = Function.prototype; | ||
var $Function = Function; | ||
var FunctionPrototype = $Function.prototype; | ||
var bind = FunctionPrototype.bind; | ||
@@ -8,8 +9,9 @@ var call = FunctionPrototype.call; | ||
module.exports = NATIVE_BIND ? function (fn) { | ||
return fn && uncurryThis(fn); | ||
} : function (fn) { | ||
return fn && function () { | ||
module.exports = function (fn) { | ||
// Nashorn bug: | ||
// https://github.com/zloirock/core-js/issues/1128 | ||
// https://github.com/zloirock/core-js/issues/1130 | ||
return fn instanceof $Function ? NATIVE_BIND ? uncurryThis(fn) : function () { | ||
return call.apply(fn, arguments); | ||
}; | ||
} : undefined; | ||
}; |
@@ -7,7 +7,7 @@ var IS_PURE = require('../internals/is-pure'); | ||
})('versions', []).push({ | ||
version: '3.25.3', | ||
version: '3.25.4', | ||
mode: IS_PURE ? 'pure' : 'global', | ||
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)', | ||
license: 'https://github.com/zloirock/core-js/blob/v3.25.3/LICENSE', | ||
license: 'https://github.com/zloirock/core-js/blob/v3.25.4/LICENSE', | ||
source: 'https://github.com/zloirock/core-js' | ||
}); |
@@ -374,5 +374,9 @@ var IS_PURE = require('../internals/is-pure'); | ||
} break; | ||
case 'CropTarget': | ||
case 'CryptoKey': | ||
case 'FileSystemDirectoryHandle': | ||
case 'FileSystemFileHandle': | ||
case 'FileSystemHandle': | ||
case 'GPUCompilationInfo': | ||
case 'GPUCompilationMessage': | ||
case 'GPUCompilationInfo': | ||
case 'ImageBitmap': | ||
@@ -476,2 +480,3 @@ case 'RTCCertificate': | ||
case 'ArrayBuffer': | ||
case 'MediaSourceHandle': | ||
case 'MessagePort': | ||
@@ -490,2 +495,4 @@ case 'OffscreenCanvas': | ||
// `structuredClone` method | ||
// https://html.spec.whatwg.org/multipage/structured-data.html#dom-structuredclone | ||
$({ global: true, enumerable: true, sham: !PROPER_TRANSFER, forced: FORCED_REPLACEMENT }, { | ||
@@ -492,0 +499,0 @@ structuredClone: function structuredClone(value /* , { transfer } */) { |
{ | ||
"name": "core-js-pure", | ||
"description": "Standard library", | ||
"version": "3.25.3", | ||
"version": "3.25.4", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
899139
20923