Antd-img-crop has released version 4.0.0, a notable upgrade from the previous stable release, version 3.16.0. A primary difference lies in the dependencies. Version 4.0.0 updates react-easy-crop to ^4.0.1 from ^3.5.2, potentially bringing in new features and performance improvements from its core dependency. The newer version also streamlines its development dependencies, removing TypeScript and replacing numerous @types dev dependencies (present in 3.16.0) which suggests improvements in internal tooling or a shift in development workflow. Changes are also seen in babel dependencies, moving to more recent versions like @babel/core and @babel/preset-env. Noticeably, prop-types has been removed from peerDependencies in 4.0.0, possibly indicating an internal refactoring or reliance on React's built-in prop type checking. Another important aspect is the reduction in file count and unpacked size in version 4.0.0, which could translate to a smaller bundle size for end-users. Furthermore, version 4.0.0 includes @babel/runtime as a peer dependency, making compatibility with other libraries using it easier. Developers should be aware of these changes when upgrading, particularly concerning the updated react-easy-crop dependency and potential peer dependency implications, as they may necessitate adjustments in their projects. The package continues to support Ant Design version 4 and React version 16.8 or higher.
The are not vulnerabilities for the version 4.0.0 of the package antd-img-crop