Repository navigation
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the glob dependency to version ^14.0.2 and its transitive dependencies (such as minimatch) to address security advisories. The changes include adding exclusions in .npmrc, updating dependency versions and overrides in package.json, and regenerating the lockfile for the Firebase Docker image publisher. There are no review comments, so I have no feedback to provide.
This branch has not been deployed
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.
Description
Upgrades
globfrom^10.5.0to^14.0.2(14.0.6) and addsgloboverrides across rootpackage.jsonandscripts/publish/firebase-docker-image/package.jsonto remediate two security advisories reported against/usr/local/node_packages/node_modules/in thefirebase-cliDocker image:glob>= 9.0.0, <= 14.0.1-> patched in14.0.2(14.0.6).minimatch>= 7.0.0, < 11.0.1-> patched in11.0.1(11.0.9, pulled transitively byglob@^14.0.2and overridden on dev dependenciesmochaandtest-exclude).Additional compatibility fixes uncovered while upgrading:
"minimatch": "^10.2.3"override inscripts/publish/firebase-docker-image/package.jsonwith"glob": "^14.0.2". Overridingminimatchacross majors clobberedfirebase-tools(^3.0.4->3.1.5) andsuperstatic(^6.1.6->6.2.3), which callrequire("minimatch")(path, pattern)as a function (unavailable inminimatch >= 9), whereas3.1.5,5.1.9(readdir-glob), and6.2.3(superstatic) are unaffected by CVE-2026-118764 (>= 7.0.0)."brace-expansion": "^1.1.18"override in rootpackage.json([email protected]does not export.expand, whichminimatch@11calls on brace patterns), allowing each major (1.1.21,2.1.7,5.0.12) to resolve to its patched release.glob@^7on dev-onlyflat-cache(rimraf@3) andtypescript-json-schema, which are unaffected by CVE-2026-118773 (>= 9.0.0).min-release-age-exclude[]entries in.npmrcfor the< 21-day-oldglob@14/minimatch@11security release chain (glob,minimatch,path-scurry,@isaacs/nonrecursive-glob-match).Scenarios Tested
[email protected](npm install --package-lock-only --ignore-scripts && npm run sanitize:lockfile) and compatibility verified with[email protected] ci --dry-run.npm run buildandnpm run generate:json-schema(zero diff onschema/*.json).glob/glob.syncbrace expansion,fsAsync.readdirRecursive(minimatch@3), andsuperstaticpattern matching (minimatch@6).npm run lint:other,eslint src/, andnpm run mocha(6,014 passing).Sample Commands
N/A