Files
frontend/scripts/minimatch-compat/index.js
T
codex-bot 7242240b21
Frontend verify / commits (push) Skipped
Frontend verify / security (push) Successful in 9s
Frontend verify / verify (push) Failing after 7m6s
chore(deps): resolve minimatch and glob audit advisories (WealthLedger/main#49) (#128)
2026-11-01 19:13:02 +03:00

12 lines
477 B
JavaScript

// ponytail: shim for eslint-plugin-import-x@4.17.1, which still imports the
// makeRe export removed in minimatch 11. Its only caller (no-internal-modules)
// uses the result via .test(), so a matcher object is enough. Delete this
// package and the override once import-x supports minimatch 11.
import { minimatch } from "minimatch-11";
export * from "minimatch-11";
export const makeRe = (pattern, options = {}) => ({
test: path => minimatch(path, pattern, options),
});