jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
Upgrading jsdom From 5.0.0 to 5.0.1
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 6
- fixes
Release by release
- Fixed
Fixed
document.cookiesetter to no longer ignorenull; instead it correctly sets a cookie of"null". (Chrome is not compliant to the spec in this regard.) - Fixed
Fixed documents created with
parsingMode: "xml"to no longer get"<html><head></head><body></body></html>"automatically inserted when callingjsdom.jsdom()with no arguments. - Fixed
Fixed the
innerHTMLsetter to no longer ignoreundefined; instead it correctly sets the innerHTML to"undefined". - Fixed
Fixed
document.writeto throw for XML documents as per the spec. - Fixed
Fixed
document.writeto accept more than one argument (they get concatenated). - Fixed
Fixed
document.write("")to no longer try to write"<html><head></head><body></body></html>".
- Fixed
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.