Packages

jsdom

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

Your version

1.4.0

5 Dec 2014Where it was published

1.5.0 is the newest release of 1.x.

In short

9 fixed1 changed

Release note

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

  • HTMLOptionElement.prototype.selected now behaves per the spec.

  • HTMLInputElement.prototype.value now behaves per the spec.

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

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

  • Resetting a <form> now behaves per spec for all different types of form elements.

  • Radio buttons reset other radio buttons correctly now per the spec.

  • document.cloneNode now works.

  • hasAttribute is now case-insensitive, as it should be.

  • div.toString() now returns [object HTMLDivElement].

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.