Skip to content
Browse files

Merge branch 'master' into crypto-buffer

  • Loading branch information...
2 parents f28be11 + 5abcdc9 commit 4fae5aac33cda84c44d4d6c616f35f0fcb96078e @thiagoarrais committed Mar 16, 2012
Showing with 485 additions and 194 deletions.
  1. +24 −0 ChangeLog
  2. +4 −1 Makefile
  3. +1 −1 configure
  4. +1 −0 deps/npm/AUTHORS
  5. +22 −0 deps/npm/doc/cli/config.md
  6. +1 −1 deps/npm/html/api/bin.html
  7. +1 −1 deps/npm/html/api/bugs.html
  8. +1 −1 deps/npm/html/api/commands.html
  9. +1 −1 deps/npm/html/api/config.html
  10. +1 −1 deps/npm/html/api/deprecate.html
  11. +1 −1 deps/npm/html/api/docs.html
  12. +1 −1 deps/npm/html/api/edit.html
  13. +1 −1 deps/npm/html/api/explore.html
  14. +1 −1 deps/npm/html/api/help-search.html
  15. +1 −1 deps/npm/html/api/init.html
  16. +1 −1 deps/npm/html/api/install.html
  17. +1 −1 deps/npm/html/api/link.html
  18. +1 −1 deps/npm/html/api/load.html
  19. +1 −1 deps/npm/html/api/ls.html
  20. +2 −2 deps/npm/html/api/npm.html
  21. +1 −1 deps/npm/html/api/outdated.html
  22. +1 −1 deps/npm/html/api/owner.html
  23. +1 −1 deps/npm/html/api/pack.html
  24. +1 −1 deps/npm/html/api/prefix.html
  25. +1 −1 deps/npm/html/api/prune.html
  26. +1 −1 deps/npm/html/api/publish.html
  27. +1 −1 deps/npm/html/api/rebuild.html
  28. +1 −1 deps/npm/html/api/restart.html
  29. +1 −1 deps/npm/html/api/root.html
  30. +1 −1 deps/npm/html/api/run-script.html
  31. +1 −1 deps/npm/html/api/search.html
  32. +1 −1 deps/npm/html/api/shrinkwrap.html
  33. +1 −1 deps/npm/html/api/start.html
  34. +1 −1 deps/npm/html/api/stop.html
  35. +1 −1 deps/npm/html/api/submodule.html
  36. +1 −1 deps/npm/html/api/tag.html
  37. +1 −1 deps/npm/html/api/test.html
  38. +1 −1 deps/npm/html/api/uninstall.html
  39. +1 −1 deps/npm/html/api/unpublish.html
  40. +1 −1 deps/npm/html/api/update.html
  41. +1 −1 deps/npm/html/api/version.html
  42. +1 −1 deps/npm/html/api/view.html
  43. +1 −1 deps/npm/html/api/whoami.html
  44. +1 −1 deps/npm/html/doc/README.html
  45. +1 −1 deps/npm/html/doc/adduser.html
  46. +1 −1 deps/npm/html/doc/bin.html
  47. +1 −1 deps/npm/html/doc/bugs.html
  48. +1 −1 deps/npm/html/doc/build.html
  49. +1 −1 deps/npm/html/doc/bundle.html
  50. +1 −1 deps/npm/html/doc/cache.html
  51. +1 −1 deps/npm/html/doc/changelog.html
  52. +1 −1 deps/npm/html/doc/coding-style.html
  53. +1 −1 deps/npm/html/doc/completion.html
  54. +21 −1 deps/npm/html/doc/config.html
  55. +1 −1 deps/npm/html/doc/deprecate.html
  56. +1 −1 deps/npm/html/doc/developers.html
  57. +1 −1 deps/npm/html/doc/disputes.html
  58. +1 −1 deps/npm/html/doc/docs.html
  59. +1 −1 deps/npm/html/doc/edit.html
  60. +1 −1 deps/npm/html/doc/explore.html
  61. +1 −1 deps/npm/html/doc/faq.html
  62. +1 −1 deps/npm/html/doc/folders.html
  63. +1 −1 deps/npm/html/doc/help-search.html
  64. +1 −1 deps/npm/html/doc/help.html
  65. +1 −1 deps/npm/html/doc/index.html
  66. +1 −1 deps/npm/html/doc/init.html
  67. +1 −1 deps/npm/html/doc/install.html
  68. +1 −1 deps/npm/html/doc/json.html
  69. +1 −1 deps/npm/html/doc/link.html
  70. +1 −1 deps/npm/html/doc/list.html
  71. +2 −2 deps/npm/html/doc/npm.html
  72. +1 −1 deps/npm/html/doc/outdated.html
  73. +1 −1 deps/npm/html/doc/owner.html
  74. +1 −1 deps/npm/html/doc/pack.html
  75. +1 −1 deps/npm/html/doc/prefix.html
  76. +1 −1 deps/npm/html/doc/prune.html
  77. +1 −1 deps/npm/html/doc/publish.html
  78. +1 −1 deps/npm/html/doc/rebuild.html
  79. +1 −1 deps/npm/html/doc/registry.html
  80. +1 −1 deps/npm/html/doc/removing-npm.html
  81. +1 −1 deps/npm/html/doc/restart.html
  82. +1 −1 deps/npm/html/doc/root.html
  83. +1 −1 deps/npm/html/doc/run-script.html
  84. +1 −1 deps/npm/html/doc/scripts.html
  85. +1 −1 deps/npm/html/doc/search.html
  86. +1 −1 deps/npm/html/doc/semver.html
  87. +1 −1 deps/npm/html/doc/shrinkwrap.html
  88. +1 −1 deps/npm/html/doc/star.html
  89. +1 −1 deps/npm/html/doc/start.html
  90. +1 −1 deps/npm/html/doc/stop.html
  91. +1 −1 deps/npm/html/doc/submodule.html
  92. +1 −1 deps/npm/html/doc/tag.html
  93. +1 −1 deps/npm/html/doc/test.html
  94. +1 −1 deps/npm/html/doc/uninstall.html
  95. +1 −1 deps/npm/html/doc/unpublish.html
  96. +1 −1 deps/npm/html/doc/update.html
  97. +1 −1 deps/npm/html/doc/version.html
  98. +1 −1 deps/npm/html/doc/view.html
  99. +1 −1 deps/npm/html/doc/whoami.html
  100. +6 −1 deps/npm/lib/config.js
  101. +1 −0 deps/npm/lib/set.js
  102. +4 −0 deps/npm/lib/utils/config-defs.js
  103. +4 −1 deps/npm/lib/utils/npm-registry-client/get.js
  104. +36 −0 deps/npm/man/man1/config.1
  105. +1 −1 deps/npm/man/man1/npm.1
  106. +1 −1 deps/npm/man/man3/npm.3
  107. +1 −1 deps/npm/node_modules/node-gyp/README.md
  108. +12 −3 deps/npm/node_modules/node-gyp/lib/build.js
  109. +70 −5 deps/npm/node_modules/node-gyp/lib/configure.js
  110. +6 −0 deps/npm/node_modules/node-gyp/lib/install.js
  111. +1 −0 deps/npm/node_modules/node-gyp/lib/node-gyp.js
  112. +2 −2 deps/npm/node_modules/node-gyp/node_modules/ansi/package.json
  113. +2 −2 deps/npm/node_modules/node-gyp/node_modules/glob/node_modules/minimatch/package.json
  114. +2 −2 deps/npm/node_modules/node-gyp/node_modules/glob/package.json
  115. +4 −4 deps/npm/node_modules/node-gyp/package.json
  116. +101 −20 deps/npm/node_modules/request/main.js
  117. +4 −4 deps/npm/node_modules/request/package.json
  118. +15 −10 deps/npm/node_modules/request/vendor/cookie/index.js
  119. +1 −1 deps/npm/package.json
  120. +8 −4 deps/uv/src/unix/linux/inotify.c
  121. +3 −3 doc/about/index.html
  122. +4 −4 doc/api/fs.markdown
  123. +7 −5 doc/api/net.markdown
  124. +0 −1 doc/api/path.markdown
  125. +3 −3 doc/community/index.html
  126. +12 −12 doc/index.html
  127. +3 −3 doc/logos/index.html
  128. +3 −3 doc/template.html
