Packages

jsdom

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

Upgrading jsdom From 1.2.0 to 1.5.0

9 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.2.0Latest31.0.1
  1. 1.2.0yours
  2. 8 releases
  3. 1.5.0target
0
changes to make
0
advisories fixed
1
new
15
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.2.3 – 1.3.02 releases, nothing new or fixed in the notes

  7. 1.2.2

    17 Nov 20143 fixes
    • Fixed

      querySelectorAll correctly coerces its argument to a string; notably this allows you to pass arrays.

    • Fixed

      The data setter on text nodes correctly coerces the new value to a string.

    • Fixed

      document.toString() now returns [object HTMLDocument].

  8. 1.2.1

    8 Nov 20141 fix
    • Fixed

      Handling of <template> element parsing and serialization, now that it is supported by parse5.

5 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
  • Tweak: Improve performance of Node.prototype.insertBefore, Node.prototype.removeChild, and several AttributeList methods.

    1.2.3

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.