From 69967c67abcedd40116ba31878775bddadc055fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Thu, 4 Jun 2015 18:46:07 -0700 Subject: [PATCH] deps: upgrade to npm 2.11.1 Reviewed-By: Julien Gilli PR-URL: https://github.com/joyent/node/pull/25482 --- deps/npm/.mailmap | 1 + deps/npm/AUTHORS | 11 + deps/npm/CHANGELOG.md | 165 + deps/npm/Makefile | 9 +- deps/npm/README.md | 80 +- deps/npm/bin/node-gyp-bin/node-gyp.cmd | 2 +- deps/npm/doc/cli/npm-shrinkwrap.md | 28 +- deps/npm/doc/cli/npm-version.md | 10 + deps/npm/doc/files/npmrc.md | 5 + deps/npm/doc/misc/npm-faq.md | 14 +- deps/npm/doc/misc/npm-scripts.md | 4 + deps/npm/html/doc/README.html | 66 +- 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 | 2 +- deps/npm/html/doc/api/npm-outdated.html | 2 +- deps/npm/html/doc/api/npm-owner.html | 2 +- deps/npm/html/doc/api/npm-pack.html | 2 +- deps/npm/html/doc/api/npm-prefix.html | 2 +- deps/npm/html/doc/api/npm-prune.html | 2 +- deps/npm/html/doc/api/npm-publish.html | 2 +- deps/npm/html/doc/api/npm-rebuild.html | 2 +- deps/npm/html/doc/api/npm-repo.html | 2 +- deps/npm/html/doc/api/npm-restart.html | 2 +- deps/npm/html/doc/api/npm-root.html | 2 +- deps/npm/html/doc/api/npm-run-script.html | 2 +- deps/npm/html/doc/api/npm-search.html | 2 +- deps/npm/html/doc/api/npm-shrinkwrap.html | 2 +- deps/npm/html/doc/api/npm-start.html | 2 +- deps/npm/html/doc/api/npm-stop.html | 2 +- deps/npm/html/doc/api/npm-tag.html | 2 +- deps/npm/html/doc/api/npm-test.html | 2 +- deps/npm/html/doc/api/npm-uninstall.html | 2 +- deps/npm/html/doc/api/npm-unpublish.html | 2 +- deps/npm/html/doc/api/npm-update.html | 2 +- deps/npm/html/doc/api/npm-version.html | 2 +- deps/npm/html/doc/api/npm-view.html | 2 +- deps/npm/html/doc/api/npm-whoami.html | 2 +- deps/npm/html/doc/api/npm.html | 4 +- deps/npm/html/doc/cli/npm-access.html | 2 +- deps/npm/html/doc/cli/npm-adduser.html | 2 +- deps/npm/html/doc/cli/npm-bin.html | 2 +- deps/npm/html/doc/cli/npm-bugs.html | 2 +- deps/npm/html/doc/cli/npm-build.html | 2 +- deps/npm/html/doc/cli/npm-bundle.html | 2 +- deps/npm/html/doc/cli/npm-cache.html | 2 +- deps/npm/html/doc/cli/npm-completion.html | 2 +- deps/npm/html/doc/cli/npm-config.html | 2 +- deps/npm/html/doc/cli/npm-dedupe.html | 2 +- deps/npm/html/doc/cli/npm-deprecate.html | 2 +- deps/npm/html/doc/cli/npm-dist-tag.html | 2 +- deps/npm/html/doc/cli/npm-docs.html | 2 +- deps/npm/html/doc/cli/npm-edit.html | 2 +- deps/npm/html/doc/cli/npm-explore.html | 2 +- deps/npm/html/doc/cli/npm-help-search.html | 2 +- deps/npm/html/doc/cli/npm-help.html | 2 +- deps/npm/html/doc/cli/npm-init.html | 2 +- deps/npm/html/doc/cli/npm-install.html | 2 +- deps/npm/html/doc/cli/npm-link.html | 2 +- deps/npm/html/doc/cli/npm-logout.html | 2 +- deps/npm/html/doc/cli/npm-ls.html | 4 +- deps/npm/html/doc/cli/npm-outdated.html | 2 +- deps/npm/html/doc/cli/npm-owner.html | 2 +- deps/npm/html/doc/cli/npm-pack.html | 2 +- deps/npm/html/doc/cli/npm-prefix.html | 2 +- deps/npm/html/doc/cli/npm-prune.html | 2 +- deps/npm/html/doc/cli/npm-publish.html | 2 +- deps/npm/html/doc/cli/npm-rebuild.html | 2 +- deps/npm/html/doc/cli/npm-repo.html | 2 +- deps/npm/html/doc/cli/npm-restart.html | 2 +- deps/npm/html/doc/cli/npm-rm.html | 2 +- deps/npm/html/doc/cli/npm-root.html | 2 +- deps/npm/html/doc/cli/npm-run-script.html | 2 +- deps/npm/html/doc/cli/npm-search.html | 2 +- deps/npm/html/doc/cli/npm-shrinkwrap.html | 30 +- 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-tag.html | 2 +- deps/npm/html/doc/cli/npm-test.html | 2 +- deps/npm/html/doc/cli/npm-uninstall.html | 2 +- deps/npm/html/doc/cli/npm-unpublish.html | 2 +- deps/npm/html/doc/cli/npm-update.html | 2 +- deps/npm/html/doc/cli/npm-version.html | 10 +- deps/npm/html/doc/cli/npm-view.html | 2 +- deps/npm/html/doc/cli/npm-whoami.html | 2 +- deps/npm/html/doc/cli/npm.html | 10 +- deps/npm/html/doc/files/npm-folders.html | 2 +- deps/npm/html/doc/files/npm-global.html | 2 +- deps/npm/html/doc/files/npm-json.html | 2 +- deps/npm/html/doc/files/npmrc.html | 8 +- deps/npm/html/doc/files/package.json.html | 2 +- deps/npm/html/doc/index.html | 2 +- deps/npm/html/doc/misc/npm-coding-style.html | 2 +- deps/npm/html/doc/misc/npm-config.html | 2 +- deps/npm/html/doc/misc/npm-developers.html | 2 +- deps/npm/html/doc/misc/npm-disputes.html | 8 +- deps/npm/html/doc/misc/npm-faq.html | 18 +- deps/npm/html/doc/misc/npm-index.html | 2 +- deps/npm/html/doc/misc/npm-registry.html | 2 +- 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 | 2 +- deps/npm/html/partial/doc/README.html | 64 +- deps/npm/html/partial/doc/api/npm.html | 2 +- deps/npm/html/partial/doc/cli/npm-ls.html | 2 +- .../html/partial/doc/cli/npm-shrinkwrap.html | 28 +- .../npm/html/partial/doc/cli/npm-version.html | 8 + deps/npm/html/partial/doc/cli/npm.html | 8 +- deps/npm/html/partial/doc/files/npmrc.html | 6 +- .../html/partial/doc/misc/npm-disputes.html | 6 +- deps/npm/html/partial/doc/misc/npm-faq.html | 16 +- .../html/partial/doc/misc/npm-scripts.html | 4 + deps/npm/lib/cache/add-remote-git.js | 1 + deps/npm/lib/utils/error-handler.js | 18 +- deps/npm/lib/version.js | 35 +- deps/npm/man/man1/npm-README.1 | 25 +- deps/npm/man/man1/npm-access.1 | 2 +- deps/npm/man/man1/npm-adduser.1 | 2 +- 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 | 2 +- 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 | 2 +- deps/npm/man/man1/npm-logout.1 | 2 +- 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 | 2 +- deps/npm/man/man1/npm-rm.1 | 2 +- deps/npm/man/man1/npm-root.1 | 2 +- deps/npm/man/man1/npm-run-script.1 | 2 +- deps/npm/man/man1/npm-search.1 | 2 +- deps/npm/man/man1/npm-shrinkwrap.1 | 30 +- 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-tag.1 | 2 +- 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 | 2 +- deps/npm/man/man1/npm-version.1 | 18 +- deps/npm/man/man1/npm-view.1 | 2 +- deps/npm/man/man1/npm-whoami.1 | 2 +- deps/npm/man/man1/npm.1 | 4 +- 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 | 2 +- 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 | 2 +- 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 | 2 +- deps/npm/man/man3/npm-stop.3 | 2 +- deps/npm/man/man3/npm-tag.3 | 2 +- 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 | 4 +- deps/npm/man/man5/npm-folders.5 | 2 +- deps/npm/man/man5/npm-global.5 | 2 +- deps/npm/man/man5/npm-json.5 | 2 +- deps/npm/man/man5/npmrc.5 | 7 +- deps/npm/man/man5/package.json.5 | 2 +- deps/npm/man/man7/npm-coding-style.7 | 2 +- deps/npm/man/man7/npm-config.7 | 2 +- deps/npm/man/man7/npm-developers.7 | 2 +- deps/npm/man/man7/npm-disputes.7 | 2 +- deps/npm/man/man7/npm-faq.7 | 16 +- deps/npm/man/man7/npm-index.7 | 2 +- deps/npm/man/man7/npm-registry.7 | 2 +- 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 | 2 +- deps/npm/node_modules/abbrev/LICENSE | 32 +- deps/npm/node_modules/abbrev/package.json | 33 +- deps/npm/node_modules/async-some/LICENSE | 13 + deps/npm/node_modules/async-some/package.json | 38 +- deps/npm/node_modules/block-stream/LICENSE | 15 + .../node_modules/block-stream/package.json | 31 +- deps/npm/node_modules/chmodr/LICENSE | 36 +- deps/npm/node_modules/chmodr/package.json | 34 +- deps/npm/node_modules/chownr/LICENSE | 15 + deps/npm/node_modules/chownr/package.json | 38 +- deps/npm/node_modules/chownr/test/basic.js | 84 + deps/npm/node_modules/chownr/test/sync.js | 79 + deps/npm/node_modules/dezalgo/LICENSE | 15 + .../dezalgo/node_modules/asap/package.json | 5 +- deps/npm/node_modules/dezalgo/package.json | 36 +- deps/npm/node_modules/fs-vacuum/LICENSE | 13 + deps/npm/node_modules/fs-vacuum/package.json | 32 +- .../fs-write-stream-atomic/index.js | 6 +- .../fs-write-stream-atomic/package.json | 32 +- .../fs-write-stream-atomic/test/toolong.js | 24 + deps/npm/node_modules/glob/common.js | 1 + deps/npm/node_modules/glob/glob.js | 11 +- deps/npm/node_modules/glob/package.json | 23 +- deps/npm/node_modules/glob/sync.js | 6 +- deps/npm/node_modules/graceful-fs/LICENSE | 36 +- .../npm/node_modules/graceful-fs/package.json | 30 +- deps/npm/node_modules/hosted-git-info/LICENSE | 13 + .../node_modules/hosted-git-info/README.md | 2 +- .../hosted-git-info/git-host-info.js | 40 +- .../node_modules/hosted-git-info/git-host.js | 18 +- .../npm/node_modules/hosted-git-info/index.js | 4 +- .../node_modules/hosted-git-info/package.json | 34 +- .../init-package-json/default-input.js | 11 +- .../node_modules/promzard/package.json | 2 +- .../node_modules/spdx-correct/package.json | 2 +- .../validate-npm-package-license/package.json | 2 +- .../init-package-json/package.json | 42 +- deps/npm/node_modules/lockfile/LICENSE | 36 +- deps/npm/node_modules/lockfile/README.md | 6 +- deps/npm/node_modules/lockfile/package.json | 32 +- deps/npm/node_modules/lru-cache/LICENSE | 32 +- deps/npm/node_modules/lru-cache/package.json | 28 +- deps/npm/node_modules/minimatch/LICENSE | 32 +- deps/npm/node_modules/minimatch/package.json | 27 +- ...-gyp-always-install-into-PRODUCT_DIR.patch | 34 + ...tps-codereview.chromium.org-11361103.patch | 35 + ...nks-at-all-just-copy-the-files-inste.patch | 38 + deps/npm/node_modules/node-gyp/History.md | 27 + deps/npm/node_modules/node-gyp/README.md | 19 +- deps/npm/node_modules/node-gyp/addon.gypi | 56 +- .../node_modules/node-gyp/gyp/PRESUBMIT.py | 27 +- .../node-gyp/gyp/buildbot/aosp_manifest.xml | 466 ++ .../node-gyp/gyp/buildbot/buildbot_run.py | 123 +- .../node-gyp/gyp/buildbot/commit_queue/OWNERS | 6 + .../node-gyp/gyp/buildbot/commit_queue/README | 3 + .../gyp/buildbot/commit_queue/cq_config.json | 16 + .../node-gyp/gyp/codereview.settings | 10 +- deps/npm/node_modules/node-gyp/gyp/gyp | 2 +- .../npm/node_modules/node-gyp/gyp/gyp_dummy.c | 7 - deps/npm/node_modules/node-gyp/gyp/gyptest.py | 6 +- .../node-gyp/gyp/pylib/gyp/MSVSNew.py | 2 +- .../node-gyp/gyp/pylib/gyp/MSVSSettings.py | 90 +- .../gyp/pylib/gyp/MSVSSettings_test.py | 3 +- .../node-gyp/gyp/pylib/gyp/MSVSUtil.py | 33 +- .../node-gyp/gyp/pylib/gyp/MSVSVersion.py | 73 +- .../node-gyp/gyp/pylib/gyp/__init__.py | 15 +- .../node-gyp/gyp/pylib/gyp/common.py | 82 +- .../node-gyp/gyp/pylib/gyp/easy_xml.py | 5 + .../node-gyp/gyp/pylib/gyp/flock_tool.py | 7 +- .../gyp/pylib/gyp/generator/analyzer.py | 569 ++ .../gyp/pylib/gyp/generator/android.py | 247 +- .../node-gyp/gyp/pylib/gyp/generator/cmake.py | 6 +- .../gyp/pylib/gyp/generator/eclipse.py | 179 +- .../node-gyp/gyp/pylib/gyp/generator/gypd.py | 7 + .../node-gyp/gyp/pylib/gyp/generator/make.py | 59 +- .../node-gyp/gyp/pylib/gyp/generator/msvs.py | 309 +- .../node-gyp/gyp/pylib/gyp/generator/ninja.py | 471 +- .../gyp/pylib/gyp/generator/ninja_test.py | 21 +- .../node-gyp/gyp/pylib/gyp/generator/xcode.py | 66 +- .../node-gyp/gyp/pylib/gyp/input.py | 714 +- .../node-gyp/gyp/pylib/gyp/input_test.py | 14 +- .../node-gyp/gyp/pylib/gyp/mac_tool.py | 114 +- .../node-gyp/gyp/pylib/gyp/msvs_emulation.py | 198 +- .../node-gyp/gyp/pylib/gyp/simple_copy.py | 46 + .../node-gyp/gyp/pylib/gyp/win_tool.py | 39 +- .../node-gyp/gyp/pylib/gyp/xcode_emulation.py | 396 +- .../node-gyp/gyp/pylib/gyp/xcode_ninja.py | 270 + .../node-gyp/gyp/pylib/gyp/xcodeproj_file.py | 164 +- deps/npm/node_modules/node-gyp/gyp/pylintrc | 307 - .../node-gyp/gyp/tools/emacs/gyp.el | 49 +- .../node-gyp/gyp/tools/pretty_sln.py | 7 +- deps/npm/node_modules/node-gyp/lib/build.js | 2 +- .../node_modules/node-gyp/lib/configure.js | 22 +- deps/npm/node_modules/node-gyp/lib/install.js | 16 +- deps/npm/node_modules/node-gyp/lib/rebuild.js | 2 - .../glob/node_modules/minimatch/LICENSE | 32 +- .../glob/node_modules/minimatch/browser.js | 403 +- .../glob/node_modules/minimatch/minimatch.js | 401 +- .../glob/node_modules/minimatch/package.json | 33 +- .../minimatch/node_modules/sigmund/LICENSE | 36 +- .../minimatch/node_modules/sigmund/README.md | 6 +- .../node_modules/sigmund/package.json | 32 +- .../node_modules/minimatch/package.json | 3 +- .../node_modules/path-array/.npmignore | 1 + .../node_modules/path-array/.travis.yml | 6 + .../node_modules/path-array/History.md | 22 + .../node_modules/path-array/README.md | 92 + .../node-gyp/node_modules/path-array/index.js | 137 + .../node_modules/array-index}/.npmignore | 0 .../node_modules/array-index/.travis.yml | 5 + .../node_modules/array-index/History.md | 39 + .../node_modules/array-index/Makefile | 11 + .../node_modules/array-index/README.md | 156 + .../node_modules/array-index/component.json | 22 + .../node_modules/array-index/index.js | 180 + .../array-index/node_modules/debug/.npmignore | 6 + .../array-index/node_modules/debug/History.md | 195 + .../array-index/node_modules/debug/Makefile | 36 + .../array-index/node_modules/debug/Readme.md | 188 + .../array-index/node_modules/debug/bower.json | 28 + .../array-index/node_modules/debug/browser.js | 168 + .../node_modules/debug/component.json | 19 + .../array-index/node_modules/debug/debug.js | 197 + .../array-index/node_modules/debug/node.js | 209 + .../debug/node_modules/ms/.npmignore | 5 + .../debug/node_modules/ms/History.md | 66 + .../debug/node_modules/ms/LICENSE | 20 + .../debug/node_modules/ms/README.md | 35 + .../debug/node_modules/ms/index.js | 125 + .../debug/node_modules/ms/package.json | 48 + .../node_modules/debug/package.json | 73 + .../node_modules/array-index/package.json | 58 + .../node_modules/array-index/test.js | 76 + .../node_modules/path-array/package.json | 56 + .../node_modules/path-array/test/test.js | 68 + .../node-gyp/node_modules/tar/package.json | 3 +- deps/npm/node_modules/node-gyp/package.json | 23 +- .../node-gyp/src/win_delay_load_hook.c | 33 + deps/npm/node_modules/nopt/LICENSE | 32 +- deps/npm/node_modules/nopt/package.json | 40 +- .../node_modules/normalize-git-url/LICENSE | 13 + .../normalize-git-url/package.json | 14 +- .../normalize-package-data/lib/fixer.js | 11 +- .../normalize-package-data/lib/normalize.js | 2 + .../normalize-package-data/package.json | 13 +- .../test/mixedcase-names.js | 32 + .../node_modules/npm-package-arg/package.json | 14 +- .../npm-package-arg/test/basic.js | 2 +- .../npm-package-arg/test/bitbucket.js | 2 +- .../npm-package-arg/test/github.js | 2 +- .../npm-package-arg/test/gitlab.js | 2 +- .../npm-registry-client/lib/publish.js | 4 +- .../npm-registry-client/lib/star.js | 2 +- .../node_modules/string_decoder/package.json | 26 +- .../npm-registry-client/package.json | 12 +- .../@npm/npm-registry-client/cache.json | 1 - .../test/fixtures/underscore/1.3.3/cache.json | 1 - .../fixtures/underscore/1.3.3/package.tgz | Bin 58692 -> 0 bytes .../test/fixtures/underscore/cache.json | 1 - .../test/publish-mixcase-name.js | 91 + .../test/publish-new-mixcase-name.js | 72 + .../npm-registry-client/test/request.js | 2 +- .../npm-user-validate/package.json | 28 +- deps/npm/node_modules/npmlog/LICENSE | 36 +- deps/npm/node_modules/npmlog/log.js | 4 +- .../node_modules/delegates/package.json | 5 +- .../node_modules/core-util-is/package.json | 24 +- .../node_modules/isarray/package.json | 27 +- .../node_modules/string_decoder/package.json | 26 +- .../node_modules/readable-stream/package.json | 2 +- .../are-we-there-yet/package.json | 5 +- .../npmlog/node_modules/gauge/README.md~ | 153 - .../gauge/node_modules/has-unicode/README.md~ | 4 - .../node_modules/has-unicode/package.json | 5 +- .../lodash._basetostring/package.json | 2 +- .../node_modules/lodash.repeat/package.json | 2 +- .../lodash._createpadding/package.json | 2 +- .../node_modules/lodash.pad/package.json | 5 +- .../node_modules/lodash.padleft/README.md | 4 +- .../node_modules/lodash.padleft/index.js | 6 +- .../node_modules/lodash.padleft/package.json | 19 +- .../node_modules/lodash.padright/README.md | 4 +- .../node_modules/lodash.padright/index.js | 6 +- .../node_modules/lodash.padright/package.json | 19 +- .../npmlog/node_modules/gauge/package.json | 5 +- deps/npm/node_modules/npmlog/package.json | 33 +- deps/npm/node_modules/osenv/.npmignore | 13 + deps/npm/node_modules/osenv/LICENSE | 36 +- deps/npm/node_modules/osenv/package.json | 48 +- deps/npm/node_modules/read/LICENSE | 15 + .../read/node_modules/mute-stream/LICENSE | 36 +- .../node_modules/mute-stream/package.json | 32 +- deps/npm/node_modules/read/package.json | 31 +- .../realize-package-specifier/LICENSE | 13 + .../realize-package-specifier/package.json | 36 +- deps/npm/node_modules/request/CHANGELOG.md | 45 +- deps/npm/node_modules/request/README.md | 39 +- deps/npm/node_modules/request/index.js | 25 +- deps/npm/node_modules/request/lib/auth.js | 6 +- deps/npm/node_modules/request/lib/helpers.js | 2 +- .../npm/node_modules/request/lib/multipart.js | 6 +- deps/npm/node_modules/request/lib/oauth.js | 45 +- .../node_modules/request/lib/querystring.js | 51 + deps/npm/node_modules/request/lib/redirect.js | 31 +- .../node_modules/aws-sign2/package.json | 23 +- .../request/node_modules/bl/package.json | 26 +- .../node_modules/caseless/package.json | 16 +- .../node_modules/combined-stream/Readme.md | 9 +- .../node_modules/delayed-stream/.npmignore | 3 +- .../node_modules/delayed-stream/Readme.md | 13 - .../delayed-stream/lib/delayed_stream.js | 12 +- .../node_modules/delayed-stream/package.json | 49 +- .../node_modules/combined-stream/package.json | 35 +- .../node_modules/forever-agent/package.json | 36 +- .../form-data/node_modules/async/.travis.yml | 2 + .../form-data/node_modules/async/README.md | 65 +- .../form-data/node_modules/async/bower.json | 38 + .../node_modules/async/component.json | 21 +- .../form-data/node_modules/async/lib/async.js | 26 +- .../form-data/node_modules/async/package.json | 67 +- .../async/support/sync-package-managers.js | 53 + .../node_modules/combined-stream/License | 19 + .../node_modules/combined-stream/Readme.md | 132 + .../combined-stream/lib/combined_stream.js | 188 + .../node_modules/delayed-stream/.npmignore | 2 + .../node_modules/delayed-stream/License | 19 + .../node_modules/delayed-stream/Makefile | 6 + .../node_modules/delayed-stream/Readme.md | 154 + .../delayed-stream/lib/delayed_stream.js | 99 + .../node_modules/delayed-stream/package.json | 42 + .../delayed-stream/test/common.js | 0 .../integration/test-delayed-http-upload.js | 2 - .../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 .../node_modules/combined-stream/package.json | 37 + .../node_modules/form-data/package.json | 41 +- .../node_modules/har-validator/README.md | 23 +- .../node_modules/bluebird/changelog.md | 13 + .../bluebird/js/browser/bluebird.js | 56 +- .../bluebird/js/browser/bluebird.min.js | 8 +- .../node_modules/bluebird/js/main/async.js | 44 +- .../bluebird/js/main/direct_resolve.js | 8 + .../node_modules/bluebird/js/main/schedule.js | 2 +- .../node_modules/bluebird/package.json | 16 +- .../node_modules/ansi-styles/package.json | 32 +- .../escape-string-regexp/package.json | 32 +- .../node_modules/get-stdin/package.json | 27 +- .../chalk/node_modules/has-ansi/package.json | 32 +- .../node_modules/supports-color/package.json | 32 +- .../node_modules/chalk/package.json | 32 +- .../node_modules/commander/History.md | 17 + .../node_modules/commander/Readme.md | 37 +- .../node_modules/commander/index.js | 85 +- .../graceful-readlink/package.json | 24 +- .../node_modules/commander/package.json | 26 +- .../node_modules/is-my-json-valid/index.js | 30 +- .../generate-function/package.json | 25 +- .../generate-object-property/index.js | 6 +- .../node_modules/is-property/package.json | 24 +- .../generate-object-property/package.json | 21 +- .../node_modules/jsonpointer/package.json | 19 +- .../is-my-json-valid/package.json | 27 +- .../is-my-json-valid/test/misc.js | 63 + .../node_modules/har-validator/package.json | 50 +- .../node_modules/har-validator/src/index.js | 2 +- .../har-validator/src/schemas/cacheEntry.json | 50 +- .../hawk/node_modules/boom/README.md | 7 + .../hawk/node_modules/boom/lib/index.js | 8 +- .../hawk/node_modules/boom/package.json | 23 +- .../hawk/node_modules/boom/test/index.js | 16 + .../hawk/node_modules/cryptiles/package.json | 27 +- .../hawk/node_modules/hoek/README.md | 33 +- .../hawk/node_modules/hoek/lib/index.js | 58 +- .../hawk/node_modules/hoek/package.json | 33 +- .../hawk/node_modules/hoek/test/index.js | 158 +- .../hawk/node_modules/sntp/package.json | 27 +- .../request/node_modules/hawk/package.json | 27 +- .../node_modules/http-signature/lib/index.js | 5 +- .../node_modules/http-signature/lib/util.js | 16 +- .../node_modules/http-signature/lib/verify.js | 52 +- .../node_modules/asn1/package.json | 25 +- .../node_modules/assert-plus/package.json | 25 +- .../node_modules/ctype/package.json | 23 +- .../node_modules/http-signature/package.json | 21 +- .../node_modules/isstream/package.json | 26 +- .../json-stringify-safe/.npmignore | 1 + .../json-stringify-safe/CHANGELOG.md | 14 + .../node_modules/json-stringify-safe/LICENSE | 36 +- .../node_modules/json-stringify-safe/Makefile | 35 + .../json-stringify-safe/README.md | 3 + .../json-stringify-safe/package.json | 62 +- .../json-stringify-safe/stringify.js | 54 +- .../node_modules/json-stringify-safe/test.js | 128 - .../json-stringify-safe/test/mocha.opts | 2 + .../test/stringify_test.js | 246 + .../node_modules/mime-types/HISTORY.md | 12 + .../request/node_modules/mime-types/README.md | 10 +- .../node_modules/mime-db/HISTORY.md | 21 + .../mime-types/node_modules/mime-db/README.md | 10 +- .../mime-types/node_modules/mime-db/db.json | 30 +- .../node_modules/mime-db/package.json | 33 +- .../node_modules/mime-types/package.json | 21 +- .../node_modules/node-uuid/package.json | 5 +- .../request/node_modules/oauth-sign/index.js | 3 + .../node_modules/oauth-sign/package.json | 32 +- .../request/node_modules/oauth-sign/test.js | 15 + .../request/node_modules/qs/.eslintignore | 1 + .../request/node_modules/qs/.npmignore | 1 + .../request/node_modules/qs/CHANGELOG.md | 34 +- .../request/node_modules/qs/LICENSE | 0 .../request/node_modules/qs/Readme.md | 74 +- .../request/node_modules/qs/bower.json | 22 + .../request/node_modules/qs/lib/index.js | 0 .../request/node_modules/qs/lib/parse.js | 43 +- .../request/node_modules/qs/lib/stringify.js | 42 +- .../request/node_modules/qs/lib/utils.js | 66 +- .../request/node_modules/qs/package.json | 37 +- .../request/node_modules/qs/test/parse.js | 238 +- .../request/node_modules/qs/test/stringify.js | 58 +- .../request/node_modules/qs/test/utils.js | 28 + .../node_modules/stringstream/package.json | 22 +- .../node_modules/tough-cookie/.editorconfig | 12 + .../node_modules/tough-cookie/.npmignore | 1 + .../node_modules/tough-cookie/.travis.yml | 3 +- .../request/node_modules/tough-cookie/LICENSE | 48 +- .../node_modules/tough-cookie/README.md | 86 +- .../tough-cookie/generate-pubsuffix.js | 174 +- .../node_modules/tough-cookie/lib/cookie.js | 345 +- .../node_modules/tough-cookie/lib/memstore.js | 71 +- .../tough-cookie/lib/pathMatch.js | 61 + .../tough-cookie/lib/permuteDomain.js | 56 + .../tough-cookie/lib/pubsuffix.js | 75 +- .../node_modules/tough-cookie/lib/store.js | 30 + .../node_modules/punycode/LICENSE-MIT.txt | 20 - .../node_modules/punycode/README.md | 176 - .../node_modules/punycode/package.json | 80 - .../node_modules/punycode/punycode.js | 530 -- .../node_modules/tough-cookie/package.json | 45 +- .../tough-cookie/public-suffix.txt | 6172 +++++++++++++++-- .../request/node_modules/tough-cookie/test.js | 1625 ----- .../tough-cookie/test/api_test.js | 372 + .../tough-cookie/test/cookie_jar_test.js | 468 ++ .../tough-cookie/test/cookie_sorting_test.js | 90 + .../tough-cookie/test/cookie_to_json_test.js | 164 + .../test/cookie_to_string_test.js | 162 + .../tough-cookie/test/date_test.js | 79 + .../tough-cookie/test/domain_and_path_test.js | 200 + .../test/ietf_data/dates/bsd-examples.json | 168 + .../test/ietf_data/dates/examples.json | 48 + .../tough-cookie/test/ietf_data/parser.json | 1959 ++++++ .../tough-cookie/test/ietf_test.js | 106 + .../tough-cookie/test/lifetime_test.js | 97 + .../tough-cookie/test/parsing_test.js | 294 + .../tough-cookie/test/regression_test.js | 143 + .../node_modules/tunnel-agent/package.json | 26 +- deps/npm/node_modules/request/package.json | 38 +- deps/npm/node_modules/request/request.js | 139 +- deps/npm/node_modules/rimraf/LICENSE | 32 +- deps/npm/node_modules/rimraf/package.json | 28 +- deps/npm/node_modules/rimraf/rimraf.js | 1 + .../validate-npm-package-name/.npmignore | 1 + .../validate-npm-package-name/README.md | 0 .../validate-npm-package-name/index.js | 0 .../node_modules/builtins/.travis.yml | 0 .../node_modules/builtins/History.md | 10 +- .../node_modules/builtins/Readme.md | 0 .../node_modules/builtins/builtins.json | 0 .../node_modules/builtins/package.json | 0 .../validate-npm-package-name/package.json | 2 +- .../validate-npm-package-name/test/index.js | 0 .../node_modules/write-file-atomic/LICENSE | 5 + .../write-file-atomic/package.json | 23 +- deps/npm/package.json | 67 +- deps/npm/scripts/update-authors.sh | 15 +- .../test/fixtures/config/userconfig-with-gc | 2 +- deps/npm/test/tap/ignore-scripts.js | 8 +- .../test/tap/scripts-whitespace-windows.js | 4 +- deps/npm/test/tap/version-no-git.js | 2 +- deps/npm/test/tap/view.js | 57 + 620 files changed, 22758 insertions(+), 8241 deletions(-) create mode 100644 deps/npm/node_modules/async-some/LICENSE create mode 100644 deps/npm/node_modules/block-stream/LICENSE create mode 100644 deps/npm/node_modules/chownr/LICENSE create mode 100644 deps/npm/node_modules/chownr/test/basic.js create mode 100644 deps/npm/node_modules/chownr/test/sync.js create mode 100644 deps/npm/node_modules/dezalgo/LICENSE create mode 100644 deps/npm/node_modules/fs-vacuum/LICENSE create mode 100644 deps/npm/node_modules/fs-write-stream-atomic/test/toolong.js create mode 100644 deps/npm/node_modules/hosted-git-info/LICENSE create mode 100644 deps/npm/node_modules/node-gyp/0001-gyp-always-install-into-PRODUCT_DIR.patch create mode 100644 deps/npm/node_modules/node-gyp/0002-gyp-apply-https-codereview.chromium.org-11361103.patch create mode 100644 deps/npm/node_modules/node-gyp/0003-gyp-don-t-use-links-at-all-just-copy-the-files-inste.patch create mode 100644 deps/npm/node_modules/node-gyp/History.md create mode 100644 deps/npm/node_modules/node-gyp/gyp/buildbot/aosp_manifest.xml create mode 100644 deps/npm/node_modules/node-gyp/gyp/buildbot/commit_queue/OWNERS create mode 100644 deps/npm/node_modules/node-gyp/gyp/buildbot/commit_queue/README create mode 100644 deps/npm/node_modules/node-gyp/gyp/buildbot/commit_queue/cq_config.json delete mode 100644 deps/npm/node_modules/node-gyp/gyp/gyp_dummy.c create mode 100644 deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py create mode 100644 deps/npm/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py create mode 100644 deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py delete mode 100644 deps/npm/node_modules/node-gyp/gyp/pylintrc create mode 100644 deps/npm/node_modules/node-gyp/node_modules/path-array/.npmignore create mode 100644 deps/npm/node_modules/node-gyp/node_modules/path-array/.travis.yml create mode 100644 deps/npm/node_modules/node-gyp/node_modules/path-array/History.md create mode 100644 deps/npm/node_modules/node-gyp/node_modules/path-array/README.md create mode 100644 deps/npm/node_modules/node-gyp/node_modules/path-array/index.js rename deps/npm/node_modules/{init-package-json/node_modules/validate-npm-package-name => node-gyp/node_modules/path-array/node_modules/array-index}/.npmignore (100%) create mode 100644 deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/.travis.yml create mode 100644 deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/History.md create mode 100644 deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/Makefile create mode 100644 deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/README.md create mode 100644 deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/component.json create mode 100644 deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/index.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/debug/.npmignore create mode 100644 deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/debug/History.md create mode 100644 deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/debug/Makefile create mode 100644 deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/debug/Readme.md create mode 100644 deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/debug/bower.json create mode 100644 deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/debug/browser.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/debug/component.json create mode 100644 deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/debug/debug.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/debug/node.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/debug/node_modules/ms/.npmignore create mode 100644 deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/debug/node_modules/ms/History.md create mode 100644 deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/debug/node_modules/ms/LICENSE create mode 100644 deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/debug/node_modules/ms/README.md create mode 100644 deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/debug/node_modules/ms/index.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/debug/node_modules/ms/package.json create mode 100644 deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/debug/package.json create mode 100644 deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/package.json create mode 100644 deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/test.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/path-array/package.json create mode 100644 deps/npm/node_modules/node-gyp/node_modules/path-array/test/test.js create mode 100644 deps/npm/node_modules/node-gyp/src/win_delay_load_hook.c create mode 100644 deps/npm/node_modules/normalize-git-url/LICENSE create mode 100644 deps/npm/node_modules/normalize-package-data/test/mixedcase-names.js delete mode 100644 deps/npm/node_modules/npm-registry-client/test/fixtures/@npm/npm-registry-client/cache.json delete mode 100644 deps/npm/node_modules/npm-registry-client/test/fixtures/underscore/1.3.3/cache.json delete mode 100644 deps/npm/node_modules/npm-registry-client/test/fixtures/underscore/1.3.3/package.tgz delete mode 100644 deps/npm/node_modules/npm-registry-client/test/fixtures/underscore/cache.json create mode 100644 deps/npm/node_modules/npm-registry-client/test/publish-mixcase-name.js create mode 100644 deps/npm/node_modules/npm-registry-client/test/publish-new-mixcase-name.js delete mode 100644 deps/npm/node_modules/npmlog/node_modules/gauge/README.md~ delete mode 100644 deps/npm/node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/README.md~ create mode 100644 deps/npm/node_modules/osenv/.npmignore create mode 100644 deps/npm/node_modules/read/LICENSE create mode 100644 deps/npm/node_modules/realize-package-specifier/LICENSE create mode 100644 deps/npm/node_modules/request/lib/querystring.js create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/async/bower.json mode change 100755 => 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/async/lib/async.js create mode 100755 deps/npm/node_modules/request/node_modules/form-data/node_modules/async/support/sync-package-managers.js create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/License create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/Readme.md create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/lib/combined_stream.js create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/.npmignore create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/License create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/Makefile create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/Readme.md create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/lib/delayed_stream.js create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/package.json 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 (99%) 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%) create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/package.json create mode 100644 deps/npm/node_modules/request/node_modules/json-stringify-safe/.npmignore create mode 100644 deps/npm/node_modules/request/node_modules/json-stringify-safe/CHANGELOG.md create mode 100644 deps/npm/node_modules/request/node_modules/json-stringify-safe/Makefile delete mode 100644 deps/npm/node_modules/request/node_modules/json-stringify-safe/test.js create mode 100644 deps/npm/node_modules/request/node_modules/json-stringify-safe/test/mocha.opts create mode 100644 deps/npm/node_modules/request/node_modules/json-stringify-safe/test/stringify_test.js create mode 100644 deps/npm/node_modules/request/node_modules/qs/.eslintignore mode change 100755 => 100644 deps/npm/node_modules/request/node_modules/qs/LICENSE mode change 100755 => 100644 deps/npm/node_modules/request/node_modules/qs/Readme.md create mode 100644 deps/npm/node_modules/request/node_modules/qs/bower.json mode change 100755 => 100644 deps/npm/node_modules/request/node_modules/qs/lib/index.js mode change 100755 => 100644 deps/npm/node_modules/request/node_modules/qs/lib/parse.js mode change 100755 => 100644 deps/npm/node_modules/request/node_modules/qs/lib/stringify.js mode change 100755 => 100644 deps/npm/node_modules/request/node_modules/qs/lib/utils.js mode change 100755 => 100644 deps/npm/node_modules/request/node_modules/qs/test/parse.js mode change 100755 => 100644 deps/npm/node_modules/request/node_modules/qs/test/stringify.js create mode 100644 deps/npm/node_modules/request/node_modules/qs/test/utils.js create mode 100644 deps/npm/node_modules/request/node_modules/tough-cookie/.editorconfig create mode 100644 deps/npm/node_modules/request/node_modules/tough-cookie/lib/pathMatch.js create mode 100644 deps/npm/node_modules/request/node_modules/tough-cookie/lib/permuteDomain.js delete mode 100644 deps/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/LICENSE-MIT.txt delete mode 100644 deps/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/README.md delete mode 100644 deps/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/package.json delete mode 100644 deps/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/punycode.js delete mode 100644 deps/npm/node_modules/request/node_modules/tough-cookie/test.js create mode 100644 deps/npm/node_modules/request/node_modules/tough-cookie/test/api_test.js create mode 100644 deps/npm/node_modules/request/node_modules/tough-cookie/test/cookie_jar_test.js create mode 100644 deps/npm/node_modules/request/node_modules/tough-cookie/test/cookie_sorting_test.js create mode 100644 deps/npm/node_modules/request/node_modules/tough-cookie/test/cookie_to_json_test.js create mode 100644 deps/npm/node_modules/request/node_modules/tough-cookie/test/cookie_to_string_test.js create mode 100644 deps/npm/node_modules/request/node_modules/tough-cookie/test/date_test.js create mode 100644 deps/npm/node_modules/request/node_modules/tough-cookie/test/domain_and_path_test.js create mode 100644 deps/npm/node_modules/request/node_modules/tough-cookie/test/ietf_data/dates/bsd-examples.json create mode 100644 deps/npm/node_modules/request/node_modules/tough-cookie/test/ietf_data/dates/examples.json create mode 100644 deps/npm/node_modules/request/node_modules/tough-cookie/test/ietf_data/parser.json create mode 100644 deps/npm/node_modules/request/node_modules/tough-cookie/test/ietf_test.js create mode 100644 deps/npm/node_modules/request/node_modules/tough-cookie/test/lifetime_test.js create mode 100644 deps/npm/node_modules/request/node_modules/tough-cookie/test/parsing_test.js create mode 100644 deps/npm/node_modules/request/node_modules/tough-cookie/test/regression_test.js create mode 100644 deps/npm/node_modules/validate-npm-package-name/.npmignore rename deps/npm/node_modules/{init-package-json/node_modules => }/validate-npm-package-name/README.md (100%) rename deps/npm/node_modules/{init-package-json/node_modules => }/validate-npm-package-name/index.js (100%) rename deps/npm/node_modules/{init-package-json/node_modules => }/validate-npm-package-name/node_modules/builtins/.travis.yml (100%) rename deps/npm/node_modules/{init-package-json/node_modules => }/validate-npm-package-name/node_modules/builtins/History.md (78%) rename deps/npm/node_modules/{init-package-json/node_modules => }/validate-npm-package-name/node_modules/builtins/Readme.md (100%) rename deps/npm/node_modules/{init-package-json/node_modules => }/validate-npm-package-name/node_modules/builtins/builtins.json (100%) rename deps/npm/node_modules/{init-package-json/node_modules => }/validate-npm-package-name/node_modules/builtins/package.json (100%) rename deps/npm/node_modules/{init-package-json/node_modules => }/validate-npm-package-name/package.json (96%) rename deps/npm/node_modules/{init-package-json/node_modules => }/validate-npm-package-name/test/index.js (100%) create mode 100644 deps/npm/node_modules/write-file-atomic/LICENSE diff --git a/deps/npm/.mailmap b/deps/npm/.mailmap index c9117dde31b9ec..cbcb3ba8bbfc2f 100644 --- a/deps/npm/.mailmap +++ b/deps/npm/.mailmap @@ -33,6 +33,7 @@ Nicolas Morel Olivier Melcher Ra'Shaun Stovall Rebecca Turner +Rebecca Turner Ryan Emery Sam Mikes Takaya Kobayashi diff --git a/deps/npm/AUTHORS b/deps/npm/AUTHORS index a56ba0922ef852..8b5893797f455d 100644 --- a/deps/npm/AUTHORS +++ b/deps/npm/AUTHORS @@ -279,3 +279,14 @@ Antti Mattila laiso Matt Zorn Kyle Mitchell +Michael Hayes +Benjamin Coe +Jeremiah Senkpiel +Michael Klein +Simen Bekkhus +Victor +thefourtheye +Clay Carpenter +bangbang93 +Nick Malaguti +colakong diff --git a/deps/npm/CHANGELOG.md b/deps/npm/CHANGELOG.md index 56536255252b04..048e12de6f64c6 100644 --- a/deps/npm/CHANGELOG.md +++ b/deps/npm/CHANGELOG.md @@ -1,3 +1,168 @@ +### v2.11.1 (2015-05-28): + +This release brought to you from poolside at the Omni Amelia Island Resort and +JSConf 2015, which is why it's so tiny. + +#### CONFERENCE WIFI CAN'T STOP THESE BUG FIXES + +* [`cf109a6`](https://github.com/npm/npm/commit/cf109a682f38a059a994da953d5c1b4aaece5e2f) + [#8381](https://github.com/npm/npm/issues/8381) Documented a subtle gotcha + with `.npmrc`, which is that it needs to have its permissions set such that + only the owner can read or write the file. + ([@colakong](https://github.com/colakong)) +* [`180da67`](https://github.com/npm/npm/commit/180da67c9fa53103d625e2f031626c2453c7ebcd) + [#8365](https://github.com/npm/npm/issues/8365) Git 2.3 adds support for + `GIT_SSH_COMMAND`, which allows you to pass an explicit git command (with, + for example, a specific identity passed in on the command line). + ([@nmalaguti](https://github.com/nmalaguti)) + +#### MY (VIRGIN) PINA COLADA IS GETTING LOW, BETTER UPGRADE THESE DEPENDENCIES + +* [`b72de41`](https://github.com/npm/npm/commit/b72de41c5cc9f0c46d3fa8f062c75bd273641474) + `node-gyp@2.0.0`: Use a newer version of `gyp`, and generally improve support + for Visual Studios and Windows. + ([@TooTallNate](https://github.com/TooTallNate)) +* [`8edbe21`](https://github.com/npm/npm/commit/8edbe210af41e8f248f5bb92c72de92f54fda3b1) + `node-gyp@2.0.1`: Don't crash when Python's version doesn't parse as valid + semver. ([@TooTallNate](https://github.com/TooTallNate)) +* [`ba0e0a8`](https://github.com/npm/npm/commit/ba0e0a845a4f29717aba566b416a27d1a22f5d08) + `glob@5.0.10`: Add coverage to tests. ([@isaacs](https://github.com/isaacs)) +* [`7333701`](https://github.com/npm/npm/commit/7333701b5d4f01673f37d64992c63c4e15864d6d) + `request@2.56.0`: Bug fixes and dependency upgrades. + ([@simov](https://github.com/simov)) + +### v2.11.0 (2015-05-21): + +For the first time in a very long time, we've added new events to the life +cycle used by `npm run-script`. Since running `npm version (major|minor|patch)` +is typically the last thing many developers do before publishing their updated +packages, it makes sense to add life cycle hooks to run tests or otherwise +preflight the package before doing a full publish. Thanks, as always, to the +indefatigable [@watilde](https://github.com/watilde) for yet another great +usability improvement for npm! + +#### FEATURELETS + +* [`b07f7c7`](https://github.com/npm/npm/commit/b07f7c7c1e5021730b3c320f1b3a46e70f8a21ff) + [#7906](https://github.com/npm/npm/issues/7906) + Add new [`scripts`](https://github.com/npm/npm/blob/master/doc/misc/npm-scripts.md) to + allow you to run scripts before and after + the [`npm version`](https://github.com/npm/npm/blob/master/doc/cli/npm-version.md) + command has run. This makes it easy to, for instance, require that your + test suite passes before bumping the version by just adding `"preversion": + "npm test"` to the scripts section of your `package.json`. + ([@watilde](https://github.com/watilde)) +* [`8a46136`](https://github.com/npm/npm/commit/8a46136f42e416cbadb533bcf89d73d681ed421d) + [#8185](https://github.com/npm/npm/issues/8185) + When we get a "not found" error from the registry, we'll now check to see + if the package name you specified is invalid and if so, give you a better + error message. ([@thefourtheye](https://github.com/thefourtheye)) + +#### BUG FIXES + +* [`9bcf573`](https://github.com/npm/npm/commit/9bcf5730bd0316f210dafea898afe9103849cea9) + [#8324](https://github.com/npm/npm/pull/8324) On Windows, when you've configured a + custom `node-gyp`, run it with node itself instead of using the default open action (which + is almost never what you want). ([@bangbang93](https://github.com/bangbang93)) +* [`1da9b04`](https://github.com/npm/npm/commit/1da9b0411d3416c7fca17d08cbbcfca7ae86e92d) + [#7195](https://github.com/npm/npm/issues/7195) + [#7260](https://github.com/npm/npm/issues/7260) `npm-registry-client@6.4.0`: + (Re-)allow publication of existing mixed-case packages (part 1). + ([@smikes](https://github.com/smikes)) +* [`e926783`](https://github.com/npm/npm/commit/e9267830ab261c751f12723e84d2458ae9238646) + [#7195](https://github.com/npm/npm/issues/7195) + [#7260](https://github.com/npm/npm/issues/7260) + `normalize-package-data@2.2.0`: (Re-)allow publication of existing mixed-case + packages (part 2). ([@smikes](https://github.com/smikes)) + +#### DOCUMENTATION IMPROVEMENTS + +* [`f62ee05`](https://github.com/npm/npm/commit/f62ee05333b141539a8e851c620dd2e82ff06860) + [#8314](https://github.com/npm/npm/issues/8314) Update the README to warn + folks away from using the CLI's internal API. For the love of glob, just use a + child process to run the CLI! ([@claycarpenter](https://github.com/claycarpenter)) +* [`1093921`](https://github.com/npm/npm/commit/1093921c04db41ab46db24a170a634a4b2acd8d9) + [#8279](https://github.com/npm/npm/pull/8279) + Update the documentation to note that, yes, you can publish scoped packages to the + public registry now! ([@mantoni](https://github.com/mantoni)) +* [`f87cde5`](https://github.com/npm/npm/commit/f87cde5234a760d3e515ffdaacaed6f5b71dbf44) + [#8292](https://github.com/npm/npm/pull/8292) + Fix typo in an example and grammar in the description in + the [shrinkwrap documentation](https://github.com/npm/npm/blob/master/doc/cli/npm-shrinkwrap.md). + ([@vshih](https://github.com/vshih)) +* [`d3526ce`](https://github.com/npm/npm/commit/d3526ceb09a0c29fdb7d4124536ae09057d033e7) + Improve the formatting in + the [shrinkwrap documentation](https://github.com/npm/npm/blob/master/doc/cli/npm-shrinkwrap.md). + ([@othiym23](https://github.com/othiym23)) +* [`19fe6d2`](https://github.com/npm/npm/commit/19fe6d20883e28956ff916fe4dae42d73ee6195b) + [#8311](https://github.com/npm/npm/pull/8311) + Update [README.md](https://github.com/npm/npm#readme) to use syntax highlighting in + its code samples and bits of shell scripts. ([@SimenB](https://github.com/SimenB)) + +#### DEPENDENCY UPDATES! ALWAYS AND FOREVER! + +* [`fc52160`](https://github.com/npm/npm/commit/fc52160d0223226fffe4166f42fdfd3b899b3c1e) + [#4700](https://github.com/npm/npm/issues/4700) [#5044](https://github.com/npm/npm/issues/5044) + `init-package-json@1.6.0`: Make entering an invalid version while running `npm init` give + you an immediate error and prompt you to correct it. ([@watilde](https://github.com/watilde)) +* [`738853e`](https://github.com/npm/npm/commit/738853eb1f55636476a2a410c2c04732eec9d51e) + [#7763](https://github.com/npm/npm/issues/7763) `fs-write-stream-atomic@1.0.3`: Fix a bug + where errors would not propagate, making error messages unhelpful. + ([@iarna](https://github.com/iarna)) +* [`6d74a2d`](https://github.com/npm/npm/commit/6d74a2d2ac7f92750cf6a2cfafae1af23b569098) + `npm-package-arg@4.0.1`: Fix tests on windows ([@Bacra](https://github.com)) and with + more recent `hosted-git-info`. ([@iarna](https://github.com/iarna)) +* [`50f7178`](https://github.com/npm/npm/commit/50f717852fbf713ef6cbc4e0a9ab42657decbbbd) + `hosted-git-info@2.1.4`: Correct spelling in its documentation. + ([@iarna](https://github.com/iarna)) +* [`d7956ca`](https://github.com/npm/npm/commit/d7956ca17c057d5383ff0d3fc5cf6ac2940b034d) + `glob@5.0.7`: Fix a bug where unusual error conditions could make + further use of the module fail. ([@isaacs](https://github.com/isaacs)) +* [`44f7d74`](https://github.com/npm/npm/commit/44f7d74c5d3181d37da7ea7949c86b344153f8d9) + `tap@1.1.0`: Update to the most recent tap to get a whole host of bug + fixes and integration with [coveralls](https://coveralls.io/). + ([@isaacs](https://github.com/isaacs)) +* [`c21e8a8`](https://github.com/npm/npm/commit/c21e8a8d94bcf0ad79dc583ddc53f8366d4813b3) + `nock@2.2.0` ([@othiym23](https://github.com/othiym23)) + +#### LICENSE FILES FOR THE LICENSE GOD + +* Add missing ISC license file to package ([@kasicka](https://github.com/kasicka)): + * [`aa9908c`](https://github.com/npm/npm/commit/aa9908c20017729673b9d410b77f9a16b7aae8a4) `realize-package-specifier@3.0.1` + * [`23a3b1a`](https://github.com/npm/npm/commit/23a3b1a726b9176c70ce0ccf3cd9d25c54429bdf) `fs-vacuum@1.2.6` + * [`8e04bba`](https://github.com/npm/npm/commit/8e04bba830d4353d84751d21803cd127c96153a7) `dezalgo@1.0.2` + * [`50f7178`](https://github.com/npm/npm/commit/50f717852fbf713ef6cbc4e0a9ab42657decbbbd) `hosted-git-info@2.1.4` + * [`6a54917`](https://github.com/npm/npm/commit/6a54917fbd4df995495a95d4b548defd44b77c93) `write-file-atomic@1.1.2` + * [`971f92c`](https://github.com/npm/npm/commit/971f92c4a4e5514217d1e4db45d1ccf71a60ff19) `async-some@1.0.2` + * [`67b50b7`](https://github.com/npm/npm/commit/67b50b7667a42bb3340a660eb2e617e1a554d2d4) `normalize-git-url@1.0.1` + +#### SPDX LICENSE UPDATES + +* Switch license to + [BSD-2-Clause](http://spdx.org/licenses/BSD-2-Clause.html#licenseText) from + plain "BSD" ([@isaacs](https://github.com/isaacs)): + * [`efdb733`](https://github.com/npm/npm/commit/efdb73332eeedcad4c609796929070b62abb37ab) `npm-user-validate@0.1.2` + * [`e926783`](https://github.com/npm/npm/commit/e9267830ab261c751f12723e84d2458ae9238646) `normalize-package-data@2.2.0` +* Switch license to [ISC](http://spdx.org/licenses/ISC.html#licenseText) from + [BSD](http://spdx.org/licenses/BSD-2-Clause.html#licenseText) + ([@isaacs](https://github.com/isaacs)): + * [`c300956`](https://github.com/npm/npm/commit/c3009565a964f0ead4ac4ab234b1a458e2365f17) `block-stream@0.0.8` + * [`1de1253`](https://github.com/npm/npm/commit/1de125355765fecd31e682ed0ff9d2edbeac0bb0) `lockfile@1.0.1` + * [`0d5698a`](https://github.com/npm/npm/commit/0d5698ab132e376c7aec93ae357c274932116220) `osenv@0.1.1` + * [`2e84921`](https://github.com/npm/npm/commit/2e84921474e1ffb18de9fce4616e73171fa8046d) `abbrev@1.0.6` + * [`872fac9`](https://github.com/npm/npm/commit/872fac9d10c11607e4d0348c08a683b84e64d30b) `chmodr@0.1.1` + * [`01eb7f6`](https://github.com/npm/npm/commit/01eb7f60acba584346ad8aae846657899f3b6887) `chownr@0.0.2` + * [`294336f`](https://github.com/npm/npm/commit/294336f0f31c7b9fe31a50075ed750db6db134d1) `read@1.0.6` + * [`ebdf6a1`](https://github.com/npm/npm/commit/ebdf6a14d17962cdb7128402c53b452f91d44ca7) `graceful-fs@3.0.7` +* Switch license to [ISC](http://spdx.org/licenses/ISC.html#licenseText) from + [MIT](http://spdx.org/licenses/MIT.html#licenseText) + ([@isaacs](https://github.com/isaacs)): + * [`e5d237f`](https://github.com/npm/npm/commit/e5d237fc0f436dd2a89437ebf8a9632a2e35ccbe) `nopt@3.0.2` + * [`79fef14`](https://github.com/npm/npm/commit/79fef1421b78f044980f0d1bf0e97039b6992710) `rimraf@2.3.4` + * [`22527da`](https://github.com/npm/npm/commit/22527da4816e7c2746cdc0317c5fb4a85152d554) `minimatch@2.0.8` + * [`882ac87`](https://github.com/npm/npm/commit/882ac87a6c4123ca985d7ad4394ea5085e5b0ef5) `lru-cache@2.6.4` + * [`9d9d015`](https://github.com/npm/npm/commit/9d9d015a2e972f68664dda54fbb204db28b21ede) `npmlog@1.2.1` + ### v2.10.1 (2015-05-14): #### BUG FIXES & DOCUMENTATION TWEAKS diff --git a/deps/npm/Makefile b/deps/npm/Makefile index 365d80da081d61..d935edfefe6d9c 100644 --- a/deps/npm/Makefile +++ b/deps/npm/Makefile @@ -230,12 +230,7 @@ test: doc tag: npm tag npm@$(PUBLISHTAG) latest -authors: - @bash scripts/update-authors.sh &&\ - git add AUTHORS &&\ - git commit -m "update AUTHORS" || true - -publish: authors link doc +publish: link doc @git push origin :v$(shell npm -v) 2>&1 || true git clean -fd &&\ git push origin $(BRANCH) &&\ @@ -248,4 +243,4 @@ release: sandwich: @[ $$(whoami) = "root" ] && (echo "ok"; echo "ham" > sandwich) || (echo "make it yourself" && exit 13) -.PHONY: all latest install dev link doc clean uninstall test man doc-clean docclean release authors +.PHONY: all latest install dev link doc clean uninstall test man doc-clean docclean release diff --git a/deps/npm/README.md b/deps/npm/README.md index f696825009f45b..dcd06b50dbc566 100644 --- a/deps/npm/README.md +++ b/deps/npm/README.md @@ -40,17 +40,23 @@ There's a pretty robust install script at Here's an example using curl: - curl -L https://www.npmjs.com/install.sh | sh +```sh +curl -L https://www.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 +```sh +npm_config_prefix=/some/path sh install.sh +``` Or, you can run it in uber-debuggery mode: - npm_debug=1 sh install.sh +```sh +npm_debug=1 sh install.sh +``` ### Even Fancier @@ -83,11 +89,14 @@ No. So sad to see you go. - sudo npm uninstall npm -g - +```sh +sudo npm uninstall npm -g +``` Or, if that fails, - sudo make uninstall +```sh +sudo make uninstall +``` ## More Severe Uninstalling @@ -101,13 +110,17 @@ remove them. To remove cruft left behind by npm 0.x, you can use the included `clean-old.sh` script file. You can run it conveniently like this: - npm explore npm -g -- sh scripts/clean-old.sh +```sh +npm explore npm -g -- sh scripts/clean-old.sh +``` npm uses two configuration files, one for per-user configs, and another for global (every-user) configs. You can view them by doing: - npm config get userconfig # defaults to ~/.npmrc - npm config get globalconfig # defaults to /usr/local/etc/npmrc +```sh +npm config get userconfig # defaults to ~/.npmrc +npm config get globalconfig # defaults to /usr/local/etc/npmrc +``` Uninstalling npm does not remove configuration files by default. You must remove them yourself manually if you want them gone. Note that @@ -116,26 +129,35 @@ you have chosen. ## Using npm Programmatically -If you would like to use npm programmatically, you can do that. -It's not very well documented, but it *is* rather simple. - -Most of the time, unless you actually want to do all the things that -npm does, you should try using one of npm's dependencies rather than -using npm itself, if possible. - -Eventually, npm will be just a thin cli wrapper around the modules -that it depends on, but for now, there are some things that you must -use npm itself to do. - - var npm = require("npm") - npm.load(myConfigObject, function (er) { - if (er) return handlError(er) - npm.commands.install(["some", "args"], function (er, data) { - if (er) return commandFailed(er) - // command succeeded, and data might have some info - }) - npm.registry.log.on("log", function (message) { .... }) - }) +Although npm can be used programmatically, its API is meant for use by the CLI +*only*, and no guarantees are made regarding its fitness for any other purpose. +If you want to use npm to reliably perform some task, the safest thing to do is +to invoke the desired `npm` command with appropriate arguments. + +The semantic version of npm refers to the CLI itself, rather than the +underlying API. _The internal API is not guaranteed to remain stable even when +npm's version indicates no breaking changes have been made according to +semver._ + +If you _still_ would like to use npm programmatically, it's _possible_. The API +isn't very well documented, but it _is_ rather simple. + +Eventually, npm will be just a thin CLI wrapper around the modules that it +depends on, but for now, there are some things that only the CLI can do. You +should try using one of npm's dependencies first, and only use the API if what +you're trying to do is only supported by npm itself. + +```javascript +var npm = require("npm") +npm.load(myConfigObject, function (er) { + if (er) return handlError(er) + npm.commands.install(["some", "args"], function (er, data) { + if (er) return commandFailed(er) + // command succeeded, and data might have some info + }) + npm.registry.log.on("log", function (message) { .... }) +}) +``` The `load` function takes an object hash of the command-line configs. The various `npm.commands.` functions take an **array** of diff --git a/deps/npm/bin/node-gyp-bin/node-gyp.cmd b/deps/npm/bin/node-gyp-bin/node-gyp.cmd index a05fd8caed61a7..83ea8f59247858 100755 --- a/deps/npm/bin/node-gyp-bin/node-gyp.cmd +++ b/deps/npm/bin/node-gyp-bin/node-gyp.cmd @@ -1,5 +1,5 @@ if not defined npm_config_node_gyp ( node "%~dp0\..\..\node_modules\node-gyp\bin\node-gyp.js" %* ) else ( - %npm_config_node_gyp% %* + node %npm_config_node_gyp% %* ) diff --git a/deps/npm/doc/cli/npm-shrinkwrap.md b/deps/npm/doc/cli/npm-shrinkwrap.md index d781a683e7664f..ca9cb257b9d351 100644 --- a/deps/npm/doc/cli/npm-shrinkwrap.md +++ b/deps/npm/doc/cli/npm-shrinkwrap.md @@ -13,14 +13,14 @@ used when your package is installed. The `package.json` file is still required if you want to use `npm install`. By default, `npm install` recursively installs the target's -dependencies (as specified in package.json), choosing the latest +dependencies (as specified in `package.json`), choosing the latest available version that satisfies the dependency's semver pattern. In some situations, particularly when shipping software where each change is tightly managed, it's desirable to fully specify each version of each dependency recursively so that subsequent builds and deploys do not inadvertently pick up newer versions of a dependency that satisfy the semver pattern. Specifying specific semver patterns in each -dependency's package.json would facilitate this, but that's not always +dependency's `package.json` would facilitate this, but that's not always possible or desirable, as when another author owns the npm package. It's also possible to check dependencies directly into source control, but that may be undesirable for other reasons. @@ -48,7 +48,7 @@ package B: and package C: { - "name": "C, + "name": "C", "version": "0.0.1" } @@ -78,7 +78,7 @@ In this case, A's author can run npm shrinkwrap -This generates npm-shrinkwrap.json, which will look something like this: +This generates `npm-shrinkwrap.json`, which will look something like this: { "name": "A", @@ -97,12 +97,12 @@ This generates npm-shrinkwrap.json, which will look something like this: The shrinkwrap command has locked down the dependencies based on what's currently installed in node_modules. When `npm install` -installs a package with a npm-shrinkwrap.json file in the package -root, the shrinkwrap file (rather than package.json files) completely +installs a package with an `npm-shrinkwrap.json` in the package +root, the shrinkwrap file (rather than `package.json` files) completely drives the installation of that package and all of its dependencies (recursively). So now the author publishes A@0.1.0, and subsequent installs of this package will use B@0.0.1 and C@0.0.1, regardless the -dependencies and versions listed in A's, B's, and C's package.json +dependencies and versions listed in A's, B's, and C's `package.json` files. @@ -110,7 +110,7 @@ files. Using a shrinkwrapped package is no different than using any other package: you can `npm install` it by hand, or add a dependency to your -package.json file and `npm install` it. +`package.json` file and `npm install` it. ### Building shrinkwrapped packages @@ -119,7 +119,7 @@ To shrinkwrap an existing package: 1. Run `npm install` in the package root to install the current versions of all dependencies. 2. Validate that the package works as expected with these versions. -3. Run `npm shrinkwrap`, add npm-shrinkwrap.json to git, and publish +3. Run `npm shrinkwrap`, add `npm-shrinkwrap.json` to git, and publish your package. To add or update a dependency in a shrinkwrapped package: @@ -127,13 +127,13 @@ To add or update a dependency in a shrinkwrapped package: 1. Run `npm install` in the package root to install the current versions of all dependencies. 2. Add or update dependencies. `npm install` each new or updated - package individually and then update package.json. Note that they + package individually and then update `package.json`. Note that they must be explicitly named in order to be installed: running `npm install` with no arguments will merely reproduce the existing shrinkwrap. 3. Validate that the package works as expected with the new dependencies. -4. Run `npm shrinkwrap`, commit the new npm-shrinkwrap.json, and +4. Run `npm shrinkwrap`, commit the new `npm-shrinkwrap.json`, and publish your package. You can use npm-outdated(1) to view dependencies with newer versions @@ -141,12 +141,12 @@ available. ### Other Notes -A shrinkwrap file must be consistent with the package's package.json +A shrinkwrap file must be consistent with the package's `package.json` file. `npm shrinkwrap` will fail if required dependencies are not already installed, since that would result in a shrinkwrap that wouldn't actually work. Similarly, the command will fail if there are -extraneous packages (not referenced by package.json), since that would -indicate that package.json is not correct. +extraneous packages (not referenced by `package.json`), since that would +indicate that `package.json` is not correct. Since `npm shrinkwrap` is intended to lock down your dependencies for production use, `devDependencies` will not be included unless you diff --git a/deps/npm/doc/cli/npm-version.md b/deps/npm/doc/cli/npm-version.md index 545bce6b6bfe27..63a5e95122951d 100644 --- a/deps/npm/doc/cli/npm-version.md +++ b/deps/npm/doc/cli/npm-version.md @@ -40,6 +40,14 @@ in your git config for this to work properly. For example: Enter passphrase: +If "preversion", "version", "postversion" in the "scripts" property of +the package.json, it will execute by running `npm version`. preversion +and version ware executed before bump the package version, postversion +was executed after bump the package version. For example to run `npm version` +after passed all test: + + "scripts": { "preversion": "npm test" } + ## CONFIGURATION ### git-tag-version @@ -52,6 +60,8 @@ Commit and tag the version change. ## SEE ALSO * npm-init(1) +* npm-run-script(1) +* npm-scripts(7) * package.json(5) * semver(7) * config(7) diff --git a/deps/npm/doc/files/npmrc.md b/deps/npm/doc/files/npmrc.md index 345052bad11c6b..4d068efc8ab42a 100644 --- a/deps/npm/doc/files/npmrc.md +++ b/deps/npm/doc/files/npmrc.md @@ -36,6 +36,11 @@ example: key[] = "first value" key[] = "second value" +**NOTE:** Because local (per-project or per-user) `.npmrc` files can contain +sensitive credentials, they must be readable and writable _only_ by your user +account (i.e. must have a mode of `0600`), otherwise they _will be ignored by +npm!_ + ### Per-project config file When working locally in a project, a `.npmrc` file in the root of the diff --git a/deps/npm/doc/misc/npm-faq.md b/deps/npm/doc/misc/npm-faq.md index 176effc4e42830..b9e837f76dfd9d 100644 --- a/deps/npm/doc/misc/npm-faq.md +++ b/deps/npm/doc/misc/npm-faq.md @@ -328,9 +328,9 @@ on Freenode IRC. ## Why no namespaces? 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. +you may: simply use the `-` character to separate the names or use scoped +packages. npm is a mostly anarchic system. There is not sufficient need to +impose namespace rules on everyone. As of 2.0, npm supports scoped packages, which allow you to publish a group of related modules without worrying about name collisions. @@ -340,11 +340,11 @@ 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. +Scoped packages are supported by the public npm registry. The npm client is +backwards-compatible with un-scoped registries, so it can be used to work with +scoped and un-scoped registries at the same time. -Unscoped packages can only depend on other unscoped packages. Scoped packages +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). diff --git a/deps/npm/doc/misc/npm-scripts.md b/deps/npm/doc/misc/npm-scripts.md index e1380d1ed7457b..1594d3c4132250 100644 --- a/deps/npm/doc/misc/npm-scripts.md +++ b/deps/npm/doc/misc/npm-scripts.md @@ -19,6 +19,10 @@ following scripts: Run BEFORE the package is uninstalled. * postuninstall: Run AFTER the package is uninstalled. +* preversion, version: + Run BEFORE bump the package version. +* postversion: + Run AFTER bump the package version. * pretest, test, posttest: Run by the `npm test` command. * prestop, stop, poststop: diff --git a/deps/npm/html/doc/README.html b/deps/npm/html/doc/README.html index 86b948a6e0749a..1e2071c6178de5 100644 --- a/deps/npm/html/doc/README.html +++ b/deps/npm/html/doc/README.html @@ -32,13 +32,16 @@

