jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
Upgrading jsdom From 24.0.0 to 24.1.3
4 releases in betweenevery note read
Release by release
- Fixed
Fixed calls to
postMessage()that were done as a bare property (i.e.,postMessage()instead ofwindow.postMessage()).
- Fixed
- Fixed
Fixed an issue with the
inoperator applied toEventTargetmethods, e.g.'addEventListener' in window, which only appeared in Node.js ≥22.5.0. - Fixed
Fixed the events fired by
blur(): it no longer firesfocusandfocusinon theDocument, andblurandfocusoutno longer have theirrelatedTargetproperty set.
- Fixed
- Fixed
Fixed selection methods to trigger the
selectionchangeevent on theDocumentobject.
- Fixed
- New
Added the
getSetCookie()method to theHeadersclass. - Fixed
Fixed the creation and parsing of elements with names from
Object.prototype, like"constructor"or"toString".
- New
1 other line we could not sort, mostly version bumps
- 24.1.0
Updated
rweb-cssom, which can now parse additional CSS constructs.
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.