-
Notifications
You must be signed in to change notification settings - Fork 24
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
Implement "composer audit" for NPM packages #159
Labels
Comments
Hello. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be useful if
composer audit
could work fornpm-asset/
packages.composer audit
reads asecurity-advisories
key in the JSON returned by the repository.Some other third-party Composer repositories have already implemented it (for example: https://repo.packagist.org/p2/drupal/core.json).
It should be possible to call the the NPM audit API (https://registry.npmjs.org/-/npm/v1/security/audits) and convert the result to the Composer format when building the Composer repository.
(I created a Composer plugin that does this but as a separate command: https://github.com/prudloff-insite/composer-npm-audit)
The text was updated successfully, but these errors were encountered: