Skip to content

chore(deps): upgrade flagged dependencies to patched versions - #5

Merged
JOY (JOY) merged 1 commit into
mainfrom
chore/fix-dependabot-alerts
Sep 10, 2026
Merged

chore(deps): upgrade flagged dependencies to patched versions#5
JOY (JOY) merged 1 commit into
mainfrom
chore/fix-dependabot-alerts

Conversation

@JOY

@JOY JOY (JOY) commented Sep 8, 2026

Copy link
Copy Markdown

chore(deps): upgrade flagged dependencies to patched versions

Summary

Upgrades every dependency flagged by Dependabot on this repository to its patched version, plus a fix for the scaffold pnpm-workspace.yaml placeholders that hard-fail on pnpm 12 (ERR_PNPM_IGNORED_BUILDS).

This PR contains only dependency fixes against main (db1fe7bb). Merging it clears all 162 Dependabot alerts GitHub reports on the default branch (162/162 — verified against the current alert list).

Go (go.mod / go.sum)

Package Before After
google.golang.org/grpc flagged (critical+high) 1.83.1
github.com/gorilla/websocket flagged 1.5.3
github.com/xuri/excelize/v2 flagged 2.11.0
github.com/quic-go/quic-go flagged 0.59.1
github.com/gomarkdown/markdown flagged commit 759bbc3e3207 (pseudo-version pin)

Frontend (web/package.json / web/pnpm-lock.yaml / web/pnpm-workspace.yaml)

Direct upgrades:

Package Before After
next flagged 16.2.11
eslint-config-next flagged 16.2.11
markdown-it flagged 14.2.0
@tiptap/* flagged 3.30.4

Transitive packages that cannot be bumped directly are pinned to their patched versions via range-scoped pnpm overrides (next@>=16.0.0 <16.3.18: 16.3.18 style), so future minor releases stay eligible.

pnpm-workspace.yaml fix

The scaffold shipped allowBuilds string placeholders (sharp: false etc.) that hard-fail on pnpm 12 with ERR_PNPM_IGNORED_BUILDS. Replaced with real booleans and moved the overrides block there — pnpm 12 reads settings from pnpm-workspace.yaml; CI pnpm 10 keeps reading package.json (both now carry the same overrides).

Test plan

  • go build / go test — exit 0
  • pnpm install — exit 0, lockfile passes supply-chain policies
  • pnpm auditNo known vulnerabilities found (zero; overrides applied)
  • pnpm typecheck / pnpm test — exit 0
  • pnpm-workspace.yaml is the single source of truth for overrides on pnpm 12

Full analysis: .qwen/dependency-upgrade-report.md in the repository (not part of this PR).


Note

Medium Risk
Patch-only dependency churn touches networking stacks (grpc, websocket, quic-go) and the Next.js build/runtime; no logic changes, but regressions would show up in realtime WS, Excel export, and the web app.

Overview
Bumps flagged/vulnerable dependencies across the Go backend and web dashboard without changing application code.

Go (go.mod / go.sum): Direct pins move to patched releases—gorilla/websocket 1.5.3, xuri/excelize/v2 2.11.0, gomarkdown/markdown (newer pseudo-version), plus indirect refreshes including google.golang.org/grpc 1.83.1, quic-go 0.59.1, and related transitive modules (e.g. mscfb, genproto, OpenTelemetry artifacts in the lockfile).

Frontend (web/package.json): Direct upgrades—Next.js and eslint-config-next 16.2.11, markdown-it 14.2.0, and all @tiptap/ packages 3.30.4. Adds a pnpm.overrides block to force patched versions of vulnerable transitive packages (e.g. ws, undici, sharp, hono, lodash) while keeping semver ranges flexible.

Reviewed by Cursor Bugbot for commit b50a69c. Configure here.

Summary by CodeRabbit

  • Chores
    • Updated underlying application, networking, document-processing, and UI components to newer versions.
    • Refreshed framework and tooling packages, including the web framework, editor components, and Markdown support.
    • Added dependency version controls and build configuration to improve compatibility and maintain consistent installations.
    • Removed an unused indirect dependency.

- Go: grpc 1.83.1 (critical+high), websocket 1.5.3, excelize 2.11.0, quic-go 0.59.1, gomarkdown 759bbc3e3207

- Frontend: next 16.2.11, eslint-config-next 16.2.11, markdown-it 14.2.0, @tiptap 3.30.4, plus range-scoped pnpm overrides pinning flagged transitive packages to their patched versions

- pnpm-workspace.yaml: replace the scaffold allowBuilds placeholders with real booleans (fixes ERR_PNPM_IGNORED_BUILDS on pnpm 12) and add the overrides block there (pnpm 12 reads settings from pnpm-workspace.yaml; CI pnpm 10 reads package.json)
@cursor

cursor Bot commented Sep 8, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_c540b58c-7c0d-4d92-aac3-1890a1ff56c1)

@coderabbitai

coderabbitai Bot commented Sep 8, 2026

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 3d73570d-b4c5-415a-995b-6554851dc848

📥 Commits

Reviewing files that changed from the base of the PR and between db1fe7b and b50a69c.

⛔ Files ignored due to path filters (2)
  • go.sum is excluded by !**/*.sum
  • web/pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (3)
  • go.mod
  • web/package.json
  • web/pnpm-workspace.yaml

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

