Skip to content

Update dependency eventsource to v4 #10995

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 14, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eventsource 2.0.2 -> 4.0.0 age adoption passing confidence

Release Notes

EventSource/eventsource (eventsource)

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: Branch creation - "after 10pm every weekday,every weekend,before 5am every weekday" in timezone Europe/Paris, 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 added dependencies use for pull requests that update a dependency file filigran team use to identify PR from the Filigran team labels May 14, 2025
Copy link
Contributor Author

renovate bot commented May 14, 2025

⚠️ 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: opencti-platform/opencti-graphql/yarn.lock
➤ YN0000: · Yarn 4.9.1
➤ YN0000: ┌ Resolution step
➤ YN0085: │ + eventsource@patch:eventsource@npm%3A4.0.0#./patch/eventsource-2.0.2.patch::version=4.0.0&hash=524b62&locator=opencti-graphql%40workspace%3A., and 2 more.
➤ YN0085: │ - eventsource@npm:2.0.2, eventsource@patch:eventsource@npm%3A2.0.2#./patch/eventsource-2.0.2.patch::version=2.0.2&hash=524b62&locator=opencti-graphql%40workspace%3A.
➤ YN0000: └ Completed in 0s 961ms
➤ YN0000: ┌ Post-resolution validation
➤ YN0060: │ rate-limiter-flexible is listed by your project with version 7.0.0 (pa3d0b), which doesn't satisfy what graphql-rate-limit-directive requests (^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0).
➤ YN0002: │ opencti-graphql@workspace:. doesn't provide graphql-sock (pda45b), requested by @graphql-codegen/client-preset and other dependencies.
➤ YN0002: │ opencti-graphql@workspace:. doesn't provide webpack (pa805c), requested by ts-loader.
➤ YN0086: │ Some peer dependencies are incorrectly met by your project; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code.
➤ YN0086: │ Some peer dependencies are incorrectly met by dependencies; run yarn explain peer-requirements for details.
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0001: │ Error: eventsource@patch:eventsource@npm%3A4.0.0#./patch/eventsource-2.0.2.patch::version=4.0.0&hash=524b62&locator=opencti-graphql%40workspace%3A.: ENOENT: no such file or directory, lstat '/node_modules/eventsource/lib/eventsource.js'
    at wc (/tmp/renovate/repos/github/OpenCTI-Platform/opencti/opencti-platform/opencti-graphql/.yarn/releases/yarn-4.9.1.cjs:4:1321)
    at Object.E7e (/tmp/renovate/repos/github/OpenCTI-Platform/opencti/opencti-platform/opencti-graphql/.yarn/releases/yarn-4.9.1.cjs:4:1589)
    at ps.resolveFilename (/tmp/renovate/repos/github/OpenCTI-Platform/opencti/opencti-platform/opencti-graphql/.yarn/releases/yarn-4.9.1.cjs:149:207521)
    at ps.lstatSync (/tmp/renovate/repos/github/OpenCTI-Platform/opencti/opencti-platform/opencti-graphql/.yarn/releases/yarn-4.9.1.cjs:149:204861)
    at ps.lstatPromise (/tmp/renovate/repos/github/OpenCTI-Platform/opencti/opencti-platform/opencti-graphql/.yarn/releases/yarn-4.9.1.cjs:149:204792)
    at Sn.lstatPromise (/tmp/renovate/repos/github/OpenCTI-Platform/opencti/opencti-platform/opencti-graphql/.yarn/releases/yarn-4.9.1.cjs:9:2311)
    at U1 (/tmp/renovate/repos/github/OpenCTI-Platform/opencti/opencti-platform/opencti-graphql/.yarn/releases/yarn-4.9.1.cjs:727:9044)
    at HL (/tmp/renovate/repos/github/OpenCTI-Platform/opencti/opencti-platform/opencti-graphql/.yarn/releases/yarn-4.9.1.cjs:729:224)
    at mP.patchPackage (/tmp/renovate/repos/github/OpenCTI-Platform/opencti/opencti-platform/opencti-graphql/.yarn/releases/yarn-4.9.1.cjs:733:2073)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
➤ YN0000: └ Completed in 0s 312ms
➤ YN0000: · Failed with errors in 1s 301ms

@renovate renovate bot added dependencies use for pull requests that update a dependency file filigran team use to identify PR from the Filigran team labels May 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies use for pull requests that update a dependency file filigran team use to identify PR from the Filigran team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants