Packages

jsdom

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

Upgrading jsdom From 3.1.0 to 3.1.2

2 releases in betweenevery note read

Other targets from 3.1.0Latest31.0.1
  1. 3.1.0yours
  2. 3.1.1
  3. 3.1.2target
0
changes to make
0
advisories fixed
0
new
4
fixes

Release by release

  1. 3.1.2

    20 Feb 20153 fixes
    • Fixed

      Fixed a global variable leak when triggering NOT_IMPLEMENTED methods, like window.location.reload.

    • Fixed

      Fixed the URL resolution algorithm to handle about:blank properly on all systems (previously it only worked on Windows). This is especially important since as of 3.0.0 the default URL is about:blank.

    • Fixed

      Fixed, at least partially, the ability to run <script>s inside a browserified jsdom instance. This is done by dynamically rewriting the source code so that global variable references become explicit references to window.variableName, so it is not foolproof.

  2. 3.1.1

    9 Feb 20151 fix
    • Fixed

      Fixed a couple small issues while browserifying, mainly around jsdom.env. However, while doing so discovered that <script>s in general don't work too well in a browserified jsdom; see #1023.

3 other lines we could not sort, mostly version bumps
  • Some fixes to the NOT_IMPLEMENTED internal helper, which should eliminate the cases where calling e.g. window.alert crashes your application.

    3.1.2
  • Updated Node.prototype.isEqualNode to the algorithm of the DOM Standard, fixing a bug where it would throw an error along the way.

    3.1.1
  • Removed Node.prototype.isSameNode, which is not present in the DOM Standard (and was just a verbose === check anyway).

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