Jest Image Snapshot, a popular Jest matcher for visual regression testing, released version 6.5.0, building upon the previous stable version 6.4.0. Both versions share the core functionality of comparing images within Jest tests, ensuring UI consistency. Key dependencies like glur, chalk, pngjs, lodash, ssim.js, get-stdin, and pixelmatch remain consistent, indicating the core image comparison logic remains stable.
The most notable difference lies in the rimraf dependency. Version 6.5.0 upgrades rimraf from ^2.6.2 to ^5.0.10, suggesting improvements in file system handling, possibly related to cross-platform compatibility or bug fixes in removing directories. A new dependency called chalk version ^4.0.0 has been added on 6.5.0.
For developers considering upgrading, the rimraf update could be a compelling reason, potentially resolving file deletion issues encountered in specific environments. The core image matching functionality, powered by libraries like pixelmatch and ssim.js, is consistent between versions, ensuring existing tests should continue to function as expected. The file count in the dist object shows a slight increase from 16 to 17, and the unpacked size has increased a bit. The peer dependency of jest, remains the same. Finally, the release date tells that version 6.5.0 was released almost one year after the version 6.4.0. Therefore, upgrading offers updated components and potential stability improvements without requiring significant code changes.
The are not vulnerabilities for the version 6.5.0 of the package jest-image-snapshot