Skip to content

[Snyk] Security upgrade @opentelemetry/sdk-node from 0.219.0 to 0.220.0#2622

Open
simlarsen wants to merge 2 commits into
masterfrom
snyk-fix-a04554fa3a803b1bd6b9847d7281b1c1
Open

[Snyk] Security upgrade @opentelemetry/sdk-node from 0.219.0 to 0.220.0#2622
simlarsen wants to merge 2 commits into
masterfrom
snyk-fix-a04554fa3a803b1bd6b9847d7281b1c1

Conversation

@simlarsen

Copy link
Copy Markdown
Contributor

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • Common/package.json
  • Common/package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue
high severity Uncaught Exception
SNYK-JS-OPENTELEMETRYPROPAGATORJAEGER-17901201

Breaking Change Risk

Merge Risk: High

Notice: This assessment is enhanced by AI.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Uncaught Exception

@simlarsen

Copy link
Copy Markdown
Contributor Author

Merge Risk: High

This upgrade to @opentelemetry/sdk-node introduces a breaking change to the constructor of BatchLogRecordProcessor and deprecates several re-exports.

Breaking Change:

  • The BatchLogRecordProcessor constructor signature has been changed. It now accepts a single options object instead of two separate arguments.
    • Before: new BatchLogRecordProcessor(exporter, { maxQueueSize: 1000 })
    • After: new BatchLogRecordProcessor({ exporter, maxQueueSize: 1000 })

Deprecations:

  • The re-export of @opentelemetry/sdk-trace-node and @opentelemetry/sdk-trace-base from within @opentelemetry/sdk-node is now deprecated. It is recommended to import directly from the specific packages.

Recommendation:
Review any usage of BatchLogRecordProcessor and update its instantiation to use the new single-object argument. Plan to update imports for tracing components to avoid issues in future versions.

Source: GitHub Release Notes

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

@simlarsen

simlarsen commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Snyk checks are incomplete.

Status Scan Engine Critical High Medium Low Total (0)
⚠️ Open Source Security 0 0 0 0 See details

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

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.

2 participants