-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update security advisory data endpoint
The previous way of fetching https://npmjs.com/advisories/ URLs with a `X-Spiferack: 1` header no longer returns JSON, most probably due to such URLs now redirecting to the GitHub Advisory database. Switch instead to use the endpoint: `https://registry.npmjs.org/-/npm/v1/security/advisories/{id}`
- Loading branch information
1 parent
5ba9066
commit fc82dd3
Showing
2 changed files
with
27 additions
and
62 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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