Packages

jsdom

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

Upgrading jsdom From 1.0.2 to 1.5.0

12 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.0.2Latest31.0.1
  1. 1.0.2yours
  2. 11 releases
  3. 1.5.0target
0
changes to make
0
advisories fixed
1
new
18
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.

8 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
  • Add: NodeFilter, in particular its constants.

    1.2.0
  • Add: document.implementation.createHTMLDocument().

    1.1.0
  • Update: no longer requiring separate cssstyle and cssstyle-browserify dependencies; now cssstyle can be used directly. This also un-pins the cssstyle dependency so that future fixes arrive as they appear upstream.

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