From 491ac6a84365e143255cd1b75717b05dadeec219 Mon Sep 17 00:00:00 2001 From: Forrest L Norvell Date: Fri, 23 Jan 2015 17:51:45 -0800 Subject: [PATCH] deps: upgrade npm to 2.3.0 PR: #9086 PR-URL: https://github.com/joyent/node/pull/9086 Reviewed-By: Julien Gilli Reviewed-By: Timothy J Fontaine --- deps/npm/.eslintrc | 4 +- deps/npm/.travis.yml | 2 +- deps/npm/CHANGELOG.md | 424 ++ deps/npm/CONTRIBUTING.md | 3 + deps/npm/README.md | 50 +- deps/npm/doc/api/npm-ls.md | 2 +- deps/npm/doc/api/npm-restart.md | 33 +- deps/npm/doc/api/npm-start.md | 4 +- deps/npm/doc/api/npm-tag.md | 2 +- deps/npm/doc/api/npm.md | 4 +- deps/npm/doc/cli/npm-adduser.md | 11 +- deps/npm/doc/cli/npm-link.md | 2 +- deps/npm/doc/cli/npm-restart.md | 29 +- deps/npm/doc/cli/npm-run-script.md | 9 +- deps/npm/doc/cli/npm-tag.md | 24 + deps/npm/doc/cli/npm-update.md | 4 +- deps/npm/doc/cli/npm-version.md | 3 +- deps/npm/doc/cli/npm-view.md | 2 +- deps/npm/doc/cli/npm.md | 4 +- deps/npm/doc/files/npmrc.md | 6 + deps/npm/doc/files/package.json.md | 21 +- deps/npm/doc/misc/npm-coding-style.md | 4 +- deps/npm/doc/misc/npm-config.md | 27 +- deps/npm/doc/misc/npm-developers.md | 8 + deps/npm/doc/misc/npm-faq.md | 45 +- deps/npm/doc/misc/npm-index.md | 10 +- deps/npm/doc/misc/npm-registry.md | 2 +- deps/npm/doc/misc/npm-scripts.md | 4 - deps/npm/doc/misc/semver.md | 35 +- deps/npm/html/doc/README.html | 45 +- deps/npm/html/doc/api/npm-bin.html | 2 +- deps/npm/html/doc/api/npm-bugs.html | 2 +- deps/npm/html/doc/api/npm-cache.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 | 4 +- 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-repo.html | 2 +- deps/npm/html/doc/api/npm-restart.html | 30 +- 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 | 6 +- 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 | 4 +- 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 | 6 +- deps/npm/html/doc/cli/npm-access.html | 79 + deps/npm/html/doc/cli/npm-adduser.html | 13 +- 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-dist-tag.html | 80 + 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 | 4 +- 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-repo.html | 2 +- deps/npm/html/doc/cli/npm-restart.html | 26 +- 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 | 11 +- 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 | 4 +- deps/npm/html/doc/cli/npm-tag.html | 19 +- 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 | 6 +- deps/npm/html/doc/cli/npm-version.html | 4 +- deps/npm/html/doc/cli/npm-view.html | 4 +- deps/npm/html/doc/cli/npm-whoami.html | 2 +- deps/npm/html/doc/cli/npm.html | 12 +- 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 | 23 +- deps/npm/html/doc/files/npmrc.html | 8 +- deps/npm/html/doc/files/package.json.html | 23 +- deps/npm/html/doc/index.html | 12 +- deps/npm/html/doc/misc/npm-coding-style.html | 6 +- deps/npm/html/doc/misc/npm-config.html | 30 +- deps/npm/html/doc/misc/npm-developers.html | 10 +- deps/npm/html/doc/misc/npm-disputes.html | 8 +- deps/npm/html/doc/misc/npm-faq.html | 47 +- deps/npm/html/doc/misc/npm-index.html | 12 +- deps/npm/html/doc/misc/npm-registry.html | 4 +- deps/npm/html/doc/misc/npm-scope.html | 2 +- deps/npm/html/doc/misc/npm-scripts.html | 6 +- deps/npm/html/doc/misc/removing-npm.html | 2 +- deps/npm/html/doc/misc/semver.html | 26 +- deps/npm/html/index.html | 2 +- deps/npm/html/partial/doc/README.html | 43 +- deps/npm/html/partial/doc/api/npm-ls.html | 2 +- .../npm/html/partial/doc/api/npm-restart.html | 28 +- deps/npm/html/partial/doc/api/npm-start.html | 4 +- deps/npm/html/partial/doc/api/npm-tag.html | 2 +- deps/npm/html/partial/doc/api/npm.html | 4 +- deps/npm/html/partial/doc/cli/npm-access.html | 55 + .../npm/html/partial/doc/cli/npm-adduser.html | 11 +- .../html/partial/doc/cli/npm-dist-tag.html | 56 + deps/npm/html/partial/doc/cli/npm-link.html | 2 +- deps/npm/html/partial/doc/cli/npm-ls.html | 2 +- .../npm/html/partial/doc/cli/npm-restart.html | 24 +- .../html/partial/doc/cli/npm-run-script.html | 9 +- deps/npm/html/partial/doc/cli/npm-tag.html | 17 + deps/npm/html/partial/doc/cli/npm-update.html | 4 +- .../npm/html/partial/doc/cli/npm-version.html | 2 +- deps/npm/html/partial/doc/cli/npm-view.html | 2 +- deps/npm/html/partial/doc/cli/npm.html | 10 +- deps/npm/html/partial/doc/files/npm-json.html | 21 +- deps/npm/html/partial/doc/files/npmrc.html | 6 +- .../html/partial/doc/files/package.json.html | 21 +- deps/npm/html/partial/doc/index.html | 10 +- .../partial/doc/misc/npm-coding-style.html | 4 +- .../npm/html/partial/doc/misc/npm-config.html | 28 +- .../html/partial/doc/misc/npm-developers.html | 8 + .../html/partial/doc/misc/npm-disputes.html | 6 +- deps/npm/html/partial/doc/misc/npm-faq.html | 45 +- deps/npm/html/partial/doc/misc/npm-index.html | 10 +- .../html/partial/doc/misc/npm-registry.html | 2 +- .../html/partial/doc/misc/npm-scripts.html | 4 - deps/npm/html/partial/doc/misc/semver.html | 24 +- deps/npm/lib/adduser.js | 21 +- deps/npm/lib/bugs.js | 42 +- deps/npm/lib/build.js | 20 +- deps/npm/lib/cache.js | 16 +- deps/npm/lib/cache/add-local.js | 15 +- deps/npm/lib/cache/add-named.js | 45 +- deps/npm/lib/cache/add-remote-git.js | 306 +- deps/npm/lib/cache/add-remote-tarball.js | 15 +- deps/npm/lib/cache/caching-client.js | 212 + deps/npm/lib/cache/get-stat.js | 14 +- deps/npm/lib/cache/update-index.js | 100 + deps/npm/lib/config.js | 14 +- deps/npm/lib/config/core.js | 12 +- deps/npm/lib/config/defaults.js | 33 +- deps/npm/lib/config/nerf-dart.js | 6 +- deps/npm/lib/dedupe.js | 4 +- deps/npm/lib/deprecate.js | 22 +- deps/npm/lib/docs.js | 31 +- deps/npm/lib/explore.js | 2 +- deps/npm/lib/help.js | 2 +- deps/npm/lib/init.js | 2 +- deps/npm/lib/install.js | 8 +- deps/npm/lib/ls.js | 14 +- deps/npm/lib/npm.js | 16 +- deps/npm/lib/outdated.js | 10 +- deps/npm/lib/owner.js | 71 +- deps/npm/lib/publish.js | 32 +- deps/npm/lib/repo.js | 47 +- deps/npm/lib/run-script.js | 20 +- deps/npm/lib/search.js | 29 +- deps/npm/lib/star.js | 17 +- deps/npm/lib/stars.js | 9 +- deps/npm/lib/tag.js | 10 +- deps/npm/lib/unbuild.js | 51 +- deps/npm/lib/unpublish.js | 17 +- .../lib/utils/completion/file-completion.js | 6 +- deps/npm/lib/utils/error-handler.js | 10 +- deps/npm/lib/utils/gently-rm.js | 86 +- deps/npm/lib/utils/git.js | 14 +- deps/npm/lib/utils/lifecycle.js | 20 +- deps/npm/lib/utils/map-to-registry.js | 48 +- deps/npm/lib/utils/spawn.js | 23 + deps/npm/lib/utils/tar.js | 22 +- deps/npm/lib/utils/umask.js | 17 + deps/npm/lib/version.js | 207 +- deps/npm/lib/view.js | 31 +- deps/npm/lib/whoami.js | 30 +- deps/npm/man/man1/npm-README.1 | 59 +- deps/npm/man/man1/npm-access.1 | 78 + deps/npm/man/man1/npm-adduser.1 | 13 +- deps/npm/man/man1/npm-bin.1 | 2 +- deps/npm/man/man1/npm-bugs.1 | 2 +- deps/npm/man/man1/npm-build.1 | 2 +- deps/npm/man/man1/npm-bundle.1 | 2 +- deps/npm/man/man1/npm-cache.1 | 2 +- deps/npm/man/man1/npm-completion.1 | 2 +- deps/npm/man/man1/npm-config.1 | 2 +- deps/npm/man/man1/npm-dedupe.1 | 2 +- deps/npm/man/man1/npm-deprecate.1 | 2 +- deps/npm/man/man1/npm-dist-tag.1 | 95 + deps/npm/man/man1/npm-docs.1 | 2 +- deps/npm/man/man1/npm-edit.1 | 2 +- deps/npm/man/man1/npm-explore.1 | 2 +- deps/npm/man/man1/npm-help-search.1 | 2 +- deps/npm/man/man1/npm-help.1 | 2 +- deps/npm/man/man1/npm-init.1 | 2 +- deps/npm/man/man1/npm-install.1 | 2 +- deps/npm/man/man1/npm-link.1 | 4 +- deps/npm/man/man1/npm-ls.1 | 4 +- deps/npm/man/man1/npm-outdated.1 | 2 +- deps/npm/man/man1/npm-owner.1 | 2 +- deps/npm/man/man1/npm-pack.1 | 2 +- deps/npm/man/man1/npm-prefix.1 | 2 +- deps/npm/man/man1/npm-prune.1 | 2 +- deps/npm/man/man1/npm-publish.1 | 2 +- deps/npm/man/man1/npm-rebuild.1 | 2 +- deps/npm/man/man1/npm-repo.1 | 2 +- deps/npm/man/man1/npm-restart.1 | 40 +- deps/npm/man/man1/npm-rm.1 | 2 +- deps/npm/man/man1/npm-root.1 | 2 +- deps/npm/man/man1/npm-run-script.1 | 11 +- deps/npm/man/man1/npm-search.1 | 2 +- deps/npm/man/man1/npm-shrinkwrap.1 | 2 +- deps/npm/man/man1/npm-star.1 | 2 +- deps/npm/man/man1/npm-stars.1 | 2 +- deps/npm/man/man1/npm-start.1 | 2 +- deps/npm/man/man1/npm-stop.1 | 2 +- deps/npm/man/man1/npm-submodule.1 | 41 +- deps/npm/man/man1/npm-tag.1 | 25 +- deps/npm/man/man1/npm-test.1 | 2 +- deps/npm/man/man1/npm-uninstall.1 | 2 +- deps/npm/man/man1/npm-unpublish.1 | 2 +- deps/npm/man/man1/npm-update.1 | 6 +- deps/npm/man/man1/npm-version.1 | 4 +- deps/npm/man/man1/npm-view.1 | 4 +- deps/npm/man/man1/npm-whoami.1 | 2 +- deps/npm/man/man1/npm.1 | 6 +- deps/npm/man/man3/npm-bin.3 | 2 +- deps/npm/man/man3/npm-bugs.3 | 2 +- deps/npm/man/man3/npm-cache.3 | 2 +- deps/npm/man/man3/npm-commands.3 | 2 +- deps/npm/man/man3/npm-config.3 | 2 +- deps/npm/man/man3/npm-deprecate.3 | 2 +- deps/npm/man/man3/npm-docs.3 | 2 +- deps/npm/man/man3/npm-edit.3 | 2 +- deps/npm/man/man3/npm-explore.3 | 2 +- deps/npm/man/man3/npm-help-search.3 | 2 +- deps/npm/man/man3/npm-init.3 | 2 +- deps/npm/man/man3/npm-install.3 | 2 +- deps/npm/man/man3/npm-link.3 | 2 +- deps/npm/man/man3/npm-load.3 | 2 +- deps/npm/man/man3/npm-ls.3 | 4 +- deps/npm/man/man3/npm-outdated.3 | 2 +- deps/npm/man/man3/npm-owner.3 | 2 +- deps/npm/man/man3/npm-pack.3 | 2 +- deps/npm/man/man3/npm-prefix.3 | 2 +- deps/npm/man/man3/npm-prune.3 | 2 +- deps/npm/man/man3/npm-publish.3 | 2 +- deps/npm/man/man3/npm-rebuild.3 | 2 +- deps/npm/man/man3/npm-repo.3 | 2 +- deps/npm/man/man3/npm-restart.3 | 43 +- deps/npm/man/man3/npm-root.3 | 2 +- deps/npm/man/man3/npm-run-script.3 | 2 +- deps/npm/man/man3/npm-search.3 | 2 +- deps/npm/man/man3/npm-shrinkwrap.3 | 2 +- deps/npm/man/man3/npm-start.3 | 6 +- deps/npm/man/man3/npm-stop.3 | 2 +- deps/npm/man/man3/npm-submodule.3 | 41 +- deps/npm/man/man3/npm-tag.3 | 4 +- deps/npm/man/man3/npm-test.3 | 2 +- deps/npm/man/man3/npm-uninstall.3 | 2 +- deps/npm/man/man3/npm-unpublish.3 | 2 +- deps/npm/man/man3/npm-update.3 | 4 +- deps/npm/man/man3/npm-version.3 | 2 +- deps/npm/man/man3/npm-view.3 | 2 +- deps/npm/man/man3/npm-whoami.3 | 2 +- deps/npm/man/man3/npm.3 | 6 +- deps/npm/man/man5/npm-folders.5 | 2 +- deps/npm/man/man5/npm-global.5 | 2 +- deps/npm/man/man5/npm-json.5 | 23 +- deps/npm/man/man5/npmrc.5 | 12 +- deps/npm/man/man5/package.json.5 | 23 +- deps/npm/man/man7/npm-coding-style.7 | 6 +- deps/npm/man/man7/npm-config.7 | 37 +- deps/npm/man/man7/npm-developers.7 | 16 +- deps/npm/man/man7/npm-disputes.7 | 2 +- deps/npm/man/man7/npm-faq.7 | 50 +- deps/npm/man/man7/npm-index.7 | 12 +- deps/npm/man/man7/npm-registry.7 | 4 +- deps/npm/man/man7/npm-scope.7 | 2 +- deps/npm/man/man7/npm-scripts.7 | 8 +- deps/npm/man/man7/removing-npm.7 | 2 +- deps/npm/man/man7/semver.7 | 43 +- deps/npm/node_modules/columnify/index.js | 37 +- .../columnify/node_modules/strip-ansi/cli.js | 44 +- .../node_modules/ansi-regex/index.js | 2 +- .../node_modules/ansi-regex/package.json | 22 +- .../node_modules/strip-ansi/package.json | 25 +- .../defaults/node_modules/clone/README.md | 4 +- .../defaults/node_modules/clone/clone.js | 19 +- .../defaults/node_modules/clone/package.json | 22 +- .../defaults/node_modules/clone/test.js | 18 + .../node_modules/defaults/package.json | 8 +- .../node_modules/wcwidth/package.json | 2 +- deps/npm/node_modules/columnify/package.json | 32 +- deps/npm/node_modules/fs-vacuum/package.json | 13 +- deps/npm/node_modules/fs-vacuum/vacuum.js | 26 +- .../node_modules/fstream-ignore/package.json | 20 +- .../npm/node_modules/fstream-npm/package.json | 2 +- .../fstream/examples/filter-pipe.js | 4 +- .../npm/node_modules/fstream/examples/pipe.js | 2 +- .../node_modules/fstream/examples/reader.js | 22 +- .../node_modules/fstream/lib/file-reader.js | 4 + deps/npm/node_modules/fstream/package.json | 30 +- deps/npm/node_modules/glob/.npmignore | 3 - deps/npm/node_modules/glob/README.md | 188 +- deps/npm/node_modules/glob/common.js | 177 + deps/npm/node_modules/glob/examples/g.js | 9 - .../node_modules/glob/examples/usr-local.js | 9 - deps/npm/node_modules/glob/glob.js | 1075 ++- deps/npm/node_modules/glob/oh-my-glob.gif | Bin 510360 -> 0 bytes deps/npm/node_modules/glob/package.json | 44 +- deps/npm/node_modules/glob/sync.js | 409 ++ deps/npm/node_modules/glob/test/00-setup.js | 176 - .../node_modules/glob/test/bash-comparison.js | 63 - .../node_modules/glob/test/bash-results.json | 356 - deps/npm/node_modules/glob/test/cwd-test.js | 55 - deps/npm/node_modules/glob/test/empty-set.js | 20 - .../node_modules/glob/test/error-callback.js | 21 - .../node_modules/glob/test/globstar-match.js | 19 - deps/npm/node_modules/glob/test/mark.js | 118 - .../node_modules/glob/test/negation-test.js | 16 - .../glob/test/new-glob-optional-options.js | 10 - .../node_modules/glob/test/nocase-nomagic.js | 125 - .../node_modules/glob/test/pause-resume.js | 73 - .../node_modules/glob/test/readme-issue.js | 36 - .../node_modules/glob/test/root-nomount.js | 39 - deps/npm/node_modules/glob/test/root.js | 46 - deps/npm/node_modules/glob/test/stat.js | 32 - deps/npm/node_modules/glob/test/zz-cleanup.js | 11 - deps/npm/node_modules/graceful-fs/fs.js | 2 +- .../npm/node_modules/graceful-fs/package.json | 19 +- deps/npm/node_modules/ini/LICENSE | 32 +- deps/npm/node_modules/ini/package.json | 21 +- .../init-package-json/default-input.js | 22 +- .../node_modules/promzard/package.json | 3 +- .../init-package-json/package.json | 10 +- .../init-package-json/test/npm-defaults.js | 60 + deps/npm/node_modules/minimatch/.npmignore | 2 +- deps/npm/node_modules/minimatch/README.md | 2 - deps/npm/node_modules/minimatch/benchmark.js | 15 + deps/npm/node_modules/minimatch/browser.js | 1181 +++ deps/npm/node_modules/minimatch/minimatch.js | 268 +- .../node_modules/brace-expansion/.npmignore | 2 + .../node_modules/brace-expansion/.travis.yml | 3 + .../node_modules/brace-expansion/README.md | 116 + .../node_modules/brace-expansion/example.js | 8 + .../node_modules/brace-expansion/index.bak | 198 + .../node_modules/brace-expansion/index.js | 191 + .../node_modules/balanced-match/.npmignore | 2 + .../node_modules/balanced-match/.travis.yml | 4 + .../node_modules/balanced-match/Makefile | 6 + .../node_modules/balanced-match/README.md | 80 + .../node_modules/balanced-match/example.js | 5 + .../node_modules/balanced-match/index.js | 38 + .../node_modules/balanced-match/package.json | 73 + .../balanced-match/test/balanced.js | 56 + .../node_modules/concat-map/.travis.yml | 4 + .../node_modules/concat-map/README.markdown | 60 + .../node_modules/concat-map/example/map.js | 6 + .../node_modules/concat-map/index.js | 9 + .../node_modules/concat-map/package.json | 64 + .../node_modules/concat-map/test/map.js | 39 + .../node_modules/brace-expansion/package.json | 75 + .../brace-expansion/test/bash-comparison.js | 32 + .../brace-expansion/test/bash-results.txt | 1075 +++ .../brace-expansion/test/cases.txt | 182 + .../brace-expansion/test/dollar.js | 9 + .../brace-expansion/test/empty-option.js | 10 + .../brace-expansion/test/generate.sh | 24 + .../test/negative-increment.js | 15 + .../brace-expansion/test/nested.js | 16 + .../brace-expansion/test/order.js | 10 + .../node_modules/brace-expansion/test/pad.js | 13 + .../brace-expansion/test/same-type.js | 7 + .../brace-expansion/test/sequence.js | 50 + deps/npm/node_modules/minimatch/package.json | 26 +- deps/npm/node_modules/minimatch/test/basic.js | 2 +- .../minimatch/test/brace-expand.js | 17 +- .../node_modules/minimatch/.npmignore | 1 + .../node_modules/minimatch}/.travis.yml | 0 .../node-gyp/node_modules/minimatch/LICENSE | 23 + .../node-gyp/node_modules/minimatch/README.md | 218 + .../node_modules/minimatch/minimatch.js | 1073 +++ .../minimatch/node_modules/sigmund/LICENSE | 0 .../minimatch/node_modules/sigmund/README.md | 0 .../minimatch/node_modules/sigmund/bench.js | 0 .../node_modules/sigmund/package.json | 2 +- .../minimatch/node_modules/sigmund/sigmund.js | 0 .../node_modules/sigmund/test/basic.js | 0 .../node_modules/minimatch/package.json | 58 + .../node_modules/minimatch/test/basic.js | 399 + .../minimatch/test/brace-expand.js | 40 + .../node_modules}/minimatch/test/caching.js | 0 .../node_modules/minimatch/test/defaults.js | 274 + .../test/extglob-ending-with-state-char.js | 8 + deps/npm/node_modules/node-gyp/package.json | 5 +- .../node_modules/normalize-git-url/.eslintrc | 19 + .../node_modules/normalize-git-url/.npmignore | 1 + .../normalize-git-url/CHANGELOG.md | 5 + .../node_modules/normalize-git-url/README.md | 40 + .../normalize-git-url/normalize-git-url.js | 27 + .../normalize-git-url/package.json | 42 + .../normalize-git-url/test/basic.js | 56 + .../npm-install-checks/package.json | 29 +- .../npm-registry-client/README.md | 264 +- .../node_modules/npm-registry-client/index.js | 73 +- .../npm-registry-client/lib/adduser.js | 168 +- .../npm-registry-client/lib/attempt.js | 7 +- .../npm-registry-client/lib/authify.js | 16 +- .../npm-registry-client/lib/bugs.js | 9 - .../npm-registry-client/lib/deprecate.js | 38 +- .../npm-registry-client/lib/fetch.js | 21 +- .../npm-registry-client/lib/get.js | 207 +- .../npm-registry-client/lib/initialize.js | 46 +- .../npm-registry-client/lib/publish.js | 101 +- .../npm-registry-client/lib/request.js | 196 +- .../npm-registry-client/lib/star.js | 66 +- .../npm-registry-client/lib/stars.js | 21 +- .../npm-registry-client/lib/tag.js | 19 +- .../npm-registry-client/lib/unpublish.js | 43 +- .../npm-registry-client/lib/upload.js | 22 - .../npm-registry-client/lib/util/nerf-dart.js | 21 - .../npm-registry-client/lib/whoami.js | 16 +- .../node_modules/concat-stream/.npmignore | 1 + .../node_modules/concat-stream/LICENSE | 24 + .../node_modules/concat-stream/index.js | 132 + .../node_modules/readable-stream/.npmignore | 5 + .../node_modules/readable-stream/LICENSE | 18 + .../node_modules/readable-stream/README.md | 15 + .../node_modules/readable-stream/duplex.js | 1 + .../node_modules/readable-stream/float.patch | 923 +++ .../readable-stream/lib/_stream_duplex.js | 89 + .../lib/_stream_passthrough.js | 46 + .../readable-stream/lib/_stream_readable.js | 951 +++ .../readable-stream/lib/_stream_transform.js | 209 + .../readable-stream/lib/_stream_writable.js | 477 ++ .../node_modules/core-util-is/README.md | 3 + .../node_modules/core-util-is/float.patch | 604 ++ .../node_modules/core-util-is/lib/util.js | 107 + .../node_modules/core-util-is/package.json | 54 + .../node_modules/core-util-is/util.js | 106 + .../node_modules/isarray/README.md | 54 + .../node_modules/isarray/build/build.js | 209 + .../node_modules/isarray/component.json | 19 + .../node_modules/isarray/index.js | 3 + .../node_modules/isarray/package.json | 54 + .../node_modules/string_decoder/.npmignore | 2 + .../node_modules/string_decoder/LICENSE | 20 + .../node_modules/string_decoder/README.md | 7 + .../node_modules/string_decoder/index.js | 221 + .../node_modules/string_decoder/package.json | 54 + .../node_modules/readable-stream/package.json | 70 + .../readable-stream/passthrough.js | 1 + .../node_modules/readable-stream/readable.js | 7 + .../node_modules/readable-stream/transform.js | 1 + .../node_modules/readable-stream/writable.js | 1 + .../node_modules/typedarray/.travis.yml | 4 + .../node_modules/typedarray/LICENSE | 35 + .../node_modules/typedarray/example/tarray.js | 4 + .../node_modules/typedarray/index.js | 630 ++ .../node_modules/typedarray/package.json | 79 + .../node_modules/typedarray/readme.markdown | 61 + .../typedarray/test/server/undef_globals.js | 19 + .../node_modules/typedarray/test/tarray.js | 10 + .../node_modules/concat-stream/package.json | 78 + .../node_modules/concat-stream/readme.md | 84 + .../node_modules/concat-stream/test/array.js | 12 + .../node_modules/concat-stream/test/buffer.js | 31 + .../node_modules/concat-stream/test/infer.js | 15 + .../concat-stream/test/nothing.js | 25 + .../concat-stream/test/objects.js | 29 + .../concat-stream/test/server/ls.js | 16 + .../node_modules/concat-stream/test/string.js | 76 + .../concat-stream/test/typedarray.js | 33 + .../npm-registry-client/package.json | 20 +- .../npm-registry-client/test/adduser-new.js | 47 +- .../test/adduser-update.js | 23 +- .../npm-registry-client/test/adduser.js | 162 + .../npm-registry-client/test/bugs.js | 28 - .../test/config-defaults.js | 42 + .../test/config-override.js | 57 + .../npm-registry-client/test/deprecate.js | 120 +- .../npm-registry-client/test/fetch-404.js | 5 +- .../npm-registry-client/test/fetch-408.js | 5 +- .../npm-registry-client/test/fetch-503.js | 5 +- .../npm-registry-client/test/fetch-authed.js | 17 +- .../npm-registry-client/test/fetch-basic.js | 60 +- .../test/fetch-github-api-json.js | 68 + .../test/fetch-not-authed.js | 17 +- .../npm-registry-client/test/get-all.js | 16 - .../npm-registry-client/test/get-basic.js | 55 +- .../npm-registry-client/test/get-error-403.js | 2 +- .../npm-registry-client/test/lib/common.js | 68 +- .../npm-registry-client/test/lib/server.js | 2 +- .../test/publish-again-scoped.js | 27 +- .../npm-registry-client/test/publish-again.js | 26 +- .../test/publish-failed-no-message.js | 41 + .../test/publish-scoped-auth-token.js | 19 +- .../test/publish-scoped.js | 25 +- .../npm-registry-client/test/publish.js | 167 +- .../npm-registry-client/test/redirects.js | 27 +- .../test/request-gzip-content.js | 39 +- .../npm-registry-client/test/request.js | 252 + .../npm-registry-client/test/retries.js | 10 +- .../npm-registry-client/test/star.js | 159 +- .../npm-registry-client/test/stars.js | 68 +- .../npm-registry-client/test/tag.js | 95 +- .../test/unpublish-scoped.js | 28 +- .../npm-registry-client/test/unpublish.js | 68 +- .../npm-registry-client/test/upload.js | 36 - .../npm-registry-client/test/whoami.js | 54 +- .../node_modules/debuglog/package.json | 5 +- .../readdir-scoped-modules/.eslintrc | 17 + .../readdir-scoped-modules/package.json | 29 +- .../readdir-scoped-modules/readdir.js | 2 +- .../node_modules/util-extend/package.json | 5 +- .../node_modules/read-installed/package.json | 33 +- .../read-installed/read-installed.js | 2 +- .../node_modules/read-installed/test/empty.js | 16 + deps/npm/node_modules/readable-stream/LICENSE | 41 +- .../node_modules/readable-stream/README.md | 4 +- .../node_modules/readable-stream/package.json | 19 +- .../node_modules/readable-stream/readable.js | 2 + .../realize-package-specifier/index.js | 1 + .../realize-package-specifier/package.json | 30 +- .../realize-package-specifier/test/basic.js | 42 +- deps/npm/node_modules/request/.travis.yml | 2 + deps/npm/node_modules/request/CHANGELOG.md | 1290 +--- deps/npm/node_modules/request/CONTRIBUTING.md | 2 +- deps/npm/node_modules/request/README.md | 166 +- .../node_modules/request/examples/README.md | 115 + deps/npm/node_modules/request/index.js | 4 +- deps/npm/node_modules/request/lib/cookies.js | 19 +- .../request/node_modules/caseless/README.md | 2 +- .../request/node_modules/caseless/index.js | 8 +- .../node_modules/caseless/package.json | 17 +- .../request/node_modules/caseless/test.js | 9 +- .../node_modules => }/combined-stream/License | 0 .../combined-stream/Readme.md | 0 .../combined-stream/lib/combined_stream.js | 14 +- .../node_modules/delayed-stream/.npmignore | 0 .../node_modules/delayed-stream/License | 0 .../node_modules/delayed-stream/Makefile | 0 .../node_modules/delayed-stream/Readme.md | 0 .../delayed-stream/lib/delayed_stream.js | 0 .../node_modules/delayed-stream/package.json | 0 .../delayed-stream/test/common.js | 0 .../integration/test-delayed-http-upload.js | 0 .../test-delayed-stream-auto-pause.js | 0 .../integration/test-delayed-stream-pause.js | 0 .../test/integration/test-delayed-stream.js | 0 .../integration/test-handle-source-errors.js | 0 .../test/integration/test-max-data-size.js | 0 .../test/integration/test-pipe-resumes.js | 0 .../test/integration/test-proxy-readable.js | 0 .../node_modules/delayed-stream/test/run.js | 0 .../combined-stream/package.json | 25 +- .../node_modules/form-data/lib/form_data.js | 2 +- .../node_modules/mime-types/HISTORY.md | 51 + .../node_modules/{mime => mime-types}/LICENSE | 5 +- .../node_modules/mime-types/README.md | 99 + .../node_modules/mime-types/index.js | 63 + .../mime-types/node_modules/mime-db/LICENSE | 22 + .../mime-types/node_modules/mime-db/README.md | 72 + .../mime-types/node_modules/mime-db/db.json | 6385 +++++++++++++++++ .../mime-types/node_modules/mime-db/index.js | 11 + .../node_modules/mime-db/package.json | 78 + .../node_modules/mime-types/package.json | 80 + .../form-data/node_modules/mime/README.md | 66 - .../form-data/node_modules/mime/mime.js | 114 - .../form-data/node_modules/mime/package.json | 59 - .../form-data/node_modules/mime/test.js | 84 - .../node_modules/mime/types/mime.types | 1588 ---- .../node_modules/mime/types/node.types | 77 - .../node_modules/form-data/package.json | 22 +- .../node_modules/asn1/package.json | 32 +- .../node_modules/assert-plus/package.json | 19 +- .../request/node_modules/node-uuid/LICENSE.md | 23 +- .../request/node_modules/node-uuid/README.md | 40 +- .../request/node_modules/node-uuid/bin/uuid | 26 + .../node_modules/node-uuid/package.json | 37 +- .../request/node_modules/node-uuid/uuid.js | 6 +- .../request/node_modules/oauth-sign/index.js | 37 +- .../node_modules/oauth-sign/package.json | 26 +- .../request/node_modules/qs/CHANGELOG.md | 68 + .../request/node_modules/qs/Makefile | 8 +- .../request/node_modules/qs/Readme.md | 46 +- .../request/node_modules/qs/index.js | 2 +- .../request/node_modules/qs/lib/parse.js | 54 +- .../request/node_modules/qs/lib/stringify.js | 46 +- .../request/node_modules/qs/lib/utils.js | 137 +- .../request/node_modules/qs/package.json | 30 +- .../request/node_modules/qs/test/parse.js | 160 +- .../request/node_modules/qs/test/stringify.js | 64 +- deps/npm/node_modules/request/package.json | 48 +- deps/npm/node_modules/request/release.sh | 44 +- deps/npm/node_modules/request/request.js | 180 +- deps/npm/node_modules/semver/README.md | 35 +- deps/npm/node_modules/semver/package.json | 20 +- .../npm/node_modules/semver/semver.browser.js | 27 + .../node_modules/semver/semver.browser.js.gz | Bin 7595 -> 7739 bytes deps/npm/node_modules/semver/semver.js | 27 + deps/npm/node_modules/semver/semver.min.js | 2 +- deps/npm/node_modules/semver/semver.min.js.gz | Bin 3472 -> 3564 bytes deps/npm/node_modules/semver/test/index.js | 29 + deps/npm/node_modules/tar/.travis.yml | 3 +- .../node_modules/tar/examples/extracter.js | 22 +- deps/npm/node_modules/tar/examples/packer.js | 20 +- deps/npm/node_modules/tar/lib/extract.js | 8 + deps/npm/node_modules/tar/lib/parse.js | 2 +- deps/npm/node_modules/tar/package.json | 33 +- deps/npm/node_modules/tar/test/extract.js | 2 +- deps/npm/node_modules/uid-number/package.json | 24 +- .../npm/node_modules/uid-number/uid-number.js | 9 +- deps/npm/node_modules/umask/.npmignore | 28 + deps/npm/node_modules/umask/ChangeLog | 9 + deps/npm/node_modules/umask/LICENSE | 22 + deps/npm/node_modules/umask/README.md | 78 + deps/npm/node_modules/umask/index.js | 77 + deps/npm/node_modules/umask/package.json | 53 + deps/npm/node_modules/umask/test/simple.js | 166 + deps/npm/node_modules/which/LICENSE | 32 +- deps/npm/node_modules/which/package.json | 36 +- deps/npm/node_modules/which/which.js | 7 +- deps/npm/package.json | 50 +- deps/npm/scripts/install.sh | 59 +- deps/npm/test/common-tap.js | 26 +- .../test/fixtures/scoped-underscore-1.3.1.tgz | Bin 0 -> 55415 bytes deps/npm/test/run.js | 2 + deps/npm/test/tap/00-config-setup.js | 2 +- .../test/tap/add-remote-git-fake-windows.js | 138 + deps/npm/test/tap/add-remote-git.js | 130 + ...-always-auth.js => adduser-always-auth.js} | 0 deps/npm/test/tap/adduser-legacy-auth.js | 89 + deps/npm/test/tap/bugs.js | 151 + deps/npm/test/tap/build-already-built.js | 81 + deps/npm/test/tap/config-private.js | 81 + deps/npm/test/tap/gently-rm-overeager.js | 62 + deps/npm/test/tap/gently-rm-symlink.js | 113 + deps/npm/test/tap/get.js | 125 + deps/npm/test/tap/git-npmignore.js | 172 + deps/npm/test/tap/ignore-scripts.js | 1 - deps/npm/test/tap/ignore-scripts/package.json | 4 +- deps/npm/test/tap/init-interrupt.js | 58 + deps/npm/test/tap/install-bad-man.js | 79 + deps/npm/test/tap/lifecycle-path.js | 6 +- deps/npm/test/tap/ls-l-depth-0.js | 114 + deps/npm/test/tap/map-to-registry.js | 89 + deps/npm/test/tap/nerf-dart.js | 32 + deps/npm/test/tap/outdated-private.js | 101 + deps/npm/test/tap/owner.js | 161 + deps/npm/test/tap/run-script.js | 29 +- deps/npm/test/tap/run-script/package.json | 16 +- .../test/tap/shrinkwrap-local-dependency.js | 121 + deps/npm/test/tap/shrinkwrap-scoped-auth.js | 108 + deps/npm/test/tap/spawn-enoent-help.js | 34 + deps/npm/test/tap/spawn-enoent.js | 2 +- deps/npm/test/tap/umask-lifecycle.js | 52 + deps/npm/test/tap/unpack-foreign-tarball.js | 8 +- .../gitignore-and-npmignore-2.tar | Bin 0 -> 4096 bytes deps/npm/test/tap/update-index.js | 188 + deps/npm/test/tap/version-git-not-clean.js | 81 + deps/npm/test/tap/version-no-package.js | 45 + .../npm/test/tap/version-update-shrinkwrap.js | 249 + deps/npm/test/tap/whoami.js | 2 +- deps/npm/test/tap/zz-cleanup.js | 13 +- 705 files changed, 30721 insertions(+), 8522 deletions(-) create mode 100644 deps/npm/html/doc/cli/npm-access.html create mode 100644 deps/npm/html/doc/cli/npm-dist-tag.html create mode 100644 deps/npm/html/partial/doc/cli/npm-access.html create mode 100644 deps/npm/html/partial/doc/cli/npm-dist-tag.html create mode 100644 deps/npm/lib/cache/caching-client.js create mode 100644 deps/npm/lib/cache/update-index.js create mode 100644 deps/npm/lib/utils/spawn.js create mode 100644 deps/npm/lib/utils/umask.js create mode 100644 deps/npm/man/man1/npm-access.1 create mode 100644 deps/npm/man/man1/npm-dist-tag.1 delete mode 100644 deps/npm/node_modules/glob/.npmignore create mode 100644 deps/npm/node_modules/glob/common.js delete mode 100644 deps/npm/node_modules/glob/examples/g.js delete mode 100644 deps/npm/node_modules/glob/examples/usr-local.js delete mode 100644 deps/npm/node_modules/glob/oh-my-glob.gif create mode 100644 deps/npm/node_modules/glob/sync.js delete mode 100644 deps/npm/node_modules/glob/test/00-setup.js delete mode 100644 deps/npm/node_modules/glob/test/bash-comparison.js delete mode 100644 deps/npm/node_modules/glob/test/bash-results.json delete mode 100644 deps/npm/node_modules/glob/test/cwd-test.js delete mode 100644 deps/npm/node_modules/glob/test/empty-set.js delete mode 100644 deps/npm/node_modules/glob/test/error-callback.js delete mode 100644 deps/npm/node_modules/glob/test/globstar-match.js delete mode 100644 deps/npm/node_modules/glob/test/mark.js delete mode 100644 deps/npm/node_modules/glob/test/negation-test.js delete mode 100644 deps/npm/node_modules/glob/test/new-glob-optional-options.js delete mode 100644 deps/npm/node_modules/glob/test/nocase-nomagic.js delete mode 100644 deps/npm/node_modules/glob/test/pause-resume.js delete mode 100644 deps/npm/node_modules/glob/test/readme-issue.js delete mode 100644 deps/npm/node_modules/glob/test/root-nomount.js delete mode 100644 deps/npm/node_modules/glob/test/root.js delete mode 100644 deps/npm/node_modules/glob/test/stat.js delete mode 100644 deps/npm/node_modules/glob/test/zz-cleanup.js create mode 100644 deps/npm/node_modules/minimatch/benchmark.js create mode 100644 deps/npm/node_modules/minimatch/browser.js create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/.npmignore create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/.travis.yml create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/README.md create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/example.js create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/index.bak create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/index.js create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.npmignore create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.travis.yml create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/README.md create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/index.js create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/.travis.yml create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/README.markdown create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/example/map.js create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/index.js create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/package.json create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/test/map.js create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/package.json create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/test/bash-comparison.js create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/test/bash-results.txt create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/test/cases.txt create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/test/dollar.js create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/test/empty-option.js create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/test/generate.sh create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/test/negative-increment.js create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/test/nested.js create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/test/order.js create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/test/pad.js create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/test/same-type.js create mode 100644 deps/npm/node_modules/minimatch/node_modules/brace-expansion/test/sequence.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/minimatch/.npmignore rename deps/npm/node_modules/{glob => node-gyp/node_modules/minimatch}/.travis.yml (100%) create mode 100644 deps/npm/node_modules/node-gyp/node_modules/minimatch/LICENSE create mode 100644 deps/npm/node_modules/node-gyp/node_modules/minimatch/README.md create mode 100644 deps/npm/node_modules/node-gyp/node_modules/minimatch/minimatch.js rename deps/npm/node_modules/{ => node-gyp/node_modules}/minimatch/node_modules/sigmund/LICENSE (100%) rename deps/npm/node_modules/{ => node-gyp/node_modules}/minimatch/node_modules/sigmund/README.md (100%) rename deps/npm/node_modules/{ => node-gyp/node_modules}/minimatch/node_modules/sigmund/bench.js (100%) rename deps/npm/node_modules/{ => node-gyp/node_modules}/minimatch/node_modules/sigmund/package.json (98%) rename deps/npm/node_modules/{ => node-gyp/node_modules}/minimatch/node_modules/sigmund/sigmund.js (100%) rename deps/npm/node_modules/{ => node-gyp/node_modules}/minimatch/node_modules/sigmund/test/basic.js (100%) create mode 100644 deps/npm/node_modules/node-gyp/node_modules/minimatch/package.json create mode 100644 deps/npm/node_modules/node-gyp/node_modules/minimatch/test/basic.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/minimatch/test/brace-expand.js rename deps/npm/node_modules/{ => node-gyp/node_modules}/minimatch/test/caching.js (100%) create mode 100644 deps/npm/node_modules/node-gyp/node_modules/minimatch/test/defaults.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/minimatch/test/extglob-ending-with-state-char.js create mode 100644 deps/npm/node_modules/normalize-git-url/.eslintrc create mode 100644 deps/npm/node_modules/normalize-git-url/.npmignore create mode 100644 deps/npm/node_modules/normalize-git-url/CHANGELOG.md create mode 100644 deps/npm/node_modules/normalize-git-url/README.md create mode 100644 deps/npm/node_modules/normalize-git-url/normalize-git-url.js create mode 100644 deps/npm/node_modules/normalize-git-url/package.json create mode 100644 deps/npm/node_modules/normalize-git-url/test/basic.js delete mode 100644 deps/npm/node_modules/npm-registry-client/lib/bugs.js delete mode 100644 deps/npm/node_modules/npm-registry-client/lib/upload.js delete mode 100644 deps/npm/node_modules/npm-registry-client/lib/util/nerf-dart.js create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/.npmignore create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/LICENSE create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/index.js create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/.npmignore create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/LICENSE create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/README.md create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/duplex.js create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/float.patch create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_duplex.js create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_passthrough.js create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_readable.js create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_transform.js create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/core-util-is/README.md create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/core-util-is/float.patch create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/core-util-is/lib/util.js create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/core-util-is/package.json create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/core-util-is/util.js create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/isarray/README.md create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/isarray/build/build.js create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/isarray/component.json create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/isarray/index.js create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/isarray/package.json create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/string_decoder/.npmignore create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/string_decoder/LICENSE create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/string_decoder/README.md create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/string_decoder/index.js create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/string_decoder/package.json create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/package.json create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/passthrough.js create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/readable.js create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/transform.js create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/writable.js create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/typedarray/.travis.yml create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/typedarray/LICENSE create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/typedarray/example/tarray.js create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/typedarray/index.js create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/typedarray/package.json create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/typedarray/readme.markdown create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/typedarray/test/server/undef_globals.js create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/typedarray/test/tarray.js create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/package.json create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/readme.md create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/test/array.js create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/test/buffer.js create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/test/infer.js create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/test/nothing.js create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/test/objects.js create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/test/server/ls.js create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/test/string.js create mode 100644 deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/test/typedarray.js create mode 100644 deps/npm/node_modules/npm-registry-client/test/adduser.js delete mode 100644 deps/npm/node_modules/npm-registry-client/test/bugs.js create mode 100644 deps/npm/node_modules/npm-registry-client/test/config-defaults.js create mode 100644 deps/npm/node_modules/npm-registry-client/test/config-override.js create mode 100644 deps/npm/node_modules/npm-registry-client/test/fetch-github-api-json.js delete mode 100644 deps/npm/node_modules/npm-registry-client/test/get-all.js create mode 100644 deps/npm/node_modules/npm-registry-client/test/publish-failed-no-message.js create mode 100644 deps/npm/node_modules/npm-registry-client/test/request.js delete mode 100644 deps/npm/node_modules/npm-registry-client/test/upload.js create mode 100644 deps/npm/node_modules/read-installed/node_modules/readdir-scoped-modules/.eslintrc create mode 100644 deps/npm/node_modules/read-installed/test/empty.js create mode 100644 deps/npm/node_modules/request/examples/README.md rename deps/npm/node_modules/request/node_modules/{form-data/node_modules => }/combined-stream/License (100%) rename deps/npm/node_modules/request/node_modules/{form-data/node_modules => }/combined-stream/Readme.md (100%) rename deps/npm/node_modules/request/node_modules/{form-data/node_modules => }/combined-stream/lib/combined_stream.js (89%) rename deps/npm/node_modules/request/node_modules/{form-data/node_modules => }/combined-stream/node_modules/delayed-stream/.npmignore (100%) rename deps/npm/node_modules/request/node_modules/{form-data/node_modules => }/combined-stream/node_modules/delayed-stream/License (100%) rename deps/npm/node_modules/request/node_modules/{form-data/node_modules => }/combined-stream/node_modules/delayed-stream/Makefile (100%) rename deps/npm/node_modules/request/node_modules/{form-data/node_modules => }/combined-stream/node_modules/delayed-stream/Readme.md (100%) rename deps/npm/node_modules/request/node_modules/{form-data/node_modules => }/combined-stream/node_modules/delayed-stream/lib/delayed_stream.js (100%) rename deps/npm/node_modules/request/node_modules/{form-data/node_modules => }/combined-stream/node_modules/delayed-stream/package.json (100%) rename deps/npm/node_modules/request/node_modules/{form-data/node_modules => }/combined-stream/node_modules/delayed-stream/test/common.js (100%) rename deps/npm/node_modules/request/node_modules/{form-data/node_modules => }/combined-stream/node_modules/delayed-stream/test/integration/test-delayed-http-upload.js (100%) rename deps/npm/node_modules/request/node_modules/{form-data/node_modules => }/combined-stream/node_modules/delayed-stream/test/integration/test-delayed-stream-auto-pause.js (100%) rename deps/npm/node_modules/request/node_modules/{form-data/node_modules => }/combined-stream/node_modules/delayed-stream/test/integration/test-delayed-stream-pause.js (100%) rename deps/npm/node_modules/request/node_modules/{form-data/node_modules => }/combined-stream/node_modules/delayed-stream/test/integration/test-delayed-stream.js (100%) rename deps/npm/node_modules/request/node_modules/{form-data/node_modules => }/combined-stream/node_modules/delayed-stream/test/integration/test-handle-source-errors.js (100%) rename deps/npm/node_modules/request/node_modules/{form-data/node_modules => }/combined-stream/node_modules/delayed-stream/test/integration/test-max-data-size.js (100%) rename deps/npm/node_modules/request/node_modules/{form-data/node_modules => }/combined-stream/node_modules/delayed-stream/test/integration/test-pipe-resumes.js (100%) rename deps/npm/node_modules/request/node_modules/{form-data/node_modules => }/combined-stream/node_modules/delayed-stream/test/integration/test-proxy-readable.js (100%) rename deps/npm/node_modules/request/node_modules/{form-data/node_modules => }/combined-stream/node_modules/delayed-stream/test/run.js (100%) rename deps/npm/node_modules/request/node_modules/{form-data/node_modules => }/combined-stream/package.json (74%) create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/mime-types/HISTORY.md rename deps/npm/node_modules/request/node_modules/form-data/node_modules/{mime => mime-types}/LICENSE (93%) create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/mime-types/README.md create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/mime-types/index.js create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/mime-types/node_modules/mime-db/LICENSE create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/mime-types/node_modules/mime-db/README.md create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/mime-types/node_modules/mime-db/db.json create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/mime-types/node_modules/mime-db/index.js create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/mime-types/node_modules/mime-db/package.json create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/mime-types/package.json delete mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/mime/README.md delete mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/mime/mime.js delete mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/mime/package.json delete mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/mime/test.js delete mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/mime/types/mime.types delete mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/mime/types/node.types create mode 100755 deps/npm/node_modules/request/node_modules/node-uuid/bin/uuid create mode 100644 deps/npm/node_modules/request/node_modules/qs/CHANGELOG.md mode change 100755 => 100644 deps/npm/node_modules/request/node_modules/qs/package.json mode change 100755 => 100644 deps/npm/node_modules/request/package.json create mode 100644 deps/npm/node_modules/umask/.npmignore create mode 100644 deps/npm/node_modules/umask/ChangeLog create mode 100644 deps/npm/node_modules/umask/LICENSE create mode 100644 deps/npm/node_modules/umask/README.md create mode 100644 deps/npm/node_modules/umask/index.js create mode 100644 deps/npm/node_modules/umask/package.json create mode 100644 deps/npm/node_modules/umask/test/simple.js create mode 100644 deps/npm/test/fixtures/scoped-underscore-1.3.1.tgz create mode 100644 deps/npm/test/tap/add-remote-git-fake-windows.js create mode 100644 deps/npm/test/tap/add-remote-git.js rename deps/npm/test/tap/{login-always-auth.js => adduser-always-auth.js} (100%) create mode 100644 deps/npm/test/tap/adduser-legacy-auth.js create mode 100644 deps/npm/test/tap/bugs.js create mode 100644 deps/npm/test/tap/build-already-built.js create mode 100644 deps/npm/test/tap/config-private.js create mode 100644 deps/npm/test/tap/gently-rm-overeager.js create mode 100644 deps/npm/test/tap/gently-rm-symlink.js create mode 100644 deps/npm/test/tap/get.js create mode 100644 deps/npm/test/tap/git-npmignore.js create mode 100644 deps/npm/test/tap/init-interrupt.js create mode 100644 deps/npm/test/tap/install-bad-man.js create mode 100644 deps/npm/test/tap/ls-l-depth-0.js create mode 100644 deps/npm/test/tap/map-to-registry.js create mode 100644 deps/npm/test/tap/nerf-dart.js create mode 100644 deps/npm/test/tap/outdated-private.js create mode 100644 deps/npm/test/tap/owner.js create mode 100644 deps/npm/test/tap/shrinkwrap-local-dependency.js create mode 100644 deps/npm/test/tap/shrinkwrap-scoped-auth.js create mode 100644 deps/npm/test/tap/spawn-enoent-help.js create mode 100644 deps/npm/test/tap/umask-lifecycle.js create mode 100644 deps/npm/test/tap/unpack-foreign-tarball/gitignore-and-npmignore-2.tar create mode 100644 deps/npm/test/tap/update-index.js create mode 100644 deps/npm/test/tap/version-git-not-clean.js create mode 100644 deps/npm/test/tap/version-no-package.js create mode 100644 deps/npm/test/tap/version-update-shrinkwrap.js diff --git a/deps/npm/.eslintrc b/deps/npm/.eslintrc index ba331504210..b54e30fd2aa 100644 --- a/deps/npm/.eslintrc +++ b/deps/npm/.eslintrc @@ -12,6 +12,8 @@ "no-lonely-if": 1, "no-unused-vars": [2, {"vars" : "all", "args" : "after-used"}], "no-mixed-requires": 0, - "space-infix-ops": 0 + "space-infix-ops": 0, + "key-spacing": 0, + "no-multi-spaces": 0 } } diff --git a/deps/npm/.travis.yml b/deps/npm/.travis.yml index 2734148642f..c540f6559e3 100644 --- a/deps/npm/.travis.yml +++ b/deps/npm/.travis.yml @@ -8,4 +8,4 @@ before_install: - "npm config set spin false" - "npm install -g npm@^2" - "sudo mkdir -p /var/run/couchdb" -script: "npm run-script tap" +script: "npm run-script test-all" diff --git a/deps/npm/CHANGELOG.md b/deps/npm/CHANGELOG.md index e67cd290927..b73d83ac705 100644 --- a/deps/npm/CHANGELOG.md +++ b/deps/npm/CHANGELOG.md @@ -1,3 +1,427 @@ +### v2.3.0 (2015-01-15): + +#### REGISTRY 2: OH MY STARS! WHO AM I? + +* [`e662a60`](https://github.com/npm/npm/commit/e662a60e2f9a542effd8e72279d4622fe514415e) + The new `whoami` endpoint might not return a value. + ([@othiym23](https://github.com/othiym23)) +* [`c2cccd4`](https://github.com/npm/npm/commit/c2cccd4bbc65885239ed646eb510155f7b8af13d) + `npm-registry-client@5.0.0`: Includes the following fine changes + ([@othiym23](https://github.com/othiym23)): + * [`ba6b73e`](https://github.com/npm/npm-registry-client/commit/ba6b73e351027246c228622014e4441412409bad) + [#92](https://github.com/npm/npm-registry-client/issues/92) BREAKING CHANGE: + Move `/whoami` endpoint out of the package namespace (to `/-/whoami`). + ([@othiym23](https://github.com/othiym23)) + * [`3b174b7`](https://github.com/npm/npm-registry-client/commit/3b174b75c0c9ea77e298e6bb664fb499824ecc7c) + [#93](https://github.com/npm/npm-registry-client/issues/93) Registries based + on token-based auth can now offer starring. + ([@bcoe](https://github.com/bcoe)) + * [`4701a29`](https://github.com/npm/npm-registry-client/commit/4701a29bcda41bc14aa91f361dd0d576e24677d7) + Fix HTTP[S] connection keep-alive on Node 0.11 / io.js 1.0. + ([@fengmk2](https://github.com/fengmk2)) + +#### BETTER REGISTRY METADATA CACHING + +* [`98e1e10`](https://github.com/npm/npm/commit/98e1e1080df1f2cab16ed68035603950ea3d2d48) + [#6791](https://github.com/npm/npm/issues/6791) Add caching based on + Last-Modified / If-Modified-Since headers. Includes this + `npm-registry-client@5.0.0` change ([@lxe](https://github.com/lxe)): + * [`07bc335`](https://github.com/npm/npm-registry-client/commit/07bc33502b93554cd7539bfcce37d6e2d5404cd0) + [#86](https://github.com/npm/npm-registry-client/issues/86) Add Last-Modified + / If-Modified-Since cache header handling. ([@lxe](https://github.com/lxe)) + +#### HOW MUCH IS THAT WINDOWS IN THE DOGGY? + +* [`706d49a`](https://github.com/npm/npm/commit/706d49ab45521360fce1a68779b8de899015d8c2) + [#7107](https://github.com/npm/npm/issues/7107) `getCacheStat` passes a stub + stat on Windows. ([@rmg](https://github.com/rmg)) +* [`5fce278`](https://github.com/npm/npm/commit/5fce278a688a1cb79183e012bde40b089c2e97a4) + [#5267](https://github.com/npm/npm/issues/5267) Use `%COMSPEC%` when set on + Windows. ([@edmorley](https://github.com/edmorley)) +* [`cc2e099`](https://github.com/npm/npm/commit/cc2e09912ce2f91567c485422e4e797c4deb9842) + [#7083](https://github.com/npm/npm/issues/7083) Ensure Git cache prefix + exists before repo clone on Windows. + ([@othiym23](https://github.com/othiym23)) + +#### THRILLING BUG FIXES + +* [`c6fb430`](https://github.com/npm/npm/commit/c6fb430e55672b3caf87d25cbd2aeeebc449e2f2) + [#4197](https://github.com/npm/npm/issues/4197) Report `umask` as a 0-padded + octal literal. ([@smikes](https://github.com/smikes)) +* [`209713e`](https://github.com/npm/npm/commit/209713ebd4b77da11ce27d90c3346f78d760ba52) + [#4197](https://github.com/npm/npm/issues/4197) `umask@1.1.0`: Properly + handle `umask`s (i.e. not decimal numbers). + ([@smikes](https://github.com/smikes)) +* [`9eac0a1`](https://github.com/npm/npm/commit/9eac0a14488c5979ebde4c17881c8cd74f395069) + Make the example for bin links non-destructive. + ([@KevinSheedy](https://github.com/KevinSheedy)) +* [`6338bcf`](https://github.com/npm/npm/commit/6338bcfcd9cd1b0cc48b051dae764dc436ab5332) + `glob@4.3.5`: " -> ', for some reason. ([@isaacs](https://github.com/isaacs)) + +### v2.2.0 (2015-01-08): + +* [`88c531d`](https://github.com/npm/npm/commit/88c531d1c0b3aced8f2a09632db01b5635e7226a) + [#7056](https://github.com/npm/npm/issues/7056) version doesn't need a + package.json. ([@othiym23](https://github.com/othiym23)) +* [`2656c19`](https://github.com/npm/npm/commit/2656c19f6b915c3173acc3b6f184cc321563da5f) + [#7095](https://github.com/npm/npm/issues/7095) Link to npm website instead + of registry. ([@konklone](https://github.com/konklone)) +* [`c76b801`](https://github.com/npm/npm/commit/c76b8013bf1758587565822626171b76cb465c9e) + [#7067](https://github.com/npm/npm/issues/7067) Obfuscate secrets, including + nerfed URLs. ([@smikes](https://github.com/smikes)) +* [`17f66ce`](https://github.com/npm/npm/commit/17f66ceb1bd421084e4ae82a6b66634a6e272929) + [#6849](https://github.com/npm/npm/issues/6849) Explain the tag workflow more + clearly. ([@smikes](https://github.com/smikes)) +* [`e309df6`](https://github.com/npm/npm/commit/e309df642de33d10d6dffadaa8a5d214a924d0dc) + [#7096](https://github.com/npm/npm/issues/7096) Really, `npm update -g` is + almost always a terrible idea. ([@smikes](https://github.com/smikes)) +* [`acf287d`](https://github.com/npm/npm/commit/acf287d2547c8a0a8871652c164019261b666d55) + [#6999](https://github.com/npm/npm/issues/6999) `npm run-script env`: add a + new default script that will print out environment values. + ([@gcb](https://github.com/gcb)) +* [`560c009`](https://github.com/npm/npm/commit/560c00945d4dec926cd29193e336f137c7f3f951) + [#6745](https://github.com/npm/npm/issues/6745) Document `npm update --dev`. + ([@smikes](https://github.com/smikes)) +* [`226a677`](https://github.com/npm/npm/commit/226a6776a1a9e28570485623b8adc2ec4b041335) + [#7046](https://github.com/npm/npm/issues/7046) We have never been the Node + package manager. ([@linclark](https://github.com/linclark)) +* [`38eef22`](https://github.com/npm/npm/commit/38eef2248f03bb8ab04cae1833e2a228fb887f3c) + `npm-install-checks@1.0.5`: Compatibility with npmlog@^1. + ([@iarna](https://github.com/iarna)) + +### v2.1.18 (2015-01-01): + +* [`bf8640b`](https://github.com/npm/npm/commit/bf8640b0395b5dff71260a0cede7efc699a7bcf5) + [#7044](https://github.com/npm/npm/issues/7044) Document `.npmignore` syntax. + ([@zeke](https://github.com/zeke)) + +### v2.1.17 (2014-12-25): + +merry npm xmas + +Working with [@phated](https://github.com/phated), I discovered that npm still +had some lingering race conditions around how it handles Git dependencies. The +following changes were intended to remedy to these issues. Thanks to +[@phated](https://github.com/phated) for all his help getting to the bottom of +these. + +* [`bdf1c84`](https://github.com/npm/npm/commit/bdf1c8483f5c4ad79b712db12d73276e15883923) + [#7006](https://github.com/npm/npm/issues/7006) Only `chown` template and + top-level Git cache directories. ([@othiym23](https://github.com/othiym23)) +* [`581a72d`](https://github.com/npm/npm/commit/581a72da18f35ec87edef6255adf4ef4714a478c) + [#7006](https://github.com/npm/npm/issues/7006) Map Git remote inflighting to + clone paths rather than Git URLs. ([@othiym23](https://github.com/othiym23)) +* [`1c48d08`](https://github.com/npm/npm/commit/1c48d08dea31a11ac11a285cac598a482481cade) + [#7009](https://github.com/npm/npm/issues/7009) `normalize-git-url@1.0.0`: + Normalize Git URLs while caching. ([@othiym23](https://github.com/othiym23)) +* [`5423cf0`](https://github.com/npm/npm/commit/5423cf0be8ff2b76bfff7c8e780e5f261235a86a) + [#7009](https://github.com/npm/npm/issues/7009) Pack tarballs to their final + locations atomically. ([@othiym23](https://github.com/othiym23)) +* [`7f6557f`](https://github.com/npm/npm/commit/7f6557ff317469ee4a87c542ff9a991e74ce9f38) + [#7009](https://github.com/npm/npm/issues/7009) Inflight local directory + packing, just to be safe. ([@othiym23](https://github.com/othiym23)) + +Other changes: + +* [`1c491e6`](https://github.com/npm/npm/commit/1c491e65d70af013e8d5ac008d6d9762d6d91793) + [#6991](https://github.com/npm/npm/issues/6991) `npm version`: fix regression + in dirty-checking behavior ([@rlidwka](https://github.com/rlidwka)) +* [`55ceb2b`](https://github.com/npm/npm/commit/55ceb2b08ff8a0f56b94cc972ca15d7862e8733c) + [#1991](https://github.com/npm/npm/issues/1991) modify docs to reflect actual + `npm restart` behavior ([@smikes](https://github.com/smikes)) +* [`fb8e31b`](https://github.com/npm/npm/commit/fb8e31b95476a50bda35a665a99eec8a5d25a4db) + [#6982](https://github.com/npm/npm/issues/6982) when doing registry + operations, ensure registry URL always ends with `/` + ([@othiym23](https://github.com/othiym23)) +* [`5bcba65`](https://github.com/npm/npm/commit/5bcba65bed2678ffe80fb596f72abe9871d131c8) + pull whitelisted Git environment variables out into a named constant + ([@othiym23](https://github.com/othiym23)) +* [`be04bbd`](https://github.com/npm/npm/commit/be04bbdc52ebfc820cd939df2f7d79fe87067747) + [#7000](https://github.com/npm/npm/issues/7000) No longer install badly-named + manpage files, and log an error when trying to uninstall them. + ([@othiym23](https://github.com/othiym23)) +* [`6b7c5ec`](https://github.com/npm/npm/commit/6b7c5eca6b65e1247d0e51f6400cf2637ac880ce) + [#7011](https://github.com/npm/npm/issues/7011) Send auth for tarball fetches + for packages in `npm-shrinkwrap.json` from private registries. + ([@othiym23](https://github.com/othiym23)) +* [`9b9de06`](https://github.com/npm/npm/commit/9b9de06a99893b40aa23f0335726dec6df7979db) + `glob@4.3.2`: Better handling of trailing slashes. + ([@isaacs](https://github.com/isaacs)) +* [`030f3c7`](https://github.com/npm/npm/commit/030f3c7450b8ce124a19073bfbae0948a0a1a02c) + `semver@4.2.0`: Diffing between version strings. + ([@isaacs](https://github.com/isaacs)) + +### v2.1.16 (2014-12-22): + +* [`a4e4e33`](https://github.com/npm/npm/commit/a4e4e33edb35c68813f04bf42bdf933a6f727bcd) + [#6987](https://github.com/npm/npm/issues/6987) `read-installed@3.1.5`: fixed + a regression where a new / empty package would cause read-installed to throw. + ([@othiym23](https://github.com/othiym23) / + [@pgilad](https://github.com/pgilad)) + +### v2.1.15 (2014-12-18): + +* [`e5a2dee`](https://github.com/npm/npm/commit/e5a2dee47c74f26c56fee5998545b97497e830c8) + [#6951](https://github.com/npm/npm/issues/6951) `fs-vacuum@1.2.5`: Use + `path-is-inside` for better Windows normalization. + ([@othiym23](https://github.com/othiym23)) +* [`ac6167c`](https://github.com/npm/npm/commit/ac6167c2b9432939c57296f7ddd11ad5f8f918b2) + [#6955](https://github.com/npm/npm/issues/6955) Call `path.normalize` in + `lib/utils/gently-rm.js` for better Windows normalization. + ([@ben-page](https://github.com/ben-page)) +* [`c625d71`](https://github.com/npm/npm/commit/c625d714795e3b5badd847945e2401adfad5a196) + [#6964](https://github.com/npm/npm/issues/6964) Clarify CA configuration + docs. ([@jeffjo](https://github.com/jeffjo)) +* [`58b8cb5`](https://github.com/npm/npm/commit/58b8cb5cdf26a854358b7c2ab636572dba9bac16) + [#6950](https://github.com/npm/npm/issues/6950) Fix documentation typos. + ([@martinvd](https://github.com/martinvd)) +* [`7c1299d`](https://github.com/npm/npm/commit/7c1299d00538ea998684a1903a4091eafc63b7f1) + [#6909](https://github.com/npm/npm/issues/6909) Remove confusing mention of + rubygems `~>` semver operator. ([@mjtko](https://github.com/mjtko)) +* [`7dfdcc6`](https://github.com/npm/npm/commit/7dfdcc6debd8ef1fc52a2b508997d15887aad824) + [#6909](https://github.com/npm/npm/issues/6909) `semver@4.1.1`: Synchronize + documentation with PR [#6909](https://github.com/npm/npm/issues/6909) + ([@othiym23](https://github.com/othiym23)) +* [`adfddf3`](https://github.com/npm/npm/commit/adfddf3b682e0ae08e4b59d87c1b380dd651c572) + [#6925](https://github.com/npm/npm/issues/6925) Correct typo in + `doc/api/npm-ls.md` ([@oddurs](https://github.com/oddurs)) +* [`f5c534b`](https://github.com/npm/npm/commit/f5c534b711ab173129baf366c4f08d68f6117333) + [#6920](https://github.com/npm/npm/issues/6920) Remove recommendation to run + as root from `README.md`. + ([@robertkowalski](https://github.com/robertkowalski)) +* [`3ef4459`](https://github.com/npm/npm/commit/3ef445922cd39f25b992d91bd22c4d367882ea22) + [#6920](https://github.com/npm/npm/issues/6920) `npm-@googlegroups.com` has + gone the way of all things. That means it's gone. + ([@robertkowalski](https://github.com/robertkowalski)) + +### v2.1.14 (2014-12-13): + +* [`cf7aeae`](https://github.com/npm/npm/commit/cf7aeae3c3a24e48d3de4006fa082f0c6040922a) + [#6923](https://github.com/npm/npm/issues/6923) Overaggressive link update + for new website broke node-gyp. ([@othiym23](https://github.com/othiym23)) + +### v2.1.13 (2014-12-11): + +* [`cbb890e`](https://github.com/npm/npm/commit/cbb890eeacc0501ba1b8c6955f1c829c8af9f486) + [#6897](https://github.com/npm/npm/issues/6897) npm is a nice package manager + that runs server-side JavaScript. ([@othiym23](https://github.com/othiym23)) +* [`d9043c3`](https://github.com/npm/npm/commit/d9043c3b8d7450c3cb9ca795028c0e1c05377820) + [#6893](https://github.com/npm/npm/issues/6893) Remove erroneous docs about + preupdate / update / postupdate lifecycle scripts, which have never existed. + ([@devTristan](https://github.com/devTristan)) +* [`c5df4d0`](https://github.com/npm/npm/commit/c5df4d0d683cd3506808d1cd1acebff02a8b82db) + [#6884](https://github.com/npm/npm/issues/6884) Update npmjs.org to npmjs.com + in docs. ([@linclark](https://github.com/linclark)) +* [`cb6ff8d`](https://github.com/npm/npm/commit/cb6ff8dace1b439851701d4784d2d719c22ca7a7) + [#6879](https://github.com/npm/npm/issues/6879) npm version: Update + shrinkwrap post-check. ([@othiym23](https://github.com/othiym23)) +* [`2a340bd`](https://github.com/npm/npm/commit/2a340bdd548c6449468281e1444a032812bff677) + [#6868](https://github.com/npm/npm/issues/6868) Use magic numbers instead of + regexps to distinguish tarballs from other things. + ([@daxxog](https://github.com/daxxog)) +* [`f1c8bdb`](https://github.com/npm/npm/commit/f1c8bdb3f6b753d0600597e12346bdc3a34cb9c1) + [#6861](https://github.com/npm/npm/issues/6861) `npm-registry-client@4.0.5`: + Distinguish between error properties that are part of the response and error + strings that should be returned to the user. + ([@disrvptor](https://github.com/disrvptor)) +* [`d3a1b63`](https://github.com/npm/npm/commit/d3a1b6397fddef04b5198ca89d36d720aeb05eb6) + [#6762](https://github.com/npm/npm/issues/6762) Make `npm outdated` ignore + private packages. ([@KenanY](https://github.com/KenanY)) +* [`16d8542`](https://github.com/npm/npm/commit/16d854283ca5bcdb0cb2812fc5745d841652b952) + install.sh: Drop support for node < 0.8, remove engines bits. + ([@isaacs](https://github.com/isaacs)) +* [`b9c6046`](https://github.com/npm/npm/commit/b9c60466d5b713b1dc2947da14a5dfe42352e029) + `init-package-json@1.1.3`: ([@terinstock](https://github.com/terinstock)) + noticed that `init.license` configuration doesn't stick. Make sure that + dashed defaults don't trump dotted parameters. + ([@othiym23](https://github.com/othiym23)) +* [`b6d6acf`](https://github.com/npm/npm/commit/b6d6acfc02c8887f78067931babab8f7c5180fed) + `which@1.0.8`: No longer use graceful-fs for some reason. + ([@isaacs](https://github.com/isaacs)) +* [`d39f673`](https://github.com/npm/npm/commit/d39f673caf08a90fb2bb001d79c98062d2cd05f4) + `request@2.51.0`: Incorporate bug fixes. ([@nylen](https://github.com/nylen)) +* [`c7ad727`](https://github.com/npm/npm/commit/c7ad7279cc879930ec58ccc62fa642e621ecb65c) + `columnify@1.3.2`: Incorporate bug fixes. + ([@timoxley](https://github.com/timoxley)) + +### v2.1.12 (2014-12-04): + +* [`e5b1e44`](https://github.com/npm/npm/commit/e5b1e448bb4a9d6eae4ba0f67b1d3c2cea8ed383) + add alias verison=version ([@isaacs](https://github.com/isaacs)) +* [`5eed7bd`](https://github.com/npm/npm/commit/5eed7bddbd7bb92a44c4193c93e8529500c558e6) + `request@2.49.0` ([@nylen](https://github.com/nylen)) +* [`e72f81d`](https://github.com/npm/npm/commit/e72f81d8412540ae7d1e0edcc37c11bcb8169051) + `glob@4.3.1` / `minimatch@2.0.1` ([@isaacs](https://github.com/isaacs)) +* [`b8dcc36`](https://github.com/npm/npm/commit/b8dcc3637b5b71933b97162b7aff1b1a622c13e2) + `graceful-fs@3.0.5` ([@isaacs](https://github.com/isaacs)) + +### v2.1.11 (2014-11-27): + +* [`4861d28`](https://github.com/npm/npm/commit/4861d28ad0ebd959fe6bc15b9c9a50fcabe57f55) + `which@1.0.7`: License update. ([@isaacs](https://github.com/isaacs)) +* [`30a2ea8`](https://github.com/npm/npm/commit/30a2ea80c891d384b31a1cf28665bba4271915bd) + `ini@1.3.2`: License update. ([@isaacs](https://github.com/isaacs)) +* [`6a4ea05`](https://github.com/npm/npm/commit/6a4ea054f6ddf52fc58842ba2046564b04c5c0e2) + `fstream@1.0.3`: Propagate error events to downstream streams. + ([@gfxmonk](https://github.com/gfxmonk)) +* [`a558695`](https://github.com/npm/npm/commit/a5586954f1c18df7c96137e0a79f41a69e7a884e) + `tar@1.0.3`: Don't extract broken files, propagate `drain` event. + ([@gfxmonk](https://github.com/gfxmonk)) +* [`989624e`](https://github.com/npm/npm/commit/989624e8321f87734c1b1272fc2f646e7af1f81c) + [#6767](https://github.com/npm/npm/issues/6767) Actually pass parameters when + adding git repo to cach under Windows. + ([@othiym23](https://github.com/othiym23)) +* [`657af73`](https://github.com/npm/npm/commit/657af7308f7d6cd2f81389fcf0d762252acaf1ce) + [#6774](https://github.com/npm/npm/issues/6774) When verifying paths on + unbuild, resolve both source and target as symlinks. + ([@hokaccha](https://github.com/hokaccha)) +* [`fd19c40`](https://github.com/npm/npm/commit/fd19c4046414494f9647a6991c00f8406a939929) + [#6713](https://github.com/npm/npm/issues/6713) + `realize-package-specifier@1.3.0`: Make it so that `npm install foo@1` work + when a file named `1` exists. ([@iarna](https://github.com/iarna)) +* [`c8ac37a`](https://github.com/npm/npm/commit/c8ac37a470491b2ed28514536e2e198494638c79) + `npm-registry-client@4.0.4`: Fix regression in failed fetch retries. + ([@othiym23](https://github.com/othiym23)) + +### v2.1.10 (2014-11-20): + +* [`756f3d4`](https://github.com/npm/npm/commit/756f3d40fe18bc02bc93afe17016dfcc266c4b6b) + [#6735](https://github.com/npm/npm/issues/6735) Log "already built" messages + at info, not error. ([@smikes](https://github.com/smikes)) +* [`1b7330d`](https://github.com/npm/npm/commit/1b7330dafba3bbba171f74f1e58b261cb1b9301e) + [#6729](https://github.com/npm/npm/issues/6729) `npm-registry-client@4.0.3`: + GitHub won't redirect you through an HTML page to a compressed tarball if you + don't tell it you accept JSON responses. + ([@KenanY](https://github.com/KenanY)) +* [`d9c7857`](https://github.com/npm/npm/commit/d9c7857be02dacd274e55bf6d430d90d91509d53) + [#6506](https://github.com/npm/npm/issues/6506) + `readdir-scoped-modules@1.0.1`: Use `graceful-fs` so the whole dependency + tree gets read, even in case of `EMFILE`. + ([@sakana](https://github.com/sakana)) +* [`3a085be`](https://github.com/npm/npm/commit/3a085be158ace8f1e4395e69f8c102d3dea00c5f) + Grammar fix in docs. ([@icylace](https://github.com/icylace)) +* [`3f8e2ff`](https://github.com/npm/npm/commit/3f8e2ff8342d327d6f1375437ecf4bd945dc360f) + Did you know that npm has a Code of Conduct? Add a link to it to + CONTRIBUTING.md. ([@isaacs](https://github.com/isaacs)) +* [`319ccf6`](https://github.com/npm/npm/commit/319ccf633289e06e57a80d74c39706899348674c) + `glob@4.2.1`: Performance tuning. ([@isaacs](https://github.com/isaacs)) +* [`835f046`](https://github.com/npm/npm/commit/835f046e7568c33e81a0b48c84cff965024d8b8a) + `readable-stream@1.0.33`: Bug fixes. ([@rvagg](https://github.com/rvagg)) +* [`a34c38d`](https://github.com/npm/npm/commit/a34c38d0732fb246d11f2a776d2ad0d8db654338) + `request@2.48.0`: Bug fixes. ([@nylen](https://github.com/nylen)) + +### v2.1.9 (2014-11-13): + +* [`eed9f61`](https://github.com/npm/npm/commit/eed9f6101963364acffc59d7194fc1655180e80c) + [#6542](https://github.com/npm/npm/issues/6542) `npm owner add / remove` now + works properly with scoped packages + ([@othiym23](https://github.com/othiym23)) +* [`cd25973`](https://github.com/npm/npm/commit/cd25973825aa5315b7ebf26227bd32bd6be5533f) + [#6548](https://github.com/npm/npm/issues/6548) using sudo won't leave the + cache's git directories with bad permissions + ([@othiym23](https://github.com/othiym23)) +* [`56930ab`](https://github.com/npm/npm/commit/56930abcae6a6ea41f1b75e23765c61259cef2dd) + fixed irregular `npm cache ls` output (yes, that's a thing) + ([@othiym23](https://github.com/othiym23)) +* [`740f483`](https://github.com/npm/npm/commit/740f483db6ec872b453065842da080a646c3600a) + legacy tests no longer poison user's own cache + ([@othiym23](https://github.com/othiym23)) +* [`ce37f14`](https://github.com/npm/npm/commit/ce37f142a487023747a9086335618638ebca4372) + [#6169](https://github.com/npm/npm/issues/6169) add terse output similar to + `npm publish / unpublish` for `npm owner add / remove` + ([@KenanY](https://github.com/KenanY)) +* [`bf2b8a6`](https://github.com/npm/npm/commit/bf2b8a66d7188900bf1e957c052b893948b67e0e) + [#6680](https://github.com/npm/npm/issues/6680) pass auth credentials to + registry when downloading search index + ([@terinjokes](https://github.com/terinjokes)) +* [`00ecb61`](https://github.com/npm/npm/commit/00ecb6101422984696929f602e14da186f9f669c) + [#6400](https://github.com/npm/npm/issues/6400) `.npmignore` is respected for + git repos on cache / pack / publish + ([@othiym23](https://github.com/othiym23)) +* [`d1b3a9e`](https://github.com/npm/npm/commit/d1b3a9ec5e2b6d52765ba5da5afb08dba41c49c1) + [#6311](https://github.com/npm/npm/issues/6311) `npm ls -l --depth=0` no + longer prints phantom duplicate children + ([@othiym23](https://github.com/othiym23)) +* [`07c5f34`](https://github.com/npm/npm/commit/07c5f34e45c9b18c348ed53b5763b1c5d4325740) + [#6690](https://github.com/npm/npm/issues/6690) `uid-number@0.0.6`: clarify + confusing names in error-handling code ([@isaacs](https://github.com/isaacs)) +* [`1ac9be9`](https://github.com/npm/npm/commit/1ac9be9f3bab816211d72d13cb05b5587878a586) + [#6684](https://github.com/npm/npm/issues/6684) `npm init`: don't report + write if canceled ([@smikes](https://github.com/smikes)) +* [`7bb207d`](https://github.com/npm/npm/commit/7bb207d1d6592a9cffc986871e4b671575363c2f) + [#5754](https://github.com/npm/npm/issues/5754) never remove app directories + on failed install ([@othiym23](https://github.com/othiym23)) +* [`705ce60`](https://github.com/npm/npm/commit/705ce601e7b9c5428353e02ebb30cb76c1991fdd) + [#5754](https://github.com/npm/npm/issues/5754) `fs-vacuum@1.2.2`: don't + throw when another fs task writes to a directory being vacuumed + ([@othiym23](https://github.com/othiym23)) +* [`1b650f4`](https://github.com/npm/npm/commit/1b650f4f217c413a2ffb96e1701beb5aa67a0de2) + [#6255](https://github.com/npm/npm/issues/6255) ensure that order credentials + are used from `.npmrc` doesn't regress + ([@othiym23](https://github.com/othiym23)) +* [`9bb2c34`](https://github.com/npm/npm/commit/9bb2c3435cedef40b45d3e9bd7a8edfb8cbe7209) + [#6644](https://github.com/npm/npm/issues/6644) `warn` rather than `info` on + fetch failure ([@othiym23](https://github.com/othiym23)) +* [`e34a7b6`](https://github.com/npm/npm/commit/e34a7b6b7371b1893a062f627ae8e168546d7264) + [#6524](https://github.com/npm/npm/issues/6524) `npm-registry-client@4.0.2`: + proxy via `request` more transparently + ([@othiym23](https://github.com/othiym23)) +* [`40afd6a`](https://github.com/npm/npm/commit/40afd6aaf34c11a10e80ec87b115fb2bb907e3bd) + [#6524](https://github.com/npm/npm/issues/6524) push proxy settings into + `request` ([@tauren](https://github.com/tauren)) + +### v2.1.8 (2014-11-06): + +* [`063d843`](https://github.com/npm/npm/commit/063d843965f9f0bfa5732d7c2d6f5aa37a8260a2) + npm version now updates version in npm-shrinkwrap.json + ([@faiq](https://github.com/faiq)) +* [`3f53cd7`](https://github.com/npm/npm/commit/3f53cd795f8a600e904a97f215ba5b5a9989d9dd) + [#6559](https://github.com/npm/npm/issues/6559) save local dependencies in + npm-shrinkwrap.json ([@Torsph](https://github.com/Torsph)) +* [`e249262`](https://github.com/npm/npm/commit/e24926268b2d2220910bc81cce6d3b2e08d94eb1) + npm-faq.md: mention scoped pkgs in namespace Q + ([@smikes](https://github.com/smikes)) +* [`6b06ec4`](https://github.com/npm/npm/commit/6b06ec4ef5da490bdca1512fa7f12490245c192b) + [#6642](https://github.com/npm/npm/issues/6642) `init-package-json@1.1.2`: + Handle both `init-author-name` and `init.author.name`. + ([@othiym23](https://github.com/othiym23)) +* [`9cb334c`](https://github.com/npm/npm/commit/9cb334c8a895a55461aac18791babae779309a0e) + [#6409](https://github.com/npm/npm/issues/6409) document commit-ish with + GitHub URLs ([@smikes](https://github.com/smikes)) +* [`0aefae9`](https://github.com/npm/npm/commit/0aefae9bc2598a4b7a3ee7bb2306b42e3e12bb28) + [#2959](https://github.com/npm/npm/issues/2959) npm run no longer fails + silently ([@flipside](https://github.com/flipside)) +* [`e007a2c`](https://github.com/npm/npm/commit/e007a2c1e4fac1759fa61ac6e78c6b83b2417d11) + [#3908](https://github.com/npm/npm/issues/3908) include command in spawn + errors ([@smikes](https://github.com/smikes)) + +### v2.1.7 (2014-10-30): + +* [`6750b05`](https://github.com/npm/npm/commit/6750b05dcba20d8990a672957ec56c48f97e241a) + [#6398](https://github.com/npm/npm/issues/6398) `npm-registry-client@4.0.0`: + consistent API, handle relative registry paths, use auth more consistently + ([@othiym23](https://github.com/othiym23)) +* [`7719cfd`](https://github.com/npm/npm/commit/7719cfdd8b204dfeccc41289707ea58b4d608905) + [#6560](https://github.com/npm/npm/issues/6560) use new npm-registry-client + API ([@othiym23](https://github.com/othiym23)) +* [`ed61971`](https://github.com/npm/npm/commit/ed619714c93718b6c1922b8c286f4b6cd2b97c80) + move caching of search metadata from `npm-registry-client` to npm itself + ([@othiym23](https://github.com/othiym23)) +* [`3457041`](https://github.com/npm/npm/commit/34570414cd528debeb22943873440594d7f47abf) + handle caching of metadata independently from `npm-registry-client` + ([@othiym23](https://github.com/othiym23)) +* [`20a331c`](https://github.com/npm/npm/commit/20a331ced6a52faac6ec242e3ffdf28bcd447c40) + [#6538](https://github.com/npm/npm/issues/6538) map registry URLs to + credentials more safely ([@indexzero](https://github.com/indexzero)) +* [`4072e97`](https://github.com/npm/npm/commit/4072e97856bf1e7affb38333d080c172767eea27) + [#6589](https://github.com/npm/npm/issues/6589) `npm-registry-client@4.0.1`: + allow publishing of packages with names identical to built-in Node modules + ([@feross](https://github.com/feross)) +* [`254f0e4`](https://github.com/npm/npm/commit/254f0e4adaf2c56e9df25c7343c43b0b0804a3b5) + `tar@1.0.2`: better error-handling ([@runk](https://github.com/runk)) +* [`73ee2aa`](https://github.com/npm/npm/commit/73ee2aa4f1a47e43fe7cf4317a5446875f7521fa) + `request@2.47.0` ([@mikeal](https://github.com/mikeal)) + ### v2.1.6 (2014-10-23): * [`681b398`](https://github.com/npm/npm/commit/681b3987a18e7aba0aaf78c91a23c7cc0ab82ce8) diff --git a/deps/npm/CONTRIBUTING.md b/deps/npm/CONTRIBUTING.md index 0a5b53a125c..73049a495e1 100644 --- a/deps/npm/CONTRIBUTING.md +++ b/deps/npm/CONTRIBUTING.md @@ -7,3 +7,6 @@ issues](https://github.com/npm/npm/search?q=Similar%20issues&type=Issues). * Ensure your new issue conforms to the [Contributing Guidelines](https://github.com/npm/npm/wiki/Contributing-Guidelines). + +Participation in this open source project is subject to the [npm Code +of Conduct](http://www.npmjs.com/policies/conduct). diff --git a/deps/npm/README.md b/deps/npm/README.md index ecb3f29e291..0a4301e3b4f 100644 --- a/deps/npm/README.md +++ b/deps/npm/README.md @@ -1,4 +1,4 @@ -npm(1) -- node package manager +npm(1) -- a JavaScript package manager ============================== [![Build Status](https://img.shields.io/travis/npm/npm/master.svg)](https://travis-ci.org/npm/npm) ## SYNOPSIS @@ -36,11 +36,11 @@ paths, etc.) then read on. ## Fancy Install (Unix) There's a pretty robust install script at -. You can download that and run it. +. You can download that and run it. Here's an example using curl: - curl -L https://npmjs.org/install.sh | sh + curl -L https://npmjs.com/install.sh | sh ### Slightly Fancier @@ -62,11 +62,16 @@ arbitrary config keys using the `./configure --key=val ...`, and then run npm commands by doing `node cli.js `. (This is helpful for testing, or running stuff without actually installing npm itself.) -## Fancy Windows Install +## Windows Install or Upgrade -You can download a zip file from , and unpack it +You can download a zip file from , and unpack it in the same folder where node.exe lives. +The latest version in a zip file is 1.4.12. To upgrade to npm 2, follow the +Windows upgrade instructions in the npm Troubleshooting Guide: + + + If that's not fancy enough for you, then you can fetch the code with git, and mess with it directly. @@ -74,31 +79,6 @@ git, and mess with it directly. No. -## Permissions when Using npm to Install Other Stuff - -**tl;dr** - -* Use `sudo` for greater safety. Or don't, if you prefer not to. -* npm will downgrade permissions if it's root before running any build - scripts that package authors specified. - -### More details... - -As of version 0.3, it is recommended to run npm as root. -This allows npm to change the user identifier to the `nobody` user prior -to running any package build or test commands. - -If you are not the root user, or if you are on a platform that does not -support uid switching, then npm will not attempt to change the userid. - -If you would like to ensure that npm **always** runs scripts as the -"nobody" user, and have it fail if it cannot downgrade permissions, then -set the following configuration param: - - npm config set unsafe-perm false - -This will prevent running in unsafe mode, even as non-root users. - ## Uninstalling So sad to see you go. @@ -173,13 +153,13 @@ help config` to learn about all the options you can set there. ## More Docs -Check out the [docs](https://www.npmjs.org/doc/), -especially the [faq](https://www.npmjs.org/doc/faq.html). +Check out the [docs](https://docs.npmjs.com/), +especially the [faq](https://docs.npmjs.com/misc/faq). You can use the `npm help` command to read any of them. If you're a developer, and you want to use npm to publish your program, -you should [read this](https://www.npmjs.org/doc/developers.html) +you should [read this](https://docs.npmjs.com/misc/developers) ## Legal Stuff @@ -199,7 +179,7 @@ specific purpose, or lack of malice in any given npm package. If you have a complaint about a package in the public npm registry, and cannot [resolve it with the package -owner](https://www.npmjs.org/doc/misc/npm-disputes.html), please email +owner](https://docs.npmjs.com/misc/disputes), please email and explain the situation. Any data published to The npm Registry (including user account @@ -228,8 +208,6 @@ When you find issues, please report them: * web: -* email: - Be sure to include *all* of the output from the npm command that didn't work as expected. The `npm-debug.log` file is also helpful to provide. diff --git a/deps/npm/doc/api/npm-ls.md b/deps/npm/doc/api/npm-ls.md index ed890ff1469..5de78f2104a 100644 --- a/deps/npm/doc/api/npm-ls.md +++ b/deps/npm/doc/api/npm-ls.md @@ -52,5 +52,5 @@ List packages in the global install prefix instead of in the current project. Note, if parseable is set or long isn't set, then duplicates will be trimmed. -This means that if a submodule a same dependency as a parent module, then the +This means that if a submodule has the same dependency as a parent module, then the dependency will only be output once. diff --git a/deps/npm/doc/api/npm-restart.md b/deps/npm/doc/api/npm-restart.md index c40704438e7..606c41bf850 100644 --- a/deps/npm/doc/api/npm-restart.md +++ b/deps/npm/doc/api/npm-restart.md @@ -1,5 +1,5 @@ -npm-restart(3) -- Start a package -================================= +npm-restart(3) -- Restart a package +=================================== ## SYNOPSIS @@ -7,14 +7,33 @@ npm-restart(3) -- Start a package ## DESCRIPTION -This runs a package's "restart" script, if one was provided. -Otherwise it runs package's "stop" script, if one was provided, and then -the "start" script. +This restarts a package (or multiple packages). + +This runs a package's "stop", "restart", and "start" scripts, and associated +pre- and post- scripts, in the order given below: + +1. prerestart +2. prestop +3. stop +4. poststop +5. restart +6. prestart +7. start +8. poststart +9. postrestart If no version is specified, then it restarts the "active" version. -npm can run tests on multiple packages. Just specify multiple packages -in the `packages` parameter. +npm can restart multiple packages. Just specify multiple packages in +the `packages` parameter. + +## NOTE + +Note that the "restart" script is run **in addition to** the "stop" +and "start" scripts, not instead of them. + +This is the behavior as of `npm` major version 2. A change in this +behavior will be accompanied by an increase in major version number ## SEE ALSO diff --git a/deps/npm/doc/api/npm-start.md b/deps/npm/doc/api/npm-start.md index 74491146aac..deeea90d976 100644 --- a/deps/npm/doc/api/npm-start.md +++ b/deps/npm/doc/api/npm-start.md @@ -9,5 +9,5 @@ npm-start(3) -- Start a package This runs a package's "start" script, if one was provided. -npm can run tests on multiple packages. Just specify multiple packages -in the `packages` parameter. +npm can start multiple packages. Just specify multiple packages in the +`packages` parameter. diff --git a/deps/npm/doc/api/npm-tag.md b/deps/npm/doc/api/npm-tag.md index b5a3d7faa6b..9cda0c407de 100644 --- a/deps/npm/doc/api/npm-tag.md +++ b/deps/npm/doc/api/npm-tag.md @@ -18,6 +18,6 @@ is the package name and version is the version number (much like installing a specific version). The second element is the name of the tag to tag this version with. If this -parameter is missing or falsey (empty), the default froom the config will be +parameter is missing or falsey (empty), the default from the config will be used. For more information about how to set this config, check `man 3 npm-config` for programmatic usage or `man npm-config` for cli usage. diff --git a/deps/npm/doc/api/npm.md b/deps/npm/doc/api/npm.md index 4b4dfcaddd2..611292ec946 100644 --- a/deps/npm/doc/api/npm.md +++ b/deps/npm/doc/api/npm.md @@ -1,5 +1,5 @@ -npm(3) -- node package manager -============================== +npm(3) -- javascript package manager +==================================== ## SYNOPSIS diff --git a/deps/npm/doc/cli/npm-adduser.md b/deps/npm/doc/cli/npm-adduser.md index 54e785b07fe..80d0f9855b2 100644 --- a/deps/npm/doc/cli/npm-adduser.md +++ b/deps/npm/doc/cli/npm-adduser.md @@ -13,13 +13,14 @@ the default registry will be used (see `npm-config(7)`). The username, password, and email are read in from prompts. -You may use this command to change your email address, but not username -or password. +To reset your password, go to -To reset your password, go to +To change your email address, go to You may use this command multiple times with the same user account to -authorize on a new machine. +authorize on a new machine. When authenticating on a new machine, +the username, password and email address must all match with +your existing record. `npm login` is an alias to `adduser` and behaves exactly the same way. @@ -57,7 +58,7 @@ registries. Can be used with `--registry` and / or `--scope`, e.g. This will ensure that all requests to that registry (including for tarballs) include an authorization header. See `always-auth` in `npm-config(7)` for more -details on always-auth. Registry-specific configuaration of `always-auth` takes +details on always-auth. Registry-specific configuration of `always-auth` takes precedence over any global configuration. ## SEE ALSO diff --git a/deps/npm/doc/cli/npm-link.md b/deps/npm/doc/cli/npm-link.md index a6c27479007..786ad815dc3 100644 --- a/deps/npm/doc/cli/npm-link.md +++ b/deps/npm/doc/cli/npm-link.md @@ -22,7 +22,7 @@ Note that `package-name` is taken from `package.json`, not from directory name. The package name can be optionally prefixed with a scope. See `npm-scope(7)`. -The scope must by preceded by an @-symbol and followed by a slash. +The scope must be preceded by an @-symbol and followed by a slash. When creating tarballs for `npm publish`, the linked packages are "snapshotted" to their current state by resolving the symbolic links. diff --git a/deps/npm/doc/cli/npm-restart.md b/deps/npm/doc/cli/npm-restart.md index 6d594a26c1b..1aa0c57a682 100644 --- a/deps/npm/doc/cli/npm-restart.md +++ b/deps/npm/doc/cli/npm-restart.md @@ -1,5 +1,5 @@ -npm-restart(1) -- Start a package -================================= +npm-restart(1) -- Restart a package +=================================== ## SYNOPSIS @@ -7,8 +7,28 @@ npm-restart(1) -- Start a package ## DESCRIPTION -This runs a package's "restart" script, if one was provided. Otherwise it runs -package's "stop" script, if one was provided, and then the "start" script. +This restarts a package. + +This runs a package's "stop", "restart", and "start" scripts, and associated +pre- and post- scripts, in the order given below: + +1. prerestart +2. prestop +3. stop +4. poststop +5. restart +6. prestart +7. start +8. poststart +9. postrestart + +## NOTE + +Note that the "restart" script is run **in addition to** the "stop" +and "start" scripts, not instead of them. + +This is the behavior as of `npm` major version 2. A change in this +behavior will be accompanied by an increase in major version number ## SEE ALSO @@ -17,3 +37,4 @@ package's "stop" script, if one was provided, and then the "start" script. * npm-test(1) * npm-start(1) * npm-stop(1) +* npm-restart(3) \ No newline at end of file diff --git a/deps/npm/doc/cli/npm-run-script.md b/deps/npm/doc/cli/npm-run-script.md index 74f416e0bec..c218c845f53 100644 --- a/deps/npm/doc/cli/npm-run-script.md +++ b/deps/npm/doc/cli/npm-run-script.md @@ -11,10 +11,13 @@ npm-run-script(1) -- Run arbitrary package scripts This runs an arbitrary command from a package's `"scripts"` object. If no package name is provided, it will search for a `package.json` in the current folder and use its `"scripts"` object. If no `"command"` -is provided, it will list the available top level scripts. +is provided, it will list the available top level scripts. The `env` command +can be used to list environment variables that will be available to the script +at runtime. If an "env" command is defined in your package it will have +precedence instead. -It is used by the test, start, restart, and stop commands, but can be -called directly, as well. +`run[-script]` is used by the test, start, restart, and stop commands, but can +be called directly, as well. As of [`npm@2.0.0`](http://blog.npmjs.org/post/98131109725/npm-2-0-0), you can use custom arguments when executing scripts. The special option `--` is used by diff --git a/deps/npm/doc/cli/npm-tag.md b/deps/npm/doc/cli/npm-tag.md index 3e1d1051bd0..28a1c9334fb 100644 --- a/deps/npm/doc/cli/npm-tag.md +++ b/deps/npm/doc/cli/npm-tag.md @@ -23,6 +23,29 @@ This also applies to `npm dedupe`. Publishing a package always sets the "latest" tag to the published version. +## PURPOSE + +Tags can be used to provide an alias instead of version numbers. For +example, `npm` currently uses the tag "next" to identify the upcoming +version, and the tag "latest" to identify the current version. + +A project might choose to have multiple streams of development, e.g., +"stable", "canary". + +## CAVEATS + +Tags must share a namespace with version numbers, because they are +specified in the same slot: `npm install @` vs `npm +install @`. + +Tags that can be interpreted as valid semver ranges will be +rejected. For example, `v1.4` cannot be used as a tag, because it is +interpreted by semver as `>=1.4.0 <1.5.0`. See +. + +The simplest way to avoid semver problems with tags is to use tags +that do not begin with a number or the letter `v`. + ## SEE ALSO * npm-publish(1) @@ -31,4 +54,5 @@ Publishing a package always sets the "latest" tag to the published version. * npm-registry(7) * npm-config(1) * npm-config(7) +* npm-tag(3) * npmrc(5) diff --git a/deps/npm/doc/cli/npm-update.md b/deps/npm/doc/cli/npm-update.md index a53d2945928..2aa0f366bc2 100644 --- a/deps/npm/doc/cli/npm-update.md +++ b/deps/npm/doc/cli/npm-update.md @@ -10,7 +10,9 @@ npm-update(1) -- Update a package This command will update all the packages listed to the latest version (specified by the `tag` config). -It will also install missing packages. +It will also install missing packages. As with all commands that install +packages, the `--dev` flag will cause `devDependencies` to be processed +as well. If the `-g` flag is specified, this command will update globally installed packages. diff --git a/deps/npm/doc/cli/npm-version.md b/deps/npm/doc/cli/npm-version.md index b30b6a3a214..69f3581bfcb 100644 --- a/deps/npm/doc/cli/npm-version.md +++ b/deps/npm/doc/cli/npm-version.md @@ -8,7 +8,7 @@ npm-version(1) -- Bump a package version ## DESCRIPTION Run this in a package directory to bump the version and write the new -data back to the package.json file. +data back to `package.json` and, if present, `npm-shrinkwrap.json`. The `newversion` argument should be a valid semver string, *or* a valid second argument to semver.inc (one of "patch", "minor", "major", @@ -38,6 +38,7 @@ in your git config for this to work properly. For example: Enter passphrase: + ## SEE ALSO * npm-init(1) diff --git a/deps/npm/doc/cli/npm-view.md b/deps/npm/doc/cli/npm-view.md index 8f52a85a92f..683ed09f46f 100644 --- a/deps/npm/doc/cli/npm-view.md +++ b/deps/npm/doc/cli/npm-view.md @@ -24,7 +24,7 @@ For example, to show the dependencies of the `ronn` package at version npm view ronn@0.3.5 dependencies -You can view child field by separating them with a period. +You can view child fields by separating them with a period. To view the git repository URL for the latest version of npm, you could do this: diff --git a/deps/npm/doc/cli/npm.md b/deps/npm/doc/cli/npm.md index ad16d419e8b..331a03577b2 100644 --- a/deps/npm/doc/cli/npm.md +++ b/deps/npm/doc/cli/npm.md @@ -1,5 +1,5 @@ -npm(1) -- node package manager -============================== +npm(1) -- javascript package manager +==================================== ## SYNOPSIS diff --git a/deps/npm/doc/files/npmrc.md b/deps/npm/doc/files/npmrc.md index ba57a6f2c33..a3eb4389f4e 100644 --- a/deps/npm/doc/files/npmrc.md +++ b/deps/npm/doc/files/npmrc.md @@ -30,6 +30,12 @@ Each of these files is loaded, and config options are resolved in priority order. For example, a setting in the userconfig file would override the setting in the globalconfig file. +Array values are specified by adding "[]" after the key name. For +example: + + key[] = "first value" + key[] = "second value" + ### Per-project config file When working locally in a project, a `.npmrc` file in the root of the diff --git a/deps/npm/doc/files/package.json.md b/deps/npm/doc/files/package.json.md index 1138bc2749e..1a54ec06b3c 100644 --- a/deps/npm/doc/files/package.json.md +++ b/deps/npm/doc/files/package.json.md @@ -28,7 +28,7 @@ The name is what your thing is called. Some tips: * The name will probably be passed as an argument to require(), so it should be something short, but also reasonably descriptive. * You may want to check the npm registry to see if there's something by that name - already, before you get too attached to it. http://registry.npmjs.org/ + already, before you get too attached to it. A name can be optionally prefixed by a scope, e.g. `@myorg/mypackage`. See `npm-scope(7)` for more detail. @@ -154,12 +154,12 @@ command name to local file name. On install, npm will symlink that file into installs. -For example, npm has this: +For example, myapp could have this: - { "bin" : { "npm" : "./cli.js" } } + { "bin" : { "myapp" : "./cli.js" } } -So, when you install npm, it'll create a symlink from the `cli.js` script to -`/usr/local/bin/npm`. +So, when you install myapp, it'll create a symlink from the `cli.js` script to +`/usr/local/bin/myapp`. If you have a single executable, and its name should be the name of the package, then you can just supply it as a string. For example: @@ -253,7 +253,7 @@ Put example scripts in here. Someday, it might be exposed in some clever way. ## repository Specify the place where your code lives. This is helpful for people who -want to contribute. If the git repo is on github, then the `npm docs` +want to contribute. If the git repo is on GitHub, then the `npm docs` command will be able to find you. Do it like this: @@ -366,13 +366,16 @@ an argument to `git checkout`. The default is `master`. ## GitHub URLs -As of version 1.1.65, you can refer to GitHub urls as just "foo": "user/foo-project". For example: +As of version 1.1.65, you can refer to GitHub urls as just "foo": +"user/foo-project". Just as with git URLs, a `commit-ish` suffix can be +included. For example: { "name": "foo", "version": "0.0.0", "dependencies": { - "express": "visionmedia/express" + "express": "visionmedia/express", + "mocha": "visionmedia/mocha#4727d357ea" } } @@ -442,7 +445,7 @@ run this script as well, so that you can test it easily. In some cases, you want to express the compatibility of your package with an host tool or library, while not necessarily doing a `require` of this host. -This is usually refered to as a *plugin*. Notably, your module may be exposing +This is usually referred to as a *plugin*. Notably, your module may be exposing a specific interface, expected and specified by the host documentation. For example: diff --git a/deps/npm/doc/misc/npm-coding-style.md b/deps/npm/doc/misc/npm-coding-style.md index 80609f4f2fe..7dd7ad556de 100644 --- a/deps/npm/doc/misc/npm-coding-style.md +++ b/deps/npm/doc/misc/npm-coding-style.md @@ -10,7 +10,7 @@ designed to reduce visual clutter and make bugs more apparent. If you want to contribute to npm (which is very encouraged), you should make your code conform to npm's style. -Note: this concerns npm's code not the specific packages at npmjs.org +Note: this concerns npm's code not the specific packages that you can download from the npm registry. ## Line Length @@ -21,7 +21,7 @@ statements onto multiple lines. ## Indentation Two-spaces. Tabs are better, but they look like hell in web browsers -(and on github), and node uses 2 spaces, so that's that. +(and on GitHub), and node uses 2 spaces, so that's that. Configure your editor appropriately. diff --git a/deps/npm/doc/misc/npm-config.md b/deps/npm/doc/misc/npm-config.md index 6e7d995dd8e..7aaaffb8d6b 100644 --- a/deps/npm/doc/misc/npm-config.md +++ b/deps/npm/doc/misc/npm-config.md @@ -137,14 +137,22 @@ The browser that is called by the `npm docs` command to open websites. ### ca * Default: The npm CA certificate -* Type: String or null +* Type: String, Array or null The Certificate Authority signing certificate that is trusted for SSL -connections to the registry. +connections to the registry. Values should be in PEM format with newlines +replaced by the string "\n". For example: + + ca="-----BEGIN CERTIFICATE-----\nXXXX\nXXXX\n-----END CERTIFICATE-----" Set to `null` to only allow "known" registrars, or to a specific CA cert to trust only that specific signing authority. +Multiple CAs can be trusted by specifying an array of certificates: + + ca[]="..." + ca[]="..." + See also the `strict-ssl` config. ### cafile @@ -361,11 +369,12 @@ The string that starts all the debugging log output. ### https-proxy -* Default: the `HTTPS_PROXY` or `https_proxy` or `HTTP_PROXY` or - `http_proxy` environment variables. +* Default: null * Type: url -A proxy to use for outgoing https requests. +A proxy to use for outgoing https requests. If the `HTTPS_PROXY` or +`https_proxy` or `HTTP_PROXY` or `http_proxy` environment variables are set, +proxy settings will be honored by the underlying `request` library. ### ignore-scripts @@ -577,10 +586,12 @@ this as true. ### proxy -* Default: `HTTP_PROXY` or `http_proxy` environment variable, or null +* Default: null * Type: url -A proxy to use for outgoing http requests. +A proxy to use for outgoing http requests. If the `HTTP_PROXY` or +`http_proxy` environment variables are set, proxy settings will be +honored by the underlying `request` library. ### rebuild-bundle @@ -818,7 +829,7 @@ The location of user-level configuration settings. ### umask * Default: 022 -* Type: Octal numeric string +* Type: Octal numeric string in range 0000..0777 (0..511) The "umask" value to use when setting the file creation mode on files and folders. diff --git a/deps/npm/doc/misc/npm-developers.md b/deps/npm/doc/misc/npm-developers.md index f6ea01176fa..2b025034f85 100644 --- a/deps/npm/doc/misc/npm-developers.md +++ b/deps/npm/doc/misc/npm-developers.md @@ -102,6 +102,14 @@ ignore the stuff matched by the `.gitignore` file. If you *want* to include something that is excluded by your `.gitignore` file, you can create an empty `.npmignore` file to override it. +`.npmignore` files follow the [same pattern rules](http://git-scm.com/book/en/v2/Git-Basics-Recording-Changes-to-the-Repository#Ignoring-Files) +as `.gitignore` files: + +* Blank lines or lines starting with `#` are ignored. +* Standard glob patterns work. +* You can end patterns with a forward slash `/` to specify a directory. +* You can negate a pattern by starting it with an exclamation point `!`. + By default, the following paths and files are ignored, so there's no need to add them to `.npmignore` explicitly: diff --git a/deps/npm/doc/misc/npm-faq.md b/deps/npm/doc/misc/npm-faq.md index 72891271f95..176effc4e42 100644 --- a/deps/npm/doc/misc/npm-faq.md +++ b/deps/npm/doc/misc/npm-faq.md @@ -3,7 +3,7 @@ npm-faq(7) -- Frequently Asked Questions ## Where can I find these docs in HTML? -, or run: +, or run: npm config set viewer browser @@ -80,7 +80,7 @@ Usually, no. Allow npm to resolve dependencies for your packages. For packages you **deploy**, such as websites and apps, you should use npm shrinkwrap to lock down your full dependency tree: -https://www.npmjs.org/doc/cli/npm-shrinkwrap.html + If you are paranoid about depending on the npm ecosystem, you should run a private npm mirror or a private cache. @@ -147,7 +147,7 @@ command.) In those cases, you can do this: - curl https://www.npmjs.org/install.sh | sh + curl https://www.npmjs.com/install.sh | sh ## What is a `package`? @@ -307,7 +307,7 @@ See `npm-registry(7)`. ## I forgot my password, and can't publish. How do I reset it? -Go to . +Go to . ## I get ECONNREFUSED a lot. What's up? @@ -327,13 +327,38 @@ on Freenode IRC. ## Why no namespaces? -Please see this discussion: +npm has only one global namespace. If you want to namespace your own packages, +you may: simply use the `-` character to separate the names. npm is a mostly +anarchic system. There is not sufficient need to impose namespace rules on +everyone. -tl;dr - It doesn't actually make things better, and can make them worse. +As of 2.0, npm supports scoped packages, which allow you to publish a group of +related modules without worrying about name collisions. -If you want to namespace your own packages, you may: simply use the -`-` character to separate the names. npm is a mostly anarchic system. -There is not sufficient need to impose namespace rules on everyone. +Every npm user owns the scope associated with their username. For example, the +user named `npm` owns the scope `@npm`. Scoped packages are published inside a +scope by naming them as if they were files under the scope directory, e.g., by +setting `name` in `package.json` to `@npm/npm`. + +Scoped packages can coexist with public npm packages in a private npm registry. +At present (2014-11-04) scoped packages may NOT be published to the public npm +registry. + +Unscoped packages can only depend on other unscoped packages. Scoped packages +can depend on packages from their own scope, a different scope, or the public +registry (unscoped). + +For the current documentation of scoped packages, see + + +References: + +1. For the reasoning behind the "one global namespace", please see this + discussion: (TL;DR: It doesn't + actually make things better, and can make them worse.) + +2. For the pre-implementation discussion of the scoped package feature, see + this discussion: ## Who does npm? @@ -341,7 +366,7 @@ npm was originally written by Isaac Z. Schlueter, and many others have contributed to it, some of them quite substantially. The npm open source project, The npm Registry, and [the community -website](https://www.npmjs.org) are maintained and operated by the +website](https://www.npmjs.com) are maintained and operated by the good folks at [npm, Inc.](http://www.npmjs.com) ## I have a question or request not addressed here. Where should I put it? diff --git a/deps/npm/doc/misc/npm-index.md b/deps/npm/doc/misc/npm-index.md index 9c804bf802c..96c62cced61 100644 --- a/deps/npm/doc/misc/npm-index.md +++ b/deps/npm/doc/misc/npm-index.md @@ -3,7 +3,7 @@ npm-index(7) -- Index of all npm documentation ### README(1) -node package manager +a JavaScript package manager ## Command Line Documentation @@ -11,7 +11,7 @@ Using npm on the command line ### npm(1) -node package manager +javascript package manager ### npm-adduser(1) @@ -123,7 +123,7 @@ Open package repository page in the browser ### npm-restart(1) -Start a package +Restart a package ### npm-rm(1) @@ -199,7 +199,7 @@ Using npm in your Node programs ### npm(3) -node package manager +javascript package manager ### npm-bin(3) @@ -295,7 +295,7 @@ Open package repository page in the browser ### npm-restart(3) -Start a package +Restart a package ### npm-root(3) diff --git a/deps/npm/doc/misc/npm-registry.md b/deps/npm/doc/misc/npm-registry.md index 42cec59448a..b0487f6df9d 100644 --- a/deps/npm/doc/misc/npm-registry.md +++ b/deps/npm/doc/misc/npm-registry.md @@ -57,7 +57,7 @@ effectively implement the entire CouchDB API anyway. ## Is there a website or something to see package docs and such? -Yes, head over to +Yes, head over to ## SEE ALSO diff --git a/deps/npm/doc/misc/npm-scripts.md b/deps/npm/doc/misc/npm-scripts.md index 054886b4d54..3be4af377f2 100644 --- a/deps/npm/doc/misc/npm-scripts.md +++ b/deps/npm/doc/misc/npm-scripts.md @@ -19,10 +19,6 @@ following scripts: Run BEFORE the package is uninstalled. * postuninstall: Run AFTER the package is uninstalled. -* preupdate: - Run BEFORE the package is updated with the update command. -* update, postupdate: - Run AFTER the package is updated with the update command. * pretest, test, posttest: Run by the `npm test` command. * prestop, stop, poststop: diff --git a/deps/npm/doc/misc/semver.md b/deps/npm/doc/misc/semver.md index bd697d959e1..3f9555db142 100644 --- a/deps/npm/doc/misc/semver.md +++ b/deps/npm/doc/misc/semver.md @@ -16,12 +16,12 @@ As a command-line utility: $ semver -h - Usage: semver [ [...]] [-r | -i | -d ] + Usage: semver [ [...]] [-r | -i | --preid | -l | -rv] Test if version(s) satisfy the supplied range(s), and sort them. Multiple versions or ranges may be supplied, unless increment - or decrement options are specified. In that case, only a single - version may be used, and it is incremented by the specified level + option is specified. In that case, only a single version may + be used, and it is incremented by the specified level Program exits successfully if any valid version satisfies all supplied ranges, and prints all satisfying versions. @@ -101,6 +101,30 @@ the user is indicating that they are aware of the risk. However, it is still not appropriate to assume that they have opted into taking a similar risk on the *next* set of prerelease versions. +#### Prerelease Identifiers + +The method `.inc` takes an additional `identifier` string argument that +will append the value of the string as a prerelease identifier: + +````javascript +> semver.inc('1.2.3', 'pre', 'beta') +'1.2.4-beta.0' +``` + +command-line example: + +```shell +$ semver 1.2.3 -i prerelease --preid beta +1.2.4-beta.0 +``` + +Which then can be used to increment further: + +```shell +$ semver 1.2.4-beta.0 -i prerelease +1.2.4-beta.1 +``` + ### Advanced Range Syntax Advanced range syntax desugars to primitive comparators in @@ -161,8 +185,6 @@ comparator. Allows minor-level changes if not. `1.2.4-beta.2` would not, because it is a prerelease of a different `[major, minor, patch]` tuple. -Note: this is the same as the `~>` operator in rubygems. - #### Caret Ranges `^1.2.3` `^0.2.5` `^0.0.4` Allows changes that do not modify the left-most non-zero digit in the @@ -245,6 +267,9 @@ strings that they parse. `v2` is greater. Sorts in ascending order if passed to `Array.sort()`. * `rcompare(v1, v2)`: The reverse of compare. Sorts an array of versions in descending order when passed to `Array.sort()`. +* `diff(v1, v2)`: Returns difference between two versions by the release type + (`major`, `premajor`, `minor`, `preminor`, `patch`, `prepatch`, or `prerelease`), + or null if the versions are the same. ### Ranges diff --git a/deps/npm/html/doc/README.html b/deps/npm/html/doc/README.html index 96bc06401a0..a9953056c97 100644 --- a/deps/npm/html/doc/README.html +++ b/deps/npm/html/doc/README.html @@ -9,7 +9,7 @@
-

