Enzyme, a popular JavaScript testing utility for React, saw a release of version 3.5.0 following closely after version 3.4.4. Both versions maintain the core functionality of simplifying React component testing, but subtle differences cater to developers seeking the most up-to-date and efficient tools.
A notable change in dependencies involves lodash. Version 3.4.4 relies on the full lodash library (^4.17.4), while 3.5.0 replaces it with lodash.escape and lodash.isequal (^4.0.1 and ^4.5.0 respectively). This granular approach potentially reduces the bundle size, benefiting performance, because it reduces unused code.
In terms of developer tooling, version 3.5.0 updates some devDependencies. The eslint version is bumped from ^5.3.0 to ^5.4.0, while no impact on the final package is expected.
The newer version was published on August 25, 2018, offering the latest updates and bug fixes available at that time compared to version 3.4.4, which was released on August 17, 2018. Selecting the right version depends on specific project needs and compatibility with other dependencies, but version 3.5.0 offers a more fine-grained approach to lodash and the latest features in ESLint at the time of release.
The are not vulnerabilities for the version 3.5.0 of the package enzyme