Skip to content

chore(deps): refresh maintained dependencies - #22964

Merged
nwparker merged 4 commits into
mainfrom
deps/nonsecurity-maintenance
Sep 26, 2026
Merged

nwparker merged 4 commits into
mainfrom
deps/nonsecurity-maintenance

Conversation

@nwparker

@nwparker nwparker commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 2 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​11 $\color{#cf222e}{\Huge{\mathbf{−}}}$​9 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​2
Prod 7 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​995 $\color{#cf222e}{\Huge{\mathbf{−}}}$​679 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​316

ELI5

Refresh selected dependency versions while preserving Orca's existing runtime contracts. Four attempted upgrades were removed after source review and CI exposed compatibility risks.

What Changed

The tables below list the final selected updates and deferred versions. Two test-only adjustments accompany them: reformat the mobile live-text test for oxfmt 0.70, and correct a newly merged orphan-cleanup test to expect the handler’s existing catalogVersion result. No new pnpm overrides were added; the existing Monaco DOMPurify override remains.

Why

Use compatible maintenance releases where possible, and defer changes that require native integration or framework migration. Passing typechecks alone does not establish runtime compatibility. The earlier description overstated the upstream review: registry metadata and release listings were checked, but that did not constitute a full release-note and issue audit for every package. No claim that these versions are bug-free is made.

Review

  • Sanitizer concern checked: Monaco 0.55.1 imports its vendored esm/vs/base/browser/dompurify/dompurify.js (header: 3.2.7), not the overridden npm package, in its Markdown sanitizer. That wrapper does not enable IN_PLACE. The npm DOMPurify update applies to Orca’s direct notebook/Mermaid imports; it must not be represented as updating Monaco’s vendored sanitizer. This is pre-existing and remains a separate editor-security review. 3.4.15 release notes describe XML clobbering hardening; 3.4.16 describes subsequent IN_PLACE fixes.

  • serve-sim retained at 0.1.40. The published-source comparison spans 45 commits. N-API migration removes bin/serve-sim-bin and adds dist/native/serve-sim-native.node. Orca still names the old helper in process cleanup, materialization and signing. Intel support change also requires platform validation. Open reports include helper shutdown signals, input silently doing nothing, and headless Xcode 27 input. These are upstream reports, not all locally reproduced. The new release cannot be treated as a safe version-only bump. npm metadata declares no install lifecycle script, but that does not settle native-runtime safety.

  • Claude SDK retained at 0.3.251. Pullfrog correctly found a stale contract pin and bundled CLI installation. Restore the previously tested version and the lockfile's existing omission of the eight ignored platform packages. Regeneration under pnpm 12 reintroduced them even at 0.3.251; frozen install plus both contract tests now pass without adding overrides.

  • Parcel watcher retained at 2.5.6. CI detected a mismatch with the SSH relay's pinned native dependency. Upgrade app and relay together in a dedicated change.

  • Happy DOM retained at 20.11.8. 20.14.5 failed the mobile viewport-frame test with a CSS transform proxy defineProperty error. The existing eight tests pass after reverting.

Updated dependencies

Workspace Dependency Before → after Why Upstream source reviewed
root @floating-ui/dom 1.7.6 → 1.8.0 Fixes fixed-element clipping, scrollbar-gutter boundaries and delayed autoUpdate positioning. source
root posthog-node 5.33.3 → 5.52.5 Fixes long-span export and versioned local feature-flag property matching (5.52.5 release notes). source
root react-i18next 17.0.13 → 17.0.15 Patch release for the existing React/i18next integration. source
root tldts 7.4.12 → 7.4.14 Updated public-suffix data and fixes on the same major line. source
root yaml 2.8.4 → 2.9.1 Limits recursive merge aliases and simplifies quoted-string unfolding (2.9.1 release notes). source
root zod 4.5.4 → 4.6.5 Current 4.x validation fixes with no schema API major change. source
root @oxlint/plugins 1.80.0 → 1.85.0 Keeps plugin packages aligned with the linter release used in CI. source
root @playwright/test 1.59.1 → 1.63.0 Browser/test fixes while staying on the current Playwright major. source
root @sanity/diff-match-patch 3.2.0 → 3.2.1 Corrects UTF-8 patch offsets for astral characters from 7 bytes to 4. source
root @stablyai/playwright-test 2.1.14 → 2.1.16 Internal Playwright test harness fixes; remains compatible with the updated Playwright line. npm package
root @tanstack/react-virtual 3.14.10 → 3.14.13 Avoids flushSync during measureElement ref callbacks, when React is already committing. source
root @testing-library/react 16.3.2 → 16.3.3 Avoids re-entrant act() calls when dispatching events. source
root @testing-library/user-event 14.6.1 → 14.6.7 Normalizes DataTransfer aliases and supports keyboard typing in iframes. source
root dompurify 3.4.14 → 3.4.15 3.4.15 adds XML clobbering hardening. Direct notebook/Mermaid imports use it; Monaco also vendors a separate sanitizer, so the override is not a complete Monaco security fix. source
root oxfmt 0.65.0 → 0.70.0 Current formatter fixes; no source formatting changes are introduced by this PR. source
root oxlint 1.80.0 → 1.85.0 Keeps lint rules and native bindings current together with its plugins. source
mobile fflate 0.8.2 → 0.8.3 Security fix from merged #22961. source
mobile react-native-svg 15.15.4 → 15.15.5 Fixes Android mask/gradient behavior and Apple currentColor opacity; native build coverage remains required. source
mobile zod 4.4.3 → 4.6.5 Aligns mobile validation with the maintained Zod 4 line used by desktop. source
mobile zustand 5.0.13 → 5.0.15 Invalidates concurrent async rehydration on clearStorage; fixes devtools paths containing spaces. source
mobile acorn 8.15.0 → 8.18.0 Parser fixes for mobile tooling. source
mobile oxfmt 0.65.0 → 0.70.0 Aligns mobile formatting checks with the root toolchain. source
mobile oxlint 1.80.0 → 1.85.0 Aligns mobile lint checks and native bindings with root. source
cloud tsx 4.21.0 → 4.23.15 Fixes builtin namespace inheritance and exposes require.cache/extensions to tsImport CommonJS modules. source

Reviewed but intentionally not updated

Remaining outdated entries from the dependency inventory are deferred below. Deferral reasons express scope and compatibility requirements, not a claim that every upstream issue was audited.

Dependency or group Workspace Current → latest Reason left unchanged
serve-sim root 0.1.40 → 0.1.46 attempted Native helper replacement and open runtime reports; see source audit above.
@anthropic-ai/claude-agent-sdk root 0.3.251 → 0.3.280 attempted Contract pin and unwanted bundled CLI installation; see review above.
@parcel/watcher root 2.5.6 → 2.6.0 attempted Must stay aligned with the SSH relay native dependency.
happy-dom root/mobile 20.11.8 → 20.14.5 attempted in mobile Mobile viewport-frame test regression.
@types/ssh2, @types/react, @types/react-dom, @types/node, @types/react-test-renderer, @types/react-native root/mobile/cloud patch or type-major updates Type-only changes are low-value here; the React Native stub types are deprecated, and Node/React type majors should move with their runtime majors.
oxlint-plugin-react-doctor, oxlint-tsgolint, radix-ui, sonner, root zustand, i18next-cli root patch updates No security issue or observed Orca bug; deferred to keep this PR focused on the coordinated toolchain/runtime updates.
@shadcn/lint, @tailwindcss/vite, tailwindcss, tailwind-merge root 4.2.x/3.5.x → newer minor/major lines Tailwind and shadcn packages are coupled; upgrading them needs a separate renderer compatibility pass.
agent-browser, react-grab, react-refresh, emoji-picker-react, react-colorful, lucide-react, katex, marked root newer minor/major lines UI/editor behavior changes need visual and interaction review rather than a dependency-only refresh.
esbuild, @vitejs/plugin-react, vite root/mobile newer toolchain lines Build-tool upgrades can change native binaries and Vite plugin behavior; deferred for a dedicated build validation pass.
monaco-editor root 0.55.1 → 0.56.0 The current Monaco integration has a DOMPurify override; upgrading Monaco requires validating editor behavior and whether that override can be removed.
react, react-dom, react-test-renderer root/mobile 19.2.x → 19.3.x React runtime and renderer must move together and need a full UI regression pass.
sherpa-onnx and all platform packages root 1.12.37 → 1.13.8 Native speech binaries require cross-platform packaging and runtime validation.
@testing-library/jest-dom root 6.9.1 → 7.0.1 Major test assertion changes are not needed for this maintenance pass.
@linear/sdk root 82.1.0 → 95.1.0 Large API span; requires reviewing generated client behavior and Linear integration callers.
electron root 43.7.0 → 44.4.4 Electron upgrades affect native modules, packaging, and OS behavior; requires release validation.
lint-staged root 16.4.0 → 17.5.1 Major hook-runner update is unrelated to runtime maintenance.
diff root 8.0.4 → 9.0.0 Major API change; review all diff consumers first.
mermaid root/mobile 11.17.2 → 12.0.0 Major renderer change needs diagram snapshot and webview validation.
typescript root/mobile/cloud 5.9/6.0 → 7.0 Compiler major requires staged typecheck and declaration review.
vitest root/mobile/cloud 4.1.11 → 5.0.x Test-runner major needs configuration and snapshot compatibility work.
expo* packages, react-native, react-native-reanimated, react-native-safe-area-context, react-native-screens, react-native-gesture-handler, react-native-webview, react-native-worklets, @react-native-async-storage/async-storage, @noble/hashes, react-native-uitextview, lucide-react-native mobile newer Expo/RN major lines These packages are version-coupled to Expo SDK 55 and native builds; upgrade as one dedicated Expo/RN migration.
tsx (mobile) mobile 4.22.4 → 4.23.15 Kept mobile tooling changes limited to the cloud/root loader update; mobile can follow in the Expo/RN tooling pass.
rolldown-vite root deprecated Upstream directs migration to Vite 8; handled with the coordinated Vite/esbuild migration above.

Linked Issue

User-requested dependency maintenance; security fix was merged separately in #22961. No separate issue was supplied.

Visual Proof

N/A — no intentional layout or interaction changes; native/runtime migrations were deferred.

Testing

Local macOS: frozen installs for root/mobile/cloud; root/cloud/mobile typechecks; mobile generated-artifact build. After corrective changes: 32 emulator/relay-related test files passed; both SDK/relay contract test files pass (13 tests); mobile viewport-frame passes (8 tests). No new tests were added because existing contracts exposed the failures directly.

  • Local automated validation performed; no visible Electron/simulator session launched.
  • Existing tests used for dependency-only changes.
  • All 33 checks passed on dc0fd56, including Linux/Windows packaging, all eight unit-test shards, mobile verification, browser bundle tests and both bot reviews. The browser disposal assertion passed unchanged. Mobile formatting and all 21 orphan-cleanup tests also passed locally.

AI Disclosure

Internal contribution; template disclosure section not applicable.

Agent skill upstream boundary

  • Not applicable — no upstream skill source or documentation copied.

Notes

SSH watcher parity and SDK binary exclusion are preserved. No remote protocol or workspace behavior was intentionally changed. Native macOS simulator support needs separate validation before a future serve-sim upgrade.

Checklist

  • Dependency-only maintenance, with incompatible upgrades deferred.
  • Changes and rationale documented above.
  • Visual proof marked N/A with reason.
  • Bot findings and native dependency risks reviewed.
  • Cross-platform and SSH impacts considered.
  • Full latest CI green before merge (dc0fd56).

@nwparker
nwparker requested a review from Jinwoo-H as a code owner September 26, 2026 01:13

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

The @anthropic-ai/claude-agent-sdk bump to 0.3.280 leaves two contract-pin tests red and installs a 233 MB bundled CLI binary the project deliberately excludes. Either re-verify the contract and fix the exclusion, or drop the SDK bump from this refresh.

Reviewed changes

Version-only dependency refresh across the root, mobile, and cloud workspaces; no source, config, or script logic changed.

  • Root package.json — bumps @anthropic-ai/claude-agent-sdk, @floating-ui/dom, @parcel/watcher, posthog-node, react-i18next, serve-sim, tldts, yaml, zod, and dompurify, plus the @oxlint / @playwright / @stablyai / @tanstack / @testing-library / @sanity tooling.
  • Root pnpm-lock.yaml — regenerated; @anthropic-ai/[email protected] now carries eight platform optionalDependencies.
  • pnpm-workspace.yaml — monaco-editor>dompurify override advanced 3.4.14 → 3.4.15 to match the direct dependency.
  • mobile/package.json — fflate 0.8.2 → 0.8.3 (security), plus react-native-svg, zod, zustand, acorn, happy-dom, oxfmt, and oxlint.
  • cloud/package.json — tsx ^4.21.0 → ^4.23.15.

I verified both root and mobile/ pnpm install --frozen-lockfile --ignore-scripts succeed, so the lockfiles match the manifests; node is 24 everywhere, so the new node >=20 floors on Playwright and serve-sim are fine.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

Comment thread package.json Resolved
@coderabbitai

coderabbitai Bot commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Advanced

Run ID: d095e1db-9387-43c0-b5ef-f6bcdf140163

📥 Commits

Reviewing files that changed from the base of the PR and between 4ad17e6 and dc0fd56.

⛔ Files ignored due to path filters (3)
  • cloud/pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
  • mobile/pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (2)
  • mobile/src/terminal/terminal-live-text-commit.test.ts
  • src/main/ipc/worktrees-removal-recovery.test.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

Dependency versions changed in the root, cloud, and mobile package manifests. The workspace override for monaco-editor>dompurify changed from 3.4.14 to 3.4.15. One test reformats an iterator spy without changing its behavior. Another test now expects a successful removal response to include a catalogVersion.

Priority: ⬇️ Low

Merge Risk: ⚪ Minimal · up to dc0fd

The dependency and test updates show no identified merge-blocking issue. Complete the usual Linux, Windows, and mobile CI before merging.

Architecture Summary

Architecture risk: 🔵 Low · up to dc0fd

The change affects 5 systems.

Changed systems: mobile, cloud, package.json, pnpm-workspace.yaml, src

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — mobile (service) was modified; 2 changed files map to changed impact.
  • observed — cloud (service) was modified; 1 changed file maps to changed impact.
  • observed — package.json (service) was modified; 1 changed file maps to changed impact.
  • observed — pnpm-workspace.yaml (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in cloud/package.json: The tsx dev dependency range changed from ^4.21.0 to ^4.23.15.
  • observed — Modified behavior in pnpm-workspace.yaml: Updated the monaco-editor>dompurify override from 3.4.14 to 3.4.15.
  • observed — Modified behavior in mobile/package.json: Updated fflate from 0.8.2 to 0.8.3.
  • observed — Modified behavior in mobile/package.json: Updated react-native-svg from ^15.15.4 to ^15.15.5, zod from ~4.4.3 to ~4.6.5, zustand from ^5.0.13 to ^5.0.15, acorn from 8.15.0 to 8.18.0, oxfmt from ^0.65.0 to ^0.70.0, and oxlint from ^1.80.0 to ^1.85.0. happy-dom is ^20.11.8, unchanged from the prior version.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 2…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly and concisely identifies the main change: refreshing maintained dependencies across the project.
Description check ✅ Passed The description is detailed and covers the change, rationale, testing, visual proof, risks, deferred upgrades, and checklist. The required linked issue is not provided; it states that no separate issu…
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

The new commit 4ad17e6 defers the four upgrades that failed runtime or test contracts, reverting each to its previously tested version; the rest of the refresh is unchanged.

  • Reverted the Claude Agent SDK bump — @anthropic-ai/claude-agent-sdk is back at 0.3.251; the lockfile no longer resolves the eight claude-agent-sdk-<os>-<cpu> platform packages, and src/main/claude/claude-agent-sdk-contract-pins.test.ts passes 11/11 with no bundled CLI in node_modules.
  • Reverted @parcel/watcher to ^2.5.6 and serve-sim to 0.1.40 — restores the SSH-relay native-dependency alignment and the pre-N-API bin/serve-sim-bin helper Orca's cleanup and signing still name.
  • Reverted mobile happy-dom to ^20.11.8 — avoids the 20.14.5 viewport-frame transform proxy failure.
  • Lockfile cleanup — the commit drops the orphaned [email protected] and dedupes mobile [email protected] and root [email protected]([email protected]).

I re-ran pnpm install --frozen-lockfile --ignore-scripts in root and mobile/ (both exit 0, lockfiles match manifests) and the SDK contract-pin suite (11 passed). The prior review's blocker is resolved.

Pullfrog  | View workflow run | Using DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

Since the prior review at 4ad17e6, a merge of main landed (no authored source change) and dc0fd56 corrected two test-side issues that CI and main exposed. The seven dependency files carry the same changes reviewed previously.

  • Aligned the orphan-cleanup retry assertion — worktrees:remove always stamps catalogVersion on its reply, so the second call now expects { catalogVersion: anyCatalogVersion } rather than {}; the suite passes 21/21.
  • Reformatted the mobile live-text iterator mock — pure oxfmt 0.70 line wrapping, no semantic change.
  • Merged main — brings the branch up to 1c2cf12; the dependency bumps survived conflict resolution.

Pullfrog  | View workflow run | Using DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

@nwparker
nwparker merged commit fa018fe into main Sep 26, 2026
36 checks passed
Jinwoo-H added a commit that referenced this pull request Sep 26, 2026
#22956 re-recorded with baseline = its own branch commit c5c1477, which
the squash merge left unreachable from main, so the RPC recording pin guard
fails on main and every open PR. Repin to main's tip and re-record: only
baseline and lockfileSha256 (main's lockfile moved in #22961/#22964) change;
every recorded body is identical.
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