jsdom
31.0.1 · 13 Nov 2026MIT166.2M / weekRepositoryHomepagenpmAtom feed
Upgrading jsdom From 0.2.19 to 0.3.0
1 release in betweenevery note read
Release by release
- New
Add: Support for styles coming from
<style>and<link rel="stylesheet">elements being applied to the results ofwindow.getComputedStyle. - Fixed
A real
querySelectorimplementation, courtesy of the nwmatcher project, solves many outstandingquerySelectorbugs. - Fixed
Script filenames containing spaces will now work when passed to
jsdom.env. - Fixed
Elements with IDs
toString,hasOwnProperty, etc. could cause lots of problems.
- New
4 other lines we could not sort, mostly version bumps
- 0.3.0
Add:
matchesSelector, again via nwmatcher. - 0.3.0
Add: Basic implementation of
focus()andblur()methods on appropriate elements. More work remains. - 0.3.0
Change: A window's
loadevent always fires asynchronously now, even if no external resources are necessary. - 0.3.0
Change: Turning off mutation events is not supported, since doing so breaks external-resource fetching.
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.