mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
Update npm to 1.1.16
This commit is contained in:
1 parent
0b57fee3f8
commit
37ac5e52bf
258 files changed
+2022
-2770
No files matched your search
Vendored
+2
@@ -61,3 +61,5 @@ Andrew Lunny <alunny@gmail.com>
|
||||
Henrik Hodne <dvyjones@binaryhex.com>
|
||||
Adam Blackburn <regality@gmail.com>
|
||||
Kris Windham <kriswindham@gmail.com>
|
||||
Jens Grunert <jens.grunert@gmail.com>
|
||||
Joost-Wim Boekesteijn <joost-wim@boekesteijn.nl>
|
||||
Vendored
+7
@@ -358,6 +358,13 @@ user.
|
||||
|
||||
A proxy to use for outgoing https requests.
|
||||
|
||||
### user-agent
|
||||
|
||||
* Default: npm/{npm.version} node/{process.version}
|
||||
* Type: String
|
||||
|
||||
Sets a User-Agent to the request header
|
||||
|
||||
### ignore
|
||||
|
||||
* Default: ""
|
||||
|
||||
Vendored
+1
-1
@@ -485,7 +485,7 @@ to publish it.
|
||||
|
||||
This is a way to prevent accidental publication of private repositories.
|
||||
If you would like to ensure that a given package is only ever published
|
||||
to a speciic registry (for example, an internal registry),
|
||||
to a specific registry (for example, an internal registry),
|
||||
then use the `publishConfig` hash described below
|
||||
to override the `registry` config param at publish-time.
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -19,7 +19,7 @@
|
||||
<p>This function should not be used programmatically. Instead, just refer
|
||||
to the <code>npm.bin</code> member.</p>
|
||||
</div>
|
||||
<p id="footer">bin — npm@1.1.12</p>
|
||||
<p id="footer">bin — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -25,7 +25,7 @@ optional version number.</p>
|
||||
<p>This command will launch a browser, so this command may not be the most
|
||||
friendly for programmatic use.</p>
|
||||
</div>
|
||||
<p id="footer">bugs — npm@1.1.12</p>
|
||||
<p id="footer">bugs — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -28,7 +28,7 @@ usage, or <code>man 3 npm-<command></code> for programmatic usage.</p>
|
||||
|
||||
<ul><li><a href="../doc/index.html">index(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">commands — npm@1.1.12</p>
|
||||
<p id="footer">commands — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -33,7 +33,7 @@ functions instead.</p>
|
||||
|
||||
<ul><li><a href="../api/npm.html">npm(3)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">config — npm@1.1.12</p>
|
||||
<p id="footer">config — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -30,7 +30,7 @@ install the package.</p></li></ul>
|
||||
|
||||
<ul><li><a href="../api/publish.html">publish(3)</a></li><li><a href="../api/unpublish.html">unpublish(3)</a></li><li><a href="../doc/registry.html">registry(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">deprecate — npm@1.1.12</p>
|
||||
<p id="footer">deprecate — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -25,7 +25,7 @@ optional version number.</p>
|
||||
<p>This command will launch a browser, so this command may not be the most
|
||||
friendly for programmatic use.</p>
|
||||
</div>
|
||||
<p id="footer">docs — npm@1.1.12</p>
|
||||
<p id="footer">docs — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -30,7 +30,7 @@ to open. The package can optionally have a version number attached.</p>
|
||||
<p>Since this command opens an editor in a new process, be careful about where
|
||||
and how this is used.</p>
|
||||
</div>
|
||||
<p id="footer">edit — npm@1.1.12</p>
|
||||
<p id="footer">edit — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -24,7 +24,7 @@ sure to use <code>npm rebuild <pkg></code> if you make any changes.</p>
|
||||
|
||||
<p>The first element in the 'args' parameter must be a package name. After that is the optional command, which can be any number of strings. All of the strings will be combined into one, space-delimited command.</p>
|
||||
</div>
|
||||
<p id="footer">explore — npm@1.1.12</p>
|
||||
<p id="footer">explore — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -32,7 +32,7 @@ Name of the file that matched</li></ul>
|
||||
|
||||
<p>The silent parameter is not neccessary not used, but it may in the future.</p>
|
||||
</div>
|
||||
<p id="footer">help-search — npm@1.1.12</p>
|
||||
<p id="footer">help-search — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -35,7 +35,7 @@ then go ahead and use this programmatically.</p>
|
||||
|
||||
<p><a href="../doc/json.html">json(1)</a></p>
|
||||
</div>
|
||||
<p id="footer">init — npm@1.1.12</p>
|
||||
<p id="footer">init — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -25,7 +25,7 @@ the name of a package to be installed.</p>
|
||||
<p>Finally, 'callback' is a function that will be called when all packages have been
|
||||
installed or when an error has been encountered.</p>
|
||||
</div>
|
||||
<p id="footer">install — npm@1.1.12</p>
|
||||
<p id="footer">install — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -39,7 +39,7 @@ npm.commands.link('redis', cb) # link-install the package</code></pre>
|
||||
<p>Now, any changes to the redis package will be reflected in
|
||||
the package in the current working directory</p>
|
||||
</div>
|
||||
<p id="footer">link — npm@1.1.12</p>
|
||||
<p id="footer">link — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -32,7 +32,7 @@ config object.</p>
|
||||
|
||||
<p>For a list of all the available command-line configs, see <code>npm help config</code></p>
|
||||
</div>
|
||||
<p id="footer">load — npm@1.1.12</p>
|
||||
<p id="footer">load — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -59,7 +59,7 @@ project.</p>
|
||||
This means that if a submodule a same dependency as a parent module, then the
|
||||
dependency will only be output once.</p>
|
||||
</div>
|
||||
<p id="footer">ls — npm@1.1.12</p>
|
||||
<p id="footer">ls — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+2
-2
@@ -24,7 +24,7 @@ npm.load(configObject, function (er, npm) {
|
||||
|
||||
<h2 id="VERSION">VERSION</h2>
|
||||
|
||||
<p>1.1.12</p>
|
||||
<p>1.1.16</p>
|
||||
|
||||
<h2 id="DESCRIPTION">DESCRIPTION</h2>
|
||||
|
||||
@@ -91,7 +91,7 @@ method names. Use the <code>npm.deref</code> method to find the real name.</p>
|
||||
|
||||
<pre><code>var cmd = npm.deref("unp") // cmd === "unpublish"</code></pre>
|
||||
</div>
|
||||
<p id="footer">npm — npm@1.1.12</p>
|
||||
<p id="footer">npm — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -19,7 +19,7 @@ currently outdated.</p>
|
||||
|
||||
<p>If the 'packages' parameter is left out, npm will check all packages.</p>
|
||||
</div>
|
||||
<p id="footer">outdated — npm@1.1.12</p>
|
||||
<p id="footer">outdated — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -34,7 +34,7 @@ that is not implemented at this time.</p>
|
||||
|
||||
<ul><li><a href="../api/publish.html">publish(3)</a></li><li><a href="../doc/registry.html">registry(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">owner — npm@1.1.12</p>
|
||||
<p id="footer">owner — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -25,7 +25,7 @@ overwritten the second time.</p>
|
||||
|
||||
<p>If no arguments are supplied, then npm packs the current package folder.</p>
|
||||
</div>
|
||||
<p id="footer">pack — npm@1.1.12</p>
|
||||
<p id="footer">pack — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -21,7 +21,7 @@
|
||||
|
||||
<p>This function is not useful programmatically</p>
|
||||
</div>
|
||||
<p id="footer">prefix — npm@1.1.12</p>
|
||||
<p id="footer">prefix — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -23,7 +23,7 @@
|
||||
<p>Extraneous packages are packages that are not listed on the parent
|
||||
package's dependencies list.</p>
|
||||
</div>
|
||||
<p id="footer">prune — npm@1.1.12</p>
|
||||
<p id="footer">prune — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -32,7 +32,7 @@ the registry. Overwrites when the "force" environment variable is set.</p>
|
||||
|
||||
<ul><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/adduser.html">adduser(1)</a></li><li><a href="../api/owner.html">owner(3)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">publish — npm@1.1.12</p>
|
||||
<p id="footer">publish — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -22,7 +22,7 @@ the new binary. If no 'packages' parameter is specify, every package will be reb
|
||||
|
||||
<p>See <code>npm help build</code></p>
|
||||
</div>
|
||||
<p id="footer">rebuild — npm@1.1.12</p>
|
||||
<p id="footer">rebuild — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -27,7 +27,7 @@ in the <code>packages</code> parameter.</p>
|
||||
|
||||
<ul><li><a href="../api/start.html">start(3)</a></li><li><a href="../api/stop.html">stop(3)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">restart — npm@1.1.12</p>
|
||||
<p id="footer">restart — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -21,7 +21,7 @@
|
||||
|
||||
<p>This function is not useful programmatically.</p>
|
||||
</div>
|
||||
<p id="footer">root — npm@1.1.12</p>
|
||||
<p id="footer">root — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -29,7 +29,7 @@ assumed to be the command to run. All other elements are ignored.</p>
|
||||
|
||||
<ul><li><a href="../doc/scripts.html">scripts(1)</a></li><li><a href="../api/test.html">test(3)</a></li><li><a href="../api/start.html">start(3)</a></li><li><a href="../api/restart.html">restart(3)</a></li><li><a href="../api/stop.html">stop(3)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">run-script — npm@1.1.12</p>
|
||||
<p id="footer">run-script — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -32,7 +32,7 @@ excluded term (the "searchexclude" config). The search is case insensitive
|
||||
and doesn't try to read your mind (it doesn't do any verb tense matching or the
|
||||
like).</p>
|
||||
</div>
|
||||
<p id="footer">search — npm@1.1.12</p>
|
||||
<p id="footer">search — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -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
|
||||
been saved.</p>
|
||||
</div>
|
||||
<p id="footer">shrinkwrap — npm@1.1.12</p>
|
||||
<p id="footer">shrinkwrap — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -19,7 +19,7 @@
|
||||
<p>npm can run tests on multiple packages. Just specify multiple packages
|
||||
in the <code>packages</code> parameter.</p>
|
||||
</div>
|
||||
<p id="footer">start — npm@1.1.12</p>
|
||||
<p id="footer">start — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -19,7 +19,7 @@
|
||||
<p>npm can run stop on multiple packages. Just specify multiple packages
|
||||
in the <code>packages</code> parameter.</p>
|
||||
</div>
|
||||
<p id="footer">stop — npm@1.1.12</p>
|
||||
<p id="footer">stop — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -33,7 +33,7 @@ dependencies into the submodule folder.</p>
|
||||
|
||||
<ul><li>npm help json</li><li>git help submodule</li></ul>
|
||||
</div>
|
||||
<p id="footer">submodule — npm@1.1.12</p>
|
||||
<p id="footer">submodule — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -29,7 +29,7 @@ parameter is missing or falsey (empty), the default froom the config will be
|
||||
used. For more information about how to set this config, check
|
||||
<code>man 3 npm-config</code> for programmatic usage or <code>man npm-config</code> for cli usage.</p>
|
||||
</div>
|
||||
<p id="footer">tag — npm@1.1.12</p>
|
||||
<p id="footer">tag — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -22,7 +22,7 @@ true.</p>
|
||||
<p>npm can run tests on multiple packages. Just specify multiple packages
|
||||
in the <code>packages</code> parameter.</p>
|
||||
</div>
|
||||
<p id="footer">test — npm@1.1.12</p>
|
||||
<p id="footer">test — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -22,7 +22,7 @@ the name of a package to be uninstalled.</p>
|
||||
<p>Finally, 'callback' is a function that will be called when all packages have been
|
||||
uninstalled or when an error has been encountered.</p>
|
||||
</div>
|
||||
<p id="footer">uninstall — npm@1.1.12</p>
|
||||
<p id="footer">uninstall — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -26,7 +26,7 @@ is what is meant.</p>
|
||||
<p>If no version is specified, or if all versions are removed then
|
||||
the root package entry is removed from the registry entirely.</p>
|
||||
</div>
|
||||
<p id="footer">unpublish — npm@1.1.12</p>
|
||||
<p id="footer">unpublish — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -18,7 +18,7 @@
|
||||
|
||||
<p>The 'packages' argument is an array of packages to update. The 'callback' parameter will be called when done or when an error occurs.</p>
|
||||
</div>
|
||||
<p id="footer">update — npm@1.1.12</p>
|
||||
<p id="footer">update — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -24,7 +24,7 @@ fail if the repo is not clean.</p>
|
||||
parameter. The difference, however, is this function will fail if it does
|
||||
not have exactly one element. The only element should be a version number.</p>
|
||||
</div>
|
||||
<p id="footer">version — npm@1.1.12</p>
|
||||
<p id="footer">version — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -99,7 +99,7 @@ the field name.</p>
|
||||
|
||||
<p>corresponding to the list of fields selected.</p>
|
||||
</div>
|
||||
<p id="footer">view — npm@1.1.12</p>
|
||||
<p id="footer">view — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -21,7 +21,7 @@
|
||||
|
||||
<p>This function is not useful programmatically</p>
|
||||
</div>
|
||||
<p id="footer">whoami — npm@1.1.12</p>
|
||||
<p id="footer">whoami — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -267,7 +267,7 @@ will no doubt tell you to put the output in a gist or email.</p>
|
||||
|
||||
<ul><li><a href="../doc/npm.html">npm(1)</a></li><li><a href="../doc/faq.html">faq(1)</a></li><li><a href="../doc/help.html">help(1)</a></li><li><a href="../doc/index.html">index(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer"><a href="../doc/README.html">README</a> — npm@1.1.12</p>
|
||||
<p id="footer"><a href="../doc/README.html">README</a> — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -39,7 +39,7 @@ authorize on a new machine.</p>
|
||||
|
||||
<ul><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/owner.html">owner(1)</a></li><li><a href="../doc/whoami.html">whoami(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">adduser — npm@1.1.12</p>
|
||||
<p id="footer">adduser — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -20,7 +20,7 @@
|
||||
|
||||
<ul><li><a href="../doc/prefix.html">prefix(1)</a></li><li><a href="../doc/root.html">root(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/config.html">config(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">bin — npm@1.1.12</p>
|
||||
<p id="footer">bin — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -36,7 +36,7 @@ config param.</p>
|
||||
|
||||
<ul><li><a href="../doc/docs.html">docs(1)</a></li><li><a href="../doc/view.html">view(1)</a></li><li><a href="../doc/publish.html">publish(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/json.html">json(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">bugs — npm@1.1.12</p>
|
||||
<p id="footer">bugs — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -25,7 +25,7 @@ A folder containing a <code>package.json</code> file in its root.</li></ul>
|
||||
|
||||
<ul><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/link.html">link(1)</a></li><li><a href="../doc/scripts.html">scripts(1)</a></li><li><a href="../doc/json.html">json(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">build — npm@1.1.12</p>
|
||||
<p id="footer">build — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -20,7 +20,7 @@ install packages into the local space.</p>
|
||||
|
||||
<ul><li><a href="../doc/install.html">install(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">bundle — npm@1.1.12</p>
|
||||
<p id="footer">bundle — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -66,7 +66,7 @@ they do not make an HTTP request to the registry.</p>
|
||||
|
||||
<ul><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/publish.html">publish(1)</a></li><li><a href="../doc/pack.html">pack(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">cache — npm@1.1.12</p>
|
||||
<p id="footer">cache — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -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>
|
||||
</div>
|
||||
<p id="footer">changelog — npm@1.1.12</p>
|
||||
<p id="footer">changelog — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -191,7 +191,7 @@ set to anything."</p>
|
||||
|
||||
<ul><li><a href="../doc/developers.html">developers(1)</a></li><li><a href="../doc/faq.html">faq(1)</a></li><li><a href="../doc/npm.html">npm(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">coding-style — npm@1.1.12</p>
|
||||
<p id="footer">coding-style — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -33,7 +33,7 @@ completions based on the arguments.</p>
|
||||
|
||||
<ul><li><a href="../doc/developers.html">developers(1)</a></li><li><a href="../doc/faq.html">faq(1)</a></li><li><a href="../doc/npm.html">npm(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">completion — npm@1.1.12</p>
|
||||
<p id="footer">completion — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+7
-1
@@ -320,6 +320,12 @@ user.</p>
|
||||
|
||||
<p>A proxy to use for outgoing https requests.</p>
|
||||
|
||||
<h3 id="user-agent">user-agent</h3>
|
||||
|
||||
<ul><li>Default: npm/{npm.version} node/{process.version}</li><li>Type: String</li></ul>
|
||||
|
||||
<p>Sets a User-Agent to the request header</p>
|
||||
|
||||
<h3 id="ignore">ignore</h3>
|
||||
|
||||
<ul><li>Default: ""</li><li>Type: string</li></ul>
|
||||
@@ -662,7 +668,7 @@ then answer "no" to any prompt.</p>
|
||||
|
||||
<ul><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/npm.html">npm(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">config — npm@1.1.12</p>
|
||||
<p id="footer">config — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -29,7 +29,7 @@ something like this:</p>
|
||||
|
||||
<ul><li><a href="../doc/publish.html">publish(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">deprecate — npm@1.1.12</p>
|
||||
<p id="footer">deprecate — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -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>
|
||||
</div>
|
||||
<p id="footer">developers — npm@1.1.12</p>
|
||||
<p id="footer">developers — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -80,7 +80,7 @@ license statement)</li><li>Illegal content.</li></ol>
|
||||
|
||||
<ul><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/owner.html">owner(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">disputes — npm@1.1.12</p>
|
||||
<p id="footer">disputes — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -37,7 +37,7 @@ config param.</p>
|
||||
|
||||
<ul><li><a href="../doc/view.html">view(1)</a></li><li><a href="../doc/publish.html">publish(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/json.html">json(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">docs — npm@1.1.12</p>
|
||||
<p id="footer">docs — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -37,7 +37,7 @@ or <code>"notepad"</code> on Windows.</li><li>Type: path</li></ul>
|
||||
|
||||
<ul><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/explore.html">explore(1)</a></li><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/config.html">config(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">edit — npm@1.1.12</p>
|
||||
<p id="footer">edit — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -40,7 +40,7 @@ Windows</li><li>Type: path</li></ul>
|
||||
|
||||
<ul><li><a href="../doc/submodule.html">submodule(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/edit.html">edit(1)</a></li><li><a href="../doc/rebuild.html">rebuild(1)</a></li><li><a href="../doc/build.html">build(1)</a></li><li><a href="../doc/install.html">install(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">explore — npm@1.1.12</p>
|
||||
<p id="footer">explore — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -241,7 +241,7 @@ We'll have someone kick it or something.</p>
|
||||
|
||||
<ul><li><a href="../doc/npm.html">npm(1)</a></li><li><a href="../doc/developers.html">developers(1)</a></li><li><a href="../doc/json.html">json(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">faq — npm@1.1.12</p>
|
||||
<p id="footer">faq — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -205,7 +205,7 @@ cannot be found elsewhere. See <code><a href="../doc/json.html">json(1)</a></co
|
||||
|
||||
<ul><li><a href="../doc/faq.html">faq(1)</a></li><li><a href="../doc/json.html">json(1)</a></li><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/pack.html">pack(1)</a></li><li><a href="../doc/cache.html">cache(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/publish.html">publish(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">folders — npm@1.1.12</p>
|
||||
<p id="footer">folders — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -38,7 +38,7 @@ where the terms were found in the documentation.</p>
|
||||
|
||||
<ul><li><a href="../doc/npm.html">npm(1)</a></li><li><a href="../doc/faq.html">faq(1)</a></li><li><a href="../doc/help.html">help(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">help-search — npm@1.1.12</p>
|
||||
<p id="footer">help-search — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -36,7 +36,7 @@ matches are equivalent to specifying a topic name.</p>
|
||||
|
||||
<ul><li><a href="../doc/npm.html">npm(1)</a></li><li><a href="../doc/README.html">README</a></li><li><a href="../doc/faq.html">faq(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/json.html">json(1)</a></li><li><a href="../doc/help-search.html">help-search(1)</a></li><li><a href="../doc/index.html">index(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">help — npm@1.1.12</p>
|
||||
<p id="footer">help — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -384,7 +384,7 @@
|
||||
|
||||
<p> Display npm username</p>
|
||||
</div>
|
||||
<p id="footer">index — npm@1.1.12</p>
|
||||
<p id="footer">index — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -29,7 +29,7 @@ without a really good reason to do so.</p>
|
||||
|
||||
<ul><li><a href="../doc/json.html">json(1)</a></li><li><a href="../doc/version.html">version(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">init — npm@1.1.12</p>
|
||||
<p id="footer">init — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -136,7 +136,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>
|
||||
</div>
|
||||
<p id="footer">install — npm@1.1.12</p>
|
||||
<p id="footer">install — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+2
-2
@@ -457,7 +457,7 @@ to publish it.</p>
|
||||
|
||||
<p>This is a way to prevent accidental publication of private repositories.
|
||||
If you would like to ensure that a given package is only ever published
|
||||
to a speciic registry (for example, an internal registry),
|
||||
to a specific registry (for example, an internal registry),
|
||||
then use the <code>publishConfig</code> hash described below
|
||||
to override the <code>registry</code> config param at publish-time.</p>
|
||||
|
||||
@@ -478,7 +478,7 @@ overridden.</p>
|
||||
|
||||
<ul><li><a href="../doc/semver.html">semver(1)</a></li><li><a href="../doc/init.html">init(1)</a></li><li><a href="../doc/version.html">version(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/help.html">help(1)</a></li><li><a href="../doc/faq.html">faq(1)</a></li><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/publish.html">publish(1)</a></li><li><a href="../doc/rm.html">rm(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">json — npm@1.1.12</p>
|
||||
<p id="footer">json — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -58,7 +58,7 @@ installation target into your project's <code>node_modules</code> folder.</p>
|
||||
|
||||
<ul><li><a href="../doc/developers.html">developers(1)</a></li><li><a href="../doc/faq.html">faq(1)</a></li><li><a href="../doc/json.html">json(1)</a></li><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/config.html">config(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">link — npm@1.1.12</p>
|
||||
<p id="footer">link — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -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>
|
||||
</div>
|
||||
<p id="footer">list — npm@1.1.12</p>
|
||||
<p id="footer">list — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+2
-2
@@ -14,7 +14,7 @@
|
||||
|
||||
<h2 id="VERSION">VERSION</h2>
|
||||
|
||||
<p>1.1.12</p>
|
||||
<p>1.1.16</p>
|
||||
|
||||
<h2 id="DESCRIPTION">DESCRIPTION</h2>
|
||||
|
||||
@@ -135,7 +135,7 @@ will no doubt tell you to put the output in a gist or email.</p>
|
||||
|
||||
<ul><li><a href="../doc/help.html">help(1)</a></li><li><a href="../doc/faq.html">faq(1)</a></li><li><a href="../doc/README.html">README</a></li><li><a href="../doc/json.html">json(1)</a></li><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/index.html">index(1)</a></li><li><a href="../api/npm.html">npm(3)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm — npm@1.1.12</p>
|
||||
<p id="footer">npm — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -21,7 +21,7 @@ packages are currently outdated.</p>
|
||||
|
||||
<ul><li><a href="../doc/update.html">update(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">outdated — npm@1.1.12</p>
|
||||
<p id="footer">outdated — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -34,7 +34,7 @@ that is not implemented at this time.</p>
|
||||
|
||||
<ul><li><a href="../doc/publish.html">publish(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/adduser.html">adduser(1)</a></li><li><a href="../doc/disputes.html">disputes(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">owner — npm@1.1.12</p>
|
||||
<p id="footer">owner — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -29,7 +29,7 @@ overwritten the second time.</p>
|
||||
|
||||
<ul><li><a href="../doc/cache.html">cache(1)</a></li><li><a href="../doc/publish.html">publish(1)</a></li><li><a href="../doc/config.html">config(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">pack — npm@1.1.12</p>
|
||||
<p id="footer">pack — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -20,7 +20,7 @@
|
||||
|
||||
<ul><li><a href="../doc/root.html">root(1)</a></li><li><a href="../doc/bin.html">bin(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/config.html">config(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">prefix — npm@1.1.12</p>
|
||||
<p id="footer">prefix — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -25,7 +25,7 @@ package's dependencies list.</p>
|
||||
|
||||
<ul><li><a href="../doc/rm.html">rm(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/list.html">list(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">prune — npm@1.1.12</p>
|
||||
<p id="footer">prune — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -29,7 +29,7 @@ the registry. Overwrites when the "--force" flag is set.</p>
|
||||
|
||||
<ul><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/adduser.html">adduser(1)</a></li><li><a href="../doc/owner.html">owner(1)</a></li><li><a href="../doc/deprecate.html">deprecate(1)</a></li><li><a href="../doc/tag.html">tag(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">publish — npm@1.1.12</p>
|
||||
<p id="footer">publish — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -25,7 +25,7 @@ the new binary.</p>
|
||||
|
||||
<ul><li><a href="../doc/build.html">build(1)</a></li><li><a href="../doc/install.html">install(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">rebuild — npm@1.1.12</p>
|
||||
<p id="footer">rebuild — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -97,7 +97,7 @@ ask for help on the <a href="mailto:npm-@googlegroups.com">npm-@googlegroups.com
|
||||
|
||||
<ul><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/developers.html">developers(1)</a></li><li><a href="../doc/disputes.html">disputes(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">registry — npm@1.1.12</p>
|
||||
<p id="footer">registry — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -58,7 +58,7 @@ modules. To track those down, you can do the following:</p>
|
||||
|
||||
<ul><li><a href="../doc/README.html">README</a></li><li><a href="../doc/rm.html">rm(1)</a></li><li><a href="../doc/prune.html">prune(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">removing-npm — npm@1.1.12</p>
|
||||
<p id="footer">removing-npm — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -24,7 +24,7 @@ the "start" script.</p>
|
||||
|
||||
<ul><li><a href="../doc/run-script.html">run-script(1)</a></li><li><a href="../doc/scripts.html">scripts(1)</a></li><li><a href="../doc/test.html">test(1)</a></li><li><a href="../doc/start.html">start(1)</a></li><li><a href="../doc/stop.html">stop(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">restart — npm@1.1.12</p>
|
||||
<p id="footer">restart — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -20,7 +20,7 @@
|
||||
|
||||
<ul><li><a href="../doc/prefix.html">prefix(1)</a></li><li><a href="../doc/bin.html">bin(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/config.html">config(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">root — npm@1.1.12</p>
|
||||
<p id="footer">root — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -23,7 +23,7 @@ called directly, as well.</p>
|
||||
|
||||
<ul><li><a href="../doc/scripts.html">scripts(1)</a></li><li><a href="../doc/test.html">test(1)</a></li><li><a href="../doc/start.html">start(1)</a></li><li><a href="../doc/restart.html">restart(1)</a></li><li><a href="../doc/stop.html">stop(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">run-script — npm@1.1.12</p>
|
||||
<p id="footer">run-script — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -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>
|
||||
</div>
|
||||
<p id="footer">scripts — npm@1.1.12</p>
|
||||
<p id="footer">scripts — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -24,7 +24,7 @@ expression characters must be escaped or quoted in most shells.)</p>
|
||||
|
||||
<ul><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/view.html">view(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">search — npm@1.1.12</p>
|
||||
<p id="footer">search — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -104,7 +104,7 @@ that satisfies the range, or null if none of them do.</li></ul>
|
||||
|
||||
<ul><li><a href="../doc/json.html">json(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">semver — npm@1.1.12</p>
|
||||
<p id="footer">semver — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -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>
|
||||
</div>
|
||||
<p id="footer">shrinkwrap — npm@1.1.12</p>
|
||||
<p id="footer">shrinkwrap — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -26,7 +26,7 @@ a vaguely positive way to show that you care.</p>
|
||||
|
||||
<ul><li><a href="../doc/view.html">view(1)</a></li><li><a href="../doc/whoami.html">whoami(1)</a></li><li><a href="../doc/adduser.html">adduser(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">star — npm@1.1.12</p>
|
||||
<p id="footer">star — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -20,7 +20,7 @@
|
||||
|
||||
<ul><li><a href="../doc/run-script.html">run-script(1)</a></li><li><a href="../doc/scripts.html">scripts(1)</a></li><li><a href="../doc/test.html">test(1)</a></li><li><a href="../doc/restart.html">restart(1)</a></li><li><a href="../doc/stop.html">stop(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">start — npm@1.1.12</p>
|
||||
<p id="footer">start — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -20,7 +20,7 @@
|
||||
|
||||
<ul><li><a href="../doc/run-script.html">run-script(1)</a></li><li><a href="../doc/scripts.html">scripts(1)</a></li><li><a href="../doc/test.html">test(1)</a></li><li><a href="../doc/start.html">start(1)</a></li><li><a href="../doc/restart.html">restart(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">stop — npm@1.1.12</p>
|
||||
<p id="footer">stop — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -33,7 +33,7 @@ dependencies into the submodule folder.</p>
|
||||
|
||||
<ul><li><a href="../doc/json.html">json(1)</a></li><li>git help submodule</li></ul>
|
||||
</div>
|
||||
<p id="footer">submodule — npm@1.1.12</p>
|
||||
<p id="footer">submodule — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -21,7 +21,7 @@
|
||||
|
||||
<ul><li><a href="../doc/publish.html">publish(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/config.html">config(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">tag — npm@1.1.12</p>
|
||||
<p id="footer">tag — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -23,7 +23,7 @@ true.</p>
|
||||
|
||||
<ul><li><a href="../doc/run-script.html">run-script(1)</a></li><li><a href="../doc/scripts.html">scripts(1)</a></li><li><a href="../doc/start.html">start(1)</a></li><li><a href="../doc/restart.html">restart(1)</a></li><li><a href="../doc/stop.html">stop(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">test — npm@1.1.12</p>
|
||||
<p id="footer">test — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -22,7 +22,7 @@ on its behalf.</p>
|
||||
|
||||
<ul><li><a href="../doc/prune.html">prune(1)</a></li><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/config.html">config(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">uninstall — npm@1.1.12</p>
|
||||
<p id="footer">uninstall — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -34,7 +34,7 @@ the root package entry is removed from the registry entirely.</p>
|
||||
|
||||
<ul><li><a href="../doc/deprecate.html">deprecate(1)</a></li><li><a href="../doc/publish.html">publish(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/adduser.html">adduser(1)</a></li><li><a href="../doc/owner.html">owner(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">unpublish — npm@1.1.12</p>
|
||||
<p id="footer">unpublish — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -23,7 +23,7 @@
|
||||
|
||||
<ul><li><a href="../doc/install.html">install(1)</a></li><li><a href="../doc/outdated.html">outdated(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/folders.html">folders(1)</a></li><li><a href="../doc/list.html">list(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">update — npm@1.1.12</p>
|
||||
<p id="footer">update — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -31,7 +31,7 @@ will use it as a commit message when creating a version commit.</p>
|
||||
|
||||
<ul><li><a href="../doc/init.html">init(1)</a></li><li><a href="../doc/json.html">json(1)</a></li><li><a href="../doc/semver.html">semver(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">version — npm@1.1.12</p>
|
||||
<p id="footer">version — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -88,7 +88,7 @@ the field name.</p>
|
||||
|
||||
<ul><li><a href="../doc/search.html">search(1)</a></li><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/docs.html">docs(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">view — npm@1.1.12</p>
|
||||
<p id="footer">view — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -20,7 +20,7 @@
|
||||
|
||||
<ul><li><a href="../doc/config.html">config(1)</a></li><li><a href="../doc/adduser.html">adduser(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">whoami — npm@1.1.12</p>
|
||||
<p id="footer">whoami — npm@1.1.16</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
||||
Vendored
+1
-1
@@ -28,7 +28,7 @@ function bugs (args, cb) {
|
||||
}
|
||||
if (repo) {
|
||||
if (Array.isArray(repo)) repo = repo.shift()
|
||||
if (repo.url) repo = repo.url
|
||||
if (repo.hasOwnProperty("url")) repo = repo.url
|
||||
log.verbose(repo, "repository")
|
||||
if (repo && repo.match(/^(https?:\/\/|git(:\/\/|@))github.com/)) {
|
||||
return open(repo.replace(/^git(@|:\/\/)/, "http://")
|
||||
|
||||
Vendored
+44
-46
@@ -3,11 +3,10 @@
|
||||
/*
|
||||
adding a folder:
|
||||
1. tar into tmp/random/package.tgz
|
||||
2. untar into tmp/random/contents/{blah}
|
||||
3. rename {blah} to "package"
|
||||
4. tar tmp/random/contents/package to cache/n/v/package.tgz
|
||||
5. untar cache/n/v/package.tgz into cache/n/v/package
|
||||
6. rm tmp/random
|
||||
2. untar into tmp/random/contents/package, stripping one dir piece
|
||||
3. tar tmp/random/contents/package to cache/n/v/package.tgz
|
||||
4. untar cache/n/v/package.tgz into cache/n/v/package
|
||||
5. rm tmp/random
|
||||
|
||||
Adding a url:
|
||||
1. fetch to tmp/random/package.tgz
|
||||
@@ -32,7 +31,7 @@ exports.read = read
|
||||
exports.clean = clean
|
||||
exports.unpack = unpack
|
||||
|
||||
var mkdir = require("./utils/mkdir-p.js")
|
||||
var mkdir = require("mkdirp")
|
||||
, exec = require("./utils/exec.js")
|
||||
, fetch = require("./utils/fetch.js")
|
||||
, npm = require("./npm.js")
|
||||
@@ -50,6 +49,7 @@ var mkdir = require("./utils/mkdir-p.js")
|
||||
, tar = require("./utils/tar.js")
|
||||
, fileCompletion = require("./utils/completion/file-completion.js")
|
||||
, url = require("url")
|
||||
, chownr = require("chownr")
|
||||
|
||||
cache.usage = "npm cache add <tarball file>"
|
||||
+ "\nnpm cache add <folder>"
|
||||
@@ -634,7 +634,7 @@ function getCacheStat (cb) {
|
||||
}
|
||||
|
||||
function makeCacheDir (cb) {
|
||||
if (!process.getuid) return mkdir(npm.cache, npm.modes.exec, cb)
|
||||
if (!process.getuid) return mkdir(npm.cache, cb)
|
||||
|
||||
var uid = +process.getuid()
|
||||
, gid = +process.getgid()
|
||||
@@ -645,18 +645,28 @@ function makeCacheDir (cb) {
|
||||
}
|
||||
if (uid !== 0 || !process.env.HOME) {
|
||||
cacheStat = {uid: uid, gid: gid}
|
||||
return mkdir(npm.cache, npm.modes.exec, uid, gid, function (er) {
|
||||
return cb(er, cacheStat)
|
||||
})
|
||||
return mkdir(npm.cache, afterMkdir)
|
||||
}
|
||||
|
||||
fs.stat(process.env.HOME, function (er, st) {
|
||||
if (er) return log.er(cb, "homeless?")(er)
|
||||
cacheStat = st
|
||||
log.silly([st.uid, st.gid], "uid, gid for cache dir")
|
||||
return mkdir(npm.cache, npm.modes.exec, st.uid, st.gid, function (er) {
|
||||
return mkdir(npm.cache, afterMkdir)
|
||||
})
|
||||
|
||||
function afterMkdir (er, made) {
|
||||
if (er || !cacheStat || isNaN(cacheStat.uid) || isNaN(cacheStat.gid)) {
|
||||
return cb(er, cacheStat)
|
||||
}
|
||||
|
||||
if (!made) return cb(er, cacheStat)
|
||||
|
||||
// ensure that the ownership is correct.
|
||||
chownr(made, cacheStat.uid, cacheStat.gid, function (er) {
|
||||
return cb(er, cacheStat)
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -734,9 +744,20 @@ function addLocalDirectory (p, name, cb) {
|
||||
, tgz = placeDirect ? placed : tmptgz
|
||||
, doFancyCrap = p.indexOf(npm.tmp) !== 0
|
||||
&& p.indexOf(npm.cache) !== 0
|
||||
tar.pack(tgz, p, data, doFancyCrap, function (er) {
|
||||
if (er) return log.er(cb,"couldn't pack "+p+ " to "+tgz)(er)
|
||||
addLocalTarball(tgz, name, cb)
|
||||
getCacheStat(function (er, cs) {
|
||||
mkdir(path.dirname(tgz), function (er, made) {
|
||||
if (er) return cb(er)
|
||||
tar.pack(tgz, p, data, doFancyCrap, function (er) {
|
||||
if (er) return log.er(cb,"couldn't pack "+p+ " to "+tgz)(er)
|
||||
|
||||
if (er || !cs || isNaN(cs.uid) || isNaN(cs.gid)) return cb()
|
||||
|
||||
chownr(made || tgz, cs.uid, cs.gid, function (er) {
|
||||
if (er) return cb(er)
|
||||
addLocalTarball(tgz, name, cb)
|
||||
})
|
||||
})
|
||||
})
|
||||
})
|
||||
})
|
||||
}
|
||||
@@ -745,38 +766,15 @@ function addTmpTarball (tgz, name, cb) {
|
||||
if (!cb) cb = name, name = ""
|
||||
getCacheStat(function (er, cs) {
|
||||
if (er) return cb(er)
|
||||
return addTmpTarball_(tgz, name, cs.uid, cs.gid, cb)
|
||||
})
|
||||
}
|
||||
|
||||
function addTmpTarball_ (tgz, name, uid, gid, cb) {
|
||||
var contents = path.dirname(tgz)
|
||||
tar.unpack( tgz, path.resolve(contents, "package")
|
||||
, null, null
|
||||
, uid, gid
|
||||
, function (er) {
|
||||
if (er) {
|
||||
return cb(er)
|
||||
}
|
||||
fs.readdir(contents, function (er, folder) {
|
||||
if (er) return log.er(cb, "couldn't readdir "+contents)(er)
|
||||
log.verbose(folder, "tarball contents")
|
||||
if (folder.length > 1) {
|
||||
folder = folder.filter(function (f) {
|
||||
return !f.match(/^\.|^tmp\.tgz$/)
|
||||
})
|
||||
var contents = path.dirname(tgz)
|
||||
tar.unpack( tgz, path.resolve(contents, "package")
|
||||
, null, null
|
||||
, cs.uid, cs.gid
|
||||
, function (er) {
|
||||
if (er) {
|
||||
return cb(er)
|
||||
}
|
||||
if (folder.length > 1) {
|
||||
log.warn(folder.slice(1).join("\n")
|
||||
,"extra junk in folder, ignoring")
|
||||
}
|
||||
if (!folder.length) return cb(new Error("Empty package tarball"))
|
||||
folder = path.join(contents, folder[0])
|
||||
var newName = path.join(contents, "package")
|
||||
fs.rename(folder, newName, function (er) {
|
||||
if (er) return log.er(cb, "couldn't rename "+folder+" to package")(er)
|
||||
addLocalDirectory(newName, name, cb)
|
||||
})
|
||||
addLocalDirectory(path.resolve(contents, "package"), name, cb)
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -25,7 +25,7 @@ function docs (args, cb) {
|
||||
if (homepage) return open(homepage, cb)
|
||||
if (repo) {
|
||||
if (Array.isArray(repo)) repo = repo.shift()
|
||||
if (repo.url) repo = repo.url
|
||||
if (repo.hasOwnProperty("url")) repo = repo.url
|
||||
log.verbose(repo, "repository")
|
||||
if (repo) {
|
||||
return open(repo.replace(/^git(@|:\/\/)/, 'http://')
|
||||
|
||||
Loaded 100 of 258 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user