fix(deps): force ws>=8 (top-level dep + override) for @zap-proto/web

@zap-proto/web@0.2.0 has peerDependencies ws>=8 and does
require('ws').WebSocketServer, but a stale hoisted node_modules/ws was
7.5.10 (no named WebSocketServer export) → 'WebSocketServer is not a
constructor' at WS-ZAP attach. Pin ws ^8.18.0 as a root dep + override so
the top-level (where @zap-proto/web resolves it) is 8.x.
This commit is contained in:
Antje Worring
2026-06-22 03:55:40 -07:00
parent c82e516769
commit 77fb5d426b
2 changed files with 801 additions and 770 deletions
+797 -768
View File
File diff suppressed because it is too large Load Diff
+4 -2
View File
@@ -94,7 +94,8 @@
"@hanzo/insights-node": "^5.26.2",
"react": "^18",
"typescript": "5.9.3",
"zod": "^3.25.76"
"zod": "^3.25.76",
"ws": "^8.18.0"
},
"overrides": {
"lodash": "4.17.23",
@@ -103,6 +104,7 @@
"zod": "$zod",
"fumadocs-mdx": {
"zod": "^4.3.5"
}
},
"ws": "^8.18.0"
}
}