Showing with 1,573 additions and 305 deletions.
  1. +1 −0 deps/npm/.eslintrc
  2. +6 −2 deps/npm/.travis.yml
  3. +8 −0 deps/npm/AUTHORS
  4. +67 −0 deps/npm/CHANGELOG.md
  5. +1 −1 deps/npm/README.md
  6. +1 −1 deps/npm/doc/cli/npm-dist-tag.md
  7. +2 −2 deps/npm/doc/cli/npm-link.md
  8. +50 −0 deps/npm/doc/cli/npm-logout.md
  9. +21 −9 deps/npm/doc/files/package.json.md
  10. +7 −2 deps/npm/doc/misc/npm-config.md
  11. +4 −0 deps/npm/doc/misc/npm-index.md
  12. +4 −1 deps/npm/doc/misc/semver.md
  13. +3 −3 deps/npm/html/doc/README.html
  14. +1 −1 deps/npm/html/doc/api/npm-bin.html
  15. +1 −1 deps/npm/html/doc/api/npm-bugs.html
  16. +1 −1 deps/npm/html/doc/api/npm-cache.html
  17. +1 −1 deps/npm/html/doc/api/npm-commands.html
  18. +1 −1 deps/npm/html/doc/api/npm-config.html
  19. +1 −1 deps/npm/html/doc/api/npm-deprecate.html
  20. +1 −1 deps/npm/html/doc/api/npm-docs.html
  21. +1 −1 deps/npm/html/doc/api/npm-edit.html
  22. +1 −1 deps/npm/html/doc/api/npm-explore.html
  23. +1 −1 deps/npm/html/doc/api/npm-help-search.html
  24. +1 −1 deps/npm/html/doc/api/npm-init.html
  25. +1 −1 deps/npm/html/doc/api/npm-install.html
  26. +1 −1 deps/npm/html/doc/api/npm-link.html
  27. +1 −1 deps/npm/html/doc/api/npm-load.html
  28. +1 −1 deps/npm/html/doc/api/npm-ls.html
  29. +1 −1 deps/npm/html/doc/api/npm-outdated.html
  30. +1 −1 deps/npm/html/doc/api/npm-owner.html
  31. +1 −1 deps/npm/html/doc/api/npm-pack.html
  32. +1 −1 deps/npm/html/doc/api/npm-prefix.html
  33. +1 −1 deps/npm/html/doc/api/npm-prune.html
  34. +1 −1 deps/npm/html/doc/api/npm-publish.html
  35. +1 −1 deps/npm/html/doc/api/npm-rebuild.html
  36. +1 −1 deps/npm/html/doc/api/npm-repo.html
  37. +1 −1 deps/npm/html/doc/api/npm-restart.html
  38. +1 −1 deps/npm/html/doc/api/npm-root.html
  39. +1 −1 deps/npm/html/doc/api/npm-run-script.html
  40. +1 −1 deps/npm/html/doc/api/npm-search.html
  41. +1 −1 deps/npm/html/doc/api/npm-shrinkwrap.html
  42. +1 −1 deps/npm/html/doc/api/npm-start.html
  43. +1 −1 deps/npm/html/doc/api/npm-stop.html
  44. +1 −1 deps/npm/html/doc/api/npm-tag.html
  45. +1 −1 deps/npm/html/doc/api/npm-test.html
  46. +1 −1 deps/npm/html/doc/api/npm-uninstall.html
  47. +1 −1 deps/npm/html/doc/api/npm-unpublish.html
  48. +1 −1 deps/npm/html/doc/api/npm-update.html
  49. +1 −1 deps/npm/html/doc/api/npm-version.html
  50. +1 −1 deps/npm/html/doc/api/npm-view.html
  51. +1 −1 deps/npm/html/doc/api/npm-whoami.html
  52. +2 −2 deps/npm/html/doc/api/npm.html
  53. +1 −1 deps/npm/html/doc/cli/npm-access.html
  54. +1 −1 deps/npm/html/doc/cli/npm-adduser.html
  55. +1 −1 deps/npm/html/doc/cli/npm-bin.html
  56. +1 −1 deps/npm/html/doc/cli/npm-bugs.html
  57. +1 −1 deps/npm/html/doc/cli/npm-build.html
  58. +1 −1 deps/npm/html/doc/cli/npm-bundle.html
  59. +1 −1 deps/npm/html/doc/cli/npm-cache.html
  60. +1 −1 deps/npm/html/doc/cli/npm-completion.html
  61. +1 −1 deps/npm/html/doc/cli/npm-config.html
  62. +1 −1 deps/npm/html/doc/cli/npm-dedupe.html
  63. +1 −1 deps/npm/html/doc/cli/npm-deprecate.html
  64. +2 −2 deps/npm/html/doc/cli/npm-dist-tag.html
  65. +1 −1 deps/npm/html/doc/cli/npm-docs.html
  66. +1 −1 deps/npm/html/doc/cli/npm-edit.html
  67. +1 −1 deps/npm/html/doc/cli/npm-explore.html
  68. +1 −1 deps/npm/html/doc/cli/npm-help-search.html
  69. +1 −1 deps/npm/html/doc/cli/npm-help.html
  70. +1 −1 deps/npm/html/doc/cli/npm-init.html
  71. +1 −1 deps/npm/html/doc/cli/npm-install.html
  72. +3 −3 deps/npm/html/doc/cli/npm-link.html
  73. +59 −0 deps/npm/html/doc/cli/npm-logout.html
  74. +2 −2 deps/npm/html/doc/cli/npm-ls.html
  75. +1 −1 deps/npm/html/doc/cli/npm-outdated.html
  76. +1 −1 deps/npm/html/doc/cli/npm-owner.html
  77. +1 −1 deps/npm/html/doc/cli/npm-pack.html
  78. +1 −1 deps/npm/html/doc/cli/npm-prefix.html
  79. +1 −1 deps/npm/html/doc/cli/npm-prune.html
  80. +1 −1 deps/npm/html/doc/cli/npm-publish.html
  81. +1 −1 deps/npm/html/doc/cli/npm-rebuild.html
  82. +1 −1 deps/npm/html/doc/cli/npm-repo.html
  83. +1 −1 deps/npm/html/doc/cli/npm-restart.html
  84. +1 −1 deps/npm/html/doc/cli/npm-rm.html
  85. +1 −1 deps/npm/html/doc/cli/npm-root.html
  86. +1 −1 deps/npm/html/doc/cli/npm-run-script.html
  87. +1 −1 deps/npm/html/doc/cli/npm-search.html
  88. +1 −1 deps/npm/html/doc/cli/npm-shrinkwrap.html
  89. +1 −1 deps/npm/html/doc/cli/npm-star.html
  90. +1 −1 deps/npm/html/doc/cli/npm-stars.html
  91. +1 −1 deps/npm/html/doc/cli/npm-start.html
  92. +1 −1 deps/npm/html/doc/cli/npm-stop.html
  93. +1 −1 deps/npm/html/doc/cli/npm-tag.html
  94. +1 −1 deps/npm/html/doc/cli/npm-test.html
  95. +1 −1 deps/npm/html/doc/cli/npm-uninstall.html
  96. +1 −1 deps/npm/html/doc/cli/npm-unpublish.html
  97. +1 −1 deps/npm/html/doc/cli/npm-update.html
  98. +1 −1 deps/npm/html/doc/cli/npm-version.html
  99. +1 −1 deps/npm/html/doc/cli/npm-view.html
  100. +1 −1 deps/npm/html/doc/cli/npm-whoami.html
  101. +5 −5 deps/npm/html/doc/cli/npm.html
  102. +1 −1 deps/npm/html/doc/files/npm-folders.html
  103. +1 −1 deps/npm/html/doc/files/npm-global.html
  104. +20 −12 deps/npm/html/doc/files/npm-json.html
  105. +1 −1 deps/npm/html/doc/files/npmrc.html
  106. +20 −12 deps/npm/html/doc/files/package.json.html
  107. +3 −1 deps/npm/html/doc/index.html
  108. +1 −1 deps/npm/html/doc/misc/npm-coding-style.html
  109. +7 −3 deps/npm/html/doc/misc/npm-config.html
  110. +1 −1 deps/npm/html/doc/misc/npm-developers.html
  111. +4 −4 deps/npm/html/doc/misc/npm-disputes.html
  112. +2 −2 deps/npm/html/doc/misc/npm-faq.html
  113. +3 −1 deps/npm/html/doc/misc/npm-index.html
  114. +1 −1 deps/npm/html/doc/misc/npm-registry.html
  115. +1 −1 deps/npm/html/doc/misc/npm-scope.html
  116. +1 −1 deps/npm/html/doc/misc/npm-scripts.html
  117. +1 −1 deps/npm/html/doc/misc/removing-npm.html
  118. +5 −2 deps/npm/html/doc/misc/semver.html
  119. +2 −2 deps/npm/html/partial/doc/README.html
  120. +1 −1 deps/npm/html/partial/doc/api/npm.html
  121. +1 −1 deps/npm/html/partial/doc/cli/npm-dist-tag.html
  122. +2 −2 deps/npm/html/partial/doc/cli/npm-link.html
  123. +35 −0 deps/npm/html/partial/doc/cli/npm-logout.html
  124. +1 −1 deps/npm/html/partial/doc/cli/npm-ls.html
  125. +4 −4 deps/npm/html/partial/doc/cli/npm.html
  126. +19 −11 deps/npm/html/partial/doc/files/npm-json.html
  127. +19 −11 deps/npm/html/partial/doc/files/package.json.html
  128. +2 −0 deps/npm/html/partial/doc/index.html
  129. +6 −2 deps/npm/html/partial/doc/misc/npm-config.html
  130. +3 −3 deps/npm/html/partial/doc/misc/npm-disputes.html
  131. +1 −1 deps/npm/html/partial/doc/misc/npm-faq.html
  132. +2 −0 deps/npm/html/partial/doc/misc/npm-index.html
  133. +4 −1 deps/npm/html/partial/doc/misc/semver.html
  134. +2 −1 deps/npm/lib/build.js
  135. +7 −0 deps/npm/lib/cache/add-named.js
  136. +16 −0 deps/npm/lib/config/clear-credentials-by-uri.js
  137. +10 −2 deps/npm/lib/config/core.js
  138. +13 −0 deps/npm/lib/install.js
  139. +40 −0 deps/npm/lib/logout.js
  140. +1 −0 deps/npm/lib/npm.js
  141. +5 −0 deps/npm/lib/outdated.js
  142. +24 −0 deps/npm/lib/utils/warn-deprecated.js
  143. +1 −1 deps/npm/man/man1/npm-README.1
  144. +1 −1 deps/npm/man/man1/npm-dist-tag.1
  145. +2 −2 deps/npm/man/man1/npm-link.1
  146. +62 −0 deps/npm/man/man1/npm-logout.1
  147. +1 −1 deps/npm/man/man1/npm-ls.1
  148. +1 −1 deps/npm/man/man1/npm.1
  149. +1 −1 deps/npm/man/man3/npm.3
  150. +25 −9 deps/npm/man/man5/npm-json.5
  151. +25 −9 deps/npm/man/man5/package.json.5
  152. +7 −2 deps/npm/man/man7/npm-config.7
  153. +3 −0 deps/npm/man/man7/npm-index.7
  154. +6 −0 deps/npm/man/man7/semver.7
  155. +1 −0 deps/npm/node_modules/glob/README.md
  156. +54 −1 deps/npm/node_modules/glob/common.js
  157. +5 −1 deps/npm/node_modules/glob/glob.js
  158. +11 −10 deps/npm/node_modules/glob/package.json
  159. +6 −0 deps/npm/node_modules/glob/sync.js
  160. +1 −1 deps/npm/node_modules/ini/ini.js
  161. +10 −10 deps/npm/node_modules/ini/package.json
  162. +2 −0 deps/npm/node_modules/ini/test/fixtures/foo.ini
  163. +2 −0 deps/npm/node_modules/ini/test/foo.js
  164. +10 −0 deps/npm/node_modules/npm-registry-client/.travis.yml
  165. +23 −0 deps/npm/node_modules/npm-registry-client/lib/logout.js
  166. +5 −5 deps/npm/node_modules/npm-registry-client/package.json
  167. +74 −0 deps/npm/node_modules/npm-registry-client/test/logout.js
  168. +1 −1 deps/npm/node_modules/npm-registry-client/test/request-gzip-content.js
  169. +10 −9 deps/npm/node_modules/read-package-json/package.json
  170. +30 −3 deps/npm/node_modules/read-package-json/read-json.js
  171. +43 −0 deps/npm/node_modules/read-package-json/test/bin.js
  172. +11 −0 deps/npm/node_modules/read-package-json/test/fixtures/badbin.json
  173. +11 −0 deps/npm/node_modules/read-package-json/test/fixtures/bin.json
  174. +3 −0 deps/npm/node_modules/read-package-json/test/fixtures/bin/echo
  175. +11 −0 deps/npm/node_modules/read-package-json/test/fixtures/emptybin.json
  176. +4 −1 deps/npm/node_modules/semver/README.md
  177. +10 −11 deps/npm/node_modules/semver/package.json
  178. +15 −0 deps/npm/node_modules/semver/semver.browser.js
  179. BIN deps/npm/node_modules/semver/semver.browser.js.gz
  180. +15 −0 deps/npm/node_modules/semver/semver.js
  181. +1 −1 deps/npm/node_modules/semver/semver.min.js
  182. BIN deps/npm/node_modules/semver/semver.min.js.gz
  183. +3 −1 deps/npm/node_modules/semver/test/index.js
  184. +72 −0 deps/npm/node_modules/semver/test/major-minor-patch.js
  185. +8 −7 deps/npm/package.json
  186. +1 −1 deps/npm/test/common-tap.js
  187. +1 −1 deps/npm/test/fixtures/config/userconfig-with-gc
  188. +5 −1 deps/npm/test/tap/add-remote-git-fake-windows.js
  189. +55 −0 deps/npm/test/tap/config-credentials.js
  190. +72 −0 deps/npm/test/tap/config-edit.js
  191. +75 −0 deps/npm/test/tap/install-man.js
  192. +67 −0 deps/npm/test/tap/logout.js
  193. +78 −0 deps/npm/test/tap/outdated-depth-deep.js
  194. +0 −1 deps/npm/test/tap/outdated-depth.js
  195. +2 −1 deps/npm/test/tap/outdated-depth/package.json
  196. +5 −4 deps/npm/test/tap/umask-lifecycle.js
  197. +2 −1 deps/npm/test/tap/version-git-not-clean.js
