add package-lock modes to query and audit#6732
Conversation
wraithgar
commented
Aug 24, 2023
- feat: add package-lock-only mode to npm query
- feat: add no-package-lock mode to npm audit
|
Folks have been asking for this for a LONG time (the audit feature), this should definitely be backported to npm 9. |
|
found 18 benchmarks with statistically significant performance improvements
timing results
|
6328343 to
69ed983
Compare
bdehamer
left a comment
There was a problem hiding this comment.
For the query command, I noticed that you added the loadVirtual support to the exec function, but not the execWorkspaces function. Was that an oversight, or does the --package-lock-only option not work when using workspaces?
|
That's an oversight. A lot of other commands' execWorkspaces just iterate workspaces and call |
|
Workspaces mode for |
69ed983 to
936a143
Compare
|
NICE ! |
Thanks for npm/cli#6732 !
|
Thanks for this; I've now end-of-lifed https://npmjs.com/aud since it's no longer needed. |