Packages

jsdom

31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed

Your version

11.12.0

27 Jul 2018Where it was published

In short

2 new1 fixed3 changed

Release note

  • Added window.localStorage, window.sessionStorage, and StorageEvent support. These are currently only stored in-memory; file an issue if you need persistent (on-disk) storage capability so we can discuss adding that. This feature includes the new storageQuota option for controlling how much can be stored.

  • Added element.closest().

  • Changed hashchange and popstate events to no longer bubble, per a specification update.

  • Fixed the old API in Node.js v10 to not throw, when given input that is not a valid file path (such as a typical HTML string).

  • Upgraded cssstyle to v1.0.0, bringing along various fixes to our CSS parser and object model.

  • Upgraded nwsapi to v2.0.7, bringing along various fixes to our selector engine.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.