Upgrade npm to 1.1.25
This commit is contained in:
parent
284816ee9f
commit
13198357e9
5
deps/npm/LICENSE
vendored
5
deps/npm/LICENSE
vendored
@ -49,6 +49,11 @@ and are not covered by this license.
|
||||
"npm Logo" created by Mathias Pettersson and Brian Hammond,
|
||||
used with permission.
|
||||
|
||||
"Gubblebum Blocky" font
|
||||
Copyright (c) 2007 by Tjarda Koster, http://jelloween.deviantart.com
|
||||
included for use in the npm website and documentation,
|
||||
used with permission.
|
||||
|
||||
This program uses "node-uuid", Copyright (c) 2010 Robert Kieffer,
|
||||
according to the terms of the MIT license.
|
||||
|
||||
|
12
deps/npm/bin/npm-cli.js
vendored
12
deps/npm/bin/npm-cli.js
vendored
@ -15,9 +15,9 @@ if (typeof WScript !== "undefined") {
|
||||
|
||||
process.title = "npm"
|
||||
|
||||
var log = require("../lib/utils/log.js")
|
||||
log.waitForConfig()
|
||||
log.info("ok", "it worked if it ends with")
|
||||
var log = require("npmlog")
|
||||
log.pause() // will be unpaused when config is loaded.
|
||||
log.info("it worked if it ends with", "ok")
|
||||
|
||||
var fs = require("graceful-fs")
|
||||
, path = require("path")
|
||||
@ -36,7 +36,7 @@ if (path.basename(process.argv[1]).slice(-1) === "g") {
|
||||
process.argv.splice(1, 1, "npm", "-g")
|
||||
}
|
||||
|
||||
log.verbose(process.argv, "cli")
|
||||
log.verbose("cli", process.argv)
|
||||
|
||||
var conf = nopt(types, shorthands)
|
||||
npm.argv = conf.argv.remain
|
||||
@ -56,8 +56,8 @@ if (conf.versions) {
|
||||
return
|
||||
}
|
||||
|
||||
log.info("npm@"+npm.version, "using")
|
||||
log.info("node@"+process.version, "using")
|
||||
log.info("using", "npm@%s", npm.version)
|
||||
log.info("using", "node@%s", process.version)
|
||||
|
||||
// make sure that this version of node works with this version of npm.
|
||||
var semver = require("semver")
|
||||
|
21
deps/npm/doc/cli/coding-style.md
vendored
21
deps/npm/doc/cli/coding-style.md
vendored
@ -129,29 +129,18 @@ Just send the error message back as the first argument to the callback.
|
||||
Always create a new Error object with your message. Don't just return a
|
||||
string message to the callback. Stack traces are handy.
|
||||
|
||||
Use the `require("./utils/log").er` function. It takes a callback and an
|
||||
error message, and returns an object that will report the message in the
|
||||
event of a failure. It's quite handy.
|
||||
|
||||
function myThing (args, cb) {
|
||||
getData(args, function (er, data) {
|
||||
if (er) return log.er(cb, "Couldn't get data")(er)
|
||||
doSomethingElse(data, cb)
|
||||
})
|
||||
}
|
||||
function justHasToWork (cb) {
|
||||
doSomething(log.er(cb, "the doSomething failed."))
|
||||
}
|
||||
|
||||
## Logging
|
||||
|
||||
Logging is done using the [npmlog](https://github.com/isaacs/npmlog)
|
||||
utility.
|
||||
|
||||
Please clean up logs when they are no longer helpful. In particular,
|
||||
logging the same object over and over again is not helpful. Logs should
|
||||
report what's happening so that it's easier to track down where a fault
|
||||
occurs.
|
||||
|
||||
Use appropriate log levels. The default log() function logs at the
|
||||
"info" level. See `npm-config(1)` and search for "loglevel".
|
||||
Use appropriate log levels. See `npm-config(1)` and search for
|
||||
"loglevel".
|
||||
|
||||
## Case, naming, etc.
|
||||
|
||||
|
22
deps/npm/doc/cli/config.md
vendored
22
deps/npm/doc/cli/config.md
vendored
@ -430,13 +430,6 @@ if one of the two conditions are met:
|
||||
* the globally installed version is identical to the version that is
|
||||
being installed locally.
|
||||
|
||||
### logfd
|
||||
|
||||
* Default: stderr file descriptor
|
||||
* Type: Number or Stream
|
||||
|
||||
The location to write log output.
|
||||
|
||||
### loglevel
|
||||
|
||||
* Default: "http"
|
||||
@ -449,14 +442,6 @@ What level of logs to report. On failure, *all* logs are written to
|
||||
Any logs of a higher level than the setting are shown.
|
||||
The default is "http", which shows http, warn, and error output.
|
||||
|
||||
### logprefix
|
||||
|
||||
* Default: true on Posix, false on Windows
|
||||
* Type: Boolean
|
||||
|
||||
Whether or not to prefix log messages with "npm" and the log level. See
|
||||
also "color" and "loglevel".
|
||||
|
||||
### long
|
||||
|
||||
* Default: false
|
||||
@ -503,13 +488,6 @@ The url to report npat test results.
|
||||
A node module to `require()` when npm loads. Useful for programmatic
|
||||
usage.
|
||||
|
||||
### outfd
|
||||
|
||||
* Default: standard output file descriptor
|
||||
* Type: Number or Stream
|
||||
|
||||
Where to write "normal" output. This has no effect on log output.
|
||||
|
||||
### parseable
|
||||
|
||||
* Default: false
|
||||
|
2
deps/npm/html/api/bin.html
vendored
2
deps/npm/html/api/bin.html
vendored
@ -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.24</p>
|
||||
<p id="footer">bin — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/bugs.html
vendored
2
deps/npm/html/api/bugs.html
vendored
@ -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.24</p>
|
||||
<p id="footer">bugs — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/commands.html
vendored
2
deps/npm/html/api/commands.html
vendored
@ -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.24</p>
|
||||
<p id="footer">commands — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/config.html
vendored
2
deps/npm/html/api/config.html
vendored
@ -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.24</p>
|
||||
<p id="footer">config — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/deprecate.html
vendored
2
deps/npm/html/api/deprecate.html
vendored
@ -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.24</p>
|
||||
<p id="footer">deprecate — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/docs.html
vendored
2
deps/npm/html/api/docs.html
vendored
@ -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.24</p>
|
||||
<p id="footer">docs — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/edit.html
vendored
2
deps/npm/html/api/edit.html
vendored
@ -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.24</p>
|
||||
<p id="footer">edit — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/explore.html
vendored
2
deps/npm/html/api/explore.html
vendored
@ -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.24</p>
|
||||
<p id="footer">explore — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/help-search.html
vendored
2
deps/npm/html/api/help-search.html
vendored
@ -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.24</p>
|
||||
<p id="footer">help-search — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/init.html
vendored
2
deps/npm/html/api/init.html
vendored
@ -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.24</p>
|
||||
<p id="footer">init — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/install.html
vendored
2
deps/npm/html/api/install.html
vendored
@ -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.24</p>
|
||||
<p id="footer">install — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/link.html
vendored
2
deps/npm/html/api/link.html
vendored
@ -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.24</p>
|
||||
<p id="footer">link — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/load.html
vendored
2
deps/npm/html/api/load.html
vendored
@ -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.24</p>
|
||||
<p id="footer">load — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/ls.html
vendored
2
deps/npm/html/api/ls.html
vendored
@ -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.24</p>
|
||||
<p id="footer">ls — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
4
deps/npm/html/api/npm.html
vendored
4
deps/npm/html/api/npm.html
vendored
@ -24,7 +24,7 @@ npm.load(configObject, function (er, npm) {
|
||||
|
||||
<h2 id="VERSION">VERSION</h2>
|
||||
|
||||
<p>1.1.24</p>
|
||||
<p>1.1.25</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.24</p>
|
||||
<p id="footer">npm — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/outdated.html
vendored
2
deps/npm/html/api/outdated.html
vendored
@ -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.24</p>
|
||||
<p id="footer">outdated — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/owner.html
vendored
2
deps/npm/html/api/owner.html
vendored
@ -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.24</p>
|
||||
<p id="footer">owner — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/pack.html
vendored
2
deps/npm/html/api/pack.html
vendored
@ -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.24</p>
|
||||
<p id="footer">pack — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/prefix.html
vendored
2
deps/npm/html/api/prefix.html
vendored
@ -21,7 +21,7 @@
|
||||
|
||||
<p>This function is not useful programmatically</p>
|
||||
</div>
|
||||
<p id="footer">prefix — npm@1.1.24</p>
|
||||
<p id="footer">prefix — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/prune.html
vendored
2
deps/npm/html/api/prune.html
vendored
@ -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.24</p>
|
||||
<p id="footer">prune — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/publish.html
vendored
2
deps/npm/html/api/publish.html
vendored
@ -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.24</p>
|
||||
<p id="footer">publish — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/rebuild.html
vendored
2
deps/npm/html/api/rebuild.html
vendored
@ -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.24</p>
|
||||
<p id="footer">rebuild — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/restart.html
vendored
2
deps/npm/html/api/restart.html
vendored
@ -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.24</p>
|
||||
<p id="footer">restart — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/root.html
vendored
2
deps/npm/html/api/root.html
vendored
@ -21,7 +21,7 @@
|
||||
|
||||
<p>This function is not useful programmatically.</p>
|
||||
</div>
|
||||
<p id="footer">root — npm@1.1.24</p>
|
||||
<p id="footer">root — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/run-script.html
vendored
2
deps/npm/html/api/run-script.html
vendored
@ -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.24</p>
|
||||
<p id="footer">run-script — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/search.html
vendored
2
deps/npm/html/api/search.html
vendored
@ -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.24</p>
|
||||
<p id="footer">search — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/shrinkwrap.html
vendored
2
deps/npm/html/api/shrinkwrap.html
vendored
@ -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.24</p>
|
||||
<p id="footer">shrinkwrap — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/start.html
vendored
2
deps/npm/html/api/start.html
vendored
@ -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.24</p>
|
||||
<p id="footer">start — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/stop.html
vendored
2
deps/npm/html/api/stop.html
vendored
@ -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.24</p>
|
||||
<p id="footer">stop — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/submodule.html
vendored
2
deps/npm/html/api/submodule.html
vendored
@ -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.24</p>
|
||||
<p id="footer">submodule — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/tag.html
vendored
2
deps/npm/html/api/tag.html
vendored
@ -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.24</p>
|
||||
<p id="footer">tag — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/test.html
vendored
2
deps/npm/html/api/test.html
vendored
@ -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.24</p>
|
||||
<p id="footer">test — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/uninstall.html
vendored
2
deps/npm/html/api/uninstall.html
vendored
@ -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.24</p>
|
||||
<p id="footer">uninstall — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/unpublish.html
vendored
2
deps/npm/html/api/unpublish.html
vendored
@ -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.24</p>
|
||||
<p id="footer">unpublish — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/update.html
vendored
2
deps/npm/html/api/update.html
vendored
@ -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.24</p>
|
||||
<p id="footer">update — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/version.html
vendored
2
deps/npm/html/api/version.html
vendored
@ -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.24</p>
|
||||
<p id="footer">version — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/view.html
vendored
2
deps/npm/html/api/view.html
vendored
@ -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.24</p>
|
||||
<p id="footer">view — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/api/whoami.html
vendored
2
deps/npm/html/api/whoami.html
vendored
@ -21,7 +21,7 @@
|
||||
|
||||
<p>This function is not useful programmatically</p>
|
||||
</div>
|
||||
<p id="footer">whoami — npm@1.1.24</p>
|
||||
<p id="footer">whoami — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/README.html
vendored
2
deps/npm/html/doc/README.html
vendored
@ -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.24</p>
|
||||
<p id="footer"><a href="../doc/README.html">README</a> — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/adduser.html
vendored
2
deps/npm/html/doc/adduser.html
vendored
@ -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.24</p>
|
||||
<p id="footer">adduser — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/bin.html
vendored
2
deps/npm/html/doc/bin.html
vendored
@ -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.24</p>
|
||||
<p id="footer">bin — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/bugs.html
vendored
2
deps/npm/html/doc/bugs.html
vendored
@ -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.24</p>
|
||||
<p id="footer">bugs — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/build.html
vendored
2
deps/npm/html/doc/build.html
vendored
@ -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.24</p>
|
||||
<p id="footer">build — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/bundle.html
vendored
2
deps/npm/html/doc/bundle.html
vendored
@ -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.24</p>
|
||||
<p id="footer">bundle — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/cache.html
vendored
2
deps/npm/html/doc/cache.html
vendored
@ -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.24</p>
|
||||
<p id="footer">cache — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/changelog.html
vendored
2
deps/npm/html/doc/changelog.html
vendored
@ -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.24</p>
|
||||
<p id="footer">changelog — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
23
deps/npm/html/doc/coding-style.html
vendored
23
deps/npm/html/doc/coding-style.html
vendored
@ -133,29 +133,18 @@ Just send the error message back as the first argument to the callback.</p>
|
||||
<p>Always create a new Error object with your message. Don't just return a
|
||||
string message to the callback. Stack traces are handy.</p>
|
||||
|
||||
<p>Use the <code>require("./utils/log").er</code> function. It takes a callback and an
|
||||
error message, and returns an object that will report the message in the
|
||||
event of a failure. It's quite handy.</p>
|
||||
|
||||
<pre><code>function myThing (args, cb) {
|
||||
getData(args, function (er, data) {
|
||||
if (er) return log.er(cb, "Couldn't get data")(er)
|
||||
doSomethingElse(data, cb)
|
||||
})
|
||||
}
|
||||
function justHasToWork (cb) {
|
||||
doSomething(log.er(cb, "the doSomething failed."))
|
||||
}</code></pre>
|
||||
|
||||
<h2 id="Logging">Logging</h2>
|
||||
|
||||
<p>Logging is done using the <a href="https://github.com/isaacs/npmlog">npmlog</a>
|
||||
utility.</p>
|
||||
|
||||
<p>Please clean up logs when they are no longer helpful. In particular,
|
||||
logging the same object over and over again is not helpful. Logs should
|
||||
report what's happening so that it's easier to track down where a fault
|
||||
occurs.</p>
|
||||
|
||||
<p>Use appropriate log levels. The default log() function logs at the
|
||||
"info" level. See <code><a href="../doc/config.html">config(1)</a></code> and search for "loglevel".</p>
|
||||
<p>Use appropriate log levels. See <code><a href="../doc/config.html">config(1)</a></code> and search for
|
||||
"loglevel".</p>
|
||||
|
||||
<h2 id="Case-naming-etc">Case, naming, etc.</h2>
|
||||
|
||||
@ -191,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>
|
||||
</div>
|
||||
<p id="footer">coding-style — npm@1.1.24</p>
|
||||
<p id="footer">coding-style — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/completion.html
vendored
2
deps/npm/html/doc/completion.html
vendored
@ -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.24</p>
|
||||
<p id="footer">completion — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
21
deps/npm/html/doc/config.html
vendored
21
deps/npm/html/doc/config.html
vendored
@ -381,12 +381,6 @@ if one of the two conditions are met:</p>
|
||||
<ul><li>The package is not already installed globally, or</li><li>the globally installed version is identical to the version that is
|
||||
being installed locally.</li></ul>
|
||||
|
||||
<h3 id="logfd">logfd</h3>
|
||||
|
||||
<ul><li>Default: stderr file descriptor</li><li>Type: Number or Stream</li></ul>
|
||||
|
||||
<p>The location to write log output.</p>
|
||||
|
||||
<h3 id="loglevel">loglevel</h3>
|
||||
|
||||
<ul><li>Default: "http"</li><li>Type: String</li><li>Values: "silent", "win", "error", "warn", "http", "info", "verbose", "silly"</li></ul>
|
||||
@ -397,13 +391,6 @@ being installed locally.</li></ul>
|
||||
<p>Any logs of a higher level than the setting are shown.
|
||||
The default is "http", which shows http, warn, and error output.</p>
|
||||
|
||||
<h3 id="logprefix">logprefix</h3>
|
||||
|
||||
<ul><li>Default: true on Posix, false on Windows</li><li>Type: Boolean</li></ul>
|
||||
|
||||
<p>Whether or not to prefix log messages with "npm" and the log level. See
|
||||
also "color" and "loglevel".</p>
|
||||
|
||||
<h3 id="long">long</h3>
|
||||
|
||||
<ul><li>Default: false</li><li>Type: Boolean</li></ul>
|
||||
@ -444,12 +431,6 @@ also "color" and "loglevel".</p>
|
||||
<p>A node module to <code>require()</code> when npm loads. Useful for programmatic
|
||||
usage.</p>
|
||||
|
||||
<h3 id="outfd">outfd</h3>
|
||||
|
||||
<ul><li>Default: standard output file descriptor</li><li>Type: Number or Stream</li></ul>
|
||||
|
||||
<p>Where to write "normal" output. This has no effect on log output.</p>
|
||||
|
||||
<h3 id="parseable">parseable</h3>
|
||||
|
||||
<ul><li>Default: false</li><li>Type: Boolean</li></ul>
|
||||
@ -684,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>
|
||||
</div>
|
||||
<p id="footer">config — npm@1.1.24</p>
|
||||
<p id="footer">config — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/deprecate.html
vendored
2
deps/npm/html/doc/deprecate.html
vendored
@ -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.24</p>
|
||||
<p id="footer">deprecate — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/developers.html
vendored
2
deps/npm/html/doc/developers.html
vendored
@ -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.24</p>
|
||||
<p id="footer">developers — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/disputes.html
vendored
2
deps/npm/html/doc/disputes.html
vendored
@ -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.24</p>
|
||||
<p id="footer">disputes — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/docs.html
vendored
2
deps/npm/html/doc/docs.html
vendored
@ -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.24</p>
|
||||
<p id="footer">docs — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/edit.html
vendored
2
deps/npm/html/doc/edit.html
vendored
@ -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.24</p>
|
||||
<p id="footer">edit — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/explore.html
vendored
2
deps/npm/html/doc/explore.html
vendored
@ -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.24</p>
|
||||
<p id="footer">explore — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/faq.html
vendored
2
deps/npm/html/doc/faq.html
vendored
@ -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.24</p>
|
||||
<p id="footer">faq — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/folders.html
vendored
2
deps/npm/html/doc/folders.html
vendored
@ -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.24</p>
|
||||
<p id="footer">folders — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/help-search.html
vendored
2
deps/npm/html/doc/help-search.html
vendored
@ -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.24</p>
|
||||
<p id="footer">help-search — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/help.html
vendored
2
deps/npm/html/doc/help.html
vendored
@ -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.24</p>
|
||||
<p id="footer">help — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/index.html
vendored
2
deps/npm/html/doc/index.html
vendored
@ -384,7 +384,7 @@
|
||||
|
||||
<p> Display npm username</p>
|
||||
</div>
|
||||
<p id="footer">index — npm@1.1.24</p>
|
||||
<p id="footer">index — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/init.html
vendored
2
deps/npm/html/doc/init.html
vendored
@ -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.24</p>
|
||||
<p id="footer">init — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/install.html
vendored
2
deps/npm/html/doc/install.html
vendored
@ -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>
|
||||
</div>
|
||||
<p id="footer">install — npm@1.1.24</p>
|
||||
<p id="footer">install — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/json.html
vendored
2
deps/npm/html/doc/json.html
vendored
@ -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>
|
||||
</div>
|
||||
<p id="footer">json — npm@1.1.24</p>
|
||||
<p id="footer">json — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/link.html
vendored
2
deps/npm/html/doc/link.html
vendored
@ -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.24</p>
|
||||
<p id="footer">link — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/list.html
vendored
2
deps/npm/html/doc/list.html
vendored
@ -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.24</p>
|
||||
<p id="footer">list — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
4
deps/npm/html/doc/npm.html
vendored
4
deps/npm/html/doc/npm.html
vendored
@ -14,7 +14,7 @@
|
||||
|
||||
<h2 id="VERSION">VERSION</h2>
|
||||
|
||||
<p>1.1.24</p>
|
||||
<p>1.1.25</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.24</p>
|
||||
<p id="footer">npm — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/outdated.html
vendored
2
deps/npm/html/doc/outdated.html
vendored
@ -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.24</p>
|
||||
<p id="footer">outdated — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/owner.html
vendored
2
deps/npm/html/doc/owner.html
vendored
@ -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.24</p>
|
||||
<p id="footer">owner — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/pack.html
vendored
2
deps/npm/html/doc/pack.html
vendored
@ -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.24</p>
|
||||
<p id="footer">pack — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/prefix.html
vendored
2
deps/npm/html/doc/prefix.html
vendored
@ -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.24</p>
|
||||
<p id="footer">prefix — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/prune.html
vendored
2
deps/npm/html/doc/prune.html
vendored
@ -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.24</p>
|
||||
<p id="footer">prune — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/publish.html
vendored
2
deps/npm/html/doc/publish.html
vendored
@ -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.24</p>
|
||||
<p id="footer">publish — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/rebuild.html
vendored
2
deps/npm/html/doc/rebuild.html
vendored
@ -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.24</p>
|
||||
<p id="footer">rebuild — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/registry.html
vendored
2
deps/npm/html/doc/registry.html
vendored
@ -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.24</p>
|
||||
<p id="footer">registry — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/removing-npm.html
vendored
2
deps/npm/html/doc/removing-npm.html
vendored
@ -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.24</p>
|
||||
<p id="footer">removing-npm — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/restart.html
vendored
2
deps/npm/html/doc/restart.html
vendored
@ -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.24</p>
|
||||
<p id="footer">restart — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/root.html
vendored
2
deps/npm/html/doc/root.html
vendored
@ -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.24</p>
|
||||
<p id="footer">root — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/run-script.html
vendored
2
deps/npm/html/doc/run-script.html
vendored
@ -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.24</p>
|
||||
<p id="footer">run-script — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/scripts.html
vendored
2
deps/npm/html/doc/scripts.html
vendored
@ -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.24</p>
|
||||
<p id="footer">scripts — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/search.html
vendored
2
deps/npm/html/doc/search.html
vendored
@ -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.24</p>
|
||||
<p id="footer">search — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/semver.html
vendored
2
deps/npm/html/doc/semver.html
vendored
@ -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.24</p>
|
||||
<p id="footer">semver — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/shrinkwrap.html
vendored
2
deps/npm/html/doc/shrinkwrap.html
vendored
@ -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.24</p>
|
||||
<p id="footer">shrinkwrap — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/star.html
vendored
2
deps/npm/html/doc/star.html
vendored
@ -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.24</p>
|
||||
<p id="footer">star — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/start.html
vendored
2
deps/npm/html/doc/start.html
vendored
@ -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.24</p>
|
||||
<p id="footer">start — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/stop.html
vendored
2
deps/npm/html/doc/stop.html
vendored
@ -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.24</p>
|
||||
<p id="footer">stop — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/submodule.html
vendored
2
deps/npm/html/doc/submodule.html
vendored
@ -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.24</p>
|
||||
<p id="footer">submodule — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/tag.html
vendored
2
deps/npm/html/doc/tag.html
vendored
@ -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.24</p>
|
||||
<p id="footer">tag — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/test.html
vendored
2
deps/npm/html/doc/test.html
vendored
@ -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.24</p>
|
||||
<p id="footer">test — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/uninstall.html
vendored
2
deps/npm/html/doc/uninstall.html
vendored
@ -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.24</p>
|
||||
<p id="footer">uninstall — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/unpublish.html
vendored
2
deps/npm/html/doc/unpublish.html
vendored
@ -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.24</p>
|
||||
<p id="footer">unpublish — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/update.html
vendored
2
deps/npm/html/doc/update.html
vendored
@ -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.24</p>
|
||||
<p id="footer">update — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/version.html
vendored
2
deps/npm/html/doc/version.html
vendored
@ -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.24</p>
|
||||
<p id="footer">version — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/view.html
vendored
2
deps/npm/html/doc/view.html
vendored
@ -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.24</p>
|
||||
<p id="footer">view — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
2
deps/npm/html/doc/whoami.html
vendored
2
deps/npm/html/doc/whoami.html
vendored
@ -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.24</p>
|
||||
<p id="footer">whoami — npm@1.1.25</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
29
deps/npm/html/style.css
vendored
29
deps/npm/html/style.css
vendored
@ -1,21 +1,14 @@
|
||||
/* @license
|
||||
* MyFonts Webfont Build ID 2303021, 2012-06-04T14:43:21-0400
|
||||
*
|
||||
* The fonts listed in this notice are subject to the End User License
|
||||
* Agreement(s) entered into by the website owner. All other parties are
|
||||
* explicitly restricted from using the Licensed Webfonts(s).
|
||||
*
|
||||
* You may obtain a valid license at the URLs below.
|
||||
*
|
||||
* Webfont: Gubblebum Blocky by Jelloween
|
||||
* URL: http://www.myfonts.com/fonts/jelloween/gubblebum/blocky/
|
||||
* Licensed pageviews: unspecified
|
||||
*
|
||||
*
|
||||
* License: http://www.myfonts.com/viewlicense?type=web&buildid=2303021
|
||||
* Webfonts copyright: Copyright (c) 2007 by Tjarda Koster. All rights reserved.
|
||||
*
|
||||
* © 2012 Bitstream Inc
|
||||
/*
|
||||
|
||||
Webfont: Gubblebum Blocky by Jelloween
|
||||
License: http://www.myfonts.com/viewlicense?type=web&buildid=2303021
|
||||
Webfonts copyright: Copyright (c) 2007 by Tjarda Koster. All rights reserved.
|
||||
|
||||
"Gubblebum Blocky" font
|
||||
Copyright (c) 2007 by Tjarda Koster, http://jelloween.deviantart.com
|
||||
included for use in the npm website and documentation,
|
||||
used with permission.
|
||||
|
||||
*/
|
||||
|
||||
@font-face {
|
||||
|
11
deps/npm/lib/adduser.js
vendored
11
deps/npm/lib/adduser.js
vendored
@ -1,10 +1,10 @@
|
||||
|
||||
module.exports = adduser
|
||||
|
||||
var registry = require("./utils/npm-registry-client/index.js")
|
||||
, ini = require("./utils/ini.js")
|
||||
, log = require("./utils/log.js")
|
||||
var ini = require("./utils/ini.js")
|
||||
, log = require("npmlog")
|
||||
, npm = require("./npm.js")
|
||||
, registry = npm.registry
|
||||
, read = require("read")
|
||||
, promiseChain = require("./utils/promise-chain.js")
|
||||
, crypto
|
||||
@ -39,10 +39,13 @@ function adduser (args, cb) {
|
||||
if (changed) npm.config.del("_auth")
|
||||
registry.adduser(u.u, u.p, u.e, function (er) {
|
||||
if (er) return cb(er)
|
||||
registry.username = u.u
|
||||
registry.password = u.p
|
||||
registry.email = u.e
|
||||
ini.set("username", u.u, "user")
|
||||
ini.set("_password", u.p, "user")
|
||||
ini.set("email", u.e, "user")
|
||||
log("Authorized user " + u.u, "adduser")
|
||||
log.info("adduser", "Authorized user %s", u.u)
|
||||
ini.save("user", cb)
|
||||
})
|
||||
})
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user