Missing NPM Versions
markwallsgrove opened this issue · comments
Mark Wallsgrove commented
Versions 1.2.2 & 1.2.3 have suddenly disappeared from NPM. Please could you upload them again? Weirdly the versions
element within the XML doesn't include either version, but the time
element does include them https://registry.npmjs.org/which/.
Andrew Elgert commented
I'm seeing this issue as well.
isaacs commented
- Those versions were unpublished on purpose. They were fundamentally broken, and the bug was corrected in 1.2.4. (see: 257dff2 and 2d5dbe5)
- That's JSON, not XML.
- The
time
field includes all versions that have ever been published, even if they are subsequently unpublished. - No, I cannot upload versions 1.2.2 and 1.2.3 again, because once a version number is used, it can never be re-used again. This is by design.
Use 1.2.4 instead.
Nicolas Günther commented
You should not unpublish versions because of bugs. Thats why versioning exists. You are accidentally breaking dependency trees in dependant packages.
isaacs commented
Anyone using the package at version 1.2.2 or 1.2.3 was already 100% broken.
What package can't be installed? I'll send them a PR to update their dep.