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

npms.io search broken since Jan 2023 (a.k.a. remove search command from package managers or use https://registry.npmjs.org/[query]) #5792

Open
3 tasks done
jasongitmail opened this issue Mar 9, 2024 · 0 comments
Labels
bug-pending-triage Reported bug, pending triage to confirm.

Comments

@jasongitmail
Copy link
Contributor

Issue Description

The package manager's search method calls the npms.io API to search for package names.

npms.io has been broken and not updating with new packages since Jan 2023 See npms-io/npms-api#112

One solution would be to switch to the https://registry.npmjs.org/[query] endpoint.
But a better solution imo, would be to remove the search and view commands from npm, pnpm and bun package managers as an opportunity to simplify and reduce code maintenance, given it's been broken a very long time and a dev can just use their package manager directly for those.

Reproduction

No response

Relevant log output (if applicable)

No response

Environment

No response

Please accept these terms

@jasongitmail jasongitmail added the bug-pending-triage Reported bug, pending triage to confirm. label Mar 9, 2024
@jasongitmail jasongitmail changed the title npms.io search broken since Jan 2023 npms.io search broken since Jan 2023 (a.k.a. remove search and view commands from package managers) Mar 9, 2024
@jasongitmail jasongitmail changed the title npms.io search broken since Jan 2023 (a.k.a. remove search and view commands from package managers) npms.io search broken since Jan 2023 (a.k.a. remove search command from package managers) Mar 9, 2024
@jasongitmail jasongitmail changed the title npms.io search broken since Jan 2023 (a.k.a. remove search command from package managers) npms.io search broken since Jan 2023 (a.k.a. remove search command from package managers or change to https://registry.npmjs.org/[query]) Mar 9, 2024
@jasongitmail jasongitmail changed the title npms.io search broken since Jan 2023 (a.k.a. remove search command from package managers or change to https://registry.npmjs.org/[query]) npms.io search broken since Jan 2023 (a.k.a. remove search command from package managers or use https://registry.npmjs.org/[query]) Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-pending-triage Reported bug, pending triage to confirm.
Projects
None yet
Development

No branches or pull requests

1 participant