Repository navigation
fix(deps): bump cross-spawn, terser and node-forge, and move Jest's glob 10 and minimatch 9 to their patched majors - #42
Merged
Conversation
…lob 10 and minimatch 9 to their patched majors Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Code review
Adds scoped npm overrides to move Jest's glob 10 and minimatch 9 dependency trees to glob 14 and minimatch 11. The lockfile also updates cross-spawn, terser, and node-forge and removes the superseded dependency trees. Walkthrough (2)
Reviewed Tip Comment |
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.

Fixes the alerts Dependabot opened on its rescan after #41:
The first three stay inside their dependents' ranges and are lock-only.
minimatch (major). The remaining vulnerable copies were
minimatch@9.0.9under theglob@10.5.0that each nestedtest-exclude@7.0.2requires (glob: ^10.4.1, under@jest/core,@jest/reporters,jest-config,jest-expo,jest-runner,jest-runtimeandjest-snapshot). The only fix is minimatch 11. glob 10 builds its matchers on minimatch 9's RegExpset, so glob moves with it. Two more scoped overrides do this, next to the existing glob 13 and minimatch 10 ones:test-exclude@7.0.2usesrequire('glob').globwithglob.sync(patterns, { cwd, nodir, dot, posix, ignore })andglob(patterns, opts), plusminimatch(path, pattern, { dot }). glob 14 still exposesglob.syncand all of those options. None of the removed APIs are used (minimatch 11:makeRe,Minimatch#regexp,AST,debug,matchOne; glob 14:isRegExp, walkerSetresults,MatchRecord#entries). The same override shipped in fix(deps): move glob 10/13 and minimatch 9/10 copies to their patched majors beep#151.test-exclude@6.0.0keepsglob@7andminimatch@3.1.5, which are outside the advisory range (>= 7.4.0).jackspeak,@isaacs/cliui,foreground-child,path-scurry@1,lru-cache@10,brace-expansion@2) and the nested glob and minimatch copies.Verified (Node 22, npm 11, CI env vars)
npm ci,npm run build(expo export) andnpx tsc --noEmitpass.--coveragereports per-file coverage, which exercises test-exclude on glob 14.glob.syncwith test-exclude's options returns the expected files.npm auditreports no vulnerabilities.🤖 Generated with Claude Code