fix: patch high dependency advisories#1335
Conversation
|
Warning Review limit reached
More reviews will be available in 45 minutes and 30 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (4)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Code Review
This pull request updates several dependencies across the project, including upgrading vite to 7.3.5, ws to 8.21.0, and adding form-data and ws to the root package.json dependencies. It also updates lockfiles and adds overrides for vite in the site package. There are no review comments, so I have no feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
## Summary - Bump `@jackwener/opencli` from 1.8.3 to 1.8.4 so PawWork gets the upstream Xiaohongshu `ask` adapter instead of carrying a local overlay. - Keep the adapter capability and embedded server tests focused on discovering and exposing `xiaohongshu/ask`. - Refresh the branch on current `dev`, including the dev-dependency audit fix from #1335. ## Verification - `bun install --frozen-lockfile` - `git diff --check origin/dev...HEAD` - `bun audit --audit-level=high` - `cd packages/opencode && bun test ./test/opencli/adapter-registry.test.ts ./test/tool/opencli-tools.test.ts ./test/opencli/adapter-capabilities.test.ts --timeout 30000` - `cd packages/opencode && bun test ./test/server/built-node-opencli-adapters.test.ts --timeout 120000` - PR CI passed. `unit-windows-opencode-server-tools` was rerun after the first attempt passed tests but was cancelled during the cache post step; the rerun completed successfully. ## Risk - Low. This removes the local adapter implementation path and relies on the published upstream OpenCLI 1.8.4 package, with coverage at the source registry and embedded server boundary.
Summary
Patch the current high-severity dependency advisories failing
dev-dep-auditby moving the vulnerable packages to their patched floors:form-data->4.0.6ws->8.21.0vite->7.3.5There is no separate issue; this PR fixes the current
dev-dep-audithigh advisory failure observed from PR #1315 and re-verified on latestorigin/dev.Why
bun audit --audit-level=highcurrently fails ondevfor:form-data >=4.0.0 <4.0.6ws >=8.0.0 <8.21.0vite >=7.0.0 <=7.3.4wsis a direct dependency inpackages/opencodeandpackages/desktop-electron, so those manifests are bumped directly.form-datais only pulled through transitive dependency paths, so the root override pins the patched floor instead of broad-updatingelectron-builderor Arborist-related packages.wsalso has vulnerable transitive paths, so the root override keeps the whole root workspace on8.21.0. The site has its ownbun.lock, so it gets an exactviteoverride to keep the independent site install on the patched 7.x line without moving to Vite 8.Related Issue
No separate issue. This is a focused dependency-audit repair for the current
dev-dep-auditfailure.Human Review Status
Pending
Review Focus
Please check that the overrides are limited to the vulnerable dependency floors and that the site lock remains on Vite 7.x rather than a Vite 8 major upgrade.
Risk Notes
Dependency risk only. The root lockfile also re-dedupes
yamlentries as a Bun 1.3.14 lockfile resolver side effect while syncing the exact dependency changes. No runtime code, CI policy, audit allowlist, UI, copy, permissions, or credential handling changed. The visible UI checklist item is not applicable because this PR changes dependencies only.How To Verify
Screenshots or Recordings
Not applicable. No visible UI or copy changed.
Checklist
bug,enhancement,task,documentation. Type labels are author-added; the labeler bot does NOT assign them. Add the label in the GitHub UI, then tick this.app,ui,platform,harness,ci. The labeler bot assigns these on PR open based on changed paths. Confirm the bot's choice (or override if wrong), then tick this.P0,P1,P2,P3. The priority-triage bot suggests one on PR open. Confirm or override, then tick this.Pending,Approved by @<reviewer>, orNot required: <reason>(default isPending; "not required" is restricted to bot-authored low-risk PRs).dev, and my PR title and commit messages use Conventional Commits in English.