@phryneas/fluent-ie11-compat
Advanced tools
Comparing version 0.12.0 to 0.12.1
@@ -5,2 +5,32 @@ 'use strict'; | ||
require('core-js/modules/es.array.index-of'); | ||
require('core-js/modules/es.regexp.constructor'); | ||
require('core-js/modules/es.regexp.exec'); | ||
require('core-js/modules/es.regexp.to-string'); | ||
require('core-js/modules/es.string.replace'); | ||
var regexpStickyHelpers = require('core-js/internals/regexp-sticky-helpers'); | ||
require('core-js/modules/es.symbol'); | ||
require('core-js/modules/es.symbol.description'); | ||
require('core-js/modules/es.symbol.iterator'); | ||
require('core-js/modules/es.array.iterator'); | ||
require('core-js/modules/es.map'); | ||
require('core-js/modules/es.object.to-string'); | ||
require('core-js/modules/es.string.iterator'); | ||
require('core-js/modules/es.string.starts-with'); | ||
require('core-js/modules/es.weak-map'); | ||
require('core-js/modules/web.dom-collections.iterator'); | ||
require('core-js/modules/es.array.concat'); | ||
require('core-js/modules/es.array.join'); | ||
require('core-js/modules/es.array.slice'); | ||
require('core-js/modules/es.function.name'); | ||
require('core-js/modules/es.weak-set'); | ||
require('core-js/modules/es.object.assign'); | ||
require('core-js/modules/es.object.entries'); | ||
require('core-js/modules/es.object.keys'); | ||
require('core-js/modules/es.string.from-code-point'); | ||
require('core-js/modules/es.array.filter'); | ||
require('core-js/modules/es.array.map'); | ||
require('core-js/modules/es.string.match'); | ||
require('core-js/modules/es.string.split'); | ||
function _typeof(obj) { | ||
@@ -273,7 +303,11 @@ if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { | ||
if (regexpStickyHelpers.UNSUPPORTED_Y || regexpStickyHelpers.BROKEN_CARET) { | ||
throw "core-js would polyfill, but our implementation is more performant"; | ||
} | ||
if (window["__test__fluent__RegExp"]) { | ||
throw "Force Polyfill in test environment"; | ||
throw "forcing polyfill in test environment"; | ||
} | ||
} catch (_unused) { | ||
console.info("Using RegExp wrapper to polyfill `y` flag functionality."); | ||
} catch (e) { | ||
console.info("Using RegExp wrapper to polyfill `y` flag functionality. (%s)", e); | ||
@@ -280,0 +314,0 @@ var PolyfilledRegExp = |
{ | ||
"name": "@phryneas/fluent-ie11-compat", | ||
"version": "0.12.0", | ||
"version": "0.12.1", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "files": [], |
56782
1569