jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
15.2.1 is the newest release of 15.x.
In short
4 new5 fixed3 changed
Release note
Added basic style inheritance in
getComputedStyle()for the'visibility'property. This sets the foundation for further work on inheritance, cascading, and specificity.Added
shadowRoot.activeElement.Added
readystatechangeevents during document loading.Added a stub for
form.requestSubmit(), to match our existing stub forform.submit().Changed
el.tabIndex's default value, when notabindex=""attribute was set, to reflect the updated specification.Changed the exception thrown by
el.attachShadow()on something that's already a shadow host, to reflect the updated specification.Fixed the validation logic for
<input type="range">.Fixed
selectEl.valuewhen no<option>is selected to return the empty string, instead of the value of the first option.Fixed various correctness issues with
new FormData(formElement).Fixed error messages when parsing XML to include the filename, instead of using
"undefined".Fixed the logic for reflected properties to not be affected by overwriting of
el.getAttributeNS()orel.setAttributeNS().Set
canvasas an optional ``peerDependency`, which apparently helps with Yarn PnP support.
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.