chore: pin npm dependencies and clear audit findings - #192
Merged
Conversation
Exact versions keep installs reproducible, and patched packages plus overrides bring npm audit to zero vulnerabilities. Co-authored-by: Cursor <[email protected]>
Collaborator
✅ Heimdall Review Status
|
GitHub Actions npm ci crashed because 116 entries still pointed at registry-npm.cbhq.net instead of registry.npmjs.org. Co-authored-by: Cursor <[email protected]>
jackchuma
approved these changes
Aug 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
package.jsondependency and override to an exact version (x.y.z), and addsave-exact=trueso future installs stay pinned.tar,shell-quote,viem) and patch remaining transitive advisories via overrides (brace-expansion,postcss,js-yaml,nanoid,ip-address).npm auditagainst the public registry now reports 0 vulnerabilities.Why these two extra lines
.npmrcsave-exact=true: does not change the current tree (package.jsonis already exact). It only stops a laternpm install <pkg>from writing a^range and undoing the pin.next-env.d.tsimport "./.next/types/root-params.d.ts": generated by Next 16.3.1 onnext build(the file says not to edit it). This app does not use root params. The file is in.gitignorebut still tracked from an earlier commit, so leaving the import in keepsgit statusclean after a local build. Same pattern as the existingroutes.d.tsimport.Test plan
npm cinpm audit --registry=https://registry.npmjs.org(expectfound 0 vulnerabilities; the Coinbase registry does not support the audit endpoint)npm run format:checknpx tsc --noEmitnpm run lintnpm run buildnpm test