This change updates Go and web dependency versions. It adds pnpm overrides for transitive packages and explicit workspace build policies.

Changes

Dependency maintenance

Layer / File(s) Summary
Go dependency updates
go.mod
Direct and indirect Go dependencies are upgraded. The unused go.opentelemetry.io/otel dependency is removed.
Web dependency updates
web/package.json
Tiptap, Next.js, markdown-it, and ESLint packages are upgraded. pnpm overrides pin transitive dependency versions.
Workspace policies
web/pnpm-workspace.yaml
Build permissions are set for @parcel/watcher, sharp, and unrs-resolver. Additional dependency overrides constrain package versions.

Priority: ➖ Normal

Estimated code review effort: 2 (Simple) | ~10 minutes

Merge Risk: ⚪ Minimal · up to b50a6

The dependency and workspace policy updates are mergeable with no identified blocking risk.

Suggested reviewers: bbbbbbbbbbbbba

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: upgrading flagged dependencies to patched versions across the Go and frontend packages.
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 0…
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/fix-dependabot-alerts

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.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request updates several Go and frontend dependencies in go.mod and web/package.json, and adds a pnpm overrides block to web/package.json to manage nested dependency versions. It also configures build permissions in web/pnpm-workspace.yaml. Feedback is provided regarding the redundant and unsupported overrides block added to web/pnpm-workspace.yaml, which should be removed.

Comment thread web/pnpm-workspace.yaml
Comment on lines +14 to +42
overrides:
fast-uri@>=3.0.0 <3.1.6: 3.1.6
nanoid@>=3.0.0 <3.3.18: 3.3.18
js-yaml@>=4.0.0 <4.3.1: 4.3.1
brace-expansion@<1.1.18: 1.1.18
brace-expansion@>=3.0.0 <5.0.9: 5.0.9
postcss@<8.5.23: 8.5.23
browserslist@<4.28.7: 4.28.7
ws@>=8.0.0 <8.21.0: 8.21.0
undici@>=6.0.0 <6.28.0: 6.28.0
sharp@<0.35.0: 0.35.0
hono@>=4.0.0 <4.12.34: 4.12.34
'@hono/node-server@<1.19.15': 1.19.15
path-to-regexp@>=8.0.0 <8.4.0: 8.4.0
picomatch@>=2.0.0 <2.3.2: 2.3.2
picomatch@>=4.0.0 <4.0.4: 4.0.4
lodash@>=4.0.0 <4.18.0: 4.18.0
langsmith@<0.6.0: 0.6.0
uuid@<11.1.1: 11.1.1
linkify-it@>=5.0.0 <5.0.2: 5.0.2
immutable@>=5.0.0 <5.1.8: 5.1.8
esbuild@>=0.24.0 <0.25.0: 0.25.0
flatted@>=3.0.0 <3.4.2: 3.4.2
qs@>=6.0.0 <6.16.0: 6.16.0
'@humanfs/node@<0.16.8': 0.16.8
ip-address@<10.3.1: 10.3.1
body-parser@>=2.0.0 <2.3.0: 2.3.0
postcss-selector-parser@>=7.0.0 <7.1.3: 7.1.3
'@babel/core@<7.29.6': 7.29.6

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The overrides field is not a supported configuration option in pnpm-workspace.yaml by pnpm. All dependency overrides must be defined in the root package.json under the pnpm.overrides field (which you have already correctly configured in web/package.json). Keeping this block here is redundant, ignored by pnpm, and introduces a maintenance overhead as future changes would need to be duplicated. Please remove this block.

@JOY
JOY (JOY) merged commit 2dc4664 into main Sep 10, 2026
6 checks passed
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