jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
Upgrading jsdom From 15.1.1 to 15.2.1
2 releases in betweenevery note read
Release by release
- Fixed
Fixed
JSDOM.fromURL()handling of URLs with hashes in them, to no longer send the hash to the server and append an extra copy of it when constructing theDocument. - Fixed
Fixed focusing an already-focused element to correctly do nothing, instead of firing additional
focusevents. - Fixed
Fixed typo in the not-implemented message for
mediaElement.addTextTrack().
- Fixed
- New
Added basic style inheritance in
getComputedStyle()for the'visibility'property. This sets the foundation for further work on inheritance, cascading, and specificity. - New
Added
shadowRoot.activeElement. - New
Added
readystatechangeevents during document loading. - New
Added a stub for
form.requestSubmit(), to match our existing stub forform.submit().
- New
4 other lines we could not sort, mostly version bumps
- 15.2.1
Upgraded
nwsapiminimum version to 2.2.0, which fixes issues with::-webkit-prefixed pseudo-elements and namespaced attribute selectors. - 15.2.0
Changed
el.tabIndex's default value, when notabindex=""attribute was set, to reflect the updated specification. - 15.2.0
Changed the exception thrown by
el.attachShadow()on something that's already a shadow host, to reflect the updated specification. - 15.2.0
Set
canvasas an optional ``peerDependency`, which apparently helps with Yarn PnP support.
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.