Immer is a popular JavaScript library that simplifies working with immutable state in applications, particularly within Redux or other state management systems. Versions 9.0.15 and 9.0.14 share the same core functionality, continuing to provide a convenient way to create immutable copies of data by allowing developers to "mutate" drafts, which Immer then freezes and returns as a new, immutable state. This approach streamlines code and improves readability compared to manually creating copies. Both versions maintain the same MIT license, author (Michel Weststrate), and funding through Open Collective, ensuring continued community support and development. They also depend on the same suite of developer tools for testing, linting, and building like Jest, TSDX, Typescript and Prettier.
The primary differences between the versions appear to be related to internal improvements and bug fixes. While the devDependencies remain identical, indicating no changes in the tooling or supported libraries, the unpackedSize of the distributed package differs slightly (865268 bytes vs 865232 bytes), suggesting that minor code adjustments or dependency updates, perhaps to fix inconsistencies were made. Most importantly, version 9.0.15 was released on "2022-06-13T11:29:58.374Z" while the previous was released on "2022-05-12T11:44:22.125Z". Developers should upgrade to the newer version (9.0.15) for the latest bug fixes and potential performance improvements.
The are not vulnerabilities for the version 9.0.15 of the package immer