Fancy Install (Unix)

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

Here's an example using curl:

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

Slightly Fancier

+
curl -L https://www.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
-

Or, you can run it in uber-debuggery mode:

-
npm_debug=1 sh install.sh
-

Even Fancier

+
npm_config_prefix=/some/path sh install.sh
+
+

Or, you can run it in uber-debuggery mode:

+
npm_debug=1 sh install.sh
+
+

Even Fancier

Get the code with git. Use make to build the docs and do other stuff. If you plan on hacking on npm, make link is your friend.

If you've got the npm source code, you can also semi-permanently set @@ -57,10 +60,12 @@

Installing on Cygwin

No.

Uninstalling

So sad to see you go.

-
sudo npm uninstall npm -g
-

Or, if that fails,

-
sudo make uninstall
-

More Severe Uninstalling

+
sudo npm uninstall npm -g
+
+

Or, if that fails,

+
sudo make uninstall
+
+

More Severe Uninstalling

Usually, the above instructions are sufficient. That will remove npm, but leave behind anything you've installed.

If you would like to remove all the packages that you have installed, @@ -68,25 +73,33 @@

Uninstalling

remove them.

To remove cruft left behind by npm 0.x, you can use the included clean-old.sh script file. You can run it conveniently like this:

-
npm explore npm -g -- sh scripts/clean-old.sh
-

