Repository navigation
Audit gate: declare the audit's scope in the npm audit spawn - #2900
Merged
chalin merged 6 commits intoOct 29, 2026
Merged
Conversation
✅ Deploy Preview for docsydocs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
- Pins every dependency kind, online, and the lock as committed, so the caller's npm config can't narrow the audit (r1.1, r1.3, r1.4) - Header states what the gate asserts and audits, and the one residual (workspace selection)
- A caller's registry config pointing at a mirror whose advisory endpoint answers empty turned the gate green (r2.1)
- Header: the root lock (install:safe reads two), workspace config named by key; flags point at the header - Coverage assertion's label no longer says "installed" over a lock-only audit
chalin
marked this pull request as ready for review
October 29, 2026 21:40
This was referenced Oct 29, 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.
npm auditspawn declares what it audits, so the caller's npm config can't narrow itomit's whole domain), online against the public registry, the lock as committedoverridesCommentpointer: next PRNODE_ENV=production, anomitsetting,offline,package-lock=false(npm audits a re-resolved tree instead of the lock) or a registry whose advisory endpoint answers empty, the report shrinks or empties whilemetadata.dependenciesstill counts the full lock, so the gate's coverage assertion stays green