Skip to content

Releases: Assortment/darkmodejs

v2.0.0

Choose a tag to compare

@lukewhitehouse lukewhitehouse released this 06 Jun 23:05

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

Choose a tag to compare

@lukewhitehouse lukewhitehouse released this 01 Feb 23:12
  • Updated dependencies for potential security vulnerabilities [#13]

v1.2.0 - Updated TypeScript definitions

Choose a tag to compare

@lukewhitehouse lukewhitehouse released this 07 Dec 18:56

v1.1.0 - TypeScript definitions

Choose a tag to compare

@lukewhitehouse lukewhitehouse released this 16 Jul 13:15

v1.0.1

Choose a tag to compare

@lukewhitehouse lukewhitehouse released this 13 Jul 00:03

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