From 9d4362403c10dd28b5644b947945f853cd354f28 Mon Sep 17 00:00:00 2001 From: isaacs Date: Fri, 13 Jul 2012 11:40:38 -0700 Subject: [PATCH] npm: upgrade to 1.1.41 --- deps/npm/.gitignore | 17 + deps/npm/Makefile | 8 +- deps/npm/doc/cli/config.md | 11 + deps/npm/doc/cli/list.md | 20 +- deps/npm/doc/cli/version.md | 19 +- 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 | 12 +- 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 | 2 +- deps/npm/html/doc/link.html | 2 +- deps/npm/html/doc/list.html | 22 +- 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 | 21 +- deps/npm/html/doc/view.html | 2 +- deps/npm/html/doc/whoami.html | 2 +- deps/npm/html/n-64.png | Bin 0 -> 679 bytes deps/npm/html/n-large.png | Bin 0 -> 699 bytes deps/npm/html/npm-16.png | Bin 0 -> 145 bytes deps/npm/html/npm-256-square.png | Bin 0 -> 3290 bytes deps/npm/html/npm-256w.png | Bin 0 -> 3169 bytes deps/npm/html/npm-64-square.png | Bin 0 -> 2908 bytes deps/npm/html/npm-fin.png | Bin 0 -> 47789 bytes deps/npm/html/npm-large-trans.png | Bin 0 -> 81961 bytes deps/npm/html/npm-large.png | Bin 0 -> 483909 bytes deps/npm/html/npm-logo-white-trans.png | Bin 0 -> 109429 bytes deps/npm/html/npm.png | Bin 0 -> 1164 bytes deps/npm/lib/cache.js | 46 -- deps/npm/lib/install.js | 8 +- deps/npm/lib/ls.js | 77 ++- deps/npm/lib/npm.js | 16 + deps/npm/lib/test.js | 5 +- deps/npm/lib/utils/config-defs.js | 2 + deps/npm/lib/utils/error-handler.js | 31 +- deps/npm/lib/utils/fetch.js | 1 - deps/npm/lib/version.js | 8 +- deps/npm/man/man1/config.1 | 18 + deps/npm/man/man1/list.1 | 27 +- deps/npm/man/man1/npm.1 | 2 +- deps/npm/man/man1/version.1 | 26 +- deps/npm/man/man3/npm.3 | 2 +- .../node_modules/ansi/examples/beep/index.js | 16 + .../node_modules/ansi/examples/clear/index.js | 15 + .../ansi/examples/cursorPosition.js | 24 + .../ansi/examples/imgcat/index.js | 50 ++ .../ansi/examples/imgcat/yoshi.png | Bin 0 -> 1341 bytes .../ansi/examples/progress/index.js | 87 ++++ .../node_modules/ansi/examples/starwars.js | 39 ++ deps/npm/node_modules/couch-login/README.md | 241 +++++++++ .../node_modules/couch-login/couch-login.js | 287 +++++++++++ .../npm/node_modules/couch-login/package.json | 27 + .../node_modules/couch-login/test/basic.js | 286 +++++++++++ .../node_modules/couch-login/test/registry.js | 254 ++++++++++ .../fstream-npm/example/bundle.js | 13 + .../fstream-npm/example/dir-tar.js | 19 + .../node_modules/fstream-npm/example/dir.js | 25 + .../fstream-npm/example/example.js | 12 + .../fstream-npm/example/ig-tar.js | 19 + .../node_modules/fstream-npm/example/tar.js | 25 + .../node_modules/fstream-npm/fstream-npm.js | 3 + .../fstream-ignore/example/basic.js | 13 + .../node_modules/fstream-ignore/package.json | 13 +- .../node_modules/fstream-ignore/test/.ignore | 2 + .../fstream-ignore/test/.npmignore | 1 + .../fstream-ignore/test/00-setup.js | 71 +++ .../node_modules/fstream-ignore/test/basic.js | 28 ++ .../fstream-ignore/test/common.js | 40 ++ .../fstream-ignore/test/ignore-most.js | 41 ++ .../fstream-ignore/test/nested-ignores.js | 51 ++ .../fstream-ignore/test/unignore-child.js | 38 ++ .../fstream-ignore/test/zz-cleanup.js | 10 + .../npm/node_modules/fstream-npm/package.json | 18 +- deps/npm/node_modules/glob/examples/g.js | 9 + .../node_modules/glob/examples/usr-local.js | 9 + deps/npm/node_modules/glob/test/00-setup.js | 61 +++ .../node_modules/glob/test/bash-comparison.js | 119 +++++ deps/npm/node_modules/glob/test/cwd-test.js | 55 +++ .../node_modules/glob/test/pause-resume.js | 98 ++++ .../node_modules/glob/test/root-nomount.js | 39 ++ deps/npm/node_modules/glob/test/root.js | 43 ++ deps/npm/node_modules/glob/test/zz-cleanup.js | 11 + .../node_modules/graceful-fs/graceful-fs.js | 24 +- .../npm/node_modules/graceful-fs/package.json | 15 +- .../node_modules/init-package-json/example.js | 14 + .../init-package-json/test/basic.input | 15 + .../init-package-json/test/basic.js | 35 ++ deps/npm/node_modules/lockfile/test/basic.js | 226 +++++++++ .../lockfile/test/fixtures/bad-child.js | 5 + .../lockfile/test/fixtures/child.js | 3 + deps/npm/node_modules/lru-cache/test/basic.js | 171 +++++++ deps/npm/node_modules/minimatch/test/basic.js | 273 +++++++++++ .../minimatch/test/brace-expand.js | 33 ++ .../node_modules/minimatch/test/caching.js | 14 + .../node_modules/minimatch/test/defaults.js | 274 +++++++++++ deps/npm/node_modules/mkdirp/examples/pow.js | 6 + .../node_modules/mkdirp/examples/pow.js.orig | 6 + .../node_modules/mkdirp/examples/pow.js.rej | 19 + deps/npm/node_modules/mkdirp/test/chmod.js | 38 ++ deps/npm/node_modules/mkdirp/test/clobber.js | 37 ++ deps/npm/node_modules/mkdirp/test/mkdirp.js | 28 ++ deps/npm/node_modules/mkdirp/test/perm.js | 32 ++ .../npm/node_modules/mkdirp/test/perm_sync.js | 39 ++ deps/npm/node_modules/mkdirp/test/race.js | 41 ++ deps/npm/node_modules/mkdirp/test/rel.js | 32 ++ deps/npm/node_modules/mkdirp/test/return.js | 25 + .../node_modules/mkdirp/test/return_sync.js | 24 + deps/npm/node_modules/mkdirp/test/root.js | 18 + deps/npm/node_modules/mkdirp/test/sync.js | 32 ++ deps/npm/node_modules/mkdirp/test/umask.js | 28 ++ .../node_modules/mkdirp/test/umask_sync.js | 32 ++ .../npm/node_modules/node-gyp/bin/node-gyp.js | 5 +- deps/npm/node_modules/node-gyp/lib/build.js | 45 +- .../node_modules/node-gyp/lib/configure.js | 22 +- deps/npm/node_modules/node-gyp/lib/install.js | 346 +++++++------ .../npm/node_modules/node-gyp/lib/node-gyp.js | 17 +- deps/npm/node_modules/node-gyp/package.json | 11 +- .../node_modules/npm-registry-client/index.js | 40 +- .../npm-registry-client/lib/get.js | 2 + .../npm-registry-client/lib/request.js | 58 ++- .../npm-registry-client/package.json | 5 +- .../npm-registry-client/test/00-setup.js | 10 + .../npm-registry-client/test/adduser-new.js | 51 ++ .../test/adduser-update.js | 68 +++ .../npm-registry-client/test/basic.js | 32 ++ .../test/fixtures/server.js | 56 +++ .../test/fixtures/underscore/1.3.3/cache.json | 1 + .../test/fixtures/underscore/cache.json | 1 + .../npm-registry-client/test/retries.js | 46 ++ .../npm-registry-client/test/zz-cleanup.js | 10 + deps/npm/node_modules/npmlog/example.js | 39 ++ deps/npm/node_modules/npmlog/test/basic.js | 461 ++++++++++++++++++ deps/npm/node_modules/osenv/test/unix.js | 76 +++ deps/npm/node_modules/osenv/test/windows.js | 82 ++++ .../node_modules/read-installed/test/basic.js | 34 ++ .../read-package-json/package.json | 6 +- .../read-package-json/read-json.js | 10 +- .../read-package-json/test/basic.js | 34 ++ deps/npm/node_modules/read/example/example.js | 18 + deps/npm/node_modules/read/test/basic.js | 54 ++ .../request/tests/googledoodle.png | Bin 0 -> 38510 bytes deps/npm/node_modules/request/tests/run.js | 39 ++ deps/npm/node_modules/request/tests/server.js | 82 ++++ .../npm/node_modules/request/tests/squid.conf | 77 +++ .../node_modules/request/tests/ssl/ca/ca.cnf | 20 + .../node_modules/request/tests/ssl/ca/ca.crl | 0 .../node_modules/request/tests/ssl/ca/ca.crt | 17 + .../node_modules/request/tests/ssl/ca/ca.csr | 13 + .../node_modules/request/tests/ssl/ca/ca.key | 18 + .../node_modules/request/tests/ssl/ca/ca.srl | 1 + .../request/tests/ssl/ca/server.cnf | 19 + .../request/tests/ssl/ca/server.crt | 16 + .../request/tests/ssl/ca/server.csr | 11 + .../request/tests/ssl/ca/server.js | 28 ++ .../request/tests/ssl/ca/server.key | 9 + .../node_modules/request/tests/ssl/npm-ca.crt | 16 + .../node_modules/request/tests/ssl/test.crt | 15 + .../node_modules/request/tests/ssl/test.key | 15 + .../node_modules/request/tests/test-body.js | 80 +++ .../node_modules/request/tests/test-cookie.js | 29 ++ .../request/tests/test-cookiejar.js | 90 ++++ .../request/tests/test-defaults.js | 68 +++ .../node_modules/request/tests/test-errors.js | 37 ++ .../request/tests/test-headers.js | 52 ++ .../request/tests/test-httpModule.js | 94 ++++ .../request/tests/test-https-strict.js | 97 ++++ .../node_modules/request/tests/test-https.js | 86 ++++ .../node_modules/request/tests/test-oauth.js | 117 +++++ .../node_modules/request/tests/test-params.js | 92 ++++ .../node_modules/request/tests/test-pipes.js | 202 ++++++++ .../node_modules/request/tests/test-pool.js | 16 + .../node_modules/request/tests/test-proxy.js | 39 ++ .../npm/node_modules/request/tests/test-qs.js | 28 ++ .../request/tests/test-redirect.js | 154 ++++++ .../npm/node_modules/request/tests/test-s3.js | 13 + .../request/tests/test-timeout.js | 87 ++++ .../node_modules/request/tests/test-toJSON.js | 14 + .../node_modules/request/tests/test-tunnel.js | 61 +++ deps/npm/node_modules/retry/example/dns.js | 31 ++ deps/npm/node_modules/retry/test/common.js | 10 + .../test/integration/test-retry-operation.js | 80 +++ .../retry/test/integration/test-timeouts.js | 69 +++ deps/npm/node_modules/retry/test/runner.js | 5 + .../slide/nodejs-controlling-flow.pdf | Bin 0 -> 167502 bytes deps/npm/package.json | 12 +- deps/npm/scripts/relocate.sh | 26 + .../test/disabled/bundlerecurs/package.json | 4 + deps/npm/test/disabled/change-bin-1/bin/foo | 2 + .../test/disabled/change-bin-1/package.json | 3 + deps/npm/test/disabled/change-bin-2/bin/bar | 2 + .../test/disabled/change-bin-2/package.json | 3 + deps/npm/test/disabled/failer/package.json | 5 + deps/npm/test/disabled/fast/package.json | 9 + .../test/disabled/package-bar/package.json | 7 + .../test/disabled/package-config/package.json | 4 + deps/npm/test/disabled/package-config/test.js | 17 + .../test/disabled/package-foo/package.json | 4 + deps/npm/test/disabled/slow/package.json | 9 + deps/npm/test/disabled/startstop/package.json | 3 + deps/npm/test/packages/npm-test-files/ignore3 | 0 .../test/packages/npm-test-files/ignoredir1/a | 0 .../test/packages/npm-test-files/ignoredir2/a | 0 .../test/packages/npm-test-files/sub/ignore1 | 0 .../test/packages/npm-test-files/sub/ignore3 | 0 .../npm/test/packages/npm-test-ignore/ignore3 | 0 .../packages/npm-test-ignore/ignoredir1/a | 0 .../packages/npm-test-ignore/ignoredir2/a | 0 .../test/packages/npm-test-ignore/sub/ignore1 | 0 .../test/packages/npm-test-ignore/sub/ignore3 | 0 291 files changed, 7653 insertions(+), 480 deletions(-) create mode 100644 deps/npm/.gitignore create mode 100644 deps/npm/html/n-64.png create mode 100644 deps/npm/html/n-large.png create mode 100644 deps/npm/html/npm-16.png create mode 100644 deps/npm/html/npm-256-square.png create mode 100644 deps/npm/html/npm-256w.png create mode 100644 deps/npm/html/npm-64-square.png create mode 100644 deps/npm/html/npm-fin.png create mode 100644 deps/npm/html/npm-large-trans.png create mode 100644 deps/npm/html/npm-large.png create mode 100644 deps/npm/html/npm-logo-white-trans.png create mode 100644 deps/npm/html/npm.png create mode 100755 deps/npm/node_modules/ansi/examples/beep/index.js create mode 100755 deps/npm/node_modules/ansi/examples/clear/index.js create mode 100755 deps/npm/node_modules/ansi/examples/cursorPosition.js create mode 100755 deps/npm/node_modules/ansi/examples/imgcat/index.js create mode 100644 deps/npm/node_modules/ansi/examples/imgcat/yoshi.png create mode 100644 deps/npm/node_modules/ansi/examples/progress/index.js create mode 100755 deps/npm/node_modules/ansi/examples/starwars.js create mode 100644 deps/npm/node_modules/couch-login/README.md create mode 100644 deps/npm/node_modules/couch-login/couch-login.js create mode 100644 deps/npm/node_modules/couch-login/package.json create mode 100644 deps/npm/node_modules/couch-login/test/basic.js create mode 100644 deps/npm/node_modules/couch-login/test/registry.js create mode 100644 deps/npm/node_modules/fstream-npm/example/bundle.js create mode 100644 deps/npm/node_modules/fstream-npm/example/dir-tar.js create mode 100644 deps/npm/node_modules/fstream-npm/example/dir.js create mode 100644 deps/npm/node_modules/fstream-npm/example/example.js create mode 100644 deps/npm/node_modules/fstream-npm/example/ig-tar.js create mode 100644 deps/npm/node_modules/fstream-npm/example/tar.js create mode 100644 deps/npm/node_modules/fstream-npm/node_modules/fstream-ignore/example/basic.js create mode 100644 deps/npm/node_modules/fstream-npm/node_modules/fstream-ignore/test/.ignore create mode 100644 deps/npm/node_modules/fstream-npm/node_modules/fstream-ignore/test/.npmignore create mode 100644 deps/npm/node_modules/fstream-npm/node_modules/fstream-ignore/test/00-setup.js create mode 100644 deps/npm/node_modules/fstream-npm/node_modules/fstream-ignore/test/basic.js create mode 100644 deps/npm/node_modules/fstream-npm/node_modules/fstream-ignore/test/common.js create mode 100644 deps/npm/node_modules/fstream-npm/node_modules/fstream-ignore/test/ignore-most.js create mode 100644 deps/npm/node_modules/fstream-npm/node_modules/fstream-ignore/test/nested-ignores.js create mode 100644 deps/npm/node_modules/fstream-npm/node_modules/fstream-ignore/test/unignore-child.js create mode 100644 deps/npm/node_modules/fstream-npm/node_modules/fstream-ignore/test/zz-cleanup.js create mode 100644 deps/npm/node_modules/glob/examples/g.js create mode 100644 deps/npm/node_modules/glob/examples/usr-local.js create mode 100644 deps/npm/node_modules/glob/test/00-setup.js create mode 100644 deps/npm/node_modules/glob/test/bash-comparison.js create mode 100644 deps/npm/node_modules/glob/test/cwd-test.js create mode 100644 deps/npm/node_modules/glob/test/pause-resume.js create mode 100644 deps/npm/node_modules/glob/test/root-nomount.js create mode 100644 deps/npm/node_modules/glob/test/root.js create mode 100644 deps/npm/node_modules/glob/test/zz-cleanup.js create mode 100644 deps/npm/node_modules/init-package-json/example.js create mode 100644 deps/npm/node_modules/init-package-json/test/basic.input create mode 100644 deps/npm/node_modules/init-package-json/test/basic.js create mode 100644 deps/npm/node_modules/lockfile/test/basic.js create mode 100644 deps/npm/node_modules/lockfile/test/fixtures/bad-child.js create mode 100644 deps/npm/node_modules/lockfile/test/fixtures/child.js create mode 100644 deps/npm/node_modules/lru-cache/test/basic.js create mode 100644 deps/npm/node_modules/minimatch/test/basic.js create mode 100644 deps/npm/node_modules/minimatch/test/brace-expand.js create mode 100644 deps/npm/node_modules/minimatch/test/caching.js create mode 100644 deps/npm/node_modules/minimatch/test/defaults.js create mode 100644 deps/npm/node_modules/mkdirp/examples/pow.js create mode 100644 deps/npm/node_modules/mkdirp/examples/pow.js.orig create mode 100644 deps/npm/node_modules/mkdirp/examples/pow.js.rej create mode 100644 deps/npm/node_modules/mkdirp/test/chmod.js create mode 100644 deps/npm/node_modules/mkdirp/test/clobber.js create mode 100644 deps/npm/node_modules/mkdirp/test/mkdirp.js create mode 100644 deps/npm/node_modules/mkdirp/test/perm.js create mode 100644 deps/npm/node_modules/mkdirp/test/perm_sync.js create mode 100644 deps/npm/node_modules/mkdirp/test/race.js create mode 100644 deps/npm/node_modules/mkdirp/test/rel.js create mode 100644 deps/npm/node_modules/mkdirp/test/return.js create mode 100644 deps/npm/node_modules/mkdirp/test/return_sync.js create mode 100644 deps/npm/node_modules/mkdirp/test/root.js create mode 100644 deps/npm/node_modules/mkdirp/test/sync.js create mode 100644 deps/npm/node_modules/mkdirp/test/umask.js create mode 100644 deps/npm/node_modules/mkdirp/test/umask_sync.js create mode 100644 deps/npm/node_modules/npm-registry-client/test/00-setup.js create mode 100644 deps/npm/node_modules/npm-registry-client/test/adduser-new.js create mode 100644 deps/npm/node_modules/npm-registry-client/test/adduser-update.js create mode 100644 deps/npm/node_modules/npm-registry-client/test/basic.js create mode 100644 deps/npm/node_modules/npm-registry-client/test/fixtures/server.js create mode 100644 deps/npm/node_modules/npm-registry-client/test/fixtures/underscore/1.3.3/cache.json create mode 100644 deps/npm/node_modules/npm-registry-client/test/fixtures/underscore/cache.json create mode 100644 deps/npm/node_modules/npm-registry-client/test/retries.js create mode 100644 deps/npm/node_modules/npm-registry-client/test/zz-cleanup.js create mode 100644 deps/npm/node_modules/npmlog/example.js create mode 100644 deps/npm/node_modules/npmlog/test/basic.js create mode 100644 deps/npm/node_modules/osenv/test/unix.js create mode 100644 deps/npm/node_modules/osenv/test/windows.js create mode 100644 deps/npm/node_modules/read-installed/test/basic.js create mode 100644 deps/npm/node_modules/read-package-json/test/basic.js create mode 100644 deps/npm/node_modules/read/example/example.js create mode 100644 deps/npm/node_modules/read/test/basic.js create mode 100644 deps/npm/node_modules/request/tests/googledoodle.png create mode 100644 deps/npm/node_modules/request/tests/run.js create mode 100644 deps/npm/node_modules/request/tests/server.js create mode 100644 deps/npm/node_modules/request/tests/squid.conf create mode 100644 deps/npm/node_modules/request/tests/ssl/ca/ca.cnf create mode 100644 deps/npm/node_modules/request/tests/ssl/ca/ca.crl create mode 100644 deps/npm/node_modules/request/tests/ssl/ca/ca.crt create mode 100644 deps/npm/node_modules/request/tests/ssl/ca/ca.csr create mode 100644 deps/npm/node_modules/request/tests/ssl/ca/ca.key create mode 100644 deps/npm/node_modules/request/tests/ssl/ca/ca.srl create mode 100644 deps/npm/node_modules/request/tests/ssl/ca/server.cnf create mode 100644 deps/npm/node_modules/request/tests/ssl/ca/server.crt create mode 100644 deps/npm/node_modules/request/tests/ssl/ca/server.csr create mode 100644 deps/npm/node_modules/request/tests/ssl/ca/server.js create mode 100644 deps/npm/node_modules/request/tests/ssl/ca/server.key create mode 100644 deps/npm/node_modules/request/tests/ssl/npm-ca.crt create mode 100644 deps/npm/node_modules/request/tests/ssl/test.crt create mode 100644 deps/npm/node_modules/request/tests/ssl/test.key create mode 100644 deps/npm/node_modules/request/tests/test-body.js create mode 100644 deps/npm/node_modules/request/tests/test-cookie.js create mode 100644 deps/npm/node_modules/request/tests/test-cookiejar.js create mode 100644 deps/npm/node_modules/request/tests/test-defaults.js create mode 100644 deps/npm/node_modules/request/tests/test-errors.js create mode 100644 deps/npm/node_modules/request/tests/test-headers.js create mode 100644 deps/npm/node_modules/request/tests/test-httpModule.js create mode 100644 deps/npm/node_modules/request/tests/test-https-strict.js create mode 100644 deps/npm/node_modules/request/tests/test-https.js create mode 100644 deps/npm/node_modules/request/tests/test-oauth.js create mode 100644 deps/npm/node_modules/request/tests/test-params.js create mode 100644 deps/npm/node_modules/request/tests/test-pipes.js create mode 100644 deps/npm/node_modules/request/tests/test-pool.js create mode 100644 deps/npm/node_modules/request/tests/test-proxy.js create mode 100644 deps/npm/node_modules/request/tests/test-qs.js create mode 100644 deps/npm/node_modules/request/tests/test-redirect.js create mode 100644 deps/npm/node_modules/request/tests/test-s3.js create mode 100644 deps/npm/node_modules/request/tests/test-timeout.js create mode 100644 deps/npm/node_modules/request/tests/test-toJSON.js create mode 100644 deps/npm/node_modules/request/tests/test-tunnel.js create mode 100644 deps/npm/node_modules/retry/example/dns.js create mode 100644 deps/npm/node_modules/retry/test/common.js create mode 100644 deps/npm/node_modules/retry/test/integration/test-retry-operation.js create mode 100644 deps/npm/node_modules/retry/test/integration/test-timeouts.js create mode 100644 deps/npm/node_modules/retry/test/runner.js create mode 100644 deps/npm/node_modules/slide/nodejs-controlling-flow.pdf create mode 100755 deps/npm/scripts/relocate.sh create mode 100644 deps/npm/test/disabled/bundlerecurs/package.json create mode 100644 deps/npm/test/disabled/change-bin-1/bin/foo create mode 100644 deps/npm/test/disabled/change-bin-1/package.json create mode 100644 deps/npm/test/disabled/change-bin-2/bin/bar create mode 100644 deps/npm/test/disabled/change-bin-2/package.json create mode 100644 deps/npm/test/disabled/failer/package.json create mode 100644 deps/npm/test/disabled/fast/package.json create mode 100644 deps/npm/test/disabled/package-bar/package.json create mode 100644 deps/npm/test/disabled/package-config/package.json create mode 100755 deps/npm/test/disabled/package-config/test.js create mode 100644 deps/npm/test/disabled/package-foo/package.json create mode 100644 deps/npm/test/disabled/slow/package.json create mode 100644 deps/npm/test/disabled/startstop/package.json create mode 100644 deps/npm/test/packages/npm-test-files/ignore3 create mode 100644 deps/npm/test/packages/npm-test-files/ignoredir1/a create mode 100644 deps/npm/test/packages/npm-test-files/ignoredir2/a create mode 100644 deps/npm/test/packages/npm-test-files/sub/ignore1 create mode 100644 deps/npm/test/packages/npm-test-files/sub/ignore3 create mode 100644 deps/npm/test/packages/npm-test-ignore/ignore3 create mode 100644 deps/npm/test/packages/npm-test-ignore/ignoredir1/a create mode 100644 deps/npm/test/packages/npm-test-ignore/ignoredir2/a create mode 100644 deps/npm/test/packages/npm-test-ignore/sub/ignore1 create mode 100644 deps/npm/test/packages/npm-test-ignore/sub/ignore3 diff --git a/deps/npm/.gitignore b/deps/npm/.gitignore new file mode 100644 index 0000000000..842fca968e --- /dev/null +++ b/deps/npm/.gitignore @@ -0,0 +1,17 @@ +*.swp +npm-debug.log +/test/bin +/test/output.log +/test/*/*/node_modules +/test/packages/npm-test-depends-on-spark/which-spark.log +/test/packages/test-package/random-data.txt +/test/root +/node_modules/ronn +/node_modules/tap +/node_modules/.bin +/html/api/ +/html/doc/ +/man/ +/doc/*/index.md +/npmrc +/release/ diff --git a/deps/npm/Makefile b/deps/npm/Makefile index 2663075c65..96e3f37c0a 100644 --- a/deps/npm/Makefile +++ b/deps/npm/Makefile @@ -101,16 +101,10 @@ man: $(cli_docs) $(api_docs) test: node cli.js test -version: link - git add package.json &&\ - git ci -m v$(shell npm -v) - publish: link doc - @git tag -d v$(shell npm -v) || true @git push origin :v$(shell npm -v) || true @npm unpublish npm@$(shell npm -v) || true git clean -fd - git tag -s -m v$(shell npm -v) v$(shell npm -v) &&\ git push origin --tags &&\ npm publish &&\ npm tag npm@$(shell npm -v) $(shell npm -v | awk -F. '{print $$1 "." $$2}') &&\ @@ -131,6 +125,6 @@ release: @bash scripts/release.sh sandwich: - @[ $$(whoami) = "root" ] && (echo "ok"; echo "ham" > sandwich) || echo "make it yourself" + @[ $$(whoami) = "root" ] && (echo "ok"; echo "ham" > sandwich) || echo "make it yourself" && exit 13 .PHONY: all latest install dev link doc clean uninstall test man doc-publish doc-clean docclean docpublish release zip-publish diff --git a/deps/npm/doc/cli/config.md b/deps/npm/doc/cli/config.md index 537af5ca0e..7bd46cd43a 100644 --- a/deps/npm/doc/cli/config.md +++ b/deps/npm/doc/cli/config.md @@ -694,6 +694,17 @@ character to indicate reverse sort. The shell to run for the `npm explore` command. +### sign-git-tag + +* Default: false +* Type: Boolean + +If set to true, then the `npm version` command will tag the version +using `-s` to add a signature. + +Note that git requires you to have set up GPG keys in your git configs +for this to work properly. + ### strict-ssl * Default: true diff --git a/deps/npm/doc/cli/list.md b/deps/npm/doc/cli/list.md index 93d86cd838..3dd709b62b 100644 --- a/deps/npm/doc/cli/list.md +++ b/deps/npm/doc/cli/list.md @@ -3,20 +3,26 @@ npm-ls(1) -- List installed packages ## SYNOPSIS - npm list - npm ls - npm la - npm ll + npm list [ ...] + npm ls [ ...] + npm la [ ...] + npm ll [ ...] ## DESCRIPTION This command will print to stdout all the versions of packages that are installed, as well as their dependencies, in a tree-structure. -It does not take positional arguments, though you may set config flags -like with any other command, such as `-g` to list global packages. +Positional arguments are `name@version-range` identifiers, which will +limit the results to only the paths to the packages named. Note that +nested packages will *also* show the paths to the specified packages. +For example, running `npm ls promzard` in npm's source tree will show: -It will print out extraneous, missing, and invalid packages. + npm@@VERSION@ /path/to/npm + └─┬ init-package-json@0.0.4 + └── promzard@0.1.5 + +It will show print out extraneous, missing, and invalid packages. When run as `ll` or `la`, it shows extended information by default. diff --git a/deps/npm/doc/cli/version.md b/deps/npm/doc/cli/version.md index 480c90d3b4..ca9b5fbfaa 100644 --- a/deps/npm/doc/cli/version.md +++ b/deps/npm/doc/cli/version.md @@ -3,7 +3,7 @@ npm-version(1) -- Bump a package version ## SYNOPSIS - npm version [--message commit-message] + npm version [ | major | minor | patch | build] ## DESCRIPTION @@ -11,14 +11,23 @@ Run this in a package directory to bump the version and write the new data back to the package.json file. The `newversion` argument should be a valid semver string, *or* a valid -second argument to semver.inc (one of "patch", "minor", or "major"). In -the second case, the existing version will be incremented by that amount. +second argument to semver.inc (one of "build", "patch", "minor", or +"major"). In the second case, the existing version will be incremented +by 1 in the specified field. If run in a git repo, it will also create a version commit and tag, and fail if the repo is not clean. -If supplied with `--message` (shorthand: `-m`) command line option, npm -will use it as a commit message when creating a version commit. +If supplied with `--message` (shorthand: `-m`) config option, npm will +use it as a commit message when creating a version commit. If the +`message` config contains `%s` then that will be replaced with the +resulting version number. For example: + + npm version patch -m "Upgrade to %s for reasons" + +If the `sign-git-tag` config is set, then the tag will be signed using +the `-s` flag to git. Note that you must have a default GPG key set up +in your git config for this to work properly. ## SEE ALSO diff --git a/deps/npm/html/api/bin.html b/deps/npm/html/api/bin.html index 9071e7952c..1053a36a37 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.

- +