Skip to content

Releases: Assortment/darkmodejs

v2.0.0

06 Jun 23:05

Choose a tag to compare

v2.0.0 - Maintenance and security release

  • ⚠️ Breaking change in v2+: whilst the base API exposed by darkmodejs has remained the same, under the hood MediaQueryList's addListener and removeListener methods are marked as deprecated in the Web Standard, and have thus been replaced with addEventListener and removeEventListener respectfully. 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

#26

v1.2.1 - Updated dependencies

01 Feb 23:12

Choose a tag to compare

  • Updated dependencies for potential security vulnerabilities [#13]

v1.2.0 - Updated TypeScript definitions

07 Dec 18:56

Choose a tag to compare

v1.1.0 - TypeScript definitions

16 Jul 13:15

Choose a tag to compare

v1.0.1

13 Jul 00:03

Choose a tag to compare

Fixes issue with removeListeners breaking in browsers that do not support prefers-color-scheme. Please skip v1.0.0 if you require this feature.

v1.0.0...v1.0.1