jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
Upgrading jsdom From 6.4.0 to 6.5.1
2 releases in betweenevery note read
Other targets from 6.4.0Latest31.0.1
Release by release
- Fixed
Fixed an issue where with
jsdom.jsdom, you had to passreferrerandcookieoptions as top-level, whereas withjsdom.env, you had to nest them under adocumentoption. This was unnecessarily confusing. Now both possibilities are allowed for both functions. (The readme only documents the top-level version, though.)
- Fixed
- New
Added
NodeList.prototype[Symbol.iterator], so you can now usefor-ofloops withNodeLists.
- New
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.