rfdc (Really Fast Deep Clone) offers developers a performant solution for creating deep copies of JavaScript objects. Examining versions 1.2.0 and 1.1.4 reveals key updates that may influence a developer's choice. Version 1.2.0, released in January 2021, showcases an increase in both file count (9 vs. 5) and unpacked size (21765 vs. 16273) compared to version 1.1.4, which was released in May 2019. This size difference suggests added features, optimizations, or expanded test coverage. Notably, version 1.2.0 adds tsd (a TypeScript Definition manager) as a dev dependency and removes clone-deep from the dev dependencies, also adding standard with a newer version.
These changes are intriguing for developers prioritizing code quality and maintainability. The inclusion of tsd hints at improved TypeScript support, potentially offering better type safety and autocompletion for developers using TypeScript. While the core functionality of deep cloning remains the same, the newer version seems to emphasize a robust development workflow and better integration with modern JavaScript tooling. The later release date of v1.2.0 also suggests ongoing maintenance and potential bug fixes, making it a likely preferable choice for new projects requiring a reliable deep clone utility. The absence of clone-deep in the dev dependencies of 1.2.0 might mean that the library is not benchmarking itself againist clone-deep or there where changes on the benchmarking tooling.
The are not vulnerabilities for the version 1.2.0 of the package rfdc