Skip to content

chore(deps): update glob 14, minimatch 11, and katex 0.18 for the open security alerts - #207

Open
reformedot wants to merge 2 commits into
mainfrom
deps/major-security-updates
Open

reformedot wants to merge 2 commits into
mainfrom
deps/major-security-updates

Conversation

@reformedot

@reformedot reformedot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Major updates for the 6 open Dependabot alerts (4 medium, 2 low). Each package moves to its first patched version.

Package Before After Alerts
glob 13.0.5 14.0.2 133, 136 (medium)
minimatch 10.2.5 11.0.1 134, 137 (medium)
katex 0.16.27 0.18.2 138, 140 (low)

Breaking changes and their effect here

  • glob 14: walk() returns arrays, and debug and MatchRecord#entries() are gone. The repo calls only glob() and globSync() in packages/core/src/util/glob.ts.
  • minimatch 11: makeRe(), Minimatch#regexp, and the AST class are gone. The repo calls only minimatch(path, pattern, { dot: true }) in the same file.
  • katex 0.18: changed CSS class names. packages/ui renders with katex.renderToString and imports katex/dist/katex.min.css from the same package, and no own CSS targets KaTeX classes.

marked-katex-extension moves from 5.1.6 to 5.1.11, the first release whose peer range accepts katex 0.18. No code imports it.

Still open after this pull request

These packages keep nested glob 13.0.5 or minimatch 10.2.5 copies in bun.lock, because their ranges exclude the patched major versions: @npmcli/arborist, @npmcli/map-workspaces, @npmcli/package-json, cacache, ignore-walk, @tufjs/models, app-builder-lib, @joshwooding/vite-plugin-react-docgen-typescript, vite-plugin-icons-spritesheet. They used the same versions before. This pull request adds no override for them.

Verification

  • bun install: pass.
  • packages/opencode/test/util/glob.test.ts: 17 pass.
  • The pre-push type check (bun typecheck, 17 turbo tasks): pass, run with --concurrency=1.
  • tsgo --noEmit in packages/ui: pass.
  • KaTeX 0.18.2 renders a display formula in a script.

Not tested: math rendering in the running UI.

Includes the change of Dependabot pull request #201 (minimatch in packages/core).

🤖 Generated with Claude Code

…n security alerts

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

@cubic-dev-ai cubic-dev-ai 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.

2 issues found across 6 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="packages/core/package.json">

<violation number="1" location="packages/core/package.json:109">
P2: This direct update leaves vulnerable `glob@13.0.5` copies in the lockfile through nested consumers. Upgrade those consumers to compatible patched releases, or otherwise replace every affected runtime copy before treating the glob alert as resolved.</violation>

<violation number="2" location="packages/core/package.json:117">
P2: This direct update does not close the minimatch alert: the lockfile still installs vulnerable `10.2.5` copies through nested consumers. Update those consumers to releases supporting `11.0.1`, or otherwise remove/replace every affected runtime copy before claiming the alert is patched.</violation>
</file>

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread packages/ui/package.json Resolved
"fuzzysort": "3.1.0",
"gitlab-ai-provider": "6.11.1",
"glob": "13.0.5",
"glob": "14.0.2",

@cubic-dev-ai cubic-dev-ai Bot Nov 30, 2026 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2: This direct update leaves vulnerable glob@13.0.5 copies in the lockfile through nested consumers. Upgrade those consumers to compatible patched releases, or otherwise replace every affected runtime copy before treating the glob alert as resolved.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At packages/core/package.json, line 109:

<comment>This direct update leaves vulnerable `glob@13.0.5` copies in the lockfile through nested consumers. Upgrade those consumers to compatible patched releases, or otherwise replace every affected runtime copy before treating the glob alert as resolved.</comment>

<file context>
@@ -106,15 +106,15 @@
     "fuzzysort": "3.1.0",
     "gitlab-ai-provider": "6.11.1",
-    "glob": "13.0.5",
+    "glob": "14.0.2",
     "google-auth-library": "10.5.0",
     "gray-matter": "4.0.3",
</file context>
Fix with cubic

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

No change in this pull request. The nested copies belong to packages whose ranges exclude the patched major version: @npmcli/arborist, @npmcli/map-workspaces, @npmcli/package-json, cacache, ignore-walk, @tufjs/models, app-builder-lib, and 2 Vite plugins. Before this change they used the same versions through the hoisted copy, so nothing gets worse. An override to the new major version would be an untested migration of those packages. The pull request body now names these copies as open.

"jsonc-parser": "3.3.1",
"mime-types": "3.0.2",
"minimatch": "10.2.5",
"minimatch": "11.0.1",

@cubic-dev-ai cubic-dev-ai Bot Nov 30, 2026 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2: This direct update does not close the minimatch alert: the lockfile still installs vulnerable 10.2.5 copies through nested consumers. Update those consumers to releases supporting 11.0.1, or otherwise remove/replace every affected runtime copy before claiming the alert is patched.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At packages/core/package.json, line 117:

<comment>This direct update does not close the minimatch alert: the lockfile still installs vulnerable `10.2.5` copies through nested consumers. Update those consumers to releases supporting `11.0.1`, or otherwise remove/replace every affected runtime copy before claiming the alert is patched.</comment>

<file context>
@@ -106,15 +106,15 @@
     "jsonc-parser": "3.3.1",
     "mime-types": "3.0.2",
-    "minimatch": "10.2.5",
+    "minimatch": "11.0.1",
     "npm-package-arg": "13.0.2",
     "semver": "^7.6.3",
</file context>
Fix with cubic

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

No change in this pull request. The nested copies belong to packages whose ranges exclude the patched major version: @npmcli/arborist, @npmcli/map-workspaces, @npmcli/package-json, cacache, ignore-walk, @tufjs/models, app-builder-lib, and 2 Vite plugins. Before this change they used the same versions through the hoisted copy, so nothing gets worse. An override to the new major version would be an untested migration of those packages. The pull request body now names these copies as open.

… 0.16 copy stays

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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