jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
Upgrading jsdom From 3.1.2 to 4.0.0
1 release in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 0
- new
- 0
- fixes
Before you upgrade
Tick each one off as you go- Breaking4.0.0
3 other lines we could not sort, mostly version bumps
- 4.0.0
In some cases, state was implicitly shared between
Windowinstances—especially parser- and serializer-related state. This is no longer the case, thankfully. - 4.0.0
A number of properties of
Windowwere updated for spec compliance: some data properties became accessors, and all methods moved from the prototype to the instance. - 4.0.0
The non-standard
document.parentWindowwas removed, in favor of the standarddocument.defaultView. Our apologies for encouraging use ofparentWindowin our README, tests, and examples.
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.