npm

node package manager

+

npm

a JavaScript package manager

Build Status

SYNOPSIS

This is just enough info to get you up and running.

@@ -30,9 +30,9 @@ and prior, clone the git repo and dig through the old tags and branches.

paths, etc.) then read on.

Fancy Install (Unix)

There's a pretty robust install script at -https://www.npmjs.org/install.sh. You can download that and run it.

+https://www.npmjs.com/install.sh. You can download that and run it.

Here's an example using curl:

-
curl -L https://npmjs.org/install.sh | sh
+
curl -L https://npmjs.com/install.sh | sh
 

Slightly Fancier

You can set any npm configuration params with that script:

npm_config_prefix=/some/path sh install.sh
@@ -45,31 +45,16 @@ If you plan on hacking on npm, make link is your friend.

arbitrary config keys using the ./configure --key=val ..., and then run npm commands by doing node cli.js <cmd> <args>. (This is helpful for testing, or running stuff without actually installing npm itself.)

-

Fancy Windows Install

-

You can download a zip file from https://npmjs.org/dist/, and unpack it +

Windows Install or Upgrade

+

You can download a zip file from https://github.com/npm/npm/releases, and unpack it in the same folder where node.exe lives.

+

The latest version in a zip file is 1.4.12. To upgrade to npm 2, follow the +Windows upgrade instructions in the npm Troubleshooting Guide:

