jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
Upgrading jsdom From 7.1.1 to 7.2.2
3 releases in betweenevery note read
Release by release
- Fixed
Fixed
canvasEl.toDataURL(), with thecanvasnpm package installed; a recent update to thecanvaspackage broke how we were passing arguments to do. - Fixed
Fixed
data:URL parsing to allow empty contents, e.g.data:text/css;base64,.
- Fixed
- Fixed
Fixed a regression in XML parsing of attributes with a namespace URL but no prefix (e.g.
<math xmlns="http://www.w3.org/1998/Math/MathML">).
- Fixed
- New
Added support for text selection APIs on
<input>and<textarea>! (sjelin and yaycmyk) - Fixed
Fixed the
<canvas>tag to reset its contents when its width or height changed, including the change from the default 300 × 150 canvas. (Applies only when using thecanvasnpm package.) - Fixed
Fixed an issue where
HTMLCollections would get confused when they contained elements with numericids ornames. - Fixed
Fixed an issue with doctype parsing confusing the system ID and public ID.
- New
2 other lines we could not sort, mostly version bumps
- 7.2.0
- 7.2.0
Made the task posted by
postMessageuse the inside-jsdom timer queue, instead of the Node.js one. This allows easier mocking.
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.