happy-dom
21.0.4 · 20 Oct 2026MIT37.8M / weekRepositorynpmAtom feed
Upgrading happy-dom From 16.2.7 to 16.8.1
18 releases in betweenevery note read
Security
5 advisories still affect 16.8.1
- Happy DOM: VM Context Escape can lead to Remote Code Executioncritical · GHSA-37j7-fg3j-429f
- Happy DOM has cookie scope forgery: no DNS-label boundary on Domain= matching , attacker origin sets victim cookiesmoderate · GHSA-5fpq-26gf-qwcr
- Happy DOM ECMAScriptModuleCompiler: unsanitized export names are interpolated as executable codehigh · GHSA-6q6h-j7hj-3r64
Upgrading to 21.0.0 clears them.
Release by release
- Fixed
Handle non-string values gracefully when removing an attribute - By @OlaviSau in task #1706
- Fixed
- New
Add support for
insertRow()anddeleteRow()toHTMLTableSectionElement- By @christiango in task #1708
- New
- Fixed
Removes space from directory name that prevents the repo to be cloned on MS Windows - By @kleinfreund in task #1703
- Fixed
- Fixed
Ignore invalid cookies in CookieContainer - By @capricorn86 in task #1693
- Fixed
- New
Adds
ICookie,IOptionalCookie,CookieSameSiteEnumandIVirtualServeras exports to the index file - By @capricorn86 in task #1693
- New
- New
Adds support for simulating local HTTP servers that serves files from the local file system - By @capricorn86 in task #1688
- New
- New
Adds support for subsequent sibling combinator to
querySelector(),querySelectorAll()andmatches()(e.g. ".a ~ .b") - By @karpiuMG in task #1683
- New
- Fixed
Fixes problem with encoding and decoding attribute values in HTML - By @capricorn86 in task #1678
- Fixed
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.