npm: update to 1.1.1
authorisaacs <i@izs.me>
Wed, 8 Feb 2012 20:36:20 +0000 (12:36 -0800)
committerisaacs <i@izs.me>
Wed, 8 Feb 2012 20:36:20 +0000 (12:36 -0800)
206 files changed:
deps/npm/AUTHORS
deps/npm/doc/cli/config.md
deps/npm/html/api/bin.html
deps/npm/html/api/bugs.html
deps/npm/html/api/commands.html
deps/npm/html/api/config.html
deps/npm/html/api/deprecate.html
deps/npm/html/api/docs.html
deps/npm/html/api/edit.html
deps/npm/html/api/explore.html
deps/npm/html/api/help-search.html
deps/npm/html/api/init.html
deps/npm/html/api/install.html
deps/npm/html/api/link.html
deps/npm/html/api/load.html
deps/npm/html/api/ls.html
deps/npm/html/api/npm.html
deps/npm/html/api/outdated.html
deps/npm/html/api/owner.html
deps/npm/html/api/pack.html
deps/npm/html/api/prefix.html
deps/npm/html/api/prune.html
deps/npm/html/api/publish.html
deps/npm/html/api/rebuild.html
deps/npm/html/api/restart.html
deps/npm/html/api/root.html
deps/npm/html/api/run-script.html
deps/npm/html/api/search.html
deps/npm/html/api/start.html
deps/npm/html/api/stop.html
deps/npm/html/api/submodule.html
deps/npm/html/api/tag.html
deps/npm/html/api/test.html
deps/npm/html/api/uninstall.html
deps/npm/html/api/unpublish.html
deps/npm/html/api/update.html
deps/npm/html/api/version.html
deps/npm/html/api/view.html
deps/npm/html/api/whoami.html
deps/npm/html/doc/README.html
deps/npm/html/doc/adduser.html
deps/npm/html/doc/bin.html
deps/npm/html/doc/bugs.html
deps/npm/html/doc/build.html
deps/npm/html/doc/bundle.html
deps/npm/html/doc/cache.html
deps/npm/html/doc/changelog.html
deps/npm/html/doc/coding-style.html
deps/npm/html/doc/completion.html
deps/npm/html/doc/config.html
deps/npm/html/doc/deprecate.html
deps/npm/html/doc/developers.html
deps/npm/html/doc/disputes.html
deps/npm/html/doc/docs.html
deps/npm/html/doc/edit.html
deps/npm/html/doc/explore.html
deps/npm/html/doc/faq.html
deps/npm/html/doc/folders.html
deps/npm/html/doc/help-search.html
deps/npm/html/doc/help.html
deps/npm/html/doc/index.html
deps/npm/html/doc/init.html
deps/npm/html/doc/install.html
deps/npm/html/doc/json.html
deps/npm/html/doc/link.html
deps/npm/html/doc/list.html
deps/npm/html/doc/npm.html
deps/npm/html/doc/outdated.html
deps/npm/html/doc/owner.html
deps/npm/html/doc/pack.html
deps/npm/html/doc/prefix.html
deps/npm/html/doc/prune.html
deps/npm/html/doc/publish.html
deps/npm/html/doc/rebuild.html
deps/npm/html/doc/registry.html
deps/npm/html/doc/removing-npm.html
deps/npm/html/doc/restart.html
deps/npm/html/doc/root.html
deps/npm/html/doc/run-script.html
deps/npm/html/doc/scripts.html
deps/npm/html/doc/search.html
deps/npm/html/doc/semver.html
deps/npm/html/doc/star.html
deps/npm/html/doc/start.html
deps/npm/html/doc/stop.html
deps/npm/html/doc/submodule.html
deps/npm/html/doc/tag.html
deps/npm/html/doc/test.html
deps/npm/html/doc/uninstall.html
deps/npm/html/doc/unpublish.html
deps/npm/html/doc/update.html
deps/npm/html/doc/version.html
deps/npm/html/doc/view.html
deps/npm/html/doc/whoami.html
deps/npm/lib/ls.js
deps/npm/lib/unbuild.js
deps/npm/lib/utils/gently-rm.js [new file with mode: 0644]
deps/npm/lib/utils/lifecycle.js
deps/npm/lib/utils/link.js
deps/npm/man/man1/README.1
deps/npm/man/man1/adduser.1
deps/npm/man/man1/bin.1
deps/npm/man/man1/bugs.1
deps/npm/man/man1/build.1
deps/npm/man/man1/bundle.1
deps/npm/man/man1/cache.1
deps/npm/man/man1/changelog.1
deps/npm/man/man1/coding-style.1
deps/npm/man/man1/completion.1
deps/npm/man/man1/config.1
deps/npm/man/man1/deprecate.1
deps/npm/man/man1/developers.1
deps/npm/man/man1/disputes.1
deps/npm/man/man1/docs.1
deps/npm/man/man1/edit.1
deps/npm/man/man1/explore.1
deps/npm/man/man1/faq.1
deps/npm/man/man1/folders.1
deps/npm/man/man1/help-search.1
deps/npm/man/man1/help.1
deps/npm/man/man1/index.1
deps/npm/man/man1/init.1
deps/npm/man/man1/install.1
deps/npm/man/man1/json.1
deps/npm/man/man1/link.1
deps/npm/man/man1/list.1
deps/npm/man/man1/npm.1
deps/npm/man/man1/outdated.1
deps/npm/man/man1/owner.1
deps/npm/man/man1/pack.1
deps/npm/man/man1/prefix.1
deps/npm/man/man1/prune.1
deps/npm/man/man1/publish.1
deps/npm/man/man1/rebuild.1
deps/npm/man/man1/registry.1
deps/npm/man/man1/removing-npm.1
deps/npm/man/man1/restart.1
deps/npm/man/man1/root.1
deps/npm/man/man1/run-script.1
deps/npm/man/man1/scripts.1
deps/npm/man/man1/search.1
deps/npm/man/man1/semver.1
deps/npm/man/man1/star.1
deps/npm/man/man1/start.1
deps/npm/man/man1/stop.1
deps/npm/man/man1/submodule.1
deps/npm/man/man1/tag.1
deps/npm/man/man1/test.1
deps/npm/man/man1/uninstall.1
deps/npm/man/man1/unpublish.1
deps/npm/man/man1/update.1
deps/npm/man/man1/version.1
deps/npm/man/man1/view.1
deps/npm/man/man1/whoami.1
deps/npm/man/man3/bin.3
deps/npm/man/man3/bugs.3
deps/npm/man/man3/commands.3
deps/npm/man/man3/config.3
deps/npm/man/man3/deprecate.3
deps/npm/man/man3/docs.3
deps/npm/man/man3/edit.3
deps/npm/man/man3/explore.3
deps/npm/man/man3/help-search.3
deps/npm/man/man3/init.3
deps/npm/man/man3/install.3
deps/npm/man/man3/link.3
deps/npm/man/man3/load.3
deps/npm/man/man3/ls.3
deps/npm/man/man3/npm.3
deps/npm/man/man3/outdated.3
deps/npm/man/man3/owner.3
deps/npm/man/man3/pack.3
deps/npm/man/man3/prefix.3
deps/npm/man/man3/prune.3
deps/npm/man/man3/publish.3
deps/npm/man/man3/rebuild.3
deps/npm/man/man3/restart.3
deps/npm/man/man3/root.3
deps/npm/man/man3/run-script.3
deps/npm/man/man3/search.3
deps/npm/man/man3/start.3
deps/npm/man/man3/stop.3
deps/npm/man/man3/submodule.3
deps/npm/man/man3/tag.3
deps/npm/man/man3/test.3
deps/npm/man/man3/uninstall.3
deps/npm/man/man3/unpublish.3
deps/npm/man/man3/update.3
deps/npm/man/man3/version.3
deps/npm/man/man3/view.3
deps/npm/man/man3/whoami.3
deps/npm/node_modules/fstream/package.json
deps/npm/node_modules/minimatch/minimatch.js
deps/npm/node_modules/minimatch/package.json
deps/npm/node_modules/mkdirp/README.markdown
deps/npm/node_modules/mkdirp/index.js
deps/npm/node_modules/mkdirp/package.json
deps/npm/node_modules/request/package.json
deps/npm/node_modules/rimraf/AUTHORS
deps/npm/node_modules/rimraf/README.md
deps/npm/node_modules/rimraf/fiber.js [deleted file]
deps/npm/node_modules/rimraf/package.json
deps/npm/node_modules/rimraf/rimraf.js
deps/npm/node_modules/which/package.json
deps/npm/node_modules/which/which.js
deps/npm/package.json

