Packages

jsdom

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

Your version

0.2.16

12 Oct 2012Where it was published

0.11.1 is the newest release of 0.2.x.

In short

1 removed9 fixed1 changed

  • Removed

    Remove the value property from Text instances (e.g. text nodes).

Release note

  • Update: Sizzle version updated to circa September 2012.

  • When setting a text node's value to a falsy value, convert it to a string instead of coercing it to "".

  • Use the cssstyle package for CSSStyleDeclaration, giving much more accurate cssText and style properties on all elements.

  • The checked property on checkboxes and radiobuttons now reflects the attribute correctly.

  • HTMLOptionElement's text property should return the option's text, not its value.

  • Make the name property only exist on certain specific tags, and accurately reflect the corresponding name attribute.

  • Don't format outerHTML (especially important for <pre> elements).

  • Removed

    Remove the value property from Text instances (e.g. text nodes).

  • Don't break in the presence of a String.prototype.normalize method, like that of sugar.js.

  • Include level3/xpath correctly.

  • Many more tests passing, especially related to file:/// URLs on Windows. Tests can now be run with npm test.

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.