Packages

jsdom

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

Upgrading jsdom From 15.1.1 to 15.2.1

2 releases in betweenevery note read

Other targets from 15.1.1Latest31.0.1
0
changes to make
0
advisories fixed
4
new
8
fixes

Release by release

  1. 15.2.1

    4 Nov 20193 fixes
    • Fixed

      Fixed JSDOM.fromURL() handling of URLs with hashes in them, to no longer send the hash to the server and append an extra copy of it when constructing the Document.

    • Fixed

      Fixed focusing an already-focused element to correctly do nothing, instead of firing additional focus events.

    • Fixed

      Fixed typo in the not-implemented message for mediaElement.addTextTrack().

  2. 15.2.0

    14 Oct 20194 new · 5 fixes
    • New

      Added basic style inheritance in getComputedStyle() for the 'visibility' property. This sets the foundation for further work on inheritance, cascading, and specificity.

    • New

      Added shadowRoot.activeElement.

    • New

      Added readystatechange events during document loading.

    • New

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

4 other lines we could not sort, mostly version bumps
  • Upgraded nwsapi minimum version to 2.2.0, which fixes issues with ::-webkit- prefixed pseudo-elements and namespaced attribute selectors.

    15.2.1
  • Changed el.tabIndex's default value, when no tabindex="" attribute was set, to reflect the updated specification.

    15.2.0
  • Changed the exception thrown by el.attachShadow() on something that's already a shadow host, to reflect the updated specification.

    15.2.0
  • Set canvas as an optional ``peerDependency`, which apparently helps with Yarn PnP support.

    15.2.0

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.