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
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 5
- fixes
Release by release
20.0.3nothing new or fixed in the note
- Fixed
Fixed
xhr.abort()to no longer give an exception when the constructedXMLHttpRequestwas invalid. - Fixed
Fixed
event.getModifierState()onMouseEventandKeyboardEventinstances to properly consult thectrlKey,altKey,metaKey, andshiftKeyproperties of the event. - Fixed
Fixed custom element creation to not be affected by any modifications to the
window.customElementsproperty.
- Fixed
- Fixed
Fixed
location.pathnamegetter to not crash when theJSDOMinstance was created using an opaque-path URL, including the default URL ofabout:blank. - Fixed
Fixed
crypto.getRandomValues()to accept typed array subclasses.
- Fixed
2 other lines we could not sort, mostly version bumps
- 20.0.1
Improved the performance of appending
<option>elements to<select>elements. - 20.0.1
Updated various dependency minor versions. Notably,
nwsapifixed some selectors bugs, andtough-cookiefixed some cookie bugs.
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.