jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
Upgrading jsdom From 9.2.0 to 9.2.1
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 6
- fixes
Release by release
- Fixed
Fixed
<input>'sselectionStart,selectionEnd, andselectionDirectiongetters to return null, instead of throwing, for elements that do not allow selection, per a recent spec change. - Fixed
Fixed
<base>'shrefgetter logic to return the attribute value instead of the empty string for unparseable URLs, per a recent spec change. - Fixed
Fixed the referrer sent when retrieving external resources to be the document's URL, not the document's base URL.
- Fixed
Fixed suppression of all
errorevents onwindowbeyond the first one. - Fixed
Fixed
new URLto correctly throw for unparseable URLs, and all ofURL's setters to correctly ignore invalid input instead of throwing. - Fixed
Fixed
StyleSheetList.prototype.itemto returnnullinstead ofundefinedfor out-of-bounds indices.
- Fixed
1 other line we could not sort, mostly version bumps
- 9.2.1
Updated
cssstyleminimum version to ensure all jsdom installs (not just fresh ones) get the benefit ofcssstyle's recently-betterbackgroundandwidthsetters.
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.