+

https://github.com/npm/npm/wiki/Troubleshooting#upgrading-on-windows

If that's not fancy enough for you, then you can fetch the code with git, and mess with it directly.

Installing on Cygwin

No.

-

Permissions when Using npm to Install Other Stuff

-

tl;dr

-
    -
  • Use sudo for greater safety. Or don't, if you prefer not to.
  • -
  • npm will downgrade permissions if it's root before running any build -scripts that package authors specified.
  • -
-

More details...

-

As of version 0.3, it is recommended to run npm as root. -This allows npm to change the user identifier to the nobody user prior -to running any package build or test commands.

-

If you are not the root user, or if you are on a platform that does not -support uid switching, then npm will not attempt to change the userid.

-

If you would like to ensure that npm always runs scripts as the -"nobody" user, and have it fail if it cannot downgrade permissions, then -set the following configuration param:

-
npm config set unsafe-perm false
-

This will prevent running in unsafe mode, even as non-root users.

Uninstalling

So sad to see you go.

sudo npm uninstall npm -g
@@ -122,11 +107,11 @@ change the value for all npm commands in that process.

command line arguments using nopt. You may also want to check out npm help config to learn about all the options you can set there.

More Docs

-

Check out the docs, -especially the faq.

+

Check out the docs, +especially the faq.

