Repository navigation
fix(deps): update desktop parsers for security and bounded resource use - #19361
Conversation
|
Validation update for 3a6615c:
Security rationale and individual advisory/release links remain in the PR body. Audit findings fell 12 → 1; the remaining Tiptap advisory is handled by the separately blocked editor migration, not an unsafe override. |
|
Ready for review with disclosed baseline E2E failures, unchanged dependency commit The single Windows golden repeat failed at
Thus the extra golden validation is not fully green, and no further repeats are being used to manufacture a pass. Both distinct observed failures reproduce on the unchanged base; the candidate has no demonstrated new failure in these comparisons. The complete PR checks remain green, including 75,654 passing tests, types, static checks, wire/Git contracts and Linux/Windows packaging. Together with the focused parser checks and narrowly reviewed dependency delta, this supports reviewing/merging the patch group while tracking the existing golden harness problems separately. No test or application source was changed. |
|
Additional combined-candidate validation (local, macOS arm64): merged #19361, #19369, #19377, #19378, #19362, #19380 and #19382 into local commit
All commands used |
There was a problem hiding this comment.
ℹ️ No critical issues — one cosmetic note inline, plus a nitpick below.
Reviewed changes
Lockfile-only bump of transitive parser dependencies (no direct-dep, native-binary, override, or package-manager changes); each version advance picks up a documented security or bounded-resource fix.
qs6.15.2 → 6.16.0 — bracket/comma array-limit bypass and non-callableisBufferfixes; adds the already-locked[email protected]as a dep (no new package, lockfile lines 4393/10519/10742).fast-uri3.1.5 → 3.1.7 — host/scheme/IPv6 canonicalization and reserved-character fixes (Ajv consumer).@xmldom/xmldom0.8.13 → 0.8.15 — XML-name injection checks and linear-time parsing, viaplist/Electron packaging.postcss-selector-parser7.1.1 → 7.1.6 — recursive-AST bounds and quadratic flat-selector fix (shadcn tooling).browserslist4.28.2 → 4.28.9 plus data companions (baseline-browser-mapping,caniuse-lite,electron-to-chromium,node-releases,update-browserslist-db) — bounding, safer stats writes, Electron multi-digit minor comparison.nanoid3.3.17 → 3.3.18 — completes the zero/negative-size custom-generator fix, staying on CJS 3.x.
Verified the tabulated changes are consistent with the diff — package manager ([email protected]), lockfileVersion 9.0, and engines.node (24) are all unchanged, and the qs/@xmldom advances were followed through to their runtime consumers (express/body-parser in the MCP SDK; plist in packaging).
ℹ️ Nitpicks
[email protected]adds anengines: node >=18floor that 2.0.38 did not have (pnpm-lock.yaml:5605). Build-time transitive dep only, and desktop declares Node 24 with no.npmrcengine-strict, so no impact — flagged only because it's a new constraint the change table doesn't mention.
DeepSeek Pro (free via Pullfrog for OSS) | 𝕏
| [email protected]: {} | ||
|
|
||
| [email protected]([email protected]([email protected])): | ||
| [email protected]([email protected]): |
There was a problem hiding this comment.
This bump renames the [email protected] peer key from ([email protected]([email protected])) to ([email protected]) (also at the MCP SDK consumer entries on lines 7743 and 7765), without any version change. The resolved express is still the single 5.2.1([email protected]) copy (line 10871), so this is benign peer-notation renormalization, not a behavioral change. But the PR body says unrelated resolver churn was explicitly discarded while this churn remains in the diff — worth confirming it's intentional (or reverting the key) so the lockfile delta matches the documented change list.

Ready for review, with baseline golden-test failures disclosed. Final evidence and unchanged-base comparison: 75,654 tests pass; Linux/Windows packaging passes. Both extra golden failure modes reproduce on unchanged dependencies.
ELI5
Update a small set of dependencies with documented security, performance and correctness fixes. Keep incompatible migrations and native runtime changes out of this update group.
What Changed / Why
Dependency review — 2026-09-07
Reviewed the desktop, cloud, mobile and docs-site manifests and lockfiles against npm metadata, audit advisories and upstream release notes/source comparisons. Installed versions can differ from manifest ranges; the versions below are lockfile versions. The docs site must be audited with
pnpm --ignore-workspace auditfromdocs/siteto avoid accidentally auditing the desktop workspace.Desktop updates selected
These are transitive updates within their parents' existing ranges. Direct dependencies, native binaries, local patches, package-manager version and remote protocol remain unchanged. No new override forces an incompatible dependency major.
isBuffer; the intervening release makes compaction O(n).Required companion resolutions from the selected parents:
Verification
Executed on macOS arm64, Node 26.6.0, pnpm 12.0.0, with
ORCA_BACKGROUND_LAUNCH=1for installs/builds/tests:pnpm tc: passed.pnpm run build:electron-vite: passed, including renderer boot-graph validation. Existing large-chunk warnings remain.src/main/claude, both Linear MCP issue-list suites,src/shared/mcp-config.test.ts, andsrc/main/runtime/rpc/schemas.test.ts: 734 passed, 5 skipped, 1 failed across 83 files.claude-structured-real-cli.test.ts:177, where the locally installed Claude CLI omits the current effort setting. Reinstalled the original lockfile and reran that file: the identical assertion fails (4 pass, 1 fail). Restored and reinstalled the updated lockfile afterwards.No rendered interaction, Linux/Windows packaging, native mobile, or live SSH validation was performed. Desktop declares Node 24; CI must cover that supported runtime. These changes do not alter host execution ownership, Git commands, folder/worktree assumptions, wire frames or provider-specific behavior.
Deliberate holds and remaining work
This review does not claim every available upgrade is useful or safe. The desktop is already recent: React 19.2.8, Electron 43.4.1, ws 8.21.3, DOMPurify 3.4.13, PDF.js 6.3.289 and Zod 4.5.4 are already selected. Keep patched xterm, node-pty, Windows process-tree and lint-staged versions until their local patches are reconciled with upstream. Electron 44, Vitest 5, Vite 8, marked 18, Linear SDK 89 and icon-library major migrations do not belong in this security patch group without product-specific evidence and migration testing.
@tiptap/core: the coordinated extensions currently span 3.22.4/3.22.5. 3.30 changes Tab/list behavior and 3.31 changes node-view selection semantics. Validate table editing, pasted HTML, Markdown round trips, node views and remote file saves together before selecting a coordinated version. The required Electron skill was not available in either installed skill directory, so rendered editor validation was not performed. The remaining audit finding is intentionally disclosed, not suppressed.@vercel/node>undici: 5.29.0override is on an unfixed major; other findings include Ajv, smol-toml, path-to-regexp and brace-expansion. Research the Vercel parent upgrade/override removal together on the declared Node 22 runtime instead of forcing Undici 6 into a 5.x consumer. The small same-major parser fixes are follow-up candidates for that independent install/build. Do not mistake the desktop audit for this site's audit. React 19.2.4 is older than desktop, but a client React bump alone does not establish Next.js/RSC security.Terraform provider and Ruby lockfiles were located but not audited by the npm advisory service. Their release/security status is outside the validated npm update groups here. Further native/editor/deployment changes should have separate PRs and corresponding platform/build checks; there is no zero-regression guarantee from semver or a clean audit.
Linked Issue
User-requested dependency review; no existing issue linked.
Visual Proof
N/A — dependency lockfile/manifest maintenance; no UI implementation changes.
Testing
See the command outcomes and explicit limitations above. Existing integration tests and direct API smoke checks were used; no implementation-mirroring tests were added.
Review