@@ -10,6 +10,7 @@
"curly": 0,
"no-underscore-dangle": 0,
"no-lonely-if": 1,
"no-shadow": 0,
"no-unused-vars": [2, {"vars" : "all", "args" : "after-used"}],
"no-mixed-requires": 0,
"space-infix-ops": 0,
@@ -1,11 +1,15 @@
language: node_js
node_js:
- "0.11"
- iojs
- "0.12"
- "0.10"
- "0.8"
env:
- DEPLOY_VERSION=testing
before_install:
- "npm config set spin false"
- "npm install -g npm@^2"
- "npm install -g npm@~2"
- "sudo mkdir -p /var/run/couchdb"
script: "npm run-script test-all"
notifications:
slack: npm-inc:kRqQjto7YbINqHPb1X6nS3g8
@@ -158,8 +158,15 @@ Aria Stewart <aredridel@nbtsc.org>
Adam Meadows <adam.meadows@gmail.com>
Charlie Rudolph <charles.w.rudolph@gmail.com>
Chulki Lee <chulki.lee@gmail.com>
Vladimir Rutsky <rutsky@users.noreply.github.com>
不四 <busi.hyy@taobao.com>
Isaac Murchie <isaac@saucelabs.com>
Marcin Wosinek <marcin.wosinek@gmail.com>
David Marr <davemarr@gmail.com>
Bryan English <bryan@bryanenglish.com>
Anthony Zotti <amZotti@users.noreply.github.com>
Thom Blake <tblake@brightroll.com>
Karl Horky <karl.horky@gmail.com>
Jess Martin <jessmartin@gmail.com>
Spain Train <michael.spainhower@opower.com>
Alex Rodionov <p0deje@gmail.com>
@@ -179,6 +186,7 @@ Jens Grunert <jens.grunert@gmail.com>
Joost-Wim Boekesteijn <joost-wim@boekesteijn.nl>
Dalmais Maxence <root@ip-10-195-202-5.ec2.internal>
Marcus Ekwall <marcus.ekwall@gmail.com>
Jordan Harband <ljharb@gmail.com>
Steve Mason <stevem@brandwatch.com>
Wil Moore III <wil.moore@wilmoore.com>
Sergey Belov <peimei@ya.ru>
@@ -1,3 +1,70 @@
### v2.6.1 (2015-02-19):