You can use the npm help command to read any of them.

If you're a developer, and you want to use npm to publish your program, -you should read this

+you should read this

"npm" and "The npm Registry" are owned by npm, Inc. All rights reserved. See the included LICENSE file for more details.

@@ -139,9 +124,9 @@ ensure accountability, there is absolutely no guarantee, warrantee, or assertion expressed or implied as to the quality, fitness for a specific purpose, or lack of malice in any given npm package.

If you have a complaint about a package in the public npm registry, -and cannot resolve it with the package +and cannot resolve it with the package owner, please email -support@npmjs.com and explain the situation.

+support@npmjs.com and explain the situation.

Any data published to The npm Registry (including user account information) may be removed or modified at the sole discretion of the npm server administrators.

@@ -160,8 +145,6 @@ ban your account in extreme cases. So don't do that.

Be sure to include all of the output from the npm command that didn't work as expected. The npm-debug.log file is also helpful to provide.

@@ -186,5 +169,5 @@ will no doubt tell you to put the output in a gist or email.

       - + diff --git a/deps/npm/html/doc/api/npm-bin.html b/deps/npm/html/doc/api/npm-bin.html index a2561247569..d1b9fb5bca0 100644 --- a/deps/npm/html/doc/api/npm-bin.html +++ b/deps/npm/html/doc/api/npm-bin.html @@ -28,5 +28,5 @@ to the npm.bin property.

       - + diff --git a/deps/npm/html/doc/api/npm-bugs.html b/deps/npm/html/doc/api/npm-bugs.html index 9cf2cc4131f..a7f3c3e4ad3 100644 --- a/deps/npm/html/doc/api/npm-bugs.html +++ b/deps/npm/html/doc/api/npm-bugs.html @@ -33,5 +33,5 @@ friendly for programmatic use.

       - + diff --git a/deps/npm/html/doc/api/npm-cache.html b/deps/npm/html/doc/api/npm-cache.html index 6dfc4a0e5cc..952856f8691 100644 --- a/deps/npm/html/doc/api/npm-cache.html +++ b/deps/npm/html/doc/api/npm-cache.html @@ -42,5 +42,5 @@ incrementation.

       - + diff --git a/deps/npm/html/doc/api/npm-commands.html b/deps/npm/html/doc/api/npm-commands.html index 3f3ae544e99..16292985c88 100644 --- a/deps/npm/html/doc/api/npm-commands.html +++ b/deps/npm/html/doc/api/npm-commands.html @@ -36,5 +36,5 @@ usage, or man 3 npm-<command> for programmatic usage.

       - + diff --git a/deps/npm/html/doc/api/npm-config.html b/deps/npm/html/doc/api/npm-config.html index 3767a46aca5..758eef37ace 100644 --- a/deps/npm/html/doc/api/npm-config.html +++ b/deps/npm/html/doc/api/npm-config.html @@ -57,5 +57,5 @@ functions instead.

       - + diff --git a/deps/npm/html/doc/api/npm-deprecate.html b/deps/npm/html/doc/api/npm-deprecate.html index a235c2baa96..eb965608ef4 100644 --- a/deps/npm/html/doc/api/npm-deprecate.html +++ b/deps/npm/html/doc/api/npm-deprecate.html @@ -47,5 +47,5 @@ a deprecation warning to all who attempt to install it.

       - + diff --git a/deps/npm/html/doc/api/npm-docs.html b/deps/npm/html/doc/api/npm-docs.html index 222b90e70a8..25fa5167f4b 100644 --- a/deps/npm/html/doc/api/npm-docs.html +++ b/deps/npm/html/doc/api/npm-docs.html @@ -33,5 +33,5 @@ friendly for programmatic use.

       - + diff --git a/deps/npm/html/doc/api/npm-edit.html b/deps/npm/html/doc/api/npm-edit.html index aa3d7bdb0ba..f7e777d86d2 100644 --- a/deps/npm/html/doc/api/npm-edit.html +++ b/deps/npm/html/doc/api/npm-edit.html @@ -36,5 +36,5 @@ and how this is used.

       - + diff --git a/deps/npm/html/doc/api/npm-explore.html b/deps/npm/html/doc/api/npm-explore.html index fbfd0cccc2d..fb8b36e1b29 100644 --- a/deps/npm/html/doc/api/npm-explore.html +++ b/deps/npm/html/doc/api/npm-explore.html @@ -31,5 +31,5 @@ sure to use npm rebuild <pkg> if you make any changes.

       - + diff --git a/deps/npm/html/doc/api/npm-help-search.html b/deps/npm/html/doc/api/npm-help-search.html index 886d0c5acbe..3612ae521fd 100644 --- a/deps/npm/html/doc/api/npm-help-search.html +++ b/deps/npm/html/doc/api/npm-help-search.html @@ -44,5 +44,5 @@ Name of the file that matched        - + diff --git a/deps/npm/html/doc/api/npm-init.html b/deps/npm/html/doc/api/npm-init.html index 80b14a41df3..dc32dfdbe5a 100644 --- a/deps/npm/html/doc/api/npm-init.html +++ b/deps/npm/html/doc/api/npm-init.html @@ -39,5 +39,5 @@ then go ahead and use this programmatically.

       - + diff --git a/deps/npm/html/doc/api/npm-install.html b/deps/npm/html/doc/api/npm-install.html index 43cf4f166ff..ef095d462cb 100644 --- a/deps/npm/html/doc/api/npm-install.html +++ b/deps/npm/html/doc/api/npm-install.html @@ -32,5 +32,5 @@ installed or when an error has been encountered.

       - + diff --git a/deps/npm/html/doc/api/npm-link.html b/deps/npm/html/doc/api/npm-link.html index c41a31c9b4b..7a80c5297dc 100644 --- a/deps/npm/html/doc/api/npm-link.html +++ b/deps/npm/html/doc/api/npm-link.html @@ -42,5 +42,5 @@ the package in the current working directory

       - + diff --git a/deps/npm/html/doc/api/npm-load.html b/deps/npm/html/doc/api/npm-load.html index fbf22994f6d..3882694cf03 100644 --- a/deps/npm/html/doc/api/npm-load.html +++ b/deps/npm/html/doc/api/npm-load.html @@ -37,5 +37,5 @@ config object.

       - + diff --git a/deps/npm/html/doc/api/npm-ls.html b/deps/npm/html/doc/api/npm-ls.html index e221bab4a0f..8b0bc0c6fb7 100644 --- a/deps/npm/html/doc/api/npm-ls.html +++ b/deps/npm/html/doc/api/npm-ls.html @@ -49,7 +49,7 @@ taken if it is serialized to JSON.