index c977af8..42263ec 100644 (file)
@@ -51,3 +51,4 @@ Stephen Sugden <glurgle@gmail.com>
 Gautham Pai <buzypi@gmail.com>
 David Trejo <david.daniel.trejo@gmail.com>
 Paul Vorbach <paul@vorb.de>
+George Ornbo <george@shapeshed.com>
index 2c6ca26..9b3da04 100644 (file)
@@ -353,7 +353,7 @@ The value `npm init` should use by default for the package version.
 
 ### init.author.name
 
-* Default: "0.0.0"
+* Default: ""
 * Type: String
 
 The value `npm init` should use by default for the package author's name.
index 17c19b0..53a93ac 100644 (file)
@@ -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-3</p>
+<p id="footer">bin &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index a926ce5..d090d16 100644 (file)
@@ -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-3</p>
+<p id="footer">bugs &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 6f4b2f4..1e895fe 100644 (file)
@@ -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-3</p>
+<p id="footer">commands &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index f998399..12cd0fb 100644 (file)
@@ -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-3</p>
+<p id="footer">config &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index bec38b5..36a7955 100644 (file)
@@ -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-3</p>
+<p id="footer">deprecate &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 744af60..59b6739 100644 (file)
@@ -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-3</p>
+<p id="footer">docs &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 0f1d361..594f471 100644 (file)
@@ -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-3</p>
+<p id="footer">edit &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 7802139..3fb6e73 100644 (file)
@@ -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-3</p>
+<p id="footer">explore &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 1eef2ea..750ec89 100644 (file)
@@ -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-3</p>
+<p id="footer">help-search &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 0707b2d..32b6567 100644 (file)
@@ -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-3</p>
+<p id="footer">init &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 85de48e..6414fbe 100644 (file)
@@ -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-3</p>
+<p id="footer">install &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index d21cf55..dd093e5 100644 (file)
@@ -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-3</p>
+<p id="footer">link &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index cc21ec4..5fb4294 100644 (file)
@@ -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-3</p>
+<p id="footer">load &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 2268f32..d79428c 100644 (file)
@@ -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-3</p>
+<p id="footer">ls &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index fc3438c..f21710a 100644 (file)
@@ -24,7 +24,7 @@ npm.load(configObject, function (er, npm) {
 
 <h2 id="VERSION">VERSION</h2>
 
-<p>1.1.0-3</p>
+<p>1.1.1</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-3</p>
+<p id="footer">npm &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index d99a3d0..06eea34 100644 (file)
@@ -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-3</p>
+<p id="footer">outdated &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index e2f7e77..16199b9 100644 (file)
@@ -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-3</p>
+<p id="footer">owner &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index cd9c6e3..06da545 100644 (file)
@@ -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-3</p>
+<p id="footer">pack &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index d07adde..a7f2367 100644 (file)
@@ -21,7 +21,7 @@
 
 <p>This function is not useful programmatically</p>
 </div>
-<p id="footer">prefix &mdash; npm@1.1.0-3</p>
+<p id="footer">prefix &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 3e60cea..4ee3074 100644 (file)
@@ -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-3</p>
+<p id="footer">prune &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index ae33cd7..1e512bf 100644 (file)
@@ -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-3</p>
+<p id="footer">publish &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 7eb8889..3bef149 100644 (file)
@@ -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-3</p>
+<p id="footer">rebuild &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 73eace2..19c93b2 100644 (file)
@@ -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-3</p>
+<p id="footer">restart &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index d6f604c..c8340dd 100644 (file)
@@ -21,7 +21,7 @@
 
 <p>This function is not useful programmatically.</p>
 </div>
-<p id="footer">root &mdash; npm@1.1.0-3</p>
+<p id="footer">root &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index a55edf9..32cf0b5 100644 (file)
@@ -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-3</p>
+<p id="footer">run-script &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index aaffb97..40bd527 100644 (file)
@@ -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-3</p>
+<p id="footer">search &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 80e7886..186fa29 100644 (file)
@@ -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-3</p>
+<p id="footer">start &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index fabb544..e1fa932 100644 (file)
@@ -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-3</p>
+<p id="footer">stop &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index fcec57b..11e1b9f 100644 (file)
@@ -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-3</p>
+<p id="footer">submodule &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index d157def..1901d48 100644 (file)
@@ -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-3</p>
+<p id="footer">tag &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 833a6d7..925febe 100644 (file)
@@ -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-3</p>
+<p id="footer">test &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index df04069..1f2e3a1 100644 (file)
@@ -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-3</p>
+<p id="footer">uninstall &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 8cbd3ec..d027eee 100644 (file)
@@ -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-3</p>
+<p id="footer">unpublish &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index b6269ca..14bb8da 100644 (file)
@@ -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-3</p>
+<p id="footer">update &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index e785435..44f4d01 100644 (file)
@@ -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-3</p>
+<p id="footer">version &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index e3a74eb..4975351 100644 (file)
@@ -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-3</p>
+<p id="footer">view &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index ff94465..a425d41 100644 (file)
@@ -21,7 +21,7 @@
 
 <p>This function is not useful programmatically</p>
 </div>
-<p id="footer">whoami &mdash; npm@1.1.0-3</p>
+<p id="footer">whoami &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index c10ec09..5138289 100644 (file)
@@ -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-3</p>
+<p id="footer"><a href="../doc/README.html">README</a> &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index aaac71c..6d2cb69 100644 (file)
@@ -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-3</p>
+<p id="footer">adduser &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 4391d5b..3a1a17b 100644 (file)
@@ -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-3</p>
+<p id="footer">bin &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 6f80a0b..d0e57b2 100644 (file)
@@ -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-3</p>
+<p id="footer">bugs &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 92d60f5..510d009 100644 (file)
@@ -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-3</p>
+<p id="footer">build &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index f3c6e9e..3f7a758 100644 (file)
@@ -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-3</p>
+<p id="footer">bundle &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 5037a86..5ba4c59 100644 (file)
@@ -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-3</p>
+<p id="footer">cache &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 6434534..541bbbf 100644 (file)
@@ -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-3</p>
+<p id="footer">changelog &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 36e49a2..89646e9 100644 (file)
@@ -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-3</p>
+<p id="footer">coding-style &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 57bd417..baa40da 100644 (file)
@@ -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-3</p>
+<p id="footer">completion &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 330cfa9..f822ce0 100644 (file)
@@ -315,7 +315,7 @@ from packages when building tarballs.</p>
 
 <h3 id="init-author-name">init.author.name</h3>
 
-<ul><li>Default: "0.0.0"</li><li>Type: String</li></ul>
+<ul><li>Default: ""</li><li>Type: String</li></ul>
 
 <p>The value <code>npm init</code> should use by default for the package author's name.</p>
 
@@ -623,7 +623,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-3</p>
+<p id="footer">config &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 25567bf..fd9426b 100644 (file)
@@ -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-3</p>
+<p id="footer">deprecate &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 2d8abad..16afb59 100644 (file)
@@ -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-3</p>
+<p id="footer">developers &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index acda79f..ffbfb00 100644 (file)
@@ -80,7 +80,7 @@ license statement)</li><li>Illegal content.</li></ol>
 
 <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.0-3</p>
+<p id="footer">disputes &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index cafde15..4313781 100644 (file)
@@ -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-3</p>
+<p id="footer">docs &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index a2d4521..9e723dd 100644 (file)
@@ -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-3</p>
+<p id="footer">edit &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index d6db409..d95de7c 100644 (file)
@@ -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-3</p>
+<p id="footer">explore &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 10379c0..17442ad 100644 (file)
@@ -241,7 +241,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-3</p>
+<p id="footer">faq &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index afb4be6..4967a89 100644 (file)
@@ -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-3</p>
+<p id="footer">folders &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 4eb9221..f28ebaf 100644 (file)
@@ -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-3</p>
+<p id="footer">help-search &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 587cb67..72429e4 100644 (file)
@@ -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-3</p>
+<p id="footer">help &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 3b499da..21a6f8a 100644 (file)
 
 <p> Display npm username</p>
 </div>
-<p id="footer">index &mdash; npm@1.1.0-3</p>
+<p id="footer">index &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 808c418..7ecabfb 100644 (file)
@@ -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-3</p>
+<p id="footer">init &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 44c3fda..fe833e3 100644 (file)
@@ -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-3</p>
+<p id="footer">install &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index c596d28..e428654 100644 (file)
@@ -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-3</p>
+<p id="footer">json &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index d220e72..5b4ca3c 100644 (file)
@@ -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-3</p>
+<p id="footer">link &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 57abeea..56e3bbf 100644 (file)
@@ -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-3</p>
+<p id="footer">list &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 1901e94..b2b1b88 100644 (file)
@@ -14,7 +14,7 @@
 
 <h2 id="VERSION">VERSION</h2>
 
-<p>1.1.0-3</p>
+<p>1.1.1</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-3</p>
+<p id="footer">npm &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index fae679d..3cca6b9 100644 (file)
@@ -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-3</p>
+<p id="footer">outdated &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 6d72778..4a2875f 100644 (file)
@@ -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><li><a href="../doc/disputes.html">disputes(1)</a></li></ul>
 </div>
-<p id="footer">owner &mdash; npm@1.1.0-3</p>
+<p id="footer">owner &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index db5c8ad..7f41e04 100644 (file)
@@ -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-3</p>
+<p id="footer">pack &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 5aa9c14..ec0504d 100644 (file)
@@ -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-3</p>
+<p id="footer">prefix &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 7209fdb..2567cda 100644 (file)
@@ -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-3</p>
+<p id="footer">prune &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 6cc5e1a..a7666b7 100644 (file)
@@ -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-3</p>
+<p id="footer">publish &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 997291e..89ea256 100644 (file)
@@ -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-3</p>
+<p id="footer">rebuild &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index daa9f60..54778cf 100644 (file)
@@ -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><li><a href="../doc/disputes.html">disputes(1)</a></li></ul>
 </div>
-<p id="footer">registry &mdash; npm@1.1.0-3</p>
+<p id="footer">registry &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index cf89e01..84ecc6a 100644 (file)
@@ -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-3</p>
+<p id="footer">removing-npm &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 4874d7e..d7f48d4 100644 (file)
@@ -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-3</p>
+<p id="footer">restart &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 4295356..e849469 100644 (file)
@@ -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-3</p>
+<p id="footer">root &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 59089e8..3eff1c7 100644 (file)
@@ -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-3</p>
+<p id="footer">run-script &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index dfacb02..efded27 100644 (file)
@@ -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-3</p>
+<p id="footer">scripts &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 7d36eb3..2e94b6b 100644 (file)
@@ -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-3</p>
+<p id="footer">search &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index bd2907d..a9e25c1 100644 (file)
@@ -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-3</p>
+<p id="footer">semver &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 18ca4b6..139344b 100644 (file)
@@ -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-3</p>
+<p id="footer">star &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index bee77d9..b595fbd 100644 (file)
@@ -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-3</p>
+<p id="footer">start &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index f50e59f..7df5594 100644 (file)
@@ -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-3</p>
+<p id="footer">stop &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 32aff9f..a97ec2f 100644 (file)
@@ -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-3</p>
+<p id="footer">submodule &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index ccaec03..d2cc26b 100644 (file)
@@ -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-3</p>
+<p id="footer">tag &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 507edcf..b70c1c4 100644 (file)
@@ -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-3</p>
+<p id="footer">test &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index dfe4441..69e4431 100644 (file)
@@ -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-3</p>
+<p id="footer">uninstall &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 2b5b059..6a4207e 100644 (file)
@@ -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-3</p>
+<p id="footer">unpublish &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 812c1bd..589a3ad 100644 (file)
@@ -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-3</p>
+<p id="footer">update &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 7b89ea9..04e5c81 100644 (file)
@@ -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-3</p>
+<p id="footer">version &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 5b8f670..0f29556 100644 (file)
@@ -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-3</p>
+<p id="footer">view &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 5562437..d5ba7e5 100644 (file)
@@ -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-3</p>
+<p id="footer">whoami &mdash; npm@1.1.1</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 33336cf..6bf0617 100644 (file)
@@ -45,7 +45,7 @@ function bfsify (root, current, queue, seen) {
   // which looks nicer
   current = current || root
   queue = queue || []
-  seen = seen || []
+  seen = seen || [root]
   var deps = current.dependencies = current.dependencies || {}
   Object.keys(deps).forEach(function (d) {
     var dep = deps[d]
index f4bd008..f8b3d6e 100644 (file)
@@ -3,6 +3,7 @@ unbuild.usage = "npm unbuild <folder>\n(this is plumbing)"
 
 var readJson = require("./utils/read-json.js")
   , rm = require("rimraf")
+  , gentlyRm = require("./utils/gently-rm.js")
   , npm = require("./npm.js")
   , path = require("path")
   , fs = require("graceful-fs")
@@ -56,9 +57,9 @@ function rmBins (pkg, folder, parent, top, cb) {
     if (process.platform === "win32") {
       rm(path.resolve(binRoot, b) + ".cmd", cb)
     } else {
-      rm( path.resolve(binRoot, b)
-        , { gently: !npm.config.get("force") && folder }
-        , cb )
+      gentlyRm( path.resolve(binRoot, b)
+              , !npm.config.get("force") && folder
+              , cb )
     }
   }, cb)
 }
@@ -78,8 +79,8 @@ function rmMans (pkg, folder, parent, top, cb) {
                              : pkg.name + "-" + bn)
                              + "." + sxn + gz
                            )
-    rm( manDest
-      , { gently: !npm.config.get("force") && folder }
-      , cb )
+    gentlyRm( manDest
+            , !npm.config.get("force") && folder
+            , cb )
   }, cb)
 }
