The eventsource-parser library, designed for parsing Server-Sent Events (SSE) streams in a source-agnostic and streaming manner, has a new version, 3.0.1, released on March 27, 2025. Comparing it to the previous stable version, 3.0.0, released on October 19, 2024, reveals subtle but meaningful differences centered around potential bug fixes or minor enhancements.
Both versions share the same core functionality and developer dependencies, including tools for linting(eslint), formatting (prettier), testing (vitest), and TypeScript support (typescript, @typescript-eslint/*). They utilise consistent development practices, such as semantic release for automated versioning and Sanity's package utilities. The library's license remains MIT, and the repository URL and author details stay unchanged, ensuring continuity for existing users.
The key difference lies in the dist object, which describes the distribution package. While both versions have the same number of files (26) within the package, version 3.0.1 exhibits a slight increase in unpackedSize, going from 246663 bytes in version 3.0.0 to 249830 bytes. This suggests that the newer version incorporates small modifications, possibly bug fixes of enhancements impacting the overall size . Developers should consider upgrading to version 3.0.1 to benefit from these potential improvements, as the update ensures the use of the most recent, stable version of the SSE parsing library. Those using version 3.0.0 might encounter resolved issues or optimizations present in 3.0.1.
The are not vulnerabilities for the version 3.0.1 of the package eventsource-parser