List packages in the global install prefix instead of in the current project.

Note, if parseable is set or long isn't set, then duplicates will be trimmed. -This means that if a submodule a same dependency as a parent module, then the +This means that if a submodule has the same dependency as a parent module, then the dependency will only be output once.

@@ -63,5 +63,5 @@ dependency will only be output once.

       - + diff --git a/deps/npm/html/doc/api/npm-outdated.html b/deps/npm/html/doc/api/npm-outdated.html index 91fafce3297..eeff9318d0a 100644 --- a/deps/npm/html/doc/api/npm-outdated.html +++ b/deps/npm/html/doc/api/npm-outdated.html @@ -28,5 +28,5 @@ currently outdated.

       - + diff --git a/deps/npm/html/doc/api/npm-owner.html b/deps/npm/html/doc/api/npm-owner.html index 878a9e59d86..6fff1378751 100644 --- a/deps/npm/html/doc/api/npm-owner.html +++ b/deps/npm/html/doc/api/npm-owner.html @@ -47,5 +47,5 @@ that is not implemented at this time.

       - + diff --git a/deps/npm/html/doc/api/npm-pack.html b/deps/npm/html/doc/api/npm-pack.html index 1e146e41f4f..13a1ed8f5de 100644 --- a/deps/npm/html/doc/api/npm-pack.html +++ b/deps/npm/html/doc/api/npm-pack.html @@ -33,5 +33,5 @@ overwritten the second time.

       - + diff --git a/deps/npm/html/doc/api/npm-prefix.html b/deps/npm/html/doc/api/npm-prefix.html index bd406009c5a..22398c50df1 100644 --- a/deps/npm/html/doc/api/npm-prefix.html +++ b/deps/npm/html/doc/api/npm-prefix.html @@ -29,5 +29,5 @@        - + diff --git a/deps/npm/html/doc/api/npm-prune.html b/deps/npm/html/doc/api/npm-prune.html index 0e446c26f58..6ee9e7d59f4 100644 --- a/deps/npm/html/doc/api/npm-prune.html +++ b/deps/npm/html/doc/api/npm-prune.html @@ -30,5 +30,5 @@ package's dependencies list.

       - + diff --git a/deps/npm/html/doc/api/npm-publish.html b/deps/npm/html/doc/api/npm-publish.html index 0e41c2ad0ef..dccedcab6ce 100644 --- a/deps/npm/html/doc/api/npm-publish.html +++ b/deps/npm/html/doc/api/npm-publish.html @@ -46,5 +46,5 @@ the registry. Overwrites when the "force" environment variable is set        - + diff --git a/deps/npm/html/doc/api/npm-rebuild.html b/deps/npm/html/doc/api/npm-rebuild.html index f5d2e6a6629..1203b177a22 100644 --- a/deps/npm/html/doc/api/npm-rebuild.html +++ b/deps/npm/html/doc/api/npm-rebuild.html @@ -30,5 +30,5 @@ the new binary. If no 'packages' parameter is specify, every package wil        - + diff --git a/deps/npm/html/doc/api/npm-repo.html b/deps/npm/html/doc/api/npm-repo.html index 024e7279b76..718f55aae62 100644 --- a/deps/npm/html/doc/api/npm-repo.html +++ b/deps/npm/html/doc/api/npm-repo.html @@ -33,5 +33,5 @@ friendly for programmatic use.

       - + diff --git a/deps/npm/html/doc/api/npm-restart.html b/deps/npm/html/doc/api/npm-restart.html index 29d1a566708..e3c90034fef 100644 --- a/deps/npm/html/doc/api/npm-restart.html +++ b/deps/npm/html/doc/api/npm-restart.html @@ -9,16 +9,32 @@
