Merge remote-tracking branch 'upstream/v0.10'
authorTimothy J Fontaine <tjfontaine@gmail.com>
Mon, 30 Dec 2013 23:55:47 +0000 (15:55 -0800)
committerTimothy J Fontaine <tjfontaine@gmail.com>
Mon, 30 Dec 2013 23:55:47 +0000 (15:55 -0800)
126 files changed:
deps/npm/doc/cli/npm-adduser.md
deps/npm/doc/cli/npm-bugs.md
deps/npm/doc/cli/npm-docs.md
deps/npm/doc/cli/repo.md
deps/npm/html/doc/README.html
deps/npm/html/doc/api/npm-bin.html
deps/npm/html/doc/api/npm-bugs.html
deps/npm/html/doc/api/npm-commands.html
deps/npm/html/doc/api/npm-config.html
deps/npm/html/doc/api/npm-deprecate.html
deps/npm/html/doc/api/npm-docs.html
deps/npm/html/doc/api/npm-edit.html
deps/npm/html/doc/api/npm-explore.html
deps/npm/html/doc/api/npm-help-search.html
deps/npm/html/doc/api/npm-init.html
deps/npm/html/doc/api/npm-install.html
deps/npm/html/doc/api/npm-link.html
deps/npm/html/doc/api/npm-load.html
deps/npm/html/doc/api/npm-ls.html
deps/npm/html/doc/api/npm-outdated.html
deps/npm/html/doc/api/npm-owner.html
deps/npm/html/doc/api/npm-pack.html
deps/npm/html/doc/api/npm-prefix.html
deps/npm/html/doc/api/npm-prune.html
deps/npm/html/doc/api/npm-publish.html
deps/npm/html/doc/api/npm-rebuild.html
deps/npm/html/doc/api/npm-restart.html
deps/npm/html/doc/api/npm-root.html
deps/npm/html/doc/api/npm-run-script.html
deps/npm/html/doc/api/npm-search.html
deps/npm/html/doc/api/npm-shrinkwrap.html
deps/npm/html/doc/api/npm-start.html
deps/npm/html/doc/api/npm-stop.html
deps/npm/html/doc/api/npm-submodule.html
deps/npm/html/doc/api/npm-tag.html
deps/npm/html/doc/api/npm-test.html
deps/npm/html/doc/api/npm-uninstall.html
deps/npm/html/doc/api/npm-unpublish.html
deps/npm/html/doc/api/npm-update.html
deps/npm/html/doc/api/npm-version.html
deps/npm/html/doc/api/npm-view.html
deps/npm/html/doc/api/npm-whoami.html
deps/npm/html/doc/api/npm.html
deps/npm/html/doc/api/repo.html
deps/npm/html/doc/cli/npm-adduser.html
deps/npm/html/doc/cli/npm-bin.html
deps/npm/html/doc/cli/npm-bugs.html
deps/npm/html/doc/cli/npm-build.html
deps/npm/html/doc/cli/npm-bundle.html
deps/npm/html/doc/cli/npm-cache.html
deps/npm/html/doc/cli/npm-completion.html
deps/npm/html/doc/cli/npm-config.html
deps/npm/html/doc/cli/npm-dedupe.html
deps/npm/html/doc/cli/npm-deprecate.html
deps/npm/html/doc/cli/npm-docs.html
deps/npm/html/doc/cli/npm-edit.html
deps/npm/html/doc/cli/npm-explore.html
deps/npm/html/doc/cli/npm-help-search.html
deps/npm/html/doc/cli/npm-help.html
deps/npm/html/doc/cli/npm-init.html
deps/npm/html/doc/cli/npm-install.html
deps/npm/html/doc/cli/npm-link.html
deps/npm/html/doc/cli/npm-ls.html
deps/npm/html/doc/cli/npm-outdated.html
deps/npm/html/doc/cli/npm-owner.html
deps/npm/html/doc/cli/npm-pack.html
deps/npm/html/doc/cli/npm-prefix.html
deps/npm/html/doc/cli/npm-prune.html
deps/npm/html/doc/cli/npm-publish.html
deps/npm/html/doc/cli/npm-rebuild.html
deps/npm/html/doc/cli/npm-restart.html
deps/npm/html/doc/cli/npm-rm.html
deps/npm/html/doc/cli/npm-root.html
deps/npm/html/doc/cli/npm-run-script.html
deps/npm/html/doc/cli/npm-search.html
deps/npm/html/doc/cli/npm-shrinkwrap.html
deps/npm/html/doc/cli/npm-star.html
deps/npm/html/doc/cli/npm-stars.html
deps/npm/html/doc/cli/npm-start.html
deps/npm/html/doc/cli/npm-stop.html
deps/npm/html/doc/cli/npm-submodule.html
deps/npm/html/doc/cli/npm-tag.html
deps/npm/html/doc/cli/npm-test.html
deps/npm/html/doc/cli/npm-uninstall.html
deps/npm/html/doc/cli/npm-unpublish.html
deps/npm/html/doc/cli/npm-update.html
deps/npm/html/doc/cli/npm-version.html
deps/npm/html/doc/cli/npm-view.html
deps/npm/html/doc/cli/npm-whoami.html
deps/npm/html/doc/cli/npm.html
deps/npm/html/doc/cli/repo.html
deps/npm/html/doc/files/npm-folders.html
deps/npm/html/doc/files/npm-global.html
deps/npm/html/doc/files/npm-json.html
deps/npm/html/doc/files/npmrc.html
deps/npm/html/doc/files/package.json.html
deps/npm/html/doc/index.html
deps/npm/html/doc/misc/npm-coding-style.html
deps/npm/html/doc/misc/npm-config.html
deps/npm/html/doc/misc/npm-developers.html
deps/npm/html/doc/misc/npm-disputes.html
deps/npm/html/doc/misc/npm-faq.html
deps/npm/html/doc/misc/npm-index.html
deps/npm/html/doc/misc/npm-registry.html
deps/npm/html/doc/misc/npm-scripts.html
deps/npm/html/doc/misc/removing-npm.html
deps/npm/html/doc/misc/semver.html
deps/npm/lib/adduser.js
deps/npm/lib/bugs.js
deps/npm/lib/cache.js
deps/npm/lib/docs.js
deps/npm/lib/install.js
deps/npm/lib/utils/error-handler.js
deps/npm/man/man1/npm-adduser.1
deps/npm/man/man1/npm-bugs.1
deps/npm/man/man1/npm-docs.1
deps/npm/man/man1/npm-ls.1
deps/npm/man/man1/npm.1
deps/npm/man/man1/repo.1
deps/npm/man/man3/npm.3
deps/npm/package.json
deps/npm/test/tap/404-parent.js [new file with mode: 0644]
deps/npm/test/tap/false_name.js
deps/npm/test/tap/false_name/package.json
tools/install.py
vcbuild.bat

index ee5c3bd..68f3a3c 100644 (file)
@@ -15,7 +15,7 @@ The username, password, and email are read in from prompts.
 You may use this command to change your email address, but not username
 or password.
 
-To reset your password, go to <http://admin.npmjs.org/>
+To reset your password, go to <https://npmjs.org/forgot>
 
 You may use this command multiple times with the same user account to
 authorize on a new machine.
index 2a7dae9..002d9f7 100644 (file)
@@ -4,12 +4,14 @@ npm-bugs(1) -- Bugs for a package in a web browser maybe
 ## SYNOPSIS
 
     npm bugs <pkgname>
+    npm bugs (with no args in a package dir)
 
 ## DESCRIPTION
 
 This command tries to guess at the likely location of a package's
 bug tracker URL, and then tries to open it using the `--browser`
-config param.
+config param. If no package name is provided, it will search for
+a `package.json` in the current folder and use the `name` property.
 
 ## CONFIGURATION
 
index cc39e82..cece021 100644 (file)
@@ -4,13 +4,16 @@ npm-docs(1) -- Docs for a package in a web browser maybe
 ## SYNOPSIS
 
     npm docs <pkgname>
+    npm docs (with no args in a package dir)
     npm home <pkgname>
+    npm home (with no args in a package dir)
 
 ## DESCRIPTION
 
 This command tries to guess at the likely location of a package's
 documentation URL, and then tries to open it using the `--browser`
-config param.
+config param. If no package name is provided, it will search for
+a `package.json` in the current folder and use the `name` property.
 
 ## CONFIGURATION
 
index 12085c1..6bc6f3b 100644 (file)
@@ -11,8 +11,7 @@ npm-repo(1) -- Open package repository page in the browser
 This command tries to guess at the likely location of a package's
 repository URL, and then tries to open it using the `--browser`
 config param. If no package name is provided, it will search for
-a `package.json` in the current folder and try to use the property
-of the name field.
+a `package.json` in the current folder and use the `name` property.
 
 ## CONFIGURATION
 
index 706f30c..5393436 100644 (file)
@@ -239,7 +239,7 @@ will no doubt tell you to put the output in a gist or email.</p>
 
 <ul><li><a href="cli/npm.html">npm(1)</a></li><li><a href="misc/npm-faq.html">npm-faq(7)</a></li><li><a href="cli/npm-help.html">npm-help(1)</a></li><li><a href="misc/npm-index.html">npm-index(7)</a></li></ul>
 </div>
-<p id="footer"><a href="../doc/README.html">README</a> &mdash; npm@1.3.21</p>
+<p id="footer"><a href="../doc/README.html">README</a> &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index b043db5..3e255be 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">npm-bin &mdash; npm@1.3.21</p>
+<p id="footer">npm-bin &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index e64bae3..0c1a17d 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">npm-bugs &mdash; npm@1.3.21</p>
+<p id="footer">npm-bugs &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 805d1e2..d43812c 100644 (file)
@@ -28,7 +28,7 @@ usage, or <code>man 3 npm-&lt;command&gt;</code> for programmatic usage.</p>
 
 <ul><li><a href="../misc/npm-index.html">npm-index(7)</a></li></ul>
 </div>
-<p id="footer">npm-commands &mdash; npm@1.3.21</p>
+<p id="footer">npm-commands &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index f1197ed..cc9925a 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">npm-config &mdash; npm@1.3.21</p>
+<p id="footer">npm-config &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index bd20bbc..8426c09 100644 (file)
@@ -32,7 +32,7 @@ install the package.</p></li></ul>
 
 <ul><li><a href="../api/npm-publish.html">npm-publish(3)</a></li><li><a href="../api/npm-unpublish.html">npm-unpublish(3)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li></ul>
 </div>
-<p id="footer">npm-deprecate &mdash; npm@1.3.21</p>
+<p id="footer">npm-deprecate &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 91d1e16..99fad94 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">npm-docs &mdash; npm@1.3.21</p>
+<p id="footer">npm-docs &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 457c821..4a4dc2a 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">npm-edit &mdash; npm@1.3.21</p>
+<p id="footer">npm-edit &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 4eae889..b2e3698 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 &#39;args&#39; 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">npm-explore &mdash; npm@1.3.21</p>
+<p id="footer">npm-explore &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index e7645a4..f56326a 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">npm-help-search &mdash; npm@1.3.21</p>
+<p id="footer">npm-help-search &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index f7535ec..3728576 100644 (file)
@@ -35,7 +35,7 @@ then go ahead and use this programmatically.</p>
 
 <p><a href="../files/package.json.html">package.json(5)</a></p>
 </div>
-<p id="footer">npm-init &mdash; npm@1.3.21</p>
+<p id="footer">npm-init &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index b51c038..a7f15be 100644 (file)
@@ -25,7 +25,7 @@ the name of a package to be installed.</p>
 <p>Finally, &#39;callback&#39; 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">npm-install &mdash; npm@1.3.21</p>
+<p id="footer">npm-install &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 94f5731..7ab3db3 100644 (file)
@@ -39,7 +39,7 @@ npm.commands.link(&#39;redis&#39;, 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">npm-link &mdash; npm@1.3.21</p>
+<p id="footer">npm-link &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 7a82203..ddc84ce 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">npm-load &mdash; npm@1.3.21</p>
+<p id="footer">npm-load &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 0f48e38..aa2ed6a 100644 (file)
@@ -59,7 +59,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">npm-ls &mdash; npm@1.3.21</p>
+<p id="footer">npm-ls &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 9de777c..0f80a9f 100644 (file)
@@ -19,7 +19,7 @@ currently outdated.</p>
 
 <p>If the &#39;packages&#39; parameter is left out, npm will check all packages.</p>
 </div>
-<p id="footer">npm-outdated &mdash; npm@1.3.21</p>
+<p id="footer">npm-outdated &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 873de5e..274dab5 100644 (file)
@@ -34,7 +34,7 @@ that is not implemented at this time.</p>
 
 <ul><li><a href="../api/npm-publish.html">npm-publish(3)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li></ul>
 </div>
-<p id="footer">npm-owner &mdash; npm@1.3.21</p>
+<p id="footer">npm-owner &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 961c4ca..967108a 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">npm-pack &mdash; npm@1.3.21</p>
+<p id="footer">npm-pack &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 39926ab..076d46b 100644 (file)
@@ -21,7 +21,7 @@
 
 <p>This function is not useful programmatically</p>
 </div>
-<p id="footer">npm-prefix &mdash; npm@1.3.21</p>
+<p id="footer">npm-prefix &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 8a433c2..d18704c 100644 (file)
@@ -23,7 +23,7 @@
 <p>Extraneous packages are packages that are not listed on the parent
 package&#39;s dependencies list.</p>
 </div>
-<p id="footer">npm-prune &mdash; npm@1.3.21</p>
+<p id="footer">npm-prune &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 97b9e5e..1414471 100644 (file)
@@ -32,7 +32,7 @@ the registry.  Overwrites when the &quot;force&quot; environment variable is set
 
 <ul><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li><li><a href="../api/npm-owner.html">npm-owner(3)</a></li></ul>
 </div>
-<p id="footer">npm-publish &mdash; npm@1.3.21</p>
+<p id="footer">npm-publish &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 55122b6..784099c 100644 (file)
@@ -22,7 +22,7 @@ the new binary. If no &#39;packages&#39; parameter is specify, every package wil
 
 <p>See <code>npm help build</code></p>
 </div>
-<p id="footer">npm-rebuild &mdash; npm@1.3.21</p>
+<p id="footer">npm-rebuild &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 89decc6..1fef97a 100644 (file)
@@ -27,7 +27,7 @@ in the <code>packages</code> parameter.</p>
 
 <ul><li><a href="../api/npm-start.html">npm-start(3)</a></li><li><a href="../api/npm-stop.html">npm-stop(3)</a></li></ul>
 </div>
-<p id="footer">npm-restart &mdash; npm@1.3.21</p>
+<p id="footer">npm-restart &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index d2a0686..5cd7f6f 100644 (file)
@@ -21,7 +21,7 @@
 
 <p>This function is not useful programmatically.</p>
 </div>
-<p id="footer">npm-root &mdash; npm@1.3.21</p>
+<p id="footer">npm-root &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index d84f8a7..6ec6d97 100644 (file)
@@ -29,7 +29,7 @@ assumed to be the command to run. All other elements are ignored.</p>
 
 <ul><li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li><li><a href="../api/npm-test.html">npm-test(3)</a></li><li><a href="../api/npm-start.html">npm-start(3)</a></li><li><a href="../api/npm-restart.html">npm-restart(3)</a></li><li><a href="../api/npm-stop.html">npm-stop(3)</a></li></ul>
 </div>
-<p id="footer">npm-run-script &mdash; npm@1.3.21</p>
+<p id="footer">npm-run-script &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index ed4b2d7..ead8293 100644 (file)
@@ -32,7 +32,7 @@ excluded term (the &quot;searchexclude&quot; config). The search is case insensi
 and doesn&#39;t try to read your mind (it doesn&#39;t do any verb tense matching or the
 like).</p>
 </div>
-<p id="footer">npm-search &mdash; npm@1.3.21</p>
+<p id="footer">npm-search &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 1582f04..fc397f8 100644 (file)
@@ -26,7 +26,7 @@ but the shrinkwrap file will still be written.</p>
 <p>Finally, &#39;callback&#39; is a function that will be called when the shrinkwrap has
 been saved.</p>
 </div>
-<p id="footer">npm-shrinkwrap &mdash; npm@1.3.21</p>
+<p id="footer">npm-shrinkwrap &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index e9a2050..11fad5a 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">npm-start &mdash; npm@1.3.21</p>
+<p id="footer">npm-start &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 2425ecb..4f34435 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">npm-stop &mdash; npm@1.3.21</p>
+<p id="footer">npm-stop &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index b62cdd4..ef08dd4 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">npm-submodule &mdash; npm@1.3.21</p>
+<p id="footer">npm-submodule &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 515143c..4ea5bda 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">npm-tag &mdash; npm@1.3.21</p>
+<p id="footer">npm-tag &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 2eee2bc..71a9f08 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">npm-test &mdash; npm@1.3.21</p>
+<p id="footer">npm-test &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 5761145..26ca4dd 100644 (file)
@@ -22,7 +22,7 @@ the name of a package to be uninstalled.</p>
 <p>Finally, &#39;callback&#39; 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">npm-uninstall &mdash; npm@1.3.21</p>
+<p id="footer">npm-uninstall &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index f63c662..c267b78 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">npm-unpublish &mdash; npm@1.3.21</p>
+<p id="footer">npm-unpublish &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 12e07c5..0524ebf 100644 (file)
@@ -18,7 +18,7 @@
 
 <p>The &#39;packages&#39; argument is an array of packages to update. The &#39;callback&#39; parameter will be called when done or when an error occurs.</p>
 </div>
-<p id="footer">npm-update &mdash; npm@1.3.21</p>
+<p id="footer">npm-update &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index eab10be..5d0641d 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">npm-version &mdash; npm@1.3.21</p>
+<p id="footer">npm-version &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 14f803e..17734b7 100644 (file)
@@ -99,7 +99,7 @@ the field name.</p>
 
 <p>corresponding to the list of fields selected.</p>
 </div>
-<p id="footer">npm-view &mdash; npm@1.3.21</p>
+<p id="footer">npm-view &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 5c106bf..f0b04aa 100644 (file)
@@ -21,7 +21,7 @@
 
 <p>This function is not useful programmatically</p>
 </div>
-<p id="footer">npm-whoami &mdash; npm@1.3.21</p>
+<p id="footer">npm-whoami &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 5e8e06b..c3b54a8 100644 (file)
@@ -24,7 +24,7 @@ npm.load([configObject], function (er, npm) {
 
 <h2 id="VERSION">VERSION</h2>
 
-<p>1.3.21</p>
+<p>1.3.22</p>
 
 <h2 id="DESCRIPTION">DESCRIPTION</h2>
 
@@ -92,7 +92,7 @@ method names.  Use the <code>npm.deref</code> method to find the real name.</p>
 
 <pre><code>var cmd = npm.deref(&quot;unp&quot;) // cmd === &quot;unpublish&quot;</code></pre>
 </div>
-<p id="footer">npm &mdash; npm@1.3.21</p>
+<p id="footer">npm &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index babe85a..9cfe0d3 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">repo &mdash; npm@1.3.21</p>
+<p id="footer">repo &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 1086726..d4581a7 100644 (file)
@@ -22,7 +22,7 @@ save the credentials to the <code>.npmrc</code> file.</p>
 <p>You may use this command to change your email address, but not username
 or password.</p>
 
-<p>To reset your password, go to <a href="http://admin.npmjs.org/">http://admin.npmjs.org/</a></p>
+<p>To reset your password, go to <a href="https://npmjs.org/forgot">https://npmjs.org/forgot</a></p>
 
 <p>You may use this command multiple times with the same user account to
 authorize on a new machine.</p>
@@ -39,7 +39,7 @@ authorize on a new machine.</p>
 
 <ul><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../cli/npm-owner.html">npm-owner(1)</a></li><li><a href="../cli/npm-whoami.html">npm-whoami(1)</a></li></ul>
 </div>
-<p id="footer">npm-adduser &mdash; npm@1.3.21</p>
+<p id="footer">npm-adduser &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 86887c0..52da0b9 100644 (file)
@@ -20,7 +20,7 @@
 
 <ul><li><a href="../cli/npm-prefix.html">npm-prefix(1)</a></li><li><a href="../cli/npm-root.html">npm-root(1)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li></ul>
 </div>
-<p id="footer">npm-bin &mdash; npm@1.3.21</p>
+<p id="footer">npm-bin &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index befe885..a1f8592 100644 (file)
 
 <h2 id="SYNOPSIS">SYNOPSIS</h2>
 
-<pre><code>npm bugs &lt;pkgname&gt;</code></pre>
+<pre><code>npm bugs &lt;pkgname&gt;
+npm bugs (with no args in a package dir)</code></pre>
 
 <h2 id="DESCRIPTION">DESCRIPTION</h2>
 
 <p>This command tries to guess at the likely location of a package&#39;s
 bug tracker URL, and then tries to open it using the <code>--browser</code>
-config param.</p>
+config param. If no package name is provided, it will search for
+a <code>package.json</code> in the current folder and use the <code>name</code> property.</p>
 
 <h2 id="CONFIGURATION">CONFIGURATION</h2>
 
@@ -36,7 +38,7 @@ config param.</p>
 
 <ul><li><a href="../cli/npm-docs.html">npm-docs(1)</a></li><li><a href="../cli/npm-view.html">npm-view(1)</a></li><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../files/package.json.html">package.json(5)</a></li></ul>
 </div>
-<p id="footer">npm-bugs &mdash; npm@1.3.21</p>
+<p id="footer">npm-bugs &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 902ea11..2cd9e00 100644 (file)
@@ -25,7 +25,7 @@ A folder containing a <code>package.json</code> file in its root.</li></ul>
 
 <ul><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../cli/npm-link.html">npm-link(1)</a></li><li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li><li><a href="../files/package.json.html">package.json(5)</a></li></ul>
 </div>
-<p id="footer">npm-build &mdash; npm@1.3.21</p>
+<p id="footer">npm-build &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index b1977a1..c630d3a 100644 (file)
@@ -20,7 +20,7 @@ install packages into the local space.</p>
 
 <ul><li><a href="../cli/npm-install.html">npm-install(1)</a></li></ul>
 </div>
-<p id="footer">npm-bundle &mdash; npm@1.3.21</p>
+<p id="footer">npm-bundle &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index af76b1d..7b7395e 100644 (file)
@@ -66,7 +66,7 @@ they do not make an HTTP request to the registry.</p>
 
 <ul><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../cli/npm-pack.html">npm-pack(1)</a></li></ul>
 </div>
-<p id="footer">npm-cache &mdash; npm@1.3.21</p>
+<p id="footer">npm-cache &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index b3531a1..18a3e62 100644 (file)
@@ -33,7 +33,7 @@ completions based on the arguments.</p>
 
 <ul><li><a href="../misc/npm-developers.html">npm-developers(7)</a></li><li><a href="../misc/npm-faq.html">npm-faq(7)</a></li><li><a href="../cli/npm.html">npm(1)</a></li></ul>
 </div>
-<p id="footer">npm-completion &mdash; npm@1.3.21</p>
+<p id="footer">npm-completion &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index d95f4fc..d698b82 100644 (file)
@@ -73,7 +73,7 @@ global config.</p>
 
 <ul><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/package.json.html">package.json(5)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../cli/npm.html">npm(1)</a></li></ul>
 </div>
-<p id="footer">npm-config &mdash; npm@1.3.21</p>
+<p id="footer">npm-config &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 176ed69..337943f 100644 (file)
@@ -62,7 +62,7 @@ versions.</p>
 
 <ul><li><a href="../cli/npm-ls.html">npm-ls(1)</a></li><li><a href="../cli/npm-update.html">npm-update(1)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li></ul>
 </div>
-<p id="footer">npm-dedupe &mdash; npm@1.3.21</p>
+<p id="footer">npm-dedupe &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 9e9ce1a..3774706 100644 (file)
@@ -31,7 +31,7 @@ something like this:</p>
 
 <ul><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li></ul>
 </div>
-<p id="footer">npm-deprecate &mdash; npm@1.3.21</p>
+<p id="footer">npm-deprecate &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 36dbead..9d2f367 100644 (file)
 <h2 id="SYNOPSIS">SYNOPSIS</h2>
 
 <pre><code>npm docs &lt;pkgname&gt;
-npm home &lt;pkgname&gt;</code></pre>
+npm docs (with no args in a package dir)
+npm home &lt;pkgname&gt;
+npm home (with no args in a package dir)</code></pre>
 
 <h2 id="DESCRIPTION">DESCRIPTION</h2>
 
 <p>This command tries to guess at the likely location of a package&#39;s
 documentation URL, and then tries to open it using the <code>--browser</code>
-config param.</p>
+config param. If no package name is provided, it will search for
+a <code>package.json</code> in the current folder and use the <code>name</code> property.</p>
 
 <h2 id="CONFIGURATION">CONFIGURATION</h2>
 
@@ -37,7 +40,7 @@ config param.</p>
 
 <ul><li><a href="../cli/npm-view.html">npm-view(1)</a></li><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../files/package.json.html">package.json(5)</a></li></ul>
 </div>
-<p id="footer">npm-docs &mdash; npm@1.3.21</p>
+<p id="footer">npm-docs &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index a83363d..690be28 100644 (file)
@@ -37,7 +37,7 @@ or <code>&quot;notepad&quot;</code> on Windows.</li><li>Type: path</li></ul>
 
 <ul><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-explore.html">npm-explore(1)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li></ul>
 </div>
-<p id="footer">npm-edit &mdash; npm@1.3.21</p>
+<p id="footer">npm-edit &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 2a5a764..f2fa481 100644 (file)
@@ -40,7 +40,7 @@ Windows</li><li>Type: path</li></ul>
 
 <ul><li><a href="../cli/npm-submodule.html">npm-submodule(1)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-edit.html">npm-edit(1)</a></li><li><a href="../cli/npm-rebuild.html">npm-rebuild(1)</a></li><li><a href="../cli/npm-build.html">npm-build(1)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li></ul>
 </div>
-<p id="footer">npm-explore &mdash; npm@1.3.21</p>
+<p id="footer">npm-explore &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index aed6779..d8a9a06 100644 (file)
@@ -38,7 +38,7 @@ where the terms were found in the documentation.</p>
 
 <ul><li><a href="../cli/npm.html">npm(1)</a></li><li><a href="../misc/npm-faq.html">npm-faq(7)</a></li><li><a href="../cli/npm-help.html">npm-help(1)</a></li></ul>
 </div>
-<p id="footer">npm-help-search &mdash; npm@1.3.21</p>
+<p id="footer">npm-help-search &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index a290ef0..ef62a91 100644 (file)
@@ -36,7 +36,7 @@ matches are equivalent to specifying a topic name.</p>
 
 <ul><li><a href="../cli/npm.html">npm(1)</a></li><li><a href="../../doc/README.html">README</a></li><li><a href="../misc/npm-faq.html">npm-faq(7)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../files/package.json.html">package.json(5)</a></li><li><a href="../cli/npm-help-search.html">npm-help-search(1)</a></li><li><a href="../misc/npm-index.html">npm-index(7)</a></li></ul>
 </div>
-<p id="footer">npm-help &mdash; npm@1.3.21</p>
+<p id="footer">npm-help &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index bab16e4..eea88dd 100644 (file)
@@ -29,7 +29,7 @@ without a really good reason to do so.</p>
 
 <ul><li><a href="https://github.com/isaacs/init-package-json">https://github.com/isaacs/init-package-json</a></li><li><a href="../files/package.json.html">package.json(5)</a></li><li><a href="../cli/npm-version.html">npm-version(1)</a></li></ul>
 </div>
-<p id="footer">npm-init &mdash; npm@1.3.21</p>
+<p id="footer">npm-init &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index d0211af..94f039d 100644 (file)
@@ -149,7 +149,7 @@ affects a real use-case, it will be investigated.</p>
 
 <ul><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-update.html">npm-update(1)</a></li><li><a href="../cli/npm-link.html">npm-link(1)</a></li><li><a href="../cli/npm-rebuild.html">npm-rebuild(1)</a></li><li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li><li><a href="../cli/npm-build.html">npm-build(1)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-tag.html">npm-tag(1)</a></li><li><a href="../cli/npm-rm.html">npm-rm(1)</a></li><li><a href="../cli/npm-shrinkwrap.html">npm-shrinkwrap(1)</a></li></ul>
 </div>
-<p id="footer">npm-install &mdash; npm@1.3.21</p>
+<p id="footer">npm-install &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index f0a080c..027dacd 100644 (file)
@@ -62,7 +62,7 @@ installation target into your project&#39;s <code>node_modules</code> folder.</p
 
 <ul><li><a href="../misc/npm-developers.html">npm-developers(7)</a></li><li><a href="../misc/npm-faq.html">npm-faq(7)</a></li><li><a href="../files/package.json.html">package.json(5)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li></ul>
 </div>
-<p id="footer">npm-link &mdash; npm@1.3.21</p>
+<p id="footer">npm-link &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index b87fe69..b237bcb 100644 (file)
@@ -25,7 +25,7 @@ limit the results to only the paths to the packages named.  Note that
 nested packages will <em>also</em> show the paths to the specified packages.
 For example, running <code>npm ls promzard</code> in npm&#39;s source tree will show:</p>
 
-<pre><code>npm@1.3.21 /path/to/npm
+<pre><code>npm@1.3.22 /path/to/npm
 └─┬ init-package-json@0.0.4
   └── promzard@0.1.5</code></pre>
 
@@ -68,7 +68,7 @@ project.</p>
 
 <ul><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../cli/npm-link.html">npm-link(1)</a></li><li><a href="../cli/npm-prune.html">npm-prune(1)</a></li><li><a href="../cli/npm-outdated.html">npm-outdated(1)</a></li><li><a href="../cli/npm-update.html">npm-update(1)</a></li></ul>
 </div>
-<p id="footer">npm-ls &mdash; npm@1.3.21</p>
+<p id="footer">npm-ls &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 24f6ba9..d4793e5 100644 (file)
@@ -25,7 +25,7 @@ version of the package.</p>
 
 <ul><li><a href="../cli/npm-update.html">npm-update(1)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li></ul>
 </div>
-<p id="footer">npm-outdated &mdash; npm@1.3.21</p>
+<p id="footer">npm-outdated &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 66696c3..8ab39b0 100644 (file)
@@ -34,7 +34,7 @@ that is not implemented at this time.</p>
 
 <ul><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li><li><a href="../misc/npm-disputes.html">npm-disputes(7)</a></li></ul>
 </div>
-<p id="footer">npm-owner &mdash; npm@1.3.21</p>
+<p id="footer">npm-owner &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 57817c2..f0a988e 100644 (file)
@@ -29,7 +29,7 @@ overwritten the second time.</p>
 
 <ul><li><a href="../cli/npm-cache.html">npm-cache(1)</a></li><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li></ul>
 </div>
-<p id="footer">npm-pack &mdash; npm@1.3.21</p>
+<p id="footer">npm-pack &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 4ba33d9..a96b820 100644 (file)
@@ -20,7 +20,7 @@
 
 <ul><li><a href="../cli/npm-root.html">npm-root(1)</a></li><li><a href="../cli/npm-bin.html">npm-bin(1)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li></ul>
 </div>
-<p id="footer">npm-prefix &mdash; npm@1.3.21</p>
+<p id="footer">npm-prefix &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 04c20ec..b143d94 100644 (file)
@@ -29,7 +29,7 @@ packages specified in your <code>devDependencies</code>.</p>
 
 <ul><li><a href="../cli/npm-rm.html">npm-rm(1)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-ls.html">npm-ls(1)</a></li></ul>
 </div>
-<p id="footer">npm-prune &mdash; npm@1.3.21</p>
+<p id="footer">npm-prune &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 3929936..ed84584 100644 (file)
@@ -29,7 +29,7 @@ the registry.  Overwrites when the &quot;--force&quot; flag is set.</p>
 
 <ul><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li><li><a href="../cli/npm-owner.html">npm-owner(1)</a></li><li><a href="../cli/npm-deprecate.html">npm-deprecate(1)</a></li><li><a href="../cli/npm-tag.html">npm-tag(1)</a></li></ul>
 </div>
-<p id="footer">npm-publish &mdash; npm@1.3.21</p>
+<p id="footer">npm-publish &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 53d8cdc..ef1c5ad 100644 (file)
@@ -26,7 +26,7 @@ the new binary.</p>
 
 <ul><li><a href="../cli/npm-build.html">npm-build(1)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li></ul>
 </div>
-<p id="footer">npm-rebuild &mdash; npm@1.3.21</p>
+<p id="footer">npm-rebuild &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index b3c22b2..05fd315 100644 (file)
@@ -24,7 +24,7 @@ the &quot;start&quot; script.</p>
 
 <ul><li><a href="../cli/npm-run-script.html">npm-run-script(1)</a></li><li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li><li><a href="../cli/npm-test.html">npm-test(1)</a></li><li><a href="../cli/npm-start.html">npm-start(1)</a></li><li><a href="../cli/npm-stop.html">npm-stop(1)</a></li></ul>
 </div>
-<p id="footer">npm-restart &mdash; npm@1.3.21</p>
+<p id="footer">npm-restart &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 4cfa12c..497c375 100644 (file)
@@ -24,7 +24,7 @@ on its behalf.</p>
 
 <ul><li><a href="../cli/npm-prune.html">npm-prune(1)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li></ul>
 </div>
-<p id="footer">npm-rm &mdash; npm@1.3.21</p>
+<p id="footer">npm-rm &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 52b059c..88a09ca 100644 (file)
@@ -20,7 +20,7 @@
 
 <ul><li><a href="../cli/npm-prefix.html">npm-prefix(1)</a></li><li><a href="../cli/npm-bin.html">npm-bin(1)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li></ul>
 </div>
-<p id="footer">npm-root &mdash; npm@1.3.21</p>
+<p id="footer">npm-root &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index d0de10f..ef7002a 100644 (file)
@@ -23,7 +23,7 @@ called directly, as well.</p>
 
 <ul><li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li><li><a href="../cli/npm-test.html">npm-test(1)</a></li><li><a href="../cli/npm-start.html">npm-start(1)</a></li><li><a href="../cli/npm-restart.html">npm-restart(1)</a></li><li><a href="../cli/npm-stop.html">npm-stop(1)</a></li></ul>
 </div>
-<p id="footer">npm-run-script &mdash; npm@1.3.21</p>
+<p id="footer">npm-run-script &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 67198ca..e4095e0 100644 (file)
@@ -26,7 +26,7 @@ expression characters must be escaped or quoted in most shells.)</p>
 
 <ul><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../cli/npm-view.html">npm-view(1)</a></li></ul>
 </div>
-<p id="footer">npm-search &mdash; npm@1.3.21</p>
+<p id="footer">npm-search &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 874d632..5e2fab6 100644 (file)
@@ -183,7 +183,7 @@ contents rather than versions.</p>
 
 <ul><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../files/package.json.html">package.json(5)</a></li><li><a href="../cli/npm-ls.html">npm-ls(1)</a></li></ul>
 </div>
-<p id="footer">npm-shrinkwrap &mdash; npm@1.3.21</p>
+<p id="footer">npm-shrinkwrap &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 395b415..ee715a4 100644 (file)
@@ -26,7 +26,7 @@ a vaguely positive way to show that you care.</p>
 
 <ul><li><a href="../cli/npm-view.html">npm-view(1)</a></li><li><a href="../cli/npm-whoami.html">npm-whoami(1)</a></li><li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li></ul>
 </div>
-<p id="footer">npm-star &mdash; npm@1.3.21</p>
+<p id="footer">npm-star &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 1bb6c5a..f67978d 100644 (file)
@@ -25,7 +25,7 @@ you will most certainly enjoy this command.</p>
 
 <ul><li><a href="../cli/npm-star.html">npm-star(1)</a></li><li><a href="../cli/npm-view.html">npm-view(1)</a></li><li><a href="../cli/npm-whoami.html">npm-whoami(1)</a></li><li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li></ul>
 </div>
-<p id="footer">npm-stars &mdash; npm@1.3.21</p>
+<p id="footer">npm-stars &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index a5ff194..c3cc246 100644 (file)
@@ -20,7 +20,7 @@
 
 <ul><li><a href="../cli/npm-run-script.html">npm-run-script(1)</a></li><li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li><li><a href="../cli/npm-test.html">npm-test(1)</a></li><li><a href="../cli/npm-restart.html">npm-restart(1)</a></li><li><a href="../cli/npm-stop.html">npm-stop(1)</a></li></ul>
 </div>
-<p id="footer">npm-start &mdash; npm@1.3.21</p>
+<p id="footer">npm-start &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 2fb0ae4..c81cfee 100644 (file)
@@ -20,7 +20,7 @@
 
 <ul><li><a href="../cli/npm-run-script.html">npm-run-script(1)</a></li><li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li><li><a href="../cli/npm-test.html">npm-test(1)</a></li><li><a href="../cli/npm-start.html">npm-start(1)</a></li><li><a href="../cli/npm-restart.html">npm-restart(1)</a></li></ul>
 </div>
-<p id="footer">npm-stop &mdash; npm@1.3.21</p>
+<p id="footer">npm-stop &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index ad9ce9e..8e0e647 100644 (file)
@@ -33,7 +33,7 @@ dependencies into the submodule folder.</p>
 
 <ul><li><a href="../files/package.json.html">package.json(5)</a></li><li>git help submodule</li></ul>
 </div>
-<p id="footer">npm-submodule &mdash; npm@1.3.21</p>
+<p id="footer">npm-submodule &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 1310300..27a95bd 100644 (file)
@@ -34,7 +34,7 @@ of using a specific version number:</p>
 
 <ul><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../cli/npm-dedupe.html">npm-dedupe(1)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li></ul>
 </div>
-<p id="footer">npm-tag &mdash; npm@1.3.21</p>
+<p id="footer">npm-tag &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 59238cb..55cb3f2 100644 (file)
@@ -24,7 +24,7 @@ true.</p>
 
 <ul><li><a href="../cli/npm-run-script.html">npm-run-script(1)</a></li><li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li><li><a href="../cli/npm-start.html">npm-start(1)</a></li><li><a href="../cli/npm-restart.html">npm-restart(1)</a></li><li><a href="../cli/npm-stop.html">npm-stop(1)</a></li></ul>
 </div>
-<p id="footer">npm-test &mdash; npm@1.3.21</p>
+<p id="footer">npm-test &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 1c4ccde..c672b4c 100644 (file)
@@ -22,7 +22,7 @@ on its behalf.</p>
 
 <ul><li><a href="../cli/npm-prune.html">npm-prune(1)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li></ul>
 </div>
-<p id="footer">npm-uninstall &mdash; npm@1.3.21</p>
+<p id="footer">npm-uninstall &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index ffc63f2..efa41ed 100644 (file)
@@ -34,7 +34,7 @@ the root package entry is removed from the registry entirely.</p>
 
 <ul><li><a href="../cli/npm-deprecate.html">npm-deprecate(1)</a></li><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li><li><a href="../cli/npm-owner.html">npm-owner(1)</a></li></ul>
 </div>
-<p id="footer">npm-unpublish &mdash; npm@1.3.21</p>
+<p id="footer">npm-unpublish &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 6b994e8..b631a28 100644 (file)
@@ -26,7 +26,7 @@ If no package name is specified, all packages in the specified location (global
 
 <ul><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../cli/npm-outdated.html">npm-outdated(1)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-ls.html">npm-ls(1)</a></li></ul>
 </div>
-<p id="footer">npm-update &mdash; npm@1.3.21</p>
+<p id="footer">npm-update &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 37d0335..3b6f383 100644 (file)
@@ -49,7 +49,7 @@ Enter passphrase:</code></pre>
 
 <ul><li><a href="../cli/npm-init.html">npm-init(1)</a></li><li><a href="../files/package.json.html">package.json(5)</a></li><li><a href="../misc/semver.html">semver(7)</a></li></ul>
 </div>
-<p id="footer">npm-version &mdash; npm@1.3.21</p>
+<p id="footer">npm-version &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index a465760..f06b672 100644 (file)
@@ -91,7 +91,7 @@ the field name.</p>
 
 <ul><li><a href="../cli/npm-search.html">npm-search(1)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../cli/npm-docs.html">npm-docs(1)</a></li></ul>
 </div>
-<p id="footer">npm-view &mdash; npm@1.3.21</p>
+<p id="footer">npm-view &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index ca6722a..62171ea 100644 (file)
@@ -20,7 +20,7 @@
 
 <ul><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li></ul>
 </div>
-<p id="footer">npm-whoami &mdash; npm@1.3.21</p>
+<p id="footer">npm-whoami &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 0ec9e16..e4caa79 100644 (file)
@@ -14,7 +14,7 @@
 
 <h2 id="VERSION">VERSION</h2>
 
-<p>1.3.21</p>
+<p>1.3.22</p>
 
 <h2 id="DESCRIPTION">DESCRIPTION</h2>
 
@@ -131,7 +131,7 @@ will no doubt tell you to put the output in a gist or email.</p>
 
 <ul><li><a href="../cli/npm-help.html">npm-help(1)</a></li><li><a href="../misc/npm-faq.html">npm-faq(7)</a></li><li><a href="../../doc/README.html">README</a></li><li><a href="../files/package.json.html">package.json(5)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../misc/npm-index.html">npm-index(7)</a></li><li><a href="../api/npm.html">npm(3)</a></li></ul>
 </div>
-<p id="footer">npm &mdash; npm@1.3.21</p>
+<p id="footer">npm &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 430de29..e6d4b91 100644 (file)
@@ -18,8 +18,7 @@ npm repo (with no args in a package dir)</code></pre>
 <p>This command tries to guess at the likely location of a package&#39;s
 repository URL, and then tries to open it using the <code>--browser</code>
 config param. If no package name is provided, it will search for
-a <code>package.json</code> in the current folder and try to use the property
-of the name field.</p>
+a <code>package.json</code> in the current folder and use the <code>name</code> property.</p>
 
 <h2 id="CONFIGURATION">CONFIGURATION</h2>
 
@@ -33,7 +32,7 @@ of the name field.</p>
 
 <ul><li><a href="../cli/npm-docs.html">npm-docs(1)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li></ul>
 </div>
-<p id="footer">repo &mdash; npm@1.3.21</p>
+<p id="footer">repo &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 053f6dc..e36eabf 100644 (file)
@@ -205,7 +205,7 @@ cannot be found elsewhere.  See <code><a href="../files/package.json.html">packa
 
 <ul><li><a href="../misc/npm-faq.html">npm-faq(7)</a></li><li><a href="../files/package.json.html">package.json(5)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../cli/npm-pack.html">npm-pack(1)</a></li><li><a href="../cli/npm-cache.html">npm-cache(1)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li></ul>
 </div>
-<p id="footer">npm-folders &mdash; npm@1.3.21</p>
+<p id="footer">npm-folders &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 053f6dc..e36eabf 100644 (file)
@@ -205,7 +205,7 @@ cannot be found elsewhere.  See <code><a href="../files/package.json.html">packa
 
 <ul><li><a href="../misc/npm-faq.html">npm-faq(7)</a></li><li><a href="../files/package.json.html">package.json(5)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../cli/npm-pack.html">npm-pack(1)</a></li><li><a href="../cli/npm-cache.html">npm-cache(1)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li></ul>
 </div>
-<p id="footer">npm-folders &mdash; npm@1.3.21</p>
+<p id="footer">npm-folders &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 39356d5..af6a67b 100644 (file)
@@ -555,7 +555,7 @@ overridden.</p>
 
 <ul><li><a href="../misc/semver.html">semver(7)</a></li><li><a href="../cli/npm-init.html">npm-init(1)</a></li><li><a href="../cli/npm-version.html">npm-version(1)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../cli/npm-help.html">npm-help(1)</a></li><li><a href="../misc/npm-faq.html">npm-faq(7)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../cli/npm-rm.html">npm-rm(1)</a></li></ul>
 </div>
-<p id="footer">package.json &mdash; npm@1.3.21</p>
+<p id="footer">package.json &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 00d9e54..866c9b9 100644 (file)
@@ -59,7 +59,7 @@ manner.</p>
 
 <ul><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/package.json.html">package.json(5)</a></li><li><a href="../cli/npm.html">npm(1)</a></li></ul>
 </div>
-<p id="footer">npmrc &mdash; npm@1.3.21</p>
+<p id="footer">npmrc &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 39356d5..af6a67b 100644 (file)
@@ -555,7 +555,7 @@ overridden.</p>
 
 <ul><li><a href="../misc/semver.html">semver(7)</a></li><li><a href="../cli/npm-init.html">npm-init(1)</a></li><li><a href="../cli/npm-version.html">npm-version(1)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../cli/npm-help.html">npm-help(1)</a></li><li><a href="../misc/npm-faq.html">npm-faq(7)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../cli/npm-rm.html">npm-rm(1)</a></li></ul>
 </div>
-<p id="footer">package.json &mdash; npm@1.3.21</p>
+<p id="footer">package.json &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 0ab1ef3..312aeb3 100644 (file)
 
 <p>The semantic versioner for npm</p>
 </div>
-<p id="footer">npm-index &mdash; npm@1.3.21</p>
+<p id="footer">npm-index &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 74f26c7..305cf76 100644 (file)
@@ -182,7 +182,7 @@ set to anything.&quot;</p>
 
 <ul><li><a href="../misc/npm-developers.html">npm-developers(7)</a></li><li><a href="../misc/npm-faq.html">npm-faq(7)</a></li><li><a href="../cli/npm.html">npm(1)</a></li></ul>
 </div>
-<p id="footer">npm-coding-style &mdash; npm@1.3.21</p>
+<p id="footer">npm-coding-style &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 2e42181..c994448 100644 (file)
@@ -710,7 +710,7 @@ hash, and exit successfully.</p>
 
 <ul><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm.html">npm(1)</a></li></ul>
 </div>
-<p id="footer">npm-config &mdash; npm@1.3.21</p>
+<p id="footer">npm-config &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index c524618..98e7cc4 100644 (file)
@@ -174,7 +174,7 @@ from a fresh checkout.</p>
 
 <ul><li><a href="../misc/npm-faq.html">npm-faq(7)</a></li><li><a href="../cli/npm.html">npm(1)</a></li><li><a href="../cli/npm-init.html">npm-init(1)</a></li><li><a href="../files/package.json.html">package.json(5)</a></li><li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li></ul>
 </div>
-<p id="footer">npm-developers &mdash; npm@1.3.21</p>
+<p id="footer">npm-developers &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 404a4f9..cadfef3 100644 (file)
@@ -91,7 +91,7 @@ things into it.</li></ol>
 
 <ul><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../cli/npm-owner.html">npm-owner(1)</a></li></ul>
 </div>
-<p id="footer">npm-disputes &mdash; npm@1.3.21</p>
+<p id="footer">npm-disputes &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index d560104..c7cb60d 100644 (file)
@@ -340,7 +340,7 @@ There is not sufficient need to impose namespace rules on everyone.</p>
 
 <ul><li><a href="../cli/npm.html">npm(1)</a></li><li><a href="../misc/npm-developers.html">npm-developers(7)</a></li><li><a href="../files/package.json.html">package.json(5)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li></ul>
 </div>
-<p id="footer">npm-faq &mdash; npm@1.3.21</p>
+<p id="footer">npm-faq &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 91dbdae..b8a18a4 100644 (file)
 
 <p>The semantic versioner for npm</p>
 </div>
-<p id="footer">npm-index &mdash; npm@1.3.21</p>
+<p id="footer">npm-index &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 0c06141..11ec9cc 100644 (file)
@@ -71,7 +71,7 @@ effectively implement the entire CouchDB API anyway.</p>
 
 <ul><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../misc/npm-developers.html">npm-developers(7)</a></li><li><a href="../misc/npm-disputes.html">npm-disputes(7)</a></li></ul>
 </div>
-<p id="footer">npm-registry &mdash; npm@1.3.21</p>
+<p id="footer">npm-registry &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index 279b2bd..fca538f 100644 (file)
@@ -223,7 +223,7 @@ the user will sudo the npm command in question.</li></ul>
 
 <ul><li><a href="../cli/npm-run-script.html">npm-run-script(1)</a></li><li><a href="../files/package.json.html">package.json(5)</a></li><li><a href="../misc/npm-developers.html">npm-developers(7)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li></ul>
 </div>
-<p id="footer">npm-scripts &mdash; npm@1.3.21</p>
+<p id="footer">npm-scripts &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index f85e62e..7d85e11 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="../cli/npm-rm.html">npm-rm(1)</a></li><li><a href="../cli/npm-prune.html">npm-prune(1)</a></li></ul>
 </div>
-<p id="footer">removing-npm &mdash; npm@1.3.21</p>
+<p id="footer">removing-npm &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index ff81315..14c5d75 100644 (file)
@@ -94,7 +94,7 @@ in descending order when passed to Array.sort().</li></ul>
 range.</li><li>maxSatisfying(versions, range): Return the highest version in the list
 that satisfies the range, or null if none of them do.</li></ul>
 </div>
-<p id="footer">semver &mdash; npm@1.3.21</p>
+<p id="footer">semver &mdash; npm@1.3.22</p>
 <script>
 ;(function () {
 var wrapper = document.getElementById("wrapper")
index a5b9321..f0a5855 100644 (file)
@@ -18,9 +18,9 @@ function adduser (args, cb) {
   if (!crypto) return cb(new Error(
     "You must compile node with ssl support to use the adduser feature"))
 
-  var c = { u : npm.config.get("username")
-          , p : npm.config.get("_password")
-          , e : npm.config.get("email")
+  var c = { u : npm.config.get("username") || ""
+          , p : npm.config.get("_password") || ""
+          , e : npm.config.get("email") || ""
           }
     , changed = false
     , u = {}
index bcbf2be..604748a 100644 (file)
@@ -7,6 +7,9 @@ var npm = require("./npm.js")
   , registry = npm.registry
   , log = require("npmlog")
   , opener = require("opener")
+  , path = require("path")
+  , readJson = require("read-package-json")
+  , fs = require("fs")
 
 bugs.completion = function (opts, cb) {
   if (opts.conf.argv.remain.length > 2) return cb()
@@ -16,28 +19,43 @@ bugs.completion = function (opts, cb) {
 }
 
 function bugs (args, cb) {
-  if (!args.length) return cb(bugs.usage)
-  var n = args[0].split("@").shift()
+  var n = args.length && args[0].split("@").shift() || '.'
+  fs.stat(n, function (er, s) {
+    if (er && er.code === "ENOENT") return callRegistry(n, cb)
+    else if (er) return cb (er)
+    if (!s.isDirectory()) return callRegistry(n, cb)
+    readJson(path.resolve(n, "package.json"), function(er, d) {
+      if (er) return cb(err)
+      getUrlAndOpen(d, cb)
+    })
+  })
+}
+
+function getUrlAndOpen (d, cb) {
+  var bugs = d.bugs
+    , repo = d.repository || d.repositories
+    , url
+  if (bugs) {
+    url = (typeof url === "string") ? bugs : bugs.url
+  } else if (repo) {
+    if (Array.isArray(repo)) repo = repo.shift()
+    if (repo.hasOwnProperty("url")) repo = repo.url
+    log.verbose("repository", repo)
+    if (bugs && bugs.match(/^(https?:\/\/|git(:\/\/|@))github.com/)) {
+      url = bugs.replace(/^git(@|:\/\/)/, "https://")
+                .replace(/^https?:\/\/github.com:/, "https://github.com/")
+                .replace(/\.git$/, '')+"/issues"
+    }
+  }
+  if (!url) {
+    url = "https://npmjs.org/package/" + d.name
+  }
+  opener(url, { command: npm.config.get("browser") }, cb)
+}
+
+function callRegistry (n, cb) {
   registry.get(n + "/latest", 3600, function (er, d) {
     if (er) return cb(er)
-    var bugs = d.bugs
-      , repo = d.repository || d.repositories
-      , url
-    if (bugs) {
-      url = (typeof bugs === "string") ? bugs : bugs.url
-    } else if (repo) {
-      if (Array.isArray(repo)) repo = repo.shift()
-      if (repo.hasOwnProperty("url")) repo = repo.url
-      log.verbose("repository", repo)
-      if (repo && repo.match(/^(https?:\/\/|git(:\/\/|@))github.com/)) {
-        url = repo.replace(/^git(@|:\/\/)/, "https://")
-                  .replace(/^https?:\/\/github.com:/, "https://github.com/")
-                  .replace(/\.git$/, '')+"/issues"
-      }
-    }
-    if (!url) {
-      url = "https://npmjs.org/package/" + d.name
-    }
-    opener(url, { command: npm.config.get("browser") }, cb)
+    getUrlAndOpen (d, cb)
   })
 }
index b606ef2..c182817 100644 (file)
@@ -287,6 +287,10 @@ function fetchAndShaCheck (u, tmp, shasum, cb) {
     if (!shasum) return cb(null, response)
     // validate that the url we just downloaded matches the expected shasum.
     sha.check(tmp, shasum, function (er) {
+      if (er != null && er.message) {
+        // add original filename for better debuggability
+        er.message = er.message + '\n' + 'From:     ' + u
+      }
       return cb(er, response, shasum)
     })
   })
index b48646a..0f59572 100644 (file)
@@ -25,7 +25,7 @@ function docs (args, cb) {
   var project = args[0] || '.'
     , package = path.resolve(process.cwd(), "package.json")
 
-  if (project === '.') {
+  if (project === '.' || project === './') {
     try {
       var json = require(package)
       if (!json.name) throw new Error('package.json does not have a valid "name" property')
index fe21076..f408985 100644 (file)
@@ -714,7 +714,7 @@ function targetResolver (where, context, deps) {
       }
 
       if (data && !data._from) data._from = what
-
+      if (er && parent && parent.name) er.parent = parent.name
       return cb(er, data || [])
     })
   }
index 076449a..93d8792 100644 (file)
@@ -149,6 +149,9 @@ function errorHandler (er) {
     if (er.pkgid && er.pkgid !== "-") {
       var msg = ["'"+er.pkgid+"' is not in the npm registry."
                 ,"You should bug the author to publish it"]
+      if (er.parent) {
+        msg.push("It was specified as a dependency of '"+er.parent+"'")
+      }
       if (er.pkgid.match(/^node[\.\-]|[\.\-]js$/)) {
         var s = er.pkgid.replace(/^node[\.\-]|[\.\-]js$/g, "")
         if (s !== er.pkgid) {
index 49dfb32..f34370f 100644 (file)
@@ -25,7 +25,7 @@ You may use this command to change your email address, but not username
 or password\.
 .
 .P
-To reset your password, go to \fIhttp://admin\.npmjs\.org/\fR
+To reset your password, go to \fIhttps://npmjs\.org/forgot\fR
 .
 .P
 You may use this command multiple times with the same user account to
index 308cd44..1b11fe1 100644 (file)
 .
 .nf
 npm bugs <pkgname>
+npm bugs (with no args in a package dir)
 .
 .fi
 .
 .SH "DESCRIPTION"
 This command tries to guess at the likely location of a package\'s
 bug tracker URL, and then tries to open it using the \fB\-\-browser\fR
-config param\.
+config param\. If no package name is provided, it will search for
+a \fBpackage\.json\fR in the current folder and use the \fBname\fR property\.
 .
 .SH "CONFIGURATION"
 .
index cb63741..cbcd7c0 100644 (file)
 .
 .nf
 npm docs <pkgname>
+npm docs (with no args in a package dir)
 npm home <pkgname>
+npm home (with no args in a package dir)
 .
 .fi
 .
 .SH "DESCRIPTION"
 This command tries to guess at the likely location of a package\'s
 documentation URL, and then tries to open it using the \fB\-\-browser\fR
-config param\.
+config param\. If no package name is provided, it will search for
+a \fBpackage\.json\fR in the current folder and use the \fBname\fR property\.
 .
 .SH "CONFIGURATION"
 .
index c11dcde..fe04481 100644 (file)
@@ -29,7 +29,7 @@ For example, running \fBnpm ls promzard\fR in npm\'s source tree will show:
 .IP "" 4
 .
 .nf
-npm@1.3.21 /path/to/npm
+npm@1.3.22 /path/to/npm
 └─┬ init\-package\-json@0\.0\.4
   └── promzard@0\.1\.5
 .
index 4de4917..955a7e7 100644 (file)
@@ -14,7 +14,7 @@ npm <command> [args]
 .fi
 .
 .SH "VERSION"
-1.3.21
+1.3.22
 .
 .SH "DESCRIPTION"
 npm is the package manager for the Node JavaScript platform\.  It puts
index 216e671..1c3b8eb 100644 (file)
@@ -18,8 +18,7 @@ npm repo (with no args in a package dir)
 This command tries to guess at the likely location of a package\'s
 repository URL, and then tries to open it using the \fB\-\-browser\fR
 config param\. If no package name is provided, it will search for
-a \fBpackage\.json\fR in the current folder and try to use the property
-of the name field\.
+a \fBpackage\.json\fR in the current folder and use the \fBname\fR property\.
 .
 .SH "CONFIGURATION"
 .
index 9d65a1d..836f62c 100644 (file)
@@ -21,7 +21,7 @@ npm\.load([configObject], function (er, npm) {
 .fi
 .
 .SH "VERSION"
-1.3.21
+1.3.22
 .
 .SH "DESCRIPTION"
 This is the API documentation for npm\.
index 0baf0e5..c2cf7f7 100644 (file)
@@ -1,5 +1,5 @@
 {
-  "version": "1.3.21",
+  "version": "1.3.22",
   "name": "npm",
   "publishConfig": {
     "proprietary-attribs": false
   "devDependencies": {
     "ronn": "~0.3.6",
     "tap": "~0.4.0",
-    "npm-registry-mock": "~0.5.3"
+    "npm-registry-mock": "~0.5.4"
   },
   "engines": {
     "node": ">=0.6",
diff --git a/deps/npm/test/tap/404-parent.js b/deps/npm/test/tap/404-parent.js
new file mode 100644 (file)
index 0000000..a7eff25
--- /dev/null
@@ -0,0 +1,49 @@
+var common = require('../common-tap.js')
+var test = require('tap').test
+var npm = require('../../')
+var osenv = require('osenv')
+var path = require('path')
+var fs = require('fs')
+var rimraf = require('rimraf')
+var mkdirp = require('mkdirp')
+var pkg = path.resolve(__dirname, '404-parent')
+
+test('404-parent: if parent exists, specify parent in error message', function(t) {
+  setup()
+  rimraf.sync(path.resolve(pkg, 'node_modules'))
+  performInstall(function(err) {
+    t.ok(err instanceof Error)
+    t.pass('error was returned')
+    t.ok(err.parent === '404-parent-test')
+    t.end()
+  })
+})
+
+test('cleanup', function(t) {
+  process.chdir(osenv.tmpdir())
+  rimraf.sync(pkg)
+  t.end()
+})
+
+function setup() {
+  mkdirp.sync(pkg)
+  mkdirp.sync(path.resolve(pkg, 'cache'))
+  fs.writeFileSync(path.resolve(pkg, 'package.json'), JSON.stringify({
+    author: 'Evan Lucas',
+    name: '404-parent-test',
+    version: '0.0.0',
+    description: 'Test for 404-parent',
+    dependencies: {
+      'test-npm-404-parent-test': '*'
+    }
+  }), 'utf8')
+  process.chdir(pkg)
+}
+
+function performInstall(cb) {
+  npm.load(function() {
+    npm.commands.install(pkg, [], function(err) {
+      cb(err)
+    })
+  })
+}
index 968b6e7..5ab1a67 100644 (file)
@@ -1,3 +1,12 @@
+// this is a test for fix #2538
+
+// the false_name-test-package has the name property "test-package" set
+// in the package.json and a dependency named "test-package" is also a
+// defined dependency of "test-package-with-one-dep".
+//
+// this leads to a conflict during installation and the fix is covered
+// by this test
+
 var test = require("tap").test
   , fs = require("fs")
   , path = require("path")
@@ -5,24 +14,38 @@ var test = require("tap").test
   , spawn = require("child_process").spawn
   , npm = require("../../")
   , rimraf = require("rimraf")
+  , common = require("../common-tap.js")
+  , mr = require("npm-registry-mock")
+  , pkg = __dirname + "/false_name"
 
 test("not every pkg.name can be required", function (t) {
-  t.plan(1)
+  rimraf.sync(pkg + "/cache")
 
-  setup(function () {
-    npm.install(".", function (err) {
-      if (err) return t.fail(err)
-      t.ok(existsSync(__dirname +
-        "/false_name/node_modules/tap/node_modules/buffer-equal"))
+  t.plan(1)
+  mr(common.port, function (s) {
+    setup(function () {
+      npm.install(".", function (err) {
+        if (err) return t.fail(err)
+        s.close()
+        t.ok(existsSync(pkg + "/node_modules/test-package-with-one-dep/" +
+          "node_modules/test-package"))
+      })
     })
   })
 })
 
+test("cleanup", function (t) {
+  rimraf.sync(pkg + "/cache")
+  rimraf.sync(pkg + "/node_modules")
+  t.end()
+})
+
 function setup (cb) {
-  process.chdir(__dirname + "/false_name")
-  npm.load(function () {
-    rimraf.sync(__dirname + "/false_name/node_modules")
-    fs.mkdirSync(__dirname + "/false_name/node_modules")
-    cb()
-  })
+  process.chdir(pkg)
+  npm.load({cache: pkg + "/cache", registry: common.registry},
+    function () {
+      rimraf.sync(pkg + "/node_modules")
+      fs.mkdirSync(pkg + "/node_modules")
+      cb()
+    })
 }
index 7f95e28..9c321e8 100644 (file)
@@ -1,8 +1,8 @@
 {
-  "name": "buffer-equal",
+  "name": "test-package",
   "version": "0.0.0",
   "main": "index.js",
   "dependencies": {
-    "tap": "0.2.5"
+    "test-package-with-one-dep": "0.0.0"
   }
 }
index 95263df..eb6c1ce 100755 (executable)
@@ -145,6 +145,7 @@ def files(action):
   if 'true' == variables.get('node_install_npm'): npm_files(action)
 
   action([
+    'common.gypi',
     'config.gypi',
     'src/node.h',
     'src/node_buffer.h',
index dc59606..849374b 100644 (file)
@@ -99,6 +99,15 @@ ENDLOCAL
 @rem Skip project generation if requested.
 if defined nobuild goto sign
 
+@rem Look for Visual Studio 2013
+if not defined VS120COMNTOOLS goto vc-set-2012
+if not exist "%VS120COMNTOOLS%\..\..\vc\vcvarsall.bat" goto vc-set-2012
+call "%VS120COMNTOOLS%\..\..\vc\vcvarsall.bat"
+if not defined VCINSTALLDIR goto msbuild-not-found
+set GYP_MSVS_VERSION=2013
+goto msbuild-found
+
+:vc-set-2012
 @rem Look for Visual Studio 2012
 if not defined VS110COMNTOOLS goto vc-set-2010
 if not exist "%VS110COMNTOOLS%\..\..\vc\vcvarsall.bat" goto vc-set-2010