Skip to content

fix(examples): Remove vulnerable minimatch 10 - #519

Merged
nurof3n merged 1 commit into
mainfrom
andreibesliu/field-1022-minimatch-override
Nov 19, 2026
Merged

nurof3n merged 1 commit into
mainfrom
andreibesliu/field-1022-minimatch-override

Conversation

@besliuandrei10

@besliuandrei10 besliuandrei10 commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Clears the last two minimatch Dependabot alerts (GHSA-g3hv-75wg-m249). No upstream release of nodemon or @react-router/fs-routes allows the fixed minimatch 11 yet.

express-puppeteer overrides minimatch to ^11.0.1; nodemon only uses minimatch(), which is unchanged. react-router cannot take the override, since fs-routes imports makeRe, which 11 removed. Its single route is now declared in app/routes.ts, and fs-routes is removed.

Tested locally: both images build, react-router serves /, the PDF routes return valid PDFs, and nodemon restarts on file changes.

minimatch 10 (GHSA-g3hv-75wg-m249) is pulled in by nodemon in
express-puppeteer and by @react-router/fs-routes in react-router.
Neither upstream allows the fixed minimatch 11 yet.

Override minimatch to ^11.0.1 in express-puppeteer. fs-routes needs
makeRe, which minimatch 11 removed, so declare the single route of
react-router explicitly and remove fs-routes.

Signed-off-by: Andrei Besliu <andreibesliu@unikraft.com>

@nurof3n nurof3n left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

sybau

Reviewed-by: Alex-Andrei Cioc <andrei.cioc@unikraft.io>
Approved-by: Alex-Andrei Cioc <andrei.cioc@unikraft.io>

@nurof3n
nurof3n merged commit 41246f3 into main Nov 19, 2026
10 checks passed
@nurof3n
nurof3n deleted the andreibesliu/field-1022-minimatch-override branch November 19, 2026 11:45
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.

2 participants