-

npm-restart

Start a package

+

npm-restart

Restart a package

SYNOPSIS

npm.commands.restart(packages, callback)
 

DESCRIPTION

-

This runs a package's "restart" script, if one was provided. -Otherwise it runs package's "stop" script, if one was provided, and then -the "start" script.

+

This restarts a package (or multiple packages).

+

This runs a package's "stop", "restart", and "start" scripts, and associated +pre- and post- scripts, in the order given below:

+
    +
  1. prerestart
  2. +
  3. prestop
  4. +
  5. stop
  6. +
  7. poststop
  8. +
  9. restart
  10. +
  11. prestart
  12. +
  13. start
  14. +
  15. poststart
  16. +
  17. postrestart
  18. +

If no version is specified, then it restarts the "active" version.

-

npm can run tests on multiple packages. Just specify multiple packages -in the packages parameter.

+

npm can restart multiple packages. Just specify multiple packages in +the packages parameter.

+

NOTE

+

Note that the "restart" script is run in addition to the "stop" +and "start" scripts, not instead of them.

+

This is the behavior as of npm major version 2. A change in this +behavior will be accompanied by an increase in major version number

SEE ALSO

  • npm-start(3)
  • @@ -36,5 +52,5 @@ in the packages parameter.

           - + diff --git a/deps/npm/html/doc/api/npm-root.html b/deps/npm/html/doc/api/npm-root.html index b639a33e7d8..5231b853fdb 100644 --- a/deps/npm/html/doc/api/npm-root.html +++ b/deps/npm/html/doc/api/npm-root.html @@ -29,5 +29,5 @@        - + diff --git a/deps/npm/html/doc/api/npm-run-script.html b/deps/npm/html/doc/api/npm-run-script.html index 26707808009..c9877f40125 100644 --- a/deps/npm/html/doc/api/npm-run-script.html +++ b/deps/npm/html/doc/api/npm-run-script.html @@ -41,5 +41,5 @@ assumed to be the command to run. All other elements are ignored.

           - + diff --git a/deps/npm/html/doc/api/npm-search.html b/deps/npm/html/doc/api/npm-search.html index 903aa521eb5..8d116367aef 100644 --- a/deps/npm/html/doc/api/npm-search.html +++ b/deps/npm/html/doc/api/npm-search.html @@ -53,5 +53,5 @@ like).

           - + diff --git a/deps/npm/html/doc/api/npm-shrinkwrap.html b/deps/npm/html/doc/api/npm-shrinkwrap.html index eed523cdc5f..08aec3538cf 100644 --- a/deps/npm/html/doc/api/npm-shrinkwrap.html +++ b/deps/npm/html/doc/api/npm-shrinkwrap.html @@ -33,5 +33,5 @@ been saved.

           - + diff --git a/deps/npm/html/doc/api/npm-start.html b/deps/npm/html/doc/api/npm-start.html index 23678bc9ec1..74e8271a541 100644 --- a/deps/npm/html/doc/api/npm-start.html +++ b/deps/npm/html/doc/api/npm-start.html @@ -14,8 +14,8 @@
    npm.commands.start(packages, callback)
     

    DESCRIPTION

    This runs a package's "start" script, if one was provided.

    -

    npm can run tests on multiple packages. Just specify multiple packages -in the packages parameter.

    +

    npm can start multiple packages. Just specify multiple packages in the +packages parameter.

