diff options
author | isaacs <i@izs.me> | 2014-08-13 00:46:18 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2014-08-13 00:46:18 +0400 |
commit | 151cd2ff87b8ac2fc9ea366bc9b7f766dc5b9684 (patch) | |
tree | fa8c855bdd844fca740a74f93ef6fb2175646880 /node_modules/read-installed | |
parent | f5a94343a8ebe4a8cd987320b55137aef53fb3fd (diff) |
read-installed@3.1.0
Diffstat (limited to 'node_modules/read-installed')
4 files changed, 16 insertions, 11 deletions
diff --git a/node_modules/read-installed/node_modules/debuglog/package.json b/node_modules/read-installed/node_modules/debuglog/package.json index 396662562..d1a4fdeb6 100644 --- a/node_modules/read-installed/node_modules/debuglog/package.json +++ b/node_modules/read-installed/node_modules/debuglog/package.json @@ -41,5 +41,6 @@ ], "directories": {}, "_shasum": "aa24ffb9ac3df9a2351837cfb2d279360cd78492", - "_resolved": "https://registry.npmjs.org/debuglog/-/debuglog-1.0.1.tgz" + "_resolved": "https://registry.npmjs.org/debuglog/-/debuglog-1.0.1.tgz", + "readme": "ERROR: No README data found!" } diff --git a/node_modules/read-installed/node_modules/util-extend/package.json b/node_modules/read-installed/node_modules/util-extend/package.json index 0bab48d32..cbcbed27f 100644 --- a/node_modules/read-installed/node_modules/util-extend/package.json +++ b/node_modules/read-installed/node_modules/util-extend/package.json @@ -36,5 +36,6 @@ ], "directories": {}, "_shasum": "bb703b79480293ddcdcfb3c6a9fea20f483415bc", - "_resolved": "https://registry.npmjs.org/util-extend/-/util-extend-1.0.1.tgz" + "_resolved": "https://registry.npmjs.org/util-extend/-/util-extend-1.0.1.tgz", + "homepage": "https://github.com/isaacs/util-extend" } diff --git a/node_modules/read-installed/package.json b/node_modules/read-installed/package.json index 4a311dd09..bc1fdb8e0 100644 --- a/node_modules/read-installed/package.json +++ b/node_modules/read-installed/package.json @@ -1,7 +1,7 @@ { "name": "read-installed", "description": "Read all the installed packages in a folder, and return a tree structure with all the data.", - "version": "3.0.0", + "version": "3.1.0", "repository": { "type": "git", "url": "git://github.com/isaacs/read-installed" @@ -13,6 +13,7 @@ "dependencies": { "debuglog": "^1.0.1", "read-package-json": "1", + "readdir-scoped-modules": "^1.0.0", "semver": "2 || 3", "slide": "~1.1.3", "util-extend": "^1.0.1", @@ -32,15 +33,15 @@ "rimraf": "^2.2.8", "tap": "~0.4.8" }, - "gitHead": "7d7aab10f63017271e48c44d382c01e73a04ba59", + "gitHead": "1dbabc054a686b43607c642b1eea30b6707a18c6", "bugs": { "url": "https://github.com/isaacs/read-installed/issues" }, "homepage": "https://github.com/isaacs/read-installed", - "_id": "read-installed@3.0.0", - "_shasum": "a11326732b98e0aa7013ce25c0afcf18cd57b081", + "_id": "read-installed@3.1.0", + "_shasum": "47075ba8828147ed495084df779f29a4329ad3df", "_from": "read-installed@latest", - "_npmVersion": "1.4.22", + "_npmVersion": "2.0.0-alpha.6.0", "_npmUser": { "name": "isaacs", "email": "i@izs.me" @@ -56,9 +57,9 @@ } ], "dist": { - "shasum": "a11326732b98e0aa7013ce25c0afcf18cd57b081", - "tarball": "http://registry.npmjs.org/read-installed/-/read-installed-3.0.0.tgz" + "shasum": "47075ba8828147ed495084df779f29a4329ad3df", + "tarball": "http://registry.npmjs.org/read-installed/-/read-installed-3.1.0.tgz" }, "directories": {}, - "_resolved": "https://registry.npmjs.org/read-installed/-/read-installed-3.0.0.tgz" + "_resolved": "https://registry.npmjs.org/read-installed/-/read-installed-3.1.0.tgz" } diff --git a/node_modules/read-installed/read-installed.js b/node_modules/read-installed/read-installed.js index 713d2633c..a3e50e2c7 100644 --- a/node_modules/read-installed/read-installed.js +++ b/node_modules/read-installed/read-installed.js @@ -103,6 +103,8 @@ var extend = require("util-extend") var debug = require("debuglog")("read-installed") +var readdir = require("readdir-scoped-modules") + module.exports = readInstalled function readInstalled (folder, opts, cb) { @@ -143,7 +145,7 @@ function readInstalled_ (folder, parent, name, reqver, depth, opts, cb) { , link , realpathSeen = opts.realpathSeen - fs.readdir(path.resolve(folder, "node_modules"), function (er, i) { + readdir(path.resolve(folder, "node_modules"), function (er, i) { // error indicates that nothing is installed here if (er) i = [] installed = i.filter(function (f) { return f.charAt(0) !== "." }) |