Packages

jsdom

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

Upgrading jsdom From 10.0.0 to 10.1.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 10.0.0Latest31.0.1
  1. 10.0.0yours
  2. 10.1.0target
1
change to make
0
advisories fixed
3
new
3
fixes

Before you upgrade

Tick each one off as you go
  • Breaking10.1.0

Release by release

  1. 10.1.0

    Migration needed1 May 20173 new · 3 fixes
    • Breaking

      Removed the toString() methods on various prototypes that returned "[object ClassName]" in an attempt to fake the Symbol.toStringTag behavior.

    • New

      Added the value sanitization algorithm for password, search, tel, text, color, email, and url input types.

    • New

      Added Symbol.toStringTag to all web platform classes, so that now Object.prototype.toString.call() works as expected on jsdom objects.

    • New

      Added the select.selectedOptions property.

    • Fixed

      Fixed a variety of properties that were meant to always return the same object, to actually do so.

    • Fixed

      Fixed inheritance of the runScripts and resources options into iframes.

    • Fixed

      Fixed an uncaught exception that occurred if you called xhr.abort() during a readystatechange event.

1 other line we could not sort, mostly version bumps
  • Changed XMLHttpRequest to pre-allocate a 1 MiB buffer, which it grows exponentially as needed, in order to avoid frequent buffer allocation and concatenation.

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