jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
Upgrading jsdom From 25.0.1 to 26.0.0
1 release in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 2
- new
- 1
- fix
Before you upgrade
Tick each one off as you go- Breaking26.0.0
Release by release
- Breaking
Breaking change:
canvaspeer dependency requirement has been upgraded from v2 to v3. (@sebastianwachter) - New
Added
AbortSignal.any(). - New
Added initial support for form-associated custom elements, in particular making them labelable and supporting the
ElementInternalslabelsproperty. The form-associated callbacks are not yet supported. - Fixed
Fixed
JSDOM.fromURL()to properly reject the returned promise if the server redirects to an invalid URL, instead of causing an uncaught exception.
- Breaking
4 other lines we could not sort, mostly version bumps
- 26.0.0
Updated
whatwg-url, adding support forURL.parse(). - 26.0.0
Updated
cssstyleandrrweb-cssom, to improve CSS parsing capabilities. - 26.0.0
Updated
nwsapi, improving CSS selector matching. - 26.0.0
Updated
parse5, fixing a bug around<noframes>elements and HTML entity decoding.
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.