jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
1.5.0 is the newest release of 1.x.
In short
9 fixed1 changed
Release note
HTMLInputElement.prototype.checkedanddefaultCheckednow behave per the spec.HTMLOptionElement.prototype.selectednow behaves per the spec.HTMLInputElement.prototype.valuenow behaves per the spec.HTMLTextAreaElement.prototype.valueanddefaultValuenow behave per the spec.Add:
HTMLTextAreaElement.prototype.defaultValuenow has a setter, andHTMLTextAreaElement.prototype.textLengthnow 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.cloneNodenow works.hasAttributeis 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.