diff --git a/deps/npm/lib/utils/gently-rm.js b/deps/npm/lib/utils/gently-rm.js
new file mode 100644 (file)
index 0000000..f24309a
--- /dev/null
@@ -0,0 +1,45 @@
+// only remove the thing if it's a symlink into a specific folder.
+// This is a very common use-case of npm's, but not so common elsewhere.
+
+module.exports = gentlyRm
+
+var rimraf = require("rimraf")
+  , fs = require("graceful-fs")
+  , npm = require("../npm.js")
+  , path = require("path")
+
+function gentlyRm (p, gently, cb) {
+  if (npm.config.get("force") || !gently) {
+    return rimraf(p, cb)
+  }
+
+  gently = path.resolve(gently)
+
+  // lstat it, see if it's a symlink.
+  fs.lstat(p, function (er, s) {
+    if (er) return rimraf(p, cb)
+    if (!s.isSymbolicLink()) next(null, path.resolve(p))
+    realish(p, next)
+  })
+
+  function next (er, rp) {
+    if (rp && rp.indexOf(gently) !== 0) {
+      return clobberFail(p, gently, cb)
+    }
+    rimraf(p, cb)
+  }
+}
+
+function realish (p, cb) {
+  fs.readlink(p, function (er, r) {
+    if (er) return cb(er)
+    return cb(null, path.resolve(path.dirname(p), r))
+  })
+}
+
+function clobberFail (p, g, cb) {
+  var er = new Error("Refusing to delete: "+p+" not in "+g)
+  er.code = "EEXIST"
+  er.path = p
+  return cb(er)
+}
index 9701573..51ad7ba 100644 (file)
@@ -11,6 +11,17 @@ var log = require("./log.js")
   , chain = require("slide").chain
   , constants = require("constants")
   , output = require("./output.js")
+  , PATH = "PATH"
+
+// windows calls it's path "Path" usually, but this is not guaranteed.
+if (process.platform === "win32") {
+  PATH = "Path"
+  Object.keys(process.env).forEach(function (e) {
+    if (e.match(/^PATH$/i)) {
+      PATH = e
+    }
+  })
+}
 
 function lifecycle (pkg, stage, wd, unsafe, failOk, cb) {
   if (typeof cb !== "function") cb = failOk, failOk = false
@@ -54,16 +65,16 @@ function checkForLink (pkg, cb) {
 }
 
 function lifecycle_ (pkg, stage, wd, env, unsafe, failOk, cb) {
-  var PATH = []
+  var pathArr = []
     , p = wd.split("node_modules")
     , acc = path.resolve(p.shift())
   p.forEach(function (pp) {
-    PATH.unshift(path.join(acc, "node_modules", ".bin"))
+    pathArr.unshift(path.join(acc, "node_modules", ".bin"))
     acc = path.join(acc, "node_modules", pp)
   })
-  PATH.unshift(path.join(acc, "node_modules", ".bin"))
-  if (env.PATH) PATH.push(env.PATH)
-  env.PATH = PATH.join(process.platform === "win32" ? ";" : ":")
+  pathArr.unshift(path.join(acc, "node_modules", ".bin"))
+  if (env[PATH]) pathArr.push(env[PATH])
+  env[PATH] = pathArr.join(process.platform === "win32" ? ";" : ":")
 
   var packageLifecycle = pkg.scripts && pkg.scripts.hasOwnProperty(stage)
 
@@ -113,7 +124,7 @@ function runPackageLifecycle (pkg, env, wd, unsafe, cb) {
     , cmd = env.npm_lifecycle_script
     , sh = "sh"
     , shFlag = "-c"
-  
+
   if (process.platform === "win32") {
     sh = "cmd"
     shFlag = "/c"
@@ -121,9 +132,12 @@ function runPackageLifecycle (pkg, env, wd, unsafe, cb) {
 
   log.verbose(unsafe, "unsafe-perm in lifecycle")
 
-  output.write("\n> "+pkg._id+" " + stage+" "+wd+"\n> "+cmd+"\n", function (er) {
+  var note = "\n> " + pkg._id + " " + stage + " " + wd
+           + "\n> " + cmd + "\n"
+
+  output.write(note, function (er) {
     if (er) return cb(er)
-    
+
     exec( sh, [shFlag, cmd], env, true, wd
         , user, group
         , function (er, code, stdout, stderr) {
index 9be1221..9184810 100644 (file)
@@ -5,7 +5,7 @@ link.ifExists = linkIfExists
 var fs = require("graceful-fs")
   , chain = require("slide").chain
   , mkdir = require("./mkdir-p.js")
-  , rm = require("rimraf")
+  , rm = require("./gently-rm.js")
   , log = require("./log.js")
   , path = require("path")
   , relativize = require("./relativize.js")
@@ -23,7 +23,7 @@ function link (from, to, gently, cb) {
   if (npm.config.get("force")) gently = false
   chain
     ( [ [fs, "stat", from]
-      , [rm, to, { gently: gently }]
+      , [rm, to, gently]
       , [mkdir, path.dirname(to)]
       , [fs, "symlink", relativize(from, to), to] ]
     , cb)
index a6c6243..981f698 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM" "1" "January 2012" "" ""
+.TH "NPM" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm\fR \-\- node package manager
index 301c95a..1640e5c 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-ADDUSER" "1" "January 2012" "" ""
+.TH "NPM\-ADDUSER" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-adduser\fR \-\- Add a registry user account
index 6c3ff4a..09a0508 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-BIN" "1" "January 2012" "" ""
+.TH "NPM\-BIN" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-bin\fR \-\- Display npm bin folder
index 55aeeb7..24713e2 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-BUGS" "1" "January 2012" "" ""
+.TH "NPM\-BUGS" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-bugs\fR \-\- Bugs for a package in a web browser maybe
index 9c2d7bb..9c4591c 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-BUILD" "1" "January 2012" "" ""
+.TH "NPM\-BUILD" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-build\fR \-\- Build a package
index 9a97ce9..61973b8 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-BUNDLE" "1" "January 2012" "" ""
+.TH "NPM\-BUNDLE" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-bundle\fR \-\- REMOVED
index f4df1fa..07e1411 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-CACHE" "1" "January 2012" "" ""
+.TH "NPM\-CACHE" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-cache\fR \-\- Manipulates packages cache
index a2112c8..f6c968e 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-CHANGELOG" "1" "January 2012" "" ""
+.TH "NPM\-CHANGELOG" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-changelog\fR \-\- Changes
index 2f63d8c..ac56410 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-CODING\-STYLE" "1" "January 2012" "" ""
+.TH "NPM\-CODING\-STYLE" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-coding-style\fR \-\- npm\'s "funny" coding style
index db42341..a9634bd 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-COMPLETION" "1" "January 2012" "" ""
+.TH "NPM\-COMPLETION" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-completion\fR \-\- Tab Completion for npm
index 2e38c0f..57fc35a 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-CONFIG" "1" "January 2012" "" ""
+.TH "NPM\-CONFIG" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-config\fR \-\- Manage the npm configuration file
@@ -597,7 +597,7 @@ The value \fBnpm init\fR should use by default for the package version\.
 .SS "init\.author\.name"
 .
 .IP "\(bu" 4
-Default: "0\.0\.0"
+Default: ""
 .
 .IP "\(bu" 4
 Type: String
index f0ba00b..fd4ced7 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-DEPRECATE" "1" "January 2012" "" ""
+.TH "NPM\-DEPRECATE" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-deprecate\fR \-\- Deprecate a version of a package
index 61e16ed..949718e 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-DEVELOPERS" "1" "January 2012" "" ""
+.TH "NPM\-DEVELOPERS" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-developers\fR \-\- Developer Guide
index df52c52..138b820 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-DISPUTES" "1" "January 2012" "" ""
+.TH "NPM\-DISPUTES" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-disputes\fR \-\- Handling Module Name Disputes
index 7432cad..79ec121 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-DOCS" "1" "January 2012" "" ""
+.TH "NPM\-DOCS" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-docs\fR \-\- Docs for a package in a web browser maybe
index 56cffbb..55b4e0c 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-EDIT" "1" "January 2012" "" ""
+.TH "NPM\-EDIT" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-edit\fR \-\- Edit an installed package
index 06be08b..8190524 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-EXPLORE" "1" "January 2012" "" ""
+.TH "NPM\-EXPLORE" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-explore\fR \-\- Browse an installed package
index 0f8857a..a674d46 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-FAQ" "1" "January 2012" "" ""
+.TH "NPM\-FAQ" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-faq\fR \-\- Frequently Asked Questions
index 394f72d..08a47b5 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-FOLDERS" "1" "January 2012" "" ""
+.TH "NPM\-FOLDERS" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-folders\fR \-\- Folder Structures Used by npm
index b2959ab..21b1279 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-HELP\-SEARCH" "1" "January 2012" "" ""
+.TH "NPM\-HELP\-SEARCH" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-help-search\fR \-\- Search npm help documentation
index 5032a59..3d4a4b8 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-HELP" "1" "January 2012" "" ""
+.TH "NPM\-HELP" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-help\fR \-\- Get help on npm
index 4326576..d2ac382 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-INDEX" "1" "January 2012" "" ""
+.TH "NPM\-INDEX" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-index\fR \-\- Index of all npm documentation
index 1ab75cb..547bcc0 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-INIT" "1" "January 2012" "" ""
+.TH "NPM\-INIT" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-init\fR \-\- Interactively create a package\.json file
index 651ee17..28cfc16 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-INSTALL" "1" "January 2012" "" ""
+.TH "NPM\-INSTALL" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-install\fR \-\- Install a package
index 73087c0..470719e 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-JSON" "1" "January 2012" "" ""
+.TH "NPM\-JSON" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-json\fR \-\- Specifics of npm\'s package\.json handling
index 83d73a5..cac1ff7 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-LINK" "1" "January 2012" "" ""
+.TH "NPM\-LINK" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-link\fR \-\- Symlink a package folder
index 95c6362..7e348d3 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-LS" "1" "January 2012" "" ""
+.TH "NPM\-LS" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-ls\fR \-\- List installed packages
index 87890cf..88aec98 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM" "1" "January 2012" "" ""
+.TH "NPM" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm\fR \-\- node package manager
@@ -14,7 +14,7 @@ npm <command> [args]
 .fi
 .
 .SH "VERSION"
-1.1.0-3
+1.1.1
 .
 .SH "DESCRIPTION"
 npm is the package manager for the Node JavaScript platform\.  It puts
index 658d311..8797722 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-OUTDATED" "1" "January 2012" "" ""
+.TH "NPM\-OUTDATED" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-outdated\fR \-\- Check for outdated packages
index 719fd66..4ad3a40 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-OWNER" "1" "January 2012" "" ""
+.TH "NPM\-OWNER" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-owner\fR \-\- Manage package owners
index 578659d..82d7c17 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-PACK" "1" "January 2012" "" ""
+.TH "NPM\-PACK" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-pack\fR \-\- Create a tarball from a package
index 235daa5..e19180e 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-PREFIX" "1" "January 2012" "" ""
+.TH "NPM\-PREFIX" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-prefix\fR \-\- Display prefix
index 25c1abf..b56a9c2 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-PRUNE" "1" "January 2012" "" ""
+.TH "NPM\-PRUNE" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-prune\fR \-\- Remove extraneous packages
index 51bc949..c983db4 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-PUBLISH" "1" "January 2012" "" ""
+.TH "NPM\-PUBLISH" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-publish\fR \-\- Publish a package
index 8836b1b..3094268 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-REBUILD" "1" "January 2012" "" ""
+.TH "NPM\-REBUILD" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-rebuild\fR \-\- Rebuild a package
index e5b552e..28868a6 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-REGISTRY" "1" "January 2012" "" ""
+.TH "NPM\-REGISTRY" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-registry\fR \-\- The JavaScript Package Registry
index b8e7242..a18340f 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-REMOVAL" "1" "January 2012" "" ""
+.TH "NPM\-REMOVAL" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-removal\fR \-\- Cleaning the Slate
index a5fc786..487116d 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-RESTART" "1" "January 2012" "" ""
+.TH "NPM\-RESTART" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-restart\fR \-\- Start a package
index 6f0f8c0..7626d3a 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-ROOT" "1" "January 2012" "" ""
+.TH "NPM\-ROOT" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-root\fR \-\- Display npm root
index 1561bb9..05c43f8 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-RUN\-SCRIPT" "1" "January 2012" "" ""
+.TH "NPM\-RUN\-SCRIPT" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-run-script\fR \-\- Run arbitrary package scripts
index ff949ba..003f8b7 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-SCRIPTS" "1" "January 2012" "" ""
+.TH "NPM\-SCRIPTS" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-scripts\fR \-\- How npm handles the "scripts" field
index 52a7784..b5c3d1e 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-SEARCH" "1" "January 2012" "" ""
+.TH "NPM\-SEARCH" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-search\fR \-\- Search for packages
index 892b033..6ac638e 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-SEMVER" "1" "January 2012" "" ""
+.TH "NPM\-SEMVER" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-semver\fR \-\- The semantic versioner for npm
index 3a43c8c..d409626 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-STAR" "1" "January 2012" "" ""
+.TH "NPM\-STAR" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-star\fR \-\- Mark your favorite packages
index acc0fc4..91ea22d 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-START" "1" "January 2012" "" ""
+.TH "NPM\-START" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-start\fR \-\- Start a package
index 96d71ef..7a95400 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-STOP" "1" "January 2012" "" ""
+.TH "NPM\-STOP" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-stop\fR \-\- Stop a package
index 831a11f..07ffcff 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-SUBMODULE" "1" "January 2012" "" ""
+.TH "NPM\-SUBMODULE" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-submodule\fR \-\- Add a package as a git submodule
index b057321..654ffbb 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-TAG" "1" "January 2012" "" ""
+.TH "NPM\-TAG" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-tag\fR \-\- Tag a published version
index 1fc73a4..4b1748c 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-TEST" "1" "January 2012" "" ""
+.TH "NPM\-TEST" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-test\fR \-\- Test a package
index dd96d17..81c1049 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-RM" "1" "January 2012" "" ""
+.TH "NPM\-RM" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-rm\fR \-\- Remove a package
index 22b93d1..41301de 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-UNPUBLISH" "1" "January 2012" "" ""
+.TH "NPM\-UNPUBLISH" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-unpublish\fR \-\- Remove a package from the registry
index 73cccbe..9471997 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-UPDATE" "1" "January 2012" "" ""
+.TH "NPM\-UPDATE" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-update\fR \-\- Update a package
index bc62751..80cc888 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-VERSION" "1" "January 2012" "" ""
+.TH "NPM\-VERSION" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-version\fR \-\- Bump a package version
index 774fdba..5a5375d 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-VIEW" "1" "January 2012" "" ""
+.TH "NPM\-VIEW" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-view\fR \-\- View registry info
index 1d7f502..2d38727 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-WHOAMI" "1" "January 2012" "" ""
+.TH "NPM\-WHOAMI" "1" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-whoami\fR \-\- Display npm username
index a318723..c2016d9 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-BIN" "3" "January 2012" "" ""
+.TH "NPM\-BIN" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-bin\fR \-\- Display npm bin folder
index 61deea7..ae6d5d4 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-BUGS" "3" "January 2012" "" ""
+.TH "NPM\-BUGS" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-bugs\fR \-\- Bugs for a package in a web browser maybe
index 38a6e0a..64b0a69 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-COMMANDS" "3" "January 2012" "" ""
+.TH "NPM\-COMMANDS" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-commands\fR \-\- npm commands
index 05e64b0..d238226 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-CONFIG" "3" "January 2012" "" ""
+.TH "NPM\-CONFIG" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-config\fR \-\- Manage the npm configuration files
index 2786d1f..535ba5a 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-DEPRECATE" "3" "January 2012" "" ""
+.TH "NPM\-DEPRECATE" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-deprecate\fR \-\- Deprecate a version of a package
index 200df58..b06876e 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-DOCS" "3" "January 2012" "" ""
+.TH "NPM\-DOCS" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-docs\fR \-\- Docs for a package in a web browser maybe
index 5c6e5e7..5435838 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-EDIT" "3" "January 2012" "" ""
+.TH "NPM\-EDIT" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-edit\fR \-\- Edit an installed package
index c6443f3..742e359 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-EXPLORE" "3" "January 2012" "" ""
+.TH "NPM\-EXPLORE" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-explore\fR \-\- Browse an installed package
index 61d54c1..06f4da0 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-HELP\-SEARCH" "3" "January 2012" "" ""
+.TH "NPM\-HELP\-SEARCH" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-help-search\fR \-\- Search the help pages
index 31f508d..60d7242 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "INIT" "3" "January 2012" "" ""
+.TH "INIT" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBinit\fR \-\- Interactively create a package\.json file
index 89d0eb9..432d166 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-INSTALL" "3" "January 2012" "" ""
+.TH "NPM\-INSTALL" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-install\fR \-\- install a package programmatically
index dfe050c..1007a70 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-LINK" "3" "January 2012" "" ""
+.TH "NPM\-LINK" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-link\fR \-\- Symlink a package folder
index fe47803..de5876d 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-LOAD" "3" "January 2012" "" ""
+.TH "NPM\-LOAD" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-load\fR \-\- Load config settings
index 1c9e9ec..5796d7c 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-LS" "3" "January 2012" "" ""
+.TH "NPM\-LS" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-ls\fR \-\- List installed packages
index f24bb62..eaaed85 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM" "3" "January 2012" "" ""
+.TH "NPM" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm\fR \-\- node package manager
@@ -21,7 +21,7 @@ npm\.load(configObject, function (er, npm) {
 .fi
 .
 .SH "VERSION"
-1.1.0-3
+1.1.1
 .
 .SH "DESCRIPTION"
 This is the API documentation for npm\.
index 68940b3..2c86405 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-OUTDATED" "3" "January 2012" "" ""
+.TH "NPM\-OUTDATED" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-outdated\fR \-\- Check for outdated packages
index 7da0e4a..68f5b74 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-OWNER" "3" "January 2012" "" ""
+.TH "NPM\-OWNER" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-owner\fR \-\- Manage package owners
index 9b33661..8c2c441 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-PACK" "3" "January 2012" "" ""
+.TH "NPM\-PACK" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-pack\fR \-\- Create a tarball from a package
index 6f1db94..3becffa 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-PREFIX" "3" "January 2012" "" ""
+.TH "NPM\-PREFIX" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-prefix\fR \-\- Display prefix
index 16b4d93..61f0a80 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-PRUNE" "3" "January 2012" "" ""
+.TH "NPM\-PRUNE" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-prune\fR \-\- Remove extraneous packages
index 4128081..06b1667 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-PUBLISH" "3" "January 2012" "" ""
+.TH "NPM\-PUBLISH" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-publish\fR \-\- Publish a package
index 3f284c9..87d6b67 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-REBUILD" "3" "January 2012" "" ""
+.TH "NPM\-REBUILD" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-rebuild\fR \-\- Rebuild a package
index 4393955..33be8ae 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-RESTART" "3" "January 2012" "" ""
+.TH "NPM\-RESTART" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-restart\fR \-\- Start a package
index 07c1b0c..840a8b6 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-ROOT" "3" "January 2012" "" ""
+.TH "NPM\-ROOT" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-root\fR \-\- Display npm root
index b5f03e2..39c4edd 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-RUN\-SCRIPT" "3" "January 2012" "" ""
+.TH "NPM\-RUN\-SCRIPT" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-run-script\fR \-\- Run arbitrary package scripts
index 4c4a4a2..48dbe69 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-SEARCH" "3" "January 2012" "" ""
+.TH "NPM\-SEARCH" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-search\fR \-\- Search for packages
index a050305..13f9f91 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-START" "3" "January 2012" "" ""
+.TH "NPM\-START" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-start\fR \-\- Start a package
index 302d727..e2a51ba 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-STOP" "3" "January 2012" "" ""
+.TH "NPM\-STOP" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-stop\fR \-\- Stop a package
index 8c60894..2ef5bd0 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-SUBMODULE" "3" "January 2012" "" ""
+.TH "NPM\-SUBMODULE" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-submodule\fR \-\- Add a package as a git submodule
index ab48222..fc655e5 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-TAG" "3" "January 2012" "" ""
+.TH "NPM\-TAG" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-tag\fR \-\- Tag a published version
index 3b9514a..d83cb65 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-TEST" "3" "January 2012" "" ""
+.TH "NPM\-TEST" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-test\fR \-\- Test a package
index 0349773..393842e 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-UNINSTALL" "3" "January 2012" "" ""
+.TH "NPM\-UNINSTALL" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-uninstall\fR \-\- uninstall a package programmatically
index 91e6677..7edd2b0 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-UNPUBLISH" "3" "January 2012" "" ""
+.TH "NPM\-UNPUBLISH" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-unpublish\fR \-\- Remove a package from the registry
index 299006b..68ec9d9 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-UPDATE" "3" "January 2012" "" ""
+.TH "NPM\-UPDATE" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-update\fR \-\- Update a package
index 1925688..2d0a513 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-VERSION" "3" "January 2012" "" ""
+.TH "NPM\-VERSION" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-version\fR \-\- Bump a package version
index d3485f6..b3f8190 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-VIEW" "3" "January 2012" "" ""
+.TH "NPM\-VIEW" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-view\fR \-\- View registry info
index 58d3462..1254499 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs/v0.1
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM\-WHOAMI" "3" "January 2012" "" ""
+.TH "NPM\-WHOAMI" "3" "February 2012" "" ""
 .
 .SH "NAME"
 \fBnpm-whoami\fR \-\- Display npm username
index eb85615..f40ea32 100644 (file)
@@ -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.11",
+  "version": "0.1.12",
   "repository": {
     "type": "git",
     "url": "git://github.com/isaacs/fstream.git"
@@ -12,8 +12,8 @@
     "node": "0.5 || 0.6 || 0.7"
   },
   "dependencies": {
-    "rimraf": "~1.0.8",
-    "mkdirp": "~0.1.0",
+    "rimraf": "2",
+    "mkdirp": "0.3",
     "graceful-fs": "~1.1.2",
     "inherits": "~1.0.0"
   },
index 768c8eb..5ca6008 100644 (file)
@@ -143,6 +143,22 @@ function make () {
     return s.split(slashSplit)
   })
 
+  if (options.debug) console.error(this.pattern, set)
+
+  // glob --> regexps
+  set = set.map(function (s, si, set) {
+    return s.map(this.parse, this)
+  }, this)
+
+  if (options.debug) console.error(this.pattern, set)
+
+  // filter out everything that didn't compile properly.
+  set = set.filter(function (s) {
+    return -1 === s.indexOf(false)
+  })
+
+  if (options.debug) console.error(this.pattern, set)
+
   // step 4: if we have a defined root, then patterns starting with ""
   // get attached to that.  If we have a defined cwd, then patterns
   // *not* starting with "" get attached to that.
@@ -154,13 +170,17 @@ function make () {
   set = set.map(function (p) {
     if (process.platform === "win32" &&
         ( (p[0] === "" && p[1] === "" && p[2] === "\\?") // unc
-        || (p[0].match(/^[a-zA-Z]:$/)) )) {
+        || (typeof p[0] === "string" && p[0].match(/^[a-zA-Z]:$/)) )) {
       return p
     }
     if (options.matchBase && p.length === 1) return p
     // do prefixing.
     if (options.root && p[0] === "") {
-      return options.root.split(pathSplit).concat(p)
+      var r = options.root.split(pathSplit)
+      if (r[r.length - 1] === "") r.pop()
+      r = r.concat(p.slice(1))
+      r.absolute = true
+      return r
     }
     if (options.cwd && p[0] !== "") {
       return options.cwd.split(pathSplit).concat(p)
@@ -169,22 +189,6 @@ function make () {
   })
 
 
-  if (options.debug) console.error(this.pattern, set)
-
-  // glob --> regexps
-  set = set.map(function (s, si, set) {
-    return s.map(this.parse, this)
-  }, this)
-
-  if (options.debug) console.error(this.pattern, set)
-
-  // filter out everything that didn't compile properly.
-  set = set.filter(function (s) {
-    return -1 === s.indexOf(false)
-  })
-
-  if (options.debug) console.error(this.pattern, set)
-
   this.set = set
 }
 
@@ -786,13 +790,12 @@ function match (f, partial) {
   if (this.comment) return false
   if (this.empty) return f === ""
 
+  if (f === "/" && partial) return true
+
   var options = this.options
 
   // first, normalize any slash-separated path parts.
   // f = path.normalize(f)
-  var absolute = isAbsolute(f)
-
-  // console.error(this.pattern, f, absolute)
 
   // windows: need to use /, not \
   // On other platforms, \ is a valid (albeit bad) filename char.
@@ -802,7 +805,9 @@ function match (f, partial) {
 
   // treat the test path as a set of pathparts.
   f = f.split(slashSplit)
-  // console.error(this.pattern, "split", f)
+  if (options.debug) {
+    console.error(this.pattern, "split", f)
+  }
 
   // just ONE of the pattern sets in this.set needs to match
   // in order for it to be valid.  If negating, then just one
@@ -1003,19 +1008,3 @@ function globUnescape (s) {
 function regExpEscape (s) {
   return s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&")
 }
-
-
-function isAbsolute (p) {
-  if (process.platform !== "win32") return p.charAt(0) === "/"
-
-  // yanked from node/lib/path.js
-  var splitDeviceRe =
-    /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?([\\\/])?([\s\S]*?)$/
-
-  var result = p.match(splitDeviceRe)
-    , device = result[1] || ""
-    , isUnc = device && device.charAt(1) !== ":"
-    , isAbs = !!result[2] || isUnc // UNC always absolute
-
-  return isAbs
-}
index 92ccac5..2816a84 100644 (file)
@@ -2,7 +2,7 @@
   "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)",
   "name": "minimatch",
   "description": "a glob matcher in javascript",
-  "version": "0.1.3",
+  "version": "0.1.5",
   "repository": {
     "type": "git",
     "url": "git://github.com/isaacs/minimatch.git"
index 0393c4e..b4dd75f 100644 (file)
@@ -3,14 +3,14 @@ mkdirp
 
 Like `mkdir -p`, but in node.js!
 
-Example
+example
 =======
 
 pow.js
 ------
     var mkdirp = require('mkdirp');
     
-    mkdirp('/tmp/foo/bar/baz', 0755, function (err) {
+    mkdirp('/tmp/foo/bar/baz', function (err) {
         if (err) console.error(err)
         else console.log('pow!')
     });
@@ -19,3 +19,36 @@ Output
     pow!
 
 And now /tmp/foo/bar/baz exists, huzzah!
+
+methods
+=======
+
+var mkdirp = require('mkdirp');
+
+mkdirp(dir, mode, cb)
+---------------------
+
+Create a new directory and any necessary subdirectories at `dir` with octal
+permission string `mode`.
+
+If `mode` isn't specified, it defaults to `0777 & (~process.umask())`.
+
+mkdirp.sync(dir, mode)
+----------------------
+
+Synchronously create a new directory and any necessary subdirectories at `dir`
+with octal permission string `mode`.
+
+If `mode` isn't specified, it defaults to `0777 & (~process.umask())`.
+
+install
+=======
+
+With [npm](http://npmjs.org) do:
+
+    npm install mkdirp
+
+license
+=======
+
+MIT/X11
index 6602801..25f43ad 100644 (file)
@@ -4,6 +4,11 @@ var fs = require('fs');
 module.exports = mkdirP.mkdirp = mkdirP.mkdirP = mkdirP;
 
 function mkdirP (p, mode, f) {
+    if (typeof mode === 'function' || mode === undefined) {
+        f = mode;
+        mode = 0777 & (~process.umask());
+    }
+    
     var cb = f || function () {};
     if (typeof mode === 'string') mode = parseInt(mode, 8);
     p = path.resolve(p);
@@ -23,7 +28,6 @@ function mkdirP (p, mode, f) {
                     // if the stat fails, then that's super weird.
                     // let the original EEXIST be the failure reason.
                     if (er2 || !stat.isDirectory()) cb(er)
-                    else if ((stat.mode & 0777) !== mode) fs.chmod(p, mode, cb);
                     else cb();
                 });
                 break;
@@ -34,3 +38,42 @@ function mkdirP (p, mode, f) {
         }
     });
 }
+
+mkdirP.sync = function sync (p, mode) {
+    if (mode === undefined) {
+        mode = 0777 & (~process.umask());
+    }
+    
+    if (typeof mode === 'string') mode = parseInt(mode, 8);
+    p = path.resolve(p);
+    
+    try {
+        fs.mkdirSync(p, mode)
+    }
+    catch (err0) {
+        switch (err0.code) {
+            case 'ENOENT' :
+                var err1 = sync(path.dirname(p), mode)
+                if (err1) throw err1;
+                else return sync(p, mode);
+                break;
+            
+            case 'EEXIST' :
+                var stat;
+                try {
+                    stat = fs.statSync(p);
+                }
+                catch (err1) {
+                    throw err0
+                }
+                if (!stat.isDirectory()) throw err0;
+                else return null;
+                break;
+            default :
+                throw err0
+                break;
+        }
+    }
+    
+    return null;
+};
index 99149f7..1bf9ac7 100644 (file)
@@ -1,7 +1,7 @@
 {
     "name" : "mkdirp",
     "description" : "Recursively mkdir, like `mkdir -p`",
-    "version" : "0.1.0",
+    "version" : "0.3.0",
     "author" : "James Halliday <mail@substack.net> (http://substack.net)",
     "main" : "./index",
     "keywords" : [
index e7b899a..7e194d5 100644 (file)
@@ -1,7 +1,7 @@
 { "name" : "request"
 , "description" : "Simplified HTTP request client."
 , "tags" : ["http", "simple", "util", "utility"]
-, "version" : "2.9.3"
+, "version" : "2.9.100"
 , "author" : "Mikeal Rogers <mikeal.rogers@gmail.com>"
 , "repository" :
   { "type" : "git"
index 008cbe7..247b754 100644 (file)
@@ -3,3 +3,4 @@ Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)
 Wayne Larsen <wayne@larsen.st> (http://github.com/wvl)
 ritch <skawful@gmail.com>
 Marcel Laverdet
+Yosef Dinerstein <yosefd@microsoft.com>
index 99983dc..96ce9b2 100644 (file)
@@ -4,7 +4,7 @@ Install with `npm install rimraf`, or just drop rimraf.js somewhere.
 
 ## API
 
-`rimraf(f, [options,] callback)`
+`rimraf(f, callback)`
 
 The callback will be called with an error if there is one.  Certain
 errors are handled for you:
@@ -14,17 +14,6 @@ errors are handled for you:
 * `EMFILE` - If too many file descriptors get opened, rimraf will
   patiently wait until more become available.
 
-## Options
-
-The options object is optional.  These fields are respected:
-
-* `maxBusyTries` -  The number of times to retry a file or folder in the
-  event of an `EBUSY` error.  The default is 3.
-* `gently` - If provided a `gently` path, then rimraf will only delete
-  files and folders that are beneath this path, and only delete symbolic
-  links that point to a place within this path.  (This is very important
-  to npm's use-case, and shows rimraf's pedigree.)
-
 
 ## rimraf.sync
 
diff --git a/deps/npm/node_modules/rimraf/fiber.js b/deps/npm/node_modules/rimraf/fiber.js
deleted file mode 100644 (file)
index 8812a6b..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-// fiber/future port originally written by Marcel Laverdet
-// https://gist.github.com/1131093
-// I updated it to bring to feature parity with cb version.
-// The bugs are probably mine, not Marcel's.
-// -- isaacs
-
-var path = require('path')
-  , fs = require('fs')
-  , Future = require('fibers/future')
-
-// Create future-returning fs functions
-var fs2 = {}
-for (var ii in fs) {
-  fs2[ii] = Future.wrap(fs[ii])
-}
-
-// Return a future which just pauses for a certain amount of time
-
-function timer (ms) {
-  var future = new Future
-  setTimeout(function () {
-    future.return()
-  }, ms)
-  return future
-}
-
-function realish (p) {
-  return path.resolve(path.dirname(fs2.readlink(p)))
-}
-
-// for EMFILE backoff.
-var timeout = 0
-  , EMFILE_MAX = 1000
-
-function rimraf_ (p, opts) {
-  opts = opts || {}
-  opts.maxBusyTries = opts.maxBusyTries || 3
-  if (opts.gently) opts.gently = path.resolve(opts.gently)
-  var busyTries = 0
-
-  // exits by throwing or returning.
-  // loops on handled errors.
-  while (true) {
-    try {
-      var stat = fs2.lstat(p).wait()
-
-      // check to make sure that symlinks are ours.
-      if (opts.gently) {
-        var rp = stat.isSymbolicLink() ? realish(p) : path.resolve(p)
-        if (rp.indexOf(opts.gently) !== 0) {
-          var er = new Error("Refusing to delete: "+p+" not in "+opts.gently)
-          er.errno = require("constants").EEXIST
-          er.code = "EEXIST"
-          er.path = p
-          throw er
-        }
-      }
-
-      if (!stat.isDirectory()) return fs2.unlink(p).wait()
-
-      var rimrafs = fs2.readdir(p).wait().map(function (file) {
-        return rimraf(path.join(p, file), opts)
-      })
-
-      Future.wait(rimrafs)
-      fs2.rmdir(p).wait()
-      timeout = 0
-      return
-
-    } catch (er) {
-      if (er.message.match(/^EMFILE/) && timeout < EMFILE_MAX) {
-        timer(timeout++).wait()
-      } else if (er.message.match(/^EBUSY/)
-                 && busyTries < opt.maxBusyTries) {
-        timer(++busyTries * 100).wait()
-      } else if (er.message.match(/^ENOENT/)) {
-        // already gone
-        return
-      } else {
-        throw er
-      }
-    }
-  }
-}
-
-var rimraf = module.exports = rimraf_.future()
index 2b69536..952bc8a 100644 (file)
@@ -1,9 +1,10 @@
 {"name":"rimraf"
-,"version":"1.0.9"
+,"version":"2.0.1"
 ,"main":"rimraf.js"
 ,"description":"A deep deletion module for node (like `rm -rf`)"
 ,"author":"Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)"
 ,"license":
   {"type":"MIT", "url": "https://github.com/isaacs/rimraf/raw/master/LICENSE"}
+,"optionalDependencies":{"graceful-fs":"~1.1"}
 ,"repository":"git://github.com/isaacs/rimraf.git"
 ,"scripts":{"test":"cd test && bash run.sh"}}
index e8104e9..67d018a 100644 (file)
@@ -16,34 +16,30 @@ var lstat = process.platform === "win32" ? "stat" : "lstat"
 
 // for EMFILE handling
 var timeout = 0
-  , EMFILE_MAX = 1000
+exports.EMFILE_MAX = 1000
+exports.BUSYTRIES_MAX = 3
 
-function rimraf (p, opts, cb) {
-  if (typeof opts === "function") cb = opts, opts = {}
+function rimraf (p, cb) {
 
   if (!cb) throw new Error("No callback passed to rimraf()")
-  if (!opts) opts = {}
 
   var busyTries = 0
-  opts.maxBusyTries = opts.maxBusyTries || 3
 
-  if (opts.gently) opts.gently = path.resolve(opts.gently)
-
-  rimraf_(p, opts, function CB (er) {
+  rimraf_(p, function CB (er) {
     if (er) {
-      if (er.code === "EBUSY" && busyTries < opts.maxBusyTries) {
-        var time = (opts.maxBusyTries - busyTries) * 100
+      if (er.code === "EBUSY" && busyTries < exports.BUSYTRIES_MAX) {
+        var time = (exports.BUSYTRIES_MAX - busyTries) * 100
         busyTries ++
         // try again, with the same exact callback as this one.
         return setTimeout(function () {
-          rimraf_(p, opts, CB)
+          rimraf_(p, CB)
         })
       }
 
       // this one won't happen if graceful-fs is used.
-      if (er.code === "EMFILE" && timeout < EMFILE_MAX) {
+      if (er.code === "EMFILE" && timeout < exports.EMFILE_MAX) {
         return setTimeout(function () {
-          rimraf_(p, opts, CB)
+          rimraf_(p, CB)
         }, timeout ++)
       }
 
@@ -56,9 +52,8 @@ function rimraf (p, opts, cb) {
   })
 }
 
-function rimraf_ (p, opts, cb) {
+function rimraf_ (p, cb) {
   fs[lstat](p, function (er, s) {
-    // if the stat fails, then assume it's already gone.
     if (er) {
       // already gone
       if (er.code === "ENOENT") return cb()
@@ -66,20 +61,55 @@ function rimraf_ (p, opts, cb) {
       return cb(er)
     }
 
-    // don't delete that don't point actually live in the "gently" path
-    if (opts.gently) return clobberTest(p, s, opts, cb)
-    return rm_(p, s, opts, cb)
+    return rm_(p, s, false, cb)
   })
 }
 
-function rm_ (p, s, opts, cb) {
-  if (!s.isDirectory()) return fs.unlink(p, cb)
+
+var myGid = function myGid () {
+  var g = process.getuid && process.getgid()
+  myGid = function myGid () { return g }
+  return g
+}
+
+var myUid = function myUid () {
+  var u = process.getuid && process.getuid()
+  myUid = function myUid () { return u }
+  return u
+}
+
+
+function writable (s) {
+  var mode = s.mode || 0777
+    , uid = myUid()
+    , gid = myGid()
+  return (mode & 0002)
+      || (gid === s.gid && (mode & 0020))
+      || (uid === s.uid && (mode & 0200))
+}
+
+function rm_ (p, s, didWritableCheck, cb) {
+  if (!didWritableCheck && !writable(s)) {
+    // make file writable
+    // user/group/world, doesn't matter at this point
+    // since it's about to get nuked.
+    return fs.chmod(p, s.mode | 0222, function (er) {
+      if (er) return cb(er)
+      rm_(p, s, true, cb)
+    })
+  }
+
+  if (!s.isDirectory()) {
+    return fs.unlink(p, cb)
+  }
+
+  // directory
   fs.readdir(p, function (er, files) {
     if (er) return cb(er)
     asyncForEach(files.map(function (f) {
       return path.join(p, f)
     }), function (file, cb) {
-      rimraf(file, opts, cb)
+      rimraf(file, cb)
     }, function (er) {
       if (er) return cb(er)
       fs.rmdir(p, cb)
@@ -87,34 +117,6 @@ function rm_ (p, s, opts, cb) {
   })
 }
 
-function clobberTest (p, s, opts, cb) {
-  var gently = opts.gently
-  if (!s.isSymbolicLink()) next(null, path.resolve(p))
-  else realish(p, next)
-
-  function next (er, rp) {
-    if (er) return rm_(p, s, cb)
-    if (rp.indexOf(gently) !== 0) return clobberFail(p, gently, cb)
-    else return rm_(p, s, opts, cb)
-  }
-}
-
-function realish (p, cb) {
-  fs.readlink(p, function (er, r) {
-    if (er) return cb(er)
-    return cb(null, path.resolve(path.dirname(p), r))
-  })
-}
-
-function clobberFail (p, g, cb) {
-  var er = new Error("Refusing to delete: "+p+" not in "+g)
-    , constants = require("constants")
-  er.errno = constants.EEXIST
-  er.code = "EEXIST"
-  er.path = p
-  return cb(er)
-}
-
 function asyncForEach (list, fn, cb) {
   if (!list.length) cb()
   var c = list.length
@@ -137,7 +139,13 @@ function rimrafSync (p) {
     if (er.code === "ENOENT") return
     throw er
   }
+
+  if (!writable(s)) {
+    fs.chmodSync(p, s.mode | 0222)
+  }
+
   if (!s.isDirectory()) return fs.unlinkSync(p)
+
   fs.readdirSync(p).forEach(function (f) {
     rimrafSync(path.join(p, f))
   })
index 0299069..ea26853 100644 (file)
@@ -2,7 +2,7 @@
   "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)",
   "name": "which",
   "description": "Like which(1) unix command. Find the first instance of an executable in the PATH.",
-  "version": "1.0.2",
+  "version": "1.0.3",
   "repository": {
     "type": "git",
     "url": "git://github.com/isaacs/node-which.git"
index b124ead..634e3af 100644 (file)
@@ -4,6 +4,7 @@ which.sync = whichSync
 var path = require("path")
   , fs
   , COLON = process.platform === "win32" ? ";" : ":"
+  , isExe
 
 try {
   fs = require("graceful-fs")
@@ -11,17 +12,21 @@ try {
   fs = require("fs")
 }
 
-// console.log(process.execPath)
-// console.log(process.argv)
-
-function isExe (mod, uid, gid) {
-  //console.error("isExe?", (mod & 0111).toString(8))
-  var ret = (mod & 0001)
-      || (mod & 0010) && process.getgid && gid === process.getgid()
-      || (mod & 0100) && process.getuid && uid === process.getuid()
-  //console.error("isExe?", ret)
-  return ret
+if (process.platform == "win32") {
+  // On windows, there is no good way to check that a file is executable
+  isExe = function isExe () { return true }
+} else {
+  isExe = function isExe (mod, uid, gid) {
+    //console.error(mod, uid, gid);
+    //console.error("isExe?", (mod & 0111).toString(8))
+    var ret = (mod & 0001)
+        || (mod & 0010) && process.getgid && gid === process.getgid()
+        || (mod & 0100) && process.getuid && uid === process.getuid()
+    //console.error("isExe?", ret)
+    return ret
+  }
 }
+
 function which (cmd, cb) {
   if (cmd.charAt(0) === "/") return cb(null, cmd)
   var pathEnv = (process.env.PATH || "").split(COLON)
@@ -56,12 +61,21 @@ function which (cmd, cb) {
 function whichSync (cmd) {
   if (cmd.charAt(0) === "/") return cmd
   var pathEnv = (process.env.PATH || "").split(COLON)
+    , pathExt = [""]
+  if (process.platform === "win32") {
+    pathEnv.push(process.cwd())
+    pathExt = (process.env.PATHEXT || ".EXE").split(COLON)
+  }
   for (var i = 0, l = pathEnv.length; i < l; i ++) {
     var p = path.join(pathEnv[i], cmd)
-    if (p === process.execPath) return p
-    var stat
-    try { stat = fs.statSync(p) } catch (ex) {}
-    if (stat && isExe(stat.mode, stat.uid, stat.gid)) return p
+    for (var j = 0, ll = pathExt.length; j < ll; j ++) {
+      var cur = p + pathExt[j]
+      var stat
+      try { stat = fs.statSync(cur) } catch (ex) {}
+      if (stat &&
+          stat.isFile() &&
+          isExe(stat.mode, stat.uid, stat.gid)) return cur
+    }
   }
   throw new Error("not found: "+cmd)
 }
index 25f8bad..b94dbec 100644 (file)
@@ -10,7 +10,7 @@
     "install",
     "package.json"
   ],
-  "version": "1.1.0-3",
+  "version": "1.1.1",
   "preferGlobal": true,
   "config": {
     "publishtest": false
     "nopt": "1",
     "node-uuid": "~1.3",
     "proto-list": "1",
-    "rimraf": "1",
+    "rimraf": "2",
     "request": "~2.9",
     "which": "1",
     "tar": "~0.1.12",
     "fstream": "~0.1.5",
     "block-stream": "*",
     "inherits": "1",
-    "mkdirp": "0.1",
+    "mkdirp": "0.3",
     "fast-list": "~1.0.1",
     "read": "0",
     "lru-cache": "1"