From f2f893b2a7e8d9a015c600f08acd18d2eb6eb1b0 Mon Sep 17 00:00:00 2001 From: isaacs Date: Mon, 8 Apr 2013 16:47:58 -0700 Subject: [PATCH 1/2] npm: Upgrade to v1.2.18 --- deps/npm/.npmignore | 3 + deps/npm/doc/cli/disputes.md | 21 +- deps/npm/doc/cli/faq.md | 2 +- deps/npm/doc/cli/json.md | 27 +- deps/npm/html/api/bin.html | 2 +- deps/npm/html/api/bugs.html | 2 +- deps/npm/html/api/commands.html | 2 +- deps/npm/html/api/config.html | 2 +- deps/npm/html/api/deprecate.html | 2 +- deps/npm/html/api/docs.html | 2 +- deps/npm/html/api/edit.html | 2 +- deps/npm/html/api/explore.html | 2 +- deps/npm/html/api/help-search.html | 2 +- deps/npm/html/api/init.html | 2 +- deps/npm/html/api/install.html | 2 +- deps/npm/html/api/link.html | 2 +- deps/npm/html/api/load.html | 2 +- deps/npm/html/api/ls.html | 2 +- deps/npm/html/api/npm.html | 4 +- deps/npm/html/api/outdated.html | 2 +- deps/npm/html/api/owner.html | 2 +- deps/npm/html/api/pack.html | 2 +- deps/npm/html/api/prefix.html | 2 +- deps/npm/html/api/prune.html | 2 +- deps/npm/html/api/publish.html | 2 +- deps/npm/html/api/rebuild.html | 2 +- deps/npm/html/api/restart.html | 2 +- deps/npm/html/api/root.html | 2 +- deps/npm/html/api/run-script.html | 2 +- deps/npm/html/api/search.html | 2 +- deps/npm/html/api/shrinkwrap.html | 2 +- deps/npm/html/api/start.html | 2 +- deps/npm/html/api/stop.html | 2 +- deps/npm/html/api/submodule.html | 2 +- deps/npm/html/api/tag.html | 2 +- deps/npm/html/api/test.html | 2 +- deps/npm/html/api/uninstall.html | 2 +- deps/npm/html/api/unpublish.html | 2 +- deps/npm/html/api/update.html | 2 +- deps/npm/html/api/version.html | 2 +- deps/npm/html/api/view.html | 2 +- deps/npm/html/api/whoami.html | 2 +- deps/npm/html/doc/README.html | 2 +- deps/npm/html/doc/adduser.html | 2 +- deps/npm/html/doc/bin.html | 2 +- deps/npm/html/doc/bugs.html | 2 +- deps/npm/html/doc/build.html | 2 +- deps/npm/html/doc/bundle.html | 2 +- deps/npm/html/doc/cache.html | 2 +- deps/npm/html/doc/changelog.html | 2 +- deps/npm/html/doc/coding-style.html | 2 +- deps/npm/html/doc/completion.html | 2 +- deps/npm/html/doc/config.html | 2 +- deps/npm/html/doc/dedupe.html | 2 +- deps/npm/html/doc/deprecate.html | 2 +- deps/npm/html/doc/developers.html | 2 +- deps/npm/html/doc/disputes.html | 23 +- deps/npm/html/doc/docs.html | 2 +- deps/npm/html/doc/edit.html | 2 +- deps/npm/html/doc/explore.html | 2 +- deps/npm/html/doc/faq.html | 4 +- deps/npm/html/doc/folders.html | 2 +- deps/npm/html/doc/global.html | 2 +- deps/npm/html/doc/help-search.html | 2 +- deps/npm/html/doc/help.html | 2 +- deps/npm/html/doc/index.html | 2 +- deps/npm/html/doc/init.html | 2 +- deps/npm/html/doc/install.html | 2 +- deps/npm/html/doc/json.html | 29 +- deps/npm/html/doc/link.html | 2 +- deps/npm/html/doc/ls.html | 4 +- deps/npm/html/doc/npm.html | 4 +- deps/npm/html/doc/outdated.html | 2 +- deps/npm/html/doc/owner.html | 2 +- deps/npm/html/doc/pack.html | 2 +- deps/npm/html/doc/prefix.html | 2 +- deps/npm/html/doc/prune.html | 2 +- deps/npm/html/doc/publish.html | 2 +- deps/npm/html/doc/rebuild.html | 2 +- deps/npm/html/doc/registry.html | 2 +- deps/npm/html/doc/removing-npm.html | 2 +- deps/npm/html/doc/restart.html | 2 +- deps/npm/html/doc/rm.html | 2 +- deps/npm/html/doc/root.html | 2 +- deps/npm/html/doc/run-script.html | 2 +- deps/npm/html/doc/scripts.html | 2 +- deps/npm/html/doc/search.html | 2 +- deps/npm/html/doc/semver.html | 2 +- deps/npm/html/doc/shrinkwrap.html | 2 +- deps/npm/html/doc/star.html | 2 +- deps/npm/html/doc/stars.html | 2 +- deps/npm/html/doc/start.html | 2 +- deps/npm/html/doc/stop.html | 2 +- deps/npm/html/doc/submodule.html | 2 +- deps/npm/html/doc/tag.html | 2 +- deps/npm/html/doc/test.html | 2 +- deps/npm/html/doc/uninstall.html | 2 +- deps/npm/html/doc/unpublish.html | 2 +- deps/npm/html/doc/update.html | 2 +- deps/npm/html/doc/version.html | 2 +- deps/npm/html/doc/view.html | 2 +- deps/npm/html/doc/whoami.html | 2 +- deps/npm/lib/build.js | 2 +- deps/npm/lib/cache.js | 30 +- deps/npm/lib/install.js | 2 +- deps/npm/lib/rebuild.js | 30 +- deps/npm/lib/search.js | 13 +- deps/npm/lib/utils/exec.js | 3 + deps/npm/lib/utils/fetch.js | 53 +- deps/npm/man/man1/README.1 | 2 +- deps/npm/man/man1/adduser.1 | 2 +- deps/npm/man/man1/bin.1 | 2 +- deps/npm/man/man1/bugs.1 | 2 +- deps/npm/man/man1/build.1 | 2 +- deps/npm/man/man1/bundle.1 | 2 +- deps/npm/man/man1/cache.1 | 2 +- deps/npm/man/man1/changelog.1 | 2 +- deps/npm/man/man1/coding-style.1 | 2 +- deps/npm/man/man1/completion.1 | 2 +- deps/npm/man/man1/config.1 | 2 +- deps/npm/man/man1/dedupe.1 | 2 +- deps/npm/man/man1/deprecate.1 | 2 +- deps/npm/man/man1/developers.1 | 2 +- deps/npm/man/man1/disputes.1 | 27 +- deps/npm/man/man1/docs.1 | 2 +- deps/npm/man/man1/edit.1 | 2 +- deps/npm/man/man1/explore.1 | 2 +- deps/npm/man/man1/faq.1 | 4 +- deps/npm/man/man1/folders.1 | 2 +- deps/npm/man/man1/global.1 | 2 +- deps/npm/man/man1/help-search.1 | 2 +- deps/npm/man/man1/help.1 | 2 +- deps/npm/man/man1/index.1 | 2 +- deps/npm/man/man1/init.1 | 2 +- deps/npm/man/man1/install.1 | 2 +- deps/npm/man/man1/json.1 | 44 +- deps/npm/man/man1/link.1 | 2 +- deps/npm/man/man1/ls.1 | 4 +- deps/npm/man/man1/npm.1 | 4 +- deps/npm/man/man1/outdated.1 | 2 +- deps/npm/man/man1/owner.1 | 2 +- deps/npm/man/man1/pack.1 | 2 +- deps/npm/man/man1/prefix.1 | 2 +- deps/npm/man/man1/prune.1 | 2 +- deps/npm/man/man1/publish.1 | 2 +- deps/npm/man/man1/rebuild.1 | 2 +- deps/npm/man/man1/registry.1 | 2 +- deps/npm/man/man1/removing-npm.1 | 2 +- deps/npm/man/man1/restart.1 | 2 +- deps/npm/man/man1/rm.1 | 2 +- deps/npm/man/man1/root.1 | 2 +- deps/npm/man/man1/run-script.1 | 2 +- deps/npm/man/man1/scripts.1 | 2 +- deps/npm/man/man1/search.1 | 2 +- deps/npm/man/man1/semver.1 | 2 +- deps/npm/man/man1/shrinkwrap.1 | 2 +- deps/npm/man/man1/star.1 | 2 +- deps/npm/man/man1/stars.1 | 2 +- deps/npm/man/man1/start.1 | 2 +- deps/npm/man/man1/stop.1 | 2 +- deps/npm/man/man1/submodule.1 | 2 +- deps/npm/man/man1/tag.1 | 2 +- deps/npm/man/man1/test.1 | 2 +- deps/npm/man/man1/uninstall.1 | 2 +- deps/npm/man/man1/unpublish.1 | 2 +- deps/npm/man/man1/update.1 | 2 +- deps/npm/man/man1/version.1 | 2 +- deps/npm/man/man1/view.1 | 2 +- deps/npm/man/man1/whoami.1 | 2 +- deps/npm/man/man3/bin.3 | 2 +- deps/npm/man/man3/bugs.3 | 2 +- deps/npm/man/man3/commands.3 | 2 +- deps/npm/man/man3/config.3 | 2 +- deps/npm/man/man3/deprecate.3 | 2 +- deps/npm/man/man3/docs.3 | 2 +- deps/npm/man/man3/edit.3 | 2 +- deps/npm/man/man3/explore.3 | 2 +- deps/npm/man/man3/help-search.3 | 2 +- deps/npm/man/man3/init.3 | 2 +- deps/npm/man/man3/install.3 | 2 +- deps/npm/man/man3/link.3 | 2 +- deps/npm/man/man3/load.3 | 2 +- deps/npm/man/man3/ls.3 | 2 +- deps/npm/man/man3/npm.3 | 4 +- deps/npm/man/man3/outdated.3 | 2 +- deps/npm/man/man3/owner.3 | 2 +- deps/npm/man/man3/pack.3 | 2 +- deps/npm/man/man3/prefix.3 | 2 +- deps/npm/man/man3/prune.3 | 2 +- deps/npm/man/man3/publish.3 | 2 +- deps/npm/man/man3/rebuild.3 | 2 +- deps/npm/man/man3/restart.3 | 2 +- deps/npm/man/man3/root.3 | 2 +- deps/npm/man/man3/run-script.3 | 2 +- deps/npm/man/man3/search.3 | 2 +- deps/npm/man/man3/shrinkwrap.3 | 2 +- deps/npm/man/man3/start.3 | 2 +- deps/npm/man/man3/stop.3 | 2 +- deps/npm/man/man3/submodule.3 | 2 +- deps/npm/man/man3/tag.3 | 2 +- deps/npm/man/man3/test.3 | 2 +- deps/npm/man/man3/uninstall.3 | 2 +- deps/npm/man/man3/unpublish.3 | 2 +- deps/npm/man/man3/update.3 | 2 +- deps/npm/man/man3/version.3 | 2 +- deps/npm/man/man3/view.3 | 2 +- deps/npm/man/man3/whoami.3 | 2 +- deps/npm/node_modules/cmd-shim/.npmignore | 16 + deps/npm/node_modules/cmd-shim/.travis.yml | 4 + deps/npm/node_modules/cmd-shim/LICENSE | 27 + deps/npm/node_modules/cmd-shim/README.md | 42 + .../cmd-shim/index.js} | 334 +- deps/npm/node_modules/cmd-shim/package.json | 28 + .../node_modules/cmd-shim/test/00-setup.js | 34 + deps/npm/node_modules/cmd-shim/test/basic.js | 167 + .../node_modules/cmd-shim/test/zz-cleanup.js | 13 + .../node_modules/fstream-npm/fstream-npm.js | 5 +- .../npm/node_modules/fstream-npm/package.json | 6 +- deps/npm/node_modules/lru-cache/README.md | 12 +- .../node_modules/lru-cache/lib/lru-cache.js | 54 +- deps/npm/node_modules/lru-cache/package.json | 9 +- deps/npm/node_modules/lru-cache/s.js | 25 + deps/npm/node_modules/lru-cache/test/basic.js | 28 + deps/npm/node_modules/node-gyp/addon.gypi | 7 +- .../node-gyp/gyp/pylib/gyp/generator/make.py | 2 +- .../node-gyp/gyp/pylib/gyp/generator/ninja.py | 2 +- deps/npm/node_modules/node-gyp/lib/build.js | 29 +- .../node_modules/node-gyp/lib/configure.js | 15 +- deps/npm/node_modules/node-gyp/lib/install.js | 2 +- .../npm/node_modules/node-gyp/lib/node-gyp.js | 1 + deps/npm/node_modules/node-gyp/package.json | 20 +- .../npm-registry-client/lib/request.js | 1 + .../node_modules/couch-login/package.json | 6 +- .../npm-registry-client/package.json | 8 +- .../read-package-json/package.json | 4 +- .../read-package-json/read-json.js | 25 +- deps/npm/node_modules/request/README.md | 67 +- .../request/{main.js => index.js} | 734 +- deps/npm/node_modules/request/mimetypes.js | 152 - .../aws-sign/index.js} | 106 +- .../node_modules/aws-sign/package.json | 27 + .../cookie-jar}/index.js | 2 + .../cookie => node_modules/cookie-jar}/jar.js | 0 .../node_modules/cookie-jar/package.json | 30 + .../node_modules/cookie-jar/tests/run.js | 40 + .../cookie-jar}/tests/test-cookie.js | 2 +- .../cookie-jar}/tests/test-cookiejar.js | 4 +- .../forever-agent/index.js} | 12 +- .../node_modules/forever-agent/package.json | 27 + .../request/node_modules/form-data/.npmignore | 5 + .../request/node_modules/form-data/License | 19 + .../request/node_modules/form-data/Makefile | 7 + .../request/node_modules/form-data/Readme.md | 118 + .../node_modules/form-data/lib/form_data.js | 291 + .../form-data/node_modules/async/.gitmodules | 9 + .../form-data/node_modules/async/.npmignore | 4 + .../form-data/node_modules/async/LICENSE | 19 + .../form-data/node_modules/async/Makefile | 25 + .../form-data/node_modules/async/README.md | 1021 ++ .../form-data/node_modules/async/index.js | 3 + .../form-data/node_modules/async/lib/async.js | 692 ++ .../form-data/node_modules/async/package.json | 35 + .../node_modules/combined-stream/.npmignore | 3 + .../node_modules/combined-stream/License | 19 + .../node_modules/combined-stream/Makefile | 7 + .../node_modules/combined-stream/Readme.md | 132 + .../combined-stream/lib/combined_stream.js | 185 + .../node_modules/delayed-stream/.npmignore | 2 + .../node_modules/delayed-stream/License | 19 + .../node_modules/delayed-stream/Makefile | 7 + .../node_modules/delayed-stream/Readme.md | 154 + .../delayed-stream/lib/delayed_stream.js | 99 + .../node_modules/delayed-stream/package.json | 32 + .../delayed-stream/test/common.js | 6 + .../integration/test-delayed-http-upload.js | 38 + .../test-delayed-stream-auto-pause.js | 21 + .../integration/test-delayed-stream-pause.js | 14 + .../test/integration/test-delayed-stream.js | 48 + .../integration/test-handle-source-errors.js | 15 + .../test/integration/test-max-data-size.js | 18 + .../test/integration/test-pipe-resumes.js | 13 + .../test/integration/test-proxy-readable.js | 13 + .../node_modules/delayed-stream/test/run.js | 7 + .../node_modules/combined-stream/package.json | 33 + .../combined-stream/test/common.js | 23 + .../combined-stream/test/fixture/file1.txt | 256 + .../combined-stream/test/fixture/file2.txt | 256 + .../test/integration/test-callback-streams.js | 27 + .../test/integration/test-data-size.js | 34 + ...delayed-streams-and-buffers-and-strings.js | 38 + .../test/integration/test-delayed-streams.js | 35 + .../test/integration/test-empty-string.js | 39 + .../test/integration/test-is-stream-like.js | 17 + .../test/integration/test-max-data-size.js | 24 + .../test/integration/test-unpaused-streams.js | 30 + .../node_modules/combined-stream/test/run.js | 7 + .../node_modules/form-data/package.json | 37 + .../node_modules/form-data/test/common.js | 14 + .../form-data/test/fixture/bacon.txt | 1 + .../form-data/test/fixture/unicycle.jpg | Bin 0 -> 19806 bytes .../test/integration/test-custom-headers.js | 75 + .../test/integration/test-form-get-length.js | 93 + .../test/integration/test-get-boundary.js | 18 + .../test/integration/test-http-response.js | 121 + .../form-data/test/integration/test-pipe.js | 120 + .../test/integration/test-submit-custom.js | 121 + .../form-data/test/integration/test-submit.js | 117 + .../node_modules/form-data/test/run.js | 7 + .../request/node_modules/hawk/.npmignore | 18 + .../request/node_modules/hawk/.travis.yml | 5 + .../request/node_modules/hawk/LICENSE | 24 + .../request/node_modules/hawk/Makefile | 11 + .../request/node_modules/hawk/README.md | 604 ++ .../node_modules/hawk/example/usage.js | 77 + .../request/node_modules/hawk/images/hawk.png | Bin 0 -> 6945 bytes .../request/node_modules/hawk/images/logo.png | Bin 0 -> 71732 bytes .../request/node_modules/hawk/index.js | 1 + .../request/node_modules/hawk/lib/client.js | 200 + .../request/node_modules/hawk/lib/crypto.js | 98 + .../request/node_modules/hawk/lib/index.js | 11 + .../request/node_modules/hawk/lib/server.js | 288 + .../request/node_modules/hawk/lib/uri.js | 238 + .../request/node_modules/hawk/lib/utils.js | 167 + .../hawk/node_modules/boom/.npmignore | 18 + .../hawk/node_modules/boom/.travis.yml | 5 + .../hawk/node_modules/boom/LICENSE | 24 + .../hawk/node_modules/boom/Makefile | 11 + .../hawk/node_modules/boom/README.md | 6 + .../hawk/node_modules/boom/images/boom.png | Bin 0 -> 29479 bytes .../hawk/node_modules/boom/index.js | 1 + .../hawk/node_modules/boom/lib/index.js | 207 + .../hawk/node_modules/boom/package.json | 47 + .../hawk/node_modules/boom/test/index.js | 245 + .../hawk/node_modules/cryptiles/.npmignore | 18 + .../hawk/node_modules/cryptiles/.travis.yml | 5 + .../hawk/node_modules/cryptiles/LICENSE | 24 + .../hawk/node_modules/cryptiles/Makefile | 11 + .../hawk/node_modules/cryptiles/README.md | 6 + .../hawk/node_modules/cryptiles/index.js | 1 + .../hawk/node_modules/cryptiles/lib/index.js | 62 + .../hawk/node_modules/cryptiles/package.json | 48 + .../hawk/node_modules/cryptiles/test/index.js | 95 + .../hawk/node_modules/hoek/.npmignore | 18 + .../hawk/node_modules/hoek/.travis.yml | 5 + .../hawk/node_modules/hoek/LICENSE | 33 + .../hawk/node_modules/hoek/Makefile | 10 + .../hawk/node_modules/hoek/README.md | 436 + .../hawk/node_modules/hoek/images/hoek.png | Bin 0 -> 37939 bytes .../hawk/node_modules/hoek/index.js | 1 + .../hawk/node_modules/hoek/lib/escape.js | 132 + .../hawk/node_modules/hoek/lib/index.js | 557 + .../hawk/node_modules/hoek/package.json | 49 + .../hawk/node_modules/hoek/test/escaper.js | 86 + .../hawk/node_modules/hoek/test/index.js | 983 ++ .../node_modules/hoek/test/modules/test1.js | 1 + .../node_modules/hoek/test/modules/test2.js | 1 + .../node_modules/hoek/test/modules/test3.js | 1 + .../hawk/node_modules/sntp/.npmignore | 18 + .../hawk/node_modules/sntp/.travis.yml | 5 + .../hawk/node_modules/sntp/LICENSE | 24 + .../hawk/node_modules/sntp/Makefile | 11 + .../hawk/node_modules/sntp/README.md | 70 + .../hawk/node_modules/sntp/examples/offset.js | 16 + .../hawk/node_modules/sntp/examples/time.js | 25 + .../hawk/node_modules/sntp/index.js | 1 + .../hawk/node_modules/sntp/lib/index.js | 398 + .../hawk/node_modules/sntp/package.json | 48 + .../hawk/node_modules/sntp/test/index.js | 339 + .../request/node_modules/hawk/package.json | 52 + .../request/node_modules/hawk/test/client.js | 208 + .../request/node_modules/hawk/test/crypto.js | 86 + .../request/node_modules/hawk/test/index.js | 316 + .../request/node_modules/hawk/test/readme.js | 98 + .../request/node_modules/hawk/test/server.js | 642 ++ .../request/node_modules/hawk/test/uri.js | 457 + .../request/node_modules/hawk/test/utils.js | 73 + .../node_modules/json-stringify-safe/LICENSE | 27 + .../json-stringify-safe/README.md | 27 + .../json-stringify-safe/package.json | 33 + .../json-stringify-safe/stringify.js | 22 + .../node_modules/json-stringify-safe/test.js | 22 + .../request/node_modules/mime/LICENSE | 19 + .../request/node_modules/mime/README.md | 63 + .../request/node_modules/mime/mime.js | 113 + .../request/node_modules/mime/package.json | 36 + .../request/node_modules/mime/test.js | 55 + .../node_modules/mime/types/mime.types | 1588 +++ .../node_modules/mime/types/node.types | 60 + .../request/node_modules/node-uuid/.npmignore | 2 + .../request/node_modules/node-uuid/LICENSE.md | 3 + .../request/node_modules/node-uuid/README.md | 203 + .../node-uuid/benchmark/README.md | 53 + .../node-uuid/benchmark/bench.gnu | 174 + .../node_modules/node-uuid/benchmark/bench.sh | 34 + .../node-uuid/benchmark/benchmark-native.c | 34 + .../node-uuid/benchmark/benchmark.js | 84 + .../node_modules/node-uuid/package.json | 35 + .../node_modules/node-uuid/test/compare_v1.js | 63 + .../node_modules/node-uuid/test/test.html | 17 + .../node_modules/node-uuid/test/test.js | 228 + .../request/node_modules/node-uuid/uuid.js | 245 + .../request/node_modules/oauth-sign/index.js | 43 + .../node_modules/oauth-sign/package.json | 30 + .../request/node_modules/oauth-sign/test.js | 49 + .../request/node_modules/qs/.gitmodules | 6 + .../request/node_modules/qs/.npmignore | 1 + .../request/node_modules/qs/.travis.yml | 4 + .../request/node_modules/qs/History.md | 104 + .../request/node_modules/qs/Makefile | 6 + .../request/node_modules/qs/Readme.md | 58 + .../request/node_modules/qs/benchmark.js | 17 + .../request/node_modules/qs/component.json | 9 + .../request/node_modules/qs/examples.js | 51 + .../request/node_modules/qs/index.js | 266 + .../request/node_modules/qs/package.json | 40 + .../node_modules/qs/test/browser/expect.js | 1202 +++ .../node_modules/qs/test/browser/index.html | 18 + .../node_modules/qs/test/browser/jquery.js | 8981 +++++++++++++++++ .../node_modules/qs/test/browser/mocha.css | 163 + .../node_modules/qs/test/browser/mocha.js | 4201 ++++++++ .../node_modules/qs/test/browser/qs.css | 0 .../node_modules/qs/test/browser/qs.js | 351 + .../request/node_modules/qs/test/parse.js | 147 + .../request/node_modules/qs/test/stringify.js | 80 + .../node_modules/tunnel-agent/index.js | 227 + .../node_modules/tunnel-agent/package.json | 27 + deps/npm/node_modules/request/oauth.js | 34 - deps/npm/node_modules/request/package.json | 29 +- .../{googledoodle.png => googledoodle.jpg} | Bin deps/npm/node_modules/request/tests/run.js | 69 +- deps/npm/node_modules/request/tests/server.js | 6 +- .../request/tests/test-basic-auth.js | 74 + .../node_modules/request/tests/test-body.js | 7 +- .../request/tests/test-defaults.js | 34 +- .../request/tests/test-digest-auth.js | 69 + .../node_modules/request/tests/test-errors.js | 2 +- .../request/tests/test-follow-all-303.js | 2 +- .../request/tests/test-follow-all.js | 2 +- .../node_modules/request/tests/test-form.js | 79 + .../node_modules/request/tests/test-hawk.js | 33 + .../request/tests/test-headers.js | 6 +- .../request/tests/test-httpModule.js | 10 +- .../request/tests/test-https-strict.js | 2 +- .../node_modules/request/tests/test-https.js | 3 +- .../node_modules/request/tests/test-oauth.js | 4 +- .../node_modules/request/tests/test-params.js | 5 +- .../request/tests/test-piped-redirect.js | 42 + .../node_modules/request/tests/test-pipes.js | 28 +- .../node_modules/request/tests/test-pool.js | 2 +- .../tests/test-protocol-changing-redirect.js | 5 +- .../node_modules/request/tests/test-proxy.js | 2 +- .../npm/node_modules/request/tests/test-qs.js | 8 +- .../request/tests/test-redirect.js | 7 +- .../npm/node_modules/request/tests/test-s3.js | 13 + .../request/tests/test-timeout.js | 2 +- .../node_modules/request/tests/test-toJSON.js | 2 +- .../node_modules/request/tests/test-tunnel.js | 4 +- .../node_modules/request/tests/unicycle.jpg | Bin 0 -> 19806 bytes deps/npm/node_modules/request/tunnel.js | 230 - deps/npm/node_modules/request/uuid.js | 19 - deps/npm/node_modules/tar/package.json | 13 +- deps/npm/node_modules/tar/test/pack.js | 3 +- deps/npm/package.json | 20 +- deps/npm/test/tap/peer-deps-invalid.js | 66 +- .../test/tap/peer-deps-invalid/package.json | 4 +- .../tap/peer-deps-without-package-json.js | 47 +- 466 files changed, 34163 insertions(+), 1402 deletions(-) create mode 100644 deps/npm/node_modules/cmd-shim/.npmignore create mode 100644 deps/npm/node_modules/cmd-shim/.travis.yml create mode 100644 deps/npm/node_modules/cmd-shim/LICENSE create mode 100644 deps/npm/node_modules/cmd-shim/README.md rename deps/npm/{lib/utils/cmd-shim.js => node_modules/cmd-shim/index.js} (65%) create mode 100644 deps/npm/node_modules/cmd-shim/package.json create mode 100644 deps/npm/node_modules/cmd-shim/test/00-setup.js create mode 100644 deps/npm/node_modules/cmd-shim/test/basic.js create mode 100644 deps/npm/node_modules/cmd-shim/test/zz-cleanup.js create mode 100644 deps/npm/node_modules/lru-cache/s.js rename deps/npm/node_modules/request/{main.js => index.js} (60%) mode change 100644 => 100755 delete mode 100644 deps/npm/node_modules/request/mimetypes.js rename deps/npm/node_modules/request/{aws.js => node_modules/aws-sign/index.js} (60%) create mode 100644 deps/npm/node_modules/request/node_modules/aws-sign/package.json rename deps/npm/node_modules/request/{vendor/cookie => node_modules/cookie-jar}/index.js (97%) rename deps/npm/node_modules/request/{vendor/cookie => node_modules/cookie-jar}/jar.js (100%) create mode 100644 deps/npm/node_modules/request/node_modules/cookie-jar/package.json create mode 100644 deps/npm/node_modules/request/node_modules/cookie-jar/tests/run.js rename deps/npm/node_modules/request/{ => node_modules/cookie-jar}/tests/test-cookie.js (94%) rename deps/npm/node_modules/request/{ => node_modules/cookie-jar}/tests/test-cookiejar.js (96%) rename deps/npm/node_modules/request/{forever.js => node_modules/forever-agent/index.js} (93%) create mode 100644 deps/npm/node_modules/request/node_modules/forever-agent/package.json create mode 100644 deps/npm/node_modules/request/node_modules/form-data/.npmignore create mode 100644 deps/npm/node_modules/request/node_modules/form-data/License create mode 100644 deps/npm/node_modules/request/node_modules/form-data/Makefile create mode 100644 deps/npm/node_modules/request/node_modules/form-data/Readme.md create mode 100644 deps/npm/node_modules/request/node_modules/form-data/lib/form_data.js create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/async/.gitmodules create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/async/.npmignore create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/async/LICENSE create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/async/Makefile create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/async/README.md create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/async/index.js create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/async/lib/async.js create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/async/package.json create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/.npmignore 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/Makefile 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 create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/common.js create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-delayed-http-upload.js create mode 100644 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 create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-delayed-stream-pause.js create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-delayed-stream.js create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-handle-source-errors.js create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-max-data-size.js create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-pipe-resumes.js create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-proxy-readable.js create mode 100755 deps/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/run.js 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/form-data/node_modules/combined-stream/test/common.js create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/test/fixture/file1.txt create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/test/fixture/file2.txt create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/test/integration/test-callback-streams.js create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/test/integration/test-data-size.js create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/test/integration/test-delayed-streams-and-buffers-and-strings.js create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/test/integration/test-delayed-streams.js create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/test/integration/test-empty-string.js create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/test/integration/test-is-stream-like.js create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/test/integration/test-max-data-size.js create mode 100644 deps/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/test/integration/test-unpaused-streams.js create mode 100755 deps/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/test/run.js create mode 100644 deps/npm/node_modules/request/node_modules/form-data/package.json create mode 100644 deps/npm/node_modules/request/node_modules/form-data/test/common.js create mode 100644 deps/npm/node_modules/request/node_modules/form-data/test/fixture/bacon.txt create mode 100644 deps/npm/node_modules/request/node_modules/form-data/test/fixture/unicycle.jpg create mode 100644 deps/npm/node_modules/request/node_modules/form-data/test/integration/test-custom-headers.js create mode 100644 deps/npm/node_modules/request/node_modules/form-data/test/integration/test-form-get-length.js create mode 100644 deps/npm/node_modules/request/node_modules/form-data/test/integration/test-get-boundary.js create mode 100644 deps/npm/node_modules/request/node_modules/form-data/test/integration/test-http-response.js create mode 100644 deps/npm/node_modules/request/node_modules/form-data/test/integration/test-pipe.js create mode 100644 deps/npm/node_modules/request/node_modules/form-data/test/integration/test-submit-custom.js create mode 100644 deps/npm/node_modules/request/node_modules/form-data/test/integration/test-submit.js create mode 100755 deps/npm/node_modules/request/node_modules/form-data/test/run.js create mode 100644 deps/npm/node_modules/request/node_modules/hawk/.npmignore create mode 100755 deps/npm/node_modules/request/node_modules/hawk/.travis.yml create mode 100755 deps/npm/node_modules/request/node_modules/hawk/LICENSE create mode 100755 deps/npm/node_modules/request/node_modules/hawk/Makefile create mode 100755 deps/npm/node_modules/request/node_modules/hawk/README.md create mode 100755 deps/npm/node_modules/request/node_modules/hawk/example/usage.js create mode 100755 deps/npm/node_modules/request/node_modules/hawk/images/hawk.png create mode 100755 deps/npm/node_modules/request/node_modules/hawk/images/logo.png create mode 100755 deps/npm/node_modules/request/node_modules/hawk/index.js create mode 100755 deps/npm/node_modules/request/node_modules/hawk/lib/client.js create mode 100755 deps/npm/node_modules/request/node_modules/hawk/lib/crypto.js create mode 100755 deps/npm/node_modules/request/node_modules/hawk/lib/index.js create mode 100755 deps/npm/node_modules/request/node_modules/hawk/lib/server.js create mode 100755 deps/npm/node_modules/request/node_modules/hawk/lib/uri.js create mode 100755 deps/npm/node_modules/request/node_modules/hawk/lib/utils.js create mode 100644 deps/npm/node_modules/request/node_modules/hawk/node_modules/boom/.npmignore create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/boom/.travis.yml create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/boom/LICENSE create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/boom/Makefile create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/boom/README.md create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/boom/images/boom.png create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/boom/index.js create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/boom/lib/index.js create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/boom/package.json create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/boom/test/index.js create mode 100644 deps/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/.npmignore create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/.travis.yml create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/LICENSE create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/Makefile create mode 100644 deps/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/README.md create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/index.js create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/lib/index.js create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/package.json create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/test/index.js create mode 100644 deps/npm/node_modules/request/node_modules/hawk/node_modules/hoek/.npmignore create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/hoek/.travis.yml create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/hoek/LICENSE create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/hoek/Makefile create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/hoek/README.md create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/hoek/images/hoek.png create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/hoek/index.js create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/hoek/lib/escape.js create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/hoek/lib/index.js create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/hoek/package.json create mode 100644 deps/npm/node_modules/request/node_modules/hawk/node_modules/hoek/test/escaper.js create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/hoek/test/index.js create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/test1.js create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/test2.js create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/test3.js create mode 100644 deps/npm/node_modules/request/node_modules/hawk/node_modules/sntp/.npmignore create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/sntp/.travis.yml create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/sntp/LICENSE create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/sntp/Makefile create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/sntp/README.md create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/sntp/examples/offset.js create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/sntp/examples/time.js create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/sntp/index.js create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/sntp/lib/index.js create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/sntp/package.json create mode 100755 deps/npm/node_modules/request/node_modules/hawk/node_modules/sntp/test/index.js create mode 100755 deps/npm/node_modules/request/node_modules/hawk/package.json create mode 100755 deps/npm/node_modules/request/node_modules/hawk/test/client.js create mode 100755 deps/npm/node_modules/request/node_modules/hawk/test/crypto.js create mode 100755 deps/npm/node_modules/request/node_modules/hawk/test/index.js create mode 100755 deps/npm/node_modules/request/node_modules/hawk/test/readme.js create mode 100755 deps/npm/node_modules/request/node_modules/hawk/test/server.js create mode 100755 deps/npm/node_modules/request/node_modules/hawk/test/uri.js create mode 100755 deps/npm/node_modules/request/node_modules/hawk/test/utils.js create mode 100644 deps/npm/node_modules/request/node_modules/json-stringify-safe/LICENSE create mode 100644 deps/npm/node_modules/request/node_modules/json-stringify-safe/README.md create mode 100644 deps/npm/node_modules/request/node_modules/json-stringify-safe/package.json create mode 100644 deps/npm/node_modules/request/node_modules/json-stringify-safe/stringify.js create mode 100644 deps/npm/node_modules/request/node_modules/json-stringify-safe/test.js create mode 100644 deps/npm/node_modules/request/node_modules/mime/LICENSE create mode 100644 deps/npm/node_modules/request/node_modules/mime/README.md create mode 100644 deps/npm/node_modules/request/node_modules/mime/mime.js create mode 100644 deps/npm/node_modules/request/node_modules/mime/package.json create mode 100644 deps/npm/node_modules/request/node_modules/mime/test.js create mode 100644 deps/npm/node_modules/request/node_modules/mime/types/mime.types create mode 100644 deps/npm/node_modules/request/node_modules/mime/types/node.types create mode 100644 deps/npm/node_modules/request/node_modules/node-uuid/.npmignore create mode 100644 deps/npm/node_modules/request/node_modules/node-uuid/LICENSE.md create mode 100644 deps/npm/node_modules/request/node_modules/node-uuid/README.md create mode 100644 deps/npm/node_modules/request/node_modules/node-uuid/benchmark/README.md create mode 100644 deps/npm/node_modules/request/node_modules/node-uuid/benchmark/bench.gnu create mode 100755 deps/npm/node_modules/request/node_modules/node-uuid/benchmark/bench.sh create mode 100644 deps/npm/node_modules/request/node_modules/node-uuid/benchmark/benchmark-native.c create mode 100644 deps/npm/node_modules/request/node_modules/node-uuid/benchmark/benchmark.js create mode 100644 deps/npm/node_modules/request/node_modules/node-uuid/package.json create mode 100644 deps/npm/node_modules/request/node_modules/node-uuid/test/compare_v1.js create mode 100644 deps/npm/node_modules/request/node_modules/node-uuid/test/test.html create mode 100644 deps/npm/node_modules/request/node_modules/node-uuid/test/test.js create mode 100644 deps/npm/node_modules/request/node_modules/node-uuid/uuid.js create mode 100644 deps/npm/node_modules/request/node_modules/oauth-sign/index.js create mode 100644 deps/npm/node_modules/request/node_modules/oauth-sign/package.json create mode 100644 deps/npm/node_modules/request/node_modules/oauth-sign/test.js create mode 100644 deps/npm/node_modules/request/node_modules/qs/.gitmodules create mode 100644 deps/npm/node_modules/request/node_modules/qs/.npmignore create mode 100644 deps/npm/node_modules/request/node_modules/qs/.travis.yml create mode 100644 deps/npm/node_modules/request/node_modules/qs/History.md create mode 100644 deps/npm/node_modules/request/node_modules/qs/Makefile create mode 100644 deps/npm/node_modules/request/node_modules/qs/Readme.md create mode 100644 deps/npm/node_modules/request/node_modules/qs/benchmark.js create mode 100644 deps/npm/node_modules/request/node_modules/qs/component.json create mode 100644 deps/npm/node_modules/request/node_modules/qs/examples.js create mode 100644 deps/npm/node_modules/request/node_modules/qs/index.js create mode 100644 deps/npm/node_modules/request/node_modules/qs/package.json create mode 100644 deps/npm/node_modules/request/node_modules/qs/test/browser/expect.js create mode 100644 deps/npm/node_modules/request/node_modules/qs/test/browser/index.html create mode 100644 deps/npm/node_modules/request/node_modules/qs/test/browser/jquery.js create mode 100644 deps/npm/node_modules/request/node_modules/qs/test/browser/mocha.css create mode 100644 deps/npm/node_modules/request/node_modules/qs/test/browser/mocha.js create mode 100644 deps/npm/node_modules/request/node_modules/qs/test/browser/qs.css create mode 100644 deps/npm/node_modules/request/node_modules/qs/test/browser/qs.js create mode 100644 deps/npm/node_modules/request/node_modules/qs/test/parse.js create mode 100644 deps/npm/node_modules/request/node_modules/qs/test/stringify.js create mode 100644 deps/npm/node_modules/request/node_modules/tunnel-agent/index.js create mode 100644 deps/npm/node_modules/request/node_modules/tunnel-agent/package.json delete mode 100644 deps/npm/node_modules/request/oauth.js mode change 100644 => 100755 deps/npm/node_modules/request/package.json rename deps/npm/node_modules/request/tests/{googledoodle.png => googledoodle.jpg} (100%) create mode 100644 deps/npm/node_modules/request/tests/test-basic-auth.js create mode 100644 deps/npm/node_modules/request/tests/test-digest-auth.js create mode 100644 deps/npm/node_modules/request/tests/test-form.js create mode 100755 deps/npm/node_modules/request/tests/test-hawk.js create mode 100644 deps/npm/node_modules/request/tests/test-piped-redirect.js create mode 100644 deps/npm/node_modules/request/tests/test-s3.js create mode 100644 deps/npm/node_modules/request/tests/unicycle.jpg delete mode 100644 deps/npm/node_modules/request/tunnel.js delete mode 100644 deps/npm/node_modules/request/uuid.js diff --git a/deps/npm/.npmignore b/deps/npm/.npmignore index bd0982f2e27..6c258eaa0b8 100644 --- a/deps/npm/.npmignore +++ b/deps/npm/.npmignore @@ -1,4 +1,5 @@ *.swp +.*.swp npm-debug.log /test/bin /test/output.log @@ -20,3 +21,5 @@ html/*.png !.npmignore /npm-*.tgz + +*.pyc diff --git a/deps/npm/doc/cli/disputes.md b/deps/npm/doc/cli/disputes.md index 751e804f8fd..52d2a2e560c 100644 --- a/deps/npm/doc/cli/disputes.md +++ b/deps/npm/doc/cli/disputes.md @@ -15,9 +15,9 @@ There sometimes arise cases where a user publishes a module, and then later, some other user wants to use that name. Here are some common ways that happens (each of these is based on actual events.) -1. Bob writes a JavaScript module `foo`, which is not node-specific. - Bob doesn't use node at all. Joe wants to use `foo` in node, so he - wraps it in an npm module. Some time later, Bob starts using node, +1. Joe writes a JavaScript module `foo`, which is not node-specific. + Joe doesn't use node at all. Bob wants to use `foo` in node, so he + wraps it in an npm module. Some time later, Joe starts using node, and wants to take over management of his program. 2. Bob writes an npm module `foo`, and publishes it. Perhaps much later, Joe finds a bug in `foo`, and fixes it. He sends a pull @@ -49,7 +49,8 @@ Joe's appropriate course of action in each case is the same. the `foo` package. 3. After a reasonable amount of time, if Bob has not responded, or if Bob and Joe can't come to any sort of resolution, email isaacs - and we'll sort it out. + and we'll sort it out. ("Reasonable" is usually about 4 + weeks, but extra time is allowed around common holidays.) ## REASONING @@ -71,17 +72,23 @@ Some things are not allowed, and will be removed without discussion if they are brought to the attention of the npm registry admins, including but not limited to: -1. Malware (that is, a module designed to exploit or harm the machine on - which it is installed) +1. Malware (that is, a package designed to exploit or harm the machine on + which it is installed). 2. Violations of copyright or licenses (for example, cloning an MIT-licensed program, and then removing or changing the copyright and - license statement) + license statement). 3. Illegal content. 4. "Squatting" on a package name that you *plan* to use, but aren't actually using. Sorry, I don't care how great the name is, or how perfect a fit it is for the thing that someday might happen. If someone wants to use it today, and you're just taking up space with an empty tarball, you're going to be evicted. +5. Putting empty packages in the registry. Packages must have SOME + functionality. It can be silly, but it can't be *nothing*. (See + also: squatting.) +6. Doing weird things with the registry, like using it as your own + personal application database or otherwise putting non-packagey + things into it. If you see bad behavior like this, please report it right away. diff --git a/deps/npm/doc/cli/faq.md b/deps/npm/doc/cli/faq.md index d6cc041e4ca..518fbef120c 100644 --- a/deps/npm/doc/cli/faq.md +++ b/deps/npm/doc/cli/faq.md @@ -77,7 +77,7 @@ npm will not help you do something that is known to be a bad idea. No. This will never happen. This question comes up sometimes, because it seems silly from the outside that npm couldn't just be configured to put stuff somewhere else, and then npm could load them -from there. It's an arbitrary spelling choice, right? What's the bg +from there. It's an arbitrary spelling choice, right? What's the big deal? At the time of this writing, the string `'node_modules'` appears 151 diff --git a/deps/npm/doc/cli/json.md b/deps/npm/doc/cli/json.md index c6cedaaaf3b..403f7f856a7 100644 --- a/deps/npm/doc/cli/json.md +++ b/deps/npm/doc/cli/json.md @@ -118,6 +118,27 @@ you can specify the value for "bugs" as a simple string instead of an object. If a url is provided, it will be used by the `npm bugs` command. +## license + +You should specify a license for your package so that people know how they are +permitted to use it, and any restrictions you're placing on it. + +The simplest way, assuming you're using a common license such as BSD or MIT, is +to just specify the name of the license you're using, like this: + + { "license" : "BSD" } + +If you have more complex licensing terms, or you want to provide more detail +in your package.json file, you can use the more verbose plural form, like this: + + "licenses" : [ + { "type" : "MyLicense" + , "url" : "http://github.com/owner/project/path/to/license" + } + ] + +It's also a good idea to include a license file at the top level in your package. + ## people fields: author, contributors The "author" is one person. "contributors" is an array of people. A "person" @@ -416,9 +437,9 @@ In this case, it's best to list these additional items in a `devDependencies` hash. These things will be installed whenever the `--dev` configuration flag -is set. This flag is set automatically when doing `npm link`, and can -be managed like any other npm configuration param. See `npm-config(1)` -for more on the topic. +is set. This flag is set automatically when doing `npm link` or when doing +`npm install` from the root of a package, and can be managed like any other npm +configuration param. See `npm-config(1)` for more on the topic. ## bundledDependencies diff --git a/deps/npm/html/api/bin.html b/deps/npm/html/api/bin.html index 7aa186c24f7..e3216aee932 100644 --- a/deps/npm/html/api/bin.html +++ b/deps/npm/html/api/bin.html @@ -19,7 +19,7 @@
This function should not be used programmatically. Instead, just refer
to the npm.bin member.