Skip to content

Add a condition to fix third-party registries returning E400#5480

Merged
lukekarrys merged 2 commits intonpm:latestfrom
juanheyns:issue_5479
Sep 21, 2022
Merged

Add a condition to fix third-party registries returning E400#5480
lukekarrys merged 2 commits intonpm:latestfrom
juanheyns:issue_5479

Conversation

@juanheyns
Copy link
Copy Markdown
Contributor

Allow for third party registries which return E400 on /-/npm/v1/keys instead of E404.

This will make the behavior consistent for these repositories and other third party registries which return 400.

References

Fixes #5479

@juanheyns juanheyns requested a review from a team as a code owner September 7, 2022 22:07
Comment thread test/lib/commands/audit.js
@juanheyns juanheyns requested a review from wraithgar September 9, 2022 18:58
@fritzy fritzy force-pushed the latest branch 2 times, most recently from 3037d35 to f3b0c43 Compare September 14, 2022 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Third party registry returns E400 on /-/npm/v1/keys for npm audit signatures

3 participants