npm uses two configuration files, one for per-user configs, and another +

npm explore npm -g -- sh scripts/clean-old.sh
+
+

npm uses two configuration files, one for per-user configs, and another for global (every-user) configs. You can view them by doing:

-
npm config get userconfig   # defaults to ~/.npmrc
+
npm config get userconfig   # defaults to ~/.npmrc
 npm config get globalconfig # defaults to /usr/local/etc/npmrc
-

Uninstalling npm does not remove configuration files by default. You +

+

Uninstalling npm does not remove configuration files by default. You must remove them yourself manually if you want them gone. Note that this means that future npm installs will not remember the settings that you have chosen.

Using npm Programmatically

-

If you would like to use npm programmatically, you can do that. -It's not very well documented, but it is rather simple.

-

Most of the time, unless you actually want to do all the things that -npm does, you should try using one of npm's dependencies rather than -using npm itself, if possible.

-

Eventually, npm will be just a thin cli wrapper around the modules -that it depends on, but for now, there are some things that you must -use npm itself to do.

-
var npm = require("npm")
+

Although npm can be used programmatically, its API is meant for use by the CLI +only, and no guarantees are made regarding its fitness for any other purpose. +If you want to use npm to reliably perform some task, the safest thing to do is +to invoke the desired npm command with appropriate arguments.

+

The semantic version of npm refers to the CLI itself, rather than the +underlying API. The internal API is not guaranteed to remain stable even when +npm's version indicates no breaking changes have been made according to +semver.

+

If you still would like to use npm programmatically, it's possible. The API +isn't very well documented, but it is rather simple.

+

Eventually, npm will be just a thin CLI wrapper around the modules that it +depends on, but for now, there are some things that only the CLI can do. You +should try using one of npm's dependencies first, and only use the API if what +you're trying to do is only supported by npm itself.

+
var npm = require("npm")
 npm.load(myConfigObject, function (er) {
   if (er) return handlError(er)
   npm.commands.install(["some", "args"], function (er, data) {
@@ -95,7 +108,8 @@ 

Using npm Programmatically

}) npm.registry.log.on("log", function (message) { .... }) }) -

The load function takes an object hash of the command-line configs. +

+

The load function takes an object hash of the command-line configs. The various npm.commands.<cmd> functions take an array of positional argument strings. The last argument to any npm.commands.<cmd> function is a callback. Some commands take other @@ -126,7 +140,7 @@

If you have a complaint about a package in the public npm registry, 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.

@@ -169,5 +183,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/api/npm-bin.html b/deps/npm/html/doc/api/npm-bin.html index 1a025d4a9cc06b..22109aeceb5b93 100644 --- a/deps/npm/html/doc/api/npm-bin.html +++ b/deps/npm/html/doc/api/npm-bin.html @@ -28,5 +28,5 @@

SYNOPSIS

       - + diff --git a/deps/npm/html/doc/api/npm-bugs.html b/deps/npm/html/doc/api/npm-bugs.html index 227cf6c015ff76..4884a67d97f37c 100644 --- a/deps/npm/html/doc/api/npm-bugs.html +++ b/deps/npm/html/doc/api/npm-bugs.html @@ -33,5 +33,5 @@

SYNOPSIS

       - + diff --git a/deps/npm/html/doc/api/npm-cache.html b/deps/npm/html/doc/api/npm-cache.html index 0c304cc229f66c..8ae7f5fdde7995 100644 --- a/deps/npm/html/doc/api/npm-cache.html +++ b/deps/npm/html/doc/api/npm-cache.html @@ -42,5 +42,5 @@

SYNOPSIS

       - + diff --git a/deps/npm/html/doc/api/npm-commands.html b/deps/npm/html/doc/api/npm-commands.html index a9745c99067c77..a397d2cf44f127 100644 --- a/deps/npm/html/doc/api/npm-commands.html +++ b/deps/npm/html/doc/api/npm-commands.html @@ -36,5 +36,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/api/npm-config.html b/deps/npm/html/doc/api/npm-config.html index 13cbad9483bde6..be0c65012752a8 100644 --- a/deps/npm/html/doc/api/npm-config.html +++ b/deps/npm/html/doc/api/npm-config.html @@ -57,5 +57,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/api/npm-deprecate.html b/deps/npm/html/doc/api/npm-deprecate.html index fd37285557c574..622552c2209b09 100644 --- a/deps/npm/html/doc/api/npm-deprecate.html +++ b/deps/npm/html/doc/api/npm-deprecate.html @@ -47,5 +47,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/api/npm-docs.html b/deps/npm/html/doc/api/npm-docs.html index 9a7f28bad10b4c..536e467fd04839 100644 --- a/deps/npm/html/doc/api/npm-docs.html +++ b/deps/npm/html/doc/api/npm-docs.html @@ -33,5 +33,5 @@

