Fix Dependabot security alerts: bump esbuild, tsx, js-yaml#1685
Open
Copilot wants to merge 1 commit into
Open
Conversation
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
stephentoub
June 16, 2026 02:11
View session
stephentoub
approved these changes
Jun 16, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR addresses repository Dependabot/security audit findings by updating vulnerable npm dependencies (directly and transitively) across the SDK’s Node-based tooling and build/test subprojects.
Changes:
- Bump
esbuilddevDependency innodejs/package.jsonto^0.28.1. - Refresh multiple
package-lock.jsonfiles soesbuildresolves to0.28.1,tsxresolves to4.22.4, andjs-yamlresolves to4.2.0where applicable. - Lockfile cleanup consistent with the updated dependency graph (e.g., removal of no-longer-needed
get-tsconfig/resolve-pkg-mapslock entries wheretsxno longer depends on them).
Show a summary per file
| File | Description |
|---|---|
| test/harness/package-lock.json | Updates resolved esbuild/tsx versions for the test harness tooling dependencies. |
| scripts/docs-validation/package-lock.json | Updates resolved esbuild/tsx versions used by the docs validation tooling. |
| scripts/codegen/package-lock.json | Updates resolved js-yaml (and related dependency graph) for codegen tooling. |
| nodejs/samples/package-lock.json | Refreshes lockfile resolutions for the sample project and its local dependency on the Node SDK. |
| nodejs/package.json | Bumps direct esbuild devDependency range to pick up the patched release. |
| nodejs/package-lock.json | Refreshes the Node SDK lockfile to resolve patched esbuild/tsx/js-yaml versions. |
| java/scripts/codegen/package-lock.json | Updates resolved esbuild to the patched version for Java codegen scripts. |
Copilot's findings
Files not reviewed (6)
- java/scripts/codegen/package-lock.json: Generated file
- nodejs/package-lock.json: Generated file
- nodejs/samples/package-lock.json: Generated file
- scripts/codegen/package-lock.json: Generated file
- scripts/docs-validation/package-lock.json: Generated file
- test/harness/package-lock.json: Generated file
- Files reviewed: 1/7 changed files
- Comments generated: 0
Contributor
Cross-SDK Consistency Review ✅This PR makes no changes to any SDK API or feature code — it is exclusively a security dependency bump (
Go, Python, .NET, Rust, and Java SDK source code and their dependencies are unaffected. No cross-language API parity concerns apply to this change.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves the open Dependabot dependency alerts on the repository. All alerts originate from vulnerable npm packages across the SDK's tooling/build projects; Go, Python, and Rust dependencies were audited and are clean.
Patched advisories
esbuildtsxesbuildjs-yamlChanges
nodejs/package.json— bumped the directesbuilddevDependency to^0.28.1; its caret range otherwise pinned the project below the patched release.package-lock.jsoninnodejs,nodejs/samples,java/scripts/codegen,scripts/codegen,scripts/docs-validation, andtest/harnessso the transitivetsx/js-yaml/esbuildresolutions land on patched versions.tsxandjs-yamlwere transitive and already within permitted ranges, so no manifest edits were needed beyond the lockfile updates.Notes for reviewers
The Dependabot alerts page and GitHub API are unreachable from the build environment, so the alert set was reconstructed via
npm audit/pip-audit/cargo-audit, which draw from the same advisory sources.npm auditreports zero vulnerabilities across all projects after these changes.