levibostian / is-it-deployed

node module (and CLI) that checks if a specific version of a package has been deployed yet.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prevent false positives when checking version that just got deployed

levibostian opened this issue · comments

Actual

  • Deploy a package version 1.0.0 to npmjs.com
  • Less then 1 second later, use this module to check if 1.0.0 got deployed for my package.
  • Check fails saying that version 1.0.0 does not exist. Perhaps because npm has not updated it's API yet with this new version yet?

Expected

  • Deploy a package version 1.0.0 to npmjs.com
  • Less then 1 second later, use this module to check if 1.0.0 got deployed for my package.
  • Check succeeds (maybe after a couple retries) saying that version 1.0.0 does exist.