Repository navigation
chore(deps): update glob 14, minimatch 11, and katex 0.18 for the open security alerts - #207
reformedot wants to merge 2 commits into
Conversation
…n security alerts Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
There was a problem hiding this comment.
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
| "fuzzysort": "3.1.0", | ||
| "gitlab-ai-provider": "6.11.1", | ||
| "glob": "13.0.5", | ||
| "glob": "14.0.2", |
There was a problem hiding this comment.
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>
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
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>
There was a problem hiding this comment.
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>
Summary
Major updates for the 6 open Dependabot alerts (4 medium, 2 low). Each package moves to its first patched version.
globminimatchkatexBreaking changes and their effect here
glob14:walk()returns arrays, anddebugandMatchRecord#entries()are gone. The repo calls onlyglob()andglobSync()inpackages/core/src/util/glob.ts.minimatch11:makeRe(),Minimatch#regexp, and theASTclass are gone. The repo calls onlyminimatch(path, pattern, { dot: true })in the same file.katex0.18: changed CSS class names.packages/uirenders withkatex.renderToStringand importskatex/dist/katex.min.cssfrom the same package, and no own CSS targets KaTeX classes.marked-katex-extensionmoves 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
glob13.0.5 orminimatch10.2.5 copies inbun.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.bun typecheck, 17 turbo tasks): pass, run with--concurrency=1.tsgo --noEmitinpackages/ui: pass.Not tested: math rendering in the running UI.
Includes the change of Dependabot pull request #201 (minimatch in
packages/core).🤖 Generated with Claude Code