GitNexus/gitnexus-web/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

99 lines
2.7 KiB
JSON

{
"name": "gitnexus-web",
"private": true,
"version": "0.0.0",
"engines": {
"node": "^22.12.0 || ^24.0.0 || >=26.0.0"
},
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"preview": "vite preview",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"test:e2e:report": "playwright show-report"
},
"dependencies": {
"@langchain/anthropic": "^1.5.13",
"@langchain/core": "^1.2.18",
"@langchain/google-genai": "^2.3.2",
"@langchain/langgraph": "^1.4.20",
"@langchain/ollama": "^1.3.0",
"@langchain/openai": "^1.5.13",
"@sigma/edge-curve": "^3.1.0",
"@tailwindcss/vite": "^4.3.3",
"axios": "^1.20.0",
"d3": "^7.9.0",
"dompurify": "^3.4.17",
"gitnexus-shared": "file:../gitnexus-shared",
"graphology": "^0.26.0",
"graphology-indices": "^0.17.0",
"graphology-layout-force": "^0.2.4",
"graphology-layout-forceatlas2": "^0.10.1",
"graphology-layout-noverlap": "^0.4.2",
"graphology-utils": "^2.3.0",
"i18next": "^26.4.7",
"i18next-browser-languagedetector": "^8.2.1",
"langchain": "^1.6.0",
"lru-cache": "^11.5.3",
"lucide-react": "^1.63.0",
"mermaid": "^12.2.0",
"mnemonist": "^0.40.6",
"pandemonium": "^2.4.0",
"react": "^19.3.0",
"react-dom": "^19.3.1",
"react-i18next": "^17.0.21",
"react-markdown": "^10.1.0",
"react-syntax-highlighter": "^16.1.1",
"react-zoom-pan-pinch": "^4.2.0",
"remark-gfm": "^4.0.1",
"sigma": "^3.0.3",
"tailwindcss": "^4.3.3",
"uuid": "^14.0.2",
"zod": "^4.6.7"
},
"devDependencies": {
"@babel/types": "^8.0.5",
"@playwright/test": "^1.63.0",
"@testing-library/jest-dom": "^7.0.1",
"@testing-library/react": "^16.3.3",
"@testing-library/user-event": "^14.6.7",
"@types/dompurify": "^3.2.0",
"@types/node": "^26.6.6",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@types/react-syntax-highlighter": "^15.5.13",
"@vercel/node": "^21.0.0",
"@vitejs/plugin-react": "^6.1.1",
"@vitest/coverage-v8": "5.0.0",
"jsdom": "^30.1.3",
"tree-sitter-wasms": "^0.1.13",
"typescript": "^7.0.2",
"vite": "^8.3.5",
"vitest": "5.0.0",
"wait-on": "^9.5.1"
},
"overrides": {
"chevrotain": {
"lodash-es": "4.18.1"
},
"@vercel/static-config": {
"ajv": "8.18.0"
},
"@vercel/node": {
"path-to-regexp": "6.3.0",
"undici": "6.29.0"
},
"@vercel/nft": {
"glob": "^14.0.2"
},
"@vercel/python-analysis": {
"minimatch": "10.2.3",
"smol-toml": "1.6.1"
}
}
}