Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Fixing package-lock protocol jitter #81

Answered by isaacs
bnb asked this question in CLI
Discussion options

You must be logged in to vote

Is this still an issue on npm v7? It should be always saving with https whenever it's a registry request, regardless of what the dist.tarball says. Also: any tarball being fetched from the registry will be fetched via https if the --registry setting is https, that's been hard-coded since the v5 days. I haven't seen any reports of that jitter except when dealing with caches and package-lock files from pretty old versions of npm. 6.14.8 (as seen in npm/cli#1685) isn't that old, but since it happens due to caches and lockfiles created by earlier versions of npm, which npm v6 did not correct to the same degree that npm v7 does.

(And, while I realize this point addresses the issue exactly 0%, …

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@isaacs
Comment options

@isaacs
Comment options

@MylesBorins
Comment options

@bnb
Comment options

@MylesBorins
Comment options

Answer selected by MylesBorins
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
CLI
Labels
None yet
4 participants