Antd-img-crop is a handy React component designed to seamlessly integrate image cropping functionality into your Ant Design-based applications. Version 4.2.7 and 4.2.6 are quite similar, sharing the same core functionality as an image cropper for Ant Design Upload components. Both versions maintain the same peer dependencies, requiring antd (version 4.0.0 or higher), react, and react-dom (version 16.8.0 or higher) to function correctly, ensuring compatibility with a wide range of Ant Design and React projects.
The key difference between the two versions lies in the updated dependency on react-easy-crop. Version 4.2.7 upgrades this dependency to "^4.6.1" from "^4.5.1" in version 4.2.6. This upgrade likely includes bug fixes, performance improvements, or new features within the react-easy-crop library, which directly benefits the image cropping experience within antd-img-crop.
For developers, this upgrade signifies a potentially smoother and more feature-rich cropping experience. While the core API of antd-img-crop likely remains consistent between the two versions, the underlying engine for image manipulation (provided by react-easy-crop) has been refined. Consequently, developers upgrading from 4.2.6 to 4.2.7 may encounter slight visual or behavioral changes in the cropping interface due to the updated react-easy-crop library. The unpacked size increased slightly in version 4.2.7, probably due to the upgraded dependency.
The are not vulnerabilities for the version 4.2.7 of the package antd-img-crop