Skip to content

fix: update vulnerable dependencies - #701

Merged
Tarquinen merged 1 commit into
devfrom
fix/audit-dependencies
Dec 3, 2026
Merged

Tarquinen merged 1 commit into
devfrom
fix/audit-dependencies

Conversation

@Tarquinen

@Tarquinen Tarquinen commented Dec 2, 2026 •

Copy link
Copy Markdown
Owner

The npm audit --audit-level=high step in PR checks fails on dev because of new advisories for tar, ws and cross-spawn, so every open PR is red.

Now ws is updated to 8.23.1 in the lockfile, and tar and cross-spawn are pinned to fixed versions with overrides, since the packages that pull them in don't allow those versions yet.

The overrides only affect this repo's own install. cross-spawn comes from @opencode-ai/sdk, which pins 7.0.6 exactly, so people installing the published package still get that version until the SDK updates. The advisory is Windows-only (batch file spawning).

npm audit --audit-level=high now passes, along with a clean npm ci, tests, typecheck, build and package check.

@Tarquinen
Tarquinen merged commit 553a7bb into dev Dec 3, 2026
1 check passed
@Tarquinen Tarquinen mentioned this pull request Dec 3, 2026
linsaftw added a commit to linsaftw/opencode-dynamic-context-pruning that referenced this pull request Dec 3, 2026
Merges Tarquinen/opencode-dynamic-context-pruning v3.2.2 into the fork.

Conflict resolution:
- lib/v2/index.ts: keep the fork's JSON/SSE response sanitizer and the fork's
  "generate" session hook kind; add the upstream Responses/WS echoed-tail hooks
  that strip copied reminders and compact tags. The new hooks run before the
  existing sanitizer so both layers compose.
- package.json: take upstream tar 8.1.0 while retaining fork ws 8.23.1 and
  cross-spawn 7.1.2 overrides; drop the duplicated cross-spawn key.
- package-lock.json: keep fork version identity with upstream tar entries.
- Version advanced to 3.2.2-fork.1 (fork 3.2.1-fork.5 + upstream 3.2.2).

Docs: ledger gains Tarquinen#700/Tarquinen#701/Tarquinen#702, Tarquinen#642 moves to partial, verification table
records the new current release.

Refs: Tarquinen#700
Refs: Tarquinen#701
Refs: Tarquinen#702
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.

1 participant