fix(deps): bump vulnerable opentelemetry and esbuild dependencies
Addresses reported vulnerabilities in opentelemetry and esbuild dependencies.
- Bumps the direct
@opentelemetry/apidependency to^1.9.1. - Adds
overridesto force patched versions of the relevant transitive dependencies, since the source packages pin them exactly / with~:@netlify/otel:@opentelemetry/core^2.8.0,@opentelemetry/instrumentation^0.219.0,@opentelemetry/resources^2.8.0,@opentelemetry/sdk-trace-node^2.8.0@netlify/edge-bundlerand@netlify/zip-it-and-ship-it:esbuild^0.28.1
The overrides can be removed once the source packages release with these bumps. npm install resolves cleanly and npm run typecheck passes.
No actionable comments were generated in the recent review. ๐
โน๏ธ Recent review info
โ๏ธ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 0f8367b0-d8ed-4daa-ad11-39af81482eb8
๐ฅ Commits
Reviewing files that changed from the base of the PR and between 30ba6a1ed65af3045a1565cc3b87b27747b65e9e and 2812b0a14666d4b7e0942683869664d0f28ea7a7.
โ Files ignored due to path filters (1)
package-lock.jsonis excluded by!**/package-lock.json
๐ Files selected for processing (1)
package.json
๐ Linked repositories identified
CodeRabbit considers these linked repositories for cross-repo context during reviews:
netlify/blueprints(manual)
๐ Walkthrough
Summary by CodeRabbit
- Chores
- Updated OpenTelemetry API dependency and pinned related package versions to improve stability and ensure consistent behavior across the system.
Walkthrough
package.json receives two related changes. The direct @opentelemetry/api dependency is bumped from ^1.8.0 to ^1.9.1. A new top-level overrides block is added that pins @opentelemetry/api to ^1.9.1, fixes several @netlify/otel transitive OpenTelemetry package versions, and forces esbuild to ^0.28.1 for both @netlify/edge-bundler and @netlify/zip-it-and-ship-it.
Estimated code review effort
๐ฏ 2 (Simple) | โฑ๏ธ ~5 minutes
๐ฅ Pre-merge checks | โ 5
โ Passed checks (5 passed)
| Check name | Status | Explanation |
|---|---|---|
| Title check | โ Passed | The title accurately summarizes the main change: bumping vulnerable opentelemetry and esbuild dependencies, which directly matches the changeset content. |
| Description check | โ Passed | The description is clearly related to the changeset, providing detailed explanations of the vulnerability fixes, specific version updates, and the rationale for using overrides. |
| Docstring Coverage | โ Passed | No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. |
| Linked Issues check | โ Passed | Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check | โ Passed | Check skipped because no linked issues were found for this pull request. |
โ๏ธ Tip: You can configure your own custom pre-merge checks in the settings.
โจ Finishing Touches
๐งช Generate unit tests (beta)
- [ ] Create PR with unit tests
- [ ] Commit unit tests in branch
youvalvaknin/ex-2432-bump-vulnerable-opentelemetry-and-esbuild-dependencies-8c3a
Comment @coderabbitai help to get the list of available commands and usage tips.
@coderabbit review
Review finished. Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.โ
Action performed
๐ Benchmark results
Comparing with 30ba6a1ed65af3045a1565cc3b87b27747b65e9e
- Dependency count: 1,126 โฌ๏ธ 0.09% decrease vs. 30ba6a1ed65af3045a1565cc3b87b27747b65e9e
- Package size: 375 MB โฌ๏ธ 0.87% decrease vs. 30ba6a1ed65af3045a1565cc3b87b27747b65e9e
- Number of ts-expect-error directives: 353 (no change)