diff options
Diffstat (limited to 'lib/outdated.js')
-rw-r--r-- | lib/outdated.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/outdated.js b/lib/outdated.js index 660f1cd05..fa626ecbd 100644 --- a/lib/outdated.js +++ b/lib/outdated.js @@ -144,6 +144,10 @@ async function outdated_ (tree, deps, opts) { try { const packument = await getPackument(spec) const expected = edge.spec + // if it's not a range, version, or tag, skip it + if (!npa(`${edge.name}@${edge.spec}`).registry) { + return null + } const wanted = pickManifest(packument, expected, npm.flatOptions) const latest = pickManifest(packument, '*', npm.flatOptions) |