diff options
Diffstat (limited to 'node_modules/read-installed')
5 files changed, 74 insertions, 125 deletions
diff --git a/node_modules/read-installed/node_modules/util-extend/README.md b/node_modules/read-installed/node_modules/util-extend/README.md deleted file mode 100644 index be03922ab..000000000 --- a/node_modules/read-installed/node_modules/util-extend/README.md +++ /dev/null @@ -1,13 +0,0 @@ -# util-extend - -The Node object extending function that Node uses for Node! - -## Usage - -```js -var extend = require('util-extend'); -function functionThatTakesOptions(options) { - var options = extend(defaults, options); - // now any unset options are set to the defaults. -} -``` diff --git a/node_modules/read-installed/node_modules/util-extend/extend.js b/node_modules/read-installed/node_modules/util-extend/extend.js deleted file mode 100644 index de9fcf471..000000000 --- a/node_modules/read-installed/node_modules/util-extend/extend.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright Joyent, Inc. and other Node contributors. -// -// Permission is hereby granted, free of charge, to any person obtaining a -// copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to permit -// persons to whom the Software is furnished to do so, subject to the -// following conditions: -// -// The above copyright notice and this permission notice shall be included -// in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN -// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, -// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE -// USE OR OTHER DEALINGS IN THE SOFTWARE. - -module.exports = extend; -function extend(origin, add) { - // Don't do anything if add isn't an object - if (!add || typeof add !== 'object') return origin; - - var keys = Object.keys(add); - var i = keys.length; - while (i--) { - origin[keys[i]] = add[keys[i]]; - } - return origin; -} diff --git a/node_modules/read-installed/node_modules/util-extend/package.json b/node_modules/read-installed/node_modules/util-extend/package.json deleted file mode 100644 index 942b78604..000000000 --- a/node_modules/read-installed/node_modules/util-extend/package.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "util-extend", - "version": "1.0.1", - "description": "Node's internal object extension function", - "main": "extend.js", - "scripts": { - "test": "node test.js" - }, - "repository": { - "type": "git", - "url": "git://github.com/isaacs/util-extend" - }, - "author": "", - "license": "MIT", - "readmeFilename": "README.md", - "readme": "# util-extend\n\nThe Node object extending function that Node uses for Node!\n\n## Usage\n\n```js\nvar extend = require('util-extend');\nfunction functionThatTakesOptions(options) {\n var options = extend(defaults, options);\n // now any unset options are set to the defaults.\n}\n```\n", - "bugs": { - "url": "https://github.com/isaacs/util-extend/issues" - }, - "_id": "util-extend@1.0.1", - "dist": { - "shasum": "bb703b79480293ddcdcfb3c6a9fea20f483415bc", - "tarball": "http://registry.npmjs.org/util-extend/-/util-extend-1.0.1.tgz" - }, - "_from": "util-extend@>=1.0.1 <2.0.0", - "_npmVersion": "1.3.4", - "_npmUser": { - "name": "isaacs", - "email": "i@izs.me" - }, - "maintainers": [ - { - "name": "isaacs", - "email": "i@izs.me" - } - ], - "directories": {}, - "_shasum": "bb703b79480293ddcdcfb3c6a9fea20f483415bc", - "_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/node_modules/util-extend/test.js b/node_modules/read-installed/node_modules/util-extend/test.js deleted file mode 100644 index fbee2b1e1..000000000 --- a/node_modules/read-installed/node_modules/util-extend/test.js +++ /dev/null @@ -1,10 +0,0 @@ -var assert = require('assert'); -var extend = require('./'); -assert.deepEqual(extend({a:1}), {a:1}); -assert.deepEqual(extend({a:1}, []), {a:1}); -assert.deepEqual(extend({a:1}, null), {a:1}); -assert.deepEqual(extend({a:1}, true), {a:1}); -assert.deepEqual(extend({a:1}, false), {a:1}); -assert.deepEqual(extend({a:1}, {b:2}), {a:1, b:2}); -assert.deepEqual(extend({a:1, b:2}, {b:3}), {a:1, b:3}); -console.log('ok'); diff --git a/node_modules/read-installed/package.json b/node_modules/read-installed/package.json index 7ecdc716e..1e14fdcfc 100644 --- a/node_modules/read-installed/package.json +++ b/node_modules/read-installed/package.json @@ -1,46 +1,92 @@ { - "name": "read-installed", - "description": "Read all the installed packages in a folder, and return a tree structure with all the data.", - "version": "4.0.0", - "repository": { - "type": "git", - "url": "git://github.com/isaacs/read-installed" + "_args": [ + [ + "read-installed@~4.0.0", + "/Users/rebecca/code/npm" + ] + ], + "_from": "read-installed@>=4.0.0 <4.1.0", + "_id": "read-installed@4.0.0", + "_inCache": true, + "_location": "/read-installed", + "_nodeVersion": "1.6.2", + "_npmUser": { + "email": "me@re-becca.org", + "name": "iarna" }, - "main": "read-installed.js", - "scripts": { - "test": "tap ./test/*.js" + "_npmVersion": "2.7.5", + "_phantomChildren": {}, + "_requested": { + "name": "read-installed", + "raw": "read-installed@~4.0.0", + "rawSpec": "~4.0.0", + "scope": null, + "spec": ">=4.0.0 <4.1.0", + "type": "range" + }, + "_requiredBy": [ + "/" + ], + "_shasum": "dbca08d6bd83e2a3b93c962053ba4d839e0769ba", + "_shrinkwrap": null, + "_spec": "read-installed@~4.0.0", + "_where": "/Users/rebecca/code/npm", + "author": { + "email": "i@izs.me", + "name": "Isaac Z. Schlueter", + "url": "http://blog.izs.me/" + }, + "bugs": { + "url": "https://github.com/isaacs/read-installed/issues" }, "dependencies": { "debuglog": "^1.0.1", + "graceful-fs": "2 || 3", "read-package-json": "^2.0.0", "readdir-scoped-modules": "^1.0.0", "semver": "2 || 3 || 4", "slide": "~1.1.3", - "util-extend": "^1.0.1", - "graceful-fs": "2 || 3" - }, - "optionalDependencies": { - "graceful-fs": "2 || 3" - }, - "author": { - "name": "Isaac Z. Schlueter", - "email": "i@izs.me", - "url": "http://blog.izs.me/" + "util-extend": "^1.0.1" }, - "license": "ISC", + "description": "Read all the installed packages in a folder, and return a tree structure with all the data.", "devDependencies": { "mkdirp": "^0.5.0", "rimraf": "^2.2.8", "tap": "~0.4.8" }, - "readme": "# read-installed\n\nRead all the installed packages in a folder, and return a tree\nstructure with all the data.\n\nnpm uses this.\n\n## 2.0.0\n\nBreaking changes in `2.0.0`:\n\nThe second argument is now an `Object` that contains the following keys:\n\n * `depth` optional, defaults to Infinity\n * `log` optional log Function\n * `dev` optional, default false, set to true to include devDependencies\n\n## Usage\n\n```javascript\nvar readInstalled = require(\"read-installed\")\n// optional options\nvar options = { dev: false, log: fn, depth: 2 }\nreadInstalled(folder, options, function (er, data) {\n ...\n})\n```\n", - "readmeFilename": "README.md", - "gitHead": "c1dea4823e2219a79d6184621917ee27d4283bc0", - "bugs": { - "url": "https://github.com/isaacs/read-installed/issues" + "directories": {}, + "dist": { + "shasum": "dbca08d6bd83e2a3b93c962053ba4d839e0769ba", + "tarball": "http://registry.npmjs.org/read-installed/-/read-installed-4.0.0.tgz" }, + "gitHead": "c1dea4823e2219a79d6184621917ee27d4283bc0", "homepage": "https://github.com/isaacs/read-installed", - "_id": "read-installed@4.0.0", - "_shasum": "dbca08d6bd83e2a3b93c962053ba4d839e0769ba", - "_from": "read-installed@>=4.0.0 <4.1.0" + "license": "ISC", + "main": "read-installed.js", + "maintainers": [ + { + "name": "isaacs", + "email": "i@izs.me" + }, + { + "name": "othiym23", + "email": "ogd@aoaioxxysz.net" + }, + { + "name": "iarna", + "email": "me@re-becca.org" + } + ], + "name": "read-installed", + "optionalDependencies": { + "graceful-fs": "2 || 3" + }, + "repository": { + "type": "git", + "url": "git://github.com/isaacs/read-installed" + }, + "scripts": { + "test": "tap ./test/*.js" + }, + "version": "4.0.0" } |