MCPcopy Index your code
hub / github.com/nodejs/node / lastCheckedFile

Function lastCheckedFile

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

Source from the content-addressed store, hash-verified

13
14// don't put it in the _cacache folder, just in npm's cache
15const lastCheckedFile = npm => resolve(npm.flatOptions.cache, '../_update-notifier-last-checked')
16
17// Actual check for updates. This is a separate function so that we only load this if we are doing the actual update
18const updateCheck = async (npm, spec, version, current) => {

Callers 1

updateNotifierFunction · 0.85

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…