Packages

jsdom

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

Your version

0.2.2

21 Nov 2011Where it was published

0.11.1 is the newest release of 0.2.x.

In short

1 new6 fixed3 changed

Release note

  • Switch to Contextify to manage the window's script execution.

  • Allow nodelists to have a length of 0 and toArray to return an empty array

  • Style serialization; issues #230 and #259

  • Incomplete DOCTYPE causes JavaScript error

  • Indentation, removed outdated debug code and trailing whitespace.

  • Prevent JavaScript error when parsing incomplete <!DOCTYPE>. Closes #259.

  • Adding a test from brianmcd that ensures that setTimeout callbacks execute in the context of the window

  • Fixes issue 250: make document.parentWindow === window work

  • Added test to ensure that timer callbacks execute in the window context.

  • Fixes 2 issues in ResourceQueue

  • Make frame/iframe load/process scripts if the parent has the features enabled

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.