From 97738994e0bc2f3255659ca8f27e43a90aa0a24e Mon Sep 17 00:00:00 2001 From: isaacs Date: Mon, 16 Dec 2013 16:23:13 -0800 Subject: [PATCH] npm: Upgrade to 1.3.19 --- deps/npm/doc/misc/npm-config.md | 122 ++++++-------- deps/npm/html/doc/README.html | 2 +- deps/npm/html/doc/api/npm-bin.html | 2 +- deps/npm/html/doc/api/npm-bugs.html | 2 +- deps/npm/html/doc/api/npm-commands.html | 2 +- deps/npm/html/doc/api/npm-config.html | 2 +- deps/npm/html/doc/api/npm-deprecate.html | 2 +- deps/npm/html/doc/api/npm-docs.html | 2 +- deps/npm/html/doc/api/npm-edit.html | 2 +- deps/npm/html/doc/api/npm-explore.html | 2 +- deps/npm/html/doc/api/npm-help-search.html | 2 +- deps/npm/html/doc/api/npm-init.html | 2 +- deps/npm/html/doc/api/npm-install.html | 2 +- deps/npm/html/doc/api/npm-link.html | 2 +- deps/npm/html/doc/api/npm-load.html | 2 +- deps/npm/html/doc/api/npm-ls.html | 2 +- deps/npm/html/doc/api/npm-outdated.html | 2 +- deps/npm/html/doc/api/npm-owner.html | 2 +- deps/npm/html/doc/api/npm-pack.html | 2 +- deps/npm/html/doc/api/npm-prefix.html | 2 +- deps/npm/html/doc/api/npm-prune.html | 2 +- deps/npm/html/doc/api/npm-publish.html | 2 +- deps/npm/html/doc/api/npm-rebuild.html | 2 +- deps/npm/html/doc/api/npm-restart.html | 2 +- deps/npm/html/doc/api/npm-root.html | 2 +- deps/npm/html/doc/api/npm-run-script.html | 2 +- deps/npm/html/doc/api/npm-search.html | 2 +- deps/npm/html/doc/api/npm-shrinkwrap.html | 2 +- deps/npm/html/doc/api/npm-start.html | 2 +- deps/npm/html/doc/api/npm-stop.html | 2 +- deps/npm/html/doc/api/npm-submodule.html | 2 +- deps/npm/html/doc/api/npm-tag.html | 2 +- deps/npm/html/doc/api/npm-test.html | 2 +- deps/npm/html/doc/api/npm-uninstall.html | 2 +- deps/npm/html/doc/api/npm-unpublish.html | 2 +- deps/npm/html/doc/api/npm-update.html | 2 +- deps/npm/html/doc/api/npm-version.html | 2 +- deps/npm/html/doc/api/npm-view.html | 2 +- deps/npm/html/doc/api/npm-whoami.html | 2 +- deps/npm/html/doc/api/npm.html | 4 +- deps/npm/html/doc/api/repo.html | 2 +- deps/npm/html/doc/cli/npm-adduser.html | 2 +- deps/npm/html/doc/cli/npm-bin.html | 2 +- deps/npm/html/doc/cli/npm-bugs.html | 2 +- deps/npm/html/doc/cli/npm-build.html | 2 +- deps/npm/html/doc/cli/npm-bundle.html | 2 +- deps/npm/html/doc/cli/npm-cache.html | 2 +- deps/npm/html/doc/cli/npm-completion.html | 2 +- deps/npm/html/doc/cli/npm-config.html | 2 +- deps/npm/html/doc/cli/npm-dedupe.html | 2 +- deps/npm/html/doc/cli/npm-deprecate.html | 2 +- deps/npm/html/doc/cli/npm-docs.html | 2 +- deps/npm/html/doc/cli/npm-edit.html | 2 +- deps/npm/html/doc/cli/npm-explore.html | 2 +- deps/npm/html/doc/cli/npm-help-search.html | 2 +- deps/npm/html/doc/cli/npm-help.html | 2 +- deps/npm/html/doc/cli/npm-init.html | 2 +- deps/npm/html/doc/cli/npm-install.html | 2 +- deps/npm/html/doc/cli/npm-link.html | 2 +- deps/npm/html/doc/cli/npm-ls.html | 4 +- deps/npm/html/doc/cli/npm-outdated.html | 2 +- deps/npm/html/doc/cli/npm-owner.html | 2 +- deps/npm/html/doc/cli/npm-pack.html | 2 +- deps/npm/html/doc/cli/npm-prefix.html | 2 +- deps/npm/html/doc/cli/npm-prune.html | 2 +- deps/npm/html/doc/cli/npm-publish.html | 2 +- deps/npm/html/doc/cli/npm-rebuild.html | 2 +- deps/npm/html/doc/cli/npm-restart.html | 2 +- deps/npm/html/doc/cli/npm-rm.html | 2 +- deps/npm/html/doc/cli/npm-root.html | 2 +- deps/npm/html/doc/cli/npm-run-script.html | 2 +- deps/npm/html/doc/cli/npm-search.html | 2 +- deps/npm/html/doc/cli/npm-shrinkwrap.html | 2 +- deps/npm/html/doc/cli/npm-star.html | 2 +- deps/npm/html/doc/cli/npm-stars.html | 2 +- deps/npm/html/doc/cli/npm-start.html | 2 +- deps/npm/html/doc/cli/npm-stop.html | 2 +- deps/npm/html/doc/cli/npm-submodule.html | 2 +- deps/npm/html/doc/cli/npm-tag.html | 2 +- deps/npm/html/doc/cli/npm-test.html | 2 +- deps/npm/html/doc/cli/npm-uninstall.html | 2 +- deps/npm/html/doc/cli/npm-unpublish.html | 2 +- deps/npm/html/doc/cli/npm-update.html | 2 +- deps/npm/html/doc/cli/npm-version.html | 2 +- deps/npm/html/doc/cli/npm-view.html | 2 +- deps/npm/html/doc/cli/npm-whoami.html | 2 +- deps/npm/html/doc/cli/npm.html | 4 +- deps/npm/html/doc/cli/repo.html | 2 +- deps/npm/html/doc/files/npm-folders.html | 2 +- deps/npm/html/doc/files/npm-global.html | 2 +- deps/npm/html/doc/files/npm-json.html | 2 +- deps/npm/html/doc/files/npmrc.html | 2 +- deps/npm/html/doc/files/package.json.html | 2 +- deps/npm/html/doc/index.html | 2 +- deps/npm/html/doc/misc/npm-coding-style.html | 2 +- deps/npm/html/doc/misc/npm-config.html | 109 ++++++------ deps/npm/html/doc/misc/npm-developers.html | 2 +- deps/npm/html/doc/misc/npm-disputes.html | 2 +- deps/npm/html/doc/misc/npm-faq.html | 2 +- deps/npm/html/doc/misc/npm-index.html | 2 +- deps/npm/html/doc/misc/npm-registry.html | 2 +- deps/npm/html/doc/misc/npm-scripts.html | 2 +- deps/npm/html/doc/misc/removing-npm.html | 2 +- deps/npm/html/doc/misc/semver.html | 2 +- deps/npm/lib/build.js | 7 +- deps/npm/lib/cache.js | 5 +- deps/npm/lib/install.js | 17 +- deps/npm/lib/npm.js | 28 ++-- deps/npm/lib/utils/lifecycle.js | 2 +- deps/npm/man/man1/npm-ls.1 | 2 +- deps/npm/man/man1/npm.1 | 2 +- deps/npm/man/man3/npm.3 | 2 +- deps/npm/man/man7/npm-config.7 | 182 +++++++++------------ deps/npm/node_modules/minimatch/.npmignore | 1 + deps/npm/node_modules/minimatch/README.md | 76 ++++----- deps/npm/node_modules/minimatch/minimatch.js | 148 +++++++---------- .../minimatch/node_modules/sigmund/package.json | 7 +- deps/npm/node_modules/minimatch/package.json | 9 +- .../test/extglob-ending-with-state-char.js | 8 + .../npm/node_modules/npm-registry-client/README.md | 19 +++ deps/npm/node_modules/npm-registry-client/index.js | 3 +- .../npm-registry-client/lib/adduser.js | 2 +- .../node_modules/npm-registry-client/lib/bugs.js | 9 + .../npm-registry-client/lib/deprecate.js | 28 ++++ .../npm-registry-client/lib/publish.js | 153 ++++++++++------- .../npm-registry-client/lib/request.js | 3 + .../node_modules/couch-login/package.json | 6 +- .../node_modules/npm-registry-client/package.json | 6 +- .../npm-registry-client/test/fixtures/server.js | 4 +- .../npm-registry-client/test/publish-again.js | 81 +++++++++ .../npm-registry-client/test/publish.js | 48 ++++++ deps/npm/node_modules/npmconf/config-defs.js | 27 ++- .../node_modules/proto-list/package.json | 6 +- .../npmconf/node_modules/config-chain/package.json | 6 +- deps/npm/node_modules/npmconf/package.json | 10 +- deps/npm/node_modules/path-is-inside/LICENSE.txt | 14 ++ deps/npm/node_modules/path-is-inside/README.md | 35 ++++ .../path-is-inside/lib/path-is-inside.js | 24 +++ deps/npm/node_modules/path-is-inside/package.json | 39 +++++ deps/npm/node_modules/request/index.js | 7 +- .../request/node_modules/aws-sign2/package.json | 6 +- .../node_modules/forever-agent/package.json | 6 +- .../node_modules/delayed-stream/package.json | 6 +- .../node_modules/combined-stream/package.json | 6 +- .../request/node_modules/form-data/package.json | 6 +- .../hawk/node_modules/boom/package.json | 6 +- .../hawk/node_modules/cryptiles/package.json | 6 +- .../hawk/node_modules/hoek/package.json | 6 +- .../hawk/node_modules/sntp/package.json | 6 +- .../request/node_modules/hawk/package.json | 6 +- .../http-signature/node_modules/asn1/package.json | 6 +- .../node_modules/assert-plus/package.json | 6 +- .../http-signature/node_modules/ctype/package.json | 6 +- .../node_modules/json-stringify-safe/package.json | 6 +- .../request/node_modules/mime/package.json | 6 +- .../request/node_modules/node-uuid/package.json | 6 +- .../request/node_modules/oauth-sign/package.json | 6 +- .../request/node_modules/qs/package.json | 6 +- .../node_modules/punycode/package.json | 6 +- .../request/node_modules/tough-cookie/package.json | 6 +- .../request/node_modules/tunnel-agent/package.json | 6 +- deps/npm/node_modules/request/package.json | 10 +- deps/npm/node_modules/request/request.js | 44 +++-- deps/npm/package.json | 14 +- deps/npm/test/tap/config-meta.js | 122 ++++++++++++++ deps/npm/test/tap/ignore-scripts.js | 71 ++++++++ deps/npm/test/tap/ignore-scripts/binding.gyp | 1 + deps/npm/test/tap/ignore-scripts/package.json | 30 ++++ deps/npm/test/tap/outdated-depth.js | 5 +- deps/npm/test/tap/url-dependencies.js | 72 ++++++++ deps/npm/test/tap/url-dependencies/package.json | 8 + deps/npm/test/tap/version-no-tags.js | 7 +- 172 files changed, 1235 insertions(+), 742 deletions(-) create mode 100644 deps/npm/node_modules/minimatch/.npmignore create mode 100644 deps/npm/node_modules/minimatch/test/extglob-ending-with-state-char.js create mode 100644 deps/npm/node_modules/npm-registry-client/lib/bugs.js create mode 100644 deps/npm/node_modules/npm-registry-client/lib/deprecate.js create mode 100644 deps/npm/node_modules/npm-registry-client/test/publish-again.js create mode 100644 deps/npm/node_modules/npm-registry-client/test/publish.js create mode 100644 deps/npm/node_modules/path-is-inside/LICENSE.txt create mode 100644 deps/npm/node_modules/path-is-inside/README.md create mode 100644 deps/npm/node_modules/path-is-inside/lib/path-is-inside.js create mode 100644 deps/npm/node_modules/path-is-inside/package.json create mode 100644 deps/npm/test/tap/config-meta.js create mode 100644 deps/npm/test/tap/ignore-scripts.js create mode 100644 deps/npm/test/tap/ignore-scripts/binding.gyp create mode 100644 deps/npm/test/tap/ignore-scripts/package.json create mode 100644 deps/npm/test/tap/url-dependencies.js create mode 100644 deps/npm/test/tap/url-dependencies/package.json diff --git a/deps/npm/doc/misc/npm-config.md b/deps/npm/doc/misc/npm-config.md index 97822c1..ff76288 100644 --- a/deps/npm/doc/misc/npm-config.md +++ b/deps/npm/doc/misc/npm-config.md @@ -194,6 +194,13 @@ re-checking against the registry. Note that no purging is done unless the `npm cache clean` command is explicitly used, and that only GET requests use the cache. +### cert + +* Default: `null` +* Type: String + +A client certificate to pass when accessing the registry. + ### color * Default: true on Posix, false on Windows @@ -202,14 +209,6 @@ explicitly used, and that only GET requests use the cache. If false, never shows colors. If `"always"` then always shows colors. If true, then only prints color codes for tty file descriptors. -### coverage - -* Default: false -* Type: Boolean - -A flag to tell test-harness to run with their coverage options enabled, -if they respond to the `npm_config_coverage` environment variable. - ### depth * Default: Infinity @@ -243,6 +242,12 @@ set. The command to run for `npm edit` or `npm config edit`. +### email + +The email of the logged-in user. + +Set by the `npm adduser` command. Should not be set explicitly. + ### engine-strict * Default: false @@ -305,6 +310,13 @@ The command to use for git commands. If git is installed on the computer, but is not in the `PATH`, then set this to the full path to the git binary. +### git-tag-version + +* Default: `true` +* Type: Boolean + +Tag the commit when using the `npm version` command. + ### global * Default: false @@ -326,17 +338,6 @@ Operates in "global" mode, so that packages are installed into the The config file to read for global config options. -### globalignorefile - -* Default: {prefix}/etc/npmignore -* Type: path - -The config file to read for global ignore patterns to apply to all users -and all projects. - -If not found, but there is a "gitignore" file in the -same directory, then that will be used instead. - ### group * Default: GID of the current process @@ -345,6 +346,13 @@ same directory, then that will be used instead. The group to use when running package scripts in global mode as the root user. +### heading + +* Default: `"npm"` +* Type: String + +The string that starts all the debugging log output. + ### https-proxy * Default: the `HTTPS_PROXY` or `https_proxy` or `HTTP_PROXY` or @@ -353,20 +361,12 @@ user. A proxy to use for outgoing https requests. -### user-agent - -* Default: node/{process.version} {process.platform} {process.arch} -* Type: String +### ignore-scripts -Sets a User-Agent to the request header - -### ignore - -* Default: "" -* Type: string +* Default: false +* Type: Boolean -A white-space separated list of glob patterns of files to always exclude -from packages when building tarballs. +If true, npm does not run scripts specified in package.json files. ### init-module @@ -378,13 +378,6 @@ documentation for the [init-package-json](https://github.com/isaacs/init-package-json) module for more information, or npm-init(1). -### init.version - -* Default: "0.0.0" -* Type: semver - -The value `npm init` should use by default for the package version. - ### init.author.name * Default: "" @@ -424,6 +417,13 @@ This feature is currently experimental, and the output data structures for many commands is either not implemented in JSON yet, or subject to change. Only the output from `npm ls --json` is currently valid. +### key + +* Default: `null` +* Type: String + +A client key to pass when accessing the registry. + ### link * Default: false @@ -440,6 +440,14 @@ if one of the two conditions are met: * the globally installed version is identical to the version that is being installed locally. +### local-address + +* Default: undefined +* Type: IP Address + +The IP address of the local interface to use when making connections +to the npm registry. Must be IPv4 in versions of Node prior to 0.12. + ### loglevel * Default: "http" @@ -495,15 +503,7 @@ The node version to use when checking package's "engines" hash. * Default: false * Type: Boolean -Run tests on installation and report results to the -`npaturl`. - -### npaturl - -* Default: Not yet implemented -* Type: url - -The url to report npat test results. +Run tests on installation. ### onload-script @@ -763,16 +763,6 @@ The username on the npm registry. Set with `npm adduser` The location of user-level configuration settings. -### userignorefile - -* Default: ~/.npmignore -* Type: path - -The location of a user-level ignore file to apply to all packages. - -If not found, but there is a .gitignore file in the same directory, then -that will be used instead. - ### umask * Default: 022 @@ -785,6 +775,13 @@ Folders and executables are given a mode which is `0777` masked against this value. Other files are given a mode which is `0666` masked against this value. Thus, the defaults are `0755` and `0644` respectively. +### user-agent + +* Default: node/{process.version} {process.platform} {process.arch} +* Type: String + +Sets a User-Agent to the request header + ### version * Default: false @@ -813,17 +810,6 @@ The program to use to view help content. Set to `"browser"` to view html help content in the default web browser. -### yes - -* Default: null -* Type: Boolean or null - -If set to `null`, then prompt the user for responses in some -circumstances. - -If set to `true`, then answer "yes" to any prompt. If set to `false` -then answer "no" to any prompt. - ## SEE ALSO * npm-config(1) diff --git a/deps/npm/html/doc/README.html b/deps/npm/html/doc/README.html index bf2a273..253d24f 100644 --- a/deps/npm/html/doc/README.html +++ b/deps/npm/html/doc/README.html @@ -239,7 +239,7 @@ will no doubt tell you to put the output in a gist or email.

- +