Packages

jsdom

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

Upgrading jsdom From 15.0.0 to 15.2.1

4 releases in betweenevery note read

Other targets from 15.0.0Latest31.0.1
0
changes to make
0
advisories fixed
6
new
16
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().

  3. 15.1.1

    28 May 20194 fixes
    • Fixed

      Fixed the style and on<event> properties to properly track their related attributes for SVG elements.

    • Fixed

      Fixed XMLHttpRequest merging preflight and response headers.

    • Fixed

      Fixed XMLHttpRequest reserializing content-type request headers unnecessarily. See whatwg/mimesniff#84 for more details.

    • Fixed

      Fixed element.tagName to be the ASCII uppercase of the element's qualified name, instead of the Unicode uppercase.

  4. 15.1.0

    12 May 20192 new · 4 fixes
    • New

      Added the Headers class from the Fetch standard.

    • New

      Added the element.translate getter and setter.

    • Fixed

      Fixed synchronous XMLHttpRequest on the newly-released Node.js v12.

    • Fixed

      Fixed form.elements to exclude <input type="image"> elements.

    • Fixed

      Fixed event path iteration in shadow DOM cases, following spec fixes at whatwg/dom#686 and whatwg/dom#750.

    • Fixed

      Fixed pattern="" form control validation to apply the given regular expression to the whole string.

5 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
  • Moved the nonce property from HTMLScriptElement and HTMLStyleElement to HTMLElement. Note that it is still just a simple reflection of the attribute, and has not been updated for the rest of the changes in whatwg/html#2373.

    15.1.1

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.