Packages

jsdom

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

Your version

20.0.1

2 Oct 2022Where it was published

20.0.3 is the newest release of 20.x.

In short

2 fixed2 changed

Release note

  • Improved the performance of appending <option> elements to <select> elements.

  • Fixed location.pathname getter to not crash when the JSDOM instance was created using an opaque-path URL, including the default URL of about:blank.

  • Fixed crypto.getRandomValues() to accept typed array subclasses.

  • Updated various dependency minor versions. Notably, nwsapi fixed some selectors bugs, and tough-cookie fixed some cookie bugs.

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.