Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow running npm audit without node_modules #1473

Closed
yahavi opened this issue Mar 13, 2022 · 1 comment
Closed

Allow running npm audit without node_modules #1473

yahavi opened this issue Mar 13, 2022 · 1 comment
Assignees
Labels
feature request New feature or request

Comments

@yahavi
Copy link
Member

yahavi commented Mar 13, 2022

Is your feature request related to a problem? Please describe.
Currently, jf audit-npm requires the presence of node_modules.

Describe the solution you'd like to see
We can bypass it in npm >= 7 if we provide the --package-lock-only, like we do in Intellij IDEA plugin: jfrog/ide-plugins-common#71

Describe alternatives you've considered
Running npm install before audit.

Additional context
It looks like the audit-npm tries to resolve the sha256 files from the npm cache. We probably don't really need them in the npm-audit.

@yahavi
Copy link
Member Author

yahavi commented Jul 4, 2023

Fixed by #1473

@yahavi yahavi closed this as completed Jul 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants