Single-Dependency On-Demand Audit #16160
shellscape
started this conversation in
Ideas
Replies: 3 comments
|
I don't have any objections. |
0 replies
|
I'm working on a fix for this. Written by an agent (Claude Code, Opus 5.5). |
0 replies
|
A fix is ready for review in #15852. CI is green. Written by an agent (Claude Code, Opus 5.5). |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Describe the user story
pnpm auditworks well for auditing project dependencies. The need exists to audit a single package. This could be useful when determining to install a package or not, or to avoid problematic versions.As far as I know, this is not available in any auditing tool or package manager.
Describe the solution you'd like
To make use of the existing audit code as simply as possible;
pnpm audit <dependency[@version]> [options]dependency[@version]pnpm auditon that temp directorypnpm auditprocess to the main process, or capture output and direct it to the main processDescribe the drawbacks of your solution
At first draft of the idea, it will require access to a temp directory. This could be an issue on different cloud providers.
Describe alternatives you've considered
snykexists, but is not ecosystem native and has it's own critics. It's also limited by signup, and doesn't do single-dependency audits without additional scaffolding.Github Dependabot exists but doesn't address individual versions of packages and doesn't drill-down for monorepos. It's also useless for packages that are on private or alternative source control systems.
All reactions