SYNOPSIS

       - + diff --git a/deps/npm/html/doc/api/npm-edit.html b/deps/npm/html/doc/api/npm-edit.html index 9dd67f66132551..f615382c44d177 100644 --- a/deps/npm/html/doc/api/npm-edit.html +++ b/deps/npm/html/doc/api/npm-edit.html @@ -36,5 +36,5 @@

SYNOPSIS

       - + diff --git a/deps/npm/html/doc/api/npm-explore.html b/deps/npm/html/doc/api/npm-explore.html index 0fd2598320779d..f1b5eb4a3016dd 100644 --- a/deps/npm/html/doc/api/npm-explore.html +++ b/deps/npm/html/doc/api/npm-explore.html @@ -31,5 +31,5 @@

SYNOPSIS

       - + diff --git a/deps/npm/html/doc/api/npm-help-search.html b/deps/npm/html/doc/api/npm-help-search.html index 3d420df3d1f966..25319797ba613f 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 @@

SYNOPSIS

       - + diff --git a/deps/npm/html/doc/api/npm-init.html b/deps/npm/html/doc/api/npm-init.html index 2d876d14b7a036..7c971f48a62c8a 100644 --- a/deps/npm/html/doc/api/npm-init.html +++ b/deps/npm/html/doc/api/npm-init.html @@ -39,5 +39,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/api/npm-install.html b/deps/npm/html/doc/api/npm-install.html index b2e8011b9f41c3..dcb79a7f9ee308 100644 --- a/deps/npm/html/doc/api/npm-install.html +++ b/deps/npm/html/doc/api/npm-install.html @@ -32,5 +32,5 @@

SYNOPSIS

       - + diff --git a/deps/npm/html/doc/api/npm-link.html b/deps/npm/html/doc/api/npm-link.html index 355f06b24d3a29..f240109b7ba8b5 100644 --- a/deps/npm/html/doc/api/npm-link.html +++ b/deps/npm/html/doc/api/npm-link.html @@ -42,5 +42,5 @@

SYNOPSIS

       - + diff --git a/deps/npm/html/doc/api/npm-load.html b/deps/npm/html/doc/api/npm-load.html index c830e8763c3d7b..4e3c624044e97f 100644 --- a/deps/npm/html/doc/api/npm-load.html +++ b/deps/npm/html/doc/api/npm-load.html @@ -37,5 +37,5 @@

SYNOPSIS

       - + diff --git a/deps/npm/html/doc/api/npm-ls.html b/deps/npm/html/doc/api/npm-ls.html index 069b357f255bbf..060db121966f99 100644 --- a/deps/npm/html/doc/api/npm-ls.html +++ b/deps/npm/html/doc/api/npm-ls.html @@ -63,5 +63,5 @@

global

       - + diff --git a/deps/npm/html/doc/api/npm-outdated.html b/deps/npm/html/doc/api/npm-outdated.html index 61bf7635e97795..dae825db614bd2 100644 --- a/deps/npm/html/doc/api/npm-outdated.html +++ b/deps/npm/html/doc/api/npm-outdated.html @@ -28,5 +28,5 @@

SYNOPSIS

       - + diff --git a/deps/npm/html/doc/api/npm-owner.html b/deps/npm/html/doc/api/npm-owner.html index a62c188897fa30..05dd041afae9b9 100644 --- a/deps/npm/html/doc/api/npm-owner.html +++ b/deps/npm/html/doc/api/npm-owner.html @@ -47,5 +47,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/api/npm-pack.html b/deps/npm/html/doc/api/npm-pack.html index 2383065fbc7ff8..23f22ca46f8222 100644 --- a/deps/npm/html/doc/api/npm-pack.html +++ b/deps/npm/html/doc/api/npm-pack.html @@ -33,5 +33,5 @@

SYNOPSIS

       - + diff --git a/deps/npm/html/doc/api/npm-prefix.html b/deps/npm/html/doc/api/npm-prefix.html index 01cc6356ad0568..e2c8da281913c3 100644 --- a/deps/npm/html/doc/api/npm-prefix.html +++ b/deps/npm/html/doc/api/npm-prefix.html @@ -29,5 +29,5 @@

