core-js-pure
Advanced tools
Comparing version 3.16.1 to 3.16.2
var userAgent = require('../internals/engine-user-agent'); | ||
var global = require('../internals/global'); | ||
module.exports = /iphone|ipod|ipad/i.test(userAgent) && global.Pebble !== undefined; | ||
module.exports = /ipad|iphone|ipod/i.test(userAgent) && global.Pebble !== undefined; |
var userAgent = require('../internals/engine-user-agent'); | ||
module.exports = /(?:iphone|ipod|ipad).*applewebkit/i.test(userAgent); | ||
module.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent); |
@@ -37,13 +37,11 @@ /* global ActiveXObject -- old IE, WSH */ | ||
var iframeDocument; | ||
if (iframe.style) { | ||
iframe.style.display = 'none'; | ||
html.appendChild(iframe); | ||
// https://github.com/zloirock/core-js/issues/475 | ||
iframe.src = String(JS); | ||
iframeDocument = iframe.contentWindow.document; | ||
iframeDocument.open(); | ||
iframeDocument.write(scriptTag('document.F=Object')); | ||
iframeDocument.close(); | ||
return iframeDocument.F; | ||
} | ||
iframe.style.display = 'none'; | ||
html.appendChild(iframe); | ||
// https://github.com/zloirock/core-js/issues/475 | ||
iframe.src = String(JS); | ||
iframeDocument = iframe.contentWindow.document; | ||
iframeDocument.open(); | ||
iframeDocument.write(scriptTag('document.F=Object')); | ||
iframeDocument.close(); | ||
return iframeDocument.F; | ||
}; | ||
@@ -61,6 +59,7 @@ | ||
} catch (error) { /* ignore */ } | ||
NullProtoObject = document.domain && activeXDocument ? | ||
NullProtoObjectViaActiveX(activeXDocument) : // old IE | ||
NullProtoObjectViaIFrame() || | ||
NullProtoObjectViaActiveX(activeXDocument); // WSH | ||
NullProtoObject = typeof document != 'undefined' | ||
? document.domain && activeXDocument | ||
? NullProtoObjectViaActiveX(activeXDocument) // old IE | ||
: NullProtoObjectViaIFrame() | ||
: NullProtoObjectViaActiveX(activeXDocument); // WSH | ||
var length = enumBugKeys.length; | ||
@@ -67,0 +66,0 @@ while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]]; |
var fails = require('./fails'); | ||
var global = require('../internals/global'); | ||
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError | ||
var $RegExp = global.RegExp; | ||
module.exports = fails(function () { | ||
// babel-minify transpiles RegExp('.', 'g') -> /./g and it causes SyntaxError | ||
var re = RegExp('(?<a>b)', (typeof '').charAt(5)); | ||
var re = $RegExp('(?<a>b)', 'g'); | ||
return re.exec('b').groups.a !== 'b' || | ||
'b'.replace(re, '$<a>c') !== 'bc'; | ||
}); |
@@ -7,5 +7,5 @@ var IS_PURE = require('../internals/is-pure'); | ||
})('versions', []).push({ | ||
version: '3.16.1', | ||
version: '3.16.2', | ||
mode: IS_PURE ? 'pure' : 'global', | ||
copyright: '© 2021 Denis Pushkarev (zloirock.ru)' | ||
}); |
{ | ||
"name": "core-js-pure", | ||
"description": "Standard library", | ||
"version": "3.16.1", | ||
"version": "3.16.2", | ||
"repository": { | ||
@@ -57,3 +57,3 @@ "type": "git", | ||
}, | ||
"gitHead": "d4ecfcefcb07bda80fad210142efdfdce5f66acd" | ||
"gitHead": "ef826cce45d2896ee92a2a27f6f09c2397e0a8b3" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
657742
15881