Skip to content

Releases: mrhenry/core-web

v1.0.0

21 Sep 13:20
de8eea3
Compare
Choose a tag to compare

🎉 First major version 🎉

  • no substantial changes from v0.7.8.
  • API has been stable for a while now and is unlikely to change in the near future.

v0.7.8

16 Aug 12:36
0dd96d0
Compare
Choose a tag to compare

v0.7.7

07 Aug 11:29
7703dc2
Compare
Choose a tag to compare

v0.7.6

29 Jul 11:59
36fc0e3
Compare
Choose a tag to compare

Add support for browserslist
It is now possible to re-use existing browserslist config from your package.json or pass a config via the browserslist plugin option.

/* babel.config.js */
module.exports = function(api) {
	api.cache(true);
	return {
		plugins: [
			["@mrhenry/core-web"]
		]
	};
};

v0.7.5

29 Jul 11:59
3c3bbdc
Compare
Choose a tag to compare

v0.7.4

15 Jul 16:32
a36236f
Compare
Choose a tag to compare

v0.7.3

02 Jul 17:56
548e951
Compare
Choose a tag to compare
  • querySelector(':HAS(> img)') now works with upper case :has()

v0.7.2

07 Jun 20:13
f6974d0
Compare
Choose a tag to compare
  • querySelector(':has(:has(any))') must not throw an Exception

v0.7.1

28 Apr 10:40
7bf156c
Compare
Choose a tag to compare
  • fix temporary attributes not being removed in element qsa polyfill

v0.7.0

04 Apr 08:09
788f645
Compare
Choose a tag to compare

Intl. polyfills are a poor fit for core-web because automatic injection doesn't align with how the feature is used.

Either authors want a dynamic codebase with support for any locale.
In this case they would use variables, which we can't handle as we can't infer the needed locale files from that.

Or they want a single locale to have access to formatters.
In that case they are better off importing formatjs directly.

In polyfill.io it does make sense to include Intl as you can more easily dynamically load the correct locales based on client side values/preferences.

Removing Intl has massive benefits as it reduces the package size and speeds up the AST matching.