Packages

jsdom

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

Upgrading jsdom From 1.2.3 to 1.5.0

6 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.2.3Latest31.0.1
0
changes to make
0
advisories fixed
1
new
11
fixes

Release by release

  1. 1.5.0nothing new or fixed in the note

  2. 1.4.1

    7 Dec 20141 new
    • New

      Tweak: Faster implementation of NodeList.prototype.length, which should speed up common operations like appendChild and similar.

  3. 1.4.0

    5 Dec 20149 fixes
    • Fixed

      HTMLInputElement.prototype.checked and defaultChecked now behave per the spec.

    • Fixed

      HTMLOptionElement.prototype.selected now behaves per the spec.

    • Fixed

      HTMLInputElement.prototype.value now behaves per the spec.

    • Fixed

      HTMLTextAreaElement.prototype.value and defaultValue now behave per the spec.

  4. 1.3.2

    3 Dec 20141 fix
    • Fixed

      Check if module.parent exists before using it to construct a document's initial URL. Apparently some testing frameworks like Jest do not correctly emulate the module environment; this compensates.

  5. 1.3.1

    18 Nov 20141 fix
    • Fixed

      Changing attributes on <option> elements will now have the correct consequences. For example changing the id attribute now interacts correctly with document.getElementById.

  6. 1.3.0nothing new or fixed in the note

4 other lines we could not sort, mostly version bumps
  • Add: Missing window.console methods, viz. assert, clear, count, debug, group, groupCollapse, groupEnd, table, time, timeEnd, and trace. All except assert do nothing for now, but see #979 for future plans.

    1.5.0
  • Tweak: Make childNodes, and the many places in jsdom that use it, much faster.

    1.5.0
  • Add: HTMLTextAreaElement.prototype.defaultValue now has a setter, and HTMLTextAreaElement.prototype.textLength now exists.

    1.4.0
  • Add: Moved focus and blur methods to HTMLElement.prototype, instead of having them only be present on certain element prototypes. Our focus story is still not very spec-compliant, but this is a step in the right direction.

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