chore(typescript): fix pnpm audit vulnerabilities and regenerate lockfile#1810
Draft
cursor[bot] wants to merge 1 commit into
Draft
chore(typescript): fix pnpm audit vulnerabilities and regenerate lockfile#1810cursor[bot] wants to merge 1 commit into
cursor[bot] wants to merge 1 commit into
Conversation
…file Tighten root pnpm overrides for 17 transitive dependency advisories: - shell-quote, form-data, hono, brace-expansion, joi, protobufjs - js-yaml, @opentelemetry/core, dompurify, @babel/core Cap js-yaml to v4.x and @babel/core to v7.x to avoid breaking majors. Exclude js-yaml from minimumReleaseAge for the security patch. Bump inspector hono direct dep to ^4.12.25. Co-authored-by: Enrico Toniato <[email protected]>
commit: |
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.
Language / Project Scope
Changes
Resolve 17
pnpm auditvulnerabilities across the TypeScript monorepo by tightening rootpnpmoverrides and regeneratingpnpm-lock.yaml. No breaking major-version upgrades.Review Readiness
Implementation Details
pnpm.overridesfor patched transitive deps:shell-quote>=1.8.4,form-data>=4.0.6,hono>=4.12.25brace-expansion/@isaacs/brace-expansion>=5.0.6joi>=18.2.1,protobufjs>=7.6.3 <8js-yaml>=4.2.0 <5 (fixed OR override that still allowed 4.1.1)@opentelemetry/core>=2.8.0,dompurify>=3.4.11@babel/core>=7.29.6 <8 (avoided accidental v8 resolution)js-yamltominimumReleaseAgeExcludeso the security patch can install before the 3-day release-age gate.@mcp-use/inspectordirecthonodep to^4.12.25.libraries/typescript/pnpm-lock.yaml.TypeScript Checklist
Packages Modified
inspectorPre-commit Checklist
pnpm audit— No known vulnerabilities foundpnpm changesetto create a changesetTesting
pnpm install --no-frozen-lockfileinlibraries/typescriptpnpm auditin workspace root andpackages/inspector— cleanBackwards Compatibility
Fully backwards compatible. All updates are patch/minor security fixes within existing semver ranges. Explicit caps prevent accidental
js-yamlv5 or@babel/corev8 upgrades.Related Issues
Scheduled cron audit maintenance.