GitNexus/package.json
Gergő Magyar fe6100f86d
fix(deps): resolve minimatch, glob and zod audit advisories (#3846)
Clear GHSA-g3hv-75wg-m249 (minimatch), GHSA-3g3m-2fjr-6pw4 (glob) and
GHSA-mrhx-c7xc-m3w5 (zod) from the root, gitnexus and gitnexus-web
lockfiles.

minimatch's fix exists only in 11.0.1+, and no upstream release has moved
to it yet: @typescript-eslint/typescript-estree (through 8.72.1) and
@stryker-mutator/core still require ^10.2.2, and @vercel/node pins
@vercel/nft 1.10.0, which requires glob ^13. `npm audit fix --force` would
downgrade @typescript-eslint/parser to 6.15.0 and Stryker to 6.4.1, so this
change uses parent-scoped overrides instead, in the same style as the
existing gitnexus-web entries:

- root: @typescript-eslint/typescript-estree -> minimatch ^11.0.1
- gitnexus: @stryker-mutator/core -> minimatch ^11.0.1 (dev-only)
- gitnexus-web: @vercel/nft -> glob ^14.0.2 (brings minimatch 11)

The scoping leaves eslint's minimatch@3 copies alone, since they fall
outside the advisory range. minimatch 11 drops makeRe and AST, but these
consumers use only minimatch(), Minimatch#match/negate/hasMagic, and
glob(), all of which are unchanged. zod moves from 4.3.6 to 4.6.7 within
eslint-plugin-react-hooks' existing range, so no override is needed.

The gitnexus production tree already resolves glob 14.0.3 and minimatch
11.0.3 on main (`npm audit --omit=dev` reports 0). Lockfiles were
regenerated with npm 11 so the libc platform fields are preserved, and the
tree-sitter 0.25.1 peer pins are unchanged.

Verified:
- npm audit: root 0; gitnexus and gitnexus-web report no minimatch or
  glob findings
- npm ci succeeds in all three packages
- eslint passes on sample TS/TSX files
- a scratch Stryker run (mutate negation plus ignorePatterns) matches the
  minimatch-10 baseline: 2 files, 7 mutants
- nodeFileTrace with a wildcard require gives the same file list under
  glob 14 and glob 13
- gitnexus cli-commands, embedding-runtime-install and stryker-config
  unit tests: 130/130

Refs #3804

Co-authored-by: Gergo Magyar <gergomagyar0@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 09:17:04 +00:00

38 lines
1 KiB
JSON

{
"name": "gitnexus-monorepo",
"private": true,
"scripts": {
"prepare": "husky",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"gitnexus:refresh": "gitnexus analyze --embeddings --skills",
"gitnexus:full": "gitnexus analyze --force --embeddings --skills"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^8.57.2",
"@typescript-eslint/parser": "^8.57.2",
"eslint": "^9.39.4",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-unused-imports": "^4.4.1",
"husky": "^9.1.7",
"lint-staged": "^16.4.0",
"prettier": "^3.8.0",
"prettier-plugin-tailwindcss": "^0.7.0",
"typescript": "^5.9.3"
},
"overrides": {
"@typescript-eslint/typescript-estree": {
"minimatch": "^11.0.1"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{js,jsx,mjs,json,css,yml,yaml}": "prettier --write"
}
}