Enzyme 3.1.1 represents a minor version bump over its predecessor, Enzyme 3.1.0, within Airbnb's popular JavaScript testing utility tailored for React applications. Both versions maintain the core functionality of facilitating easier testing of React components by providing a set of tools for rendering, manipulating, and asserting on React output.
A key difference lies in the dependency updates. Enzyme 3.1.1 upgrades rst-selector-parser from version 2.2.2 to 2.2.3. Additionally, there are significant changes in the development dependencies, encompassing: * babel-cli (6.24.1 -> 6.26.0) * eslint (4.4.1 -> 4.10.0) * eslint-config-airbnb (^16.1.0 - new package) * eslint-plugin-import (^2.8.0 - new package) * eslint-plugin-jsx-a11y (^6.0.2 - new package) * eslint-plugin-react (^7.4.0 - new package) * rimraf (2.6.1 -> 2.6.2) * safe-publish-latest (^1.1.1 - new package)
These updates introduce newer linting rules and configuration (via AirBnB's eslint config), helping developers write higher quality and more accessible React code - while newer babel-cli and rimraf help with streamlining the build process and ensure cross-platform compatibility during development.
For developers, upgrading to Enzyme 3.1.1 primarily means benefiting from refined selector parsing and enhanced development tooling. The core testing APIs remain consistent so upgrade should be straightforward. It's advisable to review the changelogs of updated dev dependencies to ensure compatibility with existing project setups. The upgrade encourages best practices in React development through stricter linting and code style enforcement.
The are not vulnerabilities for the version 3.1.1 of the package enzyme