* [`8b98f0e`](https://github.com/npm/npm/commit/8b98f0e709d77a8616c944aebd48ab726f726f76)
[#4471](https://github.com/npm/npm/issues/4471) `npm outdated` (and only `npm
outdated`) now defaults to `--depth=0`. See the [docs for
`--depth`](https://github.com/npm/npm/blob/82f484672adb1a3caf526a8a48832789495bb43d/doc/misc/npm-config.md#depth)
for the mildly confusing details. ([@smikes](https://github.com/smikes))
* [`aa79194`](https://github.com/npm/npm/commit/aa791942a9f3c8af6a650edec72a675deb7a7c6e)
[#6565](https://github.com/npm/npm/issues/6565) Tweak `peerDependency`
deprecation warning to include which peer dependency on which package is
going to need to change. ([@othiym23](https://github.com/othiym23))
* [`5fa067f`](https://github.com/npm/npm/commit/5fa067fd47682ac3cdb12a2b009d8ca59b05f992)
[#7171](https://github.com/npm/npm/issues/7171) Tweak `engineStrict`
deprecation warning to include which `package.json` is using it.
([@othiym23](https://github.com/othiym23))
* [`0fe0caa`](https://github.com/npm/npm/commit/0fe0caa7eddb7acdacbe5ee81ceabaca27175c78)
`glob@4.4.0`: Glob patterns can now ignore matches.
([@isaacs](https://github.com/isaacs))

### v2.6.0 (2015-02-12):

#### A LONG-AWAITED GUEST

* [`38c4825`](https://github.com/npm/npm/commit/38c48254d3d217b4babf5027cb39492be4052fc2)
[#5068](https://github.com/npm/npm/issues/5068) Add new logout command, and
make it do something useful on both bearer-based and basic-based authed
clients. ([@othiym23](https://github.com/othiym23))
* [`4bf0f5d`](https://github.com/npm/npm/commit/4bf0f5d56c33649124b486e016ba4a620c105c1c)
`npm-registry-client@6.1.1`: Support new `logout` endpoint to invalidate
token for sessions. ([@othiym23](https://github.com/othiym23))

#### DEPRECATIONS

* [`c8e08e6`](https://github.com/npm/npm/commit/c8e08e6d91f4016c80f572aac5a2080df0f78098)
[#6565](https://github.com/npm/npm/issues/6565) Warn that `peerDependency`
behavior is changing and add a note to the docs.
([@othiym23](https://github.com/othiym23))
* [`7c81a5f`](https://github.com/npm/npm/commit/7c81a5f5f058941f635a92f22641ea68e79b60db)
[#7171](https://github.com/npm/npm/issues/7171) Warn that `engineStrict` in
`package.json` will be going away in the next major version of npm (coming
soon!) ([@othiym23](https://github.com/othiym23))

#### BUG FIXES & TWEAKS

* [`add5890`](https://github.com/npm/npm/commit/add5890ce447dabf120b907a85f715df1e065f44)
[#4668](https://github.com/npm/npm/issues/4668) `read-package-json@1.3.1`:
Warn when a `bin` symbolic link is a dangling reference.
([@nicks](https://github.com/nicks))
* [`4b42071`](https://github.com/npm/npm/commit/4b420714dfb84338d85def78c30bd665e32d72c1)
`semver@4.3.0`: Add functions to extract parts of the version triple, fix a
typo. ([@isaacs](https://github.com/isaacs))
* [`a9aff38`](https://github.com/npm/npm/commit/a9aff38719918486fc381d67ad3371c475632ff7)
Use full path for man pages as the symbolic link source, instead of just the
file name. ([@bengl](https://github.com/bengl))
* [`6fd0fbd`](https://github.com/npm/npm/commit/6fd0fbd8a0347fd47cb7ee0064e0902a2f8a087c)
[#7233](https://github.com/npm/npm/issues/7233) Ensure `globalconfig` path
exists before trying to edit it. ([@ljharb](https://github.com/ljharb))
* [`a0a2620`](https://github.com/npm/npm/commit/a0a262047647d9e2690cebe5a89e6a0dd33202bb)
`ini@1.3.3`: Allow embedded, quoted equals signs in ini field names.
([@isaacs](https://github.com/isaacs))

Also typos and other documentation issues were addressed by
[@rutsky](https://github.com/rutsky), [@imurchie](https://github.com/imurchie),
[@marcin-wosinek](https://github.com/marcin-wosinek),
[@marr](https://github.com/marr), [@amZotti](https://github.com/amZotti), and
[@karlhorky](https://github.com/karlhorky). Thank you, everyone!

### v2.5.1 (2015-02-06):

This release doesn't look like much, but considerable effort went into ensuring
@@ -173,7 +173,7 @@ npm, Inc. or the Node.js project.

Data published to the npm registry is not part of npm itself, and is
the sole property of the publisher. While every effort is made to
ensure accountability, there is absolutely no guarantee, warrantee, or
ensure accountability, there is absolutely no guarantee, warranty, or
assertion expressed or implied as to the quality, fitness for a
specific purpose, or lack of malice in any given npm package.

@@ -20,7 +20,7 @@ Add, remove, and enumerate distribution tags on a package:

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

A tag can be used when installing packages as a reference to a version instead
of using a specific version number:
@@ -38,7 +38,7 @@ For example:
npm link redis # link-install the package

Now, any changes to ~/projects/node-redis will be reflected in
~/projects/node-bloggy/node_modules/redis/
~/projects/node-bloggy/node_modules/node-redis/

You may also shortcut the two steps in one. For example, to do the
above use-case in a shorter way:
@@ -49,7 +49,7 @@ above use-case in a shorter way:
The second line is the equivalent of doing:

(cd ../node-redis; npm link)
npm link redis
npm link node-redis

That is, it first creates a global link, and then links the global
installation target into your project's `node_modules` folder.
@@ -0,0 +1,50 @@
npm-logout(1) -- Log out of the registry
========================================

## SYNOPSIS

npm logout [--registry=url] [--scope=@orgname]

## DESCRIPTION

When logged into a registry that supports token-based authentication, tell the
server to end this token's session. This will invalidate the token everywhere
you're using it, not just for the current environment.

When logged into a legacy registry that uses username and password authentication, this will
clear the credentials in your user configuration. In this case, it will _only_ affect
the current environment.

If `--scope` is provided, this will find the credentials for the registry
connected to that scope, if set.

## CONFIGURATION

### registry

Default: http://registry.npmjs.org/

The base URL of the npm package registry. If `scope` is also specified,
it takes precedence.

### scope

Default: none

If specified, the user and login credentials given will be associated
with the specified scope. See `npm-scope(7)`. You can use both at the same time,
e.g.

npm adduser --registry=http://myregistry.example.com --scope=@myco

This will set a registry for the given scope and login or create a user for
that registry at the same time.

## SEE ALSO

* npm-adduser(1)
* npm-registry(7)
* npm-config(1)
* npm-config(7)
* npmrc(5)
* npm-whoami(1)
@@ -75,7 +75,7 @@ with your package.

It should look like this:

{ "url" : "http://github.com/owner/project/issues"
{ "url" : "https://github.com/owner/project/issues"
, "email" : "project@hostname.com"
}

@@ -219,7 +219,7 @@ will create entries for `man foo` and `man 2 foo`

The CommonJS [Packages](http://wiki.commonjs.org/wiki/Packages/1.0) spec details a
few ways that you can indicate the structure of your package using a `directories`
object. If you look at [npm's package.json](http://registry.npmjs.org/npm/latest),
object. If you look at [npm's package.json](https://registry.npmjs.org/npm/latest),
you'll see that it has directories for doc, lib, and man.

In the future, this information may be used in other creative ways.
@@ -260,18 +260,23 @@ Do it like this:

"repository" :
{ "type" : "git"
, "url" : "http://github.com/npm/npm.git"
, "url" : "https://github.com/npm/npm.git"
}

"repository" :
{ "type" : "svn"
, "url" : "http://v8.googlecode.com/svn/trunk/"
, "url" : "https://v8.googlecode.com/svn/trunk/"
}

The URL should be a publicly available (perhaps read-only) url that can be handed
directly to a VCS program without any modification. It should not be a url to an
html project page that you put in your browser. It's for computers.

For GitHub repositories you can use the same shortcut syntax you use for `npm
install`:

"repository": "npm/npm"

## scripts

The "scripts" property is a dictionary containing script commands that are run
@@ -459,13 +464,19 @@ For example:
}

This ensures your package `tea-latte` can be installed *along* with the second
major version of the host package `tea` only. The host package is automatically
installed if needed. `npm install tea-latte` could possibly yield the following
dependency graph:
major version of the host package `tea` only. `npm install tea-latte` could
possibly yield the following dependency graph:

├── tea-latte@1.3.5
└── tea@2.2.0

**NOTE: npm versions 1 and 2 will automatically install `peerDependencies` if
they are not explicitly depended upon higher in the dependency tree. In the
next major version of npm (npm@3), this will no longer be the case. You will
receive a warning that the peerDependency is not installed instead.** The
behavior in npms 1 & 2 was frequently confusing and could easily put you into
dependency hell, a situation that npm is designed to avoid as much as possible.

Trying to install another plugin with a conflicting requirement will cause an
error. For this reason, make sure your plugin requirement is as broad as
possible, and not to lock it down to specific patch versions.
@@ -534,6 +545,8 @@ field is advisory only.

## engineStrict

**NOTE: This feature is deprecated and will be removed in npm 3.0.0.**

If you are sure that your module will *definitely not* run properly on
versions of Node/npm other than those specified in the `engines` object,
then you can set `"engineStrict": true` in your package.json file.
@@ -542,8 +555,7 @@ This will override the user's `engine-strict` config setting.
Please do not do this unless you are really very very sure. If your
engines object is something overly restrictive, you can quite easily and
inadvertently lock yourself into obscurity and prevent your users from
updating to new versions of Node. Consider this choice carefully. If
people abuse it, it will be removed in a future version of npm.
updating to new versions of Node. Consider this choice carefully.

## os

@@ -243,8 +243,13 @@ If true, then only prints color codes for tty file descriptors.
* Default: Infinity
* Type: Number

The depth to go when recursing directories for `npm ls` and
`npm cache ls`.
The depth to go when recursing directories for `npm ls`,
`npm cache ls`, and `npm outdated`.

For `npm outdated`, a setting of `Infinity` will be treated as `0`
since that gives more useful information. To show the outdated status
of all packages and dependents, use a large integer value,
e.g., `npm outdated --depth 9999`

### description

@@ -93,6 +93,10 @@ Install a package

Symlink a package folder

### npm-logout(1)

Log out of the registry

### npm-ls(1)

List installed packages
@@ -106,7 +106,7 @@ similar risk on the *next* set of prerelease versions.
The method `.inc` takes an additional `identifier` string argument that
will append the value of the string as a prerelease identifier:

````javascript
```javascript
> semver.inc('1.2.3', 'pre', 'beta')
'1.2.4-beta.0'
```
@@ -248,6 +248,9 @@ strings that they parse.
same as `prepatch`. It increments the patch version, then makes a
prerelease. If the input version is already a prerelease it simply
increments it.
* `major(v)`: Return the major version number.
* `minor(v)`: Return the minor version number.
* `patch(v)`: Return the patch version number.

### Comparison

@@ -120,13 +120,13 @@ <h2 id="legal-stuff">Legal Stuff</h2>
npm, Inc. or the Node.js project.</p>
<p>Data published to the npm registry is not part of npm itself, and is
the sole property of the publisher. While every effort is made to
ensure accountability, there is absolutely no guarantee, warrantee, or
ensure accountability, there is absolutely no guarantee, warranty, or
assertion expressed or implied as to the quality, fitness for a
specific purpose, or lack of malice in any given npm package.</p>
<p>If you have a complaint about a package in the public npm registry,
and cannot <a href="https://docs.npmjs.com/misc/disputes">resolve it with the package
owner</a>, please email
<a href="&#109;&#97;&#x69;&#108;&#x74;&#x6f;&#58;&#x73;&#117;&#112;&#x70;&#111;&#x72;&#x74;&#64;&#110;&#x70;&#x6d;&#x6a;&#115;&#x2e;&#x63;&#x6f;&#x6d;">&#x73;&#117;&#112;&#x70;&#111;&#x72;&#x74;&#64;&#110;&#x70;&#x6d;&#x6a;&#115;&#x2e;&#x63;&#x6f;&#x6d;</a> and explain the situation.</p>
<a href="&#109;&#97;&#105;&#x6c;&#x74;&#x6f;&#58;&#115;&#x75;&#x70;&#x70;&#111;&#114;&#116;&#x40;&#x6e;&#x70;&#109;&#106;&#115;&#x2e;&#x63;&#x6f;&#109;">&#115;&#x75;&#x70;&#x70;&#111;&#114;&#116;&#x40;&#x6e;&#x70;&#109;&#106;&#115;&#x2e;&#x63;&#x6f;&#109;</a> and explain the situation.</p>
<p>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.</p>
@@ -169,5 +169,5 @@ <h2 id="see-also">SEE ALSO</h2>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table>
<p id="footer"><a href="../doc/README.html">README</a> &mdash; npm@2.5.1</p>
<p id="footer"><a href="../doc/README.html">README</a> &mdash; npm@2.6.1</p>

@@ -28,5 +28,5 @@ <h2 id="synopsis">SYNOPSIS</h2>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table>
<p id="footer">npm-bin &mdash; npm@2.5.1</p>
<p id="footer">npm-bin &mdash; npm@2.6.1</p>

@@ -33,5 +33,5 @@ <h2 id="synopsis">SYNOPSIS</h2>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table>
<p id="footer">npm-bugs &mdash; npm@2.5.1</p>
<p id="footer">npm-bugs &mdash; npm@2.6.1</p>

@@ -42,5 +42,5 @@ <h2 id="synopsis">SYNOPSIS</h2>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table>
<p id="footer">npm-cache &mdash; npm@2.5.1</p>
<p id="footer">npm-cache &mdash; npm@2.6.1</p>

@@ -36,5 +36,5 @@ <h2 id="see-also">SEE ALSO</h2>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table>
<p id="footer">npm-commands &mdash; npm@2.5.1</p>
<p id="footer">npm-commands &mdash; npm@2.6.1</p>

@@ -57,5 +57,5 @@ <h2 id="see-also">SEE ALSO</h2>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table>
<p id="footer">npm-config &mdash; npm@2.5.1</p>
<p id="footer">npm-config &mdash; npm@2.6.1</p>