Packages

jsdom

31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed

Your version

15.2.0

14 Oct 2019Where it was published

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 readystatechange events during document loading.

  • Added a stub for form.requestSubmit(), to match our existing stub for form.submit().

  • Changed el.tabIndex's default value, when no tabindex="" 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.value when 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() or el.setAttributeNS().

  • Set canvas as 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.