SYNOPSIS

       - + diff --git a/deps/npm/html/doc/api/npm-prune.html b/deps/npm/html/doc/api/npm-prune.html index 26810c35cd1696..c3f465f5d86db0 100644 --- a/deps/npm/html/doc/api/npm-prune.html +++ b/deps/npm/html/doc/api/npm-prune.html @@ -30,5 +30,5 @@

SYNOPSIS

       - + diff --git a/deps/npm/html/doc/api/npm-publish.html b/deps/npm/html/doc/api/npm-publish.html index 8d2af0daa350c1..ff61f7ae543f26 100644 --- a/deps/npm/html/doc/api/npm-publish.html +++ b/deps/npm/html/doc/api/npm-publish.html @@ -46,5 +46,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/api/npm-rebuild.html b/deps/npm/html/doc/api/npm-rebuild.html index 9ab09d5b95c901..ee1dbcbc4c7564 100644 --- a/deps/npm/html/doc/api/npm-rebuild.html +++ b/deps/npm/html/doc/api/npm-rebuild.html @@ -30,5 +30,5 @@

CONFIGURATION

       - + diff --git a/deps/npm/html/doc/api/npm-repo.html b/deps/npm/html/doc/api/npm-repo.html index 77fb30c74d1fe6..9c118a13abcd1d 100644 --- a/deps/npm/html/doc/api/npm-repo.html +++ b/deps/npm/html/doc/api/npm-repo.html @@ -33,5 +33,5 @@

SYNOPSIS

       - + diff --git a/deps/npm/html/doc/api/npm-restart.html b/deps/npm/html/doc/api/npm-restart.html index 0cb6c9ce3134f8..00cba2df4ec888 100644 --- a/deps/npm/html/doc/api/npm-restart.html +++ b/deps/npm/html/doc/api/npm-restart.html @@ -52,5 +52,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/api/npm-root.html b/deps/npm/html/doc/api/npm-root.html index 9f8a355228b503..aa9b38ff07bfd9 100644 --- a/deps/npm/html/doc/api/npm-root.html +++ b/deps/npm/html/doc/api/npm-root.html @@ -29,5 +29,5 @@

SYNOPSIS

       - + diff --git a/deps/npm/html/doc/api/npm-run-script.html b/deps/npm/html/doc/api/npm-run-script.html index 26f62e9f302e99..1c0fa75dbbb7d6 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 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/api/npm-search.html b/deps/npm/html/doc/api/npm-search.html index 16fa84df9e0916..5af228d26177da 100644 --- a/deps/npm/html/doc/api/npm-search.html +++ b/deps/npm/html/doc/api/npm-search.html @@ -53,5 +53,5 @@

SYNOPSIS

       - + diff --git a/deps/npm/html/doc/api/npm-shrinkwrap.html b/deps/npm/html/doc/api/npm-shrinkwrap.html index 77715d7628843a..3151eedf99797d 100644 --- a/deps/npm/html/doc/api/npm-shrinkwrap.html +++ b/deps/npm/html/doc/api/npm-shrinkwrap.html @@ -33,5 +33,5 @@

SYNOPSIS

       - + diff --git a/deps/npm/html/doc/api/npm-start.html b/deps/npm/html/doc/api/npm-start.html index e39d4e20a1854a..b2397b53b217fc 100644 --- a/deps/npm/html/doc/api/npm-start.html +++ b/deps/npm/html/doc/api/npm-start.html @@ -28,5 +28,5 @@

SYNOPSIS

       - + diff --git a/deps/npm/html/doc/api/npm-stop.html b/deps/npm/html/doc/api/npm-stop.html index de977186006707..2761790821b072 100644 --- a/deps/npm/html/doc/api/npm-stop.html +++ b/deps/npm/html/doc/api/npm-stop.html @@ -28,5 +28,5 @@

SYNOPSIS

       - + diff --git a/deps/npm/html/doc/api/npm-tag.html b/deps/npm/html/doc/api/npm-tag.html index a7a8e47f105429..33bff4a82b44e7 100644 --- a/deps/npm/html/doc/api/npm-tag.html +++ b/deps/npm/html/doc/api/npm-tag.html @@ -36,5 +36,5 @@

SYNOPSIS

       - + diff --git a/deps/npm/html/doc/api/npm-test.html b/deps/npm/html/doc/api/npm-test.html index 9f8a9d1095bff5..cfccf0dcb32431 100644 --- a/deps/npm/html/doc/api/npm-test.html +++ b/deps/npm/html/doc/api/npm-test.html @@ -30,5 +30,5 @@

SYNOPSIS

       - + diff --git a/deps/npm/html/doc/api/npm-uninstall.html b/deps/npm/html/doc/api/npm-uninstall.html index 30133eb34c28dd..5b591656553c1d 100644 --- a/deps/npm/html/doc/api/npm-uninstall.html +++ b/deps/npm/html/doc/api/npm-uninstall.html @@ -30,5 +30,5 @@

SYNOPSIS

       - + diff --git a/deps/npm/html/doc/api/npm-unpublish.html b/deps/npm/html/doc/api/npm-unpublish.html index aa75a23e090703..f95e313e3e5493 100644 --- a/deps/npm/html/doc/api/npm-unpublish.html +++ b/deps/npm/html/doc/api/npm-unpublish.html @@ -33,5 +33,5 @@

SYNOPSIS

       - + diff --git a/deps/npm/html/doc/api/npm-update.html b/deps/npm/html/doc/api/npm-update.html index be507883943fa4..0552633487fb49 100644 --- a/deps/npm/html/doc/api/npm-update.html +++ b/deps/npm/html/doc/api/npm-update.html @@ -33,5 +33,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/api/npm-version.html b/deps/npm/html/doc/api/npm-version.html index a0fd511901dc7b..df79f812dcb439 100644 --- a/deps/npm/html/doc/api/npm-version.html +++ b/deps/npm/html/doc/api/npm-version.html @@ -32,5 +32,5 @@

SYNOPSIS

       - + diff --git a/deps/npm/html/doc/api/npm-view.html b/deps/npm/html/doc/api/npm-view.html index 89c3b74180ebff..5b07c8d531a266 100644 --- a/deps/npm/html/doc/api/npm-view.html +++ b/deps/npm/html/doc/api/npm-view.html @@ -81,5 +81,5 @@

RETURN VALUE

       - + diff --git a/deps/npm/html/doc/api/npm-whoami.html b/deps/npm/html/doc/api/npm-whoami.html index 1d03071231eed1..6154f6270b5e6f 100644 --- a/deps/npm/html/doc/api/npm-whoami.html +++ b/deps/npm/html/doc/api/npm-whoami.html @@ -29,5 +29,5 @@

SYNOPSIS

       - + diff --git a/deps/npm/html/doc/api/npm.html b/deps/npm/html/doc/api/npm.html index 7b57fcd0c1b1fb..3d69e1b5517df0 100644 --- a/deps/npm/html/doc/api/npm.html +++ b/deps/npm/html/doc/api/npm.html @@ -23,7 +23,7 @@

SYNOPSIS

npm.commands.install(["package"], cb) })

VERSION

-

2.10.1

+

2.11.1

DESCRIPTION

This is the API documentation for npm. To find documentation of the command line @@ -109,5 +109,5 @@

ABBREVS

       - + diff --git a/deps/npm/html/doc/cli/npm-access.html b/deps/npm/html/doc/cli/npm-access.html index e7a604bec74022..f413d7d2f2a4bc 100644 --- a/deps/npm/html/doc/cli/npm-access.html +++ b/deps/npm/html/doc/cli/npm-access.html @@ -75,5 +75,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-adduser.html b/deps/npm/html/doc/cli/npm-adduser.html index 1175859955c299..07631c582495a2 100644 --- a/deps/npm/html/doc/cli/npm-adduser.html +++ b/deps/npm/html/doc/cli/npm-adduser.html @@ -68,5 +68,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-bin.html b/deps/npm/html/doc/cli/npm-bin.html index d33a757d55b7fc..d0ee5f455e0dee 100644 --- a/deps/npm/html/doc/cli/npm-bin.html +++ b/deps/npm/html/doc/cli/npm-bin.html @@ -35,5 +35,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-bugs.html b/deps/npm/html/doc/cli/npm-bugs.html index 217c9724fed4a1..f78510829c6941 100644 --- a/deps/npm/html/doc/cli/npm-bugs.html +++ b/deps/npm/html/doc/cli/npm-bugs.html @@ -54,5 +54,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-build.html b/deps/npm/html/doc/cli/npm-build.html index b7b72121c6aaca..6237412c21fdc4 100644 --- a/deps/npm/html/doc/cli/npm-build.html +++ b/deps/npm/html/doc/cli/npm-build.html @@ -40,5 +40,5 @@

DESCRIPTION

       - + diff --git a/deps/npm/html/doc/cli/npm-bundle.html b/deps/npm/html/doc/cli/npm-bundle.html index 3343f79992ba61..246d18f0fafce5 100644 --- a/deps/npm/html/doc/cli/npm-bundle.html +++ b/deps/npm/html/doc/cli/npm-bundle.html @@ -31,5 +31,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-cache.html b/deps/npm/html/doc/cli/npm-cache.html index 991be9f641a0f5..2a4621864e6a5d 100644 --- a/deps/npm/html/doc/cli/npm-cache.html +++ b/deps/npm/html/doc/cli/npm-cache.html @@ -81,5 +81,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-completion.html b/deps/npm/html/doc/cli/npm-completion.html index 7e0fc62afc82da..e38cd2e88c8559 100644 --- a/deps/npm/html/doc/cli/npm-completion.html +++ b/deps/npm/html/doc/cli/npm-completion.html @@ -42,5 +42,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-config.html b/deps/npm/html/doc/cli/npm-config.html index 378472312aad88..dc9ed1cf100d0f 100644 --- a/deps/npm/html/doc/cli/npm-config.html +++ b/deps/npm/html/doc/cli/npm-config.html @@ -66,5 +66,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-dedupe.html b/deps/npm/html/doc/cli/npm-dedupe.html index ce864af51c2512..7f2420c321a51b 100644 --- a/deps/npm/html/doc/cli/npm-dedupe.html +++ b/deps/npm/html/doc/cli/npm-dedupe.html @@ -63,5 +63,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-deprecate.html b/deps/npm/html/doc/cli/npm-deprecate.html index 8a7ec9a2d64d92..d1a4e905c87817 100644 --- a/deps/npm/html/doc/cli/npm-deprecate.html +++ b/deps/npm/html/doc/cli/npm-deprecate.html @@ -38,5 +38,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-dist-tag.html b/deps/npm/html/doc/cli/npm-dist-tag.html index 1211dfecf5bff4..7f31d1490f5357 100644 --- a/deps/npm/html/doc/cli/npm-dist-tag.html +++ b/deps/npm/html/doc/cli/npm-dist-tag.html @@ -77,5 +77,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-docs.html b/deps/npm/html/doc/cli/npm-docs.html index be146f0cf763b1..624b42da1ca885 100644 --- a/deps/npm/html/doc/cli/npm-docs.html +++ b/deps/npm/html/doc/cli/npm-docs.html @@ -56,5 +56,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-edit.html b/deps/npm/html/doc/cli/npm-edit.html index 6a903c4df26668..cf13f2fecdc482 100644 --- a/deps/npm/html/doc/cli/npm-edit.html +++ b/deps/npm/html/doc/cli/npm-edit.html @@ -49,5 +49,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-explore.html b/deps/npm/html/doc/cli/npm-explore.html index 0a85fc2a08af5e..aa0e3636a755ba 100644 --- a/deps/npm/html/doc/cli/npm-explore.html +++ b/deps/npm/html/doc/cli/npm-explore.html @@ -49,5 +49,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-help-search.html b/deps/npm/html/doc/cli/npm-help-search.html index afe18a73a59af9..b197f20d5ff221 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 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-help.html b/deps/npm/html/doc/cli/npm-help.html index 9f9c1de6559513..4821f71aa3e260 100644 --- a/deps/npm/html/doc/cli/npm-help.html +++ b/deps/npm/html/doc/cli/npm-help.html @@ -52,5 +52,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-init.html b/deps/npm/html/doc/cli/npm-init.html index 4b98a7b72b1996..6482d0cf0c8d26 100644 --- a/deps/npm/html/doc/cli/npm-init.html +++ b/deps/npm/html/doc/cli/npm-init.html @@ -48,5 +48,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-install.html b/deps/npm/html/doc/cli/npm-install.html index c475cc74601ef4..330f1b166f666d 100644 --- a/deps/npm/html/doc/cli/npm-install.html +++ b/deps/npm/html/doc/cli/npm-install.html @@ -264,5 +264,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-link.html b/deps/npm/html/doc/cli/npm-link.html index 022aaf4108efa8..632beeb218cddd 100644 --- a/deps/npm/html/doc/cli/npm-link.html +++ b/deps/npm/html/doc/cli/npm-link.html @@ -72,5 +72,5 @@

