npm: Upgrade to 1.2.2

This commit is contained in:
isaacs 2013-01-18 08:37:32 -08:00
parent 6b713b5253
commit 0459a60232
125 changed files with 561 additions and 301 deletions

10
deps/npm/AUTHORS vendored
View File

@ -71,10 +71,20 @@ Domenic Denicola <domenic@domenicdenicola.com>
James Halliday <mail@substack.net> James Halliday <mail@substack.net>
Jeremy Cantrell <jmcantrell@gmail.com> Jeremy Cantrell <jmcantrell@gmail.com>
Ribettes <patlogan29@gmail.com> Ribettes <patlogan29@gmail.com>
Einar Otto Stangvik <einaros@gmail.com>
Don Park <donpark@docuverse.com> Don Park <donpark@docuverse.com>
Kei Son <heyacct@gmail.com> Kei Son <heyacct@gmail.com>
Nicolas Morel <marsup@gmail.com> Nicolas Morel <marsup@gmail.com>
Mark Dube <markisdee@gmail.com> Mark Dube <markisdee@gmail.com>
Nathan Rajlich <nathan@tootallnate.net>
Maxim Bogushevich <boga1@mail.ru> Maxim Bogushevich <boga1@mail.ru>
Justin Beckwith <justbe@microsoft.com> Justin Beckwith <justbe@microsoft.com>
Meaglin <Meaglin.wasabi@gmail.com> Meaglin <Meaglin.wasabi@gmail.com>
Ben Evans <ben@bensbit.co.uk>
Nathan Zadoks <nathan@nathan7.eu>
Brian White <mscdex@gmail.com>
Jed Schmidt <tr@nslator.jp>
Ian Livingstone <ianl@cs.dal.ca>
Patrick Pfeiffer <patrick@buzzle.at>
Paul Miller <paul@paulmillr.com>
seebees <seebees@gmail.com>

View File

@ -19,7 +19,7 @@
<p>This function should not be used programmatically. Instead, just refer <p>This function should not be used programmatically. Instead, just refer
to the <code>npm.bin</code> member.</p> to the <code>npm.bin</code> member.</p>
</div> </div>
<p id="footer">bin &mdash; npm@1.2.0</p> <p id="footer">bin &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -25,7 +25,7 @@ optional version number.</p>
<p>This command will launch a browser, so this command may not be the most <p>This command will launch a browser, so this command may not be the most
friendly for programmatic use.</p> friendly for programmatic use.</p>
</div> </div>
<p id="footer">bugs &mdash; npm@1.2.0</p> <p id="footer">bugs &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <ul><li><a href="../doc/index.html">index(1)</a></li></ul>
</div> </div>
<p id="footer">commands &mdash; npm@1.2.0</p> <p id="footer">commands &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -33,7 +33,7 @@ functions instead.</p>
<ul><li><a href="../api/npm.html">npm(3)</a></li></ul> <ul><li><a href="../api/npm.html">npm(3)</a></li></ul>
</div> </div>
<p id="footer">config &mdash; npm@1.2.0</p> <p id="footer">config &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -32,7 +32,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> <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> </div>
<p id="footer">deprecate &mdash; npm@1.2.0</p> <p id="footer">deprecate &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -25,7 +25,7 @@ optional version number.</p>
<p>This command will launch a browser, so this command may not be the most <p>This command will launch a browser, so this command may not be the most
friendly for programmatic use.</p> friendly for programmatic use.</p>
</div> </div>
<p id="footer">docs &mdash; npm@1.2.0</p> <p id="footer">docs &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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 <p>Since this command opens an editor in a new process, be careful about where
and how this is used.</p> and how this is used.</p>
</div> </div>
<p id="footer">edit &mdash; npm@1.2.0</p> <p id="footer">edit &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <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> </div>
<p id="footer">explore &mdash; npm@1.2.0</p> <p id="footer">explore &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <p>The silent parameter is not neccessary not used, but it may in the future.</p>
</div> </div>
<p id="footer">help-search &mdash; npm@1.2.0</p> <p id="footer">help-search &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -35,7 +35,7 @@ then go ahead and use this programmatically.</p>
<p><a href="../doc/json.html">json(1)</a></p> <p><a href="../doc/json.html">json(1)</a></p>
</div> </div>
<p id="footer">init &mdash; npm@1.2.0</p> <p id="footer">init &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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 <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> installed or when an error has been encountered.</p>
</div> </div>
<p id="footer">install &mdash; npm@1.2.0</p> <p id="footer">install &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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 <p>Now, any changes to the redis package will be reflected in
the package in the current working directory</p> the package in the current working directory</p>
</div> </div>
<p id="footer">link &mdash; npm@1.2.0</p> <p id="footer">link &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <p>For a list of all the available command-line configs, see <code>npm help config</code></p>
</div> </div>
<p id="footer">load &mdash; npm@1.2.0</p> <p id="footer">load &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -59,7 +59,7 @@ project.</p>
This means that if a submodule a same dependency as a parent module, then the This means that if a submodule a same dependency as a parent module, then the
dependency will only be output once.</p> dependency will only be output once.</p>
</div> </div>
<p id="footer">ls &mdash; npm@1.2.0</p> <p id="footer">ls &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -24,7 +24,7 @@ npm.load(configObject, function (er, npm) {
<h2 id="VERSION">VERSION</h2> <h2 id="VERSION">VERSION</h2>
<p>1.2.0</p> <p>1.2.2</p>
<h2 id="DESCRIPTION">DESCRIPTION</h2> <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(&quot;unp&quot;) // cmd === &quot;unpublish&quot;</code></pre> <pre><code>var cmd = npm.deref(&quot;unp&quot;) // cmd === &quot;unpublish&quot;</code></pre>
</div> </div>
<p id="footer">npm &mdash; npm@1.2.0</p> <p id="footer">npm &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -19,7 +19,7 @@ currently outdated.</p>
<p>If the &#39;packages&#39; parameter is left out, npm will check all packages.</p> <p>If the &#39;packages&#39; parameter is left out, npm will check all packages.</p>
</div> </div>
<p id="footer">outdated &mdash; npm@1.2.0</p> <p id="footer">outdated &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <ul><li><a href="../api/publish.html">publish(3)</a></li><li><a href="../doc/registry.html">registry(1)</a></li></ul>
</div> </div>
<p id="footer">owner &mdash; npm@1.2.0</p> <p id="footer">owner &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -25,7 +25,7 @@ overwritten the second time.</p>
<p>If no arguments are supplied, then npm packs the current package folder.</p> <p>If no arguments are supplied, then npm packs the current package folder.</p>
</div> </div>
<p id="footer">pack &mdash; npm@1.2.0</p> <p id="footer">pack &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -21,7 +21,7 @@
<p>This function is not useful programmatically</p> <p>This function is not useful programmatically</p>
</div> </div>
<p id="footer">prefix &mdash; npm@1.2.0</p> <p id="footer">prefix &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -23,7 +23,7 @@
<p>Extraneous packages are packages that are not listed on the parent <p>Extraneous packages are packages that are not listed on the parent
package&#39;s dependencies list.</p> package&#39;s dependencies list.</p>
</div> </div>
<p id="footer">prune &mdash; npm@1.2.0</p> <p id="footer">prune &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -32,7 +32,7 @@ the registry. Overwrites when the &quot;force&quot; environment variable is set
<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> <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> </div>
<p id="footer">publish &mdash; npm@1.2.0</p> <p id="footer">publish &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <p>See <code>npm help build</code></p>
</div> </div>
<p id="footer">rebuild &mdash; npm@1.2.0</p> <p id="footer">rebuild &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <ul><li><a href="../api/start.html">start(3)</a></li><li><a href="../api/stop.html">stop(3)</a></li></ul>
</div> </div>
<p id="footer">restart &mdash; npm@1.2.0</p> <p id="footer">restart &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -21,7 +21,7 @@
<p>This function is not useful programmatically.</p> <p>This function is not useful programmatically.</p>
</div> </div>
<p id="footer">root &mdash; npm@1.2.0</p> <p id="footer">root &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <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> </div>
<p id="footer">run-script &mdash; npm@1.2.0</p> <p id="footer">run-script &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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 and doesn&#39;t try to read your mind (it doesn&#39;t do any verb tense matching or the
like).</p> like).</p>
</div> </div>
<p id="footer">search &mdash; npm@1.2.0</p> <p id="footer">search &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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 <p>Finally, &#39;callback&#39; is a function that will be called when the shrinkwrap has
been saved.</p> been saved.</p>
</div> </div>
<p id="footer">shrinkwrap &mdash; npm@1.2.0</p> <p id="footer">shrinkwrap &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -19,7 +19,7 @@
<p>npm can run tests on multiple packages. Just specify multiple packages <p>npm can run tests on multiple packages. Just specify multiple packages
in the <code>packages</code> parameter.</p> in the <code>packages</code> parameter.</p>
</div> </div>
<p id="footer">start &mdash; npm@1.2.0</p> <p id="footer">start &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -19,7 +19,7 @@
<p>npm can run stop on multiple packages. Just specify multiple packages <p>npm can run stop on multiple packages. Just specify multiple packages
in the <code>packages</code> parameter.</p> in the <code>packages</code> parameter.</p>
</div> </div>
<p id="footer">stop &mdash; npm@1.2.0</p> <p id="footer">stop &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -33,7 +33,7 @@ dependencies into the submodule folder.</p>
<ul><li>npm help json</li><li>git help submodule</li></ul> <ul><li>npm help json</li><li>git help submodule</li></ul>
</div> </div>
<p id="footer">submodule &mdash; npm@1.2.0</p> <p id="footer">submodule &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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 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> <code>man 3 npm-config</code> for programmatic usage or <code>man npm-config</code> for cli usage.</p>
</div> </div>
<p id="footer">tag &mdash; npm@1.2.0</p> <p id="footer">tag &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -22,7 +22,7 @@ true.</p>
<p>npm can run tests on multiple packages. Just specify multiple packages <p>npm can run tests on multiple packages. Just specify multiple packages
in the <code>packages</code> parameter.</p> in the <code>packages</code> parameter.</p>
</div> </div>
<p id="footer">test &mdash; npm@1.2.0</p> <p id="footer">test &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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 <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> uninstalled or when an error has been encountered.</p>
</div> </div>
<p id="footer">uninstall &mdash; npm@1.2.0</p> <p id="footer">uninstall &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -26,7 +26,7 @@ is what is meant.</p>
<p>If no version is specified, or if all versions are removed then <p>If no version is specified, or if all versions are removed then
the root package entry is removed from the registry entirely.</p> the root package entry is removed from the registry entirely.</p>
</div> </div>
<p id="footer">unpublish &mdash; npm@1.2.0</p> <p id="footer">unpublish &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <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> </div>
<p id="footer">update &mdash; npm@1.2.0</p> <p id="footer">update &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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 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> not have exactly one element. The only element should be a version number.</p>
</div> </div>
<p id="footer">version &mdash; npm@1.2.0</p> <p id="footer">version &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -99,7 +99,7 @@ the field name.</p>
<p>corresponding to the list of fields selected.</p> <p>corresponding to the list of fields selected.</p>
</div> </div>
<p id="footer">view &mdash; npm@1.2.0</p> <p id="footer">view &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -21,7 +21,7 @@
<p>This function is not useful programmatically</p> <p>This function is not useful programmatically</p>
</div> </div>
<p id="footer">whoami &mdash; npm@1.2.0</p> <p id="footer">whoami &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -240,7 +240,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> <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> </div>
<p id="footer"><a href="../doc/README.html">README</a> &mdash; npm@1.2.0</p> <p id="footer"><a href="../doc/README.html">README</a> &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <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> </div>
<p id="footer">adduser &mdash; npm@1.2.0</p> <p id="footer">adduser &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <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> </div>
<p id="footer">bin &mdash; npm@1.2.0</p> <p id="footer">bin &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <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> </div>
<p id="footer">bugs &mdash; npm@1.2.0</p> <p id="footer">bugs &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <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> </div>
<p id="footer">build &mdash; npm@1.2.0</p> <p id="footer">build &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -20,7 +20,7 @@ install packages into the local space.</p>
<ul><li><a href="../doc/install.html">install(1)</a></li></ul> <ul><li><a href="../doc/install.html">install(1)</a></li></ul>
</div> </div>
<p id="footer">bundle &mdash; npm@1.2.0</p> <p id="footer">bundle &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <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> </div>
<p id="footer">cache &mdash; npm@1.2.0</p> <p id="footer">cache &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -65,7 +65,7 @@
<ul><li><a href="../doc/npm.html">npm(1)</a></li><li><a href="../doc/faq.html">faq(1)</a></li></ul> <ul><li><a href="../doc/npm.html">npm(1)</a></li><li><a href="../doc/faq.html">faq(1)</a></li></ul>
</div> </div>
<p id="footer">changelog &mdash; npm@1.2.0</p> <p id="footer">changelog &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -182,7 +182,7 @@ set to anything.&quot;</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> <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> </div>
<p id="footer">coding-style &mdash; npm@1.2.0</p> <p id="footer">coding-style &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <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> </div>
<p id="footer">completion &mdash; npm@1.2.0</p> <p id="footer">completion &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -756,7 +756,7 @@ then answer &quot;no&quot; 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> <ul><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/npm.html">npm(1)</a></li></ul>
</div> </div>
<p id="footer">config &mdash; npm@1.2.0</p> <p id="footer">config &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -57,7 +57,7 @@ registry.</p>
<ul><li><a href="../doc/ls.html">ls(1)</a></li><li><a href="../doc/update.html">update(1)</a></li><li><a href="../doc/install.html">install(1)</a></li></ul> <ul><li><a href="../doc/ls.html">ls(1)</a></li><li><a href="../doc/update.html">update(1)</a></li><li><a href="../doc/install.html">install(1)</a></li></ul>
</div> </div>
<p id="footer">dedupe &mdash; npm@1.2.0</p> <p id="footer">dedupe &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -31,7 +31,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> <ul><li><a href="../doc/publish.html">publish(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li></ul>
</div> </div>
<p id="footer">deprecate &mdash; npm@1.2.0</p> <p id="footer">deprecate &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -160,7 +160,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> <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> </div>
<p id="footer">developers &mdash; npm@1.2.0</p> <p id="footer">developers &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -86,7 +86,7 @@ an empty tarball, you&#39;re going to be evicted.</li></ol>
<ul><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/owner.html">owner(1)</a></li></ul> <ul><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/owner.html">owner(1)</a></li></ul>
</div> </div>
<p id="footer">disputes &mdash; npm@1.2.0</p> <p id="footer">disputes &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <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> </div>
<p id="footer">docs &mdash; npm@1.2.0</p> <p id="footer">docs &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -37,7 +37,7 @@ or <code>&quot;notepad&quot;</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> <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> </div>
<p id="footer">edit &mdash; npm@1.2.0</p> <p id="footer">edit &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <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> </div>
<p id="footer">explore &mdash; npm@1.2.0</p> <p id="footer">explore &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -250,7 +250,7 @@ There is not sufficient need to impose namespace rules on everyone.</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> <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> </div>
<p id="footer">faq &mdash; npm@1.2.0</p> <p id="footer">faq &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <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> </div>
<p id="footer">folders &mdash; npm@1.2.0</p> <p id="footer">folders &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <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> </div>
<p id="footer">help-search &mdash; npm@1.2.0</p> <p id="footer">help-search &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <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> </div>
<p id="footer">help &mdash; npm@1.2.0</p> <p id="footer">help &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -388,7 +388,7 @@
<p> Display npm username</p> <p> Display npm username</p>
</div> </div>
<p id="footer">index &mdash; npm@1.2.0</p> <p id="footer">index &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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="../doc/json.html">json(1)</a></li><li><a href="../doc/version.html">version(1)</a></li></ul> <ul><li><a href="https://github.com/isaacs/init-package-json">https://github.com/isaacs/init-package-json</a></li><li><a href="../doc/json.html">json(1)</a></li><li><a href="../doc/version.html">version(1)</a></li></ul>
</div> </div>
<p id="footer">init &mdash; npm@1.2.0</p> <p id="footer">init &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -133,7 +133,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><li><a href="../doc/shrinkwrap.html">shrinkwrap(1)</a></li></ul> <ul><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/update.html">update(1)</a></li><li><a href="../doc/link.html">link(1)</a></li><li><a href="../doc/rebuild.html">rebuild(1)</a></li><li><a href="../doc/scripts.html">scripts(1)</a></li><li><a href="../doc/build.html">build(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/tag.html">tag(1)</a></li><li><a href="../doc/rm.html">rm(1)</a></li><li><a href="../doc/shrinkwrap.html">shrinkwrap(1)</a></li></ul>
</div> </div>
<p id="footer">install &mdash; npm@1.2.0</p> <p id="footer">install &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -525,7 +525,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> <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> </div>
<p id="footer">json &mdash; npm@1.2.0</p> <p id="footer">json &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -58,7 +58,7 @@ installation target into your project&#39;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> <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> </div>
<p id="footer">link &mdash; npm@1.2.0</p> <p id="footer">link &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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. 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> For example, running <code>npm ls promzard</code> in npm&#39;s source tree will show:</p>
<pre><code>npm@1.2.0 /path/to/npm <pre><code>npm@1.2.2 /path/to/npm
└─┬ init-package-json@0.0.4 └─┬ init-package-json@0.0.4
└── promzard@0.1.5</code></pre> └── promzard@0.1.5</code></pre>
@ -64,7 +64,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> <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> </div>
<p id="footer">ls &mdash; npm@1.2.0</p> <p id="footer">ls &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -14,7 +14,7 @@
<h2 id="VERSION">VERSION</h2> <h2 id="VERSION">VERSION</h2>
<p>1.2.0</p> <p>1.2.2</p>
<h2 id="DESCRIPTION">DESCRIPTION</h2> <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> <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> </div>
<p id="footer">npm &mdash; npm@1.2.0</p> <p id="footer">npm &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <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> </div>
<p id="footer">outdated &mdash; npm@1.2.0</p> <p id="footer">outdated &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <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> </div>
<p id="footer">owner &mdash; npm@1.2.0</p> <p id="footer">owner &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <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> </div>
<p id="footer">pack &mdash; npm@1.2.0</p> <p id="footer">pack &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <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> </div>
<p id="footer">prefix &mdash; npm@1.2.0</p> <p id="footer">prefix &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -25,7 +25,7 @@ package&#39;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> <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> </div>
<p id="footer">prune &mdash; npm@1.2.0</p> <p id="footer">prune &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -29,7 +29,7 @@ the registry. Overwrites when the &quot;--force&quot; 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> <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> </div>
<p id="footer">publish &mdash; npm@1.2.0</p> <p id="footer">publish &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <ul><li><a href="../doc/build.html">build(1)</a></li><li><a href="../doc/install.html">install(1)</a></li></ul>
</div> </div>
<p id="footer">rebuild &mdash; npm@1.2.0</p> <p id="footer">rebuild &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -95,7 +95,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> <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> </div>
<p id="footer">registry &mdash; npm@1.2.0</p> <p id="footer">registry &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <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> </div>
<p id="footer">removing-npm &mdash; npm@1.2.0</p> <p id="footer">removing-npm &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -24,7 +24,7 @@ the &quot;start&quot; 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> <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> </div>
<p id="footer">restart &mdash; npm@1.2.0</p> <p id="footer">restart &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <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> </div>
<p id="footer">root &mdash; npm@1.2.0</p> <p id="footer">root &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <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> </div>
<p id="footer">run-script &mdash; npm@1.2.0</p> <p id="footer">run-script &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -218,7 +218,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> <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> </div>
<p id="footer">scripts &mdash; npm@1.2.0</p> <p id="footer">scripts &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <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> </div>
<p id="footer">search &mdash; npm@1.2.0</p> <p id="footer">search &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <ul><li><a href="../doc/json.html">json(1)</a></li></ul>
</div> </div>
<p id="footer">semver &mdash; npm@1.2.0</p> <p id="footer">semver &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -169,7 +169,7 @@ versions.</p>
<ul><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/json.html">json(1)</a></li><li><a href="../doc/list.html">list(1)</a></li></ul> <ul><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/json.html">json(1)</a></li><li><a href="../doc/list.html">list(1)</a></li></ul>
</div> </div>
<p id="footer">shrinkwrap &mdash; npm@1.2.0</p> <p id="footer">shrinkwrap &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <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> </div>
<p id="footer">star &mdash; npm@1.2.0</p> <p id="footer">star &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <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> </div>
<p id="footer">start &mdash; npm@1.2.0</p> <p id="footer">start &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <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> </div>
<p id="footer">stop &mdash; npm@1.2.0</p> <p id="footer">stop &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <ul><li><a href="../doc/json.html">json(1)</a></li><li>git help submodule</li></ul>
</div> </div>
<p id="footer">submodule &mdash; npm@1.2.0</p> <p id="footer">submodule &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <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> </div>
<p id="footer">tag &mdash; npm@1.2.0</p> <p id="footer">tag &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <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> </div>
<p id="footer">test &mdash; npm@1.2.0</p> <p id="footer">test &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <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> </div>
<p id="footer">uninstall &mdash; npm@1.2.0</p> <p id="footer">uninstall &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <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> </div>
<p id="footer">unpublish &mdash; npm@1.2.0</p> <p id="footer">unpublish &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <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> </div>
<p id="footer">update &mdash; npm@1.2.0</p> <p id="footer">update &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -40,7 +40,7 @@ in your git config for this to work properly.</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> <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> </div>
<p id="footer">version &mdash; npm@1.2.0</p> <p id="footer">version &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -90,7 +90,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> <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> </div>
<p id="footer">view &mdash; npm@1.2.0</p> <p id="footer">view &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View 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> <ul><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/adduser.html">adduser(1)</a></li></ul>
</div> </div>
<p id="footer">whoami &mdash; npm@1.2.0</p> <p id="footer">whoami &mdash; npm@1.2.2</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

207
deps/npm/lib/cache.js vendored
View File

@ -51,14 +51,16 @@ adding a local tarball:
*/ */
exports = module.exports = cache exports = module.exports = cache
exports.read = read cache.read = read
exports.clean = clean cache.clean = clean
exports.unpack = unpack cache.unpack = unpack
exports.lock = lock cache.lock = lock
exports.unlock = unlock cache.unlock = unlock
var mkdir = require("mkdirp") var mkdir = require("mkdirp")
, exec = require("./utils/exec.js") , exec = require("./utils/exec.js")
, spawn = require("child_process").spawn
, once = require("once")
, fetch = require("./utils/fetch.js") , fetch = require("./utils/fetch.js")
, npm = require("./npm.js") , npm = require("./npm.js")
, fs = require("graceful-fs") , fs = require("graceful-fs")
@ -77,6 +79,7 @@ var mkdir = require("mkdirp")
, lockFile = require("lockfile") , lockFile = require("lockfile")
, crypto = require("crypto") , crypto = require("crypto")
, retry = require("retry") , retry = require("retry")
, zlib = require("zlib")
cache.usage = "npm cache add <tarball file>" cache.usage = "npm cache add <tarball file>"
+ "\nnpm cache add <folder>" + "\nnpm cache add <folder>"
@ -188,7 +191,7 @@ function clean (args, cb) {
// npm cache add <pkg> <ver> // npm cache add <pkg> <ver>
// npm cache add <tarball> // npm cache add <tarball>
// npm cache add <folder> // npm cache add <folder>
exports.add = function (pkg, ver, scrub, cb) { cache.add = function (pkg, ver, scrub, cb) {
if (typeof cb !== "function") cb = scrub, scrub = false if (typeof cb !== "function") cb = scrub, scrub = false
if (typeof cb !== "function") cb = ver, ver = null if (typeof cb !== "function") cb = ver, ver = null
if (scrub) { if (scrub) {
@ -230,7 +233,7 @@ function add (args, cb) {
spec = args[0] spec = args[0]
} }
log.silly("cache add", "name=%j spec=%j args=%j", name, spec, args) log.verbose("cache add", "name=%j spec=%j args=%j", name, spec, args)
if (!name && !spec) return cb(usage) if (!name && !spec) return cb(usage)
@ -298,6 +301,10 @@ function addRemoteTarball (u, shasum, name, cb_) {
if (iF.length > 1) return if (iF.length > 1) return
function cb (er, data) { function cb (er, data) {
if (data) {
data._from = u
data._resolved = u
}
unlock(u, function () { unlock(u, function () {
var c var c
while (c = iF.shift()) c(er, data) while (c = iF.shift()) c(er, data)
@ -305,13 +312,25 @@ function addRemoteTarball (u, shasum, name, cb_) {
}) })
} }
var tmp = path.join(npm.tmp, Date.now()+"-"+Math.random(), "tmp.tgz")
lock(u, function (er) { lock(u, function (er) {
if (er) return cb(er) if (er) return cb(er)
log.verbose("addRemoteTarball", [u, shasum]) log.verbose("addRemoteTarball", [u, shasum])
var tmp = path.join(npm.tmp, Date.now()+"-"+Math.random(), "tmp.tgz")
mkdir(path.dirname(tmp), function (er) { mkdir(path.dirname(tmp), function (er) {
if (er) return cb(er) if (er) return cb(er)
addRemoteTarball_(u, tmp, shasum, done)
})
})
function done (er) {
if (er) return cb(er)
addLocalTarball(tmp, name, cb)
}
}
function addRemoteTarball_(u, tmp, shasum, cb) {
// Tuned to spread 3 attempts over about a minute. // Tuned to spread 3 attempts over about a minute.
// See formula at <https://github.com/tim-kos/node-retry>. // See formula at <https://github.com/tim-kos/node-retry>.
var operation = retry.operation var operation = retry.operation
@ -325,26 +344,23 @@ function addRemoteTarball (u, shasum, name, cb_) {
+ " at " + (new Date()).toLocaleTimeString()) + " at " + (new Date()).toLocaleTimeString())
fetchAndShaCheck(u, tmp, shasum, function (er, response) { fetchAndShaCheck(u, tmp, shasum, function (er, response) {
// Only retry on 408, 5xx or no `response`. // Only retry on 408, 5xx or no `response`.
var statusCode = response && response.statusCode var sc = response && response.statusCode
var statusRetry = !statusCode || (statusCode === 408 || statusCode >= 500) var statusRetry = !sc || (sc === 408 || sc >= 500)
if (er && statusRetry && operation.retry(er)) { if (er && statusRetry && operation.retry(er)) {
log.info("retry", "will retry, error on last attempt: " + er) log.info("retry", "will retry, error on last attempt: " + er)
return return
} }
done(er) cb(er)
}) })
}) })
})
function done (er) {
if (er) return cb(er)
addLocalTarball(tmp, name, cb)
}
})
} }
// For now, this is kind of dumb. Just basically treat git as // 1. cacheDir = path.join(cache,'_git-remotes',sha1(u))
// yet another "fetch and scrub" kind of thing. // 2. checkGitDir(cacheDir) ? 4. : 3. (rm cacheDir if necessary)
// Clone to temp folder, then proceed with the addLocal stuff. // 3. git clone --mirror u cacheDir
// 4. cd cacheDir && git fetch -a origin
// 5. git archive /tmp/random.tgz
// 6. addLocalTarball(/tmp/random.tgz) <gitref> --format=tar --prefix=package/
function addRemoteGit (u, parsed, name, cb_) { function addRemoteGit (u, parsed, name, cb_) {
if (typeof cb_ !== "function") cb_ = name, name = null if (typeof cb_ !== "function") cb_ = name, name = null
@ -361,6 +377,8 @@ function addRemoteGit (u, parsed, name, cb_) {
}) })
} }
var p, co // cachePath, git-ref we want to check out
lock(u, function (er) { lock(u, function (er) {
if (er) return cb(er) if (er) return cb(er)
@ -379,12 +397,49 @@ function addRemoteGit (u, parsed, name, cb_) {
u = u.replace(/^ssh:\/\//, "") u = u.replace(/^ssh:\/\//, "")
} }
var v = crypto.createHash("sha1").update(u).digest("hex").slice(0, 8)
v = u.replace(/[^a-zA-Z0-9]+/g, '-') + '-' + v
log.verbose("addRemoteGit", [u, co]) log.verbose("addRemoteGit", [u, co])
var tmp = path.join(npm.tmp, Date.now()+"-"+Math.random()) p = path.join(npm.config.get("cache"), "_git-remotes", v)
mkdir(path.dirname(tmp), function (er) {
checkGitDir(p, u, co, cb)
})
}
function checkGitDir (p, u, co, cb) {
fs.stat(p, function (er, s) {
if (er) return cloneGitRemote(p, u, co, cb)
if (!s.isDirectory()) return rm(p, function (er){
if (er) return cb(er) if (er) return cb(er)
exec( npm.config.get("git"), ["clone", u, tmp], gitEnv(), false cloneGitRemote(p, u, co, cb)
})
var git = npm.config.get("git")
var args = ["config", "--get", "remote.origin.url"]
var env = gitEnv()
exec(git, args, env, false, p, function (er, code, stdout, stderr) {
stdoutTrimmed = (stdout + "\n" + stderr).trim()
if (er || u !== stdout.trim()) {
log.warn( "`git config --get remote.origin.url` returned "
+ "wrong result ("+u+")", stdoutTrimmed )
return rm(p, function (er){
if (er) return cb(er)
cloneGitRemote(p, u, co, cb)
})
}
log.verbose("git remote.origin.url", stdoutTrimmed)
archiveGitRemote(p, u, co, cb)
})
})
}
function cloneGitRemote (p, u, co, cb) {
mkdir(p, function (er) {
if (er) return cb(er)
exec( npm.config.get("git"), ["clone", "--mirror", u, p], gitEnv(), false
, function (er, code, stdout, stderr) { , function (er, code, stdout, stderr) {
stdout = (stdout + "\n" + stderr).trim() stdout = (stdout + "\n" + stderr).trim()
if (er) { if (er) {
@ -392,21 +447,75 @@ function addRemoteGit (u, parsed, name, cb_) {
return cb(er) return cb(er)
} }
log.verbose("git clone " + u, stdout) log.verbose("git clone " + u, stdout)
exec( npm.config.get("git"), ["checkout", co], gitEnv(), false, tmp archiveGitRemote(p, u, co, cb)
, function (er, code, stdout, stderr) {
stdout = (stdout + "\n" + stderr).trim()
if (er) {
log.error("git checkout " + co, stdout)
return cb(er)
}
log.verbose("git checkout " + co, stdout)
addLocalDirectory(tmp, cb)
})
})
}) })
}) })
} }
function archiveGitRemote (p, u, co, cb) {
var git = npm.config.get("git")
var archive = ["fetch", "-a", "origin"]
var resolve = ["rev-list", "-n1", co]
var env = gitEnv()
var errState = null
var n = 0
var resolved = null
var tmp
exec(git, archive, env, false, p, function (er, code, stdout, stderr) {
stdout = (stdout + "\n" + stderr).trim()
if (er) {
log.error("git fetch -a origin ("+u+")", stdout)
return next(er)
}
log.verbose("git fetch -a origin ("+u+")", stdout)
tmp = path.join(npm.tmp, Date.now()+"-"+Math.random(), "tmp.tgz")
next()
})
exec(git, resolve, env, false, p, function (er, code, stdout, stderr) {
stdout = (stdout + "\n" + stderr).trim()
if (er) {
log.error("Failed resolving git HEAD (" + u + ")", stderr)
return next(er)
}
log.verbose("git rev-list -n1 " + co, stdout)
var parsed = url.parse(u)
parsed.hash = stdout
resolved = url.format(parsed)
next()
})
function next (er) {
if (errState) return
if (er) return cb(errState = er)
if (++n < 2) return
mkdir(path.dirname(tmp), function (er) {
if (er) return cb(er)
var gzip = zlib.createGzip({ level: 9 })
var git = npm.config.get("git")
var args = ["archive", co, "--format=tar", "--prefix=package/"]
var out = fs.createWriteStream(tmp)
var env = gitEnv()
cb = once(cb)
var cp = spawn(git, args, { env: env, cwd: p })
cp.on("error", cb)
cp.stderr.on("data", function(chunk) {
log.silly(chunk.toString(), "git archive")
})
cp.stdout.pipe(gzip).pipe(out).on("close", function() {
addLocalTarball(tmp, function(er, data) {
if (data) data._resolved = resolved
cb(er, data)
})
})
})
}
}
var gitEnv_ var gitEnv_
function gitEnv () { function gitEnv () {
@ -436,6 +545,7 @@ function addNamed (name, x, data, cb_) {
if (iF.length > 1) return if (iF.length > 1) return
function cb (er, data) { function cb (er, data) {
if (data && !data._fromGithub) data._from = k
unlock(k, function () { unlock(k, function () {
var c var c
while (c = iF.shift()) c(er, data) while (c = iF.shift()) c(er, data)
@ -643,6 +753,7 @@ function addLocal (p, name, cb_) {
log.error("addLocal", "Could not install %s", p) log.error("addLocal", "Could not install %s", p)
return cb_(er) return cb_(er)
} }
if (data && !data._fromGithub) data._from = p
return cb_(er, data) return cb_(er, data)
}) })
} }
@ -666,31 +777,33 @@ function addLocal (p, name, cb_) {
} }
function maybeGithub (p, name, er, cb) { function maybeGithub (p, name, er, cb) {
var u = "https://github.com/" + p var u = "git://github.com/" + p
, up = url.parse(u) , up = url.parse(u)
if (up.hash && up.hash[0] === "#")
up.hash = up.hash.slice(1)
var ref = encodeURIComponent(up.hash || "master")
up.pathname = path.join(up.pathname, "tarball", ref).replace(/\\/g, "/")
u = url.format(up)
log.info("maybeGithub", "Attempting to fetch %s from %s", p, u) log.info("maybeGithub", "Attempting to fetch %s from %s", p, u)
return addRemoteTarball(u, null, name, function (er2, data) {
return addRemoteGit(u, up, name, function (er2, data) {
if (er2) return cb(er) if (er2) return cb(er)
data._from = u
data._fromGithub = true
return cb(null, data) return cb(null, data)
}) })
} }
function addLocalTarball (p, name, cb) { function addLocalTarball (p, name, cb_) {
if (typeof cb !== "function") cb = name, name = "" if (typeof cb_ !== "function") cb_ = name, name = ""
// if it's a tar, and not in place, // if it's a tar, and not in place,
// then unzip to .tmp, add the tmp folder, and clean up tmp // then unzip to .tmp, add the tmp folder, and clean up tmp
if (p.indexOf(npm.tmp) === 0) return addTmpTarball(p, name, cb) if (p.indexOf(npm.tmp) === 0) return addTmpTarball(p, name, cb_)
if (p.indexOf(npm.cache) === 0) { if (p.indexOf(npm.cache) === 0) {
if (path.basename(p) !== "package.tgz") return cb(new Error( if (path.basename(p) !== "package.tgz") return cb_(new Error(
"Not a valid cache tarball name: "+p)) "Not a valid cache tarball name: "+p))
return addPlacedTarball(p, name, cb) return addPlacedTarball(p, name, cb_)
}
function cb (er, data) {
if (data) data._resolved = p
return cb_(er, data)
} }
// just copy it over and then add the temp tarball file. // just copy it over and then add the temp tarball file.

View File

@ -207,8 +207,7 @@ function readDependencies (context, where, opts, cb) {
rv.dependencies = {} rv.dependencies = {}
Object.keys(wrap).forEach(function (key) { Object.keys(wrap).forEach(function (key) {
log.verbose("from wrap", [key, wrap[key]]) log.verbose("from wrap", [key, wrap[key]])
var w = wrap[key] rv.dependencies[key] = readWrap(wrap[key])
rv.dependencies[key] = w.from || w.version
}) })
log.verbose("readDependencies returned deps", rv.dependencies) log.verbose("readDependencies returned deps", rv.dependencies)
return cb(null, rv, wrap) return cb(null, rv, wrap)
@ -235,8 +234,7 @@ function readDependencies (context, where, opts, cb) {
}) })
rv.dependencies = {} rv.dependencies = {}
Object.keys(newwrap.dependencies || {}).forEach(function (key) { Object.keys(newwrap.dependencies || {}).forEach(function (key) {
var w = newwrap.dependencies[key] rv.dependencies[key] = readWrap(newwrap.dependencies[key])
rv.dependencies[key] = w.from || w.version
}) })
log.verbose("readDependencies returned deps", rv.dependencies) log.verbose("readDependencies returned deps", rv.dependencies)
return cb(null, rv, newwrap.dependencies) return cb(null, rv, newwrap.dependencies)
@ -244,6 +242,12 @@ function readDependencies (context, where, opts, cb) {
}) })
} }
function readWrap (w) {
return (w.resolved) ? w.resolved
: (w.from && url.parse(w.from).protocol) ? w.from
: w.version
}
// if the -S|--save option is specified, then write installed packages // if the -S|--save option is specified, then write installed packages
// as dependencies to a package.json file. // as dependencies to a package.json file.
// This is experimental. // This is experimental.
@ -301,6 +305,7 @@ function save (where, installed, tree, pretty, cb) {
data.bundleDependencies = bundle data.bundleDependencies = bundle
} }
log.verbose('saving', things)
data[deps] = data[deps] || {} data[deps] = data[deps] || {}
Object.keys(things).forEach(function (t) { Object.keys(things).forEach(function (t) {
data[deps][t] = things[t] data[deps][t] = things[t]
@ -588,8 +593,7 @@ function targetResolver (where, context, deps) {
if (wrap) { if (wrap) {
name = what.split(/@/).shift() name = what.split(/@/).shift()
if (wrap[name]) { if (wrap[name]) {
var wrapTarget = wrap[name].from || wrap[name].version var wrapTarget = readWrap(wrap[name])
log.verbose("shrinkwrap", "resolving %s to %s", wrapTarget, what)
what = name + "@" + wrapTarget what = name + "@" + wrapTarget
} else { } else {
log.verbose("shrinkwrap", "skipping %s (not in shrinkwrap)", what) log.verbose("shrinkwrap", "skipping %s (not in shrinkwrap)", what)
@ -615,7 +619,7 @@ function targetResolver (where, context, deps) {
return cb(null, []) return cb(null, [])
} }
if (data) data._from = what if (data && !data._from) data._from = what
return cb(er, data) return cb(er, data)
}) })

13
deps/npm/lib/ls.js vendored
View File

@ -95,14 +95,11 @@ function getLite (data, noname) {
+ " " + (data.path || "") ) + " " + (data.path || "") )
} }
if (data._from) { if (data._from)
var from = data._from lite.from = data._from
if (from.indexOf(data.name + "@") === 0) {
from = from.substr(data.name.length + 1) if (data._resolved)
} lite.resolved = data._resolved
var u = url.parse(from)
if (u.protocol) lite.from = from
}
if (data.invalid) { if (data.invalid) {
lite.invalid = true lite.invalid = true

1
deps/npm/lib/npm.js vendored
View File

@ -97,6 +97,7 @@ var commandCache = {}
, "se" : "search" , "se" : "search"
, "author" : "owner" , "author" : "owner"
, "home" : "docs" , "home" : "docs"
, "issues": "bugs"
, "unstar": "star" // same function , "unstar": "star" // same function
, "apihelp" : "help" , "apihelp" : "help"
, "login": "adduser" , "login": "adduser"

Some files were not shown because too many files have changed in this diff Show More