Skip to content

[2.0] fix(ui): move core-components to minimatch 11 for GHSA-g3hv-75wg-m249 - #38106

Merged
harsh-vador merged 1 commit into
2.0from
backport/2.0/pr-38104
Nov 18, 2026
Merged

harsh-vador merged 1 commit into
2.0from
backport/2.0/pr-38104

Conversation

@gh-bot-collate

@gh-bot-collate gh-bot-collate Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Automated backport of #38104 to 2.0.

Source PR #38104
Author @harsh-vador
Merge commit be88b55e375c716885db521299557afdd3cf30a4
Method Conflicts resolved by Claude — worth a read of the diff.

Resolution notes

Backport notes: #38104 → 2.0

Source change: bump minimatch to 11.0.9 in
openmetadata-ui-core-components for GHSA-g3hv-75wg-m249, with a
per-package glob override for the one consumer that can't run on
minimatch 11 directly, and a typescript-eslint bump whose own
minimatch dependency range needed to move in step.

Conflicts and resolution

package.json

  • devDependencies: main's side of the conflict added i18next /
    i18next-json-sync and bumped typescript / added tsrs /
    typescript-native. None of that is part of PR fix(ui): move core-components to minimatch 11 for GHSA-g3hv-75wg-m249 #38104 — it's
    unrelated drift that landed on main separately (2.0 still uses
    sync-i18n for i18n sync, not i18next-json-sync). Kept 2.0's
    existing 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-parser per the PR, but it was never a
    dependency on 2.0, so there was nothing to remove there.
  • resolutions: took the PR's minimatch bump (10.2.3 → 11.0.9)
    and its **/@joshwooding/vite-plugin-react-docgen-typescript/glob
    override (14.0.6), since @joshwooding/vite-plugin-react-docgen-typescript
    is 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 dependency
    tree at all (confirmed via yarn.lock), so the override would be
    inert/misleading on this branch.

yarn.lock

Too large (1000+ line conflict) to hand-resolve hunk by hunk safely.
Restored 2.0's pre-cherry-pick lockfile (git checkout --ours) as the
base, then regenerated it with yarn install against the resolved
package.json above. The diff vs. 2.0's prior lockfile is scoped to
exactly what the manual resolution implies: minimatch and its
brace-expansion dependency move to 11.x everywhere; glob for the
@joshwooding/... resolution path moves to 14.0.6 (pulling in its own
transitive deps — @isaacs/cliui, path-scurry@^3, etc. — replacing
glob 10's old deps like @isaacs/nonrecursive-glob-match,
@pkgjs/parseargs, string-width-cjs); and the whole
@typescript-eslint/* family + ts-api-utils moves from 8.57.1 to
8.73.0 for the typescript-eslint bump.

Verified locally

  • yarn install completes with only the expected "Resolution field
    ... incompatible with requested version" warnings (same pattern that
    already existed pre-PR from the blanket minimatch pin).
  • yarn lint (eslint via typescript-eslint 8.73.0) passes clean.
  • yarn build (vite + vite-plugin-dts) succeeds, output unchanged in
    shape.

What a reviewer should double check

  • That dropping the **/i18next-json-sync/glob resolution (vs.
    keeping it as an inert no-op) is the right call — it's inapplicable
    today, but if a future patch adds i18next-json-sync to 2.0 without
    re-adding this override, the same glob-7/10-under-minimatch-11 bug
    could resurface silently.
  • The yarn.lock diff, since it was regenerated rather than
    hand-merged — it's mechanically derived from the resolved
    package.json but 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

RetriggerView in GreptileConfidence Score: 5/5

This PR appears safe to merge.

Summary

Updates core-components tooling on the 2.0 branch to use minimatch 11.0.9.

  • The core-components package uses minimatch 11 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

…#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 gh-bot-collate Bot added the safe to test Add this label to run secure Github workflows on PRs label Nov 18, 2026
@gh-bot-collate

Copy link
Copy Markdown
Author

🤖 This backport will not merge itself: 2.0 has no required status checks, so there is nothing for auto-merge to wait on. Merge it by hand once CI is green.

@harsh-vador
harsh-vador merged commit c67ce79 into 2.0 Nov 18, 2026
56 of 61 checks passed
@harsh-vador
harsh-vador deleted the backport/2.0/pr-38104 branch November 18, 2026 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test Add this label to run secure Github workflows on PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants