Releases: Assortment/darkmodejs
Releases · Assortment/darkmodejs
v2.0.0
v2.0.0 - Maintenance and security release
⚠️ Breaking change in v2+: whilst the base API exposed by darkmodejs has remained the same, under the hoodMediaQueryList'saddListenerandremoveListenermethods are marked as deprecated in the Web Standard, and have thus been replaced withaddEventListenerandremoveEventListenerrespectfully. There is a slight difference in browser compatibility for very old browsers which were never explicitly supported, but for that reason a major version bump was created.- remove babel setup
- remove eslint setup
- update remaining packages to latest for security patching
v1.2.1 - Updated dependencies
- Updated dependencies for potential security vulnerabilities [#13]
v1.2.0 - Updated TypeScript definitions
- Updated TypeScript definitions by @BytewaveMLP [#6]
v1.1.0 - TypeScript definitions
- Added TypeScript definitions, thanks to @mikefrancis [#4] 🎉
v1.0.1
Fixes issue with removeListeners breaking in browsers that do not support prefers-color-scheme. Please skip v1.0.0 if you require this feature.