Packages

jsdom

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

Upgrading jsdom From 20.0.0 to 20.0.3

3 releases in betweenevery note read

Other targets from 20.0.0Latest31.0.1
0
changes to make
0
advisories fixed
0
new
5
fixes

Release by release

  1. 20.0.3nothing new or fixed in the note

  2. 20.0.2

    30 Oct 20223 fixes
    • Fixed

      Fixed xhr.abort() to no longer give an exception when the constructed XMLHttpRequest was invalid.

    • Fixed

      Fixed event.getModifierState() on MouseEvent and KeyboardEvent instances to properly consult the ctrlKey, altKey, metaKey, and shiftKey properties of the event.

    • Fixed

      Fixed custom element creation to not be affected by any modifications to the window.customElements property.

  3. 20.0.1

    2 Oct 20222 fixes
    • Fixed

      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

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

2 other lines we could not sort, mostly version bumps
  • Improved the performance of appending <option> elements to <select> elements.

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

    20.0.1

1 internal line (docs, tests, tooling) left out.

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.