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

Speed up requests with dist-tags endpoint #1328

Closed
wants to merge 1 commit into from
Closed

Conversation

raineorshine
Copy link
Owner

@raineorshine raineorshine commented Sep 13, 2023

Use the /dist-tags registry endpoint for fetching the latest version instead of the full packument.

e.g. https://registry.npmjs.org/-/package/npm-check-updates/dist-tags

Initial exploration of #961.

@raineorshine
Copy link
Owner Author

Hit a block when I realized that the deprecated status is not available on that endpoint. npm-check-updates excludes deprecated versions by default, even if they are published to latest. Unfortunately this means the /dist-tags endpoint is insufficient.

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.

1 participant