Skip to content

fix(deps): update dependencies with known vulnerabilities - #143

Merged
Donny/강동윤 (kdy1) merged 1 commit into
mainfrom
kdy1/update-vulnerable-dependencies
Nov 2, 2026
Merged

Donny/강동윤 (kdy1) merged 1 commit into
mainfrom
kdy1/update-vulnerable-dependencies

Conversation

@kdy1

Copy link
Copy Markdown
Member

Summary

pnpm audit reported 190 advisories (10 critical, 94 high, 71 moderate, 15 low). Most came from old dev tool dependency trees. Some came from @swc/cli runtime dependencies.

This change updates the vulnerable dependencies. pnpm audit now reports 2 advisories (1 moderate, 1 low). No critical or high advisory remains.

Changes

  • Update lerna to ^9.0.7. This replaces the vulnerable nx, tar, axios, handlebars, and lodash versions.
  • Update @changesets/cli to ^2.31.1 and cspell to ^6.31.3.
  • Update webpack in swc-loader to ^5.104.1. This is a dev dependency only.
  • Update the @swc/cli runtime dependencies minimatch (^11.0.1), piscina (^4.9.4), and @xhmikosr/bin-wrapper (^14.5.2). The new bin-wrapper version also fixes @xhmikosr/decompress and yauzl.
  • Add pnpm overrides in pnpm-workspace.yaml for the other vulnerable transitive dependencies. Overrides apply only to this workspace.
  • Add a patch changeset for @swc/cli.

Remaining advisories

  • deepmerge@4.3.1 (low): no patched version exists. It is used only by @swc/cli tests.
  • minimatch@3.1.4 (moderate): glob@7.2.3 requires this version through cspell. The fixed version, minimatch@11, has an incompatible API. An override would break glob@7.

Validation

Local checks ran on the final dependency set:

  • pnpm test: passed (63 tests in @swc/cli).
  • pnpm lint: passed.
  • pnpm audit: 2 remaining advisories, listed above.

CI was not run before this PR was created. The CI matrix includes Node.js 20, 22, and 24.

🤖 Generated with Claude Code

Bump lerna to v9 and the CLI runtime dependencies minimatch, piscina and
@xhmikosr/bin-wrapper. Raise the webpack dev dependency of swc-loader.
Add pnpm overrides for the remaining vulnerable transitive dependencies.

`pnpm audit` reported 190 advisories before this change and 2 after.
The remaining advisories have no compatible fix.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Nov 2, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 596d0ba

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@swc/cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-02T02:13:11.940932Z 596d0ba PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedwebpack@​5.69.1 ⏵ 5.112.281 -15100 +7593 -198100
Updatedlerna@​8.0.2 ⏵ 9.0.790 -810083 +192 +6100
Updated@​xhmikosr/​bin-wrapper@​14.2.2 ⏵ 14.5.2100100100 +185 -7100
Updatedpiscina@​4.9.2 ⏵ 4.9.4100100 +7510090 -5100
Updatedcspell@​6.31.1 ⏵ 6.31.39810010090100
Updated@​changesets/​cli@​2.27.1 ⏵ 2.31.197 +110010095100
Updatedminimatch@​9.0.5 ⏵ 11.0.3100100 +3110095100

View full report

@kdy1
Donny/강동윤 (kdy1) merged commit 0c7bcc2 into main Nov 2, 2026
14 checks passed
@kdy1
Donny/강동윤 (kdy1) deleted the kdy1/update-vulnerable-dependencies branch November 2, 2026 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant