jsdom 18.0.0 represents a notable incremental upgrade over version 17.0.0, offering developers a more refined and standards-compliant environment for testing and emulating web browser behavior in Node.js. Key improvements lie in dependency updates, bolstering the library's robustness and security. For instance, ws (WebSocket client) saw an update from ^8.0.0 to ^8.2.3, resolving potential vulnerabilities and ensuring compatibility with newer WebSocket servers. acorn, the JavaScript parser, moved from ^8.4.1 to ^8.5.0, providing enhanced support for modern JavaScript syntax. whatwg-url advanced from ^9.0.0 to ^10.0.0, aligning the URL parsing implementation more closely with the WHATWG URL standard, and therefore improving correctness. webidl-conversions also upgraded from ^6.1.0 to ^7.0.0, reflecting advancements in the Web IDL specification. The domexception dependency advanced from ^2.0.1 to ^4.0.0, resolving potential bugs and improving error handling. Finally, the w3c-xmlserializer dependency was updated from ^2.0.0 to ^3.0.0.
Developers can leverage these changes for more accurate representation of browser behavior, particularly regarding modern web standards, contributing to more reliable testing of web applications in server-side environments. While many of the dependency upgrades address internal mechanics, they collectively contribute to a more stable and secure jsdom experience. Users should review new versions of dependencies for breaking changes that may impact their projects.
The are not vulnerabilities for the version 18.0.0 of the package jsdom