diff options
Diffstat (limited to 'deps/npm/lib/outdated.js')
-rw-r--r-- | deps/npm/lib/outdated.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/deps/npm/lib/outdated.js b/deps/npm/lib/outdated.js index e3ef5b1e45..b205922efe 100644 --- a/deps/npm/lib/outdated.js +++ b/deps/npm/lib/outdated.js @@ -24,7 +24,6 @@ var path = require("path") , cache = require("./cache.js") , asyncMap = require("slide").asyncMap , npm = require("./npm.js") - , semver = require("semver") function outdated (args, silent, cb) { if (typeof cb !== "function") cb = silent, silent = false @@ -138,7 +137,7 @@ function shouldUpdate (args, dir, dep, has, req, cb) { } function doIt (shouldHave) { - cb(null, [[ dir, dep, has[dep], shouldHave ]]) + cb(null, [[ dir, dep, has[dep], shouldHave, req ]]) } if (args.length && args.indexOf(dep) === -1) { |