Packages

jsdom

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

Upgrading jsdom From 7.1.0 to 7.2.2

4 releases in betweenevery note read

Other targets from 7.1.0Latest31.0.1
0
changes to make
0
advisories fixed
1
new
8
fixes

Release by release

  1. 7.2.2

    27 Dec 20152 fixes
    • Fixed

      Fixed canvasEl.toDataURL(), with the canvas npm package installed; a recent update to the canvas package broke how we were passing arguments to do.

    • Fixed

      Fixed data: URL parsing to allow empty contents, e.g. data:text/css;base64,.

  2. 7.2.1

    11 Dec 20151 fix
    • Fixed

      Fixed a regression in XML parsing of attributes with a namespace URL but no prefix (e.g. <math xmlns="http://www.w3.org/1998/Math/MathML">).

  3. 7.2.0

    6 Dec 20151 new · 3 fixes
    • New

      Added support for text selection APIs on <input> and <textarea>! (sjelin and yaycmyk)

    • Fixed

      Fixed the <canvas> tag to reset its contents when its width or height changed, including the change from the default 300 × 150 canvas. (Applies only when using the canvas npm package.)

    • Fixed

      Fixed an issue where HTMLCollections would get confused when they contained elements with numeric ids or names.

    • Fixed

      Fixed an issue with doctype parsing confusing the system ID and public ID.

  4. 7.1.1

    2 Dec 20152 fixes
    • Fixed

      Fixed document.writeln to correctly handle multiple arguments; previously it ignored all after the first.

    • Fixed

      Fixed FileList objects to no longer have a property named "undefined".

3 other lines we could not sort, mostly version bumps
  • Replaced our default XML parser with sax, thus fixing many (but not all) issues with XML and XHTML parsing. To get a flavor of the issues fixed, check out these now-closed bugs: #393, #651, #415, #1276.

    7.2.0
  • Made the task posted by postMessage use the inside-jsdom timer queue, instead of the Node.js one. This allows easier mocking.

    7.2.0
  • When <iframe>s have unresolvable URLs, jsdom will no longer crash, but will instead just load about:blank into them. (This is the spec behavior.)

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