Repository navigation
[2.0] fix(ui): move core-components to minimatch 11 for GHSA-g3hv-75wg-m249 - #38106
Merged
Merged
Conversation
…#38104) minimatch's globparts amplification DoS is fixed only in 11.0.1, so the blanket 10.2.3 pin moves to 11.0.9. Two consumers cannot run on 11: glob 7 throws and glob 10 silently matches nothing, so their parents (i18next-json-sync and storybook's react-docgen-typescript plugin) are resolved to glob 14, which itself requires minimatch ^11. Also drops i18next-parser: it was never configured or invoked, and it pulled in the broccoli/rimraf/glob 7 and 10 chain. typescript-eslint moves to 8.73, whose typescript-estree depends on minimatch ^11. The vite build output is byte-identical, eslint output is unchanged, and check-i18n-all still passes and still fails on a missing key. (cherry picked from commit be88b55)
gh-bot-collate
Bot
requested review from
chirag-madlani and
karanh37
as code owners
November 18, 2026 10:30
Author
|
🤖 This backport will not merge itself: |
5 of 7 tasks
harsh-vador
approved these changes
Nov 18, 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.
Automated backport of #38104 to
2.0.be88b55e375c716885db521299557afdd3cf30a4Resolution notes
Backport notes: #38104 → 2.0
Source change: bump
minimatchto 11.0.9 inopenmetadata-ui-core-componentsfor GHSA-g3hv-75wg-m249, with aper-package
globoverride for the one consumer that can't run onminimatch 11 directly, and a
typescript-eslintbump whose ownminimatchdependency range needed to move in step.Conflicts and resolution
package.jsondevDependencies: main's side of the conflict addedi18next/i18next-json-syncand bumpedtypescript/ addedtsrs/typescript-native. None of that is part of PR fix(ui): move core-components to minimatch 11 for GHSA-g3hv-75wg-m249 #38104 — it'sunrelated drift that landed on
mainseparately (2.0 still usessync-i18nfor i18n sync, noti18next-json-sync). Kept 2.0'sexisting deps as-is and only applied the one line that is this
PR's change:
typescript-eslint^8.20.0→^8.73.0.Also dropped
i18next-parserper the PR, but it was never adependency on 2.0, so there was nothing to remove there.
resolutions: took the PR'sminimatchbump (10.2.3→11.0.9)and its
**/@joshwooding/vite-plugin-react-docgen-typescript/globoverride (
14.0.6), since@joshwooding/vite-plugin-react-docgen-typescriptis present on 2.0 via storybook and pulls in
glob@^10.0.0, which— per the PR description — silently matches nothing under
minimatch 11. Dropped the PR's other override,
**/i18next-json-sync/glob: that package isn't in 2.0's dependencytree at all (confirmed via
yarn.lock), so the override would beinert/misleading on this branch.
yarn.lockToo large (1000+ line conflict) to hand-resolve hunk by hunk safely.
Restored 2.0's pre-cherry-pick lockfile (
git checkout --ours) as thebase, then regenerated it with
yarn installagainst the resolvedpackage.jsonabove. The diff vs. 2.0's prior lockfile is scoped toexactly what the manual resolution implies:
minimatchand itsbrace-expansiondependency move to 11.x everywhere;globfor the@joshwooding/...resolution path moves to 14.0.6 (pulling in its owntransitive deps —
@isaacs/cliui,path-scurry@^3, etc. — replacingglob 10's old deps like
@isaacs/nonrecursive-glob-match,@pkgjs/parseargs,string-width-cjs); and the whole@typescript-eslint/*family +ts-api-utilsmoves from 8.57.1 to8.73.0 for the
typescript-eslintbump.Verified locally
yarn installcompletes with only the expected "Resolution field... incompatible with requested version" warnings (same pattern that
already existed pre-PR from the blanket
minimatchpin).yarn lint(eslint via typescript-eslint 8.73.0) passes clean.yarn build(vite + vite-plugin-dts) succeeds, output unchanged inshape.
What a reviewer should double check
**/i18next-json-sync/globresolution (vs.keeping it as an inert no-op) is the right call — it's inapplicable
today, but if a future patch adds
i18next-json-syncto 2.0 withoutre-adding this override, the same glob-7/10-under-minimatch-11 bug
could resurface silently.
yarn.lockdiff, since it was regenerated rather thanhand-merged — it's mechanically derived from the resolved
package.jsonbut is worth a skim for anything unexpected.Opened from openmetadata-collate, which holds the credentials needed to open a PR here. It merges itself once this branch's required checks pass — no review needed. If a check fails it stays open and the author of #38104 is asked to look.
resolver run


Confidence Score: 5/5
This PR appears safe to merge.Summary
Updates core-components tooling on the
2.0branch to useminimatch11.0.9.minimatch11 and matching tool versions.No actionable issues found. Builds and tests were not run during this review.
Reviews (1) · Last reviewed commit: "fix(ui): move core-components to minimat..." · Reviewed by Greptile