Jsdom version 20.0.1 is a minor upgrade from version 20.0.0, offering a refined JavaScript implementation of web standards, crucial for developers testing web applications in Node.js environments. The core functionalities remain consistent, ensuring a smooth transition for existing users. The key differences lie primarily in the updated dependencies,reflecting ongoing maintenance and compatibility enhancements.
Specifically, ws(Websocket) dependency is upgraded from ^8.8.0 to ^8.9.0, acorn, a JavaScript parser, is updated from ^8.7.1 to ^8.8.0. parse5, the HTML parsing Library had a major update from version 7.0.0 to 7.1.1. and decimal.js sees an upgrade from ^10.3.1 to ^10.4.1. Tough-cookie the HTTP cookie parser and serializer is bumped from 4.0.0 to 4.1.2. Several development dependencies also received updates, including eslint-plugin-html(6.2.0 => 7.1.0), karma(6.3.20 => 6.4.1) and yargs(17.5.1 => 17.6.0).
These updates typically bring bug fixes, performance improvements, and enhanced security, making the newer version a preferable choice for new jsdom integrations. While the core APIs and usage patterns remain consistent, developers should review the changelogs of the updated dependencies to understand the specific changes and ensure compatibility with their existing code. The peer dependency on canvas remains unchanged, indicating no breaking changes in that area. Overall, version 20.0.1 delivers a more robust and up-to-date jsdom experience. This update also indicates active project maintenance, a reassuring sign for anyone relying on jsdom for testing or server-side rendering.
The are not vulnerabilities for the version 20.0.1 of the package jsdom