From 37ac5e52bfaa79be477b4ac123ed05980defe599 Mon Sep 17 00:00:00 2001 From: isaacs Date: Fri, 6 Apr 2012 14:42:19 -0700 Subject: [PATCH] Update npm to 1.1.16 --- deps/npm/AUTHORS | 2 + deps/npm/doc/cli/config.md | 7 + deps/npm/doc/cli/json.md | 2 +- deps/npm/html/api/bin.html | 2 +- deps/npm/html/api/bugs.html | 2 +- deps/npm/html/api/commands.html | 2 +- deps/npm/html/api/config.html | 2 +- deps/npm/html/api/deprecate.html | 2 +- deps/npm/html/api/docs.html | 2 +- deps/npm/html/api/edit.html | 2 +- deps/npm/html/api/explore.html | 2 +- deps/npm/html/api/help-search.html | 2 +- deps/npm/html/api/init.html | 2 +- deps/npm/html/api/install.html | 2 +- deps/npm/html/api/link.html | 2 +- deps/npm/html/api/load.html | 2 +- deps/npm/html/api/ls.html | 2 +- deps/npm/html/api/npm.html | 4 +- deps/npm/html/api/outdated.html | 2 +- deps/npm/html/api/owner.html | 2 +- deps/npm/html/api/pack.html | 2 +- deps/npm/html/api/prefix.html | 2 +- deps/npm/html/api/prune.html | 2 +- deps/npm/html/api/publish.html | 2 +- deps/npm/html/api/rebuild.html | 2 +- deps/npm/html/api/restart.html | 2 +- deps/npm/html/api/root.html | 2 +- deps/npm/html/api/run-script.html | 2 +- deps/npm/html/api/search.html | 2 +- deps/npm/html/api/shrinkwrap.html | 2 +- deps/npm/html/api/start.html | 2 +- deps/npm/html/api/stop.html | 2 +- deps/npm/html/api/submodule.html | 2 +- deps/npm/html/api/tag.html | 2 +- deps/npm/html/api/test.html | 2 +- deps/npm/html/api/uninstall.html | 2 +- deps/npm/html/api/unpublish.html | 2 +- deps/npm/html/api/update.html | 2 +- deps/npm/html/api/version.html | 2 +- deps/npm/html/api/view.html | 2 +- deps/npm/html/api/whoami.html | 2 +- deps/npm/html/doc/README.html | 2 +- deps/npm/html/doc/adduser.html | 2 +- deps/npm/html/doc/bin.html | 2 +- deps/npm/html/doc/bugs.html | 2 +- deps/npm/html/doc/build.html | 2 +- deps/npm/html/doc/bundle.html | 2 +- deps/npm/html/doc/cache.html | 2 +- deps/npm/html/doc/changelog.html | 2 +- deps/npm/html/doc/coding-style.html | 2 +- deps/npm/html/doc/completion.html | 2 +- deps/npm/html/doc/config.html | 8 +- deps/npm/html/doc/deprecate.html | 2 +- deps/npm/html/doc/developers.html | 2 +- deps/npm/html/doc/disputes.html | 2 +- deps/npm/html/doc/docs.html | 2 +- deps/npm/html/doc/edit.html | 2 +- deps/npm/html/doc/explore.html | 2 +- deps/npm/html/doc/faq.html | 2 +- deps/npm/html/doc/folders.html | 2 +- deps/npm/html/doc/help-search.html | 2 +- deps/npm/html/doc/help.html | 2 +- deps/npm/html/doc/index.html | 2 +- deps/npm/html/doc/init.html | 2 +- deps/npm/html/doc/install.html | 2 +- deps/npm/html/doc/json.html | 4 +- deps/npm/html/doc/link.html | 2 +- deps/npm/html/doc/list.html | 2 +- deps/npm/html/doc/npm.html | 4 +- deps/npm/html/doc/outdated.html | 2 +- deps/npm/html/doc/owner.html | 2 +- deps/npm/html/doc/pack.html | 2 +- deps/npm/html/doc/prefix.html | 2 +- deps/npm/html/doc/prune.html | 2 +- deps/npm/html/doc/publish.html | 2 +- deps/npm/html/doc/rebuild.html | 2 +- deps/npm/html/doc/registry.html | 2 +- deps/npm/html/doc/removing-npm.html | 2 +- deps/npm/html/doc/restart.html | 2 +- deps/npm/html/doc/root.html | 2 +- deps/npm/html/doc/run-script.html | 2 +- deps/npm/html/doc/scripts.html | 2 +- deps/npm/html/doc/search.html | 2 +- deps/npm/html/doc/semver.html | 2 +- deps/npm/html/doc/shrinkwrap.html | 2 +- deps/npm/html/doc/star.html | 2 +- deps/npm/html/doc/start.html | 2 +- deps/npm/html/doc/stop.html | 2 +- deps/npm/html/doc/submodule.html | 2 +- deps/npm/html/doc/tag.html | 2 +- deps/npm/html/doc/test.html | 2 +- deps/npm/html/doc/uninstall.html | 2 +- deps/npm/html/doc/unpublish.html | 2 +- deps/npm/html/doc/update.html | 2 +- deps/npm/html/doc/version.html | 2 +- deps/npm/html/doc/view.html | 2 +- deps/npm/html/doc/whoami.html | 2 +- deps/npm/lib/bugs.js | 2 +- deps/npm/lib/cache.js | 90 +- deps/npm/lib/docs.js | 2 +- deps/npm/lib/init.js | 5 +- deps/npm/lib/install.js | 62 +- deps/npm/lib/ls.js | 200 ++-- deps/npm/lib/npm.js | 32 +- deps/npm/lib/utils/cmd-shim.js | 2 +- .../lib/utils/completion/file-completion.js | 2 +- deps/npm/lib/utils/config-defs.js | 3 + deps/npm/lib/utils/excludes.js | 159 --- deps/npm/lib/utils/fetch.js | 6 +- deps/npm/lib/utils/link.js | 2 +- deps/npm/lib/utils/mkdir-p.js | 191 ---- deps/npm/lib/utils/npm-registry-client/get.js | 7 +- .../lib/utils/npm-registry-client/request.js | 2 + deps/npm/lib/utils/read-json.js | 18 +- deps/npm/lib/utils/tar.js | 476 +-------- deps/npm/lib/utils/uid-number.js | 55 - deps/npm/man/man1/README.1 | 2 +- deps/npm/man/man1/adduser.1 | 2 +- deps/npm/man/man1/bin.1 | 2 +- deps/npm/man/man1/bugs.1 | 2 +- deps/npm/man/man1/build.1 | 2 +- deps/npm/man/man1/bundle.1 | 2 +- deps/npm/man/man1/cache.1 | 2 +- deps/npm/man/man1/changelog.1 | 2 +- deps/npm/man/man1/coding-style.1 | 2 +- deps/npm/man/man1/completion.1 | 2 +- deps/npm/man/man1/config.1 | 15 +- deps/npm/man/man1/deprecate.1 | 2 +- deps/npm/man/man1/developers.1 | 2 +- deps/npm/man/man1/disputes.1 | 2 +- deps/npm/man/man1/docs.1 | 2 +- deps/npm/man/man1/edit.1 | 2 +- deps/npm/man/man1/explore.1 | 2 +- deps/npm/man/man1/faq.1 | 2 +- deps/npm/man/man1/folders.1 | 2 +- deps/npm/man/man1/help-search.1 | 2 +- deps/npm/man/man1/help.1 | 2 +- deps/npm/man/man1/index.1 | 2 +- deps/npm/man/man1/init.1 | 2 +- deps/npm/man/man1/install.1 | 2 +- deps/npm/man/man1/json.1 | 4 +- deps/npm/man/man1/link.1 | 2 +- deps/npm/man/man1/list.1 | 2 +- deps/npm/man/man1/npm.1 | 4 +- deps/npm/man/man1/outdated.1 | 2 +- deps/npm/man/man1/owner.1 | 2 +- deps/npm/man/man1/pack.1 | 2 +- deps/npm/man/man1/prefix.1 | 2 +- deps/npm/man/man1/prune.1 | 2 +- deps/npm/man/man1/publish.1 | 2 +- deps/npm/man/man1/rebuild.1 | 2 +- deps/npm/man/man1/registry.1 | 2 +- deps/npm/man/man1/removing-npm.1 | 2 +- deps/npm/man/man1/restart.1 | 2 +- deps/npm/man/man1/root.1 | 2 +- deps/npm/man/man1/run-script.1 | 2 +- deps/npm/man/man1/scripts.1 | 2 +- deps/npm/man/man1/search.1 | 2 +- deps/npm/man/man1/semver.1 | 2 +- deps/npm/man/man1/shrinkwrap.1 | 2 +- deps/npm/man/man1/star.1 | 2 +- deps/npm/man/man1/start.1 | 2 +- deps/npm/man/man1/stop.1 | 2 +- deps/npm/man/man1/submodule.1 | 2 +- deps/npm/man/man1/tag.1 | 2 +- deps/npm/man/man1/test.1 | 2 +- deps/npm/man/man1/uninstall.1 | 2 +- deps/npm/man/man1/unpublish.1 | 2 +- deps/npm/man/man1/update.1 | 2 +- deps/npm/man/man1/version.1 | 2 +- deps/npm/man/man1/view.1 | 2 +- deps/npm/man/man1/whoami.1 | 2 +- deps/npm/man/man3/bin.3 | 2 +- deps/npm/man/man3/bugs.3 | 2 +- deps/npm/man/man3/commands.3 | 2 +- deps/npm/man/man3/config.3 | 2 +- deps/npm/man/man3/deprecate.3 | 2 +- deps/npm/man/man3/docs.3 | 2 +- deps/npm/man/man3/edit.3 | 2 +- deps/npm/man/man3/explore.3 | 2 +- deps/npm/man/man3/help-search.3 | 2 +- deps/npm/man/man3/init.3 | 2 +- deps/npm/man/man3/install.3 | 2 +- deps/npm/man/man3/link.3 | 2 +- deps/npm/man/man3/load.3 | 2 +- deps/npm/man/man3/ls.3 | 2 +- deps/npm/man/man3/npm.3 | 4 +- deps/npm/man/man3/outdated.3 | 2 +- deps/npm/man/man3/owner.3 | 2 +- deps/npm/man/man3/pack.3 | 2 +- deps/npm/man/man3/prefix.3 | 2 +- deps/npm/man/man3/prune.3 | 2 +- deps/npm/man/man3/publish.3 | 2 +- deps/npm/man/man3/rebuild.3 | 2 +- deps/npm/man/man3/restart.3 | 2 +- deps/npm/man/man3/root.3 | 2 +- deps/npm/man/man3/run-script.3 | 2 +- deps/npm/man/man3/search.3 | 2 +- deps/npm/man/man3/shrinkwrap.3 | 2 +- deps/npm/man/man3/start.3 | 2 +- deps/npm/man/man3/stop.3 | 2 +- deps/npm/man/man3/submodule.3 | 2 +- deps/npm/man/man3/tag.3 | 2 +- deps/npm/man/man3/test.3 | 2 +- deps/npm/man/man3/uninstall.3 | 2 +- deps/npm/man/man3/unpublish.3 | 2 +- deps/npm/man/man3/update.3 | 2 +- deps/npm/man/man3/version.3 | 2 +- deps/npm/man/man3/view.3 | 2 +- deps/npm/man/man3/whoami.3 | 2 +- deps/npm/node_modules/archy/README.markdown | 92 ++ deps/npm/node_modules/archy/index.js | 35 + deps/npm/node_modules/archy/package.json | 52 + deps/npm/node_modules/chownr/README.md | 3 + deps/npm/node_modules/chownr/chownr.js | 41 + deps/npm/node_modules/chownr/package.json | 38 + deps/npm/node_modules/fstream-npm/.npmignore | 2 + deps/npm/node_modules/fstream-npm/README.md | 18 + .../node_modules/fstream-npm/fstream-npm.js | 302 ++++++ .../node_modules/fstream-ignore/.npmignore | 1 + .../node_modules/fstream-ignore/README.md | 22 + .../node_modules/fstream-ignore/ignore.js | 275 +++++ .../node_modules/fstream-ignore/package.json | 42 + .../npm/node_modules/fstream-npm/package.json | 34 + deps/npm/node_modules/fstream/lib/abstract.js | 5 + .../node_modules/fstream/lib/dir-reader.js | 111 +- .../node_modules/fstream/lib/dir-writer.js | 4 +- .../node_modules/fstream/lib/link-writer.js | 1 - .../node_modules/fstream/lib/proxy-reader.js | 1 + deps/npm/node_modules/fstream/lib/reader.js | 33 +- deps/npm/node_modules/fstream/lib/writer.js | 229 ++-- deps/npm/node_modules/fstream/package.json | 8 +- deps/npm/node_modules/minimatch/README.md | 14 +- deps/npm/node_modules/minimatch/minimatch.js | 46 +- deps/npm/node_modules/minimatch/package.json | 29 +- deps/npm/node_modules/mkdirp/index.js | 46 +- deps/npm/node_modules/mkdirp/package.json | 63 +- deps/npm/node_modules/node-gyp/README.md | 6 +- .../npm/node_modules/node-gyp/bin/node-gyp.js | 2 +- deps/npm/node_modules/node-gyp/lib/install.js | 16 +- deps/npm/node_modules/node-gyp/lib/remove.js | 2 +- .../node-gyp/node_modules/ansi/package.json | 5 +- .../glob/node_modules/minimatch/.travis.yml | 4 - .../glob/node_modules/minimatch/LICENSE | 23 - .../glob/node_modules/minimatch/README.md | 218 ---- .../glob/node_modules/minimatch/minimatch.js | 986 ------------------ .../glob/node_modules/minimatch/package.json | 44 - .../node-gyp/node_modules/glob/package.json | 2 +- deps/npm/node_modules/node-gyp/package.json | 12 +- deps/npm/node_modules/read/LICENCE | 25 + deps/npm/node_modules/read/lib/read.js | 16 +- deps/npm/node_modules/read/package.json | 18 +- deps/npm/node_modules/uid-number/README.md | 17 + .../uid-number/get-uid-gid.js} | 8 + deps/npm/node_modules/uid-number/package.json | 34 + .../npm/node_modules/uid-number/uid-number.js | 54 + deps/npm/package.json | 18 +- deps/npm/scripts/index-build.js | 1 + 258 files changed, 2022 insertions(+), 2770 deletions(-) delete mode 100644 deps/npm/lib/utils/excludes.js delete mode 100644 deps/npm/lib/utils/mkdir-p.js delete mode 100644 deps/npm/lib/utils/uid-number.js create mode 100644 deps/npm/node_modules/archy/README.markdown create mode 100644 deps/npm/node_modules/archy/index.js create mode 100644 deps/npm/node_modules/archy/package.json create mode 100644 deps/npm/node_modules/chownr/README.md create mode 100644 deps/npm/node_modules/chownr/chownr.js create mode 100644 deps/npm/node_modules/chownr/package.json create mode 100644 deps/npm/node_modules/fstream-npm/.npmignore create mode 100644 deps/npm/node_modules/fstream-npm/README.md create mode 100644 deps/npm/node_modules/fstream-npm/fstream-npm.js create mode 100644 deps/npm/node_modules/fstream-npm/node_modules/fstream-ignore/.npmignore create mode 100644 deps/npm/node_modules/fstream-npm/node_modules/fstream-ignore/README.md create mode 100644 deps/npm/node_modules/fstream-npm/node_modules/fstream-ignore/ignore.js create mode 100644 deps/npm/node_modules/fstream-npm/node_modules/fstream-ignore/package.json create mode 100644 deps/npm/node_modules/fstream-npm/package.json delete mode 100644 deps/npm/node_modules/node-gyp/node_modules/glob/node_modules/minimatch/.travis.yml delete mode 100644 deps/npm/node_modules/node-gyp/node_modules/glob/node_modules/minimatch/LICENSE delete mode 100644 deps/npm/node_modules/node-gyp/node_modules/glob/node_modules/minimatch/README.md delete mode 100644 deps/npm/node_modules/node-gyp/node_modules/glob/node_modules/minimatch/minimatch.js delete mode 100644 deps/npm/node_modules/node-gyp/node_modules/glob/node_modules/minimatch/package.json create mode 100644 deps/npm/node_modules/read/LICENCE create mode 100644 deps/npm/node_modules/uid-number/README.md rename deps/npm/{bin/npm-get-uid-gid.js => node_modules/uid-number/get-uid-gid.js} (65%) create mode 100644 deps/npm/node_modules/uid-number/package.json create mode 100644 deps/npm/node_modules/uid-number/uid-number.js diff --git a/deps/npm/AUTHORS b/deps/npm/AUTHORS index 8f78dca48ab..340c4bdbcb5 100644 --- a/deps/npm/AUTHORS +++ b/deps/npm/AUTHORS @@ -61,3 +61,5 @@ Andrew Lunny Henrik Hodne Adam Blackburn Kris Windham +Jens Grunert +Joost-Wim Boekesteijn diff --git a/deps/npm/doc/cli/config.md b/deps/npm/doc/cli/config.md index 049a51ea4d0..8cd03a7692c 100644 --- a/deps/npm/doc/cli/config.md +++ b/deps/npm/doc/cli/config.md @@ -358,6 +358,13 @@ user. A proxy to use for outgoing https requests. +### user-agent + +* Default: npm/{npm.version} node/{process.version} +* Type: String + +Sets a User-Agent to the request header + ### ignore * Default: "" diff --git a/deps/npm/doc/cli/json.md b/deps/npm/doc/cli/json.md index 16b2ad931ce..ddd500e3b12 100644 --- a/deps/npm/doc/cli/json.md +++ b/deps/npm/doc/cli/json.md @@ -485,7 +485,7 @@ to publish it. This is a way to prevent accidental publication of private repositories. If you would like to ensure that a given package is only ever published -to a speciic registry (for example, an internal registry), +to a specific registry (for example, an internal registry), then use the `publishConfig` hash described below to override the `registry` config param at publish-time. diff --git a/deps/npm/html/api/bin.html b/deps/npm/html/api/bin.html index b8937d7c73c..c5d56c12ed1 100644 --- a/deps/npm/html/api/bin.html +++ b/deps/npm/html/api/bin.html @@ -19,7 +19,7 @@

This function should not be used programmatically. Instead, just refer to the npm.bin member.

- +