@@ -28,5 +28,5 @@ in the packages parameter.

       - + diff --git a/deps/npm/html/doc/api/npm-stop.html b/deps/npm/html/doc/api/npm-stop.html index ed3b714f079..018b57ea3b2 100644 --- a/deps/npm/html/doc/api/npm-stop.html +++ b/deps/npm/html/doc/api/npm-stop.html @@ -28,5 +28,5 @@ in the packages parameter.

       - + diff --git a/deps/npm/html/doc/api/npm-submodule.html b/deps/npm/html/doc/api/npm-submodule.html index d70ee36d49f..35364403c35 100644 --- a/deps/npm/html/doc/api/npm-submodule.html +++ b/deps/npm/html/doc/api/npm-submodule.html @@ -42,5 +42,5 @@ dependencies into the submodule folder.

       - + diff --git a/deps/npm/html/doc/api/npm-tag.html b/deps/npm/html/doc/api/npm-tag.html index b4a326161e1..bc145f5f058 100644 --- a/deps/npm/html/doc/api/npm-tag.html +++ b/deps/npm/html/doc/api/npm-tag.html @@ -21,7 +21,7 @@ currently used.

is the package name and version is the version number (much like installing a specific version).

The second element is the name of the tag to tag this version with. If this -parameter is missing or falsey (empty), the default froom the config will be +parameter is missing or falsey (empty), the default from the config will be used. For more information about how to set this config, check man 3 npm-config for programmatic usage or man npm-config for cli usage.

@@ -36,5 +36,5 @@ used. For more information about how to set this config, check        - + diff --git a/deps/npm/html/doc/api/npm-test.html b/deps/npm/html/doc/api/npm-test.html index 78168084c2d..b799e3a7ff4 100644 --- a/deps/npm/html/doc/api/npm-test.html +++ b/deps/npm/html/doc/api/npm-test.html @@ -30,5 +30,5 @@ in the packages parameter.

       - + diff --git a/deps/npm/html/doc/api/npm-uninstall.html b/deps/npm/html/doc/api/npm-uninstall.html index 962ff879c3d..51720cc7d85 100644 --- a/deps/npm/html/doc/api/npm-uninstall.html +++ b/deps/npm/html/doc/api/npm-uninstall.html @@ -30,5 +30,5 @@ uninstalled or when an error has been encountered.

       - + diff --git a/deps/npm/html/doc/api/npm-unpublish.html b/deps/npm/html/doc/api/npm-unpublish.html index 2b9a5c58f61..004ca7ed7f1 100644 --- a/deps/npm/html/doc/api/npm-unpublish.html +++ b/deps/npm/html/doc/api/npm-unpublish.html @@ -33,5 +33,5 @@ the root package entry is removed from the registry entirely.

       - + diff --git a/deps/npm/html/doc/api/npm-update.html b/deps/npm/html/doc/api/npm-update.html index f60e83de3f5..5feecc4b463 100644 --- a/deps/npm/html/doc/api/npm-update.html +++ b/deps/npm/html/doc/api/npm-update.html @@ -27,5 +27,5 @@        - + diff --git a/deps/npm/html/doc/api/npm-version.html b/deps/npm/html/doc/api/npm-version.html index c4ce078a482..cdd410a14c6 100644 --- a/deps/npm/html/doc/api/npm-version.html +++ b/deps/npm/html/doc/api/npm-version.html @@ -32,5 +32,5 @@ not have exactly one element. The only element should be a version number.

       - + diff --git a/deps/npm/html/doc/api/npm-view.html b/deps/npm/html/doc/api/npm-view.html index 75c75fdbb47..627f9e65f0b 100644 --- a/deps/npm/html/doc/api/npm-view.html +++ b/deps/npm/html/doc/api/npm-view.html @@ -81,5 +81,5 @@ the field name.

       - + diff --git a/deps/npm/html/doc/api/npm-whoami.html b/deps/npm/html/doc/api/npm-whoami.html index 4ed6d79a428..c381923cd88 100644 --- a/deps/npm/html/doc/api/npm-whoami.html +++ b/deps/npm/html/doc/api/npm-whoami.html @@ -29,5 +29,5 @@        - + diff --git a/deps/npm/html/doc/api/npm.html b/deps/npm/html/doc/api/npm.html index 67ff3d32f8a..ef985922c64 100644 --- a/deps/npm/html/doc/api/npm.html +++ b/deps/npm/html/doc/api/npm.html @@ -9,7 +9,7 @@
-

npm

node package manager

+

npm

javascript package manager

SYNOPSIS

var npm = require("npm")
 npm.load([configObject, ]function (er, npm) {
@@ -23,7 +23,7 @@ npm.load([configObject, ]function (er, npm) {
   npm.commands.install(["package"], cb)
 })
 

VERSION

-

2.1.6

+

2.3.0

DESCRIPTION

This is the API documentation for npm. To find documentation of the command line @@ -109,5 +109,5 @@ method names. Use the npm.deref method to find the real name.

       - + diff --git a/deps/npm/html/doc/cli/npm-access.html b/deps/npm/html/doc/cli/npm-access.html new file mode 100644 index 00000000000..3d0a2905000 --- /dev/null +++ b/deps/npm/html/doc/cli/npm-access.html @@ -0,0 +1,79 @@ + + + npm-access + + + + + + +
+ +

npm-access

Set access level on published packages

+

SYNOPSIS

+
npm access public [<package>]
+npm access restricted [<package>]
+
+npm access add <read-only|read-write> <entity> [<package>]
+npm access rm <entity> [<package>]
+
+npm access ls [<package>]
+npm access edit [<package>]
+

DESCRIPTION

+

Used to set access controls on private packages.

+

For all of the subcommands, npm access will perform actions on the packages +in the current working directory if no package name is passed to the +subcommand.

+
    +
  • public / restricted: +Set a package to be either publicly accessible or restricted.

    +
  • +
  • add / rm: +Add or remove the ability of users and teams to have read-only or read-write +access to a package.

    +
  • +
  • ls: +Show all of the access privileges for a package. Will only show permissions +for packages to which you have at least read access.

    +
  • +
  • edit: +Set the access privileges for a package at once using $EDITOR.

    +
  • +
+

DETAILS

+

npm access always operates directly on the current registry, configurable +from the command line using --registry=<registry url>.

+

Unscoped packages are always public.

+

Scoped packages default to restricted, but you can either publish them as +public using npm publish --access=public, or set their access as public using +npm access public after the initial publish.

+

You must have privileges to set the access of a package:

+
    +
  • You are an owner of an unscoped or scoped package.
  • +
  • You are a member of the team that owns a scope.
  • +
  • You have been given read-write privileges for a package, either as a member +of a team or directly as an owner.
  • +
+

If your account is not paid, then attempts to publish scoped packages will fail +with an HTTP 402 status code (logically enough), unless you use +--access=public.

+

SEE ALSO

+ + +
+ + + + + + + + + + + + diff --git a/deps/npm/html/doc/cli/npm-adduser.html b/deps/npm/html/doc/cli/npm-adduser.html index 84f0ac389ef..541ad0c41fa 100644 --- a/deps/npm/html/doc/cli/npm-adduser.html +++ b/deps/npm/html/doc/cli/npm-adduser.html @@ -17,11 +17,12 @@ save the credentials to the .npmrc file. If no registry is specified, the default registry will be used (see npm-config(7)).

The username, password, and email are read in from prompts.

-

You may use this command to change your email address, but not username -or password.

-

To reset your password, go to https://www.npmjs.org/forgot

+

To reset your password, go to https://www.npmjs.com/forgot

+

To change your email address, go to https://www.npmjs.com/email-edit

You may use this command multiple times with the same user account to -authorize on a new machine.

+authorize on a new machine. When authenticating on a new machine, +the username, password and email address must all match with +your existing record.

npm login is an alias to adduser and behaves exactly the same way.

CONFIGURATION

registry

@@ -44,7 +45,7 @@ registries. Can be used with --registry and / or --scopenpm adduser --registry=http://private-registry.example.com --always-auth

This will ensure that all requests to that registry (including for tarballs) include an authorization header. See always-auth in npm-config(7) for more -details on always-auth. Registry-specific configuaration of always-auth takes +details on always-auth. Registry-specific configuration of always-auth takes precedence over any global configuration.

SEE ALSO

    @@ -67,5 +68,5 @@ precedence over any global configuration.

           - + diff --git a/deps/npm/html/doc/cli/npm-bin.html b/deps/npm/html/doc/cli/npm-bin.html index 7f6e3a5c0dd..0f61d5c0be8 100644 --- a/deps/npm/html/doc/cli/npm-bin.html +++ b/deps/npm/html/doc/cli/npm-bin.html @@ -35,5 +35,5 @@        - + diff --git a/deps/npm/html/doc/cli/npm-bugs.html b/deps/npm/html/doc/cli/npm-bugs.html index 7758efa7264..ccb59fe0639 100644 --- a/deps/npm/html/doc/cli/npm-bugs.html +++ b/deps/npm/html/doc/cli/npm-bugs.html @@ -54,5 +54,5 @@ a package.json in the current folder and use the name        - + diff --git a/deps/npm/html/doc/cli/npm-build.html b/deps/npm/html/doc/cli/npm-build.html index ca62cb24651..a32234b9f75 100644 --- a/deps/npm/html/doc/cli/npm-build.html +++ b/deps/npm/html/doc/cli/npm-build.html @@ -38,5 +38,5 @@ A folder containing a package.json file in its root.        - + diff --git a/deps/npm/html/doc/cli/npm-bundle.html b/deps/npm/html/doc/cli/npm-bundle.html index 9b833d0b6dd..2aec65af8a9 100644 --- a/deps/npm/html/doc/cli/npm-bundle.html +++ b/deps/npm/html/doc/cli/npm-bundle.html @@ -31,5 +31,5 @@ install packages into the local space.

           - + diff --git a/deps/npm/html/doc/cli/npm-cache.html b/deps/npm/html/doc/cli/npm-cache.html index 53835b35db3..d0d392a29c4 100644 --- a/deps/npm/html/doc/cli/npm-cache.html +++ b/deps/npm/html/doc/cli/npm-cache.html @@ -81,5 +81,5 @@ they do not make an HTTP request to the registry.

           - + diff --git a/deps/npm/html/doc/cli/npm-completion.html b/deps/npm/html/doc/cli/npm-completion.html index 5a678ba352f..69da1503e45 100644 --- a/deps/npm/html/doc/cli/npm-completion.html +++ b/deps/npm/html/doc/cli/npm-completion.html @@ -42,5 +42,5 @@ completions based on the arguments.

           - + diff --git a/deps/npm/html/doc/cli/npm-config.html b/deps/npm/html/doc/cli/npm-config.html index d97845e708a..7521a212a81 100644 --- a/deps/npm/html/doc/cli/npm-config.html +++ b/deps/npm/html/doc/cli/npm-config.html @@ -66,5 +66,5 @@ global config.

           - + diff --git a/deps/npm/html/doc/cli/npm-dedupe.html b/deps/npm/html/doc/cli/npm-dedupe.html index bf6c9974ea4..2ea5f3de96f 100644 --- a/deps/npm/html/doc/cli/npm-dedupe.html +++ b/deps/npm/html/doc/cli/npm-dedupe.html @@ -63,5 +63,5 @@ versions.

           - + diff --git a/deps/npm/html/doc/cli/npm-deprecate.html b/deps/npm/html/doc/cli/npm-deprecate.html index 8182c6ecf1b..886ddd1696f 100644 --- a/deps/npm/html/doc/cli/npm-deprecate.html +++ b/deps/npm/html/doc/cli/npm-deprecate.html @@ -38,5 +38,5 @@ something like this:

           - + diff --git a/deps/npm/html/doc/cli/npm-dist-tag.html b/deps/npm/html/doc/cli/npm-dist-tag.html new file mode 100644 index 00000000000..9fcab6ac14e --- /dev/null +++ b/deps/npm/html/doc/cli/npm-dist-tag.html @@ -0,0 +1,80 @@ + + + npm-dist-tag + + + + + + +
    + +

    npm-dist-tag

    Modify package distribution tags

    +

    SYNOPSIS

    +
    npm dist-tag add <pkg>@<version> [<tag>]
    +npm dist-tag rm <pkg> <tag>
    +npm dist-tag ls [<pkg>]
    +

    DESCRIPTION

    +

    Add, remove, and enumerate distribution tags on a package:

    +
      +
    • add: +Tags the specified version of the package with the specified tag, or the +--tag config if not specified.

      +
    • +
    • rm: +Clear a tag that is no longer in use from the package.

      +
    • +
    • ls: +Show all of the dist-tags for a package, defaulting to the package in +the curren prefix.

      +
    • +
    +

    A tag can be used when installing packages as a reference to a version instead +of using a specific version number:

    +
    npm install <name>@<tag>
    +

    When installing dependencies, a preferred tagged version may be specified:

    +
    npm install --tag <tag>
    +

    This also applies to npm dedupe.

    +

    Publishing a package always sets the "latest" tag to the published version.

    +

    PURPOSE

    +

    Tags can be used to provide an alias instead of version numbers. For +example, npm currently uses the tag "next" to identify the upcoming +version, and the tag "latest" to identify the current version.

    +

    A project might choose to have multiple streams of development, e.g., +"stable", "canary".

    +

    CAVEATS

    +

    This command used to be known as npm tag, which only created new tags, and so +had a different syntax.

    +

    Tags must share a namespace with version numbers, because they are specified in +the same slot: npm install <pkg>@<version> vs npm install <pkg>@<tag>.

    +

    Tags that can be interpreted as valid semver ranges will be rejected. For +example, v1.4 cannot be used as a tag, because it is interpreted by semver as +>=1.4.0 <1.5.0. See https://github.com/npm/npm/issues/6082.

    +

    The simplest way to avoid semver problems with tags is to use tags that do not +begin with a number or the letter v.

    +

    SEE ALSO

    + + +
    + + + + + + + + + + + + diff --git a/deps/npm/html/doc/cli/npm-docs.html b/deps/npm/html/doc/cli/npm-docs.html index e9f2c9e732e..0721663da06 100644 --- a/deps/npm/html/doc/cli/npm-docs.html +++ b/deps/npm/html/doc/cli/npm-docs.html @@ -56,5 +56,5 @@ the current folder and use the name property.

           - + diff --git a/deps/npm/html/doc/cli/npm-edit.html b/deps/npm/html/doc/cli/npm-edit.html index 24a70fe7fc1..6a068adb155 100644 --- a/deps/npm/html/doc/cli/npm-edit.html +++ b/deps/npm/html/doc/cli/npm-edit.html @@ -49,5 +49,5 @@ or "notepad" on Windows.        - + diff --git a/deps/npm/html/doc/cli/npm-explore.html b/deps/npm/html/doc/cli/npm-explore.html index eeb49064486..38e79ce0d60 100644 --- a/deps/npm/html/doc/cli/npm-explore.html +++ b/deps/npm/html/doc/cli/npm-explore.html @@ -49,5 +49,5 @@ Windows        - + diff --git a/deps/npm/html/doc/cli/npm-help-search.html b/deps/npm/html/doc/cli/npm-help-search.html index 2cf7506f03f..3584c29b881 100644 --- a/deps/npm/html/doc/cli/npm-help-search.html +++ b/deps/npm/html/doc/cli/npm-help-search.html @@ -46,5 +46,5 @@ where the terms were found in the documentation.

           - + diff --git a/deps/npm/html/doc/cli/npm-help.html b/deps/npm/html/doc/cli/npm-help.html index 12c6c0e8fd2..eb463a8cd99 100644 --- a/deps/npm/html/doc/cli/npm-help.html +++ b/deps/npm/html/doc/cli/npm-help.html @@ -52,5 +52,5 @@ matches are equivalent to specifying a topic name.

           - + diff --git a/deps/npm/html/doc/cli/npm-init.html b/deps/npm/html/doc/cli/npm-init.html index e7640ea46c6..c0586d97b78 100644 --- a/deps/npm/html/doc/cli/npm-init.html +++ b/deps/npm/html/doc/cli/npm-init.html @@ -40,5 +40,5 @@ defaults and not prompt you for any options.

           - + diff --git a/deps/npm/html/doc/cli/npm-install.html b/deps/npm/html/doc/cli/npm-install.html index 3759f011559..6a7f9dd7dd9 100644 --- a/deps/npm/html/doc/cli/npm-install.html +++ b/deps/npm/html/doc/cli/npm-install.html @@ -239,5 +239,5 @@ affects a real use-case, it will be investigated.

           - + diff --git a/deps/npm/html/doc/cli/npm-link.html b/deps/npm/html/doc/cli/npm-link.html index 8d085892df2..b783736d325 100644 --- a/deps/npm/html/doc/cli/npm-link.html +++ b/deps/npm/html/doc/cli/npm-link.html @@ -24,7 +24,7 @@ symlink from the local node_modules folder to the global symlink.Note that package-name is taken from package.json, not from directory name.

    The package name can be optionally prefixed with a scope. See npm-scope(7). -The scope must by preceded by an @-symbol and followed by a slash.

    +The scope must be preceded by an @-symbol and followed by a slash.

    When creating tarballs for npm publish, the linked packages are "snapshotted" to their current state by resolving the symbolic links.

    This is handy for installing your own stuff, so that you can work on it and @@ -71,5 +71,5 @@ include that scope, e.g.

           - + diff --git a/deps/npm/html/doc/cli/npm-ls.html b/deps/npm/html/doc/cli/npm-ls.html index 30419bdb0d6..d4d80cfdaae 100644 --- a/deps/npm/html/doc/cli/npm-ls.html +++ b/deps/npm/html/doc/cli/npm-ls.html @@ -22,7 +22,7 @@ installed, as well as their dependencies, in a tree-structure.

    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:

    -
    npm@2.1.6 /path/to/npm
    +
    npm@2.3.0 /path/to/npm
     └─┬ init-package-json@0.0.4
       └── promzard@0.1.5
     

    It will print out extraneous, missing, and invalid packages.

    @@ -85,5 +85,5 @@ project.

           - + diff --git a/deps/npm/html/doc/cli/npm-outdated.html b/deps/npm/html/doc/cli/npm-outdated.html index 07a0a933d76..81552873ad1 100644 --- a/deps/npm/html/doc/cli/npm-outdated.html +++ b/deps/npm/html/doc/cli/npm-outdated.html @@ -67,5 +67,5 @@ project.

           - + diff --git a/deps/npm/html/doc/cli/npm-owner.html b/deps/npm/html/doc/cli/npm-owner.html index 3600e087f15..ed9bcafcb98 100644 --- a/deps/npm/html/doc/cli/npm-owner.html +++ b/deps/npm/html/doc/cli/npm-owner.html @@ -49,5 +49,5 @@ that is not implemented at this time.

           - + diff --git a/deps/npm/html/doc/cli/npm-pack.html b/deps/npm/html/doc/cli/npm-pack.html index 987ba3f792b..c5ebe079895 100644 --- a/deps/npm/html/doc/cli/npm-pack.html +++ b/deps/npm/html/doc/cli/npm-pack.html @@ -41,5 +41,5 @@ overwritten the second time.

           - + diff --git a/deps/npm/html/doc/cli/npm-prefix.html b/deps/npm/html/doc/cli/npm-prefix.html index 7b6a3c58a51..f3926644edb 100644 --- a/deps/npm/html/doc/cli/npm-prefix.html +++ b/deps/npm/html/doc/cli/npm-prefix.html @@ -38,5 +38,5 @@ to contain a package.json file unless -g is also specified.

           - + diff --git a/deps/npm/html/doc/cli/npm-prune.html b/deps/npm/html/doc/cli/npm-prune.html index dea291b4909..03b306dad3e 100644 --- a/deps/npm/html/doc/cli/npm-prune.html +++ b/deps/npm/html/doc/cli/npm-prune.html @@ -39,5 +39,5 @@ packages specified in your devDependencies.

           - + diff --git a/deps/npm/html/doc/cli/npm-publish.html b/deps/npm/html/doc/cli/npm-publish.html index e1b46d21d0b..6dc61da6583 100644 --- a/deps/npm/html/doc/cli/npm-publish.html +++ b/deps/npm/html/doc/cli/npm-publish.html @@ -59,5 +59,5 @@ it is removed with        - + diff --git a/deps/npm/html/doc/cli/npm-rebuild.html b/deps/npm/html/doc/cli/npm-rebuild.html index 4da97a70518..27252fcbba2 100644 --- a/deps/npm/html/doc/cli/npm-rebuild.html +++ b/deps/npm/html/doc/cli/npm-rebuild.html @@ -38,5 +38,5 @@ the new binary.

           - + diff --git a/deps/npm/html/doc/cli/npm-repo.html b/deps/npm/html/doc/cli/npm-repo.html index 02335b4f4a1..2ac34d35d43 100644 --- a/deps/npm/html/doc/cli/npm-repo.html +++ b/deps/npm/html/doc/cli/npm-repo.html @@ -42,5 +42,5 @@ a package.json in the current folder and use the name        - + diff --git a/deps/npm/html/doc/cli/npm-restart.html b/deps/npm/html/doc/cli/npm-restart.html index d7536f81fdf..e107a541c07 100644 --- a/deps/npm/html/doc/cli/npm-restart.html +++ b/deps/npm/html/doc/cli/npm-restart.html @@ -9,12 +9,29 @@
    -

    npm-restart

    Start a package

    +

    npm-restart

    Restart a package

    SYNOPSIS

    npm restart [-- <args>]
     

    DESCRIPTION

    -

    This runs a package's "restart" script, if one was provided. Otherwise it runs -package's "stop" script, if one was provided, and then the "start" script.

    +

    This restarts a package.

    +

    This runs a package's "stop", "restart", and "start" scripts, and associated +pre- and post- scripts, in the order given below:

    +
      +
    1. prerestart
    2. +
    3. prestop
    4. +
    5. stop
    6. +
    7. poststop
    8. +
    9. restart
    10. +
    11. prestart
    12. +
    13. start
    14. +
    15. poststart
    16. +
    17. postrestart
    18. +
    +

    NOTE

    +

    Note that the "restart" script is run in addition to the "stop" +and "start" scripts, not instead of them.

    +

    This is the behavior as of npm major version 2. A change in this +behavior will be accompanied by an increase in major version number

    SEE ALSO

    @@ -35,5 +53,5 @@ package's "stop" script, if one was provided, and then the "s        - + diff --git a/deps/npm/html/doc/cli/npm-rm.html b/deps/npm/html/doc/cli/npm-rm.html index 3b28aaad4d3..617de0c6815 100644 --- a/deps/npm/html/doc/cli/npm-rm.html +++ b/deps/npm/html/doc/cli/npm-rm.html @@ -39,5 +39,5 @@ on its behalf.

           - + diff --git a/deps/npm/html/doc/cli/npm-root.html b/deps/npm/html/doc/cli/npm-root.html index f6b8b22dfcb..08adcec8e12 100644 --- a/deps/npm/html/doc/cli/npm-root.html +++ b/deps/npm/html/doc/cli/npm-root.html @@ -35,5 +35,5 @@        - + diff --git a/deps/npm/html/doc/cli/npm-run-script.html b/deps/npm/html/doc/cli/npm-run-script.html index 8ca2ea2a5ed..508e04025a6 100644 --- a/deps/npm/html/doc/cli/npm-run-script.html +++ b/deps/npm/html/doc/cli/npm-run-script.html @@ -17,9 +17,12 @@ npm run [command] [-- <args>]

    This runs an arbitrary command from a package's "scripts" object. If no package name is provided, it will search for a package.json in the current folder and use its "scripts" object. If no "command" -is provided, it will list the available top level scripts.

    -

    It is used by the test, start, restart, and stop commands, but can be -called directly, as well.

    +is provided, it will list the available top level scripts. The env command +can be used to list environment variables that will be available to the script +at runtime. If an "env" command is defined in your package it will have +precedence instead.

    +

    run[-script] is used by the test, start, restart, and stop commands, but can +be called directly, as well.

    As of npm@2.0.0, you can use custom arguments when executing scripts. The special option -- is used by getopt to delimit the end of the options. npm will pass @@ -47,5 +50,5 @@ and not to any pre or post script.

           - + diff --git a/deps/npm/html/doc/cli/npm-search.html b/deps/npm/html/doc/cli/npm-search.html index f5fe720baa1..7b613de6b3f 100644 --- a/deps/npm/html/doc/cli/npm-search.html +++ b/deps/npm/html/doc/cli/npm-search.html @@ -49,5 +49,5 @@ fall on multiple lines.

           - + diff --git a/deps/npm/html/doc/cli/npm-shrinkwrap.html b/deps/npm/html/doc/cli/npm-shrinkwrap.html index fbfaa6c3dc0..2495eeb3aa4 100644 --- a/deps/npm/html/doc/cli/npm-shrinkwrap.html +++ b/deps/npm/html/doc/cli/npm-shrinkwrap.html @@ -164,5 +164,5 @@ contents rather than versions.

           - + diff --git a/deps/npm/html/doc/cli/npm-star.html b/deps/npm/html/doc/cli/npm-star.html index d3bbde5b9d6..ae434f6e40f 100644 --- a/deps/npm/html/doc/cli/npm-star.html +++ b/deps/npm/html/doc/cli/npm-star.html @@ -36,5 +36,5 @@ a vaguely positive way to show that you care.

           - + diff --git a/deps/npm/html/doc/cli/npm-stars.html b/deps/npm/html/doc/cli/npm-stars.html index 7873880f415..6ec03a50990 100644 --- a/deps/npm/html/doc/cli/npm-stars.html +++ b/deps/npm/html/doc/cli/npm-stars.html @@ -37,5 +37,5 @@ you will most certainly enjoy this command.

           - + diff --git a/deps/npm/html/doc/cli/npm-start.html b/deps/npm/html/doc/cli/npm-start.html index 0a3134bc82e..eedbd240c2e 100644 --- a/deps/npm/html/doc/cli/npm-start.html +++ b/deps/npm/html/doc/cli/npm-start.html @@ -34,5 +34,5 @@        - + diff --git a/deps/npm/html/doc/cli/npm-stop.html b/deps/npm/html/doc/cli/npm-stop.html index 01638ee4daf..610da606987 100644 --- a/deps/npm/html/doc/cli/npm-stop.html +++ b/deps/npm/html/doc/cli/npm-stop.html @@ -34,5 +34,5 @@        - + diff --git a/deps/npm/html/doc/cli/npm-submodule.html b/deps/npm/html/doc/cli/npm-submodule.html index 4ac55a88525..6716c4a11cc 100644 --- a/deps/npm/html/doc/cli/npm-submodule.html +++ b/deps/npm/html/doc/cli/npm-submodule.html @@ -27,7 +27,7 @@ or you can do npm explore <pkgname> -- npm install to install dependencies into the submodule folder.

    SEE ALSO

    @@ -42,5 +42,5 @@ dependencies into the submodule folder.

           - + diff --git a/deps/npm/html/doc/cli/npm-tag.html b/deps/npm/html/doc/cli/npm-tag.html index 946d5fa767c..57757dfa796 100644 --- a/deps/npm/html/doc/cli/npm-tag.html +++ b/deps/npm/html/doc/cli/npm-tag.html @@ -22,6 +22,22 @@ of using a specific version number:

    npm install --tag <tag>
     

    This also applies to npm dedupe.

    Publishing a package always sets the "latest" tag to the published version.

    +

    PURPOSE

    +

    Tags can be used to provide an alias instead of version numbers. For +example, npm currently uses the tag "next" to identify the upcoming +version, and the tag "latest" to identify the current version.

    +

    A project might choose to have multiple streams of development, e.g., +"stable", "canary".

    +

    CAVEATS

    +

    Tags must share a namespace with version numbers, because they are +specified in the same slot: npm install <pkg>@<version> vs npm +install <pkg>@<tag>.

    +

    Tags that can be interpreted as valid semver ranges will be +rejected. For example, v1.4 cannot be used as a tag, because it is +interpreted by semver as >=1.4.0 <1.5.0. See +https://github.com/npm/npm/issues/6082.

    +

    The simplest way to avoid semver problems with tags is to use tags +that do not begin with a number or the letter v.

    SEE ALSO

    @@ -44,5 +61,5 @@ of using a specific version number:

           - + diff --git a/deps/npm/html/doc/cli/npm-test.html b/deps/npm/html/doc/cli/npm-test.html index 6c5467de51f..e7eacf8890f 100644 --- a/deps/npm/html/doc/cli/npm-test.html +++ b/deps/npm/html/doc/cli/npm-test.html @@ -37,5 +37,5 @@ true.

           - + diff --git a/deps/npm/html/doc/cli/npm-uninstall.html b/deps/npm/html/doc/cli/npm-uninstall.html index 2a3c12c148d..a0799b36b1a 100644 --- a/deps/npm/html/doc/cli/npm-uninstall.html +++ b/deps/npm/html/doc/cli/npm-uninstall.html @@ -57,5 +57,5 @@ npm uninstall dtrace-provider --save-optional        - + diff --git a/deps/npm/html/doc/cli/npm-unpublish.html b/deps/npm/html/doc/cli/npm-unpublish.html index 59b278e23da..a277055b1fe 100644 --- a/deps/npm/html/doc/cli/npm-unpublish.html +++ b/deps/npm/html/doc/cli/npm-unpublish.html @@ -47,5 +47,5 @@ package again, a new version number must be used.

           - + diff --git a/deps/npm/html/doc/cli/npm-update.html b/deps/npm/html/doc/cli/npm-update.html index 5fa7846f534..d1e66aa8126 100644 --- a/deps/npm/html/doc/cli/npm-update.html +++ b/deps/npm/html/doc/cli/npm-update.html @@ -15,7 +15,9 @@

    DESCRIPTION

    This command will update all the packages listed to the latest version (specified by the tag config).

    -

    It will also install missing packages.

    +

    It will also install missing packages. As with all commands that install +packages, the --dev flag will cause devDependencies to be processed +as well.

    If the -g flag is specified, this command will update globally installed packages.

    If no package name is specified, all packages in the specified location (global @@ -40,5 +42,5 @@ or local) will be updated.

           - + diff --git a/deps/npm/html/doc/cli/npm-version.html b/deps/npm/html/doc/cli/npm-version.html index 6477726f495..dfb537a74d2 100644 --- a/deps/npm/html/doc/cli/npm-version.html +++ b/deps/npm/html/doc/cli/npm-version.html @@ -14,7 +14,7 @@
    npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease]
     

    DESCRIPTION

    Run this in a package directory to bump the version and write the new -data back to the package.json file.

    +data back to package.json and, if present, npm-shrinkwrap.json.

    The newversion argument should be a valid semver string, or a valid second argument to semver.inc (one of "patch", "minor", "major", "prepatch", "preminor", "premajor", "prerelease"). In the second case, @@ -55,5 +55,5 @@ Enter passphrase:        -

    + diff --git a/deps/npm/html/doc/cli/npm-view.html b/deps/npm/html/doc/cli/npm-view.html index 3b87ba0be20..8c54064ce52 100644 --- a/deps/npm/html/doc/cli/npm-view.html +++ b/deps/npm/html/doc/cli/npm-view.html @@ -24,7 +24,7 @@ this:

    For example, to show the dependencies of the ronn package at version 0.3.5, you could do the following:

    npm view ronn@0.3.5 dependencies
    -

    You can view child field by separating them with a period. +

    You can view child fields by separating them with a period. To view the git repository URL for the latest version of npm, you could do this:

    npm view npm repository.url
    @@ -82,5 +82,5 @@ the field name.

           - + diff --git a/deps/npm/html/doc/cli/npm-whoami.html b/deps/npm/html/doc/cli/npm-whoami.html index a2705c40c3a..fbd5544e95d 100644 --- a/deps/npm/html/doc/cli/npm-whoami.html +++ b/deps/npm/html/doc/cli/npm-whoami.html @@ -33,5 +33,5 @@        - + diff --git a/deps/npm/html/doc/cli/npm.html b/deps/npm/html/doc/cli/npm.html index 3bd3849d2ad..f561c7eb82a 100644 --- a/deps/npm/html/doc/cli/npm.html +++ b/deps/npm/html/doc/cli/npm.html @@ -9,11 +9,11 @@
    -

    npm

    node package manager

    +

    npm

    javascript package manager

    SYNOPSIS

    npm <command> [args]
     

    VERSION

    -

    2.1.6

    +

    2.3.0

    DESCRIPTION

    npm is the package manager for the Node JavaScript platform. It puts modules in place so that node can find them, and manages dependency @@ -110,7 +110,7 @@ easily by doing npm view npm contributors.

    the issues list or ask on the mailing list.

    BUGS

    When you find issues, please report them:

    @@ -118,7 +118,7 @@ the issues list or ask on the mailing list.

  • web: http://github.com/npm/npm/issues
  • email: -npm-@googlegroups.com
  • +npm-@googlegroups.com

Be sure to include all of the output from the npm command that didn't work as expected. The npm-debug.log file is also helpful to provide.

@@ -128,7 +128,7 @@ will no doubt tell you to put the output in a gist or email.

Isaac Z. Schlueter :: isaacs :: @izs :: -i@izs.me

+i@izs.me

SEE ALSO

A name can be optionally prefixed by a scope, e.g. @myorg/mypackage. See npm-scope(7) for more detail.

@@ -115,10 +115,10 @@ feature to install the "npm" executable.)

