Antd-img-crop is a handy React component that seamlessly integrates an image cropper into your Ant Design Upload workflows. Comparing versions 4.2.3 and 4.2.2, developers will notice only minor changes, making the upgrade straightforward. Both versions share the same core dependencies, including react-easy-crop for the cropping functionality, and peer dependencies on antd, react, and react-dom, ensuring compatibility with a wide range of projects. The development dependencies also remain consistent, utilizing tools like Rollup for bundling, TypeScript for type checking, and ESLint and Prettier for code quality.
While the code remains largely the same, the critical difference lies in the build itself. Notice that the unpacked size changes slightly between the two versions, from 61591 bytes in 4.2.2 to 61553 bytes in 4.2.3. This size difference might point to subtle optimizations or bug fixes within the bundled code, making 4.2.3 a potentially more efficient choice. Both versions were released on the same day, the 27th of April 2022. Developers should always consult the project's changelog on GitHub for precise details on bug fixes or minor features introduced in version 4.2.3. The similarity highlights the stability of the package and the maintainer's focus on incremental improvements.
The are not vulnerabilities for the version 4.2.3 of the package antd-img-crop