Skip to content

Releases: JakeChampion/polyfill-library

v3.34.0

29 Apr 15:35
2082d51
Compare
Choose a tag to compare

New polyfills:

  • requestIdleCallback and cancelIdleCallback: #192
  • toggleAttribute: #170

Updated polyfills:

  • Event to correctly detect bad Event constructors in Android 4.x. Fixes: #19
  • Set and Map config updated to serve opera mobile: #191
  • Set config updated to reflex Edge support. #189

v3.33.0

03 Apr 12:21
Compare
Choose a tag to compare

Updated polyfills:

  • Object.preventExtensions fixed typo where we used TypeError instead of Type

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

03 Apr 11:02
Compare
Choose a tag to compare

Updated polyfills:

  • Symbol.match and Symbol.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 with window.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

04 Mar 10:15
Compare
Choose a tag to compare

We now use an LRU cache for the getPolyfillMeta function to avoid too many filesystem operations.

v3.31.0

27 Feb 16:33
Compare
Choose a tag to compare

We now use an LRU cache for the getPolyfillMeta function to avoid too many filesystem operations.

v3.30.1

22 Feb 17:44
Compare
Choose a tag to compare

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

22 Feb 17:27
Compare
Choose a tag to compare
  • Make update tasks use graceful-fs instead of fs to avoid 'too many open files' errors

  • Added minification for feature detects

v3.29.0

22 Feb 11:01
Compare
Choose a tag to compare

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

19 Feb 10:55
Compare
Choose a tag to compare

Updated polyfills:

  • Map now accepts null objects (Object.create(null)) as keys

v3.28.0

12 Feb 11:43
Compare
Choose a tag to compare

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 < 60
  • Element.prototype.dataset now has correct enumerability
  • HTMLCanvasElement.prototype.toBlob now also served to Safari iOS < 11
  • Math.imul now has tests and is specification compliant
  • Math.log1p now has tests and is specification compliant, even for numbers between -1 and 1
  • Object.keys now has correct enumerability
  • Promise.prototype.finally no longer served to Firefox >58, Safari iOS >11.3, Opera >50, Safari >11.1
  • String.fromCodePoint now is in the es6 alias
  • URL polyfill now also served to all BlackBerry browsers.