command name to local file name. On install, npm will symlink that file into prefix/bin for global installs, or ./node_modules/.bin/ for local installs.

-

For example, npm has this:

-
{ "bin" : { "npm" : "./cli.js" } }
-

So, when you install npm, it'll create a symlink from the cli.js script to -/usr/local/bin/npm.

+

For example, myapp could have this:

+
{ "bin" : { "myapp" : "./cli.js" } }
+

So, when you install myapp, it'll create a symlink from the cli.js script to +/usr/local/bin/myapp.

If you have a single executable, and its name should be the name of the package, then you can just supply it as a string. For example:

{ "name": "my-program"
@@ -181,7 +181,7 @@ maybe, someday.

Put example scripts in here. Someday, it might be exposed in some clever way.

repository

Specify the place where your code lives. This is helpful for people who -want to contribute. If the git repo is on github, then the npm docs +want to contribute. If the git repo is on GitHub, then the npm docs command will be able to find you.

Do it like this:

"repository" :
@@ -269,12 +269,15 @@ git+https://user@hostname/project/blah.git#commit-ish
 

The commit-ish can be any tag, sha, or branch which can be supplied as an argument to git checkout. The default is master.

GitHub URLs

-

As of version 1.1.65, you can refer to GitHub urls as just "foo": "user/foo-project". For example:

+

As of version 1.1.65, you can refer to GitHub urls as just "foo": +"user/foo-project". Just as with git URLs, a commit-ish suffix can be +included. For example:

{
   "name": "foo",
   "version": "0.0.0",
   "dependencies": {
-    "express": "visionmedia/express"
+    "express": "visionmedia/express",
+    "mocha": "visionmedia/mocha#4727d357ea"
   }
 }
 

Local Paths

@@ -328,7 +331,7 @@ run this script as well, so that you can test it easily.

peerDependencies

In some cases, you want to express the compatibility of your package with an host tool or library, while not necessarily doing a require of this host. -This is usually refered to as a plugin. Notably, your module may be exposing +This is usually referred to as a plugin. Notably, your module may be exposing a specific interface, expected and specified by the host documentation.

For example:

{
@@ -485,5 +488,5 @@ ignored.

       - + diff --git a/deps/npm/html/doc/files/npmrc.html b/deps/npm/html/doc/files/npmrc.html index 9f379006f09..976a6404f13 100644 --- a/deps/npm/html/doc/files/npmrc.html +++ b/deps/npm/html/doc/files/npmrc.html @@ -31,7 +31,11 @@ parameters. Environment variables can be replaced using

Each of these files is loaded, and config options are resolved in priority order. For example, a setting in the userconfig file would override the setting in the globalconfig file.

-

Per-project config file

+

Array values are specified by adding "[]" after the key name. For +example:

+
key[] = "first value"
+key[] = "second value"
+

Per-project config file

When working locally in a project, a .npmrc file in the root of the project (ie, a sibling of node_modules and package.json) will set config values specific to this project.

@@ -73,5 +77,5 @@ manner.

       - + diff --git a/deps/npm/html/doc/files/package.json.html b/deps/npm/html/doc/files/package.json.html index 183ad8ea5d6..c4c175dd0d5 100644 --- a/deps/npm/html/doc/files/package.json.html +++ b/deps/npm/html/doc/files/package.json.html @@ -32,7 +32,7 @@ Also, it can't start with a dot or an underscore.
  • The name will probably be passed as an argument to require(), so it should be something short, but also reasonably descriptive.
  • You may want to check the npm registry to see if there's something by that name -already, before you get too attached to it. http://registry.npmjs.org/
  • +already, before you get too attached to it. https://www.npmjs.com/

    A name can be optionally prefixed by a scope, e.g. @myorg/mypackage. See npm-scope(7) for more detail.

    @@ -115,10 +115,10 @@ feature to install the "npm" executable.)

    command name to local file name. On install, npm will symlink that file into prefix/bin for global installs, or ./node_modules/.bin/ for local installs.

    -

    For example, npm has this:

    -
    { "bin" : { "npm" : "./cli.js" } }
    -

    So, when you install npm, it'll create a symlink from the cli.js script to -/usr/local/bin/npm.

    +

    For example, myapp could have this:

    +
    { "bin" : { "myapp" : "./cli.js" } }
    +

    So, when you install myapp, it'll create a symlink from the cli.js script to +/usr/local/bin/myapp.

    If you have a single executable, and its name should be the name of the package, then you can just supply it as a string. For example:

    { "name": "my-program"
    @@ -181,7 +181,7 @@ maybe, someday.

    Put example scripts in here. Someday, it might be exposed in some clever way.

    repository

    Specify the place where your code lives. This is helpful for people who -want to contribute. If the git repo is on github, then the npm docs +want to contribute. If the git repo is on GitHub, then the npm docs command will be able to find you.

    Do it like this:

    "repository" :
    @@ -269,12 +269,15 @@ git+https://user@hostname/project/blah.git#commit-ish
     

    The commit-ish can be any tag, sha, or branch which can be supplied as an argument to git checkout. The default is master.

    GitHub URLs

    -

    As of version 1.1.65, you can refer to GitHub urls as just "foo": "user/foo-project". For example:

    +

    As of version 1.1.65, you can refer to GitHub urls as just "foo": +"user/foo-project". Just as with git URLs, a commit-ish suffix can be +included. For example:

    {
       "name": "foo",
       "version": "0.0.0",
       "dependencies": {
    -    "express": "visionmedia/express"
    +    "express": "visionmedia/express",
    +    "mocha": "visionmedia/mocha#4727d357ea"
       }
     }
     

    Local Paths

    @@ -328,7 +331,7 @@ run this script as well, so that you can test it easily.

    peerDependencies

    In some cases, you want to express the compatibility of your package with an host tool or library, while not necessarily doing a require of this host. -This is usually refered to as a plugin. Notably, your module may be exposing +This is usually referred to as a plugin. Notably, your module may be exposing a specific interface, expected and specified by the host documentation.

    For example:

    {
    @@ -485,5 +488,5 @@ ignored.

           - + diff --git a/deps/npm/html/doc/index.html b/deps/npm/html/doc/index.html index 6c68895e073..e10541d7a4c 100644 --- a/deps/npm/html/doc/index.html +++ b/deps/npm/html/doc/index.html @@ -11,11 +11,11 @@

    npm-index

    Index of all npm documentation

    README

    -

    node package manager

    +

    a JavaScript package manager

    Command Line Documentation

    Using npm on the command line

    npm(1)

    -

    node package manager

    +

    javascript package manager

    npm-adduser(1)

    Add a registry user account

    npm-bin(1)

    @@ -71,7 +71,7 @@

    npm-repo(1)

    Open package repository page in the browser

    npm-restart(1)

    -

    Start a package

    +

    Restart a package

    npm-rm(1)

    Remove a package

    npm-root(1)

    @@ -109,7 +109,7 @@

    API Documentation

    Using npm in your Node programs

    npm(3)

    -

    node package manager

    +

    javascript package manager

    npm-bin(3)

    Display npm bin folder

    npm-bugs(3)

    @@ -157,7 +157,7 @@

    npm-repo(3)

    Open package repository page in the browser

    npm-restart(3)

    -

    Start a package

    +

    Restart a package

    npm-root(3)

    Display npm root

    npm-run-script(3)

    @@ -230,5 +230,5 @@        - + diff --git a/deps/npm/html/doc/misc/npm-coding-style.html b/deps/npm/html/doc/misc/npm-coding-style.html index 30d3e07cfab..f792436194d 100644 --- a/deps/npm/html/doc/misc/npm-coding-style.html +++ b/deps/npm/html/doc/misc/npm-coding-style.html @@ -16,14 +16,14 @@ difference's sake, but rather a carefully crafted style that is designed to reduce visual clutter and make bugs more apparent.

    If you want to contribute to npm (which is very encouraged), you should make your code conform to npm's style.

    -

    Note: this concerns npm's code not the specific packages at npmjs.org

    +

    Note: this concerns npm's code not the specific packages that you can download from the npm registry.

    Line Length

    Keep lines shorter than 80 characters. It's better for lines to be too short than to be too long. Break up long lists, objects, and other statements onto multiple lines.

    Indentation

    Two-spaces. Tabs are better, but they look like hell in web browsers -(and on github), and node uses 2 spaces, so that's that.

    +(and on GitHub), and node uses 2 spaces, so that's that.

    Configure your editor appropriately.

    Curly braces

    Curly braces belong on the same line as the thing that necessitates them.

    @@ -147,5 +147,5 @@ set to anything."

           - + diff --git a/deps/npm/html/doc/misc/npm-config.html b/deps/npm/html/doc/misc/npm-config.html index 249d5934c9e..337d9822939 100644 --- a/deps/npm/html/doc/misc/npm-config.html +++ b/deps/npm/html/doc/misc/npm-config.html @@ -118,13 +118,18 @@ ostensibly Unix systems.

    ca

    • Default: The npm CA certificate
    • -
    • Type: String or null
    • +
    • Type: String, Array or null

    The Certificate Authority signing certificate that is trusted for SSL -connections to the registry.

    -

    Set to null to only allow "known" registrars, or to a specific CA cert +connections to the registry. Values should be in PEM format with newlines +replaced by the string "\n". For example:

    +
    ca="-----BEGIN CERTIFICATE-----\nXXXX\nXXXX\n-----END CERTIFICATE-----"
    +

    Set to null to only allow "known" registrars, or to a specific CA cert to trust only that specific signing authority.

    -

    See also the strict-ssl config.

    +

    Multiple CAs can be trusted by specifying an array of certificates:

    +
    ca[]="..."
    +ca[]="..."
    +

    See also the strict-ssl config.

    cafile