jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
Upgrading jsdom From 30.0.1 to 30.1.0
1 release in betweenevery note read
Release by release
- New
Added named access to elements on
document, such asdocument.myFormfor<form name="myForm">. - New
Added
QuotaExceededError, including its use for storage quota errors and oversizedcrypto.getRandomValues()requests. - New
Added support for the relaxed DOM naming rules when creating elements, attributes, and document types.
- Fixed
Fixed
element.querySelectorAll()returning no matches when the first part of the selector matches the element itself, which regressed in v30.0.0.
- New
5 other lines we could not sort, mostly version bumps
- 30.1.0
Improved performance of DOM construction, tree mutations, range operations, and live collection access, especially on large documents. (@scttcper, @erezrokah)
- 30.1.0
Improved performance of
getComputedStyle(), style changes, and CSS serialization. (@scttcper, @jhult) - 30.1.0
Improved performance of event dispatch, form control and label lookups, and updates to
<select>elements and radio button groups. - 30.1.0
Reduced memory use when creating and working with DOM nodes, attributes, event listeners, and mutation observers.
- 30.1.0
Changed
window.close()to preserve access to the document and its DOM through retained references.
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.