Enzyme, a popular JavaScript testing utility for React, saw a release of version 3.7.0 following version 3.6.0, bringing subtle but important updates for developers. Both versions maintain the core functionality of providing tools for asserting, manipulating, and traversing React components' output, making it easier to write robust tests, and share the same set of core dependencies, ensuring compatibility with modern JavaScript features and browser environments.
A notable change lies in the development dependencies. Version 3.7.0 upgrades ESLint to version 5.6.1 and babel-preset-airbnb to version 2.6.0. This indicates a focus on code quality and adherence to Airbnb's widely respected style guide, offering developers a more streamlined and consistent development experience. While version 3.6.0 used ESLint version 5.4.0 and babel-preset-airbnb version 2.5.3.
The increment in unpackedSize from 290968 to 293851 hints at minor additions or adjustments that further improve Enzyme's functionality or internal structure. Developers upgrading should benefit from the latest linting rules. While the core functionality remains similar, these development-focused improvements contribute to a more maintainable and reliable testing environment. Upgrading to version 3.7.0 offers a smoother development workflow by integrating the latest linting rules and style guide presets.
The are not vulnerabilities for the version 3.7.0 of the package enzyme