Skip to content

Releases: mrhenry/core-web

v0.6.1

07 Sep 12:11
9314f39
Compare
Choose a tag to compare

v0.6.0

05 Sep 08:53
b7f3d56
Compare
Choose a tag to compare

Now includes DOMTokenList and NodeList polyfills from polyfill.io.
These conflict with core-js and require a change in your babel config to prevent issues.

Babel docs on exclude

+ exclude: [
+ 	"web.dom-collections.iterator",
+ 	"web.dom-collections.for-each"
+ ]

These need to be added in all steps/stages where core-js|preset-env might include these polyfills.

example change

v0.5.2

25 Jul 09:42
361d6e2
Compare
Choose a tag to compare
  • correctly exclude nested dependencies provided by Babel.

This increases build performance.
In most cases bundle size will also go down a bit.

v0.5.1

21 Jul 18:04
c329ce0
Compare
Choose a tag to compare
  • update polyfill-library v3.107.1
  • prevent automatic inclusion of polyfills with // core-web-ignore @mrhenry/core-web/modules/<feature>

Biggest addition from polyfill-library is that all dependencies for Intl features are now accessible from core-web (e.g. time zone data).
Better matchers and dependency configs for Intl features and locales also makes it possible to use almost everything without manually importing things.

v0.5.0

18 May 16:41
5b9cfa2
Compare
Choose a tag to compare
  • NewExpression matchers
  • CallExpression matchers
new Intl.NumberFormat('es', { style: 'currency', currency: 'EUR' }).format(number)

core-web will now detect usage of locale es in the context of NumberFormat and load all needed polyfills.

This is a breaking change because some features were previously matched by Identifier (e.g. forEach) and are now matched by MemberExpression or CallExpression.

although this should result in less false positives we want to be cautious.

v0.4.8

08 May 14:16
d4bf59d
Compare
Choose a tag to compare
v0.4.8 (#547)

v0.4.7

08 May 12:50
914f63e
Compare
Choose a tag to compare

v0.4.6

24 Apr 19:30
eeeb9ff
Compare
Choose a tag to compare

new polyfills :

  • Element.prototype.getAttributeNames
  • HTMLSelectElement.prototype.selectedOptions

v0.4.5

19 Jan 15:35
f996d75
Compare
Choose a tag to compare
v0.4.5 (#377)

* add Reflect.construct as an indicated depedency for custom elements

* v0.4.5

v0.4.4

18 Jan 07:06
b01836c
Compare
Choose a tag to compare

polyfill-library v3.103.0