Skip to content

Commit 7998294

Browse files
committed
fix: resolve all dist-tags (not just latest) to precise versions for caching
resolveVersion() now uses a semver regex to detect precise versions (e.g. "0.1.8", "1.0.0-beta.1") and passes them through. Any other input (e.g. "latest", "alpha", "canary") is treated as a dist-tag and resolved to a precise version via the npm registry.
1 parent 3fbe800 commit 7998294

4 files changed

Lines changed: 43 additions & 26 deletions

File tree

0 commit comments

Comments
 (0)