Jsdom version 17.0.0 brings several notable updates and improvements compared to version 16.7.0, making it an appealing choice for developers leveraging this JavaScript implementation of web standards. A key difference lies in the updated dependencies. Version 17.0.0 upgrades ws to ^8.0.0 from ^7.4.6, acorn to ^8.4.1 from ^8.2.4, and whatwg-url to ^9.0.0 from ^8.5.0. The form-data dependency also sees an upgrade to ^4.0.0 from ^3.0.0 and decimal.js is updated to ^10.3.1 from ^10.2.1. These dependency updates likely incorporate bug fixes, performance enhancements, and new features from those respective packages, potentially offering a more stable and feature-rich experience within jsdom.
Additionally, developers utilizing jsdom should note changes in the development dependencies. Version 17.0.0 uses newer versions of chai, karma, mocha, eslint and others which means the the newest recommendations and standars are supported and followed. The upgrade to these underlying packages contributes to a more robust and up-to-date environment for simulating web browser functionality within Node.js. This makes jsdom 17.0.0 a worthwhile upgrade for developers seeking enhanced stability, performance, and alignment with recent web standards updates reflected in its dependencies.
The are not vulnerabilities for the version 17.0.0 of the package jsdom