MCPcopy Create free account
hub / github.com/npm/cli / update-notifier.js

File update-notifier.js

lib/cli/update-notifier.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// print a banner telling the user to upgrade npm to latest but not in CI, and not if we're doing that already.
2
3const ciInfo = require('ci-info')
4const gt = require('semver/functions/gt')

Callers

nothing calls this directly

Calls 2

updateNotifierFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected