Repository navigation
fix(deps): override rimraf's glob to 13.0.7 in .opencode (completes the Dependabot glob fix) - #17296
Merged
Merged
Conversation
Follow-on to #17263 / PR #17271: the first Dependabot run on the merged scoped override still failed (run 46462298184, #17285) with security_update_not_possible for glob in /.opencode — latest resolvable 10.5.0, lowest non-vulnerable 13.0.7. The remaining in-range instance is [email protected]'s nested glob (requested ^10.3.7, resolved 10.5.0; GHSA-3g3m-2fjr-6pw4 covers >= 9.0.0, < 13.0.7). Scope the override to that edge as well; lockfile regen follows. Refs #17285
npm-regenerated (npm 10.9.4) with both scoped overrides in place: the four per-consumer nested glob 13.0.7 copies from PR #17271 dedupe to a single hoisted node_modules/glob 13.0.7, rimraf's nested glob 10.5.0 and its exclusive CLI dep tree (foreground-child, jackspeak, package-json-from-dist, @isaacs/cliui, string-width/wrap-ansi chain) are removed, and no other package entry changes. The libc fields npm 10 strips from 18 platform packages were restored field-for-field from main, so the diff is the glob restructure only. Verified: every glob instance in the lockfile is now 13.0.7 (GHSA-3g3m-2fjr-6pw4 patched floor), and a second regen is a no-op. Closes #17285
The idempotency re-run of npm install --package-lock-only re-stripped them after the first restoration; restore all 18 field-for-field from main so the branch diff vs main is the glob restructure only.
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
This was referenced Nov 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #17285
Root cause
PR #17271 (for #17263) added the range-scoped override
"glob@^13.0.0": "13.0.7", which fixed the hoisted glob 13.0.5 instance that Dependabot alert #940 tracks. The first Dependabot run on that merge (run 46462298184, head = the #17271 merge commit itself) still failed withsecurity_update_not_possiblefor glob in/.opencode: latest resolvable 10.5.0, lowest non-vulnerable 13.0.7. The remaining in-range instance is [email protected]'s nested glob — requested^10.3.7, resolved 10.5.0, inside GHSA-3g3m-2fjr-6pw4's range (>= 9.0.0, < 13.0.7).Fix
.opencode/package.json: add the second scoped override"glob@^10.3.7": "13.0.7"alongside the existingglob@^13.0.0one..opencode/package-lock.json: regenerated with npm 10.9.4. The four per-consumer nested glob 13.0.7 copies dedupe to a single hoistednode_modules/glob13.0.7; rimraf's nested glob 10.5.0 and its exclusive CLI dep tree (foreground-child, jackspeak, package-json-from-dist, @isaacs/cliui, the string-width/wrap-ansi chain) are removed; no other package entry changes. Thelibcfields npm 10 strips from 18 platform packages were restored field-for-field from main (same handling as PR fix(deps): override glob to 13.0.7 in .opencode (unblocks Dependabot security update) #17271), so the diff vs main is the glob restructure only.Verification
.opencode/package-lock.jsonis 13.0.7 — nothing remains in the GHSA-3g3m-2fjr-6pw4 range.npm install --package-lock-onlyrun is a no-op (idempotent)..opencode/package.json+.opencode/package-lock.json.{ "direct_parent": null, "links": [], "lineage": { "design": null, "roadmap_item": null, "priority": null }, "pm_meta": 1, "provenance": { "queue_id": null, "scheduled_start": null, "picked_up_at": null, "work_started_at": null, "created_at": "2026-11-30T16:43:19Z", "session_id": null, "lane": null, "host": "htch-runtime", "worktree": "/home/hatch/workspace/github-work/code-17285-bg", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/hatch/workspace/github-work/code-17285-bg", "repo": "developing-today/code", "branch": "xaltha/17285-glob-rimraf-bg", "sha": "0fbbf697e6cad7588fe3ee5108f861c84e55982a" }, "auth_subject": "xaltha", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.