Htmlparser2 has a significant update from version 9.1.0 to 10.0.0. The core functionality of providing a fast and forgiving HTML/XML parser remains the same, making upgrades beneficial for ongoing support and improvements. Developers will find updated dependency versions between the releases, impacting compatibility and potentially improving performance. Most notably, the entities dependency jumps from version 4.5.0 to version 6.0.0, and domutils upgrades from 3.1.0 to 3.2.1 which can affect how entities are handled and how DOM elements are manipulated within the parser.
The developer tooling also sees substantial updates. Version 10.0.0 adopts more modern linting and testing practices, shown by shifting from jest to vitest for testing and adding @vitest/coverage-v8 for coverage reports. Typescript and ESLint related dependencies received major version bumps, implying code quality improvements and more strict type checking. A new dependency, tshy, likely contributes to improved type safety by validating Typescript types. The upgrade also indicates a commitment to keeping up with the latest web development standards and practices, potentially offering better performance, security, and maintainability. The increased unpacked size and file count in version 10.0.0 suggests larger codebase, new/updated tests, and enhanced features.
The are not vulnerabilities for the version 10.0.0 of the package htmlparser2