jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
Upgrading jsdom From 6.1.0 to 6.2.0
1 release in betweenevery note read
Release by release
- New
Added a full-featured, spec-compliant
Element.prototype.classList, closing out a three-year old issue! - Fixed
Fixed errors when trying to parse invalid doctype declarations, like
<!DOCTYPE>. - Fixed
Fixed spurious
"jsdomError"s that were emitted after callingwindow.close(). - Fixed
Fixed the
DOMSubtreeModifiedevent to fire in more cases. Note that our mutation events implementation remains incomplete, and will eventually be removed (in a major release) once we implement mutation observers.
- New
1 other line we could not sort, mostly version bumps
- 6.2.0
Made
virtualConsole.sendTo(console)forward"jsdomError"s toconsoleby callingconsole.error. This can be turned off by doingvirtualConsole.sendTo(console, { omitJsdomErrors: true }).
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.