[PR #73] [MERGED] chore(deps): bump eventsource-parser from 3.1.0 to 4.1.0 #75

Closed
opened 2026-10-31 22:04:19 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Comfy-Org/comfy-typescript-sdk/pull/73
Author: @dependabot[bot]
Created: 8/23/2026
Status: ✅ Merged
Merged: 9/10/2026
Merged by: @mattmillerai

Base: main ← Head: dependabot/npm_and_yarn/eventsource-parser-4.0.0


📝 Commits (1)

  • cdd9d81 chore(deps): bump eventsource-parser from 3.1.0 to 4.1.0

📊 Changes

2 files changed (+7 additions, -7 deletions)

View changed files

📝 package.json (+1 -1)
📝 pnpm-lock.yaml (+6 -6)

📄 Description

Bumps eventsource-parser from 3.1.0 to 4.1.0.

Release notes

Sourced from eventsource-parser's releases.

v4.1.0

Minor Changes

  • #39 0482048 Thanks @​rexxars! - Added an onId callback that reports ID fields when an event block ends, including blocks without data.

v4.0.0

Major Changes

  • #33 39cf365 Thanks @​rexxars! - Require Node.js 22.12 or higher, drop the CommonJS build, and discard invalid lines instead of buffering them

    Breaking changes

    • Node.js 18 and 20 are no longer supported. engines now requires >=22.12, and the browserslist target moved from node >= 18 to node >= 22.12. Older versions may keep working, but they are no longer tested or guaranteed.
    • The CommonJS build has been removed. The main field and the require export conditions are gone, so the package resolves to ./dist/index.js and ./dist/stream.js only. Node 22.12 and above supports require(esm) transparently, so require('eventsource-parser') continues to work there.
    • The root stream.js file has been removed. It re-exported ./dist/stream.cjs for React Native and other bundlers without package exports support. Import eventsource-parser/stream instead, and make sure your bundler resolves the exports field.
    • Invalid lines are now discarded as soon as the parser can tell they cannot become a valid SSE field, rather than being buffered until the line terminator arrives. onError is not called for these, and no line, field, or value is retained. Only lines that are complete when found to be invalid still produce a ParseError with type: 'unknown-field'. This also means reset({consume: true}) no longer reports pending data that was already discarded.
    • Partial comment lines (starting with :) are only buffered when an onComment callback is configured. Without one, they are discarded like any other line the parser has no use for.

    Other changes

    • A leading byte order mark is now stripped whether it arrives as a decoded U+FEFF (for example from a TextDecoder created with ignoreBOM) or as the raw three byte 0xEF 0xBB 0xBF sequence. Previously only the raw form was handled.
    • The README documented an invalid-field error type that the parser never emitted. The ErrorType union is unchanged; the documentation now correctly refers to unknown-field.

v3.1.1

3.1.1 (2026-08-10)

Bug Fixes

  • id: line containing a NULL character wiping the buffered event id (#34) (48d24f8)
Changelog

Sourced from eventsource-parser's changelog.

4.1.0

Minor Changes

  • #39 0482048 Thanks @​rexxars! - Added an onId callback that reports ID fields when an event block ends, including blocks without data.

4.0.0

Major Changes

  • #33 39cf365 Thanks @​rexxars! - Require Node.js 22.12 or higher, drop the CommonJS build, and discard invalid lines instead of buffering them

    Breaking changes

    • Node.js 18 and 20 are no longer supported. engines now requires >=22.12, and the browserslist target moved from node >= 18 to node >= 22.12. Older versions may keep working, but they are no longer tested or guaranteed.
    • The CommonJS build has been removed. The main field and the require export conditions are gone, so the package resolves to ./dist/index.js and ./dist/stream.js only. Node 22.12 and above supports require(esm) transparently, so require('eventsource-parser') continues to work there.
    • The root stream.js file has been removed. It re-exported ./dist/stream.cjs for React Native and other bundlers without package exports support. Import eventsource-parser/stream instead, and make sure your bundler resolves the exports field.
    • Invalid lines are now discarded as soon as the parser can tell they cannot become a valid SSE field, rather than being buffered until the line terminator arrives. onError is not called for these, and no line, field, or value is retained. Only lines that are complete when found to be invalid still produce a ParseError with type: 'unknown-field'. This also means reset({consume: true}) no longer reports pending data that was already discarded.
    • Partial comment lines (starting with :) are only buffered when an onComment callback is configured. Without one, they are discarded like any other line the parser has no use for.

    Other changes

    • A leading byte order mark is now stripped whether it arrives as a decoded U+FEFF (for example from a TextDecoder created with ignoreBOM) or as the raw three byte 0xEF 0xBB 0xBF sequence. Previously only the raw form was handled.
    • The README documented an invalid-field error type that the parser never emitted. The ErrorType union is unchanged; the documentation now correctly refers to unknown-field.

3.1.1 (2026-08-10)

Bug Fixes

  • id: line containing a NULL character wiping the buffered event id (#34) (48d24f8)
Commits
  • 6519a0f chore: version packages (#40)
  • f54bf65 docs: clarify eventsource being cross-runtime, not node.js exclusive
  • 0482048 feat: add an onId callback (#39)
  • 202c19e chore: version packages (#36)
  • fde4ca2 ci: use a conventional commit subject for the version pull request (#38)
  • f32fda2 ci: generate changesets from conventional commit PR titles (#37)
  • c8cd582 chore: add changeset for #33
  • 39cf365 feat!: require node 22.12 or higher, drop commonjs, reduce memory usage (#33)
  • 0e767c4 docs: prepare CHANGELOG.md for changesets
  • f56f2d2 ci: replace semantic-release with changesets (#35)
  • Additional commits viewable in compare view


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Comfy-Org/comfy-typescript-sdk/pull/73 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 8/23/2026 **Status:** ✅ Merged **Merged:** 9/10/2026 **Merged by:** [@mattmillerai](https://github.com/mattmillerai) **Base:** `main` ← **Head:** `dependabot/npm_and_yarn/eventsource-parser-4.0.0` --- ### 📝 Commits (1) - [`cdd9d81`](https://github.com/Comfy-Org/comfy-typescript-sdk/commit/cdd9d8189f5d3de5479456d7616bf4259b9e6356) chore(deps): bump eventsource-parser from 3.1.0 to 4.1.0 ### 📊 Changes **2 files changed** (+7 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `package.json` (+1 -1) 📝 `pnpm-lock.yaml` (+6 -6) </details> ### 📄 Description Bumps [eventsource-parser](https://github.com/rexxars/eventsource-parser) from 3.1.0 to 4.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rexxars/eventsource-parser/releases">eventsource-parser's releases</a>.</em></p> <blockquote> <h2>v4.1.0</h2> <h3>Minor Changes</h3> <ul> <li><a href="https://redirect.github.com/rexxars/eventsource-parser/pull/39">#39</a> <a href="https://github.com/rexxars/eventsource-parser/commit/0482048fb66d4ded8e60c61ffc2fceaeba79eaeb"><code>0482048</code></a> Thanks <a href="https://github.com/rexxars"><code>@​rexxars</code></a>! - Added an <code>onId</code> callback that reports ID fields when an event block ends, including blocks without data.</li> </ul> <h2>v4.0.0</h2> <h3>Major Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/rexxars/eventsource-parser/pull/33">#33</a> <a href="https://github.com/rexxars/eventsource-parser/commit/39cf365dcf82c643fcb885267cfe397c84ae357e"><code>39cf365</code></a> Thanks <a href="https://github.com/rexxars"><code>@​rexxars</code></a>! - Require Node.js 22.12 or higher, drop the CommonJS build, and discard invalid lines instead of buffering them</p> <p><strong>Breaking changes</strong></p> <ul> <li>Node.js 18 and 20 are no longer supported. <code>engines</code> now requires <code>&gt;=22.12</code>, and the browserslist target moved from <code>node &gt;= 18</code> to <code>node &gt;= 22.12</code>. Older versions may keep working, but they are no longer tested or guaranteed.</li> <li>The CommonJS build has been removed. The <code>main</code> field and the <code>require</code> export conditions are gone, so the package resolves to <code>./dist/index.js</code> and <code>./dist/stream.js</code> only. Node 22.12 and above supports <code>require(esm)</code> transparently, so <code>require('eventsource-parser')</code> continues to work there.</li> <li>The root <code>stream.js</code> file has been removed. It re-exported <code>./dist/stream.cjs</code> for React Native and other bundlers without package exports support. Import <code>eventsource-parser/stream</code> instead, and make sure your bundler resolves the <code>exports</code> field.</li> <li>Invalid lines are now discarded as soon as the parser can tell they cannot become a valid SSE field, rather than being buffered until the line terminator arrives. <code>onError</code> is not called for these, and no <code>line</code>, <code>field</code>, or <code>value</code> is retained. Only lines that are complete when found to be invalid still produce a <code>ParseError</code> with <code>type: 'unknown-field'</code>. This also means <code>reset({consume: true})</code> no longer reports pending data that was already discarded.</li> <li>Partial comment lines (starting with <code>:</code>) are only buffered when an <code>onComment</code> callback is configured. Without one, they are discarded like any other line the parser has no use for.</li> </ul> <p><strong>Other changes</strong></p> <ul> <li>A leading byte order mark is now stripped whether it arrives as a decoded <code>U+FEFF</code> (for example from a <code>TextDecoder</code> created with <code>ignoreBOM</code>) or as the raw three byte <code>0xEF 0xBB 0xBF</code> sequence. Previously only the raw form was handled.</li> <li>The README documented an <code>invalid-field</code> error type that the parser never emitted. The <code>ErrorType</code> union is unchanged; the documentation now correctly refers to <code>unknown-field</code>.</li> </ul> </li> </ul> <h2>v3.1.1</h2> <h2><a href="https://github.com/rexxars/eventsource-parser/compare/v3.1.0...v3.1.1">3.1.1</a> (2026-08-10)</h2> <h3>Bug Fixes</h3> <ul> <li><code>id:</code> line containing a NULL character wiping the buffered event id (<a href="https://redirect.github.com/rexxars/eventsource-parser/issues/34">#34</a>) (<a href="https://github.com/rexxars/eventsource-parser/commit/48d24f8f43f861dac6e81847bd6973909676bc71">48d24f8</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rexxars/eventsource-parser/blob/main/CHANGELOG.md">eventsource-parser's changelog</a>.</em></p> <blockquote> <h2>4.1.0</h2> <h3>Minor Changes</h3> <ul> <li><a href="https://redirect.github.com/rexxars/eventsource-parser/pull/39">#39</a> <a href="https://github.com/rexxars/eventsource-parser/commit/0482048fb66d4ded8e60c61ffc2fceaeba79eaeb"><code>0482048</code></a> Thanks <a href="https://github.com/rexxars"><code>@​rexxars</code></a>! - Added an <code>onId</code> callback that reports ID fields when an event block ends, including blocks without data.</li> </ul> <h2>4.0.0</h2> <h3>Major Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/rexxars/eventsource-parser/pull/33">#33</a> <a href="https://github.com/rexxars/eventsource-parser/commit/39cf365dcf82c643fcb885267cfe397c84ae357e"><code>39cf365</code></a> Thanks <a href="https://github.com/rexxars"><code>@​rexxars</code></a>! - Require Node.js 22.12 or higher, drop the CommonJS build, and discard invalid lines instead of buffering them</p> <p><strong>Breaking changes</strong></p> <ul> <li>Node.js 18 and 20 are no longer supported. <code>engines</code> now requires <code>&gt;=22.12</code>, and the browserslist target moved from <code>node &gt;= 18</code> to <code>node &gt;= 22.12</code>. Older versions may keep working, but they are no longer tested or guaranteed.</li> <li>The CommonJS build has been removed. The <code>main</code> field and the <code>require</code> export conditions are gone, so the package resolves to <code>./dist/index.js</code> and <code>./dist/stream.js</code> only. Node 22.12 and above supports <code>require(esm)</code> transparently, so <code>require('eventsource-parser')</code> continues to work there.</li> <li>The root <code>stream.js</code> file has been removed. It re-exported <code>./dist/stream.cjs</code> for React Native and other bundlers without package exports support. Import <code>eventsource-parser/stream</code> instead, and make sure your bundler resolves the <code>exports</code> field.</li> <li>Invalid lines are now discarded as soon as the parser can tell they cannot become a valid SSE field, rather than being buffered until the line terminator arrives. <code>onError</code> is not called for these, and no <code>line</code>, <code>field</code>, or <code>value</code> is retained. Only lines that are complete when found to be invalid still produce a <code>ParseError</code> with <code>type: 'unknown-field'</code>. This also means <code>reset({consume: true})</code> no longer reports pending data that was already discarded.</li> <li>Partial comment lines (starting with <code>:</code>) are only buffered when an <code>onComment</code> callback is configured. Without one, they are discarded like any other line the parser has no use for.</li> </ul> <p><strong>Other changes</strong></p> <ul> <li>A leading byte order mark is now stripped whether it arrives as a decoded <code>U+FEFF</code> (for example from a <code>TextDecoder</code> created with <code>ignoreBOM</code>) or as the raw three byte <code>0xEF 0xBB 0xBF</code> sequence. Previously only the raw form was handled.</li> <li>The README documented an <code>invalid-field</code> error type that the parser never emitted. The <code>ErrorType</code> union is unchanged; the documentation now correctly refers to <code>unknown-field</code>.</li> </ul> </li> </ul> <h2><a href="https://github.com/rexxars/eventsource-parser/compare/v3.1.0...v3.1.1">3.1.1</a> (2026-08-10)</h2> <h3>Bug Fixes</h3> <ul> <li><code>id:</code> line containing a NULL character wiping the buffered event id (<a href="https://redirect.github.com/rexxars/eventsource-parser/issues/34">#34</a>) (<a href="https://github.com/rexxars/eventsource-parser/commit/48d24f8f43f861dac6e81847bd6973909676bc71">48d24f8</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rexxars/eventsource-parser/commit/6519a0f70dfeb22f829e5c696da2cb4988d64c6a"><code>6519a0f</code></a> chore: version packages (<a href="https://redirect.github.com/rexxars/eventsource-parser/issues/40">#40</a>)</li> <li><a href="https://github.com/rexxars/eventsource-parser/commit/f54bf65b59072cf2cf448d62fd8a062b3855eef1"><code>f54bf65</code></a> docs: clarify <code>eventsource</code> being cross-runtime, not node.js exclusive</li> <li><a href="https://github.com/rexxars/eventsource-parser/commit/0482048fb66d4ded8e60c61ffc2fceaeba79eaeb"><code>0482048</code></a> feat: add an <code>onId</code> callback (<a href="https://redirect.github.com/rexxars/eventsource-parser/issues/39">#39</a>)</li> <li><a href="https://github.com/rexxars/eventsource-parser/commit/202c19e1fbca870850ef013277937cabe33f8b0f"><code>202c19e</code></a> chore: version packages (<a href="https://redirect.github.com/rexxars/eventsource-parser/issues/36">#36</a>)</li> <li><a href="https://github.com/rexxars/eventsource-parser/commit/fde4ca24abf594c3969f121ca59c0318f1e21b1e"><code>fde4ca2</code></a> ci: use a conventional commit subject for the version pull request (<a href="https://redirect.github.com/rexxars/eventsource-parser/issues/38">#38</a>)</li> <li><a href="https://github.com/rexxars/eventsource-parser/commit/f32fda208950b44cde903a144680ba8c295302e2"><code>f32fda2</code></a> ci: generate changesets from conventional commit PR titles (<a href="https://redirect.github.com/rexxars/eventsource-parser/issues/37">#37</a>)</li> <li><a href="https://github.com/rexxars/eventsource-parser/commit/c8cd5829d60555c4d1b73095283376d5f0aa3d51"><code>c8cd582</code></a> chore: add changeset for <a href="https://redirect.github.com/rexxars/eventsource-parser/issues/33">#33</a></li> <li><a href="https://github.com/rexxars/eventsource-parser/commit/39cf365dcf82c643fcb885267cfe397c84ae357e"><code>39cf365</code></a> feat!: require node 22.12 or higher, drop commonjs, reduce memory usage (<a href="https://redirect.github.com/rexxars/eventsource-parser/issues/33">#33</a>)</li> <li><a href="https://github.com/rexxars/eventsource-parser/commit/0e767c41205d777d9db260237b017f835b09c067"><code>0e767c4</code></a> docs: prepare CHANGELOG.md for changesets</li> <li><a href="https://github.com/rexxars/eventsource-parser/commit/f56f2d289384e11b90051ef4272d4c7a840f8bbe"><code>f56f2d2</code></a> ci: replace semantic-release with changesets (<a href="https://redirect.github.com/rexxars/eventsource-parser/issues/35">#35</a>)</li> <li>Additional commits viewable in <a href="https://github.com/rexxars/eventsource-parser/compare/v3.1.0...v4.1.0">compare view</a></li> </ul> </details> <br /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 22:04:19 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/comfy-typescript-sdk#75
No description provided.