Skip to content

fix(deps): update dependency eventsource to v5 - #264

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/eventsource-5.x
Open

fix(deps): update dependency eventsource to v5#264
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/eventsource-5.x

Conversation

@renovate

@renovate renovate Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
eventsource ^2.0.2^5.0.0 age confidence

Release Notes

EventSource/eventsource (eventsource)

v5.0.0

Compare Source

Major Changes
  • #​349 b195e70 Thanks @​rexxars! - - BREAKING CHANGE: The client now fails the connection, emitting an error without reconnecting, if the parser buffers 100 MB without receiving a valid, complete EventSource line. Configure a different limit with maxBufferSize; ideally, servers should emit smaller chunks or newlines more frequently.
    • BREAKING CHANGE: Node.js 22.12 or later is now required. Older Node.js versions may still work, but are not supported or guaranteed going forward because Node.js 20 is out of LTS.
    • BREAKING CHANGE: The separate CommonJS variant is no longer published. Node.js 22.12 and later transparently supports require() of ESM, so most CommonJS consumers should continue to work. This removes the dual-package hazard.
    • BREAKING CHANGE: Chrome versions before 84, Safari before 15, Firefox before 105, Edge before 84, and JavaScript environments without private fields, methods, and accessors are no longer supported.
    • BREAKING CHANGE: When both an on* property handler and an addEventListener() listener are registered for the same event, they now run in registration order instead of always running the on* handler first. Code that relied on the old order can observe a different callback sequence.
    • Unref reconnection timers where the runtime supports it, so pending reconnects do not keep the process alive.

v4.1.1

Compare Source

Patch Changes
  • #​351 6127f40 Thanks @​rexxars! - Allow a value of any type in ReaderLike done-results. TypeScript 5.9's DOM lib types ReadableStreamDefaultReader.read()'s done-result as {done: true, value: T | undefined}, so a custom fetch returning a Response-shaped body no longer satisfied FetchLikeResponse on TypeScript 5.9 and newer, forcing consumers to hand-wrap the reader.

v4.1.0

Compare Source

Features
  • declare fetch override support symbol on class (5575122)

v4.0.0

Compare Source

⚠ BREAKING CHANGES
  • FetchLikeInit is now removed. Use
    EventSourceFetchInit.
  • Drop support for Node.js v18, as it is end-of-life.
Features
  • require node.js v20 or higher (91a3a48)
Bug Fixes
  • drop FetchLikeInit type. Use EventSourceFetchInit instead. (6786e46)

v3.0.7

Compare Source

Bug Fixes
  • mark fetch init properties required in typings (1282872)

v3.0.6

Compare Source

Bug Fixes
  • upgrade parser to latest version, improving performance (59a5ddd)

v3.0.5

Compare Source

Bug Fixes
  • include message and code on errors when logging in node.js and deno (f2596b3)

v3.0.4

Compare Source

Bug Fixes
  • ensure message is set on ErrorEvent on network errors (d1dc711)

v3.0.3

Compare Source

Bug Fixes
  • bundle event listener typings (2c51349)

v3.0.2

Compare Source

Bug Fixes
  • reference possibly missing event typings (d3b6849)

v3.0.1

Compare Source

Bug Fixes
  • run build prior to publishing (f86df19)

v3.0.0

Compare Source

⚠ BREAKING CHANGES
  • Drop support for Node.js versions below v18
  • The module now uses a named export instead of a default export.
  • UMD bundle dropped. Use a bundler.
  • headers in init dict dropped, pass a custom fetch function instead.
  • HTTP/HTTPS proxy support dropped. Pass a custom fetch function instead.
  • https.* options dropped. Pass a custom fetch function that provides an agent/dispatcher instead.
  • New default reconnect delay: 3 seconds instead of 1 second.
  • Reconnecting after a redirect will now always use the original URL, even if the status code was HTTP 307.
Features
  • modernize - use fetch, WebStreams, TypeScript, ESM (#​330) (40655f7)
Bug Fixes
  • dispatchEvent now emits entire event object (eb430c0)
  • empty options no longer disable certificate checks (372d387)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate

renovate Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: yarn.lock
error SyntaxError: Invalid value type 400:0 in /tmp/renovate/repos/github/NodeBB/nodebb-plugin-ntfy/yarn.lock
    at Parser.unexpected (/opt/containerbase/tools/yarn-slim/1.22.22/24.19.0/node_modules/yarn/lib/cli.js:64026:11)
    at Parser.parse (/opt/containerbase/tools/yarn-slim/1.22.22/24.19.0/node_modules/yarn/lib/cli.js:64154:16)
    at Parser.parse (/opt/containerbase/tools/yarn-slim/1.22.22/24.19.0/node_modules/yarn/lib/cli.js:64131:26)
    at parse (/opt/containerbase/tools/yarn-slim/1.22.22/24.19.0/node_modules/yarn/lib/cli.js:64231:21)
    at module.exports.exports.default (/opt/containerbase/tools/yarn-slim/1.22.22/24.19.0/node_modules/yarn/lib/cli.js:63793:96)
    at Lockfile.<anonymous> (/opt/containerbase/tools/yarn-slim/1.22.22/24.19.0/node_modules/yarn/lib/cli.js:3068:63)
    at Generator.next (<anonymous>)
    at step (/opt/containerbase/tools/yarn-slim/1.22.22/24.19.0/node_modules/yarn/lib/cli.js:310:30)
    at /opt/containerbase/tools/yarn-slim/1.22.22/24.19.0/node_modules/yarn/lib/cli.js:321:13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants