jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
Upgrading jsdom From 5.1.0 to 5.2.0
1 release in betweenevery note read
Release by release
- New
Implemented
firstElementChild,lastElementChild, andchildElementCount. - New
Implemented the
outerHTMLsetter. - Fixed
Fixed the
outerHTMLgetter for<select>and<form>. - Fixed
Fixed various issues with window-less documents, so that they no longer give incorrect results or blow up in strange ways. You can create such documents with e.g.
document.implementation.createHTMLDocument(). - Fixed
Fixed relative stylesheet resolution when using
@import.
- New
2 other lines we could not sort, mostly version bumps
- 5.2.0
Moved
childrenfromNodetoParentNode, i.e., made it available onDocument,DocumentFragment, andElement, but not other types of nodes. - 5.2.0
Made
childrenaHTMLCollectioninstead of aNodeList.
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.