Stream-json is a powerful Node.js library for processing large JSON files with minimal memory consumption. It allows developers to create custom streaming pipelines for handling JSON data that exceeds available memory. Comparing version 1.9.0 and 1.8.0, the core functionality remains consistent, focusing on SAX-inspired parsing of JSON primitives using streams. Both versions depend on stream-chain (version ^2.2.5) and include heya-unit (^0.3.0) for development. The license remains BSD-3-Clause, and the repository is unchanged.
However, the key difference lies in the releaseDate. Version 1.9.0 was released on October 23, 2024, while version 1.8.0 was released in May 30, 2023. This suggests that version 1.9.0 incorporates updates and potential bug fixes accumulated over the intervening months. Developers should prioritize version 1.9.0 to leverage the latest improvements, optimizations, and any security patches it may contain. Another minor difference is the unpackedSize attribute included in the dist object (90224 bytes vs 90760 bytes), this may indicate new additions or optimizations done to the package in the newest version. Stream-json is ideal for scenarios involving massive JSON datasets, enabling efficient and scalable processing without memory bottlenecks.
The are not vulnerabilities for the version 1.9.0 of the package stream-json