Releases: JakeChampion/polyfill-library
v3.34.0
v3.33.0
Updated polyfills:
Object.preventExtensions
fixed typo where we usedTypeError
instead ofType
Updated the minification options to ensure that function names are preserved, which is required in order to have feature detection for Function.prototype.name working.
v3.32.0
Updated polyfills:
Symbol.match
andSymbol.replace
are now served to Edge 13 and lower, Chrome Android version 49 and lower, and Firefox Mobile version 49 and lower.Object.assign
now works withwindow.location
in Internet Explorer 11.Promise
is now served to all Opera Mobile browsers.RequestAnimationFrame
is now served to all Opera Mini browsers.IntersectionObserver
is now served to all Opera Mini browsers
Publish a patch as previous published version did not include the changes it was meant to
We now use an LRU cache for the getPolyfillMeta function to avoid too many filesystem operations.
v3.31.0
We now use an LRU cache for the getPolyfillMeta function to avoid too many filesystem operations.
v3.30.1
We now publish the built polyfills (./polyfills/__dist
folder) in the package instead of building the polyfills in a post-install script.
This makes the package available in environments which have a low number of available file descriptors such as https://repl.it
v3.30.0
-
Make update tasks use graceful-fs instead of fs to avoid 'too many open files' errors
-
Added minification for feature detects
v3.29.0
New polyfills:
Array.prototype.flat
Updated polyfills:
Set
now throws TypeErrors when passed an argument which is not iterable.
Added back an LRU (Least Recently Used) caching system for the User-Agent parsing.
Removed dependencies which were no longer being used.
v3.28.1
Updated polyfills:
Map
now accepts null objects (Object.create(null)
) as keys
v3.28.0
New polyfills:
Array.prototype.flatMap
Object.isExtensible
Object.isFrozen
Object.isSealed
Object.preventExtensions
Object.seal
Updated polyfills:
Array.prototype.values
now also served to Firefox < 60Element.prototype.dataset
now has correct enumerabilityHTMLCanvasElement.prototype.toBlob
now also served to Safari iOS < 11Math.imul
now has tests and is specification compliantMath.log1p
now has tests and is specification compliant, even for numbers between -1 and 1Object.keys
now has correct enumerabilityPromise.prototype.finally
no longer served to Firefox >58, Safari iOS >11.3, Opera >50, Safari >11.1String.fromCodePoint
now is in the es6 aliasURL
polyfill now also served to all BlackBerry browsers.