3 ms·
Will it bring npmjs down again? Is there any hidden new upgrade to npmjs recently?
by KayL 10y ago
Will it bring npmjs down again? Is there any hidden new upgrade to npmjs recently?
- vanderZwan 10y agoConsidering they've been working together with NPM since the previous recovery build, I highly doubt they would have released this unless both parties were really sure this will cause no problems.
- Arnavion 10y agoYes, I believe it uses https://www.npmjs.com/package/types-registry https://www.npmjs.com/package/types-registry now, going by https://github.com/Microsoft/TypeScript/blob/a8ef77c3/src/server/typingsInstaller/nodeTypingsInstaller.ts#L59 https://github.com/Microsoft/TypeScript/blob/a8ef77c3/src/se...
- RyanCavanaugh 10y agoTwo main issues combined to cause the NPM problems: NPM didn't cache 404 responses, so they were much more expensive than normal fetches, and VS Code issued way too many requests which resulted in 404s. Both have been addressed -- NPM handles 404s better now, and VS Code will no longer request packages which don't exist (by downloading the registry package once). Either fix would have be sufficient, but having both is better.