Flatted, a lightweight and performant circular JSON parser, has a recent update. Version 3.2.13 was released on February 20, 2024, just minutes after its predecessor, version 3.2.12, which also came out on the same day. Diving into the details, the core functionalities and dependencies remain consistent between these two releases. That means you can still expect a super light and fast solution when dealing with circular JSON structures that can cause problems when using standard JSON methods. Both versions list the same set of devDependencies, including tools like c8, jsan, ascjs, rollup, terser, typescript, and various Babel and Rollup plugins, ensuring a modern development and build pipeline.
The key difference lies within their distributed packages. Version 3.2.13 has an unpackedSize of 40562 bytes, a minor increase from version 3.2.12 which has a slightly smaller size of 40540 bytes. This seemingly minor difference probably reflects some internal tweaks, optimizations, or potential patch that was necessary. Both have the fileCount of 16. The developer Andrea Giammarchi remains the author for both.
For developers already using Flatted, upgrading to 3.2.13 is likely a low-risk endeavor. While no major features or API changes are apparent between these releases, the updated version likely aims to improve stability, performance, or address specific edge cases. Given the extremely short timeframe between releases, it's recommended to upgrade from previous versions to ensure you are running the most stable and optimized build of Flatted. As always, it's good practice to test the update in your environment since you can expect this tool to function as a drop-in replacement for JSON.stringify and JSON.parse while handling structures with recursive references.
The are not vulnerabilities for the version 3.2.13 of the package flatted