Skip to content

Instantly share code, notes, and snippets.

@isaacs
Created December 17, 2011 02:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isaacs/1488863 to your computer and use it in GitHub Desktop.
Save isaacs/1488863 to your computer and use it in GitHub Desktop.
From 90fb81ad54040f410cf14bfb6b37f0117e430347 Mon Sep 17 00:00:00 2001
From: isaacs <i@izs.me>
Date: Fri, 16 Dec 2011 17:24:25 -0800
Subject: [PATCH 1/2] npm 1.1.0-beta-7
---
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/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/deprecate.html | 2 +-
deps/npm/html/doc/developers.html | 2 +-
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 | 2 +-
deps/npm/html/doc/folders.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 | 2 +-
deps/npm/html/doc/link.html | 2 +-
deps/npm/html/doc/list.html | 2 +-
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/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/star.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/utils/excludes.js | 2 +-
deps/npm/lib/utils/ini.js | 3 +-
deps/npm/man/man1/npm.1 | 2 +-
deps/npm/man/man3/npm.3 | 2 +-
deps/npm/node_modules/fstream/lib/link-writer.js | 8 +-
deps/npm/node_modules/fstream/package.json | 2 +-
deps/npm/package.json | 4 +-
deps/npm/test/packages/npm-test-files/.npmignore | 7 +
deps/npm/test/packages/npm-test-files/package.json | 9 +
deps/npm/test/packages/npm-test-files/sub/include4 | 1 +
deps/npm/test/packages/npm-test-files/test.sh | 27 +++
deps/npm/test/run | 138 -------------
deps/npm/test/run.js | 209 ++++++++++++++++++++
104 files changed, 361 insertions(+), 239 deletions(-)
create mode 100644 deps/npm/test/packages/npm-test-files/.npmignore
create mode 100644 deps/npm/test/packages/npm-test-files/include4
create mode 100644 deps/npm/test/packages/npm-test-files/package.json
create mode 100644 deps/npm/test/packages/npm-test-files/sub/include
create mode 100644 deps/npm/test/packages/npm-test-files/sub/include2
create mode 100644 deps/npm/test/packages/npm-test-files/sub/include4
create mode 100644 deps/npm/test/packages/npm-test-files/test.sh
delete mode 100755 deps/npm/test/run
create mode 100644 deps/npm/test/run.js
diff --git a/deps/npm/html/api/bin.html b/deps/npm/html/api/bin.html
index 5990969..b54352f 100644
--- a/deps/npm/html/api/bin.html
+++ b/deps/npm/html/api/bin.html
@@ -19,7 +19,7 @@
<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.0-beta-4</p>
+<p id="footer">bin &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/bugs.html b/deps/npm/html/api/bugs.html
index b5828c3..0cc8c25 100644
--- a/deps/npm/html/api/bugs.html
+++ b/deps/npm/html/api/bugs.html
@@ -25,7 +25,7 @@ optional version number.</p>
<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.0-beta-4</p>
+<p id="footer">bugs &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/commands.html b/deps/npm/html/api/commands.html
index d6c6615..d8558b5 100644
--- a/deps/npm/html/api/commands.html
+++ b/deps/npm/html/api/commands.html
@@ -28,7 +28,7 @@ usage, or <code>man 3 npm-&lt;command&gt;</code> for programmatic usage.</p>
<ul><li><a href="../doc/index.html">index(1)</a></li></ul>
</div>
-<p id="footer">commands &mdash; npm@1.1.0-beta-4</p>
+<p id="footer">commands &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/config.html b/deps/npm/html/api/config.html
index 88c015d..f55a6b2 100644
--- a/deps/npm/html/api/config.html
+++ b/deps/npm/html/api/config.html
@@ -33,7 +33,7 @@ functions instead.</p>
<ul><li><a href="../api/npm.html">npm(3)</a></li></ul>
</div>
-<p id="footer">config &mdash; npm@1.1.0-beta-4</p>
+<p id="footer">config &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/deprecate.html b/deps/npm/html/api/deprecate.html
index b1da74e..bf2f3ef 100644
--- a/deps/npm/html/api/deprecate.html
+++ b/deps/npm/html/api/deprecate.html
@@ -30,7 +30,7 @@ install the package.</p></li></ul>
<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.0-beta-4</p>
+<p id="footer">deprecate &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/docs.html b/deps/npm/html/api/docs.html
index e973071..ca263c1 100644
--- a/deps/npm/html/api/docs.html
+++ b/deps/npm/html/api/docs.html
@@ -25,7 +25,7 @@ optional version number.</p>
<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.0-beta-4</p>
+<p id="footer">docs &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/edit.html b/deps/npm/html/api/edit.html
index 441c70d..c9aec71 100644
--- a/deps/npm/html/api/edit.html
+++ b/deps/npm/html/api/edit.html
@@ -30,7 +30,7 @@ to open. The package can optionally have a version number attached.</p>
<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.0-beta-4</p>
+<p id="footer">edit &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/explore.html b/deps/npm/html/api/explore.html
index b709dba..03ca82b 100644
--- a/deps/npm/html/api/explore.html
+++ b/deps/npm/html/api/explore.html
@@ -24,7 +24,7 @@ sure to use <code>npm rebuild &lt;pkg&gt;</code> if you make any changes.</p>
<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.0-beta-4</p>
+<p id="footer">explore &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/help-search.html b/deps/npm/html/api/help-search.html
index 5d38243..01b3307 100644
--- a/deps/npm/html/api/help-search.html
+++ b/deps/npm/html/api/help-search.html
@@ -32,7 +32,7 @@ Name of the file that matched</li></ul>
<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.0-beta-4</p>
+<p id="footer">help-search &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/init.html b/deps/npm/html/api/init.html
index dc92ab5..4e5a716 100644
--- a/deps/npm/html/api/init.html
+++ b/deps/npm/html/api/init.html
@@ -35,7 +35,7 @@ then go ahead and use this programmatically.</p>
<p><a href="../doc/json.html">json(1)</a></p>
</div>
-<p id="footer">init &mdash; npm@1.1.0-beta-4</p>
+<p id="footer">init &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/install.html b/deps/npm/html/api/install.html
index 6b1d32d..692f609 100644
--- a/deps/npm/html/api/install.html
+++ b/deps/npm/html/api/install.html
@@ -25,7 +25,7 @@ the name of a package to be installed.</p>
<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.0-beta-4</p>
+<p id="footer">install &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/link.html b/deps/npm/html/api/link.html
index 10e1850..87a3a03 100644
--- a/deps/npm/html/api/link.html
+++ b/deps/npm/html/api/link.html
@@ -39,7 +39,7 @@ npm.commands.link('redis', cb) # link-install the package</code></pre>
<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.0-beta-4</p>
+<p id="footer">link &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/load.html b/deps/npm/html/api/load.html
index 7ec5544..9ad5a8e 100644
--- a/deps/npm/html/api/load.html
+++ b/deps/npm/html/api/load.html
@@ -32,7 +32,7 @@ config object.</p>
<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.0-beta-4</p>
+<p id="footer">load &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/ls.html b/deps/npm/html/api/ls.html
index 742459e..0655ef4 100644
--- a/deps/npm/html/api/ls.html
+++ b/deps/npm/html/api/ls.html
@@ -53,7 +53,7 @@ project.</p>
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.0-beta-4</p>
+<p id="footer">ls &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/npm.html b/deps/npm/html/api/npm.html
index 2d67193..df3d8ba 100644
--- a/deps/npm/html/api/npm.html
+++ b/deps/npm/html/api/npm.html
@@ -24,7 +24,7 @@ npm.load(configObject, function (er, npm) {
<h2 id="VERSION">VERSION</h2>
-<p>1.1.0-beta-4</p>
+<p>1.1.0-beta-7</p>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
@@ -91,7 +91,7 @@ method names. Use the <code>npm.deref</code> method to find the real name.</p>
<pre><code>var cmd = npm.deref("unp") // cmd === "unpublish"</code></pre>
</div>
-<p id="footer">npm &mdash; npm@1.1.0-beta-4</p>
+<p id="footer">npm &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/outdated.html b/deps/npm/html/api/outdated.html
index e6aa1db..a7db489 100644
--- a/deps/npm/html/api/outdated.html
+++ b/deps/npm/html/api/outdated.html
@@ -19,7 +19,7 @@ currently outdated.</p>
<p>If the 'packages' parameter is left out, npm will check all packages.</p>
</div>
-<p id="footer">outdated &mdash; npm@1.1.0-beta-4</p>
+<p id="footer">outdated &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/owner.html b/deps/npm/html/api/owner.html
index 1b7596f..89fe025 100644
--- a/deps/npm/html/api/owner.html
+++ b/deps/npm/html/api/owner.html
@@ -34,7 +34,7 @@ that is not implemented at this time.</p>
<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.0-beta-4</p>
+<p id="footer">owner &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/pack.html b/deps/npm/html/api/pack.html
index b35f889..cb2ffe6 100644
--- a/deps/npm/html/api/pack.html
+++ b/deps/npm/html/api/pack.html
@@ -25,7 +25,7 @@ overwritten the second time.</p>
<p>If no arguments are supplied, then npm packs the current package folder.</p>
</div>
-<p id="footer">pack &mdash; npm@1.1.0-beta-4</p>
+<p id="footer">pack &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/prefix.html b/deps/npm/html/api/prefix.html
index bbcf5f6..130bca5 100644
--- a/deps/npm/html/api/prefix.html
+++ b/deps/npm/html/api/prefix.html
@@ -21,7 +21,7 @@
<p>This function is not useful programmatically</p>
</div>
-<p id="footer">prefix &mdash; npm@1.1.0-beta-4</p>
+<p id="footer">prefix &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/prune.html b/deps/npm/html/api/prune.html
index 5bc4bcd..d425838 100644
--- a/deps/npm/html/api/prune.html
+++ b/deps/npm/html/api/prune.html
@@ -23,7 +23,7 @@
<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.0-beta-4</p>
+<p id="footer">prune &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/publish.html b/deps/npm/html/api/publish.html
index 4223f1e..d93a229 100644
--- a/deps/npm/html/api/publish.html
+++ b/deps/npm/html/api/publish.html
@@ -32,7 +32,7 @@ the registry. Overwrites when the "force" environment variable is set.</p>
<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.0-beta-4</p>
+<p id="footer">publish &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/rebuild.html b/deps/npm/html/api/rebuild.html
index 57d11fe..9ca14c9 100644
--- a/deps/npm/html/api/rebuild.html
+++ b/deps/npm/html/api/rebuild.html
@@ -22,7 +22,7 @@ the new binary. If no 'packages' parameter is specify, every package will be reb
<p>See <code>npm help build</code></p>
</div>
-<p id="footer">rebuild &mdash; npm@1.1.0-beta-4</p>
+<p id="footer">rebuild &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/restart.html b/deps/npm/html/api/restart.html
index de2844f..20b3654 100644
--- a/deps/npm/html/api/restart.html
+++ b/deps/npm/html/api/restart.html
@@ -27,7 +27,7 @@ in the <code>packages</code> parameter.</p>
<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.0-beta-4</p>
+<p id="footer">restart &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/root.html b/deps/npm/html/api/root.html
index 9326c87..16073a4 100644
--- a/deps/npm/html/api/root.html
+++ b/deps/npm/html/api/root.html
@@ -21,7 +21,7 @@
<p>This function is not useful programmatically.</p>
</div>
-<p id="footer">root &mdash; npm@1.1.0-beta-4</p>
+<p id="footer">root &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/run-script.html b/deps/npm/html/api/run-script.html
index a81eabc..43a4f80 100644
--- a/deps/npm/html/api/run-script.html
+++ b/deps/npm/html/api/run-script.html
@@ -29,7 +29,7 @@ assumed to be the command to run. All other elements are ignored.</p>
<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.0-beta-4</p>
+<p id="footer">run-script &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/search.html b/deps/npm/html/api/search.html
index 1cb3de1..2267733 100644
--- a/deps/npm/html/api/search.html
+++ b/deps/npm/html/api/search.html
@@ -32,7 +32,7 @@ excluded term (the "searchexclude" config). The search is case insensitive
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.0-beta-4</p>
+<p id="footer">search &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/start.html b/deps/npm/html/api/start.html
index f9ec1c5..6fa6e0b 100644
--- a/deps/npm/html/api/start.html
+++ b/deps/npm/html/api/start.html
@@ -19,7 +19,7 @@
<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.0-beta-4</p>
+<p id="footer">start &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/stop.html b/deps/npm/html/api/stop.html
index 5aa5f79..e23cff6 100644
--- a/deps/npm/html/api/stop.html
+++ b/deps/npm/html/api/stop.html
@@ -19,7 +19,7 @@
<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.0-beta-4</p>
+<p id="footer">stop &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/submodule.html b/deps/npm/html/api/submodule.html
index bd02214..ae8bc02 100644
--- a/deps/npm/html/api/submodule.html
+++ b/deps/npm/html/api/submodule.html
@@ -33,7 +33,7 @@ dependencies into the submodule folder.</p>
<ul><li>npm help json</li><li>git help submodule</li></ul>
</div>
-<p id="footer">submodule &mdash; npm@1.1.0-beta-4</p>
+<p id="footer">submodule &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/tag.html b/deps/npm/html/api/tag.html
index 937979e..bd90e5a 100644
--- a/deps/npm/html/api/tag.html
+++ b/deps/npm/html/api/tag.html
@@ -29,7 +29,7 @@ parameter is missing or falsey (empty), the default froom the config will be
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.0-beta-4</p>
+<p id="footer">tag &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/test.html b/deps/npm/html/api/test.html
index 979a93f..e61fe0e 100644
--- a/deps/npm/html/api/test.html
+++ b/deps/npm/html/api/test.html
@@ -22,7 +22,7 @@ true.</p>
<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.0-beta-4</p>
+<p id="footer">test &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/uninstall.html b/deps/npm/html/api/uninstall.html
index e92806b..60de7a1 100644
--- a/deps/npm/html/api/uninstall.html
+++ b/deps/npm/html/api/uninstall.html
@@ -22,7 +22,7 @@ the name of a package to be uninstalled.</p>
<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.0-beta-4</p>
+<p id="footer">uninstall &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/unpublish.html b/deps/npm/html/api/unpublish.html
index 2637ef1..33b05fb 100644
--- a/deps/npm/html/api/unpublish.html
+++ b/deps/npm/html/api/unpublish.html
@@ -26,7 +26,7 @@ is what is meant.</p>
<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.0-beta-4</p>
+<p id="footer">unpublish &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/update.html b/deps/npm/html/api/update.html
index 4730b5f..7247042 100644
--- a/deps/npm/html/api/update.html
+++ b/deps/npm/html/api/update.html
@@ -18,7 +18,7 @@
<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.0-beta-4</p>
+<p id="footer">update &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/version.html b/deps/npm/html/api/version.html
index b7ad219..12ddc18 100644
--- a/deps/npm/html/api/version.html
+++ b/deps/npm/html/api/version.html
@@ -24,7 +24,7 @@ fail if the repo is not clean.</p>
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.0-beta-4</p>
+<p id="footer">version &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/view.html b/deps/npm/html/api/view.html
index 6a76f01..65237f3 100644
--- a/deps/npm/html/api/view.html
+++ b/deps/npm/html/api/view.html
@@ -99,7 +99,7 @@ the field name.</p>
<p>corresponding to the list of fields selected.</p>
</div>
-<p id="footer">view &mdash; npm@1.1.0-beta-4</p>
+<p id="footer">view &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/api/whoami.html b/deps/npm/html/api/whoami.html
index baea7fb..66fa0aa 100644
--- a/deps/npm/html/api/whoami.html
+++ b/deps/npm/html/api/whoami.html
@@ -21,7 +21,7 @@
<p>This function is not useful programmatically</p>
</div>
-<p id="footer">whoami &mdash; npm@1.1.0-beta-4</p>
+<p id="footer">whoami &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/README.html b/deps/npm/html/doc/README.html
index e87af9e..424b065 100644
--- a/deps/npm/html/doc/README.html
+++ b/deps/npm/html/doc/README.html
@@ -267,7 +267,7 @@ will no doubt tell you to put the output in a gist or email.</p>
<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.0-beta-4</p>
+<p id="footer"><a href="../doc/README.html">README</a> &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/adduser.html b/deps/npm/html/doc/adduser.html
index ad79fd8..1146ecc 100644
--- a/deps/npm/html/doc/adduser.html
+++ b/deps/npm/html/doc/adduser.html
@@ -39,7 +39,7 @@ authorize on a new machine.</p>
<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.0-beta-4</p>
+<p id="footer">adduser &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/bin.html b/deps/npm/html/doc/bin.html
index 1191a38..3381fcc 100644
--- a/deps/npm/html/doc/bin.html
+++ b/deps/npm/html/doc/bin.html
@@ -20,7 +20,7 @@
<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.0-beta-4</p>
+<p id="footer">bin &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/bugs.html b/deps/npm/html/doc/bugs.html
index 5d28622..5bd1f86 100644
--- a/deps/npm/html/doc/bugs.html
+++ b/deps/npm/html/doc/bugs.html
@@ -36,7 +36,7 @@ config param.</p>
<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.0-beta-4</p>
+<p id="footer">bugs &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/build.html b/deps/npm/html/doc/build.html
index a3c5079..6b9c647 100644
--- a/deps/npm/html/doc/build.html
+++ b/deps/npm/html/doc/build.html
@@ -25,7 +25,7 @@ A folder containing a <code>package.json</code> file in its root.</li></ul>
<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.0-beta-4</p>
+<p id="footer">build &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/bundle.html b/deps/npm/html/doc/bundle.html
index 651d172..07ec832 100644
--- a/deps/npm/html/doc/bundle.html
+++ b/deps/npm/html/doc/bundle.html
@@ -20,7 +20,7 @@ install packages into the local space.</p>
<ul><li><a href="../doc/install.html">install(1)</a></li></ul>
</div>
-<p id="footer">bundle &mdash; npm@1.1.0-beta-4</p>
+<p id="footer">bundle &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/cache.html b/deps/npm/html/doc/cache.html
index 767657c..d1d0208 100644
--- a/deps/npm/html/doc/cache.html
+++ b/deps/npm/html/doc/cache.html
@@ -66,7 +66,7 @@ they do not make an HTTP request to the registry.</p>
<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.0-beta-4</p>
+<p id="footer">cache &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/changelog.html b/deps/npm/html/doc/changelog.html
index 1279a1a..4f378cf 100644
--- a/deps/npm/html/doc/changelog.html
+++ b/deps/npm/html/doc/changelog.html
@@ -34,7 +34,7 @@
<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.0-beta-4</p>
+<p id="footer">changelog &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/coding-style.html b/deps/npm/html/doc/coding-style.html
index 5617e16..ca483bb 100644
--- a/deps/npm/html/doc/coding-style.html
+++ b/deps/npm/html/doc/coding-style.html
@@ -191,7 +191,7 @@ set to anything."</p>
<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.0-beta-4</p>
+<p id="footer">coding-style &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/completion.html b/deps/npm/html/doc/completion.html
index 0ba3d3c..1033f72 100644
--- a/deps/npm/html/doc/completion.html
+++ b/deps/npm/html/doc/completion.html
@@ -33,7 +33,7 @@ completions based on the arguments.</p>
<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.0-beta-4</p>
+<p id="footer">completion &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/config.html b/deps/npm/html/doc/config.html
index 04f4a4a..a38dfbf 100644
--- a/deps/npm/html/doc/config.html
+++ b/deps/npm/html/doc/config.html
@@ -615,7 +615,7 @@ then answer "no" to any prompt.</p>
<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.0-beta-4</p>
+<p id="footer">config &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/deprecate.html b/deps/npm/html/doc/deprecate.html
index 69e5ad9..ca53a70 100644
--- a/deps/npm/html/doc/deprecate.html
+++ b/deps/npm/html/doc/deprecate.html
@@ -29,7 +29,7 @@ something like this:</p>
<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.0-beta-4</p>
+<p id="footer">deprecate &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/developers.html b/deps/npm/html/doc/developers.html
index a69e36b..7b45bfb 100644
--- a/deps/npm/html/doc/developers.html
+++ b/deps/npm/html/doc/developers.html
@@ -150,7 +150,7 @@ from a fresh checkout.</p>
<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.0-beta-4</p>
+<p id="footer">developers &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/docs.html b/deps/npm/html/doc/docs.html
index a0f01c6..212fabb 100644
--- a/deps/npm/html/doc/docs.html
+++ b/deps/npm/html/doc/docs.html
@@ -37,7 +37,7 @@ config param.</p>
<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.0-beta-4</p>
+<p id="footer">docs &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/edit.html b/deps/npm/html/doc/edit.html
index 2e8bbc9..d879d53 100644
--- a/deps/npm/html/doc/edit.html
+++ b/deps/npm/html/doc/edit.html
@@ -37,7 +37,7 @@ or <code>"notepad"</code> on Windows.</li><li>Type: path</li></ul>
<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.0-beta-4</p>
+<p id="footer">edit &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/explore.html b/deps/npm/html/doc/explore.html
index 99727b2..747b313 100644
--- a/deps/npm/html/doc/explore.html
+++ b/deps/npm/html/doc/explore.html
@@ -40,7 +40,7 @@ Windows</li><li>Type: path</li></ul>
<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.0-beta-4</p>
+<p id="footer">explore &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/faq.html b/deps/npm/html/doc/faq.html
index f256923..a1f5cd4 100644
--- a/deps/npm/html/doc/faq.html
+++ b/deps/npm/html/doc/faq.html
@@ -215,7 +215,7 @@ We'll have someone kick it or something.</p>
<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.0-beta-4</p>
+<p id="footer">faq &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/folders.html b/deps/npm/html/doc/folders.html
index 499593d..d65118c 100644
--- a/deps/npm/html/doc/folders.html
+++ b/deps/npm/html/doc/folders.html
@@ -205,7 +205,7 @@ cannot be found elsewhere. See <code><a href="../doc/json.html">json(1)</a></co
<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.0-beta-4</p>
+<p id="footer">folders &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/help-search.html b/deps/npm/html/doc/help-search.html
index 34b32bee..0d4777a 100644
--- a/deps/npm/html/doc/help-search.html
+++ b/deps/npm/html/doc/help-search.html
@@ -38,7 +38,7 @@ where the terms were found in the documentation.</p>
<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.0-beta-4</p>
+<p id="footer">help-search &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/help.html b/deps/npm/html/doc/help.html
index c88b9ed..35bd3c4 100644
--- a/deps/npm/html/doc/help.html
+++ b/deps/npm/html/doc/help.html
@@ -36,7 +36,7 @@ matches are equivalent to specifying a topic name.</p>
<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.0-beta-4</p>
+<p id="footer">help &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/index.html b/deps/npm/html/doc/index.html
index a5c9221..ee97325 100644
--- a/deps/npm/html/doc/index.html
+++ b/deps/npm/html/doc/index.html
@@ -372,7 +372,7 @@
<p> Display npm username</p>
</div>
-<p id="footer">index &mdash; npm@1.1.0-beta-4</p>
+<p id="footer">index &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/init.html b/deps/npm/html/doc/init.html
index bb01cf1..3cb27a7 100644
--- a/deps/npm/html/doc/init.html
+++ b/deps/npm/html/doc/init.html
@@ -29,7 +29,7 @@ without a really good reason to do so.</p>
<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.0-beta-4</p>
+<p id="footer">init &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/install.html b/deps/npm/html/doc/install.html
index 714d9fe..1e936cb 100644
--- a/deps/npm/html/doc/install.html
+++ b/deps/npm/html/doc/install.html
@@ -134,7 +134,7 @@ affects a real use-case, it will be investigated.</p>
<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></ul>
</div>
-<p id="footer">install &mdash; npm@1.1.0-beta-4</p>
+<p id="footer">install &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/json.html b/deps/npm/html/doc/json.html
index cb5b841..f8519af 100644
--- a/deps/npm/html/doc/json.html
+++ b/deps/npm/html/doc/json.html
@@ -436,7 +436,7 @@ overridden.</p>
<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.0-beta-4</p>
+<p id="footer">json &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/link.html b/deps/npm/html/doc/link.html
index 96dabc8..863f44e 100644
--- a/deps/npm/html/doc/link.html
+++ b/deps/npm/html/doc/link.html
@@ -58,7 +58,7 @@ installation target into your project's <code>node_modules</code> folder.</p>
<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.0-beta-4</p>
+<p id="footer">link &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/list.html b/deps/npm/html/doc/list.html
index 18b6af8..6cf4b8f 100644
--- a/deps/npm/html/doc/list.html
+++ b/deps/npm/html/doc/list.html
@@ -52,7 +52,7 @@ project.</p>
<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.0-beta-4</p>
+<p id="footer">list &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/npm.html b/deps/npm/html/doc/npm.html
index 3b9cd6e..9866c6f 100644
--- a/deps/npm/html/doc/npm.html
+++ b/deps/npm/html/doc/npm.html
@@ -14,7 +14,7 @@
<h2 id="VERSION">VERSION</h2>
-<p>1.1.0-beta-4</p>
+<p>1.1.0-beta-7</p>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
@@ -135,7 +135,7 @@ will no doubt tell you to put the output in a gist or email.</p>
<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.0-beta-4</p>
+<p id="footer">npm &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/outdated.html b/deps/npm/html/doc/outdated.html
index 2d052bc..8b965d0 100644
--- a/deps/npm/html/doc/outdated.html
+++ b/deps/npm/html/doc/outdated.html
@@ -21,7 +21,7 @@ packages are currently outdated.</p>
<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.0-beta-4</p>
+<p id="footer">outdated &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/owner.html b/deps/npm/html/doc/owner.html
index d6b757e..07e9118 100644
--- a/deps/npm/html/doc/owner.html
+++ b/deps/npm/html/doc/owner.html
@@ -34,7 +34,7 @@ that is not implemented at this time.</p>
<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></ul>
</div>
-<p id="footer">owner &mdash; npm@1.1.0-beta-4</p>
+<p id="footer">owner &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/pack.html b/deps/npm/html/doc/pack.html
index fbe39c6..5ec6ce4 100644
--- a/deps/npm/html/doc/pack.html
+++ b/deps/npm/html/doc/pack.html
@@ -29,7 +29,7 @@ overwritten the second time.</p>
<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.0-beta-4</p>
+<p id="footer">pack &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/prefix.html b/deps/npm/html/doc/prefix.html
index d081d01..b377413 100644
--- a/deps/npm/html/doc/prefix.html
+++ b/deps/npm/html/doc/prefix.html
@@ -20,7 +20,7 @@
<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.0-beta-4</p>
+<p id="footer">prefix &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/prune.html b/deps/npm/html/doc/prune.html
index ad7ccf8..ad4c1ea 100644
--- a/deps/npm/html/doc/prune.html
+++ b/deps/npm/html/doc/prune.html
@@ -25,7 +25,7 @@ package's dependencies list.</p>
<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.0-beta-4</p>
+<p id="footer">prune &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/publish.html b/deps/npm/html/doc/publish.html
index dfa0cb6..acc39a9 100644
--- a/deps/npm/html/doc/publish.html
+++ b/deps/npm/html/doc/publish.html
@@ -29,7 +29,7 @@ the registry. Overwrites when the "--force" flag is set.</p>
<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.0-beta-4</p>
+<p id="footer">publish &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/rebuild.html b/deps/npm/html/doc/rebuild.html
index 4727860..94153d0 100644
--- a/deps/npm/html/doc/rebuild.html
+++ b/deps/npm/html/doc/rebuild.html
@@ -25,7 +25,7 @@ the new binary.</p>
<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.0-beta-4</p>
+<p id="footer">rebuild &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/registry.html b/deps/npm/html/doc/registry.html
index a4fd408..facc37c 100644
--- a/deps/npm/html/doc/registry.html
+++ b/deps/npm/html/doc/registry.html
@@ -97,7 +97,7 @@ ask for help on the <a href="mailto:npm-@googlegroups.com">npm-@googlegroups.com
<ul><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/developers.html">developers(1)</a></li></ul>
</div>
-<p id="footer">registry &mdash; npm@1.1.0-beta-4</p>
+<p id="footer">registry &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/removing-npm.html b/deps/npm/html/doc/removing-npm.html
index 7a08418..506100e 100644
--- a/deps/npm/html/doc/removing-npm.html
+++ b/deps/npm/html/doc/removing-npm.html
@@ -58,7 +58,7 @@ modules. To track those down, you can do the following:</p>
<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.0-beta-4</p>
+<p id="footer">removing-npm &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/restart.html b/deps/npm/html/doc/restart.html
index 3bbbedd..6019651 100644
--- a/deps/npm/html/doc/restart.html
+++ b/deps/npm/html/doc/restart.html
@@ -24,7 +24,7 @@ the "start" script.</p>
<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.0-beta-4</p>
+<p id="footer">restart &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/root.html b/deps/npm/html/doc/root.html
index 04e5e33..2833797 100644
--- a/deps/npm/html/doc/root.html
+++ b/deps/npm/html/doc/root.html
@@ -20,7 +20,7 @@
<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.0-beta-4</p>
+<p id="footer">root &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/run-script.html b/deps/npm/html/doc/run-script.html
index 811c6c5..1023b05 100644
--- a/deps/npm/html/doc/run-script.html
+++ b/deps/npm/html/doc/run-script.html
@@ -23,7 +23,7 @@ called directly, as well.</p>
<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.0-beta-4</p>
+<p id="footer">run-script &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/scripts.html b/deps/npm/html/doc/scripts.html
index 0230330..66906fb 100644
--- a/deps/npm/html/doc/scripts.html
+++ b/deps/npm/html/doc/scripts.html
@@ -164,7 +164,7 @@ will sudo the npm command in question.</li></ul>
<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.0-beta-4</p>
+<p id="footer">scripts &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/search.html b/deps/npm/html/doc/search.html
index 2ec8bfb..07fa267 100644
--- a/deps/npm/html/doc/search.html
+++ b/deps/npm/html/doc/search.html
@@ -24,7 +24,7 @@ expression characters must be escaped or quoted in most shells.)</p>
<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.0-beta-4</p>
+<p id="footer">search &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/semver.html b/deps/npm/html/doc/semver.html
index 2d0a33a..863bcd1 100644
--- a/deps/npm/html/doc/semver.html
+++ b/deps/npm/html/doc/semver.html
@@ -104,7 +104,7 @@ that satisfies the range, or null if none of them do.</li></ul>
<ul><li><a href="../doc/json.html">json(1)</a></li></ul>
</div>
-<p id="footer">semver &mdash; npm@1.1.0-beta-4</p>
+<p id="footer">semver &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/star.html b/deps/npm/html/doc/star.html
index fafcecf..87ee1e1 100644
--- a/deps/npm/html/doc/star.html
+++ b/deps/npm/html/doc/star.html
@@ -26,7 +26,7 @@ a vaguely positive way to show that you care.</p>
<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.0-beta-4</p>
+<p id="footer">star &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/start.html b/deps/npm/html/doc/start.html
index 8bf98ef..f92ac02 100644
--- a/deps/npm/html/doc/start.html
+++ b/deps/npm/html/doc/start.html
@@ -20,7 +20,7 @@
<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.0-beta-4</p>
+<p id="footer">start &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/stop.html b/deps/npm/html/doc/stop.html
index 4fae445..24b372f 100644
--- a/deps/npm/html/doc/stop.html
+++ b/deps/npm/html/doc/stop.html
@@ -20,7 +20,7 @@
<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.0-beta-4</p>
+<p id="footer">stop &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/submodule.html b/deps/npm/html/doc/submodule.html
index 2bc43a1..055a673 100644
--- a/deps/npm/html/doc/submodule.html
+++ b/deps/npm/html/doc/submodule.html
@@ -33,7 +33,7 @@ dependencies into the submodule folder.</p>
<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.0-beta-4</p>
+<p id="footer">submodule &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/tag.html b/deps/npm/html/doc/tag.html
index 700d7e6..ec55c02 100644
--- a/deps/npm/html/doc/tag.html
+++ b/deps/npm/html/doc/tag.html
@@ -21,7 +21,7 @@
<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.0-beta-4</p>
+<p id="footer">tag &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/test.html b/deps/npm/html/doc/test.html
index cdc1c7f..e5191ac 100644
--- a/deps/npm/html/doc/test.html
+++ b/deps/npm/html/doc/test.html
@@ -23,7 +23,7 @@ true.</p>
<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.0-beta-4</p>
+<p id="footer">test &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/uninstall.html b/deps/npm/html/doc/uninstall.html
index 7f199cf..beb2203 100644
--- a/deps/npm/html/doc/uninstall.html
+++ b/deps/npm/html/doc/uninstall.html
@@ -22,7 +22,7 @@ on its behalf.</p>
<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.0-beta-4</p>
+<p id="footer">uninstall &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/unpublish.html b/deps/npm/html/doc/unpublish.html
index cf4dd48..ee92854 100644
--- a/deps/npm/html/doc/unpublish.html
+++ b/deps/npm/html/doc/unpublish.html
@@ -34,7 +34,7 @@ the root package entry is removed from the registry entirely.</p>
<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.0-beta-4</p>
+<p id="footer">unpublish &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/update.html b/deps/npm/html/doc/update.html
index 7a55fcd..dd93338 100644
--- a/deps/npm/html/doc/update.html
+++ b/deps/npm/html/doc/update.html
@@ -23,7 +23,7 @@
<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.0-beta-4</p>
+<p id="footer">update &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/version.html b/deps/npm/html/doc/version.html
index 7208deb..f6703b9 100644
--- a/deps/npm/html/doc/version.html
+++ b/deps/npm/html/doc/version.html
@@ -31,7 +31,7 @@ will use it as a commit message when creating a version commit.</p>
<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.0-beta-4</p>
+<p id="footer">version &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/view.html b/deps/npm/html/doc/view.html
index 4441f9d..2987446 100644
--- a/deps/npm/html/doc/view.html
+++ b/deps/npm/html/doc/view.html
@@ -88,7 +88,7 @@ the field name.</p>
<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.0-beta-4</p>
+<p id="footer">view &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/html/doc/whoami.html b/deps/npm/html/doc/whoami.html
index e3f4ce9..47f6fed 100644
--- a/deps/npm/html/doc/whoami.html
+++ b/deps/npm/html/doc/whoami.html
@@ -20,7 +20,7 @@
<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.0-beta-4</p>
+<p id="footer">whoami &mdash; npm@1.1.0-beta-7</p>
<script>
;(function () {
var wrapper = document.getElementById("wrapper")
diff --git a/deps/npm/lib/utils/excludes.js b/deps/npm/lib/utils/excludes.js
index 9b407c9..75fe41c 100644
--- a/deps/npm/lib/utils/excludes.js
+++ b/deps/npm/lib/utils/excludes.js
@@ -137,7 +137,7 @@ function test (file, excludeList) {
&& rf.slice(-1) === "/"
&& excludes.indexOf(ex + "/**") === -1) {
// log.warn(ex + "/**", "adding dir-matching exclude pattern")
- excludes.push(ex + "/**")
+ excludes.splice(ii, 1, ex, ex + "/**")
ll ++
}
}
diff --git a/deps/npm/lib/utils/ini.js b/deps/npm/lib/utils/ini.js
index ac45c8b..278a603 100644
--- a/deps/npm/lib/utils/ini.js
+++ b/deps/npm/lib/utils/ini.js
@@ -205,7 +205,8 @@ function parseField (f, k, emptyIsFalse) {
f = envReplace(f)
if (isPath) {
- if (f.substr(0, 2) === "~/" && process.env.HOME) {
+ var homePattern = process.platform === "win32" ? /^~(\/|\\)/ : /^~\//
+ if (f.match(homePattern) && process.env.HOME) {
f = path.resolve(process.env.HOME, f.substr(2))
}
f = path.resolve(f)
diff --git a/deps/npm/man/man1/npm.1 b/deps/npm/man/man1/npm.1
index 0a030a3..f625b73 100644
--- a/deps/npm/man/man1/npm.1
+++ b/deps/npm/man/man1/npm.1
@@ -14,7 +14,7 @@ npm <command> [args]
.fi
.
.SH "VERSION"
-1.1.0-beta-4
+1.1.0-beta-7
.
.SH "DESCRIPTION"
npm is the package manager for the Node JavaScript platform\. It puts
diff --git a/deps/npm/man/man3/npm.3 b/deps/npm/man/man3/npm.3
index 3f2e6be..5fd385c 100644
--- a/deps/npm/man/man3/npm.3
+++ b/deps/npm/man/man3/npm.3
@@ -21,7 +21,7 @@ npm\.load(configObject, function (er, npm) {
.fi
.
.SH "VERSION"
-1.1.0-beta-4
+1.1.0-beta-7
.
.SH "DESCRIPTION"
This is the API documentation for npm\.
diff --git a/deps/npm/node_modules/fstream/lib/link-writer.js b/deps/npm/node_modules/fstream/lib/link-writer.js
index 119f61b..c16750a 100644
--- a/deps/npm/node_modules/fstream/lib/link-writer.js
+++ b/deps/npm/node_modules/fstream/lib/link-writer.js
@@ -60,8 +60,14 @@ function create (me, lp, link) {
// directory, it's very possible that the thing we're linking to
// doesn't exist yet (especially if it was intended as a symlink),
// so swallow ENOENT errors here and just soldier in.
+ // Additionally, an EPERM or EACCES can happen on win32 if it's trying
+ // to make a link to a directory. Again, just skip it.
+ // A better solution would be to have fs.symlink be supported on
+ // windows in some nice fashion.
if (er) {
- if (er.code === "ENOENT" && process.platform === "win32") {
+ if ((er.code === "ENOENT" ||
+ er.code === "EACCES" ||
+ er.code === "EPERM" ) && process.platform === "win32") {
me.ready = true
me.emit("ready")
me.emit("end")
diff --git a/deps/npm/node_modules/fstream/package.json b/deps/npm/node_modules/fstream/package.json
index 2661624..af58b94 100644
--- a/deps/npm/node_modules/fstream/package.json
+++ b/deps/npm/node_modules/fstream/package.json
@@ -2,7 +2,7 @@
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
"name": "fstream",
"description": "Advanced file system stream things",
- "version": "0.1.9",
+ "version": "0.1.10",
"repository": {
"type": "git",
"url": "git://github.com/isaacs/fstream.git"
diff --git a/deps/npm/package.json b/deps/npm/package.json
index 3d2f4bc..0f76c0d 100644
--- a/deps/npm/package.json
+++ b/deps/npm/package.json
@@ -2,7 +2,7 @@
, "publishConfig": { "tag": "alpha", "proprietary-attribs": false }
, "description": "A package manager for node"
, "keywords": [ "package manager", "modules", "install", "package.json" ]
-, "version": "1.1.0-beta-4"
+, "version": "1.1.0-beta-7"
, "preferGlobal": true
, "config": { "publishtest": false }
, "homepage": "http://npmjs.org/"
@@ -75,7 +75,7 @@
{ "ronn": "https://github.com/isaacs/ronnjs/tarball/master" }
, "engines": { "node": "0.6 || 0.7 || 0.8", "npm": "1" }
-, "scripts": { "test": "./test/run"
+, "scripts": { "test": "node ./test/run.js"
, "prepublish": "make -j4 doc"
, "dumpconf": "env | grep npm | sort | uniq"
}
diff --git a/deps/npm/test/packages/npm-test-files/.npmignore b/deps/npm/test/packages/npm-test-files/.npmignore
new file mode 100644
index 0000000..c7d927d
--- /dev/null
+++ b/deps/npm/test/packages/npm-test-files/.npmignore
@@ -0,0 +1,7 @@
+/sub/ignore1
+./sub/include2
+ignore3
+./include4
+ignoredir1
+ignoredir2/
+*.tgz
diff --git a/deps/npm/test/packages/npm-test-files/include4 b/deps/npm/test/packages/npm-test-files/include4
new file mode 100644
index 0000000..e69de29
diff --git a/deps/npm/test/packages/npm-test-files/package.json b/deps/npm/test/packages/npm-test-files/package.json
new file mode 100644
index 0000000..7c06782
--- /dev/null
+++ b/deps/npm/test/packages/npm-test-files/package.json
@@ -0,0 +1,9 @@
+{ "name":"npm-test-files"
+, "version":"1.2.5"
+, "files":
+ [ "include4"
+ , "sub/include"
+ , "sub/include2"
+ , "sub/include4"
+ , "test.sh" ]
+, "scripts":{"test":"bash test.sh"}}
diff --git a/deps/npm/test/packages/npm-test-files/sub/include b/deps/npm/test/packages/npm-test-files/sub/include
new file mode 100644
index 0000000..e69de29
diff --git a/deps/npm/test/packages/npm-test-files/sub/include2 b/deps/npm/test/packages/npm-test-files/sub/include2
new file mode 100644
index 0000000..e69de29
diff --git a/deps/npm/test/packages/npm-test-files/sub/include4 b/deps/npm/test/packages/npm-test-files/sub/include4
new file mode 100644
index 0000000..d16969c
--- /dev/null
+++ b/deps/npm/test/packages/npm-test-files/sub/include4
@@ -0,0 +1 @@
+This file should be in the package.
diff --git a/deps/npm/test/packages/npm-test-files/test.sh b/deps/npm/test/packages/npm-test-files/test.sh
new file mode 100644
index 0000000..cdf47f2
--- /dev/null
+++ b/deps/npm/test/packages/npm-test-files/test.sh
@@ -0,0 +1,27 @@
+x=`find . | grep ignore | grep -v npmignore`
+if [ "$x" != "" ]; then
+ echo "ignored files included: $x"
+ exit 1
+fi
+
+x=`find . | grep -v ignore | sort`
+y=".
+./include4
+./package.json
+./sub
+./sub/include
+./sub/include2
+./sub/include4
+./test.sh"
+if [ "$x" != "$y" ]; then
+ echo "missing included files"
+ echo "got:"
+ echo "==="
+ echo "$x"
+ echo "==="
+ echo "wanted:"
+ echo "==="
+ echo "$y"
+ echo "==="
+ exit 1
+fi
diff --git a/deps/npm/test/run b/deps/npm/test/run
deleted file mode 100755
index 09e6e4a..0000000
--- a/deps/npm/test/run
+++ /dev/null
@@ -1,138 +0,0 @@
-#!/bin/bash
-
-if [ "$DEBUG" != "" ]; then
- set -x
-fi
-
-
-# the "npm" command is set to a custom function here so that we can
-# test the code in this repo, rather than whichever version of npm
-# happens to be installed.
-
-main () {
- # setup
- FAILURES=0
-
- cd "$TESTDIR"
-
- npm config ls
-
- # install
- npm install "$NPMPKG" || exit 1
-
- # used in test later
- npm config set package-config:foo boo || exit 1
-
- npm install $( ls packages | awk '{print "packages/" $1 }' ) || exit 1
- (ls packages | while read pkg; do
- npm test "$pkg"
- done) || exit 1
- if [ "$FAILURES" == "0" ]; then
- npm rm $(ls packages) npm || exit 1
- fi
- cleanup
-
- if ! [ "$npm_package_config_publishtest" == "true" ]; then
- echo_err "To test publishing: npm config set npm:publishtest true"
- else
- # attempt to publish and unpublish each of them.
- npm install "$NPMPKG" || exit 1
-
- (ls packages | grep -v 'npm-test-private' | while read pkg; do
- npm publish packages/$pkg || exit 1
- npm install $pkg || exit 1
- npm unpublish $pkg --force || exit 1
- done) || exit 1
-
- # verify that the private package can't be published
- # bypass the test-harness npm function.
- "$NPMCLI" publish packages/npm-test-private && (
- npm unpublish npm-test-private --force
- exit 1000
- )
- if [ $? -eq 1000 ]; then
- fail "Private package shouldn't be publishable" >&2
- fi
-
- if [ "$FAILURES" == "0" ]; then
- npm rm $(ls packages) npm || exit 1
- fi
- cleanup
-
- fi
-
- if [ $FAILURES -eq 0 ]; then
- echo_err "ok"
- rm -rf $TMP
- else
- echo_err "FAILED: $FAILURES"
- fi
- exit $FAILURES
-}
-
-
-
-####################
-# Test Harness below
-
-# fake functions
-npm () {
- echo -e "npm $@"
- "$NPMCLI" "$@" \
- || fail npm "$@"
-}
-
-# get the absolute path of the executable
-SELF_PATH="$0"
-if [ "${SELF_PATH:0:1}" != "." ] && [ "${SELF_PATH:0:1}" != "/" ]; then
- SELF_PATH=./"$SELF_PATH"
-fi
-SELF_PATH=$( cd -P -- "$(dirname -- "$SELF_PATH")" \
- && pwd -P \
- ) && SELF_PATH=$SELF_PATH/$(basename -- "$0")
-# resolve symlinks
-while [ -h "$SELF_PATH" ]; do
- DIR=$(dirname -- "$SELF_PATH")
- SYM=$(readlink -- "$SELF_PATH")
- SELF_PATH=$( cd -- "$DIR" \
- && cd -- $(dirname -- "$SYM") \
- && pwd \
- )/$(basename -- "$SYM")
-done
-NPMPKG="$(dirname -- "$(dirname -- "$SELF_PATH")")"
-NPMCLI="$NPMPKG/cli.js"
-TESTDIR="$NPMPKG/test/"
-TMP=${TMPDIR:-/tmp}
-rm -rf $TMP/npm*
-TMP=$TMP/npm-test-$$
-echo "Testing in $TMP ..."
-ROOTDIR="$TMP/root"
-
-cleanup () {
- if [ "$FAILURES" != "0" ] && [ "$FAILURES" != "" ]; then
- return
- fi
- [ -d "$ROOTDIR" ] && rm -rf -- "$ROOTDIR"
- mkdir -p -- "$ROOTDIR"
-}
-
-export npm_config_prefix="$ROOTDIR"
-export npm_config_color="always"
-export npm_config_global=true
-# have to set this to false, or it'll try to test itself forever
-export npm_config_npat=false
-export PATH="$PATH":"$ROOTDIR/bin":"$ROOTDIR/node_modules/.bin"
-export NODE_PATH="$ROOTDIR/node_modules"
-
-echo_err () {
- echo "$@" >&2
-}
-fail () {
- let 'FAILURES += 1'
- echo_err ""
- echo_err -e "\033[33mFailure: $@\033[m"
- exit 1
-}
-
-cleanup
-main
diff --git a/deps/npm/test/run.js b/deps/npm/test/run.js
new file mode 100644
index 0000000..08f8a34
--- /dev/null
+++ b/deps/npm/test/run.js
@@ -0,0 +1,209 @@
+// Everything in this file uses child processes, because we're
+// testing a command line utility.
+
+var chain = require("slide").chain
+var child_process = require("child_process")
+var path = require("path")
+ , testdir = __dirname
+ , fs = require("graceful-fs")
+ , npmpkg = path.dirname(testdir)
+ , npmcli = path.join(__dirname, "bin", "npm-cli.js")
+
+var temp = process.env.TMPDIR
+ || process.env.TMP
+ || process.env.TEMP
+ || ( process.platform === "win32"
+ ? "c:\\windows\\temp"
+ : "/tmp" )
+
+temp = path.resolve(temp, "npm-test-" + process.pid)
+
+var root = path.resolve(temp, "root")
+
+var failures = 0
+ , mkdir = require("mkdirp")
+ , rimraf = require("rimraf")
+
+var pathEnvSplit = process.platform === "win32" ? ";" : ":"
+ , pathEnv = process.env.PATH.split(pathEnvSplit)
+ , npmPath = process.platform === "win32" ? root : path.join(root, "bin")
+
+pathEnv.unshift(npmPath, path.join(root, "node_modules", ".bin"))
+
+// lastly, make sure that we get the same node that is being used to do
+// run this script. That's very important, especially when running this
+// test file from in the node source folder.
+pathEnv.unshift(path.dirname(process.execPath))
+
+// the env for all the test installs etc.
+var env = {}
+Object.keys(process.env).forEach(function (i) {
+ env[i] = process.env[i]
+})
+env.npm_config_prefix = root
+env.npm_config_color = "always"
+env.npm_config_global = "true"
+// have to set this to false, or it'll try to test itself forever
+env.npm_config_npat = "false"
+env.PATH = pathEnv.join(pathEnvSplit)
+env.NODE_PATH = path.join(root, "node_modules")
+
+
+
+function cleanup (cb) {
+ if (failures !== 0) return
+ rimraf(root, function (er) {
+ if (er) cb(er)
+ mkdir(root, 0755, cb)
+ })
+}
+
+function prefix (content, pref) {
+ return pref + (content.trim().split(/\r?\n/).join("\n" + pref))
+}
+
+var execCount = 0
+function exec (cmd, shouldFail, cb) {
+ if (typeof shouldFail === "function") {
+ cb = shouldFail, shouldFail = false
+ }
+ console.error("\n+"+cmd + (shouldFail ? " (expect failure)" : ""))
+
+ // special: replace 'node' with the current execPath,
+ // and 'npm' with the thing we installed.
+ cmd = cmd.replace(/^npm /, path.resolve(npmPath, "npm") + " ")
+ cmd = cmd.replace(/^node /, process.execPath + " ")
+
+ child_process.exec(cmd, {env: env}, function (er, stdout, stderr) {
+ if (stdout) {
+ console.error(prefix(stdout, " 1> "))
+ }
+ if (stderr) {
+ console.error(prefix(stderr, " 2> "))
+ }
+
+ execCount ++
+ if (!shouldFail && !er || shouldFail && er) {
+ // stdout = (""+stdout).trim()
+ console.log("ok " + execCount + " " + cmd)
+ return cb()
+ } else {
+ console.log("not ok " + execCount + " " + cmd)
+ cb(new Error("failed "+cmd))
+ }
+ })
+}
+
+function execChain (cmds, cb) {
+ chain(cmds.reduce(function (l, r) {
+ return l.concat(r)
+ }, []).map(function (cmd) {
+ return [exec, cmd]
+ }), cb)
+}
+
+function flatten (arr) {
+ return arr.reduce(function (l, r) {
+ return l.concat(r)
+ }, [])
+}
+
+function setup (cb) {
+ cleanup(function (er) {
+ if (er) return cb(er)
+ execChain([ "node \""+path.resolve(npmpkg, "bin", "npm-cli.js")
+ + "\" install \""+npmpkg+"\""
+ , "npm config set package-config:foo boo"
+ ], cb)
+ })
+}
+
+function main (cb) {
+ console.log("# testing in %s", temp)
+ console.log("# global prefix = %s", root)
+
+
+
+ failures = 0
+
+ process.chdir(testdir)
+
+ // get the list of packages
+ var packages = fs.readdirSync(path.resolve(testdir, "packages"))
+ packages = packages.filter(function (p) {
+ return p && !p.match(/^\./)
+ })
+
+ installAllThenTestAll()
+
+ function installAllThenTestAll () {
+ chain
+ ( [ setup
+ , [ exec, "npm install "+npmpkg ]
+ , [ execChain, packages.map(function (p) {
+ return "npm install packages/"+p
+ }) ]
+ , [ execChain, packages.map(function (p) {
+ return "npm test "+p
+ }) ]
+ , [ execChain, packages.concat("npm").map(function (p) {
+ return "npm rm " + p
+ }) ]
+ , installAndTestEach
+ ]
+ , cb
+ )
+ }
+
+ function installAndTestEach (cb) {
+ chain
+ ( [ setup
+ , [ execChain, packages.map(function (p) {
+ return [ "npm install packages/"+p
+ , "npm test "+p
+ , "npm rm "+p ]
+ }) ]
+ , [exec, "npm rm npm"]
+ , publishTest
+ ], cb )
+ }
+
+ function publishTest (cb) {
+ if (process.env.npm_package_config_publishtest !== "true") {
+ console.error("To test publishing: "+
+ "npm config set npm:publishtest true")
+ return cb()
+ }
+
+ chain
+ ( [ setup
+ , [ execChain, packages.filter(function (p) {
+ return !p.match(/private/)
+ }).map(function (p) {
+ return [ "npm publish packages/"+p
+ , "npm install "+p
+ , "npm unpublish "+p+" --force"
+ ]
+ }) ]
+ , publishPrivateTest
+ ], cb )
+
+ }
+
+ function publishPrivateTest (cb) {
+ exec("npm publish packages/npm-test-private -s", true, function (er) {
+ if (er) {
+ exec( "npm unpublish npm-test-private --force"
+ , function (e2) {
+ cb(er || e2)
+ })
+ }
+ cleanup(cb)
+ })
+ }
+}
+
+main(function (er) {
+ console.log("1.." + execCount)
+ if (er) throw er
+})
--
1.7.5.4
From d75de86e6d858bb289201b2250e615cd41fce726 Mon Sep 17 00:00:00 2001
From: isaacs <i@izs.me>
Date: Fri, 16 Dec 2011 18:04:39 -0800
Subject: [PATCH 2/2] add 'make test-npm'
---
Makefile | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index fa62089..201f65a 100644
--- a/Makefile
+++ b/Makefile
@@ -42,6 +42,7 @@ test-valgrind: all
test-all: all
python tools/test.py --mode=debug,release
+ make test-npm
test-all-http1: all
python tools/test.py --mode=debug,release --use-http1
@@ -67,6 +68,11 @@ test-pummel: all
test-internet: all
python tools/test.py internet
+test-npm: all
+ ./node deps/npm/test/run.js
+
+test-npm-publish: all
+ npm_package_config_publishtest=true ./node deps/npm/test/run.js
out/Release/node: all
--
1.7.5.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment