jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
Upgrading jsdom From 4.0.1 to 4.0.2
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 1
- fix
Release by release
- Fixed
Fixed a regression in our browser support that required Chrome 41 as of 4.0.1; now Chrome 40 will work, as well as (in theory, although less well-tested) the latest stable versions of Firefox and IE.
- Fixed
5 other lines we could not sort, mostly version bumps
- 4.0.2
EventTargetis now correctly in the prototype chain ofWindow. - 4.0.2
EventTargetargument validation is now correct according to the DOM Standard. - 4.0.2
DOMExceptionnow behaves more like it should per Web IDL. In particular it has a more comprehensive set of constants, and instances now havenameproperties. - 4.0.2
new Event("click")can now be dispatched. - 4.0.2
document.createEventnow behaves more like it should according to the DOM Standard: it accepts a wider range of arguments, but will throw if an invalid one is given.
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.