fix(deps): let an override track the version we declare

npm refused to install at all: three entries in the overrides block
contradicted the range the same package was declared with, and an
override that disagrees with a direct dependency is an EOVERRIDE, not a
tie-break. All three were left behind by "Give every package one
version", which raised the declared ranges and never revisited the pins
below them.

zod already showed the way, so ws, pdfjs-dist and typescript now use the
same $name form and follow whatever the manifests declare. The reason
pdfjs-dist was held at 5.4.296 was react-pdf, which this repo no longer
depends on; react-pdf itself now asks for the 6.3.289 we declare.

The same commit pinned @hanzo/insights-node to 6.0.0, which nobody can
install: it depends on insights-node 5.10.4, an unscoped name published
to no registry. Back to 5.26.2, the newest release that resolves, until
a 6.x ships with its scope intact.

Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
2026-09-17 01:41:26 -07:00
co-authored by Hanzo Dev
parent c1c95628bb
commit d06d56f8b5
4 changed files with 13870 additions and 14648 deletions
+1 -1
View File
@@ -56,7 +56,7 @@
"nanoid": "^6.0.1",
"papaparse": "^5.7.0",
"@hanzo/insights": "1.358.1",
"@hanzo/insights-node": "6.0.0",
"@hanzo/insights-node": "5.26.2",
"react": "19.2.8",
"react-call": "^2.0.2",
"react-dom": "19.2.8",
+13864 -14642
View File
File diff suppressed because it is too large Load Diff
+4 -4
View File
@@ -92,7 +92,7 @@
"cron-parser": "^5.10.0",
"luxon": "^3.7.2",
"patch-package": "^8.0.1",
"@hanzo/insights-node": "6.0.0",
"@hanzo/insights-node": "5.26.2",
"react": "19.2.8",
"typescript": "7.0.2",
"zod": "^4.5.2",
@@ -100,12 +100,12 @@
},
"overrides": {
"lodash": "4.17.23",
"pdfjs-dist": "5.4.296",
"typescript": "5.9.3",
"pdfjs-dist": "$pdfjs-dist",
"typescript": "$typescript",
"zod": "$zod",
"fumadocs-mdx": {
"zod": "^4.3.5"
},
"ws": "^8.18.0"
"ws": "$ws"
}
}
+1 -1
View File
@@ -53,7 +53,7 @@
"pino-pretty": "^13.1.3",
"playwright": "^1.62.1",
"@hanzo/insights": "1.358.1",
"@hanzo/insights-node": "6.0.0",
"@hanzo/insights-node": "5.26.2",
"react": "19.2.8",
"remeda": "^2.45.0",
"sharp": "^0.35.4",