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

Handle unpublished packages #371

Closed
MartinKolarik opened this issue Sep 6, 2020 · 3 comments
Closed

Handle unpublished packages #371

MartinKolarik opened this issue Sep 6, 2020 · 3 comments

Comments

@MartinKolarik
Copy link
Member

https://registry.npmjs.cf/mbdocsify-sidebarfooter

Right now, we show them in search results but the package page doesn't load. We should probably hide them from search.

@xbpcb
Copy link
Collaborator

xbpcb commented May 27, 2021

@MartinKolarik It seems impossible to tell if the package is published or not relying on the available attributesToRetrieve. According to the algoliasearch response to get specific package the package is exists but attempt to get the package from the data.jsdelivr.com leads to 404. What do you think, am i missed some approach?

@MartinKolarik
Copy link
Member Author

Yes, it's possible this would need changes in https://github.com/algolia/npm-search first.

@MartinKolarik
Copy link
Member Author

A fix for this was included in our recent search changes.

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

No branches or pull requests

2 participants