jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
Upgrading jsdom From 8.0.4 to 8.1.0
1 release in betweenevery note read
Release by release
- New
Added
attr.nodeName, which was recently re-added to the spec. - New
Added click-proxying behavior from
<label>s to their labeled form elements. - New
Added a setter for
element.classListper recent spec changes (it forwards toelement.classList.value). - New
Added
element.getAttributeNames(). (spec addition)
- New
3 other lines we could not sort, mostly version bumps
- 8.1.0
Updated
DOMTokenListto have avalueproperty per recent spec changes; itstoStringserialization also changed slightly. - 8.1.0
Updated
tc.headersto be aDOMTokenListthat simply reflects theheadersattribute; previously it was a string, with its computation doing some weird stuff. - 8.1.0
Removed the
"keyevents"alias for"keyboardevent"when usingdocument.createEvent, per recent spec changes.
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.