Antd-img-crop has a new version 4.2.1, released on April 25, 2022, following version 4.2.0 released on March 17, 2022. Key upgrades focus on integrating with newer versions of its dependencies. React-easy-crop, the core cropping library, is updated from version ^4.1.3 to ^4.1.5, potentially including bug fixes and performance enhancements within the cropping functionality of the component.
This version bumps the supported React version from 17.x to 18.x in both devDependencies and peerDependencies, allowing developers to seamlessly integrate antd-img-crop into React 18 projects. Correspondingly, react-dom and types for react and react-dom are also upgraded to version 18.x, taking advantage of new React 18 features and improvements.
The update also incorporates more recent versions of development tools such as eslint, rollup, prettier, and typescript, alongside their associated plugins and configurations. The update uses newer versions of ant design to 4.20 from 4.19.2. While seemingly minor, these updates can provide developers with a better experience through features like better code linting, more efficient bundling, improved code formatting, and enhanced type checking during development. The unpacked size of the package has slightly increased, a reflection of the updated dependencies and potential additions or code changes. Developers should upgrade when using the latest React versions or want to leverage the latest bug fixes.
The are not vulnerabilities for the version 4.2.1 of the package antd-img-crop