SYNOPSIS

       - + diff --git a/deps/npm/html/doc/cli/npm-logout.html b/deps/npm/html/doc/cli/npm-logout.html index f9a4c095fbbce5..d41686589e36c6 100644 --- a/deps/npm/html/doc/cli/npm-logout.html +++ b/deps/npm/html/doc/cli/npm-logout.html @@ -55,5 +55,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-ls.html b/deps/npm/html/doc/cli/npm-ls.html index 0b9c8e91fa0eaf..3f80bb2b7293b9 100644 --- a/deps/npm/html/doc/cli/npm-ls.html +++ b/deps/npm/html/doc/cli/npm-ls.html @@ -22,7 +22,7 @@

SYNOPSIS

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.10.1 /path/to/npm
+
npm@2.11.1 /path/to/npm
 └─┬ init-package-json@0.0.4
   └── promzard@0.1.5
 

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

@@ -97,5 +97,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-outdated.html b/deps/npm/html/doc/cli/npm-outdated.html index 8b1a867e0e8119..d390ae6d595a36 100644 --- a/deps/npm/html/doc/cli/npm-outdated.html +++ b/deps/npm/html/doc/cli/npm-outdated.html @@ -67,5 +67,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-owner.html b/deps/npm/html/doc/cli/npm-owner.html index 70e8aeccdc3f3d..5d405f2c3cf987 100644 --- a/deps/npm/html/doc/cli/npm-owner.html +++ b/deps/npm/html/doc/cli/npm-owner.html @@ -49,5 +49,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-pack.html b/deps/npm/html/doc/cli/npm-pack.html index fa118a73883eeb..88548a6684b963 100644 --- a/deps/npm/html/doc/cli/npm-pack.html +++ b/deps/npm/html/doc/cli/npm-pack.html @@ -41,5 +41,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-prefix.html b/deps/npm/html/doc/cli/npm-prefix.html index d01848a1c7b46b..7905ab86cfea9e 100644 --- a/deps/npm/html/doc/cli/npm-prefix.html +++ b/deps/npm/html/doc/cli/npm-prefix.html @@ -38,5 +38,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-prune.html b/deps/npm/html/doc/cli/npm-prune.html index 1fce2b556d1e3d..616fe6951d4fd8 100644 --- a/deps/npm/html/doc/cli/npm-prune.html +++ b/deps/npm/html/doc/cli/npm-prune.html @@ -39,5 +39,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-publish.html b/deps/npm/html/doc/cli/npm-publish.html index c840ff41f7168d..ffae7cd9e05fee 100644 --- a/deps/npm/html/doc/cli/npm-publish.html +++ b/deps/npm/html/doc/cli/npm-publish.html @@ -66,5 +66,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-rebuild.html b/deps/npm/html/doc/cli/npm-rebuild.html index f4c8435c36e64d..8d53945e70e174 100644 --- a/deps/npm/html/doc/cli/npm-rebuild.html +++ b/deps/npm/html/doc/cli/npm-rebuild.html @@ -38,5 +38,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-repo.html b/deps/npm/html/doc/cli/npm-repo.html index 998986f9162541..f44e368bb52aeb 100644 --- a/deps/npm/html/doc/cli/npm-repo.html +++ b/deps/npm/html/doc/cli/npm-repo.html @@ -42,5 +42,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-restart.html b/deps/npm/html/doc/cli/npm-restart.html index f291d5a7e13a77..8ba6aa8213a811 100644 --- a/deps/npm/html/doc/cli/npm-restart.html +++ b/deps/npm/html/doc/cli/npm-restart.html @@ -53,5 +53,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-rm.html b/deps/npm/html/doc/cli/npm-rm.html index a67f89a1c24241..464c0829727d39 100644 --- a/deps/npm/html/doc/cli/npm-rm.html +++ b/deps/npm/html/doc/cli/npm-rm.html @@ -39,5 +39,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-root.html b/deps/npm/html/doc/cli/npm-root.html index 5457c3fd9cdd47..865d313cc88ca8 100644 --- a/deps/npm/html/doc/cli/npm-root.html +++ b/deps/npm/html/doc/cli/npm-root.html @@ -35,5 +35,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-run-script.html b/deps/npm/html/doc/cli/npm-run-script.html index 4d21c023b83cfa..967749d738e4c6 100644 --- a/deps/npm/html/doc/cli/npm-run-script.html +++ b/deps/npm/html/doc/cli/npm-run-script.html @@ -56,5 +56,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-search.html b/deps/npm/html/doc/cli/npm-search.html index d402ba4fe6eb56..cbfe190e161568 100644 --- a/deps/npm/html/doc/cli/npm-search.html +++ b/deps/npm/html/doc/cli/npm-search.html @@ -49,5 +49,5 @@

SEE ALSO

       - + diff --git a/deps/npm/html/doc/cli/npm-shrinkwrap.html b/deps/npm/html/doc/cli/npm-shrinkwrap.html index 78b744222b0092..07d3f1d1b5652f 100644 --- a/deps/npm/html/doc/cli/npm-shrinkwrap.html +++ b/deps/npm/html/doc/cli/npm-shrinkwrap.html @@ -18,14 +18,14 @@

SYNOPSIS

used when your package is installed. The package.json file is still required if you want to use npm install.

By default, npm install recursively installs the target's -dependencies (as specified in package.json), choosing the latest +dependencies (as specified in package.json), choosing the latest available version that satisfies the dependency's semver pattern. In some situations, particularly when shipping software where each change is tightly managed, it's desirable to fully specify each version of each dependency recursively so that subsequent builds and deploys do not inadvertently pick up newer versions of a dependency that satisfy the semver pattern. Specifying specific semver patterns in each -dependency's package.json would facilitate this, but that's not always +dependency's package.json would facilitate this, but that's not always possible or desirable, as when another author owns the npm package. It's also possible to check dependencies directly into source control, but that may be undesirable for other reasons.

@@ -47,7 +47,7 @@

SYNOPSIS

}

and package C:

{
-  "name": "C,
+  "name": "C",
   "version": "0.0.1"
 }
 

If these are the only versions of A, B, and C available in the @@ -69,7 +69,7 @@

SYNOPSIS

when B hasn't changed at all.

In this case, A's author can run

npm shrinkwrap
-

This generates npm-shrinkwrap.json, which will look something like this:

+

This generates npm-shrinkwrap.json, which will look something like this:

{
   "name": "A",
   "version": "0.1.0",
@@ -86,24 +86,24 @@ 

SYNOPSIS

}

The shrinkwrap command has locked down the dependencies based on what's currently installed in node_modules. When npm install -installs a package with a npm-shrinkwrap.json file in the package -root, the shrinkwrap file (rather than package.json files) completely +installs a package with an npm-shrinkwrap.json in the package +root, the shrinkwrap file (rather than package.json files) completely drives the installation of that package and all of its dependencies (recursively). So now the author publishes A@0.1.0, and subsequent installs of this package will use B@0.0.1 and C@0.0.1, regardless the -dependencies and versions listed in A's, B's, and C's package.json +dependencies and versions listed in A's, B's, and C's package.json files.

Using shrinkwrapped packages

Using a shrinkwrapped package is no different than using any other package: you can npm install it by hand, or add a dependency to your -package.json file and npm install it.

+package.json file and npm install it.

Building shrinkwrapped packages

To shrinkwrap an existing package:

  1. Run npm install in the package root to install the current versions of all dependencies.
  2. Validate that the package works as expected with these versions.
  3. -
  4. Run npm shrinkwrap, add npm-shrinkwrap.json to git, and publish +
  5. Run npm shrinkwrap, add npm-shrinkwrap.json to git, and publish your package.

To add or update a dependency in a shrinkwrapped package:

@@ -111,24 +111,24 @@

Building shrinkwrapped packages

  • Run npm install in the package root to install the current versions of all dependencies.
  • Add or update dependencies. npm install each new or updated -package individually and then update package.json. Note that they +package individually and then update package.json. Note that they must be explicitly named in order to be installed: running npm install with no arguments will merely reproduce the existing shrinkwrap.
  • Validate that the package works as expected with the new dependencies.
  • -
  • Run npm shrinkwrap, commit the new npm-shrinkwrap.json, and +
  • Run npm shrinkwrap, commit the new npm-shrinkwrap.json, and publish your package.
  • You can use npm-outdated(1) to view dependencies with newer versions available.

    Other Notes

    -

    A shrinkwrap file must be consistent with the package's package.json +

    A shrinkwrap file must be consistent with the package's package.json file. npm shrinkwrap will fail if required dependencies are not already installed, since that would result in a shrinkwrap that wouldn't actually work. Similarly, the command will fail if there are -extraneous packages (not referenced by package.json), since that would -indicate that package.json is not correct.

    +extraneous packages (not referenced by package.json), since that would +indicate that package.json is not correct.

    Since npm shrinkwrap is intended to lock down your dependencies for production use, devDependencies will not be included unless you explicitly set the --dev flag when you run npm shrinkwrap. If @@ -164,5 +164,5 @@

    SEE ALSO

           - + diff --git a/deps/npm/html/doc/cli/npm-star.html b/deps/npm/html/doc/cli/npm-star.html index 9a5099d485e336..191ed99c7891c3 100644 --- a/deps/npm/html/doc/cli/npm-star.html +++ b/deps/npm/html/doc/cli/npm-star.html @@ -36,5 +36,5 @@

    SEE ALSO

           - + diff --git a/deps/npm/html/doc/cli/npm-stars.html b/deps/npm/html/doc/cli/npm-stars.html index 9892b2521e1410..01a07c222f0da5 100644 --- a/deps/npm/html/doc/cli/npm-stars.html +++ b/deps/npm/html/doc/cli/npm-stars.html @@ -37,5 +37,5 @@

    SEE ALSO

           - + diff --git a/deps/npm/html/doc/cli/npm-start.html b/deps/npm/html/doc/cli/npm-start.html index 406bbc85a5e627..294266d68fefe4 100644 --- a/deps/npm/html/doc/cli/npm-start.html +++ b/deps/npm/html/doc/cli/npm-start.html @@ -34,5 +34,5 @@

    SEE ALSO

           - + diff --git a/deps/npm/html/doc/cli/npm-stop.html b/deps/npm/html/doc/cli/npm-stop.html index 71c0005bdc1d26..96ef57125da693 100644 --- a/deps/npm/html/doc/cli/npm-stop.html +++ b/deps/npm/html/doc/cli/npm-stop.html @@ -34,5 +34,5 @@

    SEE ALSO

           - + diff --git a/deps/npm/html/doc/cli/npm-tag.html b/deps/npm/html/doc/cli/npm-tag.html index f3f581c33ecc75..a43c23392c64a7 100644 --- a/deps/npm/html/doc/cli/npm-tag.html +++ b/deps/npm/html/doc/cli/npm-tag.html @@ -62,5 +62,5 @@

    SEE ALSO

           - + diff --git a/deps/npm/html/doc/cli/npm-test.html b/deps/npm/html/doc/cli/npm-test.html index 87bd2328455a17..d74dd46dc01887 100644 --- a/deps/npm/html/doc/cli/npm-test.html +++ b/deps/npm/html/doc/cli/npm-test.html @@ -37,5 +37,5 @@

    SEE ALSO

           - + diff --git a/deps/npm/html/doc/cli/npm-uninstall.html b/deps/npm/html/doc/cli/npm-uninstall.html index 86a7aaee519e71..20571c9a62ffb9 100644 --- a/deps/npm/html/doc/cli/npm-uninstall.html +++ b/deps/npm/html/doc/cli/npm-uninstall.html @@ -57,5 +57,5 @@

    SYNOPSIS

           - + diff --git a/deps/npm/html/doc/cli/npm-unpublish.html b/deps/npm/html/doc/cli/npm-unpublish.html index 77276455550b92..d7f6c4a583c8af 100644 --- a/deps/npm/html/doc/cli/npm-unpublish.html +++ b/deps/npm/html/doc/cli/npm-unpublish.html @@ -47,5 +47,5 @@

    SEE ALSO

           - + diff --git a/deps/npm/html/doc/cli/npm-update.html b/deps/npm/html/doc/cli/npm-update.html index 7a090ee49c228e..b574f3352b3152 100644 --- a/deps/npm/html/doc/cli/npm-update.html +++ b/deps/npm/html/doc/cli/npm-update.html @@ -119,5 +119,5 @@

    SEE ALSO

           - + diff --git a/deps/npm/html/doc/cli/npm-version.html b/deps/npm/html/doc/cli/npm-version.html index 36f2c1d75d383e..7ef78aece46c97 100644 --- a/deps/npm/html/doc/cli/npm-version.html +++ b/deps/npm/html/doc/cli/npm-version.html @@ -39,6 +39,12 @@

    SYNOPSIS

    2048-bit RSA key, ID 6C481CF6, created 2010-08-31 Enter passphrase: +

    If "preversion", "version", "postversion" in the "scripts" property of +the package.json, it will execute by running npm version. preversion +and version ware executed before bump the package version, postversion +was executed after bump the package version. For example to run npm version +after passed all test:

    +
    "scripts": { "preversion": "npm test" }
     

    CONFIGURATION

    git-tag-version