Files
hermes-agent/web/package.json
sajidhaleem 732f0f1769 fix(deps): bump pinned npm packages to clear npm audit findings
Bumps the version pins (root package.json overrides/dependencies, plus
direct devDependencies in web/ and ui-tui/) that were holding several
transitive packages on versions with known advisories:

- brace-expansion 5.0.9 -> 5.0.12 (ReDoS/stack-exhaustion advisories)
- js-yaml 4.3.1 -> 4.3.2 (merge-key CPU DoS)
- minimatch: unaffected directly, cleared via brace-expansion bump
- undici (^6 line) 6.28.0 -> 6.29.0, (^7 line) 7.29.0 -> 7.30.0
  (WebSocket/retry-interceptor/TLS-validation advisories); ui-tui's
  own direct undici dependency synced to 6.29.0 to match
- yaml 2.8.1 -> 2.9.1 (stack overflow on deeply nested collections)
- vitest / @vitest/mocker 4.1.10 -> 4.1.11 (path traversal in mock
  redirect); web and ui-tui devDependencies synced to match

Verified: npm audit findings across the three doctor-checked trees
go 3/8/6 -> 0/1/1. The one remaining finding in web and ui-tui is
source-map-js 1.2.1 (fix: 1.2.2, GHSA event-loop DoS) -- its patched
release is still inside this repo's npm install quarantine window
(time-pinned installs), so it intentionally was not forced; it will
clear on its own once the release ages past that window.

Full test suites re-run clean: web 429/429 passing, ui-tui 1624/1626
passing (the 2 non-passing are a pre-existing terminalParity.test.ts
failure reproduced identically on unmodified upstream/main, unrelated
to this change -- looks like a terminal/IDE-detection env dependency).

Reported by `hermes doctor`:
  Browser tools (agent-browser): 3 -> 0
  web workspace: 8 -> 1
  ui-tui workspace: 6 -> 1
2026-10-13 22:51:07 -04:00

59 lines
1.6 KiB
JSON

{
"name": "web",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "node ../scripts/build/web.mjs",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"fix": "npm run lint:fix",
"preview": "vite preview",
"typecheck": "tsc -b . --noEmit",
"test": "vitest run",
"check": "npm run typecheck && npm run test && npm run lint"
},
"dependencies": {
"@hermes/shared": "file:../apps/shared",
"@nous-research/ui": "0.18.2",
"@observablehq/plot": "0.6.17",
"@react-three/fiber": "9.6.1",
"@tailwindcss/vite": "4.3.3",
"@xterm/addon-fit": "0.11.0",
"@xterm/addon-unicode11": "0.9.0",
"@xterm/addon-web-links": "0.12.0",
"@xterm/addon-webgl": "0.19.0",
"@xterm/xterm": "6.0.0",
"class-variance-authority": "0.7.1",
"clsx": "2.1.1",
"gsap": "3.15.0",
"leva": "0.10.1",
"lucide-react": "0.577.0",
"motion": "12.42.2",
"qrcode": "1.5.4",
"react": "19.2.7",
"react-dom": "19.2.7",
"react-router": "8.3.0",
"tailwind-merge": "3.6.0",
"tailwindcss": "4.3.3",
"unicode-animations": "1.0.3"
},
"devDependencies": {
"@babel/core": "8.0.1",
"@rolldown/plugin-babel": "0.2.3",
"@types/babel__core": "7.20.5",
"@types/node": "22.20.1",
"@types/qrcode": "1.5.6",
"@types/react": "19.2.17",
"@types/react-dom": "19.2.3",
"@vitejs/plugin-react": "6.0.3",
"babel-plugin-react-compiler": "1.0.0",
"eslint-plugin-react-refresh": "0.5.3",
"three": "0.180.0",
"typescript": "6.0.3",
"vite": "8.2.0",
"vitest": "4.1.11"
}
}