Enzyme-to-json is a valuable tool for React developers using Jest and Enzyme for testing, simplifying the creation of snapshot tests. Version 3.6.2 arrived on April 8, 2021, succeeding version 3.6.1, which was released on September 28, 2020. While both versions share the core functionality of converting Enzyme wrappers into Jest-compatible snapshot formats, a key difference lies in their dependencies. Version 3.6.2 has an updated lodash dependency, "^4.17.21", compared to "^4.17.15" in version 3.6.1. This update suggests potential bug fixes, performance improvements, or new features within the lodash utility library that enzyme-to-json now leverages.
For developers, this means version 3.6.2 might offer subtly enhanced performance or reliability due to the updated lodash. Both versions maintain compatibility with a broad range of related technologies. They are designed to work seamlessly with Enzyme versions 3.4.0 and above as a peer dependency. The dev dependencies list include tools for linting, testing, and building such as Babel, Jest, and Enzyme itself. The core dependencies, like @types/cheerio and react-is, remain consistent, ensuring stability in how the package handles DOM manipulation and React component checks. Choosing between these versions largely depends on whether the lodash update is relevant to your project's specific needs and dependency management strategy.
The are not vulnerabilities for the version 3.6.2 of the package enzyme-to-json