jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
Upgrading jsdom From 1.5.0 to 2.0.0
1 release in betweenevery note read
Other targets from 1.5.0Latest31.0.1
The note of 2.0.0 lists no breaking change or deprecation, which is rare for a major.
- ?
- changes to make
- 0
- advisories fixed
- 0
- new
- 1
- fix
Release by release
- Fixed
querySelectorcorrectly coerces its argument to a string (1.2.2 previously fixed this forquerySelectorAll).
- Fixed
2 other lines we could not sort, mostly version bumps
- 2.0.0
Removed:
jsdom.level, and theleveloption fromjsdom.jsdom. - 2.0.0
Change: The nonstandard
Element.prototype.matchesSelectormethod was replaced with the standardElement.prototype.matches.
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.