Packages

jsdom

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

Upgrading jsdom From 11.7.0 to 11.12.0

5 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 11.7.0Latest31.0.1
0
changes to make
0
advisories fixed
9
new
9
fixes

Release by release

  1. 11.12.0

    27 Jul 20182 new · 1 fix
    • New

      Added window.localStorage, window.sessionStorage, and StorageEvent support. These are currently only stored in-memory; file an issue if you need persistent (on-disk) storage capability so we can discuss adding that. This feature includes the new storageQuota option for controlling how much can be stored.

    • New

      Added element.closest().

    • Fixed

      Fixed the old API in Node.js v10 to not throw, when given input that is not a valid file path (such as a typical HTML string).

  2. 11.11.0

    23 May 20183 new · 4 fixes
    • New

      Added node.getRootNode().

    • New

      Added label.control.

    • New

      Added el.labels for form control elements.

    • Fixed

      Fixed the contentType of Documents created through <iframe>s.

    • Fixed

      Fixed the contentType and origin of Documents created through document.implementation.createDocument().

    • Fixed

      Fixed sourceEl.srcset to return the value of the srcset="" attribute, instead of the cite="" attribute.

    • Fixed

      Fixed node.normalize() to not modify non-Text nodes.

  3. 11.10.0

    30 Apr 20181 new · 1 fix
    • New

      Added event.srcElement and event.returnValue.

    • Fixed

      Fixed XMLHttpRequest to correctly set the User-Agent header, and set it on CORS preflight requests.

  4. 11.9.0

    23 Apr 20181 new · 3 fixes
    • New

      Added node.lookupPrefix(), node.lookupNamespaceURI() and node.isDefaultNamespace().

    • Fixed

      Fixed the cloning of Documents; previously it would not clone all of the appropriate state, and would sometimes add an extra document type node.

    • Fixed

      Fixed various edge cases in the textContent and nodeValue properties.

    • Fixed

      Fixed canvas.toBlob() to properly pass through the JPEG quality argument, instead of always passing zero to node-canvas.

  5. 11.8.0

    16 Apr 20182 new
    • New

      Added the full constraint validation API, i.e. willValidate, validity, validationMessage, checkValidity(), reportValidity(), and setCustomValidity(), on HTMLButtonElement, HTMLFieldSetElement, HTMLFormElement, HTMLInputElement, HTMLObjectElement, HTMLOutputElement, HTMLSelectElement, and HTMLTextAreaElement.

    • New

      Added getElementById() to DocumentFragment.

6 other lines we could not sort, mostly version bumps
  • Changed hashchange and popstate events to no longer bubble, per a specification update.

    11.12.0
  • Upgraded cssstyle to v1.0.0, bringing along various fixes to our CSS parser and object model.

    11.12.0
  • Upgraded nwsapi to v2.0.7, bringing along various fixes to our selector engine.

    11.12.0
  • Upgraded cssstyle to v0.3.1, bringing along various fixes to our CSS parser and object model.

    11.11.0
  • Upgraded whatwg-url to v6.4.1, fixing the interaction of URL's href and searchParams properties.

    11.11.0
  • Upgraded our selector matching engine from nwsmatcher to nwsapi, bringing along extensive fixes, performance improvements, and additional selector support.

    11.11.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.