View
24 ChangeLog
@@ -173,6 +173,30 @@
* Bug fixes
+2012.03.15 Version 0.6.13 (stable), 9f7f86b534f8556290eb8cad915984ff4ca54996
+
+* Windows: Many libuv test fixes (Bert Belder)
+
+* Windows: avoid uv_guess_handle crash in when fd < 0 (Bert Belder)
+
+* Map EBUSY and ENOTEMPTY errors (Bert Belder)
+
+* Windows: include syscall in fs errors (Bert Belder)
+
+* Fix fs.watch ENOSYS on Linux kernel version mismatch (Ben Noordhuis)
+
+* Update npm to 1.1.9
+ - upgrade node-gyp to 0.3.5 (Nathan Rajlich)
+ - Fix isaacs/npm#2249 Add cache-max and cache-min configs
+ - Properly redirect across https/http registry requests
+ - log config usage if undefined key in set function (Kris Windham)
+ - Add support for os/cpu fields in package.json (Adam Blackburn)
+ - Automatically node-gyp packages containing a binding.gyp
+ - Fix failures unpacking in UNC shares
+ - Never create un-listable directories
+ - Handle cases where an optionalDependency fails to build
+
+
2012.03.02 Version 0.6.12 (stable), 48a2d34cfe6b7e1c9d15202a4ef5e3c82d1fba35
* Upgrade V8 to 3.6.6.24
View
5 Makefile
@@ -116,14 +116,17 @@ website_files = \
out/doc/logos/index.html \
$(doc_images)
-doc: node $(apidoc_dirs) $(website_files) $(apiassets) $(apidocs) tools/doc/
+doc: program $(apidoc_dirs) $(website_files) $(apiassets) $(apidocs) tools/doc/
$(apidoc_dirs):
mkdir -p $@
out/doc/api/assets/%: doc/api_assets/% out/doc/api/assets/
cp $< $@
+out/doc/%.html: doc/%.html
+ cat $< | sed -e 's|__VERSION__|'$(VERSION)'|g' > $@
+
out/doc/%: doc/%
cp -r $< $@
View
2 configure
@@ -149,7 +149,7 @@ def pkg_config(pkg):
def host_arch_cc():
"""Host architecture check using the CC command."""
- p = subprocess.Popen([CC, '-dM', '-E', '-'],
+ p = subprocess.Popen(CC.split() + ['-dM', '-E', '-'],
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
View
1 deps/npm/AUTHORS
@@ -60,3 +60,4 @@ Christian Howe <coderarity@gmail.com>
Andrew Lunny <alunny@gmail.com>
Henrik Hodne <dvyjones@binaryhex.com>
Adam Blackburn <regality@gmail.com>
+Kris Windham <kriswindham@gmail.com>
View
22 deps/npm/doc/cli/config.md
@@ -218,6 +218,28 @@ See also the `strict-ssl` config.
The location of npm's cache directory. See `npm-cache(1)`
+### cache-max
+
+* Default: Infinity
+* Type: Number
+
+The maximum time (in seconds) to keep items in the registry cache before
+re-checking against the registry.
+
+Note that no purging is done unless the `npm cache clean` command is
+explicitly used, and that only GET requests use the cache.
+
+### cache-min
+
+* Default: 0
+* Type: Number
+
+The minimum time (in seconds) to keep items in the registry cache before
+re-checking against the registry.
+
+Note that no purging is done unless the `npm cache clean` command is
+explicitly used, and that only GET requests use the cache.
+
### color
* Default: true on Posix, false on Windows
View
2 deps/npm/html/api/bin.html
@@ -19,7 +19,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This function should not be used programmatically. Instead, just refer
to the <code>npm.bin</code> member.</p>
</div>
-<p id="footer">bin &mdash; npm@1.1.8</p>
+<p id="footer">bin &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/bugs.html
@@ -25,7 +25,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This command will launch a browser, so this command may not be the most
friendly for programmatic use.</p>
</div>
-<p id="footer">bugs &mdash; npm@1.1.8</p>
+<p id="footer">bugs &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/commands.html
@@ -28,7 +28,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/index.html">index(1)</a></li></ul>
</div>
-<p id="footer">commands &mdash; npm@1.1.8</p>
+<p id="footer">commands &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/config.html
@@ -33,7 +33,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../api/npm.html">npm(3)</a></li></ul>
</div>
-<p id="footer">config &mdash; npm@1.1.8</p>
+<p id="footer">config &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/deprecate.html
@@ -30,7 +30,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../api/publish.html">publish(3)</a></li><li><a href="../api/unpublish.html">unpublish(3)</a></li><li><a href="../doc/registry.html">registry(1)</a></li></ul>
</div>
-<p id="footer">deprecate &mdash; npm@1.1.8</p>
+<p id="footer">deprecate &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/docs.html
@@ -25,7 +25,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This command will launch a browser, so this command may not be the most
friendly for programmatic use.</p>
</div>
-<p id="footer">docs &mdash; npm@1.1.8</p>
+<p id="footer">docs &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/edit.html
@@ -30,7 +30,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Since this command opens an editor in a new process, be careful about where
and how this is used.</p>
</div>
-<p id="footer">edit &mdash; npm@1.1.8</p>
+<p id="footer">edit &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/explore.html
@@ -24,7 +24,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>The first element in the 'args' parameter must be a package name. After that is the optional command, which can be any number of strings. All of the strings will be combined into one, space-delimited command.</p>
</div>
-<p id="footer">explore &mdash; npm@1.1.8</p>
+<p id="footer">explore &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/help-search.html
@@ -32,7 +32,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>The silent parameter is not neccessary not used, but it may in the future.</p>
</div>
-<p id="footer">help-search &mdash; npm@1.1.8</p>
+<p id="footer">help-search &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/init.html
@@ -35,7 +35,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<p><a href="../doc/json.html">json(1)</a></p>
</div>
-<p id="footer">init &mdash; npm@1.1.8</p>
+<p id="footer">init &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/install.html
@@ -25,7 +25,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Finally, 'callback' is a function that will be called when all packages have been
installed or when an error has been encountered.</p>
</div>
-<p id="footer">install &mdash; npm@1.1.8</p>
+<p id="footer">install &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/link.html
@@ -39,7 +39,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Now, any changes to the redis package will be reflected in
the package in the current working directory</p>
</div>
-<p id="footer">link &mdash; npm@1.1.8</p>
+<p id="footer">link &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/load.html
@@ -32,7 +32,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>For a list of all the available command-line configs, see <code>npm help config</code></p>
</div>
-<p id="footer">load &mdash; npm@1.1.8</p>
+<p id="footer">load &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/ls.html
@@ -59,7 +59,7 @@ <h3 id="global">global</h3>
This means that if a submodule a same dependency as a parent module, then the
dependency will only be output once.</p>
</div>
-<p id="footer">ls &mdash; npm@1.1.8</p>
+<p id="footer">ls &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
4 deps/npm/html/api/npm.html
@@ -24,7 +24,7 @@ <h2 id="SYNOPSIS">SYNOPSIS</h2>
<h2 id="VERSION">VERSION</h2>
-<p>1.1.8</p>
+<p>1.1.9</p>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
@@ -91,7 +91,7 @@ <h2 id="ABBREVS">ABBREVS</h2>
<pre><code>var cmd = npm.deref("unp") // cmd === "unpublish"</code></pre>
</div>
-<p id="footer">npm &mdash; npm@1.1.8</p>
+<p id="footer">npm &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/outdated.html
@@ -19,7 +19,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>If the 'packages' parameter is left out, npm will check all packages.</p>
</div>
-<p id="footer">outdated &mdash; npm@1.1.8</p>
+<p id="footer">outdated &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/owner.html
@@ -34,7 +34,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../api/publish.html">publish(3)</a></li><li><a href="../doc/registry.html">registry(1)</a></li></ul>
</div>
-<p id="footer">owner &mdash; npm@1.1.8</p>
+<p id="footer">owner &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/pack.html
@@ -25,7 +25,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>If no arguments are supplied, then npm packs the current package folder.</p>
</div>
-<p id="footer">pack &mdash; npm@1.1.8</p>
+<p id="footer">pack &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/prefix.html
@@ -21,7 +21,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This function is not useful programmatically</p>
</div>
-<p id="footer">prefix &mdash; npm@1.1.8</p>
+<p id="footer">prefix &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/prune.html
@@ -23,7 +23,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Extraneous packages are packages that are not listed on the parent
package's dependencies list.</p>
</div>
-<p id="footer">prune &mdash; npm@1.1.8</p>
+<p id="footer">prune &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/publish.html
@@ -32,7 +32,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/adduser.html">adduser(1)</a></li><li><a href="../api/owner.html">owner(3)</a></li></ul>
</div>
-<p id="footer">publish &mdash; npm@1.1.8</p>
+<p id="footer">publish &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/rebuild.html
@@ -22,7 +22,7 @@ <h2 id="CONFIGURATION">CONFIGURATION</h2>
<p>See <code>npm help build</code></p>
</div>
-<p id="footer">rebuild &mdash; npm@1.1.8</p>
+<p id="footer">rebuild &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/restart.html
@@ -27,7 +27,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../api/start.html">start(3)</a></li><li><a href="../api/stop.html">stop(3)</a></li></ul>
</div>
-<p id="footer">restart &mdash; npm@1.1.8</p>
+<p id="footer">restart &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/root.html
@@ -21,7 +21,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This function is not useful programmatically.</p>
</div>
-<p id="footer">root &mdash; npm@1.1.8</p>
+<p id="footer">root &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/run-script.html
@@ -29,7 +29,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/scripts.html">scripts(1)</a></li><li><a href="../api/test.html">test(3)</a></li><li><a href="../api/start.html">start(3)</a></li><li><a href="../api/restart.html">restart(3)</a></li><li><a href="../api/stop.html">stop(3)</a></li></ul>
</div>
-<p id="footer">run-script &mdash; npm@1.1.8</p>
+<p id="footer">run-script &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/search.html
@@ -32,7 +32,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
and doesn't try to read your mind (it doesn't do any verb tense matching or the
like).</p>
</div>
-<p id="footer">search &mdash; npm@1.1.8</p>
+<p id="footer">search &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/shrinkwrap.html
@@ -26,7 +26,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Finally, 'callback' is a function that will be called when the shrinkwrap has
been saved.</p>
</div>
-<p id="footer">shrinkwrap &mdash; npm@1.1.8</p>
+<p id="footer">shrinkwrap &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/start.html
@@ -19,7 +19,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>npm can run tests on multiple packages. Just specify multiple packages
in the <code>packages</code> parameter.</p>
</div>
-<p id="footer">start &mdash; npm@1.1.8</p>
+<p id="footer">start &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/stop.html
@@ -19,7 +19,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>npm can run stop on multiple packages. Just specify multiple packages
in the <code>packages</code> parameter.</p>
</div>
-<p id="footer">stop &mdash; npm@1.1.8</p>
+<p id="footer">stop &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/submodule.html
@@ -33,7 +33,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li>npm help json</li><li>git help submodule</li></ul>
</div>
-<p id="footer">submodule &mdash; npm@1.1.8</p>
+<p id="footer">submodule &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/tag.html
@@ -29,7 +29,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
used. For more information about how to set this config, check
<code>man 3 npm-config</code> for programmatic usage or <code>man npm-config</code> for cli usage.</p>
</div>
-<p id="footer">tag &mdash; npm@1.1.8</p>
+<p id="footer">tag &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/test.html
@@ -22,7 +22,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>npm can run tests on multiple packages. Just specify multiple packages
in the <code>packages</code> parameter.</p>
</div>
-<p id="footer">test &mdash; npm@1.1.8</p>
+<p id="footer">test &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/uninstall.html
@@ -22,7 +22,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Finally, 'callback' is a function that will be called when all packages have been
uninstalled or when an error has been encountered.</p>
</div>
-<p id="footer">uninstall &mdash; npm@1.1.8</p>
+<p id="footer">uninstall &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/unpublish.html
@@ -26,7 +26,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>If no version is specified, or if all versions are removed then
the root package entry is removed from the registry entirely.</p>
</div>
-<p id="footer">unpublish &mdash; npm@1.1.8</p>
+<p id="footer">unpublish &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/update.html
@@ -18,7 +18,7 @@ <h2 id="SYNOPSIS">SYNOPSIS</h2>
<p>The 'packages' argument is an array of packages to update. The 'callback' parameter will be called when done or when an error occurs.</p>
</div>
-<p id="footer">update &mdash; npm@1.1.8</p>
+<p id="footer">update &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/version.html
@@ -24,7 +24,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
parameter. The difference, however, is this function will fail if it does
not have exactly one element. The only element should be a version number.</p>
</div>
-<p id="footer">version &mdash; npm@1.1.8</p>
+<p id="footer">version &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/view.html
@@ -99,7 +99,7 @@ <h2 id="RETURN-VALUE">RETURN VALUE</h2>
<p>corresponding to the list of fields selected.</p>
</div>
-<p id="footer">view &mdash; npm@1.1.8</p>
+<p id="footer">view &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/api/whoami.html
@@ -21,7 +21,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This function is not useful programmatically</p>
</div>
-<p id="footer">whoami &mdash; npm@1.1.8</p>
+<p id="footer">whoami &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/README.html
@@ -267,7 +267,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/npm.html">npm(1)</a></li><li><a href="../doc/faq.html">faq(1)</a></li><li><a href="../doc/help.html">help(1)</a></li><li><a href="../doc/index.html">index(1)</a></li></ul>
</div>
-<p id="footer"><a href="../doc/README.html">README</a> &mdash; npm@1.1.8</p>
+<p id="footer"><a href="../doc/README.html">README</a> &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/adduser.html
@@ -39,7 +39,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/owner.html">owner(1)</a></li><li><a href="../doc/whoami.html">whoami(1)</a></li></ul>
</div>
-<p id="footer">adduser &mdash; npm@1.1.8</p>
+<p id="footer">adduser &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/bin.html
@@ -20,7 +20,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/prefix.html">prefix(1)</a></li><li><a href="../doc/root.html">root(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/config.html">config(1)</a></li></ul>
</div>
-<p id="footer">bin &mdash; npm@1.1.8</p>
+<p id="footer">bin &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/bugs.html
@@ -36,7 +36,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/docs.html">docs(1)</a></li><li><a href="../doc/view.html">view(1)</a></li><li><a href="../doc/publish.html">publish(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/json.html">json(1)</a></li></ul>
</div>
-<p id="footer">bugs &mdash; npm@1.1.8</p>
+<p id="footer">bugs &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/build.html
@@ -25,7 +25,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/link.html">link(1)</a></li><li><a href="../doc/scripts.html">scripts(1)</a></li><li><a href="../doc/json.html">json(1)</a></li></ul>
</div>
-<p id="footer">build &mdash; npm@1.1.8</p>
+<p id="footer">build &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/bundle.html
@@ -20,7 +20,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/install.html">install(1)</a></li></ul>
</div>
-<p id="footer">bundle &mdash; npm@1.1.8</p>
+<p id="footer">bundle &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/cache.html
@@ -66,7 +66,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/publish.html">publish(1)</a></li><li><a href="../doc/pack.html">pack(1)</a></li></ul>
</div>
-<p id="footer">cache &mdash; npm@1.1.8</p>
+<p id="footer">cache &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/changelog.html
@@ -65,7 +65,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/npm.html">npm(1)</a></li><li><a href="../doc/faq.html">faq(1)</a></li></ul>
</div>
-<p id="footer">changelog &mdash; npm@1.1.8</p>
+<p id="footer">changelog &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/coding-style.html
@@ -191,7 +191,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/developers.html">developers(1)</a></li><li><a href="../doc/faq.html">faq(1)</a></li><li><a href="../doc/npm.html">npm(1)</a></li></ul>
</div>
-<p id="footer">coding-style &mdash; npm@1.1.8</p>
+<p id="footer">coding-style &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/completion.html
@@ -33,7 +33,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/developers.html">developers(1)</a></li><li><a href="../doc/faq.html">faq(1)</a></li><li><a href="../doc/npm.html">npm(1)</a></li></ul>
</div>
-<p id="footer">completion &mdash; npm@1.1.8</p>
+<p id="footer">completion &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
22 deps/npm/html/doc/config.html
@@ -200,6 +200,26 @@ <h3 id="cache">cache</h3>
<p>The location of npm's cache directory. See <code><a href="../doc/cache.html">cache(1)</a></code></p>
+<h3 id="cache-max">cache-max</h3>
+
+<ul><li>Default: Infinity</li><li>Type: Number</li></ul>
+
+<p>The maximum time (in seconds) to keep items in the registry cache before
+re-checking against the registry.</p>
+
+<p>Note that no purging is done unless the <code>npm cache clean</code> command is
+explicitly used, and that only GET requests use the cache.</p>
+
+<h3 id="cache-min">cache-min</h3>
+
+<ul><li>Default: 0</li><li>Type: Number</li></ul>
+
+<p>The minimum time (in seconds) to keep items in the registry cache before
+re-checking against the registry.</p>
+
+<p>Note that no purging is done unless the <code>npm cache clean</code> command is
+explicitly used, and that only GET requests use the cache.</p>
+
<h3 id="color">color</h3>
<ul><li>Default: true on Posix, false on Windows</li><li>Type: Boolean or <code>"always"</code></li></ul>
@@ -642,7 +662,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/npm.html">npm(1)</a></li></ul>
</div>
-<p id="footer">config &mdash; npm@1.1.8</p>
+<p id="footer">config &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/deprecate.html
@@ -29,7 +29,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/publish.html">publish(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li></ul>
</div>
-<p id="footer">deprecate &mdash; npm@1.1.8</p>
+<p id="footer">deprecate &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/developers.html
@@ -160,7 +160,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/faq.html">faq(1)</a></li><li><a href="../doc/npm.html">npm(1)</a></li><li><a href="../doc/init.html">init(1)</a></li><li><a href="../doc/json.html">json(1)</a></li><li><a href="../doc/scripts.html">scripts(1)</a></li><li><a href="../doc/publish.html">publish(1)</a></li><li><a href="../doc/adduser.html">adduser(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li></ul>
</div>
-<p id="footer">developers &mdash; npm@1.1.8</p>
+<p id="footer">developers &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/disputes.html
@@ -80,7 +80,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/owner.html">owner(1)</a></li></ul>
</div>
-<p id="footer">disputes &mdash; npm@1.1.8</p>
+<p id="footer">disputes &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/docs.html
@@ -37,7 +37,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/view.html">view(1)</a></li><li><a href="../doc/publish.html">publish(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/json.html">json(1)</a></li></ul>
</div>
-<p id="footer">docs &mdash; npm@1.1.8</p>
+<p id="footer">docs &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/edit.html
@@ -37,7 +37,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/explore.html">explore(1)</a></li><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/config.html">config(1)</a></li></ul>
</div>
-<p id="footer">edit &mdash; npm@1.1.8</p>
+<p id="footer">edit &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/explore.html
@@ -40,7 +40,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/submodule.html">submodule(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/edit.html">edit(1)</a></li><li><a href="../doc/rebuild.html">rebuild(1)</a></li><li><a href="../doc/build.html">build(1)</a></li><li><a href="../doc/install.html">install(1)</a></li></ul>
</div>
-<p id="footer">explore &mdash; npm@1.1.8</p>
+<p id="footer">explore &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/faq.html
@@ -241,7 +241,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/npm.html">npm(1)</a></li><li><a href="../doc/developers.html">developers(1)</a></li><li><a href="../doc/json.html">json(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li></ul>
</div>
-<p id="footer">faq &mdash; npm@1.1.8</p>
+<p id="footer">faq &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/folders.html
@@ -205,7 +205,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/faq.html">faq(1)</a></li><li><a href="../doc/json.html">json(1)</a></li><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/pack.html">pack(1)</a></li><li><a href="../doc/cache.html">cache(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/publish.html">publish(1)</a></li></ul>
</div>
-<p id="footer">folders &mdash; npm@1.1.8</p>
+<p id="footer">folders &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/help-search.html
@@ -38,7 +38,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/npm.html">npm(1)</a></li><li><a href="../doc/faq.html">faq(1)</a></li><li><a href="../doc/help.html">help(1)</a></li></ul>
</div>
-<p id="footer">help-search &mdash; npm@1.1.8</p>
+<p id="footer">help-search &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/help.html
@@ -36,7 +36,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/npm.html">npm(1)</a></li><li><a href="../doc/README.html">README</a></li><li><a href="../doc/faq.html">faq(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/json.html">json(1)</a></li><li><a href="../doc/help-search.html">help-search(1)</a></li><li><a href="../doc/index.html">index(1)</a></li></ul>
</div>
-<p id="footer">help &mdash; npm@1.1.8</p>
+<p id="footer">help &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/index.html
@@ -384,7 +384,7 @@ <h2 id="npm-whoami-3"><a href="../api/whoami.html">whoami(3)</a></h2>
<p> Display npm username</p>
</div>
-<p id="footer">index &mdash; npm@1.1.8</p>
+<p id="footer">index &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/init.html
@@ -29,7 +29,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/json.html">json(1)</a></li><li><a href="../doc/version.html">version(1)</a></li></ul>
</div>
-<p id="footer">init &mdash; npm@1.1.8</p>
+<p id="footer">init &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/install.html
@@ -136,7 +136,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/update.html">update(1)</a></li><li><a href="../doc/link.html">link(1)</a></li><li><a href="../doc/rebuild.html">rebuild(1)</a></li><li><a href="../doc/scripts.html">scripts(1)</a></li><li><a href="../doc/build.html">build(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/tag.html">tag(1)</a></li><li><a href="../doc/rm.html">rm(1)</a></li><li><a href="../doc/shrinkwrap.html">shrinkwrap(1)</a></li></ul>
</div>
-<p id="footer">install &mdash; npm@1.1.8</p>
+<p id="footer">install &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/json.html
@@ -478,7 +478,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/semver.html">semver(1)</a></li><li><a href="../doc/init.html">init(1)</a></li><li><a href="../doc/version.html">version(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/help.html">help(1)</a></li><li><a href="../doc/faq.html">faq(1)</a></li><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/publish.html">publish(1)</a></li><li><a href="../doc/rm.html">rm(1)</a></li></ul>
</div>
-<p id="footer">json &mdash; npm@1.1.8</p>
+<p id="footer">json &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/link.html
@@ -58,7 +58,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/developers.html">developers(1)</a></li><li><a href="../doc/faq.html">faq(1)</a></li><li><a href="../doc/json.html">json(1)</a></li><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/config.html">config(1)</a></li></ul>
</div>
-<p id="footer">link &mdash; npm@1.1.8</p>
+<p id="footer">link &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/list.html
@@ -58,7 +58,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/link.html">link(1)</a></li><li><a href="../doc/prune.html">prune(1)</a></li><li><a href="../doc/outdated.html">outdated(1)</a></li><li><a href="../doc/update.html">update(1)</a></li></ul>
</div>
-<p id="footer">list &mdash; npm@1.1.8</p>
+<p id="footer">list &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
4 deps/npm/html/doc/npm.html
@@ -14,7 +14,7 @@ <h2 id="SYNOPSIS">SYNOPSIS</h2>
<h2 id="VERSION">VERSION</h2>
-<p>1.1.8</p>
+<p>1.1.9</p>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
@@ -135,7 +135,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/help.html">help(1)</a></li><li><a href="../doc/faq.html">faq(1)</a></li><li><a href="../doc/README.html">README</a></li><li><a href="../doc/json.html">json(1)</a></li><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/index.html">index(1)</a></li><li><a href="../api/npm.html">npm(3)</a></li></ul>
</div>
-<p id="footer">npm &mdash; npm@1.1.8</p>
+<p id="footer">npm &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/outdated.html
@@ -21,7 +21,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/update.html">update(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li></ul>
</div>
-<p id="footer">outdated &mdash; npm@1.1.8</p>
+<p id="footer">outdated &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/owner.html
@@ -34,7 +34,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/publish.html">publish(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/adduser.html">adduser(1)</a></li><li><a href="../doc/disputes.html">disputes(1)</a></li></ul>
</div>
-<p id="footer">owner &mdash; npm@1.1.8</p>
+<p id="footer">owner &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/pack.html
@@ -29,7 +29,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/cache.html">cache(1)</a></li><li><a href="../doc/publish.html">publish(1)</a></li><li><a href="../doc/config.html">config(1)</a></li></ul>
</div>
-<p id="footer">pack &mdash; npm@1.1.8</p>
+<p id="footer">pack &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/prefix.html
@@ -20,7 +20,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/root.html">root(1)</a></li><li><a href="../doc/bin.html">bin(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/config.html">config(1)</a></li></ul>
</div>
-<p id="footer">prefix &mdash; npm@1.1.8</p>
+<p id="footer">prefix &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/prune.html
@@ -25,7 +25,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/rm.html">rm(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/list.html">list(1)</a></li></ul>
</div>
-<p id="footer">prune &mdash; npm@1.1.8</p>
+<p id="footer">prune &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/publish.html
@@ -29,7 +29,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/adduser.html">adduser(1)</a></li><li><a href="../doc/owner.html">owner(1)</a></li><li><a href="../doc/deprecate.html">deprecate(1)</a></li><li><a href="../doc/tag.html">tag(1)</a></li></ul>
</div>
-<p id="footer">publish &mdash; npm@1.1.8</p>
+<p id="footer">publish &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/rebuild.html
@@ -25,7 +25,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/build.html">build(1)</a></li><li><a href="../doc/install.html">install(1)</a></li></ul>
</div>
-<p id="footer">rebuild &mdash; npm@1.1.8</p>
+<p id="footer">rebuild &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/registry.html
@@ -97,7 +97,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/developers.html">developers(1)</a></li><li><a href="../doc/disputes.html">disputes(1)</a></li></ul>
</div>
-<p id="footer">registry &mdash; npm@1.1.8</p>
+<p id="footer">registry &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/removing-npm.html
@@ -58,7 +58,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/README.html">README</a></li><li><a href="../doc/rm.html">rm(1)</a></li><li><a href="../doc/prune.html">prune(1)</a></li></ul>
</div>
-<p id="footer">removing-npm &mdash; npm@1.1.8</p>
+<p id="footer">removing-npm &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/restart.html
@@ -24,7 +24,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/run-script.html">run-script(1)</a></li><li><a href="../doc/scripts.html">scripts(1)</a></li><li><a href="../doc/test.html">test(1)</a></li><li><a href="../doc/start.html">start(1)</a></li><li><a href="../doc/stop.html">stop(1)</a></li></ul>
</div>
-<p id="footer">restart &mdash; npm@1.1.8</p>
+<p id="footer">restart &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/root.html
@@ -20,7 +20,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/prefix.html">prefix(1)</a></li><li><a href="../doc/bin.html">bin(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/config.html">config(1)</a></li></ul>
</div>
-<p id="footer">root &mdash; npm@1.1.8</p>
+<p id="footer">root &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/run-script.html
@@ -23,7 +23,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/scripts.html">scripts(1)</a></li><li><a href="../doc/test.html">test(1)</a></li><li><a href="../doc/start.html">start(1)</a></li><li><a href="../doc/restart.html">restart(1)</a></li><li><a href="../doc/stop.html">stop(1)</a></li></ul>
</div>
-<p id="footer">run-script &mdash; npm@1.1.8</p>
+<p id="footer">run-script &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/scripts.html
@@ -177,7 +177,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/run-script.html">run-script(1)</a></li><li><a href="../doc/json.html">json(1)</a></li><li><a href="../doc/developers.html">developers(1)</a></li><li><a href="../doc/install.html">install(1)</a></li></ul>
</div>
-<p id="footer">scripts &mdash; npm@1.1.8</p>
+<p id="footer">scripts &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/search.html
@@ -24,7 +24,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/view.html">view(1)</a></li></ul>
</div>
-<p id="footer">search &mdash; npm@1.1.8</p>
+<p id="footer">search &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/semver.html
@@ -104,7 +104,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/json.html">json(1)</a></li></ul>
</div>
-<p id="footer">semver &mdash; npm@1.1.8</p>
+<p id="footer">semver &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/shrinkwrap.html
@@ -169,7 +169,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/json.html">json(1)</a></li><li><a href="../doc/list.html">list(1)</a></li></ul>
</div>
-<p id="footer">shrinkwrap &mdash; npm@1.1.8</p>
+<p id="footer">shrinkwrap &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/star.html
@@ -26,7 +26,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/view.html">view(1)</a></li><li><a href="../doc/whoami.html">whoami(1)</a></li><li><a href="../doc/adduser.html">adduser(1)</a></li></ul>
</div>
-<p id="footer">star &mdash; npm@1.1.8</p>
+<p id="footer">star &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/start.html
@@ -20,7 +20,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/run-script.html">run-script(1)</a></li><li><a href="../doc/scripts.html">scripts(1)</a></li><li><a href="../doc/test.html">test(1)</a></li><li><a href="../doc/restart.html">restart(1)</a></li><li><a href="../doc/stop.html">stop(1)</a></li></ul>
</div>
-<p id="footer">start &mdash; npm@1.1.8</p>
+<p id="footer">start &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/stop.html
@@ -20,7 +20,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/run-script.html">run-script(1)</a></li><li><a href="../doc/scripts.html">scripts(1)</a></li><li><a href="../doc/test.html">test(1)</a></li><li><a href="../doc/start.html">start(1)</a></li><li><a href="../doc/restart.html">restart(1)</a></li></ul>
</div>
-<p id="footer">stop &mdash; npm@1.1.8</p>
+<p id="footer">stop &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/submodule.html
@@ -33,7 +33,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/json.html">json(1)</a></li><li>git help submodule</li></ul>
</div>
-<p id="footer">submodule &mdash; npm@1.1.8</p>
+<p id="footer">submodule &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/tag.html
@@ -21,7 +21,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/publish.html">publish(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/config.html">config(1)</a></li></ul>
</div>
-<p id="footer">tag &mdash; npm@1.1.8</p>
+<p id="footer">tag &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/test.html
@@ -23,7 +23,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/run-script.html">run-script(1)</a></li><li><a href="../doc/scripts.html">scripts(1)</a></li><li><a href="../doc/start.html">start(1)</a></li><li><a href="../doc/restart.html">restart(1)</a></li><li><a href="../doc/stop.html">stop(1)</a></li></ul>
</div>
-<p id="footer">test &mdash; npm@1.1.8</p>
+<p id="footer">test &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/uninstall.html
@@ -22,7 +22,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/prune.html">prune(1)</a></li><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/config.html">config(1)</a></li></ul>
</div>
-<p id="footer">uninstall &mdash; npm@1.1.8</p>
+<p id="footer">uninstall &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/unpublish.html
@@ -34,7 +34,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/deprecate.html">deprecate(1)</a></li><li><a href="../doc/publish.html">publish(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/adduser.html">adduser(1)</a></li><li><a href="../doc/owner.html">owner(1)</a></li></ul>
</div>
-<p id="footer">unpublish &mdash; npm@1.1.8</p>
+<p id="footer">unpublish &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/update.html
@@ -23,7 +23,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/outdated.html">outdated(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/list.html">list(1)</a></li></ul>
</div>
-<p id="footer">update &mdash; npm@1.1.8</p>
+<p id="footer">update &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/version.html
@@ -31,7 +31,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/init.html">init(1)</a></li><li><a href="../doc/json.html">json(1)</a></li><li><a href="../doc/semver.html">semver(1)</a></li></ul>
</div>
-<p id="footer">version &mdash; npm@1.1.8</p>
+<p id="footer">version &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/view.html
@@ -88,7 +88,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/search.html">search(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/docs.html">docs(1)</a></li></ul>
</div>
-<p id="footer">view &mdash; npm@1.1.8</p>
+<p id="footer">view &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
2 deps/npm/html/doc/whoami.html
@@ -20,7 +20,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/adduser.html">adduser(1)</a></li></ul>
</div>
-<p id="footer">whoami &mdash; npm@1.1.8</p>
+<p id="footer">whoami &mdash; npm@1.1.9</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
View
7 deps/npm/lib/config.js
@@ -2,10 +2,12 @@
module.exports = config
config.usage = "npm config set <key> <value>"
- + "\nnpm config get <key>"
+ + "\nnpm config get [<key>]"
+ "\nnpm config delete <key>"
+ "\nnpm config list"
+ "\nnpm config edit"
+ + "\nnpm set <key> <value>"
+ + "\nnpm get [<key>]"
var ini = require("./utils/ini.js")
, log = require("./utils/log.js")
@@ -113,6 +115,9 @@ function del (key, cb) {
}
function set (key, val, cb) {
+ if (key === undefined) {
+ return unknown("", cb)
+ }
if (val === undefined) {
if (key.indexOf("=") !== -1) {
var k = key.split("=")
View
1 deps/npm/lib/set.js
@@ -8,5 +8,6 @@ var npm = require("./npm.js")
set.completion = npm.commands.config.completion
function set (args, cb) {
+ if (!args.length) return cb(set.usage)
npm.commands.config(["set"].concat(args), cb)
}
View
4 deps/npm/lib/utils/config-defs.js
@@ -139,6 +139,8 @@ Object.defineProperty(exports, "defaults", {get: function () {
, cache : process.platform === "win32"
? path.resolve(process.env.APPDATA || home || temp, "npm-cache")
: path.resolve( home || temp, ".npm")
+ , "cache-max": Infinity
+ , "cache-min": 0
, color : process.platform !== "win32" || winColor
, coverage: false
@@ -222,6 +224,8 @@ exports.types =
, browser : String
, ca: [null, String]
, cache : path
+ , "cache-max": Number
+ , "cache-min": Number
, color : ["always", Boolean]
, coverage: Boolean
, depth : Number
View
5 deps/npm/lib/utils/npm-registry-client/get.js
@@ -19,6 +19,9 @@ function get (project, version, timeout, nofollow, staleOk, cb) {
throw new Error("No callback provided to registry.get")
}
+ timeout = Math.min(timeout, npm.config.get("cache-max"))
+ timeout = Math.max(timeout, npm.config.get("cache-min"))
+
if ( process.env.COMP_CWORD !== undefined
&& process.env.COMP_LINE !== undefined
&& process.env.COMP_POINT !== undefined
@@ -136,7 +139,7 @@ function get_ (uri, timeout, cache, stat, data, nofollow, staleOk, cb) {
data = remoteData
if (!data) {
- er = new Error("failed to fetch from registry: " + uri)
+ er = er || new Error("failed to fetch from registry: " + uri)
}
if (er) return cb(er, data, raw, response)
View
36 deps/npm/man/man1/config.1
@@ -357,6 +357,42 @@ Type: path
.P
The location of npm\'s cache directory\. See \fBnpm help cache\fR
.
+.SS "cache\-max"
+.
+.IP "\(bu" 4
+Default: Infinity
+.
+.IP "\(bu" 4
+Type: Number
+.
+.IP "" 0
+.
+.P
+The maximum time (in seconds) to keep items in the registry cache before
+re\-checking against the registry\.
+.
+.P
+Note that no purging is done unless the \fBnpm cache clean\fR command is
+explicitly used, and that only GET requests use the cache\.
+.
+.SS "cache\-min"
+.
+.IP "\(bu" 4
+Default: 0
+.
+.IP "\(bu" 4
+Type: Number
+.
+.IP "" 0
+.
+.P
+The minimum time (in seconds) to keep items in the registry cache before
+re\-checking against the registry\.
+.
+.P
+Note that no purging is done unless the \fBnpm cache clean\fR command is
+explicitly used, and that only GET requests use the cache\.
+.
.SS "color"
.
.IP "\(bu" 4
View
2 deps/npm/man/man1/npm.1
@@ -14,7 +14,7 @@ npm <command> [args]
.fi
.
.SH "VERSION"
-1.1.8
+1.1.9
.
.SH "DESCRIPTION"
npm is the package manager for the Node JavaScript platform\. It puts
View
2 deps/npm/man/man3/npm.3
@@ -21,7 +21,7 @@ npm\.load(configObject, function (er, npm) {
.fi
.
.SH "VERSION"
-1.1.8
+1.1.9
.
.SH "DESCRIPTION"
This is the API documentation for npm\.
View
2 deps/npm/node_modules/node-gyp/README.md
@@ -108,7 +108,7 @@ Commands
* `clean` - Removes any generated project files and the `out` dir
* `configure` - Generates project build files for the current platform
* `rebuild` - Runs "clean", "configure" and "build" all at once
- * `install` - Installs node development files for the given version. Respects http_proxy/HTTP_PROXY and --proxy=<proxyurl> when downloading.
+ * `install` - Installs node development files for the given version.
* `list` - Lists the currently installed node development file versions
* `remove` - Removes a node development files for a given version