jsdom v18.0.0 Release Notes
-
๐ Potentially-breaking bug fixes:
- ๐ Fixed SSL certificate checking for WebSocket connections. Previously, invalid SSL certificates were always accepted; now, they properly respect the
ResourceLoader
'sstrictSSL
option (which defaults totrue
). - ๐ Changed the global in which almost all
Promise
andTypeError
instances are created to be the jsdom global, not the Node.js global. This could affect any code that usesinstanceof
.
Other changes:
- ๐ Fixed moving an element between HTML and XML documents to reset the
tagName
cache, allowing it to return a lowercase value once it's in the XML document. (LucasLefevre) - ๐ Fixed form submission to not happen when the form is invalid. (pozil)
- ๐ Fixed SSL certificate checking for WebSocket connections. Previously, invalid SSL certificates were always accepted; now, they properly respect the