Repository navigation
Raise the minimatch override past its security fixes - #432
Merged
Merged
Conversation
The workspace override mapped minimatch below 11.0.1 to ^11.0.3, and the lockfile held 11.0.3 for archiver's readdir-glob. 11.0.3 is affected by GHSA-cf2h-pxjq-68xw (high), GHSA-hqmv-qgp3-jx75 and GHSA-c859-jr93-m5j4. Dependabot's security update reports "no update possible" because the override is the requirement, so it cannot open a PR for these alerts. The override now maps anything below 11.0.8 to ^11.0.8, which collapses the lockfile to the single minimatch 11.0.9 that glob already uses. Signed-off-by: dillonstreator <dillonstreator@gmail.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
What
pnpm-workspace.yaml: the minimatch override now maps<11.0.8to^11.0.8(was<11.0.1→^11.0.3).pnpm-lock.yaml: archiver'sreaddir-globmoves from minimatch 11.0.3 to the 11.0.9 copy thatglobalready uses; 11.0.3 and its@isaacs/nonrecursive-glob-match@1.0.3drop out.Why
pnpm-lock.yamlfor minimatch 11.0.3. The first fixed 11.x is 11.0.8.readdir-glob@3.0.0asks for^10.2.2, the workspace override rewrites that to^11.0.3, and the override is the only requirement Dependabot could change. So no Dependabot PR will come for these alerts.readdir-globruns insidearchiverfor the export and report zips (src/export.ts,src/report/bundle.ts), with patterns written in the server, not taken from users. The fix still clears the alerts and the Scorecard Vulnerabilities check.Reviewer notes
pnpm install --frozen-lockfile(clean),pnpm --filter @reelsaw/shared build,(cd apps/server && npx tsc --noEmit -p .),pnpm format && pnpm lint(no fixes, warnings only),pnpm --filter @reelsaw/server test:unit: 1684 pass, 3 fail inscene-steps.test.ts(POSIX ffmpeg stubs, they fail the same way on unmodifiedmainon Windows), 3 skipped.