Skip to content
This repository has been archived by the owner on Aug 23, 2018. It is now read-only.

DependedUpon endpoint consistently returns 404 #361

Open
Haroenv opened this issue Jun 27, 2018 · 0 comments
Open

DependedUpon endpoint consistently returns 404 #361

Haroenv opened this issue Jun 27, 2018 · 0 comments

Comments

@Haroenv
Copy link
Contributor

Haroenv commented Jun 27, 2018

As said in #231, there's no official API to list package dependents, I use the https://registry.npmjs.org/-/_view/dependedUpon endpoint to get the dependents of a single package.

Apart from the fact that it would be nice to be able to do an arbitrary batch of dependents (less requests for you too), it seems like I'm getting 404 for any call to that URL, since at least 4 days ago

You can see this too even with the npm-depend-upon package using that same endpoint:

https://runkit.com/embed/kjyf601bcai1

Haroenv referenced this issue in algolia/npm-search Jun 27, 2018
Haroenv referenced this issue in algolia/npm-search Jun 27, 2018
npm is currently serving us 404 for it (see https://github.com/npm/registry/issues/361)

Removing this is the only solution for now. This will cut down the amount of logs we're doing, and will also make CI green again.

We can revert this commit at a later date when the issue is fixed on npm's side.
Haroenv referenced this issue in algolia/npm-search Jun 27, 2018
* chore(dependents): remove the data fetching

npm is currently serving us 404 for it (see https://github.com/npm/registry/issues/361)

Removing this is the only solution for now. This will cut down the amount of logs we're doing, and will also make CI green again.

We can revert this commit at a later date when the issue is fixed on npm's side.

* fake only by adding 0 in all cases, not removing the keys
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant