Upgrade npm to 1.1.26

This commit is contained in:
isaacs 2012-06-15 10:00:30 -07:00
parent 1e0ce5d1bd
commit 911b0fddd3
182 changed files with 1427 additions and 2385 deletions

View File

@ -6,7 +6,7 @@ if (argv.length < 3) {
var fs = require("fs") var fs = require("fs")
, file = argv[2] , file = argv[2]
, readJson = require("../lib/utils/read-json") , readJson = require("read-package-json")
readJson(file, function (er, data) { readJson(file, function (er, data) {
if (er) throw er if (er) throw er

View File

@ -160,7 +160,7 @@ local copy exists on disk.
npm install sax --force npm install sax --force
The `--global` argument will cause npm to install the package globally The `--global` argument will cause npm to install the package globally
rather than locally. See `npm-global(1)`. rather than locally. See `npm-folders(1)`.
The `--link` argument will cause npm to link global installs into the The `--link` argument will cause npm to link global installs into the
local space in some cases. local space in some cases.

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.1.25</p> <p id="footer">bin &mdash; npm@1.1.26</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.1.25</p> <p id="footer">bugs &mdash; npm@1.1.26</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.1.25</p> <p id="footer">commands &mdash; npm@1.1.26</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.1.25</p> <p id="footer">config &mdash; npm@1.1.26</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -30,7 +30,7 @@ install the package.</p></li></ul>
<ul><li><a href="../api/publish.html">publish(3)</a></li><li><a href="../api/unpublish.html">unpublish(3)</a></li><li><a href="../doc/registry.html">registry(1)</a></li></ul> <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.1.25</p> <p id="footer">deprecate &mdash; npm@1.1.26</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.1.25</p> <p id="footer">docs &mdash; npm@1.1.26</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.1.25</p> <p id="footer">edit &mdash; npm@1.1.26</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 'args' parameter must be a package name. After that is the optional command, which can be any number of strings. All of the strings will be combined into one, space-delimited command.</p> <p>The first element in the 'args' parameter must be a package name. After that is the optional command, which can be any number of strings. All of the strings will be combined into one, space-delimited command.</p>
</div> </div>
<p id="footer">explore &mdash; npm@1.1.25</p> <p id="footer">explore &mdash; npm@1.1.26</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.1.25</p> <p id="footer">help-search &mdash; npm@1.1.26</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.1.25</p> <p id="footer">init &mdash; npm@1.1.26</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, 'callback' is a function that will be called when all packages have been <p>Finally, 'callback' 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.1.25</p> <p id="footer">install &mdash; npm@1.1.26</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -39,7 +39,7 @@ npm.commands.link('redis', cb) # link-install the package</code></pre>
<p>Now, any changes to the redis package will be reflected in <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.1.25</p> <p id="footer">link &mdash; npm@1.1.26</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.1.25</p> <p id="footer">load &mdash; npm@1.1.26</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.1.25</p> <p id="footer">ls &mdash; npm@1.1.26</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.1.25</p> <p>1.1.26</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("unp") // cmd === "unpublish"</code></pre> <pre><code>var cmd = npm.deref("unp") // cmd === "unpublish"</code></pre>
</div> </div>
<p id="footer">npm &mdash; npm@1.1.25</p> <p id="footer">npm &mdash; npm@1.1.26</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 'packages' parameter is left out, npm will check all packages.</p> <p>If the 'packages' parameter is left out, npm will check all packages.</p>
</div> </div>
<p id="footer">outdated &mdash; npm@1.1.25</p> <p id="footer">outdated &mdash; npm@1.1.26</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.1.25</p> <p id="footer">owner &mdash; npm@1.1.26</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.1.25</p> <p id="footer">pack &mdash; npm@1.1.26</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.1.25</p> <p id="footer">prefix &mdash; npm@1.1.26</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's dependencies list.</p> package's dependencies list.</p>
</div> </div>
<p id="footer">prune &mdash; npm@1.1.25</p> <p id="footer">prune &mdash; npm@1.1.26</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 "force" environment variable is set.</p>
<ul><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/adduser.html">adduser(1)</a></li><li><a href="../api/owner.html">owner(3)</a></li></ul> <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.1.25</p> <p id="footer">publish &mdash; npm@1.1.26</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 'packages' parameter is specify, every package will be reb
<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.1.25</p> <p id="footer">rebuild &mdash; npm@1.1.26</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.1.25</p> <p id="footer">restart &mdash; npm@1.1.26</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.1.25</p> <p id="footer">root &mdash; npm@1.1.26</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.1.25</p> <p id="footer">run-script &mdash; npm@1.1.26</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -32,7 +32,7 @@ excluded term (the "searchexclude" config). The search is case insensitive
and doesn't try to read your mind (it doesn't do any verb tense matching or the and doesn't try to read your mind (it doesn't do any verb tense matching or the
like).</p> like).</p>
</div> </div>
<p id="footer">search &mdash; npm@1.1.25</p> <p id="footer">search &mdash; npm@1.1.26</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, 'callback' is a function that will be called when the shrinkwrap has <p>Finally, 'callback' 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.1.25</p> <p id="footer">shrinkwrap &mdash; npm@1.1.26</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.1.25</p> <p id="footer">start &mdash; npm@1.1.26</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.1.25</p> <p id="footer">stop &mdash; npm@1.1.26</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.1.25</p> <p id="footer">submodule &mdash; npm@1.1.26</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.1.25</p> <p id="footer">tag &mdash; npm@1.1.26</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.1.25</p> <p id="footer">test &mdash; npm@1.1.26</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, 'callback' is a function that will be called when all packages have been <p>Finally, 'callback' 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.1.25</p> <p id="footer">uninstall &mdash; npm@1.1.26</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.1.25</p> <p id="footer">unpublish &mdash; npm@1.1.26</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -18,7 +18,7 @@
<p>The 'packages' argument is an array of packages to update. The 'callback' parameter will be called when done or when an error occurs.</p> <p>The 'packages' argument is an array of packages to update. The 'callback' parameter will be called when done or when an error occurs.</p>
</div> </div>
<p id="footer">update &mdash; npm@1.1.25</p> <p id="footer">update &mdash; npm@1.1.26</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.1.25</p> <p id="footer">version &mdash; npm@1.1.26</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.1.25</p> <p id="footer">view &mdash; npm@1.1.26</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.1.25</p> <p id="footer">whoami &mdash; npm@1.1.26</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -267,7 +267,7 @@ will no doubt tell you to put the output in a gist or email.</p>
<ul><li><a href="../doc/npm.html">npm(1)</a></li><li><a href="../doc/faq.html">faq(1)</a></li><li><a href="../doc/help.html">help(1)</a></li><li><a href="../doc/index.html">index(1)</a></li></ul> <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.1.25</p> <p id="footer"><a href="../doc/README.html">README</a> &mdash; npm@1.1.26</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.1.25</p> <p id="footer">adduser &mdash; npm@1.1.26</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.1.25</p> <p id="footer">bin &mdash; npm@1.1.26</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.1.25</p> <p id="footer">bugs &mdash; npm@1.1.26</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.1.25</p> <p id="footer">build &mdash; npm@1.1.26</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.1.25</p> <p id="footer">bundle &mdash; npm@1.1.26</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.1.25</p> <p id="footer">cache &mdash; npm@1.1.26</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.1.25</p> <p id="footer">changelog &mdash; npm@1.1.26</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -180,7 +180,7 @@ set to anything."</p>
<ul><li><a href="../doc/developers.html">developers(1)</a></li><li><a href="../doc/faq.html">faq(1)</a></li><li><a href="../doc/npm.html">npm(1)</a></li></ul> <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.1.25</p> <p id="footer">coding-style &mdash; npm@1.1.26</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.1.25</p> <p id="footer">completion &mdash; npm@1.1.26</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -665,7 +665,7 @@ then answer "no" to any prompt.</p>
<ul><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/npm.html">npm(1)</a></li></ul> <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.1.25</p> <p id="footer">config &mdash; npm@1.1.26</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -29,7 +29,7 @@ something like this:</p>
<ul><li><a href="../doc/publish.html">publish(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li></ul> <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.1.25</p> <p id="footer">deprecate &mdash; npm@1.1.26</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.1.25</p> <p id="footer">developers &mdash; npm@1.1.26</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -80,7 +80,7 @@ license statement)</li><li>Illegal content.</li></ol>
<ul><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/owner.html">owner(1)</a></li></ul> <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.1.25</p> <p id="footer">disputes &mdash; npm@1.1.26</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.1.25</p> <p id="footer">docs &mdash; npm@1.1.26</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -37,7 +37,7 @@ or <code>"notepad"</code> on Windows.</li><li>Type: path</li></ul>
<ul><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/explore.html">explore(1)</a></li><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/config.html">config(1)</a></li></ul> <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.1.25</p> <p id="footer">edit &mdash; npm@1.1.26</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.1.25</p> <p id="footer">explore &mdash; npm@1.1.26</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -241,7 +241,7 @@ We'll have someone kick it or something.</p>
<ul><li><a href="../doc/npm.html">npm(1)</a></li><li><a href="../doc/developers.html">developers(1)</a></li><li><a href="../doc/json.html">json(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li></ul> <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.1.25</p> <p id="footer">faq &mdash; npm@1.1.26</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.1.25</p> <p id="footer">folders &mdash; npm@1.1.26</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.1.25</p> <p id="footer">help-search &mdash; npm@1.1.26</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.1.25</p> <p id="footer">help &mdash; npm@1.1.26</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -384,7 +384,7 @@
<p> Display npm username</p> <p> Display npm username</p>
</div> </div>
<p id="footer">index &mdash; npm@1.1.25</p> <p id="footer">index &mdash; npm@1.1.26</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="../doc/json.html">json(1)</a></li><li><a href="../doc/version.html">version(1)</a></li></ul> <ul><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.1.25</p> <p id="footer">init &mdash; npm@1.1.26</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -72,7 +72,7 @@ local copy exists on disk.</p>
<pre><code>npm install sax --force</code></pre> <pre><code>npm install sax --force</code></pre>
<p>The <code>--global</code> argument will cause npm to install the package globally <p>The <code>--global</code> argument will cause npm to install the package globally
rather than locally. See <code><a href="../doc/global.html">global(1)</a></code>.</p> rather than locally. See <code><a href="../doc/folders.html">folders(1)</a></code>.</p>
<p>The <code>--link</code> argument will cause npm to link global installs into the <p>The <code>--link</code> argument will cause npm to link global installs into the
local space in some cases.</p> local space in some cases.</p>
@ -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.1.25</p> <p id="footer">install &mdash; npm@1.1.26</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -509,7 +509,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.1.25</p> <p id="footer">json &mdash; npm@1.1.26</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'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.1.25</p> <p id="footer">link &mdash; npm@1.1.26</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -58,7 +58,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">list &mdash; npm@1.1.25</p> <p id="footer">list &mdash; npm@1.1.26</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.1.25</p> <p>1.1.26</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.1.25</p> <p id="footer">npm &mdash; npm@1.1.26</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.1.25</p> <p id="footer">outdated &mdash; npm@1.1.26</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.1.25</p> <p id="footer">owner &mdash; npm@1.1.26</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.1.25</p> <p id="footer">pack &mdash; npm@1.1.26</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.1.25</p> <p id="footer">prefix &mdash; npm@1.1.26</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -25,7 +25,7 @@ package's dependencies list.</p>
<ul><li><a href="../doc/rm.html">rm(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/list.html">list(1)</a></li></ul> <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.1.25</p> <p id="footer">prune &mdash; npm@1.1.26</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 "--force" flag is set.</p>
<ul><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/adduser.html">adduser(1)</a></li><li><a href="../doc/owner.html">owner(1)</a></li><li><a href="../doc/deprecate.html">deprecate(1)</a></li><li><a href="../doc/tag.html">tag(1)</a></li></ul> <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.1.25</p> <p id="footer">publish &mdash; npm@1.1.26</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.1.25</p> <p id="footer">rebuild &mdash; npm@1.1.26</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -97,7 +97,7 @@ ask for help on the <a href="mailto:npm-@googlegroups.com">npm-@googlegroups.com
<ul><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/developers.html">developers(1)</a></li><li><a href="../doc/disputes.html">disputes(1)</a></li></ul> <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.1.25</p> <p id="footer">registry &mdash; npm@1.1.26</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.1.25</p> <p id="footer">removing-npm &mdash; npm@1.1.26</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -24,7 +24,7 @@ the "start" script.</p>
<ul><li><a href="../doc/run-script.html">run-script(1)</a></li><li><a href="../doc/scripts.html">scripts(1)</a></li><li><a href="../doc/test.html">test(1)</a></li><li><a href="../doc/start.html">start(1)</a></li><li><a href="../doc/stop.html">stop(1)</a></li></ul> <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.1.25</p> <p id="footer">restart &mdash; npm@1.1.26</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.1.25</p> <p id="footer">root &mdash; npm@1.1.26</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.1.25</p> <p id="footer">run-script &mdash; npm@1.1.26</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -177,7 +177,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.1.25</p> <p id="footer">scripts &mdash; npm@1.1.26</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.1.25</p> <p id="footer">search &mdash; npm@1.1.26</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.1.25</p> <p id="footer">semver &mdash; npm@1.1.26</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.1.25</p> <p id="footer">shrinkwrap &mdash; npm@1.1.26</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.1.25</p> <p id="footer">star &mdash; npm@1.1.26</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.1.25</p> <p id="footer">start &mdash; npm@1.1.26</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.1.25</p> <p id="footer">stop &mdash; npm@1.1.26</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.1.25</p> <p id="footer">submodule &mdash; npm@1.1.26</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.1.25</p> <p id="footer">tag &mdash; npm@1.1.26</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.1.25</p> <p id="footer">test &mdash; npm@1.1.26</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.1.25</p> <p id="footer">uninstall &mdash; npm@1.1.26</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.1.25</p> <p id="footer">unpublish &mdash; npm@1.1.26</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.1.25</p> <p id="footer">update &mdash; npm@1.1.26</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -31,7 +31,7 @@ will use it as a commit message when creating a version commit.</p>
<ul><li><a href="../doc/init.html">init(1)</a></li><li><a href="../doc/json.html">json(1)</a></li><li><a href="../doc/semver.html">semver(1)</a></li></ul> <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.1.25</p> <p id="footer">version &mdash; npm@1.1.26</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -88,7 +88,7 @@ the field name.</p>
<ul><li><a href="../doc/search.html">search(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/docs.html">docs(1)</a></li></ul> <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.1.25</p> <p id="footer">view &mdash; npm@1.1.26</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.1.25</p> <p id="footer">whoami &mdash; npm@1.1.26</p>
<script> <script>
;(function () { ;(function () {
var wrapper = document.getElementById("wrapper") var wrapper = document.getElementById("wrapper")

View File

@ -14,7 +14,7 @@ var npm = require("./npm.js")
, fs = require("graceful-fs") , fs = require("graceful-fs")
, path = require("path") , path = require("path")
, lifecycle = require("./utils/lifecycle.js") , lifecycle = require("./utils/lifecycle.js")
, readJson = require("./utils/read-json.js") , readJson = require("read-package-json")
, link = require("./utils/link.js") , link = require("./utils/link.js")
, linkIfExists = link.ifExists , linkIfExists = link.ifExists
, cmdShim = require("./utils/cmd-shim.js") , cmdShim = require("./utils/cmd-shim.js")

View File

@ -37,13 +37,12 @@ var mkdir = require("mkdirp")
, npm = require("./npm.js") , npm = require("./npm.js")
, fs = require("graceful-fs") , fs = require("graceful-fs")
, rm = require("rimraf") , rm = require("rimraf")
, readJson = require("./utils/read-json.js") , readJson = require("read-package-json")
, registry = npm.registry , registry = npm.registry
, log = require("npmlog") , log = require("npmlog")
, path = require("path") , path = require("path")
, output , output
, sha = require("./utils/sha.js") , sha = require("./utils/sha.js")
, find = require("./utils/find.js")
, asyncMap = require("slide").asyncMap , asyncMap = require("slide").asyncMap
, semver = require("semver") , semver = require("semver")
, tar = require("./utils/tar.js") , tar = require("./utils/tar.js")

39
deps/npm/lib/init.js vendored
View File

@ -5,7 +5,6 @@ module.exports = init
var read = require("read") var read = require("read")
, path = require("path") , path = require("path")
, readJson = require("./utils/read-json.js")
, fs = require("graceful-fs") , fs = require("graceful-fs")
, promiseChain = require("./utils/promise-chain.js") , promiseChain = require("./utils/promise-chain.js")
, exec = require("./utils/exec.js") , exec = require("./utils/exec.js")
@ -21,8 +20,15 @@ function init (args, cb) {
log.pause() log.pause()
if (folder.charAt(0) !== "/") folder = path.join(process.cwd(), folder) if (folder.charAt(0) !== "/") folder = path.join(process.cwd(), folder)
readJson(path.join(folder, "package.json"), function (er, data) { fs.readFile(path.join(folder, "package.json"), "utf8", function (er, data) {
if (er) data = {} if (er) data = {}
else try {
data = JSON.parse(data)
} catch (_) {
data = {}
}
if (data.author) data.author = parseAuthor(data.author)
data.author = data.author || data.author = data.author ||
{ name: npm.config.get("init.author.name") { name: npm.config.get("init.author.name")
@ -150,12 +156,8 @@ function init_ (data, folder, cb) {
) )
(cleanupPaths, [data, folder]) (cleanupPaths, [data, folder])
(function (cb) { (function (cb) {
try { data = readJson.processJson(data) } if (data.author) data.author = unparseAuthor(data.author)
catch (er) { return cb(er) }
Object.keys(data)
.filter(function (k) { return k.match(/^_/) })
.forEach(function (k) { delete data[k] })
readJson.unParsePeople(data)
var str = JSON.stringify(data, null, 2) var str = JSON.stringify(data, null, 2)
, msg = "About to write to " , msg = "About to write to "
+ path.join(folder, "package.json") + path.join(folder, "package.json")
@ -236,3 +238,24 @@ function cleanupPath (m, folder) {
if (m.indexOf(folder) === 0) m = path.join(".", m.substr(folder.length)) if (m.indexOf(folder) === 0) m = path.join(".", m.substr(folder.length))
return m return m
} }
function parseAuthor (person) {
if (typeof person !== "string") return person
var name = person.match(/^([^\(<]+)/)
var url = person.match(/\(([^\)]+)\)/)
var email = person.match(/<([^>]+)>/)
var obj = {}
if (name && name[0].trim()) obj.name = name[0].trim()
if (email) obj.email = email[1];
if (url) obj.url = url[1];
return obj
}
function unparseAuthor (a) {
if (!a) return ""
if (typeof a === "string") return a
var s = a.name
if (a.email) s += " <" + a.email + ">"
if (a.url) s += " (" + a.url + ")"
return s
}

View File

@ -57,14 +57,13 @@ install.completion = function (opts, cb) {
var npm = require("./npm.js") var npm = require("./npm.js")
, semver = require("semver") , semver = require("semver")
, readJson = require("./utils/read-json.js") , readJson = require("read-package-json")
, log = require("npmlog") , log = require("npmlog")
, path = require("path") , path = require("path")
, fs = require("graceful-fs") , fs = require("graceful-fs")
, cache = require("./cache.js") , cache = require("./cache.js")
, asyncMap = require("slide").asyncMap , asyncMap = require("slide").asyncMap
, chain = require("slide").chain , chain = require("slide").chain
, relativize = require("./utils/relativize.js")
, output , output
, url = require("url") , url = require("url")
, mkdir = require("mkdirp") , mkdir = require("mkdirp")
@ -174,10 +173,15 @@ function readDependencies (context, where, opts, cb) {
var wrap = context ? context.wrap : null var wrap = context ? context.wrap : null
readJson( path.resolve(where, "package.json") readJson( path.resolve(where, "package.json")
, opts
, function (er, data) { , function (er, data) {
if (er) return cb(er) if (er) return cb(er)
if (opts && opts.dev) {
Object.keys(data.devDependencies || {}).forEach(function (k) {
data.dependencies[k] = data.devDependencies[k]
})
}
if (wrap) { if (wrap) {
log.verbose("readDependencies: using existing wrap", [where, wrap]) log.verbose("readDependencies: using existing wrap", [where, wrap])
var rv = {} var rv = {}
@ -641,14 +645,13 @@ function localLink (target, where, context, cb) {
function resultList (target, where, parentId) { function resultList (target, where, parentId) {
var nm = path.resolve(where, "node_modules") var nm = path.resolve(where, "node_modules")
, targetFolder = path.resolve(nm, target.name) , targetFolder = path.resolve(nm, target.name)
, prettyWhere = relativize(where, process.cwd() + "/x") , prettyWhere = path.relative(process.cwd(), where)
if (prettyWhere === ".") prettyWhere = null if (prettyWhere === ".") prettyWhere = null
if (!npm.config.get("global")) { if (!npm.config.get("global")) {
// print out the folder relative to where we are right now. // print out the folder relative to where we are right now.
// relativize isn't really made for dirs, so you need this hack targetFolder = path.relative(process.cwd(), targetFolder)
targetFolder = relativize(targetFolder, process.cwd()+"/x")
} }
return [ target._id return [ target._id
@ -661,7 +664,7 @@ function resultList (target, where, parentId) {
function installOne_ (target, where, context, cb) { function installOne_ (target, where, context, cb) {
var nm = path.resolve(where, "node_modules") var nm = path.resolve(where, "node_modules")
, targetFolder = path.resolve(nm, target.name) , targetFolder = path.resolve(nm, target.name)
, prettyWhere = relativize(where, process.cwd() + "/x") , prettyWhere = path.relative(process.cwd, where)
, parent = context.parent , parent = context.parent
if (prettyWhere === ".") prettyWhere = null if (prettyWhere === ".") prettyWhere = null

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