diff options
author | isaacs <i@izs.me> | 2012-06-04 17:32:46 -0700 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-06-04 17:32:59 -0700 |
commit | b9e40fbaacc60de562481b764b0e78bf021f7cfa (patch) | |
tree | 0ff91950f15fc6e40ddaccee7c6487f6240aa96b | |
parent | cc36cc5999937aeb0ed00f82b5c969edecaa1b1d (diff) | |
download | node-b9e40fbaacc60de562481b764b0e78bf021f7cfa.tar.gz |
Upgrade npm to 1.1.24
238 files changed, 612 insertions, 3231 deletions
diff --git a/deps/npm/AUTHORS b/deps/npm/AUTHORS index a2b8141d7..fcfa7f2b0 100644 --- a/deps/npm/AUTHORS +++ b/deps/npm/AUTHORS @@ -65,3 +65,4 @@ Jens Grunert <jens.grunert@gmail.com> Joost-Wim Boekesteijn <joost-wim@boekesteijn.nl> Dalmais Maxence <github@maxired.fr> Marcus Ekwall <marcus.ekwall@gmail.com> +Aaron Stacy <aaron.r.stacy@gmail.com> diff --git a/deps/npm/Makefile b/deps/npm/Makefile index 19efd815c..2663075c6 100644 --- a/deps/npm/Makefile +++ b/deps/npm/Makefile @@ -121,6 +121,8 @@ docpublish: doc-publish doc-publish: doc rsync -vazu --stats --no-implied-dirs --delete html/doc/ npmjs.org:/var/www/npmjs.org/public/doc rsync -vazu --stats --no-implied-dirs --delete html/api/ npmjs.org:/var/www/npmjs.org/public/api + rsync -vazu --stats --no-implied-dirs --delete html/webfonts/ npmjs.org:/var/www/npmjs.org/public/webfonts + scp html/style.css npmjs.org:/var/www/npmjs.org/public/ zip-publish: release scp release/* npmjs.org:/var/www/npmjs.org/public/dist/ diff --git a/deps/npm/doc/cli/json.md b/deps/npm/doc/cli/json.md index ddd500e3b..5f50cd2cf 100644 --- a/deps/npm/doc/cli/json.md +++ b/deps/npm/doc/cli/json.md @@ -394,6 +394,7 @@ Git urls can be of the form: git://github.com/user/project.git#commit-ish git+ssh://user@hostname:project.git#commit-ish + git+ssh://user@hostname/project.git#commit-ish git+http://user@hostname/project/blah.git#commit-ish git+https://user@hostname/project/blah.git#commit-ish @@ -420,6 +421,36 @@ Array of package names that will be bundled when publishing the package. If this is spelled `"bundleDependencies"`, then that is also honorable. +## optionalDependencies + +If a dependency can be used, but you would like npm to proceed if it +cannot be found or fails to install, then you may put it in the +`optionalDependencies` hash. This is a map of package name to version +or url, just like the `dependencies` hash. The difference is that +failure is tolerated. + +It is still your program's responsibility to handle the lack of the +dependency. For example, something like this: + + try { + var foo = require('foo') + var fooVersion = require('foo/package.json').version + } catch (er) { + foo = null + } + if ( notGoodFooVersion(fooVersion) ) { + foo = null + } + + // .. then later in your program .. + + if (foo) { + foo.doFooThings() + } + +Entries in `optionalDependencies` will override entries of the same name in +`dependencies`, so it's usually best to only put in one place. + ## engines You can specify the version of diff --git a/deps/npm/html/api/GubbleBum-Blocky.ttf b/deps/npm/html/api/GubbleBum-Blocky.ttf Binary files differdeleted file mode 100755 index 8eac02f7a..000000000 --- a/deps/npm/html/api/GubbleBum-Blocky.ttf +++ /dev/null diff --git a/deps/npm/html/api/author.html b/deps/npm/html/api/author.html deleted file mode 100644 index 0625fbc18..000000000 --- a/deps/npm/html/api/author.html +++ /dev/null @@ -1,69 +0,0 @@ -<!doctype html> -<html> - <title>author</title> - <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> - - <body> - <div id="wrapper"> -<h1><a href="../api/owner.html">owner</a></h1> <p>Manage package owners</p> - -<h2 id="SYNOPSIS">SYNOPSIS</h2> - -<pre><code>npm.commands.owner(args, callback)</code></pre> - -<h2 id="DESCRIPTION">DESCRIPTION</h2> - -<p>The first element of the 'args' parameter defines what to do, and the subsequent -elements depend on the action. Possible values for the action are (order of -parameters are given in parenthesis):</p> - -<ul><li>ls (package): -List all the users who have access to modify a package and push new versions. -Handy when you need to know who to bug for help.</li><li>add (user, package): -Add a new user as a maintainer of a package. This user is enabled to modify -metadata, publish new versions, and add other owners.</li><li>rm (user, package): -Remove a user from the package owner list. This immediately revokes their -privileges.</li></ul> - -<p>Note that there is only one level of access. Either you can modify a package, -or you can't. Future versions may contain more fine-grained access levels, but -that is not implemented at this time.</p> - -<h2 id="SEE-ALSO">SEE ALSO</h2> - -<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">author — npm@1.1.0-alpha-3</p> -<script> -;(function () { -var wrapper = document.getElementById("wrapper") -var els = Array.prototype.slice.call(wrapper.getElementsByTagName("*"), 0) - .filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id - }) -var l = 2 - , toc = document.createElement("ul") -toc.innerHTML = els.map(function (el) { - var i = el.tagName.charAt(1) - , out = "" - while (i > l) { - out += "<ul>" - l ++ - } - while (i < l) { - out += "</ul>" - l -- - } - out += "<li><a href='#" + el.id + "'>" + - ( el.innerText || el.text || el.innerHTML) - + "</a>" - return out -}).join("\n") -toc.id = "toc" -document.body.appendChild(toc) -})() -</script> -</body></html> diff --git a/deps/npm/html/api/bin.html b/deps/npm/html/api/bin.html index 110729f26..f6781bfa4 100644 --- a/deps/npm/html/api/bin.html +++ b/deps/npm/html/api/bin.html @@ -2,7 +2,7 @@ <html> <title>bin</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">bin — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/bugs.html b/deps/npm/html/api/bugs.html index 1c193b077..3585f37c0 100644 --- a/deps/npm/html/api/bugs.html +++ b/deps/npm/html/api/bugs.html @@ -2,7 +2,7 @@ <html> <title>bugs</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">bugs — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/commands.html b/deps/npm/html/api/commands.html index 65176f8f7..dd6fc418a 100644 --- a/deps/npm/html/api/commands.html +++ b/deps/npm/html/api/commands.html @@ -2,7 +2,7 @@ <html> <title>commands</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">commands — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/config.html b/deps/npm/html/api/config.html index abf3abeb4..569d2a547 100644 --- a/deps/npm/html/api/config.html +++ b/deps/npm/html/api/config.html @@ -2,7 +2,7 @@ <html> <title>config</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">config — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/deprecate.html b/deps/npm/html/api/deprecate.html index 691a3f193..bf1f860c7 100644 --- a/deps/npm/html/api/deprecate.html +++ b/deps/npm/html/api/deprecate.html @@ -2,7 +2,7 @@ <html> <title>deprecate</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">deprecate — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/docs.html b/deps/npm/html/api/docs.html index 9052e8dcb..3dfcfcb61 100644 --- a/deps/npm/html/api/docs.html +++ b/deps/npm/html/api/docs.html @@ -2,7 +2,7 @@ <html> <title>docs</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">docs — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/edit.html b/deps/npm/html/api/edit.html index 5d0bdd8d2..355603cc5 100644 --- a/deps/npm/html/api/edit.html +++ b/deps/npm/html/api/edit.html @@ -2,7 +2,7 @@ <html> <title>edit</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">edit — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/explore.html b/deps/npm/html/api/explore.html index c429ac179..e8264739f 100644 --- a/deps/npm/html/api/explore.html +++ b/deps/npm/html/api/explore.html @@ -2,7 +2,7 @@ <html> <title>explore</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">explore — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/find.html b/deps/npm/html/api/find.html deleted file mode 100644 index 6647f2fae..000000000 --- a/deps/npm/html/api/find.html +++ /dev/null @@ -1,88 +0,0 @@ -<!doctype html> -<html> - <title>find</title> - <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> - - <body> - <div id="wrapper"> -<h1><a href="../api/ls.html">ls</a></h1> <p>List installed packages</p> - -<h2 id="SYNOPSIS">SYNOPSIS</h2> - -<pre><code>npm.commands.ls(args, [silent,] callback)</code></pre> - -<h2 id="DESCRIPTION">DESCRIPTION</h2> - -<p>This command will print to stdout all the versions of packages that are -installed, as well as their dependencies, in a tree-structure. It will also -return that data using the callback.</p> - -<p>This command does not take any arguments, but args must be defined. -Beyond that, if any arguments are passed in, npm will politely warn that it -does not take positional arguments, though you may set config flags -like with any other command, such as <code>global</code> to list global packages.</p> - -<p>It will print out extraneous, missing, and invalid packages.</p> - -<p>If the silent parameter is set to true, nothing will be output to the screen, -but the data will still be returned.</p> - -<h2 id="CONFIGURATION">CONFIGURATION</h2> - -<h3 id="long">long</h3> - -<ul><li>Default: false</li><li>Type: Boolean</li></ul> - -<p>Show extended information.</p> - -<h3 id="parseable">parseable</h3> - -<ul><li>Default: false</li><li>Type: Boolean</li></ul> - -<p>Show parseable output instead of tree view.</p> - -<h3 id="global">global</h3> - -<ul><li>Default: false</li><li>Type: Boolean</li></ul> - -<p>List packages in the global install prefix instead of in the current -project.</p> - -<p>Note, if parseable is set or long isn't set, then duplicates will be trimmed. -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">find — npm@1.1.0-alpha-3</p> -<script> -;(function () { -var wrapper = document.getElementById("wrapper") -var els = Array.prototype.slice.call(wrapper.getElementsByTagName("*"), 0) - .filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id - }) -var l = 2 - , toc = document.createElement("ul") -toc.innerHTML = els.map(function (el) { - var i = el.tagName.charAt(1) - , out = "" - while (i > l) { - out += "<ul>" - l ++ - } - while (i < l) { - out += "</ul>" - l -- - } - out += "<li><a href='#" + el.id + "'>" + - ( el.innerText || el.text || el.innerHTML) - + "</a>" - return out -}).join("\n") -toc.id = "toc" -document.body.appendChild(toc) -})() -</script> -</body></html> diff --git a/deps/npm/html/api/get.html b/deps/npm/html/api/get.html deleted file mode 100644 index 46d372ad6..000000000 --- a/deps/npm/html/api/get.html +++ /dev/null @@ -1,68 +0,0 @@ -<!doctype html> -<html> - <title>get</title> - <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> - - <body> - <div id="wrapper"> -<h1><a href="../api/config.html">config</a></h1> <p>Manage the npm configuration files</p> - -<h2 id="SYNOPSIS">SYNOPSIS</h2> - -<pre><code>npm.commands.config(args, callback) -var val = npm.config.get(key) -npm.config.set(key, val)</code></pre> - -<h2 id="DESCRIPTION">DESCRIPTION</h2> - -<p>This function acts much the same way as the command-line version. The first -element in the array tells config what to do. Possible values are:</p> - -<ul><li><p><code>set</code></p><p>Sets a config parameter. The second element in <code>args</code> is interpreted as the -key, and the third element is interpreted as the value.</p></li><li><p><code>get</code></p><p>Gets the value of a config parameter. The second element in <code>args</code> is the -key to get the value of.</p></li><li><p><code>delete</code> (<code>rm</code> or <code>del</code>)</p><p>Deletes a parameter from the config. The second element in <code>args</code> is the -key to delete.</p></li><li><p><code>list</code> (<code>ls</code>)</p><p>Show all configs that aren't secret. No parameters necessary.</p></li><li><p><code>edit</code>:</p><p>Opens the config file in the default editor. This command isn't very useful -programmatically, but it is made available.</p></li></ul> - -<p>To programmatically access npm configuration settings, or set them for -the duration of a program, use the <code>npm.config.set</code> and <code>npm.config.get</code> -functions instead.</p> - -<h2 id="SEE-ALSO">SEE ALSO</h2> - -<ul><li><a href="../api/npm.html">npm(3)</a></li></ul> -</div> -<p id="footer">get — npm@1.1.0-alpha-3</p> -<script> -;(function () { -var wrapper = document.getElementById("wrapper") -var els = Array.prototype.slice.call(wrapper.getElementsByTagName("*"), 0) - .filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id - }) -var l = 2 - , toc = document.createElement("ul") -toc.innerHTML = els.map(function (el) { - var i = el.tagName.charAt(1) - , out = "" - while (i > l) { - out += "<ul>" - l ++ - } - while (i < l) { - out += "</ul>" - l -- - } - out += "<li><a href='#" + el.id + "'>" + - ( el.innerText || el.text || el.innerHTML) - + "</a>" - return out -}).join("\n") -toc.id = "toc" -document.body.appendChild(toc) -})() -</script> -</body></html> diff --git a/deps/npm/html/api/help-search.html b/deps/npm/html/api/help-search.html index d0e838257..86ba337e9 100644 --- a/deps/npm/html/api/help-search.html +++ b/deps/npm/html/api/help-search.html @@ -2,7 +2,7 @@ <html> <title>help-search</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">help-search — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/home.html b/deps/npm/html/api/home.html deleted file mode 100644 index ee1cf16c9..000000000 --- a/deps/npm/html/api/home.html +++ /dev/null @@ -1,60 +0,0 @@ -<!doctype html> -<html> - <title>home</title> - <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> - - <body> - <div id="wrapper"> -<h1><a href="../api/docs.html">docs</a></h1> <p>Docs for a package in a web browser maybe</p> - -<h2 id="SYNOPSIS">SYNOPSIS</h2> - -<pre><code>npm.commands.docs(package, callback)</code></pre> - -<h2 id="DESCRIPTION">DESCRIPTION</h2> - -<p>This command tries to guess at the likely location of a package's -documentation URL, and then tries to open it using the <code>--browser</code> -config param.</p> - -<p>Like other commands, the first parameter is an array. This command only -uses the first element, which is expected to be a package name with an -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">home — npm@1.1.0-alpha-3</p> -<script> -;(function () { -var wrapper = document.getElementById("wrapper") -var els = Array.prototype.slice.call(wrapper.getElementsByTagName("*"), 0) - .filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id - }) -var l = 2 - , toc = document.createElement("ul") -toc.innerHTML = els.map(function (el) { - var i = el.tagName.charAt(1) - , out = "" - while (i > l) { - out += "<ul>" - l ++ - } - while (i < l) { - out += "</ul>" - l -- - } - out += "<li><a href='#" + el.id + "'>" + - ( el.innerText || el.text || el.innerHTML) - + "</a>" - return out -}).join("\n") -toc.id = "toc" -document.body.appendChild(toc) -})() -</script> -</body></html> diff --git a/deps/npm/html/api/init.html b/deps/npm/html/api/init.html index 400e61a3d..4e8b7f92f 100644 --- a/deps/npm/html/api/init.html +++ b/deps/npm/html/api/init.html @@ -2,7 +2,7 @@ <html> <title>init</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">init — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/install.html b/deps/npm/html/api/install.html index e373164c9..0cb6747ee 100644 --- a/deps/npm/html/api/install.html +++ b/deps/npm/html/api/install.html @@ -2,7 +2,7 @@ <html> <title>install</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">install — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/link.html b/deps/npm/html/api/link.html index 4353c9e8e..0acc672b3 100644 --- a/deps/npm/html/api/link.html +++ b/deps/npm/html/api/link.html @@ -2,7 +2,7 @@ <html> <title>link</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">link — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/list.html b/deps/npm/html/api/list.html deleted file mode 100644 index 96aa5d185..000000000 --- a/deps/npm/html/api/list.html +++ /dev/null @@ -1,88 +0,0 @@ -<!doctype html> -<html> - <title>list</title> - <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> - - <body> - <div id="wrapper"> -<h1><a href="../api/ls.html">ls</a></h1> <p>List installed packages</p> - -<h2 id="SYNOPSIS">SYNOPSIS</h2> - -<pre><code>npm.commands.ls(args, [silent,] callback)</code></pre> - -<h2 id="DESCRIPTION">DESCRIPTION</h2> - -<p>This command will print to stdout all the versions of packages that are -installed, as well as their dependencies, in a tree-structure. It will also -return that data using the callback.</p> - -<p>This command does not take any arguments, but args must be defined. -Beyond that, if any arguments are passed in, npm will politely warn that it -does not take positional arguments, though you may set config flags -like with any other command, such as <code>global</code> to list global packages.</p> - -<p>It will print out extraneous, missing, and invalid packages.</p> - -<p>If the silent parameter is set to true, nothing will be output to the screen, -but the data will still be returned.</p> - -<h2 id="CONFIGURATION">CONFIGURATION</h2> - -<h3 id="long">long</h3> - -<ul><li>Default: false</li><li>Type: Boolean</li></ul> - -<p>Show extended information.</p> - -<h3 id="parseable">parseable</h3> - -<ul><li>Default: false</li><li>Type: Boolean</li></ul> - -<p>Show parseable output instead of tree view.</p> - -<h3 id="global">global</h3> - -<ul><li>Default: false</li><li>Type: Boolean</li></ul> - -<p>List packages in the global install prefix instead of in the current -project.</p> - -<p>Note, if parseable is set or long isn't set, then duplicates will be trimmed. -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">list — npm@1.1.0-alpha-3</p> -<script> -;(function () { -var wrapper = document.getElementById("wrapper") -var els = Array.prototype.slice.call(wrapper.getElementsByTagName("*"), 0) - .filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id - }) -var l = 2 - , toc = document.createElement("ul") -toc.innerHTML = els.map(function (el) { - var i = el.tagName.charAt(1) - , out = "" - while (i > l) { - out += "<ul>" - l ++ - } - while (i < l) { - out += "</ul>" - l -- - } - out += "<li><a href='#" + el.id + "'>" + - ( el.innerText || el.text || el.innerHTML) - + "</a>" - return out -}).join("\n") -toc.id = "toc" -document.body.appendChild(toc) -})() -</script> -</body></html> diff --git a/deps/npm/html/api/ln.html b/deps/npm/html/api/ln.html deleted file mode 100644 index 0629e0642..000000000 --- a/deps/npm/html/api/ln.html +++ /dev/null @@ -1,74 +0,0 @@ -<!doctype html> -<html> - <title>ln</title> - <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> - - <body> - <div id="wrapper"> -<h1><a href="../api/link.html">link</a></h1> <p>Symlink a package folder</p> - -<h2 id="SYNOPSIS">SYNOPSIS</h2> - -<pre><code>npm.command.link(callback) -npm.command.link(packages, callback)</code></pre> - -<h2 id="DESCRIPTION">DESCRIPTION</h2> - -<p>Package linking is a two-step process.</p> - -<p>Without parameters, link will create a globally-installed -symbolic link from <code>prefix/package-name</code> to the current folder.</p> - -<p>With a parameters, link will create a symlink from the local <code>node_modules</code> -folder to the global symlink.</p> - -<p>When creating tarballs for <code>npm publish</code>, the linked packages are -"snapshotted" to their current state by resolving the symbolic links.</p> - -<p>This is -handy for installing your own stuff, so that you can work on it and test it -iteratively without having to continually rebuild.</p> - -<p>For example:</p> - -<pre><code>npm.commands.link(cb) # creates global link from the cwd - # (say redis package) -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">ln — npm@1.1.0-alpha-3</p> -<script> -;(function () { -var wrapper = document.getElementById("wrapper") -var els = Array.prototype.slice.call(wrapper.getElementsByTagName("*"), 0) - .filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id - }) -var l = 2 - , toc = document.createElement("ul") -toc.innerHTML = els.map(function (el) { - var i = el.tagName.charAt(1) - , out = "" - while (i > l) { - out += "<ul>" - l ++ - } - while (i < l) { - out += "</ul>" - l -- - } - out += "<li><a href='#" + el.id + "'>" + - ( el.innerText || el.text || el.innerHTML) - + "</a>" - return out -}).join("\n") -toc.id = "toc" -document.body.appendChild(toc) -})() -</script> -</body></html> diff --git a/deps/npm/html/api/load.html b/deps/npm/html/api/load.html index c88f9addd..68ac85386 100644 --- a/deps/npm/html/api/load.html +++ b/deps/npm/html/api/load.html @@ -2,7 +2,7 @@ <html> <title>load</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">load — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/ls.html b/deps/npm/html/api/ls.html index d2ac54910..768e4dac9 100644 --- a/deps/npm/html/api/ls.html +++ b/deps/npm/html/api/ls.html @@ -2,7 +2,7 @@ <html> <title>ls</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">ls — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/npm.html b/deps/npm/html/api/npm.html index 79885918e..14958711e 100644 --- a/deps/npm/html/api/npm.html +++ b/deps/npm/html/api/npm.html @@ -2,7 +2,7 @@ <html> <title>npm</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -24,7 +24,7 @@ npm.load(configObject, function (er, npm) { <h2 id="VERSION">VERSION</h2> -<p>1.1.23</p> +<p>1.1.24</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.23</p> +<p id="footer">npm — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/outdated.html b/deps/npm/html/api/outdated.html index 09ca0b06c..4c4f3696a 100644 --- a/deps/npm/html/api/outdated.html +++ b/deps/npm/html/api/outdated.html @@ -2,7 +2,7 @@ <html> <title>outdated</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">outdated — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/owner.html b/deps/npm/html/api/owner.html index 1c56a4c6b..966422bf8 100644 --- a/deps/npm/html/api/owner.html +++ b/deps/npm/html/api/owner.html @@ -2,7 +2,7 @@ <html> <title>owner</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">owner — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/pack.html b/deps/npm/html/api/pack.html index b814a7e9c..d038facc0 100644 --- a/deps/npm/html/api/pack.html +++ b/deps/npm/html/api/pack.html @@ -2,7 +2,7 @@ <html> <title>pack</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">pack — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/prefix.html b/deps/npm/html/api/prefix.html index 085b0959b..719ea178f 100644 --- a/deps/npm/html/api/prefix.html +++ b/deps/npm/html/api/prefix.html @@ -2,7 +2,7 @@ <html> <title>prefix</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -21,7 +21,7 @@ <p>This function is not useful programmatically</p> </div> -<p id="footer">prefix — npm@1.1.23</p> +<p id="footer">prefix — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/prune.html b/deps/npm/html/api/prune.html index 987011a90..ac8874463 100644 --- a/deps/npm/html/api/prune.html +++ b/deps/npm/html/api/prune.html @@ -2,7 +2,7 @@ <html> <title>prune</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">prune — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/publish.html b/deps/npm/html/api/publish.html index d388269d7..fc7fc2139 100644 --- a/deps/npm/html/api/publish.html +++ b/deps/npm/html/api/publish.html @@ -2,7 +2,7 @@ <html> <title>publish</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">publish — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/rebuild.html b/deps/npm/html/api/rebuild.html index 430be6052..791c4ebe6 100644 --- a/deps/npm/html/api/rebuild.html +++ b/deps/npm/html/api/rebuild.html @@ -2,7 +2,7 @@ <html> <title>rebuild</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">rebuild — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/restart.html b/deps/npm/html/api/restart.html index 6960bb33e..85bddabe7 100644 --- a/deps/npm/html/api/restart.html +++ b/deps/npm/html/api/restart.html @@ -2,7 +2,7 @@ <html> <title>restart</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">restart — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/rm.html b/deps/npm/html/api/rm.html deleted file mode 100644 index 732aec23a..000000000 --- a/deps/npm/html/api/rm.html +++ /dev/null @@ -1,57 +0,0 @@ -<!doctype html> -<html> - <title>rm</title> - <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> - - <body> - <div id="wrapper"> -<h1><a href="../api/uninstall.html">uninstall</a></h1> <p>uninstall a package programmatically</p> - -<h2 id="SYNOPSIS">SYNOPSIS</h2> - -<pre><code>npm.commands.uninstall(packages, callback)</code></pre> - -<h2 id="DESCRIPTION">DESCRIPTION</h2> - -<p>This acts much the same ways as uninstalling on the command-line.</p> - -<p>The 'packages' parameter is an array of strings. Each element in the array is -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">rm — npm@1.1.0-alpha-3</p> -<script> -;(function () { -var wrapper = document.getElementById("wrapper") -var els = Array.prototype.slice.call(wrapper.getElementsByTagName("*"), 0) - .filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id - }) -var l = 2 - , toc = document.createElement("ul") -toc.innerHTML = els.map(function (el) { - var i = el.tagName.charAt(1) - , out = "" - while (i > l) { - out += "<ul>" - l ++ - } - while (i < l) { - out += "</ul>" - l -- - } - out += "<li><a href='#" + el.id + "'>" + - ( el.innerText || el.text || el.innerHTML) - + "</a>" - return out -}).join("\n") -toc.id = "toc" -document.body.appendChild(toc) -})() -</script> -</body></html> diff --git a/deps/npm/html/api/root.html b/deps/npm/html/api/root.html index b9c8c2720..174ca4611 100644 --- a/deps/npm/html/api/root.html +++ b/deps/npm/html/api/root.html @@ -2,7 +2,7 @@ <html> <title>root</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -21,7 +21,7 @@ <p>This function is not useful programmatically.</p> </div> -<p id="footer">root — npm@1.1.23</p> +<p id="footer">root — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/run-script.html b/deps/npm/html/api/run-script.html index c55b1cd71..799908bc8 100644 --- a/deps/npm/html/api/run-script.html +++ b/deps/npm/html/api/run-script.html @@ -2,7 +2,7 @@ <html> <title>run-script</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">run-script — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/search.html b/deps/npm/html/api/search.html index 65a6b9044..bdb88fa62 100644 --- a/deps/npm/html/api/search.html +++ b/deps/npm/html/api/search.html @@ -2,7 +2,7 @@ <html> <title>search</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">search — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/set.html b/deps/npm/html/api/set.html deleted file mode 100644 index 7ef6b2452..000000000 --- a/deps/npm/html/api/set.html +++ /dev/null @@ -1,68 +0,0 @@ -<!doctype html> -<html> - <title>set</title> - <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> - - <body> - <div id="wrapper"> -<h1><a href="../api/config.html">config</a></h1> <p>Manage the npm configuration files</p> - -<h2 id="SYNOPSIS">SYNOPSIS</h2> - -<pre><code>npm.commands.config(args, callback) -var val = npm.config.get(key) -npm.config.set(key, val)</code></pre> - -<h2 id="DESCRIPTION">DESCRIPTION</h2> - -<p>This function acts much the same way as the command-line version. The first -element in the array tells config what to do. Possible values are:</p> - -<ul><li><p><code>set</code></p><p>Sets a config parameter. The second element in <code>args</code> is interpreted as the -key, and the third element is interpreted as the value.</p></li><li><p><code>get</code></p><p>Gets the value of a config parameter. The second element in <code>args</code> is the -key to get the value of.</p></li><li><p><code>delete</code> (<code>rm</code> or <code>del</code>)</p><p>Deletes a parameter from the config. The second element in <code>args</code> is the -key to delete.</p></li><li><p><code>list</code> (<code>ls</code>)</p><p>Show all configs that aren't secret. No parameters necessary.</p></li><li><p><code>edit</code>:</p><p>Opens the config file in the default editor. This command isn't very useful -programmatically, but it is made available.</p></li></ul> - -<p>To programmatically access npm configuration settings, or set them for -the duration of a program, use the <code>npm.config.set</code> and <code>npm.config.get</code> -functions instead.</p> - -<h2 id="SEE-ALSO">SEE ALSO</h2> - -<ul><li><a href="../api/npm.html">npm(3)</a></li></ul> -</div> -<p id="footer">set — npm@1.1.0-alpha-3</p> -<script> -;(function () { -var wrapper = document.getElementById("wrapper") -var els = Array.prototype.slice.call(wrapper.getElementsByTagName("*"), 0) - .filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id - }) -var l = 2 - , toc = document.createElement("ul") -toc.innerHTML = els.map(function (el) { - var i = el.tagName.charAt(1) - , out = "" - while (i > l) { - out += "<ul>" - l ++ - } - while (i < l) { - out += "</ul>" - l -- - } - out += "<li><a href='#" + el.id + "'>" + - ( el.innerText || el.text || el.innerHTML) - + "</a>" - return out -}).join("\n") -toc.id = "toc" -document.body.appendChild(toc) -})() -</script> -</body></html> diff --git a/deps/npm/html/api/shrinkwrap.html b/deps/npm/html/api/shrinkwrap.html index 1b25f1288..8be37c6a9 100644 --- a/deps/npm/html/api/shrinkwrap.html +++ b/deps/npm/html/api/shrinkwrap.html @@ -2,7 +2,7 @@ <html> <title>shrinkwrap</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">shrinkwrap — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/start.html b/deps/npm/html/api/start.html index a3afdf457..d762ff588 100644 --- a/deps/npm/html/api/start.html +++ b/deps/npm/html/api/start.html @@ -2,7 +2,7 @@ <html> <title>start</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">start — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/stop.html b/deps/npm/html/api/stop.html index 1594729b1..e782f9fd8 100644 --- a/deps/npm/html/api/stop.html +++ b/deps/npm/html/api/stop.html @@ -2,7 +2,7 @@ <html> <title>stop</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">stop — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/style.css b/deps/npm/html/api/style.css deleted file mode 100644 index 220d162d6..000000000 --- a/deps/npm/html/api/style.css +++ /dev/null @@ -1,336 +0,0 @@ - -/* reset */ -* { - margin:0; - padding:0; - border:none; - font-family:inherit; - font-size:inherit; - font-weight:inherit; -} -:target::before { - content:" >>> "; - position:absolute; - display:block; - opacity:0.5; - color:#f00; - margin:0 0 0 -2em; -} -abbr, acronym { - border-bottom:1px dotted #aaa; -} -kbd, code, pre { - font-family:monospace; - margin:0; - font-size:18px; - line-height:24px; - background:#eee; - outline:1px solid #ccc; -} -kbd code, kbd pre, kbd kbd, -pre code, pre pre, pre kbd, -code code, code pre, code kbd { outline: none } -.dollar::before { - content:"$ "; - display:inline; -} -p, ul, ol, dl, pre { - margin:30px 0; - line-height:30px; -} -hr { - margin:30px auto 29px; - width:66%; - height:1px; - background:#aaa; -} -pre { - display:block; -} -dd :first-child { - margin-top:0; -} - -body { - quotes:"“" "”" "‘" "’"; - width:666px; - margin:30px auto 120px; - font-family:Times New Roman, serif; - font-size:20px; - background:#fff; - line-height:30px; - color:#111; -} - -blockquote { - position:relative; - font-size:16px; - line-height:30px; - font-weight:bold; - width:85%; - margin:0 auto; -} -blockquote::before { - font-size:90px; - display:block; - position:absolute; - top:20px; - right:100%; - content:"“"; - padding-right:10px; - color:#ccc; -} -.source cite::before { - content:"— "; -} -.source { - padding-left:20%; - margin-top:30px; -} -.source cite span { - font-style:normal; -} -blockquote p { - margin-bottom:0; -} -.quote blockquote { - font-weight:normal; -} - -h1, h2, h3, h4, h5, h6, dt, #header { - font-family:serif; - font-size:20px; - font-weight:bold; -} -h2 { - background:#eee; -} -h1, h2 { - line-height:40px; -} - -i, em, cite { - font-style:italic; -} -b, strong { - font-weight:bold; -} -i, em, cite, b, strong, small { - line-height:28px; -} -small, .small, .small *, aside { - font-style:italic; - color:#669; - font-size:18px; -} -spall a, .small a { - text-decoration:underline; -} -del { - text-decoration:line-through; -} -ins { - text-decoration:underline; -} -.alignright { display:block; float:right; margin-left:1em; } -.alignleft { display:block; float:left; margin-right:1em; } - -q:before, q q q:before, q q q q q:before, q q q q q q q:before { content:"“"; } -q q:before, q q q q:before, q q q q q q:before, q q q q q q q q:before { content:"‘"; } -q:after, q q q:after, q q q q q:after, q q q q q q q:after { content:"”"; } -q q:after, q q q q:after, q q q q q q:after, q q q q q q q q:after { content:"’"; } - -a { color:#00f; text-decoration:none; } -a:visited { color:#636; } -a:hover, a:active { color:#900!important; text-decoration:underline; } - -h1 { - font-weight:bold; - background:#fff; -} -h1 a, h1 a:visited { - font-family:gubblefont, GubbleBum Blocky, GubbleBum, monospace; - font-size:60px; - color:#900; - display:block; -} -h1 a:focus, h1 a:hover, h1 a:active { - color:#f00!important; - text-decoration:none; -} - -.navigation { - display:table; - width:100%; - margin:0 0 30px 0; - position:relative; -} -#nav-above { - margin-bottom:0; -} -.navigation .nav-previous { - display:table-cell; - text-align:left; - width:50%; -} -/* hang the » and « off into the margins */ -.navigation .nav-previous a:before, .navigation .nav-next a:after { - content: "«"; - display:block; - height:30px; - margin-bottom:-30px; - text-decoration:none; - margin-left:-15px; -} -.navigation .nav-next a:after { - content: "»"; - text-align:right; - margin-left:0; - margin-top:-30px; - margin-right:-15px; -} - - -.navigation .nav-next { - display:table-cell; - text-align:right; - width:50%; -} -.navigation a { - display:block; - width:100%; - height:100%; -} - -input, button, textarea { - border:0; - line-height:30px; -} -textarea { - height:300px; -} -input { - height:30px; - line-height:30px; -} -input.submit, input#submit, input.button, button, input[type=submit] { - cursor:hand; cursor:pointer; - outline:1px solid #ccc; -} - -#wrapper { - margin-bottom:90px; - position:relative; - z-index:1; - *zoom:1; - background:#fff; -} -#wrapper:after { - display:block; - content:"."; - visibility:hidden; - width:0; - height:0; - clear:both; -} - -.sidebar .xoxo > li { - float:left; - width:50%; -} -.sidebar li { - list-style:none; -} -.sidebar #elsewhere { - margin-left:-10%; - margin-right:-10%; -} -.sidebar #rss-links, .sidebar #twitter-feeds { - float:right; - clear:right; - width:20%; -} -.sidebar #comment { - clear:both; - float:none; - width:100%; -} -.sidebar #search { - clear:both; - float:none; - width:100%; -} -.sidebar #search h2 { - margin-left:40%; -} -.sidebar #search #s { - width:90%; - float:left; -} -.sidebar #search #searchsubmit { - width:10%; - float:right; -} -.sidebar * { - font-size:15px; - line-height:30px; -} - -#footer, #footer * { - text-align:right; - font-size:16px; - color:#ccc; - font-style:italic; - word-spacing:1em; -} - -#toc { - position:absolute; - top:0; - right:0; - padding:40px 0 40px 20px; - margin:0; - width:200px; - opacity:0.2; - z-index:-1; -} -#toc:hover { - opacity:1; - background:#fff; - z-index:999; -} -#toc ul { - padding:0; - margin:0; -} -#toc, #toc li { - list-style-type:none; - font-size:15px; - line-height:15px; -} -#toc li { - padding:0 0 0 10px; -} -#toc li a { - position:relative; - display:block; -} - -@font-face { - font-family:gubblefont; - src: url(./GubbleBum-Blocky.ttf) format("truetype"); -} - -@media print { - a[href] { - color:inherit; - } - a[href]:after { - white-space:nowrap; - content:" " attr(href); - } - a[href^=\#], .navigation { - display:none; - } -} - diff --git a/deps/npm/html/api/submodule.html b/deps/npm/html/api/submodule.html index 44a76a6b3..685d9363c 100644 --- a/deps/npm/html/api/submodule.html +++ b/deps/npm/html/api/submodule.html @@ -2,7 +2,7 @@ <html> <title>submodule</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">submodule — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/tag.html b/deps/npm/html/api/tag.html index baf821dfd..f1ec1f47f 100644 --- a/deps/npm/html/api/tag.html +++ b/deps/npm/html/api/tag.html @@ -2,7 +2,7 @@ <html> <title>tag</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">tag — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/test.html b/deps/npm/html/api/test.html index 1d30d6c57..8a1c49598 100644 --- a/deps/npm/html/api/test.html +++ b/deps/npm/html/api/test.html @@ -2,7 +2,7 @@ <html> <title>test</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">test — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/uninstall.html b/deps/npm/html/api/uninstall.html index e2965b5aa..3fef0a66c 100644 --- a/deps/npm/html/api/uninstall.html +++ b/deps/npm/html/api/uninstall.html @@ -2,7 +2,7 @@ <html> <title>uninstall</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">uninstall — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/unpublish.html b/deps/npm/html/api/unpublish.html index 3e0adc69d..0e024ac59 100644 --- a/deps/npm/html/api/unpublish.html +++ b/deps/npm/html/api/unpublish.html @@ -2,7 +2,7 @@ <html> <title>unpublish</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">unpublish — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/update.html b/deps/npm/html/api/update.html index c15938f09..2c4b38d2f 100644 --- a/deps/npm/html/api/update.html +++ b/deps/npm/html/api/update.html @@ -2,7 +2,7 @@ <html> <title>update</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">update — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/version.html b/deps/npm/html/api/version.html index 73e4d3ec2..77418120c 100644 --- a/deps/npm/html/api/version.html +++ b/deps/npm/html/api/version.html @@ -2,7 +2,7 @@ <html> <title>version</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">version — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/view.html b/deps/npm/html/api/view.html index 863c89341..24a74ba97 100644 --- a/deps/npm/html/api/view.html +++ b/deps/npm/html/api/view.html @@ -2,7 +2,7 @@ <html> <title>view</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">view — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/api/whoami.html b/deps/npm/html/api/whoami.html index 301ef725b..eca747c9a 100644 --- a/deps/npm/html/api/whoami.html +++ b/deps/npm/html/api/whoami.html @@ -2,7 +2,7 @@ <html> <title>whoami</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -21,7 +21,7 @@ <p>This function is not useful programmatically</p> </div> -<p id="footer">whoami — npm@1.1.23</p> +<p id="footer">whoami — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/GubbleBum-Blocky.ttf b/deps/npm/html/doc/GubbleBum-Blocky.ttf Binary files differdeleted file mode 100755 index 8eac02f7a..000000000 --- a/deps/npm/html/doc/GubbleBum-Blocky.ttf +++ /dev/null diff --git a/deps/npm/html/doc/README.html b/deps/npm/html/doc/README.html index a0b00054f..7923b66bc 100644 --- a/deps/npm/html/doc/README.html +++ b/deps/npm/html/doc/README.html @@ -2,7 +2,7 @@ <html> <title>README</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer"><a href="../doc/README.html">README</a> — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/adduser.html b/deps/npm/html/doc/adduser.html index a59e7cec0..cf2d48108 100644 --- a/deps/npm/html/doc/adduser.html +++ b/deps/npm/html/doc/adduser.html @@ -2,7 +2,7 @@ <html> <title>adduser</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">adduser — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/author.html b/deps/npm/html/doc/author.html deleted file mode 100644 index 5cf237cb3..000000000 --- a/deps/npm/html/doc/author.html +++ /dev/null @@ -1,69 +0,0 @@ -<!doctype html> -<html> - <title>author</title> - <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> - - <body> - <div id="wrapper"> -<h1><a href="../doc/owner.html">owner</a></h1> <p>Manage package owners</p> - -<h2 id="SYNOPSIS">SYNOPSIS</h2> - -<pre><code>npm owner ls <package name> -npm owner add <user> <package name> -npm owner rm <user> <package name></code></pre> - -<h2 id="DESCRIPTION">DESCRIPTION</h2> - -<p>Manage ownership of published packages.</p> - -<ul><li>ls: -List all the users who have access to modify a package and push new versions. -Handy when you need to know who to bug for help.</li><li>add: -Add a new user as a maintainer of a package. This user is enabled to modify -metadata, publish new versions, and add other owners.</li><li>rm: -Remove a user from the package owner list. This immediately revokes their -privileges.</li></ul> - -<p>Note that there is only one level of access. Either you can modify a package, -or you can't. Future versions may contain more fine-grained access levels, but -that is not implemented at this time.</p> - -<h2 id="SEE-ALSO">SEE ALSO</h2> - -<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></ul> -</div> -<p id="footer">author — npm@1.1.0-alpha-3</p> -<script> -;(function () { -var wrapper = document.getElementById("wrapper") -var els = Array.prototype.slice.call(wrapper.getElementsByTagName("*"), 0) - .filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id - }) -var l = 2 - , toc = document.createElement("ul") -toc.innerHTML = els.map(function (el) { - var i = el.tagName.charAt(1) - , out = "" - while (i > l) { - out += "<ul>" - l ++ - } - while (i < l) { - out += "</ul>" - l -- - } - out += "<li><a href='#" + el.id + "'>" + - ( el.innerText || el.text || el.innerHTML) - + "</a>" - return out -}).join("\n") -toc.id = "toc" -document.body.appendChild(toc) -})() -</script> -</body></html> diff --git a/deps/npm/html/doc/bin.html b/deps/npm/html/doc/bin.html index 043f6fd8d..c6252a668 100644 --- a/deps/npm/html/doc/bin.html +++ b/deps/npm/html/doc/bin.html @@ -2,7 +2,7 @@ <html> <title>bin</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">bin — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/bugs.html b/deps/npm/html/doc/bugs.html index eb37638ba..0e0637b8b 100644 --- a/deps/npm/html/doc/bugs.html +++ b/deps/npm/html/doc/bugs.html @@ -2,7 +2,7 @@ <html> <title>bugs</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">bugs — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/build.html b/deps/npm/html/doc/build.html index 8653bd582..62e3f817e 100644 --- a/deps/npm/html/doc/build.html +++ b/deps/npm/html/doc/build.html @@ -2,7 +2,7 @@ <html> <title>build</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">build — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/bundle.html b/deps/npm/html/doc/bundle.html index d58dcff94..2955a00eb 100644 --- a/deps/npm/html/doc/bundle.html +++ b/deps/npm/html/doc/bundle.html @@ -2,7 +2,7 @@ <html> <title>bundle</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">bundle — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/cache.html b/deps/npm/html/doc/cache.html index d81c6145a..49b6fe14b 100644 --- a/deps/npm/html/doc/cache.html +++ b/deps/npm/html/doc/cache.html @@ -2,7 +2,7 @@ <html> <title>cache</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">cache — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/changelog.html b/deps/npm/html/doc/changelog.html index b2c2f463f..fbe8536be 100644 --- a/deps/npm/html/doc/changelog.html +++ b/deps/npm/html/doc/changelog.html @@ -2,7 +2,7 @@ <html> <title>changelog</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">changelog — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/coding-style.html b/deps/npm/html/doc/coding-style.html index 2cd3b0ae7..78d55b5b2 100644 --- a/deps/npm/html/doc/coding-style.html +++ b/deps/npm/html/doc/coding-style.html @@ -2,7 +2,7 @@ <html> <title>coding-style</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">coding-style — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/completion.html b/deps/npm/html/doc/completion.html index f025e3eab..5b1c70b7e 100644 --- a/deps/npm/html/doc/completion.html +++ b/deps/npm/html/doc/completion.html @@ -2,7 +2,7 @@ <html> <title>completion</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">completion — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/config.html b/deps/npm/html/doc/config.html index e1fa2e3af..bdfcc4158 100644 --- a/deps/npm/html/doc/config.html +++ b/deps/npm/html/doc/config.html @@ -2,7 +2,7 @@ <html> <title>config</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -684,7 +684,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.23</p> +<p id="footer">config — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/deprecate.html b/deps/npm/html/doc/deprecate.html index 6846de479..8130e0ae3 100644 --- a/deps/npm/html/doc/deprecate.html +++ b/deps/npm/html/doc/deprecate.html @@ -2,7 +2,7 @@ <html> <title>deprecate</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">deprecate — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/developers.html b/deps/npm/html/doc/developers.html index c5e706ed2..4c8f47bdd 100644 --- a/deps/npm/html/doc/developers.html +++ b/deps/npm/html/doc/developers.html @@ -2,7 +2,7 @@ <html> <title>developers</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">developers — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/disputes.html b/deps/npm/html/doc/disputes.html index a1fcf9e83..8755084af 100644 --- a/deps/npm/html/doc/disputes.html +++ b/deps/npm/html/doc/disputes.html @@ -2,7 +2,7 @@ <html> <title>disputes</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">disputes — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/docs.html b/deps/npm/html/doc/docs.html index 1e5f2701b..617d7442e 100644 --- a/deps/npm/html/doc/docs.html +++ b/deps/npm/html/doc/docs.html @@ -2,7 +2,7 @@ <html> <title>docs</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">docs — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/edit.html b/deps/npm/html/doc/edit.html index d7904141b..bdc574ad0 100644 --- a/deps/npm/html/doc/edit.html +++ b/deps/npm/html/doc/edit.html @@ -2,7 +2,7 @@ <html> <title>edit</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">edit — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/explore.html b/deps/npm/html/doc/explore.html index 7a5f07bbe..5bfd6d738 100644 --- a/deps/npm/html/doc/explore.html +++ b/deps/npm/html/doc/explore.html @@ -2,7 +2,7 @@ <html> <title>explore</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">explore — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/faq.html b/deps/npm/html/doc/faq.html index cbdf8f77b..cd84fe9ec 100644 --- a/deps/npm/html/doc/faq.html +++ b/deps/npm/html/doc/faq.html @@ -2,7 +2,7 @@ <html> <title>faq</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">faq — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/find.html b/deps/npm/html/doc/find.html deleted file mode 100644 index 00b2f25d1..000000000 --- a/deps/npm/html/doc/find.html +++ /dev/null @@ -1,75 +0,0 @@ -<!doctype html> -<html> - <title>find</title> - <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> - - <body> - <div id="wrapper"> -<h1><a href="../doc/search.html">search</a></h1> <p>Search for packages</p> - -<h2 id="SYNOPSIS">SYNOPSIS</h2> - -<pre><code>npm search [search terms ...]</code></pre> - -<h2 id="DESCRIPTION">DESCRIPTION</h2> - -<p>Search the registry for packages matching the search terms.</p> - -<h2 id="CONFIGURATION">CONFIGURATION</h2> - -<h3 id="description">description</h3> - -<ul><li>Default: true</li><li>Type: Boolean</li></ul> - -<p>Show the description in <code>npm search</code></p> - -<h3 id="searchopts">searchopts</h3> - -<ul><li>Default: ""</li><li>Type: String</li></ul> - -<p>Space-separated options that are always passed to search.</p> - -<h3 id="searchexclude">searchexclude</h3> - -<ul><li>Default: ""</li><li>Type: String</li></ul> - -<p>Space-separated options that limit the results from search.</p> - -<h2 id="SEE-ALSO">SEE ALSO</h2> - -<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">find — npm@1.1.0-alpha-3</p> -<script> -;(function () { -var wrapper = document.getElementById("wrapper") -var els = Array.prototype.slice.call(wrapper.getElementsByTagName("*"), 0) - .filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id - }) -var l = 2 - , toc = document.createElement("ul") -toc.innerHTML = els.map(function (el) { - var i = el.tagName.charAt(1) - , out = "" - while (i > l) { - out += "<ul>" - l ++ - } - while (i < l) { - out += "</ul>" - l -- - } - out += "<li><a href='#" + el.id + "'>" + - ( el.innerText || el.text || el.innerHTML) - + "</a>" - return out -}).join("\n") -toc.id = "toc" -document.body.appendChild(toc) -})() -</script> -</body></html> diff --git a/deps/npm/html/doc/folders.html b/deps/npm/html/doc/folders.html index 1ee33de7f..582305a55 100644 --- a/deps/npm/html/doc/folders.html +++ b/deps/npm/html/doc/folders.html @@ -2,7 +2,7 @@ <html> <title>folders</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">folders — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/get.html b/deps/npm/html/doc/get.html deleted file mode 100644 index 3db6dfb0e..000000000 --- a/deps/npm/html/doc/get.html +++ /dev/null @@ -1,621 +0,0 @@ -<!doctype html> -<html> - <title>get</title> - <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> - - <body> - <div id="wrapper"> -<h1><a href="../doc/config.html">config</a></h1> <p>Manage the npm configuration file</p> - -<h2 id="SYNOPSIS">SYNOPSIS</h2> - -<pre><code>npm config set <key> <value> [--global] -npm config get <key> -npm config delete <key> -npm config list -npm config edit -npm get <key> -npm set <key> <value> [--global]</code></pre> - -<h2 id="DESCRIPTION">DESCRIPTION</h2> - -<p>npm gets its configuration values from 6 sources, in this priority:</p> - -<h3 id="Command-Line-Flags">Command Line Flags</h3> - -<p>Putting <code>--foo bar</code> on the command line sets the -<code>foo</code> configuration parameter to <code>"bar"</code>. A <code>--</code> argument tells the cli -parser to stop reading flags. A <code>--flag</code> parameter that is at the <em>end</em> of -the command will be given the value of <code>true</code>.</p> - -<h3 id="Environment-Variables">Environment Variables</h3> - -<p>Any environment variables that start with <code>npm_config_</code> will be interpreted -as a configuration parameter. For example, putting <code>npm_config_foo=bar</code> in -your environment will set the <code>foo</code> configuration parameter to <code>bar</code>. Any -environment configurations that are not given a value will be given the value -of <code>true</code>. Config values are case-insensitive, so <code>NPM_CONFIG_FOO=bar</code> will -work the same.</p> - -<h3 id="Per-user-config-file">Per-user config file</h3> - -<p><code>$HOME/.npmrc</code> (or the <code>userconfig</code> param, if set above)</p> - -<p>This file is an ini-file formatted list of <code>key = value</code> parameters.</p> - -<h3 id="Global-config-file">Global config file</h3> - -<p><code>$PREFIX/etc/npmrc</code> (or the <code>globalconfig</code> param, if set above): -This file is an ini-file formatted list of <code>key = value</code> parameters</p> - -<h3 id="Built-in-config-file">Built-in config file</h3> - -<p><code>path/to/npm/itself/npmrc</code></p> - -<p>This is an unchangeable "builtin" -configuration file that npm keeps consistent across updates. Set -fields in here using the <code>./configure</code> script that comes with npm. -This is primarily for distribution maintainers to override default -configs in a standard and consistent manner.</p> - -<h3 id="Default-Configs">Default Configs</h3> - -<p>A set of configuration parameters that are internal to npm, and are -defaults if nothing else is specified.</p> - -<h2 id="Sub-commands">Sub-commands</h2> - -<p>Config supports the following sub-commands:</p> - -<h3 id="set">set</h3> - -<pre><code>npm config set key value</code></pre> - -<p>Sets the config key to the value.</p> - -<p>If value is omitted, then it sets it to "true".</p> - -<h3 id="get">get</h3> - -<pre><code>npm config get key</code></pre> - -<p>Echo the config value to stdout.</p> - -<h3 id="list">list</h3> - -<pre><code>npm config list</code></pre> - -<p>Show all the config settings.</p> - -<h3 id="delete">delete</h3> - -<pre><code>npm config delete key</code></pre> - -<p>Deletes the key from all configuration files.</p> - -<h3 id="edit">edit</h3> - -<pre><code>npm config edit</code></pre> - -<p>Opens the config file in an editor. Use the <code>--global</code> flag to edit the -global config.</p> - -<h2 id="Shorthands-and-Other-CLI-Niceties">Shorthands and Other CLI Niceties</h2> - -<p>The following shorthands are parsed on the command-line:</p> - -<ul><li><code>-v</code>: <code>--version</code></li><li><code>-h</code>, <code>-?</code>, <code>--help</code>, <code>-H</code>: <code>--usage</code></li><li><code>-s</code>, <code>--silent</code>: <code>--loglevel silent</code></li><li><code>-d</code>: <code>--loglevel info</code></li><li><code>-dd</code>, <code>--verbose</code>: <code>--loglevel verbose</code></li><li><code>-ddd</code>: <code>--loglevel silly</code></li><li><code>-g</code>: <code>--global</code></li><li><code>-l</code>: <code>--long</code></li><li><code>-m</code>: <code>--message</code></li><li><code>-p</code>, <code>--porcelain</code>: <code>--parseable</code></li><li><code>-reg</code>: <code>--registry</code></li><li><code>-v</code>: <code>--version</code></li><li><code>-f</code>: <code>--force</code></li><li><code>-l</code>: <code>--long</code></li><li><code>-desc</code>: <code>--description</code></li><li><code>-S</code>: <code>--save</code></li><li><code>-y</code>: <code>--yes</code></li><li><code>-n</code>: <code>--yes false</code></li><li><code>ll</code> and <code>la</code> commands: <code>ls --long</code></li></ul> - -<p>If the specified configuration param resolves unambiguously to a known -configuration parameter, then it is expanded to that configuration -parameter. For example:</p> - -<pre><code>npm ls --par -# same as: -npm ls --parseable</code></pre> - -<p>If multiple single-character shorthands are strung together, and the -resulting combination is unambiguously not some other configuration -param, then it is expanded to its various component pieces. For -example:</p> - -<pre><code>npm ls -gpld -# same as: -npm ls --global --parseable --long --loglevel info</code></pre> - -<h2 id="Per-Package-Config-Settings">Per-Package Config Settings</h2> - -<p>When running scripts (see <code><a href="../doc/scripts.html">scripts(1)</a></code>) -the package.json "config" keys are overwritten in the environment if -there is a config param of <code><name>[@<version>]:<key></code>. For example, if -the package.json has this:</p> - -<pre><code>{ "name" : "foo" -, "config" : { "port" : "8080" } -, "scripts" : { "start" : "node server.js" } }</code></pre> - -<p>and the server.js is this:</p> - -<pre><code>http.createServer(...).listen(process.env.npm_package_config_port)</code></pre> - -<p>then the user could change the behavior by doing:</p> - -<pre><code>npm config set foo:port 80</code></pre> - -<h2 id="Config-Settings">Config Settings</h2> - -<h3 id="always-auth">always-auth</h3> - -<ul><li>Default: false</li><li>Type: Boolean</li></ul> - -<p>Force npm to always require authentication when accessing the registry, -even for <code>GET</code> requests.</p> - -<h3 id="bin-publish">bin-publish</h3> - -<ul><li>Default: false</li><li>Type: Boolean</li></ul> - -<p>If set to true, then binary packages will be created on publish.</p> - -<p>This is the way to opt into the "bindist" behavior described below.</p> - -<h3 id="bindist">bindist</h3> - -<ul><li>Default: Unstable node versions, <code>null</code>, otherwise -<code>"<node version>-<platform>-<os release>"</code></li><li>Type: String or <code>null</code></li></ul> - -<p>Experimental: on stable versions of node, binary distributions will be -created with this tag. If a user then installs that package, and their -<code>bindist</code> tag is found in the list of binary distributions, they will -get that prebuilt version.</p> - -<p>Pre-build node packages have their preinstall, install, and postinstall -scripts stripped (since they are run prior to publishing), and do not -have their <code>build</code> directories automatically ignored.</p> - -<p>It's yet to be seen if this is a good idea.</p> - -<h3 id="browser">browser</h3> - -<ul><li>Default: OS X: <code>"open"</code>, others: <code>"google-chrome"</code></li><li>Type: String</li></ul> - -<p>The browser that is called by the <code>npm docs</code> command to open websites.</p> - -<h3 id="ca">ca</h3> - -<ul><li>Default: The npm CA certificate</li><li>Type: String or null</li></ul> - -<p>The Certificate Authority signing certificate that is trusted for SSL -connections to the registry.</p> - -<p>Set to <code>null</code> to only allow "known" registrars, or to a specific CA cert -to trust only that specific signing authority.</p> - -<p>See also the <code>strict-ssl</code> config.</p> - -<h3 id="cache">cache</h3> - -<ul><li>Default: Windows: <code>~/npm-cache</code>, Posix: <code>~/.npm</code></li><li>Type: path</li></ul> - -<p>The location of npm's cache directory. See <code><a href="../doc/cache.html">cache(1)</a></code></p> - -<h3 id="color">color</h3> - -<ul><li>Default: true on Posix, false on Windows</li><li>Type: Boolean or <code>"always"</code></li></ul> - -<p>If false, never shows colors. If <code>"always"</code> then always shows colors. -If true, then only prints color codes for tty file descriptors.</p> - -<h3 id="depth">depth</h3> - -<ul><li>Default: Infinity</li><li>Type: Number</li></ul> - -<p>The depth to go when recursing directories for <code>npm ls</code> and -<code>npm cache ls</code>.</p> - -<h3 id="description">description</h3> - -<ul><li>Default: true</li><li>Type: Boolean</li></ul> - -<p>Show the description in <code>npm search</code></p> - -<h3 id="dev">dev</h3> - -<ul><li>Default: false</li><li>Type: Boolean</li></ul> - -<p>Install <code>dev-dependencies</code> along with packages.</p> - -<p>Note that <code>dev-dependencies</code> are also installed if the <code>npat</code> flag is -set.</p> - -<h3 id="editor">editor</h3> - -<ul><li>Default: <code>EDITOR</code> environment variable if set, or <code>"vi"</code> on Posix, -or <code>"notepad"</code> on Windows.</li><li>Type: path</li></ul> - -<p>The command to run for <code>npm edit</code> or <code>npm config edit</code>.</p> - -<h3 id="force">force</h3> - -<ul><li>Default: false</li><li>Type: Boolean</li></ul> - -<p>Makes various commands more forceful.</p> - -<ul><li>lifecycle script failure does not block progress.</li><li>publishing clobbers previously published versions.</li><li>skips cache when requesting from the registry.</li><li>prevents checks against clobbering non-npm files.</li></ul> - -<h3 id="global">global</h3> - -<ul><li>Default: false</li><li>Type: Boolean</li></ul> - -<p>Operates in "global" mode, so that packages are installed into the -<code>prefix</code> folder instead of the current working directory. See -<code><a href="../doc/folders.html">folders(1)</a></code> for more on the differences in behavior.</p> - -<ul><li>packages are installed into the <code>prefix/node_modules</code> folder, instead of the -current working directory.</li><li>bin files are linked to <code>prefix/bin</code></li><li>man pages are linked to <code>prefix/share/man</code></li></ul> - -<h3 id="globalconfig">globalconfig</h3> - -<ul><li>Default: {prefix}/etc/npmrc</li><li>Type: path</li></ul> - -<p>The config file to read for global config options.</p> - -<h3 id="globalignorefile">globalignorefile</h3> - -<ul><li>Default: {prefix}/etc/npmignore</li><li>Type: path</li></ul> - -<p>The config file to read for global ignore patterns to apply to all users -and all projects.</p> - -<p>If not found, but there is a "gitignore" file in the -same directory, then that will be used instead.</p> - -<h3 id="group">group</h3> - -<ul><li>Default: GID of the current process</li><li>Type: String or Number</li></ul> - -<p>The group to use when running package scripts in global mode as the root -user.</p> - -<h3 id="https-proxy">https-proxy</h3> - -<ul><li>Default: the <code>HTTPS_PROXY</code> or <code>https_proxy</code> or <code>HTTP_PROXY</code> or -<code>http_proxy</code> environment variables.</li><li>Type: url</li></ul> - -<p>A proxy to use for outgoing https requests.</p> - -<h3 id="ignore">ignore</h3> - -<ul><li>Default: ""</li><li>Type: string</li></ul> - -<p>A white-space separated list of glob patterns of files to always exclude -from packages when building tarballs.</p> - -<h3 id="init-version">init.version</h3> - -<ul><li>Default: "0.0.0"</li><li>Type: semver</li></ul> - -<p>The value <code>npm init</code> should use by default for the package version.</p> - -<h3 id="init-author-name">init.author.name</h3> - -<ul><li>Default: "0.0.0"</li><li>Type: String</li></ul> - -<p>The value <code>npm init</code> should use by default for the package author's name.</p> - -<h3 id="init-author-email">init.author.email</h3> - -<ul><li>Default: ""</li><li>Type: String</li></ul> - -<p>The value <code>npm init</code> should use by default for the package author's email.</p> - -<h3 id="init-author-url">init.author.url</h3> - -<ul><li>Default: ""</li><li>Type: String</li></ul> - -<p>The value <code>npm init</code> should use by default for the package author's homepage.</p> - -<h3 id="link">link</h3> - -<ul><li>Default: false</li><li>Type: Boolean</li></ul> - -<p>If true, then local installs will link if there is a suitable globally -installed package.</p> - -<p>Note that this means that local installs can cause things to be -installed into the global space at the same time. The link is only done -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: "warn"</li><li>Type: String</li><li>Values: "silent", "win", "error", "warn", "info", "verbose", "silly"</li></ul> - -<p>What level of logs to report. On failure, <em>all</em> logs are written to -<code>npm-debug.log</code> in the current working directory.</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> - -<p>Show extended information in <code>npm ls</code></p> - -<h3 id="message">message</h3> - -<ul><li>Default: "%s"</li><li>Type: String</li></ul> - -<p>Commit message which is used by <code>npm version</code> when creating version commit.</p> - -<p>Any "%s" in the message will be replaced with the version number.</p> - -<h3 id="node-version">node-version</h3> - -<ul><li>Default: process.version</li><li>Type: semver or false</li></ul> - -<p>The node version to use when checking package's "engines" hash.</p> - -<h3 id="npat">npat</h3> - -<ul><li>Default: false</li><li>Type: Boolean</li></ul> - -<p>Run tests on installation and report results to the -<code>npaturl</code>.</p> - -<h3 id="npaturl">npaturl</h3> - -<ul><li>Default: Not yet implemented</li><li>Type: url</li></ul> - -<p>The url to report npat test results.</p> - -<h3 id="onload-script">onload-script</h3> - -<ul><li>Default: false</li><li>Type: path</li></ul> - -<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> - -<p>Output parseable results from commands that write to -standard output.</p> - -<h3 id="prefix">prefix</h3> - -<ul><li>Default: node's process.installPrefix</li><li>Type: path</li></ul> - -<p>The location to install global items. If set on the command line, then -it forces non-global commands to run in the specified folder.</p> - -<h3 id="production">production</h3> - -<ul><li>Default: false</li><li>Type: Boolean</li></ul> - -<p>Set to true to run in "production" mode.</p> - -<ol><li>devDependencies are not installed at the topmost level when running -local <code>npm install</code> without any arguments.</li><li>Set the NODE_ENV="production" for lifecycle scripts.</li></ol> - -<h3 id="proxy">proxy</h3> - -<ul><li>Default: <code>HTTP_PROXY</code> or <code>http_proxy</code> environment variable, or null</li><li>Type: url</li></ul> - -<p>A proxy to use for outgoing http requests.</p> - -<h3 id="rebuild-bundle">rebuild-bundle</h3> - -<ul><li>Default: true</li><li>Type: Boolean</li></ul> - -<p>Rebuild bundled dependencies after installation.</p> - -<h3 id="registry">registry</h3> - -<ul><li>Default: https://registry.npmjs.org/</li><li>Type: url</li></ul> - -<p>The base URL of the npm package registry.</p> - -<h3 id="rollback">rollback</h3> - -<ul><li>Default: true</li><li>Type: Boolean</li></ul> - -<p>Remove failed installs.</p> - -<h3 id="save">save</h3> - -<ul><li>Default: false</li><li>Type: Boolean</li></ul> - -<p>Save installed packages to a package.json file as dependencies.</p> - -<p>Only works if there is already a package.json file present.</p> - -<h3 id="searchopts">searchopts</h3> - -<ul><li>Default: ""</li><li>Type: String</li></ul> - -<p>Space-separated options that are always passed to search.</p> - -<h3 id="searchexclude">searchexclude</h3> - -<ul><li>Default: ""</li><li>Type: String</li></ul> - -<p>Space-separated options that limit the results from search.</p> - -<h3 id="shell">shell</h3> - -<ul><li>Default: SHELL environment variable, or "bash" on Posix, or "cmd" on -Windows</li><li>Type: path</li></ul> - -<p>The shell to run for the <code>npm explore</code> command.</p> - -<h3 id="strict-ssl">strict-ssl</h3> - -<ul><li>Default: true</li><li>Type: Boolean</li></ul> - -<p>Whether or not to do SSL key validation when making requests to the -registry via https.</p> - -<p>See also the <code>ca</code> config.</p> - -<h3 id="tag">tag</h3> - -<ul><li>Default: latest</li><li>Type: String</li></ul> - -<p>If you ask npm to install a package and don't tell it a specific version, then -it will install the specified tag.</p> - -<p>Also the tag that is added to the package@version specified by the <code>npm -tag</code> command, if no explicit tag is given.</p> - -<h3 id="tmp">tmp</h3> - -<ul><li>Default: TMPDIR environment variable, or "/tmp"</li><li>Type: path</li></ul> - -<p>Where to store temporary files and folders. All temp files are deleted -on success, but left behind on failure for forensic purposes.</p> - -<h3 id="unicode">unicode</h3> - -<ul><li>Default: true</li><li>Type: Boolean</li></ul> - -<p>When set to true, npm uses unicode characters in the tree output. When -false, it uses ascii characters to draw trees.</p> - -<h3 id="unsafe-perm">unsafe-perm</h3> - -<ul><li>Default: false if running as root, true otherwise</li><li>Type: Boolean</li></ul> - -<p>Set to true to suppress the UID/GID switching when running package -scripts. If set explicitly to false, then installing as a non-root user -will fail.</p> - -<h3 id="usage">usage</h3> - -<ul><li>Default: false</li><li>Type: Boolean</li></ul> - -<p>Set to show short usage output (like the -H output) -instead of complete help when doing <code><a href="../doc/help.html">help(1)</a></code>.</p> - -<h3 id="user">user</h3> - -<ul><li>Default: "nobody"</li><li>Type: String or Number</li></ul> - -<p>The UID to set to when running package scripts as root.</p> - -<h3 id="username">username</h3> - -<ul><li>Default: null</li><li>Type: String</li></ul> - -<p>The username on the npm registry. Set with <code>npm adduser</code></p> - -<h3 id="userconfig">userconfig</h3> - -<ul><li>Default: ~/.npmrc</li><li>Type: path</li></ul> - -<p>The location of user-level configuration settings.</p> - -<h3 id="userignorefile">userignorefile</h3> - -<ul><li>Default: ~/.npmignore</li><li>Type: path</li></ul> - -<p>The location of a user-level ignore file to apply to all packages.</p> - -<p>If not found, but there is a .gitignore file in the same directory, then -that will be used instead.</p> - -<h3 id="umask">umask</h3> - -<ul><li>Default: 022</li><li>Type: Octal numeric string</li></ul> - -<p>The "umask" value to use when setting the file creation mode on files -and folders.</p> - -<p>Folders and executables are given a mode which is <code>0777</code> masked against -this value. Other files are given a mode which is <code>0666</code> masked against -this value. Thus, the defaults are <code>0755</code> and <code>0644</code> respectively.</p> - -<h3 id="version">version</h3> - -<ul><li>Default: false</li><li>Type: boolean</li></ul> - -<p>If true, output the npm version and exit successfully.</p> - -<p>Only relevant when specified explicitly on the command line.</p> - -<h3 id="viewer">viewer</h3> - -<ul><li>Default: "man" on Posix, "browser" on Windows</li><li>Type: path</li></ul> - -<p>The program to use to view help content.</p> - -<p>Set to <code>"browser"</code> to view html help content in the default web browser.</p> - -<h3 id="yes">yes</h3> - -<ul><li>Default: null</li><li>Type: Boolean or null</li></ul> - -<p>If set to <code>null</code>, then prompt the user for responses in some -circumstances.</p> - -<p>If set to <code>true</code>, then answer "yes" to any prompt. If set to <code>false</code> -then answer "no" to any prompt.</p> - -<h2 id="SEE-ALSO">SEE ALSO</h2> - -<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">get — npm@1.1.0-alpha-3</p> -<script> -;(function () { -var wrapper = document.getElementById("wrapper") -var els = Array.prototype.slice.call(wrapper.getElementsByTagName("*"), 0) - .filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id - }) -var l = 2 - , toc = document.createElement("ul") -toc.innerHTML = els.map(function (el) { - var i = el.tagName.charAt(1) - , out = "" - while (i > l) { - out += "<ul>" - l ++ - } - while (i < l) { - out += "</ul>" - l -- - } - out += "<li><a href='#" + el.id + "'>" + - ( el.innerText || el.text || el.innerHTML) - + "</a>" - return out -}).join("\n") -toc.id = "toc" -document.body.appendChild(toc) -})() -</script> -</body></html> diff --git a/deps/npm/html/doc/global.html b/deps/npm/html/doc/global.html deleted file mode 100644 index 9904c30ce..000000000 --- a/deps/npm/html/doc/global.html +++ /dev/null @@ -1,240 +0,0 @@ -<!doctype html> -<html> - <title>global</title> - <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> - - <body> - <div id="wrapper"> -<h1><a href="../doc/folders.html">folders</a></h1> <p>Folder Structures Used by npm</p> - -<h2 id="DESCRIPTION">DESCRIPTION</h2> - -<p>npm puts various things on your computer. That's its job.</p> - -<p>This document will tell you what it puts where.</p> - -<h3 id="tl-dr">tl;dr</h3> - -<ul><li>Local install (default): puts stuff in <code>./node_modules</code> of the current -package root.</li><li>Global install (with <code>-g</code>): puts stuff in /usr/local or wherever node -is installed.</li><li>Install it <strong>locally</strong> if you're going to <code>require()</code> it.</li><li>Install it <strong>globally</strong> if you're going to run it on the command line.</li><li>If you need both, then install it in both places, or use <code>npm link</code>.</li></ul> - -<h3 id="prefix-Configuration">prefix Configuration</h3> - -<p>The <code>prefix</code> config defaults to the location where node is installed. -On most systems, this is <code>/usr/local</code>, and most of the time is the same -as node's <code>process.installPrefix</code>.</p> - -<p>On windows, this is the exact location of the node.exe binary. On Unix -systems, it's one level up, since node is typically installed at -<code>{prefix}/bin/node</code> rather than <code>{prefix}/node.exe</code>.</p> - -<p>When the <code>global</code> flag is set, npm installs things into this prefix. -When it is not set, it uses the root of the current package, or the -current working directory if not in a package already.</p> - -<h3 id="Node-Modules">Node Modules</h3> - -<p>Packages are dropped into the <code>node_modules</code> folder under the <code>prefix</code>. -When installing locally, this means that you can -<code>require("packagename")</code> to load its main module, or -<code>require("packagename/lib/path/to/sub/module")</code> to load other modules.</p> - -<p>Global installs on Unix systems go to <code>{prefix}/lib/node_modules</code>. -Global installs on Windows go to <code>{prefix}/node_modules</code> (that is, no -<code>lib</code> folder.)</p> - -<p>If you wish to <code>require()</code> a package, then install it locally.</p> - -<h3 id="Executables">Executables</h3> - -<p>When in global mode, executables are linked into <code>{prefix}/bin</code> on Unix, -or directly into <code>{prefix}</code> on Windows.</p> - -<p>When in local mode, executables are linked into -<code>./node_modules/.bin</code> so that they can be made available to scripts run -through npm. (For example, so that a test runner will be in the path -when you run <code>npm test</code>.)</p> - -<h3 id="Man-Pages">Man Pages</h3> - -<p>When in global mode, man pages are linked into <code>{prefix}/share/man</code>.</p> - -<p>When in local mode, man pages are not installed.</p> - -<p>Man pages are not installed on Windows systems.</p> - -<h3 id="Cache">Cache</h3> - -<p>See <code><a href="../doc/cache.html">cache(1)</a></code>. Cache files are stored in <code>~/.npm</code> on Posix, or -<code>~/npm-cache</code> on Windows.</p> - -<p>This is controlled by the <code>cache</code> configuration param.</p> - -<h3 id="Temp-Files">Temp Files</h3> - -<p>Temporary files are stored by default in the folder specified by the -<code>tmp</code> config, which defaults to the TMPDIR, TMP, or TEMP environment -variables, or <code>/tmp</code> on Unix and <code>c:\windows\temp</code> on Windows.</p> - -<p>Temp files are given a unique folder under this root for each run of the -program, and are deleted upon successful exit.</p> - -<h2 id="More-Information">More Information</h2> - -<p>When installing locally, npm first tries to find an appropriate -<code>prefix</code> folder. This is so that <code>npm install foo@1.2.3</code> will install -to the sensible root of your package, even if you happen to have <code>cd</code>ed -into some other folder.</p> - -<p>Starting at the $PWD, npm will walk up the folder tree checking for a -folder that contains either a <code>package.json</code> file, or a <code>node_modules</code> -folder. If such a thing is found, then that is treated as the effective -"current directory" for the purpose of running npm commands. (This -behavior is inspired by and similar to git's .git-folder seeking -logic when running git commands in a working dir.)</p> - -<p>If no package root is found, then the current folder is used.</p> - -<p>When you run <code>npm install foo@1.2.3</code>, then the package is loaded into -the cache, and then unpacked into <code>./node_modules/foo</code>. Then, any of -foo's dependencies are similarly unpacked into -<code>./node_modules/foo/node_modules/...</code>.</p> - -<p>Any bin files are symlinked to <code>./node_modules/.bin/</code>, so that they may -be found by npm scripts when necessary.</p> - -<h3 id="Global-Installation">Global Installation</h3> - -<p>If the <code>global</code> configuration is set to true, then npm will -install packages "globally".</p> - -<p>For global installation, packages are installed roughly the same way, -but using the folders described above.</p> - -<h3 id="Cycles-Conflicts-and-Folder-Parsimony">Cycles, Conflicts, and Folder Parsimony</h3> - -<p>Cycles are handled using the property of node's module system that it -walks up the directories looking for <code>node_modules</code> folders. So, at every -stage, if a package is already installed in an ancestor <code>node_modules</code> -folder, then it is not installed at the current location.</p> - -<p>Consider the case above, where <code>foo -> bar -> baz</code>. Imagine if, in -addition to that, baz depended on bar, so you'd have: -<code>foo -> bar -> baz -> bar -> baz ...</code>. However, since the folder -structure is: <code>foo/node_modules/bar/node_modules/baz</code>, there's no need to -put another copy of bar into <code>.../baz/node_modules</code>, since when it calls -require("bar"), it will get the copy that is installed in -<code>foo/node_modules/bar</code>.</p> - -<p>This shortcut is only used if the exact same -version would be installed in multiple nested <code>node_modules</code> folders. It -is still possible to have <code>a/node_modules/b/node_modules/a</code> if the two -"a" packages are different versions. However, without repeating the -exact same package multiple times, an infinite regress will always be -prevented.</p> - -<p>Another optimization can be made by installing dependencies at the -highest level possible, below the localized "target" folder.</p> - -<h4 id="Example">Example</h4> - -<p>Consider this dependency graph:</p> - -<pre><code>foo -+-- blerg@1.2.5 -+-- bar@1.2.3 -| +-- blerg@1.x (latest=1.3.7) -| +-- baz@2.x -| | `-- quux@3.x -| | `-- bar@1.2.3 (cycle) -| `-- asdf@* -`-- baz@1.2.3 - `-- quux@3.x - `-- bar</code></pre> - -<p>In this case, we might expect a folder structure like this:</p> - -<pre><code>foo -+-- node_modules - +-- blerg (1.2.5) <---[A] - +-- bar (1.2.3) <---[B] - | +-- node_modules - | | `-- baz (2.0.2) <---[C] - | | `-- node_modules - | | `-- quux (3.2.0) - | `-- asdf (2.3.4) - `-- baz (1.2.3) <---[D] - `-- node_modules - `-- quux (3.2.0) <---[E]</code></pre> - -<p>Since foo depends directly on bar@1.2.3 and baz@1.2.3, those are -installed in foo's <code>node_modules</code> folder.</p> - -<p>Even though the latest copy of blerg is 1.3.7, foo has a specific -dependency on version 1.2.5. So, that gets installed at [A]. Since the -parent installation of blerg satisfie's bar's dependency on blerg@1.x, -it does not install another copy under [B].</p> - -<p>Bar [B] also has dependencies on baz and asdf, so those are installed in -bar's <code>node_modules</code> folder. Because it depends on <code>baz@2.x</code>, it cannot -re-use the <code>baz@1.2.3</code> installed in the parent <code>node_modules</code> folder [D], -and must install its own copy [C].</p> - -<p>Underneath bar, the <code>baz->quux->bar</code> dependency creates a cycle. -However, because <code>bar</code> is already in <code>quux</code>'s ancestry [B], it does not -unpack another copy of bar into that folder.</p> - -<p>Underneath <code>foo->baz</code> [D], quux's [E] folder tree is empty, because its -dependency on bar is satisfied by the parent folder copy installed at [B].</p> - -<p>For a graphical breakdown of what is installed where, use <code>npm ls</code>.</p> - -<h3 id="Publishing">Publishing</h3> - -<p>Upon publishing, npm will look in the <code>node_modules</code> folder. If any of -the items there are not in the <code>bundledDependencies</code> array, then they will -not be included in the package tarball.</p> - -<p>This allows a package maintainer to install all of their dependencies -(and dev dependencies) locally, but only re-publish those items that -cannot be found elsewhere. See <code><a href="../doc/json.html">json(1)</a></code> for more information.</p> - -<h2 id="SEE-ALSO">SEE ALSO</h2> - -<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">global — npm@1.1.0-alpha-3</p> -<script> -;(function () { -var wrapper = document.getElementById("wrapper") -var els = Array.prototype.slice.call(wrapper.getElementsByTagName("*"), 0) - .filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id - }) -var l = 2 - , toc = document.createElement("ul") -toc.innerHTML = els.map(function (el) { - var i = el.tagName.charAt(1) - , out = "" - while (i > l) { - out += "<ul>" - l ++ - } - while (i < l) { - out += "</ul>" - l -- - } - out += "<li><a href='#" + el.id + "'>" + - ( el.innerText || el.text || el.innerHTML) - + "</a>" - return out -}).join("\n") -toc.id = "toc" -document.body.appendChild(toc) -})() -</script> -</body></html> diff --git a/deps/npm/html/doc/help-search.html b/deps/npm/html/doc/help-search.html index 7690a717e..fd8537766 100644 --- a/deps/npm/html/doc/help-search.html +++ b/deps/npm/html/doc/help-search.html @@ -2,7 +2,7 @@ <html> <title>help-search</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">help-search — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/help.html b/deps/npm/html/doc/help.html index adb8b7e16..476b458f5 100644 --- a/deps/npm/html/doc/help.html +++ b/deps/npm/html/doc/help.html @@ -2,7 +2,7 @@ <html> <title>help</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">help — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/home.html b/deps/npm/html/doc/home.html deleted file mode 100644 index e77d6b91c..000000000 --- a/deps/npm/html/doc/home.html +++ /dev/null @@ -1,72 +0,0 @@ -<!doctype html> -<html> - <title>home</title> - <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> - - <body> - <div id="wrapper"> -<h1><a href="../doc/docs.html">docs</a></h1> <p>Docs for a package in a web browser maybe</p> - -<h2 id="SYNOPSIS">SYNOPSIS</h2> - -<pre><code>npm docs <pkgname> -npm home <pkgname></code></pre> - -<h2 id="DESCRIPTION">DESCRIPTION</h2> - -<p>This command tries to guess at the likely location of a package's -documentation URL, and then tries to open it using the <code>--browser</code> -config param.</p> - -<h2 id="CONFIGURATION">CONFIGURATION</h2> - -<h3 id="browser">browser</h3> - -<ul><li>Default: OS X: <code>"open"</code>, others: <code>"google-chrome"</code></li><li>Type: String</li></ul> - -<p>The browser that is called by the <code>npm docs</code> command to open websites.</p> - -<h3 id="registry">registry</h3> - -<ul><li>Default: https://registry.npmjs.org/</li><li>Type: url</li></ul> - -<p>The base URL of the npm package registry.</p> - -<h2 id="SEE-ALSO">SEE ALSO</h2> - -<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">home — npm@1.1.0-alpha-3</p> -<script> -;(function () { -var wrapper = document.getElementById("wrapper") -var els = Array.prototype.slice.call(wrapper.getElementsByTagName("*"), 0) - .filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id - }) -var l = 2 - , toc = document.createElement("ul") -toc.innerHTML = els.map(function (el) { - var i = el.tagName.charAt(1) - , out = "" - while (i > l) { - out += "<ul>" - l ++ - } - while (i < l) { - out += "</ul>" - l -- - } - out += "<li><a href='#" + el.id + "'>" + - ( el.innerText || el.text || el.innerHTML) - + "</a>" - return out -}).join("\n") -toc.id = "toc" -document.body.appendChild(toc) -})() -</script> -</body></html> diff --git a/deps/npm/html/doc/index.html b/deps/npm/html/doc/index.html index 9082ff85b..84d6d3443 100644 --- a/deps/npm/html/doc/index.html +++ b/deps/npm/html/doc/index.html @@ -2,7 +2,7 @@ <html> <title>index</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -384,7 +384,7 @@ <p> Display npm username</p> </div> -<p id="footer">index — npm@1.1.23</p> +<p id="footer">index — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/init.html b/deps/npm/html/doc/init.html index 5e0f7f900..4721aa507 100644 --- a/deps/npm/html/doc/init.html +++ b/deps/npm/html/doc/init.html @@ -2,7 +2,7 @@ <html> <title>init</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">init — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/install.html b/deps/npm/html/doc/install.html index 5f7e5d3bf..76c5e65d8 100644 --- a/deps/npm/html/doc/install.html +++ b/deps/npm/html/doc/install.html @@ -2,7 +2,7 @@ <html> <title>install</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">install — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/json.html b/deps/npm/html/doc/json.html index a467aaa70..cc452d2d4 100644 --- a/deps/npm/html/doc/json.html +++ b/deps/npm/html/doc/json.html @@ -2,7 +2,7 @@ <html> <title>json</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -366,6 +366,7 @@ install time.</p> <pre><code>git://github.com/user/project.git#commit-ish git+ssh://user@hostname:project.git#commit-ish +git+ssh://user@hostname/project.git#commit-ish git+http://user@hostname/project/blah.git#commit-ish git+https://user@hostname/project/blah.git#commit-ish</code></pre> @@ -392,6 +393,36 @@ for more on the topic.</p> <p>If this is spelled <code>"bundleDependencies"</code>, then that is also honorable.</p> +<h2 id="optionalDependencies">optionalDependencies</h2> + +<p>If a dependency can be used, but you would like npm to proceed if it +cannot be found or fails to install, then you may put it in the +<code>optionalDependencies</code> hash. This is a map of package name to version +or url, just like the <code>dependencies</code> hash. The difference is that +failure is tolerated.</p> + +<p>It is still your program's responsibility to handle the lack of the +dependency. For example, something like this:</p> + +<pre><code>try { + var foo = require('foo') + var fooVersion = require('foo/package.json').version +} catch (er) { + foo = null +} +if ( notGoodFooVersion(fooVersion) ) { + foo = null +} + +// .. then later in your program .. + +if (foo) { + foo.doFooThings() +}</code></pre> + +<p>Entries in <code>optionalDependencies</code> will override entries of the same name in +<code>dependencies</code>, so it's usually best to only put in one place.</p> + <h2 id="engines">engines</h2> <p>You can specify the version of @@ -478,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.23</p> +<p id="footer">json — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/link.html b/deps/npm/html/doc/link.html index 761adc6e7..8d97ac934 100644 --- a/deps/npm/html/doc/link.html +++ b/deps/npm/html/doc/link.html @@ -2,7 +2,7 @@ <html> <title>link</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">link — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/list.html b/deps/npm/html/doc/list.html index a014b149e..42ce8e29e 100644 --- a/deps/npm/html/doc/list.html +++ b/deps/npm/html/doc/list.html @@ -2,7 +2,7 @@ <html> <title>list</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">list — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/ln.html b/deps/npm/html/doc/ln.html deleted file mode 100644 index 1fb703193..000000000 --- a/deps/npm/html/doc/ln.html +++ /dev/null @@ -1,93 +0,0 @@ -<!doctype html> -<html> - <title>ln</title> - <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> - - <body> - <div id="wrapper"> -<h1><a href="../doc/link.html">link</a></h1> <p>Symlink a package folder</p> - -<h2 id="SYNOPSIS">SYNOPSIS</h2> - -<pre><code>npm link (in package folder) -npm link <pkgname></code></pre> - -<h2 id="DESCRIPTION">DESCRIPTION</h2> - -<p>Package linking is a two-step process.</p> - -<p>First, <code>npm link</code> in a package folder will create a globally-installed -symbolic link from <code>prefix/package-name</code> to the current folder.</p> - -<p>Next, in some other location, <code>npm link package-name</code> will create a -symlink from the local <code>node_modules</code> folder to the global symlink.</p> - -<p>When creating tarballs for <code>npm publish</code>, the linked packages are -"snapshotted" to their current state by resolving the symbolic links.</p> - -<p>This is -handy for installing your own stuff, so that you can work on it and test it -iteratively without having to continually rebuild.</p> - -<p>For example:</p> - -<pre><code>cd ~/projects/node-redis # go into the package directory -npm link # creates global link -cd ~/projects/node-bloggy # go into some other package directory. -npm link redis # link-install the package</code></pre> - -<p>Now, any changes to ~/projects/node-redis will be reflected in -~/projects/node-bloggy/node_modules/redis/</p> - -<p>You may also shortcut the two steps in one. For example, to do the -above use-case in a shorter way:</p> - -<pre><code>cd ~/projects/node-bloggy # go into the dir of your main project -npm link ../node-redis # link the dir of your dependency</code></pre> - -<p>The second line is the equivalent of doing:</p> - -<pre><code>(cd ../node-redis; npm link) -npm link redis</code></pre> - -<p>That is, it first creates a global link, and then links the global -installation target into your project's <code>node_modules</code> folder.</p> - -<h2 id="SEE-ALSO">SEE ALSO</h2> - -<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">ln — npm@1.1.0-alpha-3</p> -<script> -;(function () { -var wrapper = document.getElementById("wrapper") -var els = Array.prototype.slice.call(wrapper.getElementsByTagName("*"), 0) - .filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id - }) -var l = 2 - , toc = document.createElement("ul") -toc.innerHTML = els.map(function (el) { - var i = el.tagName.charAt(1) - , out = "" - while (i > l) { - out += "<ul>" - l ++ - } - while (i < l) { - out += "</ul>" - l -- - } - out += "<li><a href='#" + el.id + "'>" + - ( el.innerText || el.text || el.innerHTML) - + "</a>" - return out -}).join("\n") -toc.id = "toc" -document.body.appendChild(toc) -})() -</script> -</body></html> diff --git a/deps/npm/html/doc/ls.html b/deps/npm/html/doc/ls.html deleted file mode 100644 index 9ad1fca27..000000000 --- a/deps/npm/html/doc/ls.html +++ /dev/null @@ -1,87 +0,0 @@ -<!doctype html> -<html> - <title>ls</title> - <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> - - <body> - <div id="wrapper"> -<h1><a href="../doc/ls.html">ls</a></h1> <p>List installed packages</p> - -<h2 id="SYNOPSIS">SYNOPSIS</h2> - -<pre><code>npm list -npm ls -npm la -npm ll</code></pre> - -<h2 id="DESCRIPTION">DESCRIPTION</h2> - -<p>This command will print to stdout all the versions of packages that are -installed, as well as their dependencies, in a tree-structure.</p> - -<p>It does not take positional arguments, though you may set config flags -like with any other command, such as <code>-g</code> to list global packages.</p> - -<p>It will print out extraneous, missing, and invalid packages.</p> - -<p>When run as <code>ll</code> or <code>la</code>, it shows extended information by default.</p> - -<h2 id="CONFIGURATION">CONFIGURATION</h2> - -<h3 id="long">long</h3> - -<ul><li>Default: false</li><li>Type: Boolean</li></ul> - -<p>Show extended information.</p> - -<h3 id="parseable">parseable</h3> - -<ul><li>Default: false</li><li>Type: Boolean</li></ul> - -<p>Show parseable output instead of tree view.</p> - -<h3 id="global">global</h3> - -<ul><li>Default: false</li><li>Type: Boolean</li></ul> - -<p>List packages in the global install prefix instead of in the current -project.</p> - -<h2 id="SEE-ALSO">SEE ALSO</h2> - -<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">ls — npm@1.1.0-alpha-3</p> -<script> -;(function () { -var wrapper = document.getElementById("wrapper") -var els = Array.prototype.slice.call(wrapper.getElementsByTagName("*"), 0) - .filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id - }) -var l = 2 - , toc = document.createElement("ul") -toc.innerHTML = els.map(function (el) { - var i = el.tagName.charAt(1) - , out = "" - while (i > l) { - out += "<ul>" - l ++ - } - while (i < l) { - out += "</ul>" - l -- - } - out += "<li><a href='#" + el.id + "'>" + - ( el.innerText || el.text || el.innerHTML) - + "</a>" - return out -}).join("\n") -toc.id = "toc" -document.body.appendChild(toc) -})() -</script> -</body></html> diff --git a/deps/npm/html/doc/npm.html b/deps/npm/html/doc/npm.html index 6f71723b2..0d5a06942 100644 --- a/deps/npm/html/doc/npm.html +++ b/deps/npm/html/doc/npm.html @@ -2,7 +2,7 @@ <html> <title>npm</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -14,7 +14,7 @@ <h2 id="VERSION">VERSION</h2> -<p>1.1.23</p> +<p>1.1.24</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.23</p> +<p id="footer">npm — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/outdated.html b/deps/npm/html/doc/outdated.html index 67171e209..4d96f4b2a 100644 --- a/deps/npm/html/doc/outdated.html +++ b/deps/npm/html/doc/outdated.html @@ -2,7 +2,7 @@ <html> <title>outdated</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">outdated — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/owner.html b/deps/npm/html/doc/owner.html index ea1adf9c9..d45964d48 100644 --- a/deps/npm/html/doc/owner.html +++ b/deps/npm/html/doc/owner.html @@ -2,7 +2,7 @@ <html> <title>owner</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">owner — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/pack.html b/deps/npm/html/doc/pack.html index a62838c95..23a6a7028 100644 --- a/deps/npm/html/doc/pack.html +++ b/deps/npm/html/doc/pack.html @@ -2,7 +2,7 @@ <html> <title>pack</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">pack — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/prefix.html b/deps/npm/html/doc/prefix.html index 5cc4b4a32..a90db1e54 100644 --- a/deps/npm/html/doc/prefix.html +++ b/deps/npm/html/doc/prefix.html @@ -2,7 +2,7 @@ <html> <title>prefix</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">prefix — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/prune.html b/deps/npm/html/doc/prune.html index f548c9277..618bba394 100644 --- a/deps/npm/html/doc/prune.html +++ b/deps/npm/html/doc/prune.html @@ -2,7 +2,7 @@ <html> <title>prune</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">prune — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/publish.html b/deps/npm/html/doc/publish.html index e583bf27d..b36695868 100644 --- a/deps/npm/html/doc/publish.html +++ b/deps/npm/html/doc/publish.html @@ -2,7 +2,7 @@ <html> <title>publish</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">publish — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/rebuild.html b/deps/npm/html/doc/rebuild.html index 2c4f333a7..77f0ced0b 100644 --- a/deps/npm/html/doc/rebuild.html +++ b/deps/npm/html/doc/rebuild.html @@ -2,7 +2,7 @@ <html> <title>rebuild</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">rebuild — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/registry.html b/deps/npm/html/doc/registry.html index 35cc57709..2a4ec5783 100644 --- a/deps/npm/html/doc/registry.html +++ b/deps/npm/html/doc/registry.html @@ -2,7 +2,7 @@ <html> <title>registry</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">registry — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/removing-npm.html b/deps/npm/html/doc/removing-npm.html index aee2c1464..983d427b6 100644 --- a/deps/npm/html/doc/removing-npm.html +++ b/deps/npm/html/doc/removing-npm.html @@ -2,7 +2,7 @@ <html> <title>removing-npm</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">removing-npm — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/restart.html b/deps/npm/html/doc/restart.html index 36d77be55..965e38f7e 100644 --- a/deps/npm/html/doc/restart.html +++ b/deps/npm/html/doc/restart.html @@ -2,7 +2,7 @@ <html> <title>restart</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">restart — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/rm.html b/deps/npm/html/doc/rm.html deleted file mode 100644 index 3d4c2a47b..000000000 --- a/deps/npm/html/doc/rm.html +++ /dev/null @@ -1,57 +0,0 @@ -<!doctype html> -<html> - <title>rm</title> - <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> - - <body> - <div id="wrapper"> -<h1><a href="../doc/rm.html">rm</a></h1> <p>Remove a package</p> - -<h2 id="SYNOPSIS">SYNOPSIS</h2> - -<pre><code>npm rm <name> -npm uninstall <name></code></pre> - -<h2 id="DESCRIPTION">DESCRIPTION</h2> - -<p>This uninstalls a package, completely removing everything npm installed -on its behalf.</p> - -<h2 id="SEE-ALSO">SEE ALSO</h2> - -<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">rm — npm@1.1.0-alpha-3</p> -<script> -;(function () { -var wrapper = document.getElementById("wrapper") -var els = Array.prototype.slice.call(wrapper.getElementsByTagName("*"), 0) - .filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id - }) -var l = 2 - , toc = document.createElement("ul") -toc.innerHTML = els.map(function (el) { - var i = el.tagName.charAt(1) - , out = "" - while (i > l) { - out += "<ul>" - l ++ - } - while (i < l) { - out += "</ul>" - l -- - } - out += "<li><a href='#" + el.id + "'>" + - ( el.innerText || el.text || el.innerHTML) - + "</a>" - return out -}).join("\n") -toc.id = "toc" -document.body.appendChild(toc) -})() -</script> -</body></html> diff --git a/deps/npm/html/doc/root.html b/deps/npm/html/doc/root.html index ea583953c..bdb274d22 100644 --- a/deps/npm/html/doc/root.html +++ b/deps/npm/html/doc/root.html @@ -2,7 +2,7 @@ <html> <title>root</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">root — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/run-script.html b/deps/npm/html/doc/run-script.html index 2ebb8941e..36bd064a3 100644 --- a/deps/npm/html/doc/run-script.html +++ b/deps/npm/html/doc/run-script.html @@ -2,7 +2,7 @@ <html> <title>run-script</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">run-script — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/scripts.html b/deps/npm/html/doc/scripts.html index df2ad74e5..549b1e66c 100644 --- a/deps/npm/html/doc/scripts.html +++ b/deps/npm/html/doc/scripts.html @@ -2,7 +2,7 @@ <html> <title>scripts</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">scripts — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/search.html b/deps/npm/html/doc/search.html index c5616ecec..956a95bfe 100644 --- a/deps/npm/html/doc/search.html +++ b/deps/npm/html/doc/search.html @@ -2,7 +2,7 @@ <html> <title>search</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">search — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/semver.html b/deps/npm/html/doc/semver.html index 8dfbb25e1..cefa7bbed 100644 --- a/deps/npm/html/doc/semver.html +++ b/deps/npm/html/doc/semver.html @@ -2,7 +2,7 @@ <html> <title>semver</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">semver — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/set.html b/deps/npm/html/doc/set.html deleted file mode 100644 index 3af90b447..000000000 --- a/deps/npm/html/doc/set.html +++ /dev/null @@ -1,621 +0,0 @@ -<!doctype html> -<html> - <title>set</title> - <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> - - <body> - <div id="wrapper"> -<h1><a href="../doc/config.html">config</a></h1> <p>Manage the npm configuration file</p> - -<h2 id="SYNOPSIS">SYNOPSIS</h2> - -<pre><code>npm config set <key> <value> [--global] -npm config get <key> -npm config delete <key> -npm config list -npm config edit -npm get <key> -npm set <key> <value> [--global]</code></pre> - -<h2 id="DESCRIPTION">DESCRIPTION</h2> - -<p>npm gets its configuration values from 6 sources, in this priority:</p> - -<h3 id="Command-Line-Flags">Command Line Flags</h3> - -<p>Putting <code>--foo bar</code> on the command line sets the -<code>foo</code> configuration parameter to <code>"bar"</code>. A <code>--</code> argument tells the cli -parser to stop reading flags. A <code>--flag</code> parameter that is at the <em>end</em> of -the command will be given the value of <code>true</code>.</p> - -<h3 id="Environment-Variables">Environment Variables</h3> - -<p>Any environment variables that start with <code>npm_config_</code> will be interpreted -as a configuration parameter. For example, putting <code>npm_config_foo=bar</code> in -your environment will set the <code>foo</code> configuration parameter to <code>bar</code>. Any -environment configurations that are not given a value will be given the value -of <code>true</code>. Config values are case-insensitive, so <code>NPM_CONFIG_FOO=bar</code> will -work the same.</p> - -<h3 id="Per-user-config-file">Per-user config file</h3> - -<p><code>$HOME/.npmrc</code> (or the <code>userconfig</code> param, if set above)</p> - -<p>This file is an ini-file formatted list of <code>key = value</code> parameters.</p> - -<h3 id="Global-config-file">Global config file</h3> - -<p><code>$PREFIX/etc/npmrc</code> (or the <code>globalconfig</code> param, if set above): -This file is an ini-file formatted list of <code>key = value</code> parameters</p> - -<h3 id="Built-in-config-file">Built-in config file</h3> - -<p><code>path/to/npm/itself/npmrc</code></p> - -<p>This is an unchangeable "builtin" -configuration file that npm keeps consistent across updates. Set -fields in here using the <code>./configure</code> script that comes with npm. -This is primarily for distribution maintainers to override default -configs in a standard and consistent manner.</p> - -<h3 id="Default-Configs">Default Configs</h3> - -<p>A set of configuration parameters that are internal to npm, and are -defaults if nothing else is specified.</p> - -<h2 id="Sub-commands">Sub-commands</h2> - -<p>Config supports the following sub-commands:</p> - -<h3 id="set">set</h3> - -<pre><code>npm config set key value</code></pre> - -<p>Sets the config key to the value.</p> - -<p>If value is omitted, then it sets it to "true".</p> - -<h3 id="get">get</h3> - -<pre><code>npm config get key</code></pre> - -<p>Echo the config value to stdout.</p> - -<h3 id="list">list</h3> - -<pre><code>npm config list</code></pre> - -<p>Show all the config settings.</p> - -<h3 id="delete">delete</h3> - -<pre><code>npm config delete key</code></pre> - -<p>Deletes the key from all configuration files.</p> - -<h3 id="edit">edit</h3> - -<pre><code>npm config edit</code></pre> - -<p>Opens the config file in an editor. Use the <code>--global</code> flag to edit the -global config.</p> - -<h2 id="Shorthands-and-Other-CLI-Niceties">Shorthands and Other CLI Niceties</h2> - -<p>The following shorthands are parsed on the command-line:</p> - -<ul><li><code>-v</code>: <code>--version</code></li><li><code>-h</code>, <code>-?</code>, <code>--help</code>, <code>-H</code>: <code>--usage</code></li><li><code>-s</code>, <code>--silent</code>: <code>--loglevel silent</code></li><li><code>-d</code>: <code>--loglevel info</code></li><li><code>-dd</code>, <code>--verbose</code>: <code>--loglevel verbose</code></li><li><code>-ddd</code>: <code>--loglevel silly</code></li><li><code>-g</code>: <code>--global</code></li><li><code>-l</code>: <code>--long</code></li><li><code>-m</code>: <code>--message</code></li><li><code>-p</code>, <code>--porcelain</code>: <code>--parseable</code></li><li><code>-reg</code>: <code>--registry</code></li><li><code>-v</code>: <code>--version</code></li><li><code>-f</code>: <code>--force</code></li><li><code>-l</code>: <code>--long</code></li><li><code>-desc</code>: <code>--description</code></li><li><code>-S</code>: <code>--save</code></li><li><code>-y</code>: <code>--yes</code></li><li><code>-n</code>: <code>--yes false</code></li><li><code>ll</code> and <code>la</code> commands: <code>ls --long</code></li></ul> - -<p>If the specified configuration param resolves unambiguously to a known -configuration parameter, then it is expanded to that configuration -parameter. For example:</p> - -<pre><code>npm ls --par -# same as: -npm ls --parseable</code></pre> - -<p>If multiple single-character shorthands are strung together, and the -resulting combination is unambiguously not some other configuration -param, then it is expanded to its various component pieces. For -example:</p> - -<pre><code>npm ls -gpld -# same as: -npm ls --global --parseable --long --loglevel info</code></pre> - -<h2 id="Per-Package-Config-Settings">Per-Package Config Settings</h2> - -<p>When running scripts (see <code><a href="../doc/scripts.html">scripts(1)</a></code>) -the package.json "config" keys are overwritten in the environment if -there is a config param of <code><name>[@<version>]:<key></code>. For example, if -the package.json has this:</p> - -<pre><code>{ "name" : "foo" -, "config" : { "port" : "8080" } -, "scripts" : { "start" : "node server.js" } }</code></pre> - -<p>and the server.js is this:</p> - -<pre><code>http.createServer(...).listen(process.env.npm_package_config_port)</code></pre> - -<p>then the user could change the behavior by doing:</p> - -<pre><code>npm config set foo:port 80</code></pre> - -<h2 id="Config-Settings">Config Settings</h2> - -<h3 id="always-auth">always-auth</h3> - -<ul><li>Default: false</li><li>Type: Boolean</li></ul> - -<p>Force npm to always require authentication when accessing the registry, -even for <code>GET</code> requests.</p> - -<h3 id="bin-publish">bin-publish</h3> - -<ul><li>Default: false</li><li>Type: Boolean</li></ul> - -<p>If set to true, then binary packages will be created on publish.</p> - -<p>This is the way to opt into the "bindist" behavior described below.</p> - -<h3 id="bindist">bindist</h3> - -<ul><li>Default: Unstable node versions, <code>null</code>, otherwise -<code>"<node version>-<platform>-<os release>"</code></li><li>Type: String or <code>null</code></li></ul> - -<p>Experimental: on stable versions of node, binary distributions will be -created with this tag. If a user then installs that package, and their -<code>bindist</code> tag is found in the list of binary distributions, they will -get that prebuilt version.</p> - -<p>Pre-build node packages have their preinstall, install, and postinstall -scripts stripped (since they are run prior to publishing), and do not -have their <code>build</code> directories automatically ignored.</p> - -<p>It's yet to be seen if this is a good idea.</p> - -<h3 id="browser">browser</h3> - -<ul><li>Default: OS X: <code>"open"</code>, others: <code>"google-chrome"</code></li><li>Type: String</li></ul> - -<p>The browser that is called by the <code>npm docs</code> command to open websites.</p> - -<h3 id="ca">ca</h3> - -<ul><li>Default: The npm CA certificate</li><li>Type: String or null</li></ul> - -<p>The Certificate Authority signing certificate that is trusted for SSL -connections to the registry.</p> - -<p>Set to <code>null</code> to only allow "known" registrars, or to a specific CA cert -to trust only that specific signing authority.</p> - -<p>See also the <code>strict-ssl</code> config.</p> - -<h3 id="cache">cache</h3> - -<ul><li>Default: Windows: <code>~/npm-cache</code>, Posix: <code>~/.npm</code></li><li>Type: path</li></ul> - -<p>The location of npm's cache directory. See <code><a href="../doc/cache.html">cache(1)</a></code></p> - -<h3 id="color">color</h3> - -<ul><li>Default: true on Posix, false on Windows</li><li>Type: Boolean or <code>"always"</code></li></ul> - -<p>If false, never shows colors. If <code>"always"</code> then always shows colors. -If true, then only prints color codes for tty file descriptors.</p> - -<h3 id="depth">depth</h3> - -<ul><li>Default: Infinity</li><li>Type: Number</li></ul> - -<p>The depth to go when recursing directories for <code>npm ls</code> and -<code>npm cache ls</code>.</p> - -<h3 id="description">description</h3> - -<ul><li>Default: true</li><li>Type: Boolean</li></ul> - -<p>Show the description in <code>npm search</code></p> - -<h3 id="dev">dev</h3> - -<ul><li>Default: false</li><li>Type: Boolean</li></ul> - -<p>Install <code>dev-dependencies</code> along with packages.</p> - -<p>Note that <code>dev-dependencies</code> are also installed if the <code>npat</code> flag is -set.</p> - -<h3 id="editor">editor</h3> - -<ul><li>Default: <code>EDITOR</code> environment variable if set, or <code>"vi"</code> on Posix, -or <code>"notepad"</code> on Windows.</li><li>Type: path</li></ul> - -<p>The command to run for <code>npm edit</code> or <code>npm config edit</code>.</p> - -<h3 id="force">force</h3> - -<ul><li>Default: false</li><li>Type: Boolean</li></ul> - -<p>Makes various commands more forceful.</p> - -<ul><li>lifecycle script failure does not block progress.</li><li>publishing clobbers previously published versions.</li><li>skips cache when requesting from the registry.</li><li>prevents checks against clobbering non-npm files.</li></ul> - -<h3 id="global">global</h3> - -<ul><li>Default: false</li><li>Type: Boolean</li></ul> - -<p>Operates in "global" mode, so that packages are installed into the -<code>prefix</code> folder instead of the current working directory. See -<code><a href="../doc/folders.html">folders(1)</a></code> for more on the differences in behavior.</p> - -<ul><li>packages are installed into the <code>prefix/node_modules</code> folder, instead of the -current working directory.</li><li>bin files are linked to <code>prefix/bin</code></li><li>man pages are linked to <code>prefix/share/man</code></li></ul> - -<h3 id="globalconfig">globalconfig</h3> - -<ul><li>Default: {prefix}/etc/npmrc</li><li>Type: path</li></ul> - -<p>The config file to read for global config options.</p> - -<h3 id="globalignorefile">globalignorefile</h3> - -<ul><li>Default: {prefix}/etc/npmignore</li><li>Type: path</li></ul> - -<p>The config file to read for global ignore patterns to apply to all users -and all projects.</p> - -<p>If not found, but there is a "gitignore" file in the -same directory, then that will be used instead.</p> - -<h3 id="group">group</h3> - -<ul><li>Default: GID of the current process</li><li>Type: String or Number</li></ul> - -<p>The group to use when running package scripts in global mode as the root -user.</p> - -<h3 id="https-proxy">https-proxy</h3> - -<ul><li>Default: the <code>HTTPS_PROXY</code> or <code>https_proxy</code> or <code>HTTP_PROXY</code> or -<code>http_proxy</code> environment variables.</li><li>Type: url</li></ul> - -<p>A proxy to use for outgoing https requests.</p> - -<h3 id="ignore">ignore</h3> - -<ul><li>Default: ""</li><li>Type: string</li></ul> - -<p>A white-space separated list of glob patterns of files to always exclude -from packages when building tarballs.</p> - -<h3 id="init-version">init.version</h3> - -<ul><li>Default: "0.0.0"</li><li>Type: semver</li></ul> - -<p>The value <code>npm init</code> should use by default for the package version.</p> - -<h3 id="init-author-name">init.author.name</h3> - -<ul><li>Default: "0.0.0"</li><li>Type: String</li></ul> - -<p>The value <code>npm init</code> should use by default for the package author's name.</p> - -<h3 id="init-author-email">init.author.email</h3> - -<ul><li>Default: ""</li><li>Type: String</li></ul> - -<p>The value <code>npm init</code> should use by default for the package author's email.</p> - -<h3 id="init-author-url">init.author.url</h3> - -<ul><li>Default: ""</li><li>Type: String</li></ul> - -<p>The value <code>npm init</code> should use by default for the package author's homepage.</p> - -<h3 id="link">link</h3> - -<ul><li>Default: false</li><li>Type: Boolean</li></ul> - -<p>If true, then local installs will link if there is a suitable globally -installed package.</p> - -<p>Note that this means that local installs can cause things to be -installed into the global space at the same time. The link is only done -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: "warn"</li><li>Type: String</li><li>Values: "silent", "win", "error", "warn", "info", "verbose", "silly"</li></ul> - -<p>What level of logs to report. On failure, <em>all</em> logs are written to -<code>npm-debug.log</code> in the current working directory.</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> - -<p>Show extended information in <code>npm ls</code></p> - -<h3 id="message">message</h3> - -<ul><li>Default: "%s"</li><li>Type: String</li></ul> - -<p>Commit message which is used by <code>npm version</code> when creating version commit.</p> - -<p>Any "%s" in the message will be replaced with the version number.</p> - -<h3 id="node-version">node-version</h3> - -<ul><li>Default: process.version</li><li>Type: semver or false</li></ul> - -<p>The node version to use when checking package's "engines" hash.</p> - -<h3 id="npat">npat</h3> - -<ul><li>Default: false</li><li>Type: Boolean</li></ul> - -<p>Run tests on installation and report results to the -<code>npaturl</code>.</p> - -<h3 id="npaturl">npaturl</h3> - -<ul><li>Default: Not yet implemented</li><li>Type: url</li></ul> - -<p>The url to report npat test results.</p> - -<h3 id="onload-script">onload-script</h3> - -<ul><li>Default: false</li><li>Type: path</li></ul> - -<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> - -<p>Output parseable results from commands that write to -standard output.</p> - -<h3 id="prefix">prefix</h3> - -<ul><li>Default: node's process.installPrefix</li><li>Type: path</li></ul> - -<p>The location to install global items. If set on the command line, then -it forces non-global commands to run in the specified folder.</p> - -<h3 id="production">production</h3> - -<ul><li>Default: false</li><li>Type: Boolean</li></ul> - -<p>Set to true to run in "production" mode.</p> - -<ol><li>devDependencies are not installed at the topmost level when running -local <code>npm install</code> without any arguments.</li><li>Set the NODE_ENV="production" for lifecycle scripts.</li></ol> - -<h3 id="proxy">proxy</h3> - -<ul><li>Default: <code>HTTP_PROXY</code> or <code>http_proxy</code> environment variable, or null</li><li>Type: url</li></ul> - -<p>A proxy to use for outgoing http requests.</p> - -<h3 id="rebuild-bundle">rebuild-bundle</h3> - -<ul><li>Default: true</li><li>Type: Boolean</li></ul> - -<p>Rebuild bundled dependencies after installation.</p> - -<h3 id="registry">registry</h3> - -<ul><li>Default: https://registry.npmjs.org/</li><li>Type: url</li></ul> - -<p>The base URL of the npm package registry.</p> - -<h3 id="rollback">rollback</h3> - -<ul><li>Default: true</li><li>Type: Boolean</li></ul> - -<p>Remove failed installs.</p> - -<h3 id="save">save</h3> - -<ul><li>Default: false</li><li>Type: Boolean</li></ul> - -<p>Save installed packages to a package.json file as dependencies.</p> - -<p>Only works if there is already a package.json file present.</p> - -<h3 id="searchopts">searchopts</h3> - -<ul><li>Default: ""</li><li>Type: String</li></ul> - -<p>Space-separated options that are always passed to search.</p> - -<h3 id="searchexclude">searchexclude</h3> - -<ul><li>Default: ""</li><li>Type: String</li></ul> - -<p>Space-separated options that limit the results from search.</p> - -<h3 id="shell">shell</h3> - -<ul><li>Default: SHELL environment variable, or "bash" on Posix, or "cmd" on -Windows</li><li>Type: path</li></ul> - -<p>The shell to run for the <code>npm explore</code> command.</p> - -<h3 id="strict-ssl">strict-ssl</h3> - -<ul><li>Default: true</li><li>Type: Boolean</li></ul> - -<p>Whether or not to do SSL key validation when making requests to the -registry via https.</p> - -<p>See also the <code>ca</code> config.</p> - -<h3 id="tag">tag</h3> - -<ul><li>Default: latest</li><li>Type: String</li></ul> - -<p>If you ask npm to install a package and don't tell it a specific version, then -it will install the specified tag.</p> - -<p>Also the tag that is added to the package@version specified by the <code>npm -tag</code> command, if no explicit tag is given.</p> - -<h3 id="tmp">tmp</h3> - -<ul><li>Default: TMPDIR environment variable, or "/tmp"</li><li>Type: path</li></ul> - -<p>Where to store temporary files and folders. All temp files are deleted -on success, but left behind on failure for forensic purposes.</p> - -<h3 id="unicode">unicode</h3> - -<ul><li>Default: true</li><li>Type: Boolean</li></ul> - -<p>When set to true, npm uses unicode characters in the tree output. When -false, it uses ascii characters to draw trees.</p> - -<h3 id="unsafe-perm">unsafe-perm</h3> - -<ul><li>Default: false if running as root, true otherwise</li><li>Type: Boolean</li></ul> - -<p>Set to true to suppress the UID/GID switching when running package -scripts. If set explicitly to false, then installing as a non-root user -will fail.</p> - -<h3 id="usage">usage</h3> - -<ul><li>Default: false</li><li>Type: Boolean</li></ul> - -<p>Set to show short usage output (like the -H output) -instead of complete help when doing <code><a href="../doc/help.html">help(1)</a></code>.</p> - -<h3 id="user">user</h3> - -<ul><li>Default: "nobody"</li><li>Type: String or Number</li></ul> - -<p>The UID to set to when running package scripts as root.</p> - -<h3 id="username">username</h3> - -<ul><li>Default: null</li><li>Type: String</li></ul> - -<p>The username on the npm registry. Set with <code>npm adduser</code></p> - -<h3 id="userconfig">userconfig</h3> - -<ul><li>Default: ~/.npmrc</li><li>Type: path</li></ul> - -<p>The location of user-level configuration settings.</p> - -<h3 id="userignorefile">userignorefile</h3> - -<ul><li>Default: ~/.npmignore</li><li>Type: path</li></ul> - -<p>The location of a user-level ignore file to apply to all packages.</p> - -<p>If not found, but there is a .gitignore file in the same directory, then -that will be used instead.</p> - -<h3 id="umask">umask</h3> - -<ul><li>Default: 022</li><li>Type: Octal numeric string</li></ul> - -<p>The "umask" value to use when setting the file creation mode on files -and folders.</p> - -<p>Folders and executables are given a mode which is <code>0777</code> masked against -this value. Other files are given a mode which is <code>0666</code> masked against -this value. Thus, the defaults are <code>0755</code> and <code>0644</code> respectively.</p> - -<h3 id="version">version</h3> - -<ul><li>Default: false</li><li>Type: boolean</li></ul> - -<p>If true, output the npm version and exit successfully.</p> - -<p>Only relevant when specified explicitly on the command line.</p> - -<h3 id="viewer">viewer</h3> - -<ul><li>Default: "man" on Posix, "browser" on Windows</li><li>Type: path</li></ul> - -<p>The program to use to view help content.</p> - -<p>Set to <code>"browser"</code> to view html help content in the default web browser.</p> - -<h3 id="yes">yes</h3> - -<ul><li>Default: null</li><li>Type: Boolean or null</li></ul> - -<p>If set to <code>null</code>, then prompt the user for responses in some -circumstances.</p> - -<p>If set to <code>true</code>, then answer "yes" to any prompt. If set to <code>false</code> -then answer "no" to any prompt.</p> - -<h2 id="SEE-ALSO">SEE ALSO</h2> - -<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">set — npm@1.1.0-alpha-3</p> -<script> -;(function () { -var wrapper = document.getElementById("wrapper") -var els = Array.prototype.slice.call(wrapper.getElementsByTagName("*"), 0) - .filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id - }) -var l = 2 - , toc = document.createElement("ul") -toc.innerHTML = els.map(function (el) { - var i = el.tagName.charAt(1) - , out = "" - while (i > l) { - out += "<ul>" - l ++ - } - while (i < l) { - out += "</ul>" - l -- - } - out += "<li><a href='#" + el.id + "'>" + - ( el.innerText || el.text || el.innerHTML) - + "</a>" - return out -}).join("\n") -toc.id = "toc" -document.body.appendChild(toc) -})() -</script> -</body></html> diff --git a/deps/npm/html/doc/shrinkwrap.html b/deps/npm/html/doc/shrinkwrap.html index 5e9a40172..e0d115e14 100644 --- a/deps/npm/html/doc/shrinkwrap.html +++ b/deps/npm/html/doc/shrinkwrap.html @@ -2,7 +2,7 @@ <html> <title>shrinkwrap</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">shrinkwrap — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/star.html b/deps/npm/html/doc/star.html index a0b49d847..e303611e8 100644 --- a/deps/npm/html/doc/star.html +++ b/deps/npm/html/doc/star.html @@ -2,7 +2,7 @@ <html> <title>star</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">star — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/start.html b/deps/npm/html/doc/start.html index 011c0a629..ffa11b75d 100644 --- a/deps/npm/html/doc/start.html +++ b/deps/npm/html/doc/start.html @@ -2,7 +2,7 @@ <html> <title>start</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">start — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/stop.html b/deps/npm/html/doc/stop.html index cd0f50017..2d3d7a6e4 100644 --- a/deps/npm/html/doc/stop.html +++ b/deps/npm/html/doc/stop.html @@ -2,7 +2,7 @@ <html> <title>stop</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">stop — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/submodule.html b/deps/npm/html/doc/submodule.html index 7f5f9492c..a366345cf 100644 --- a/deps/npm/html/doc/submodule.html +++ b/deps/npm/html/doc/submodule.html @@ -2,7 +2,7 @@ <html> <title>submodule</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">submodule — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/tag.html b/deps/npm/html/doc/tag.html index 9d513d3c2..e235733d0 100644 --- a/deps/npm/html/doc/tag.html +++ b/deps/npm/html/doc/tag.html @@ -2,7 +2,7 @@ <html> <title>tag</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">tag — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/test.html b/deps/npm/html/doc/test.html index 2c885fe37..0e4b27379 100644 --- a/deps/npm/html/doc/test.html +++ b/deps/npm/html/doc/test.html @@ -2,7 +2,7 @@ <html> <title>test</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">test — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/uninstall.html b/deps/npm/html/doc/uninstall.html index 1d1a4af6b..3b588d2b5 100644 --- a/deps/npm/html/doc/uninstall.html +++ b/deps/npm/html/doc/uninstall.html @@ -2,7 +2,7 @@ <html> <title>uninstall</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">uninstall — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/unpublish.html b/deps/npm/html/doc/unpublish.html index d74f558d2..abb8b767e 100644 --- a/deps/npm/html/doc/unpublish.html +++ b/deps/npm/html/doc/unpublish.html @@ -2,7 +2,7 @@ <html> <title>unpublish</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">unpublish — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/update.html b/deps/npm/html/doc/update.html index 21861b9f0..aa4ba7212 100644 --- a/deps/npm/html/doc/update.html +++ b/deps/npm/html/doc/update.html @@ -2,7 +2,7 @@ <html> <title>update</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">update — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/version.html b/deps/npm/html/doc/version.html index ec3ac8778..040cdcfb2 100644 --- a/deps/npm/html/doc/version.html +++ b/deps/npm/html/doc/version.html @@ -2,7 +2,7 @@ <html> <title>version</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">version — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/view.html b/deps/npm/html/doc/view.html index f2f241323..75a6f8ff6 100644 --- a/deps/npm/html/doc/view.html +++ b/deps/npm/html/doc/view.html @@ -2,7 +2,7 @@ <html> <title>view</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">view — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/doc/whoami.html b/deps/npm/html/doc/whoami.html index bc867660f..5d42516ad 100644 --- a/deps/npm/html/doc/whoami.html +++ b/deps/npm/html/doc/whoami.html @@ -2,7 +2,7 @@ <html> <title>whoami</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> @@ -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.23</p> +<p id="footer">whoami — npm@1.1.24</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") diff --git a/deps/npm/html/dochead.html b/deps/npm/html/dochead.html index c96b0d733..9ce382da9 100644 --- a/deps/npm/html/dochead.html +++ b/deps/npm/html/dochead.html @@ -2,7 +2,7 @@ <html> <title>@NAME@</title> <meta http-equiv="content-type" value="text/html;utf-8"> - <link rel="stylesheet" type="text/css" href="./style.css"> + <link rel="stylesheet" type="text/css" href="../style.css"> <body> <div id="wrapper"> diff --git a/deps/npm/html/doc/style.css b/deps/npm/html/style.css index 220d162d6..c5b071be7 100644 --- a/deps/npm/html/doc/style.css +++ b/deps/npm/html/style.css @@ -1,3 +1,30 @@ +/* @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 +*/ + +@font-face { + font-family: gubblefont; + src: url('webfonts/23242D_3_0.eot'); + src: url('webfonts/23242D_3_0.eot?#iefix') format('embedded-opentype'), + url('webfonts/23242D_3_0.woff') format('woff'), + url('webfonts/23242D_3_0.ttf') format('truetype'); +} /* reset */ * { @@ -149,7 +176,7 @@ h1 { background:#fff; } h1 a, h1 a:visited { - font-family:gubblefont, GubbleBum Blocky, GubbleBum, monospace; + font-family:gubblefont, Gubblebum-Blocky, GubbleBum Blocky, GubbleBum, monospace; font-size:60px; color:#900; display:block; @@ -316,11 +343,6 @@ input.submit, input#submit, input.button, button, input[type=submit] { display:block; } -@font-face { - font-family:gubblefont; - src: url(./GubbleBum-Blocky.ttf) format("truetype"); -} - @media print { a[href] { color:inherit; @@ -333,4 +355,3 @@ input.submit, input#submit, input.button, button, input[type=submit] { display:none; } } - diff --git a/deps/npm/html/webfonts/23242D_3_0.eot b/deps/npm/html/webfonts/23242D_3_0.eot Binary files differnew file mode 100644 index 000000000..a2ce30852 --- /dev/null +++ b/deps/npm/html/webfonts/23242D_3_0.eot diff --git a/deps/npm/html/webfonts/23242D_3_0.ttf b/deps/npm/html/webfonts/23242D_3_0.ttf Binary files differnew file mode 100644 index 000000000..788b1fcf9 --- /dev/null +++ b/deps/npm/html/webfonts/23242D_3_0.ttf diff --git a/deps/npm/html/webfonts/23242D_3_0.woff b/deps/npm/html/webfonts/23242D_3_0.woff Binary files differnew file mode 100644 index 000000000..46540e82a --- /dev/null +++ b/deps/npm/html/webfonts/23242D_3_0.woff diff --git a/deps/npm/lib/bugs.js b/deps/npm/lib/bugs.js index 7982746cf..2a9352632 100644 --- a/deps/npm/lib/bugs.js +++ b/deps/npm/lib/bugs.js @@ -41,10 +41,22 @@ function bugs (args, cb) { } function open (url, cb) { - exec(npm.config.get("browser"), [url], log.er(cb, - "Failed to open "+url+" in a browser. It could be that the\n"+ - "'browser' config is not set. Try doing this:\n"+ - " npm config set browser google-chrome\n"+ - "or:\n"+ - " npm config set browser lynx\n")) + var args = [url] + , browser = npm.config.get("browser") + + if (process.platform === "win32" && browser === "start") { + args = [ "/c", "start" ].concat(args) + browser = "cmd" + } + + if (!browser) { + var er = ["the 'browser' config is not set. Try doing this:" + ," npm config set browser google-chrome" + ,"or:" + ," npm config set browser lynx"].join("\n") + return cb(er) + } + + exec(browser, args, process.env, false, function () {}) + cb() } diff --git a/deps/npm/lib/cache.js b/deps/npm/lib/cache.js index 706d7f883..076267e89 100644 --- a/deps/npm/lib/cache.js +++ b/deps/npm/lib/cache.js @@ -296,8 +296,19 @@ function addRemoteGit (u, parsed, name, cb_) { // figure out what we should check out. var co = parsed.hash && parsed.hash.substr(1) || "master" + // git is so tricky! + // if the path is like ssh://foo:22/some/path then it works, but + // it needs the ssh:// + // If the path is like ssh://foo:some/path then it works, but + // only if you remove the ssh:// u = u.replace(/^git\+/, "") .replace(/#.*$/, "") + + // ssh paths that are scp-style urls don't need the ssh:// + if (parsed.pathname.match(/^\/?:/)) { + u = u.replace(/^ssh:\/\//, "") + } + log.verbose([u, co], "addRemoteGit") var tmp = path.join(npm.tmp, Date.now()+"-"+Math.random()) diff --git a/deps/npm/lib/docs.js b/deps/npm/lib/docs.js index 8af4c1bb6..20b110406 100644 --- a/deps/npm/lib/docs.js +++ b/deps/npm/lib/docs.js @@ -37,10 +37,22 @@ function docs (args, cb) { } function open (url, cb) { - exec(npm.config.get("browser"), [url], log.er(cb, - "Failed to open "+url+" in a browser. It could be that the\n"+ - "'browser' config is not set. Try doing this:\n"+ - " npm config set browser google-chrome\n"+ - "or:\n"+ - " npm config set browser lynx\n")) + var args = [url] + , browser = npm.config.get("browser") + + if (process.platform === "win32" && browser === "start") { + args = [ "/c", "start" ].concat(args) + browser = "cmd" + } + + if (!browser) { + var er = ["the 'browser' config is not set. Try doing this:" + ," npm config set browser google-chrome" + ,"or:" + ," npm config set browser lynx"].join("\n") + return cb(er) + } + + exec(browser, args, process.env, false, function () {}) + cb() } diff --git a/deps/npm/lib/install.js b/deps/npm/lib/install.js index 5873ca968..276f3d8b3 100644 --- a/deps/npm/lib/install.js +++ b/deps/npm/lib/install.js @@ -606,7 +606,7 @@ function installOne (target, where, context, cb) { function localLink (target, where, context, cb) { log.verbose(target._id, "try to link") - var jsonFile = path.resolve( npm.dir, target.name + var jsonFile = path.resolve( npm.globalDir, target.name , "package.json" ) , parent = context.parent diff --git a/deps/npm/lib/utils/error-handler.js b/deps/npm/lib/utils/error-handler.js index 0cdc03fac..f7fdf165f 100644 --- a/deps/npm/lib/utils/error-handler.js +++ b/deps/npm/lib/utils/error-handler.js @@ -10,13 +10,14 @@ var cbCalled = false , path = require("path") , ini = require("./ini.js") , wroteLogFile = false + , exitCode = 0 process.on("exit", function (code) { // console.error("exit", code) if (!ini.resolved) return if (code) itWorked = false - if (itWorked) log("ok") + if (itWorked) log.info("ok") else { if (!cbCalled) { log.error("cb() never called!\n ") @@ -30,9 +31,40 @@ process.on("exit", function (code) { } log.win("not ok") } - itWorked = false // ready for next exit + + var doExit = npm.config.get("_exit") + if (doExit) { + // actually exit. + if (exitCode === 0 && !itWorked) { + exitCode = 1 + } + if (exitCode !== 0) process.exit(exitCode) + } else { + itWorked = false // ready for next exit + } }) +function exit (code, noLog) { + exitCode = exitCode || code + + var doExit = npm.config.get("_exit") + log.verbose([code, doExit], "exit") + if (log.level === log.LEVEL.silent) noLog = true + + if (code && !noLog) writeLogFile(reallyExit) + else rm("npm-debug.log", function () { rm(npm.tmp, reallyExit) }) + + function reallyExit() { + itWorked = !code + + // just emit a fake exit event. + // if we're really exiting, then let it exit on its own, so that + // in-process stuff can finish or clean up first. + if (!doExit) process.emit("exit", code) + } +} + + function errorHandler (er) { // console.error("errorHandler", er) if (!ini.resolved) { @@ -222,23 +254,6 @@ function errorHandler (er) { exit(typeof er.errno === "number" ? er.errno : 1) } -function exit (code, noLog) { - var doExit = npm.config.get("_exit") - log.verbose([code, doExit], "exit") - if (log.level === log.LEVEL.silent) noLog = true - - if (code && !noLog) writeLogFile(reallyExit) - else rm("npm-debug.log", function () { rm(npm.tmp, reallyExit) }) - - function reallyExit() { - itWorked = !code - //if (!itWorked) { - if (!doExit) process.emit("exit", code) - else process.exit(code) - //} - } -} - var writingLogFile = false function writeLogFile (cb) { if (writingLogFile) return cb() diff --git a/deps/npm/man/man1/README.1 b/deps/npm/man/man1/README.1 index eaf6a41b8..8bd0b479f 100644 --- a/deps/npm/man/man1/README.1 +++ b/deps/npm/man/man1/README.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM" "1" "May 2012" "" "" +.TH "NPM" "1" "June 2012" "" "" . .SH "NAME" \fBnpm\fR \-\- node package manager diff --git a/deps/npm/man/man1/adduser.1 b/deps/npm/man/man1/adduser.1 index 63080da11..b20bab338 100644 --- a/deps/npm/man/man1/adduser.1 +++ b/deps/npm/man/man1/adduser.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-ADDUSER" "1" "May 2012" "" "" +.TH "NPM\-ADDUSER" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-adduser\fR \-\- Add a registry user account diff --git a/deps/npm/man/man1/bin.1 b/deps/npm/man/man1/bin.1 index ccb802aa3..3ba3bf36c 100644 --- a/deps/npm/man/man1/bin.1 +++ b/deps/npm/man/man1/bin.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-BIN" "1" "May 2012" "" "" +.TH "NPM\-BIN" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-bin\fR \-\- Display npm bin folder diff --git a/deps/npm/man/man1/bugs.1 b/deps/npm/man/man1/bugs.1 index 1666c6437..5d5ec3ab6 100644 --- a/deps/npm/man/man1/bugs.1 +++ b/deps/npm/man/man1/bugs.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-BUGS" "1" "May 2012" "" "" +.TH "NPM\-BUGS" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-bugs\fR \-\- Bugs for a package in a web browser maybe diff --git a/deps/npm/man/man1/build.1 b/deps/npm/man/man1/build.1 index 1ddab40cb..073e573f0 100644 --- a/deps/npm/man/man1/build.1 +++ b/deps/npm/man/man1/build.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-BUILD" "1" "May 2012" "" "" +.TH "NPM\-BUILD" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-build\fR \-\- Build a package diff --git a/deps/npm/man/man1/bundle.1 b/deps/npm/man/man1/bundle.1 index 5b5e4d2bf..05fcc43fa 100644 --- a/deps/npm/man/man1/bundle.1 +++ b/deps/npm/man/man1/bundle.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-BUNDLE" "1" "May 2012" "" "" +.TH "NPM\-BUNDLE" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-bundle\fR \-\- REMOVED diff --git a/deps/npm/man/man1/cache.1 b/deps/npm/man/man1/cache.1 index 6b828e7f2..dafcf327f 100644 --- a/deps/npm/man/man1/cache.1 +++ b/deps/npm/man/man1/cache.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-CACHE" "1" "May 2012" "" "" +.TH "NPM\-CACHE" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-cache\fR \-\- Manipulates packages cache diff --git a/deps/npm/man/man1/changelog.1 b/deps/npm/man/man1/changelog.1 index 6cc8ff0c2..7697fac4d 100644 --- a/deps/npm/man/man1/changelog.1 +++ b/deps/npm/man/man1/changelog.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-CHANGELOG" "1" "May 2012" "" "" +.TH "NPM\-CHANGELOG" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-changelog\fR \-\- Changes diff --git a/deps/npm/man/man1/coding-style.1 b/deps/npm/man/man1/coding-style.1 index cb0f5abd2..16f27621b 100644 --- a/deps/npm/man/man1/coding-style.1 +++ b/deps/npm/man/man1/coding-style.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-CODING\-STYLE" "1" "May 2012" "" "" +.TH "NPM\-CODING\-STYLE" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-coding-style\fR \-\- npm\'s "funny" coding style diff --git a/deps/npm/man/man1/completion.1 b/deps/npm/man/man1/completion.1 index c593694fa..50cfb123e 100644 --- a/deps/npm/man/man1/completion.1 +++ b/deps/npm/man/man1/completion.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-COMPLETION" "1" "May 2012" "" "" +.TH "NPM\-COMPLETION" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-completion\fR \-\- Tab Completion for npm diff --git a/deps/npm/man/man1/config.1 b/deps/npm/man/man1/config.1 index 1407b2b72..d5c8ac504 100644 --- a/deps/npm/man/man1/config.1 +++ b/deps/npm/man/man1/config.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-CONFIG" "1" "May 2012" "" "" +.TH "NPM\-CONFIG" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-config\fR \-\- Manage the npm configuration file diff --git a/deps/npm/man/man1/deprecate.1 b/deps/npm/man/man1/deprecate.1 index 08999d714..d662379a0 100644 --- a/deps/npm/man/man1/deprecate.1 +++ b/deps/npm/man/man1/deprecate.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-DEPRECATE" "1" "May 2012" "" "" +.TH "NPM\-DEPRECATE" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-deprecate\fR \-\- Deprecate a version of a package diff --git a/deps/npm/man/man1/developers.1 b/deps/npm/man/man1/developers.1 index 669e7a40b..24c388c04 100644 --- a/deps/npm/man/man1/developers.1 +++ b/deps/npm/man/man1/developers.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-DEVELOPERS" "1" "May 2012" "" "" +.TH "NPM\-DEVELOPERS" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-developers\fR \-\- Developer Guide diff --git a/deps/npm/man/man1/disputes.1 b/deps/npm/man/man1/disputes.1 index e92893ac8..55b3fd702 100644 --- a/deps/npm/man/man1/disputes.1 +++ b/deps/npm/man/man1/disputes.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-DISPUTES" "1" "May 2012" "" "" +.TH "NPM\-DISPUTES" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-disputes\fR \-\- Handling Module Name Disputes diff --git a/deps/npm/man/man1/docs.1 b/deps/npm/man/man1/docs.1 index 57bbf61fd..f118c00c1 100644 --- a/deps/npm/man/man1/docs.1 +++ b/deps/npm/man/man1/docs.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-DOCS" "1" "May 2012" "" "" +.TH "NPM\-DOCS" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-docs\fR \-\- Docs for a package in a web browser maybe diff --git a/deps/npm/man/man1/edit.1 b/deps/npm/man/man1/edit.1 index 0c6db9d33..a91704cd1 100644 --- a/deps/npm/man/man1/edit.1 +++ b/deps/npm/man/man1/edit.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-EDIT" "1" "May 2012" "" "" +.TH "NPM\-EDIT" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-edit\fR \-\- Edit an installed package diff --git a/deps/npm/man/man1/explore.1 b/deps/npm/man/man1/explore.1 index e6b5561ea..f43312034 100644 --- a/deps/npm/man/man1/explore.1 +++ b/deps/npm/man/man1/explore.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-EXPLORE" "1" "May 2012" "" "" +.TH "NPM\-EXPLORE" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-explore\fR \-\- Browse an installed package diff --git a/deps/npm/man/man1/faq.1 b/deps/npm/man/man1/faq.1 index 1342f06d0..cec9da2df 100644 --- a/deps/npm/man/man1/faq.1 +++ b/deps/npm/man/man1/faq.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-FAQ" "1" "May 2012" "" "" +.TH "NPM\-FAQ" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-faq\fR \-\- Frequently Asked Questions diff --git a/deps/npm/man/man1/folders.1 b/deps/npm/man/man1/folders.1 index b4d5d29e2..c828f5bc9 100644 --- a/deps/npm/man/man1/folders.1 +++ b/deps/npm/man/man1/folders.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-FOLDERS" "1" "May 2012" "" "" +.TH "NPM\-FOLDERS" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-folders\fR \-\- Folder Structures Used by npm diff --git a/deps/npm/man/man1/help-search.1 b/deps/npm/man/man1/help-search.1 index c09538600..db76c4d4b 100644 --- a/deps/npm/man/man1/help-search.1 +++ b/deps/npm/man/man1/help-search.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-HELP\-SEARCH" "1" "May 2012" "" "" +.TH "NPM\-HELP\-SEARCH" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-help-search\fR \-\- Search npm help documentation diff --git a/deps/npm/man/man1/help.1 b/deps/npm/man/man1/help.1 index b58721678..e1391f9a1 100644 --- a/deps/npm/man/man1/help.1 +++ b/deps/npm/man/man1/help.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-HELP" "1" "May 2012" "" "" +.TH "NPM\-HELP" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-help\fR \-\- Get help on npm diff --git a/deps/npm/man/man1/index.1 b/deps/npm/man/man1/index.1 index 4b3c55ae1..c9516bac2 100644 --- a/deps/npm/man/man1/index.1 +++ b/deps/npm/man/man1/index.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-INDEX" "1" "May 2012" "" "" +.TH "NPM\-INDEX" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-index\fR \-\- Index of all npm documentation diff --git a/deps/npm/man/man1/init.1 b/deps/npm/man/man1/init.1 index 71690aa16..dd474ee68 100644 --- a/deps/npm/man/man1/init.1 +++ b/deps/npm/man/man1/init.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-INIT" "1" "May 2012" "" "" +.TH "NPM\-INIT" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-init\fR \-\- Interactively create a package\.json file diff --git a/deps/npm/man/man1/install.1 b/deps/npm/man/man1/install.1 index 9ab56a4a8..69ae9889a 100644 --- a/deps/npm/man/man1/install.1 +++ b/deps/npm/man/man1/install.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-INSTALL" "1" "May 2012" "" "" +.TH "NPM\-INSTALL" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-install\fR \-\- Install a package diff --git a/deps/npm/man/man1/json.1 b/deps/npm/man/man1/json.1 index 25690428d..e987e318c 100644 --- a/deps/npm/man/man1/json.1 +++ b/deps/npm/man/man1/json.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-JSON" "1" "May 2012" "" "" +.TH "NPM\-JSON" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-json\fR \-\- Specifics of npm\'s package\.json handling @@ -565,6 +565,7 @@ Git urls can be of the form: .nf git://github\.com/user/project\.git#commit\-ish git+ssh://user@hostname:project\.git#commit\-ish +git+ssh://user@hostname/project\.git#commit\-ish git+http://user@hostname/project/blah\.git#commit\-ish git+https://user@hostname/project/blah\.git#commit\-ish . @@ -596,6 +597,40 @@ Array of package names that will be bundled when publishing the package\. .P If this is spelled \fB"bundleDependencies"\fR, then that is also honorable\. . +.SH "optionalDependencies" +If a dependency can be used, but you would like npm to proceed if it +cannot be found or fails to install, then you may put it in the \fBoptionalDependencies\fR hash\. This is a map of package name to version +or url, just like the \fBdependencies\fR hash\. The difference is that +failure is tolerated\. +. +.P +It is still your program\'s responsibility to handle the lack of the +dependency\. For example, something like this: +. +.IP "" 4 +. +.nf +try { + var foo = require(\'foo\') + var fooVersion = require(\'foo/package\.json\')\.version +} catch (er) { + foo = null +} +if ( notGoodFooVersion(fooVersion) ) { + foo = null +} +// \.\. then later in your program \.\. +if (foo) { + foo\.doFooThings() +} +. +.fi +. +.IP "" 0 +. +.P +Entries in \fBoptionalDependencies\fR will override entries of the same name in \fBdependencies\fR, so it\'s usually best to only put in one place\. +. .SH "engines" You can specify the version of node that your stuff works on: diff --git a/deps/npm/man/man1/link.1 b/deps/npm/man/man1/link.1 index 5f65c8714..234695aa2 100644 --- a/deps/npm/man/man1/link.1 +++ b/deps/npm/man/man1/link.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-LINK" "1" "May 2012" "" "" +.TH "NPM\-LINK" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-link\fR \-\- Symlink a package folder diff --git a/deps/npm/man/man1/list.1 b/deps/npm/man/man1/list.1 index 763af1e27..e6174290b 100644 --- a/deps/npm/man/man1/list.1 +++ b/deps/npm/man/man1/list.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-LS" "1" "May 2012" "" "" +.TH "NPM\-LS" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-ls\fR \-\- List installed packages diff --git a/deps/npm/man/man1/npm.1 b/deps/npm/man/man1/npm.1 index 65070580e..21584cbe9 100644 --- a/deps/npm/man/man1/npm.1 +++ b/deps/npm/man/man1/npm.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM" "1" "May 2012" "" "" +.TH "NPM" "1" "June 2012" "" "" . .SH "NAME" \fBnpm\fR \-\- node package manager @@ -14,7 +14,7 @@ npm <command> [args] .fi . .SH "VERSION" -1.1.23 +1.1.24 . .SH "DESCRIPTION" npm is the package manager for the Node JavaScript platform\. It puts diff --git a/deps/npm/man/man1/outdated.1 b/deps/npm/man/man1/outdated.1 index cb27b8cd2..4d649d9a9 100644 --- a/deps/npm/man/man1/outdated.1 +++ b/deps/npm/man/man1/outdated.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-OUTDATED" "1" "May 2012" "" "" +.TH "NPM\-OUTDATED" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-outdated\fR \-\- Check for outdated packages diff --git a/deps/npm/man/man1/owner.1 b/deps/npm/man/man1/owner.1 index 6ba46a118..66e4826c1 100644 --- a/deps/npm/man/man1/owner.1 +++ b/deps/npm/man/man1/owner.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-OWNER" "1" "May 2012" "" "" +.TH "NPM\-OWNER" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-owner\fR \-\- Manage package owners diff --git a/deps/npm/man/man1/pack.1 b/deps/npm/man/man1/pack.1 index 54fb1c11c..320f3c301 100644 --- a/deps/npm/man/man1/pack.1 +++ b/deps/npm/man/man1/pack.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-PACK" "1" "May 2012" "" "" +.TH "NPM\-PACK" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-pack\fR \-\- Create a tarball from a package diff --git a/deps/npm/man/man1/prefix.1 b/deps/npm/man/man1/prefix.1 index 26e52d8cb..44c2244c8 100644 --- a/deps/npm/man/man1/prefix.1 +++ b/deps/npm/man/man1/prefix.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-PREFIX" "1" "May 2012" "" "" +.TH "NPM\-PREFIX" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-prefix\fR \-\- Display prefix diff --git a/deps/npm/man/man1/prune.1 b/deps/npm/man/man1/prune.1 index 5d1aecbc9..e6ac90618 100644 --- a/deps/npm/man/man1/prune.1 +++ b/deps/npm/man/man1/prune.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-PRUNE" "1" "May 2012" "" "" +.TH "NPM\-PRUNE" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-prune\fR \-\- Remove extraneous packages diff --git a/deps/npm/man/man1/publish.1 b/deps/npm/man/man1/publish.1 index 8ec2a1ed4..d3b68a8d6 100644 --- a/deps/npm/man/man1/publish.1 +++ b/deps/npm/man/man1/publish.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-PUBLISH" "1" "May 2012" "" "" +.TH "NPM\-PUBLISH" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-publish\fR \-\- Publish a package diff --git a/deps/npm/man/man1/rebuild.1 b/deps/npm/man/man1/rebuild.1 index b630729a7..216345c35 100644 --- a/deps/npm/man/man1/rebuild.1 +++ b/deps/npm/man/man1/rebuild.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-REBUILD" "1" "May 2012" "" "" +.TH "NPM\-REBUILD" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-rebuild\fR \-\- Rebuild a package diff --git a/deps/npm/man/man1/registry.1 b/deps/npm/man/man1/registry.1 index 187a946ac..fb973d496 100644 --- a/deps/npm/man/man1/registry.1 +++ b/deps/npm/man/man1/registry.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-REGISTRY" "1" "May 2012" "" "" +.TH "NPM\-REGISTRY" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-registry\fR \-\- The JavaScript Package Registry diff --git a/deps/npm/man/man1/removing-npm.1 b/deps/npm/man/man1/removing-npm.1 index 601086cb9..85cb7dcc3 100644 --- a/deps/npm/man/man1/removing-npm.1 +++ b/deps/npm/man/man1/removing-npm.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-REMOVAL" "1" "May 2012" "" "" +.TH "NPM\-REMOVAL" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-removal\fR \-\- Cleaning the Slate diff --git a/deps/npm/man/man1/restart.1 b/deps/npm/man/man1/restart.1 index d74dc9283..23e5e2b51 100644 --- a/deps/npm/man/man1/restart.1 +++ b/deps/npm/man/man1/restart.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-RESTART" "1" "May 2012" "" "" +.TH "NPM\-RESTART" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-restart\fR \-\- Start a package diff --git a/deps/npm/man/man1/root.1 b/deps/npm/man/man1/root.1 index 539a6d424..35a00ac15 100644 --- a/deps/npm/man/man1/root.1 +++ b/deps/npm/man/man1/root.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-ROOT" "1" "May 2012" "" "" +.TH "NPM\-ROOT" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-root\fR \-\- Display npm root diff --git a/deps/npm/man/man1/run-script.1 b/deps/npm/man/man1/run-script.1 index ec01fd3f4..f5e5d5c19 100644 --- a/deps/npm/man/man1/run-script.1 +++ b/deps/npm/man/man1/run-script.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-RUN\-SCRIPT" "1" "May 2012" "" "" +.TH "NPM\-RUN\-SCRIPT" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-run-script\fR \-\- Run arbitrary package scripts diff --git a/deps/npm/man/man1/scripts.1 b/deps/npm/man/man1/scripts.1 index 5216862aa..70048acca 100644 --- a/deps/npm/man/man1/scripts.1 +++ b/deps/npm/man/man1/scripts.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-SCRIPTS" "1" "May 2012" "" "" +.TH "NPM\-SCRIPTS" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-scripts\fR \-\- How npm handles the "scripts" field diff --git a/deps/npm/man/man1/search.1 b/deps/npm/man/man1/search.1 index e57b30279..3a8c3ad48 100644 --- a/deps/npm/man/man1/search.1 +++ b/deps/npm/man/man1/search.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-SEARCH" "1" "May 2012" "" "" +.TH "NPM\-SEARCH" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-search\fR \-\- Search for packages diff --git a/deps/npm/man/man1/semver.1 b/deps/npm/man/man1/semver.1 index 9cb0ba28b..856f21e7f 100644 --- a/deps/npm/man/man1/semver.1 +++ b/deps/npm/man/man1/semver.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-SEMVER" "1" "May 2012" "" "" +.TH "NPM\-SEMVER" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-semver\fR \-\- The semantic versioner for npm diff --git a/deps/npm/man/man1/shrinkwrap.1 b/deps/npm/man/man1/shrinkwrap.1 index 6eb694b77..fbb33350e 100644 --- a/deps/npm/man/man1/shrinkwrap.1 +++ b/deps/npm/man/man1/shrinkwrap.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-SHRINKWRAP" "1" "May 2012" "" "" +.TH "NPM\-SHRINKWRAP" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-shrinkwrap\fR \-\- Lock down dependency versions diff --git a/deps/npm/man/man1/star.1 b/deps/npm/man/man1/star.1 index 9f6f97689..45ee4b72b 100644 --- a/deps/npm/man/man1/star.1 +++ b/deps/npm/man/man1/star.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-STAR" "1" "May 2012" "" "" +.TH "NPM\-STAR" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-star\fR \-\- Mark your favorite packages diff --git a/deps/npm/man/man1/start.1 b/deps/npm/man/man1/start.1 index 309404f33..761140c44 100644 --- a/deps/npm/man/man1/start.1 +++ b/deps/npm/man/man1/start.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-START" "1" "May 2012" "" "" +.TH "NPM\-START" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-start\fR \-\- Start a package diff --git a/deps/npm/man/man1/stop.1 b/deps/npm/man/man1/stop.1 index 182874f5f..dcea1ede5 100644 --- a/deps/npm/man/man1/stop.1 +++ b/deps/npm/man/man1/stop.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-STOP" "1" "May 2012" "" "" +.TH "NPM\-STOP" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-stop\fR \-\- Stop a package diff --git a/deps/npm/man/man1/submodule.1 b/deps/npm/man/man1/submodule.1 index 7458a04ca..189462afb 100644 --- a/deps/npm/man/man1/submodule.1 +++ b/deps/npm/man/man1/submodule.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-SUBMODULE" "1" "May 2012" "" "" +.TH "NPM\-SUBMODULE" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-submodule\fR \-\- Add a package as a git submodule diff --git a/deps/npm/man/man1/tag.1 b/deps/npm/man/man1/tag.1 index ad1ba7c40..26e20556a 100644 --- a/deps/npm/man/man1/tag.1 +++ b/deps/npm/man/man1/tag.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-TAG" "1" "May 2012" "" "" +.TH "NPM\-TAG" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-tag\fR \-\- Tag a published version diff --git a/deps/npm/man/man1/test.1 b/deps/npm/man/man1/test.1 index 013a54b2e..73347d3f9 100644 --- a/deps/npm/man/man1/test.1 +++ b/deps/npm/man/man1/test.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-TEST" "1" "May 2012" "" "" +.TH "NPM\-TEST" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-test\fR \-\- Test a package diff --git a/deps/npm/man/man1/uninstall.1 b/deps/npm/man/man1/uninstall.1 index 13ba21409..0d8e68465 100644 --- a/deps/npm/man/man1/uninstall.1 +++ b/deps/npm/man/man1/uninstall.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-RM" "1" "May 2012" "" "" +.TH "NPM\-RM" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-rm\fR \-\- Remove a package diff --git a/deps/npm/man/man1/unpublish.1 b/deps/npm/man/man1/unpublish.1 index 309ff03aa..93203c43a 100644 --- a/deps/npm/man/man1/unpublish.1 +++ b/deps/npm/man/man1/unpublish.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-UNPUBLISH" "1" "May 2012" "" "" +.TH "NPM\-UNPUBLISH" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-unpublish\fR \-\- Remove a package from the registry diff --git a/deps/npm/man/man1/update.1 b/deps/npm/man/man1/update.1 index 758b8d1a7..b5682bd5f 100644 --- a/deps/npm/man/man1/update.1 +++ b/deps/npm/man/man1/update.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-UPDATE" "1" "May 2012" "" "" +.TH "NPM\-UPDATE" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-update\fR \-\- Update a package diff --git a/deps/npm/man/man1/version.1 b/deps/npm/man/man1/version.1 index b611ad66b..7ece24453 100644 --- a/deps/npm/man/man1/version.1 +++ b/deps/npm/man/man1/version.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-VERSION" "1" "May 2012" "" "" +.TH "NPM\-VERSION" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-version\fR \-\- Bump a package version diff --git a/deps/npm/man/man1/view.1 b/deps/npm/man/man1/view.1 index 4206584ee..71665f0a7 100644 --- a/deps/npm/man/man1/view.1 +++ b/deps/npm/man/man1/view.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-VIEW" "1" "May 2012" "" "" +.TH "NPM\-VIEW" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-view\fR \-\- View registry info diff --git a/deps/npm/man/man1/whoami.1 b/deps/npm/man/man1/whoami.1 index 62d9f87ba..e1e54afc2 100644 --- a/deps/npm/man/man1/whoami.1 +++ b/deps/npm/man/man1/whoami.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-WHOAMI" "1" "May 2012" "" "" +.TH "NPM\-WHOAMI" "1" "June 2012" "" "" . .SH "NAME" \fBnpm-whoami\fR \-\- Display npm username diff --git a/deps/npm/man/man3/bin.3 b/deps/npm/man/man3/bin.3 index c650e468d..35f6f6a75 100644 --- a/deps/npm/man/man3/bin.3 +++ b/deps/npm/man/man3/bin.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-BIN" "3" "May 2012" "" "" +.TH "NPM\-BIN" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-bin\fR \-\- Display npm bin folder diff --git a/deps/npm/man/man3/bugs.3 b/deps/npm/man/man3/bugs.3 index d2ba4244c..5b1d6d7e5 100644 --- a/deps/npm/man/man3/bugs.3 +++ b/deps/npm/man/man3/bugs.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-BUGS" "3" "May 2012" "" "" +.TH "NPM\-BUGS" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-bugs\fR \-\- Bugs for a package in a web browser maybe diff --git a/deps/npm/man/man3/commands.3 b/deps/npm/man/man3/commands.3 index bb850ddcc..cfad13409 100644 --- a/deps/npm/man/man3/commands.3 +++ b/deps/npm/man/man3/commands.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-COMMANDS" "3" "May 2012" "" "" +.TH "NPM\-COMMANDS" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-commands\fR \-\- npm commands diff --git a/deps/npm/man/man3/config.3 b/deps/npm/man/man3/config.3 index 777db9372..b6fa1cc20 100644 --- a/deps/npm/man/man3/config.3 +++ b/deps/npm/man/man3/config.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-CONFIG" "3" "May 2012" "" "" +.TH "NPM\-CONFIG" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-config\fR \-\- Manage the npm configuration files diff --git a/deps/npm/man/man3/deprecate.3 b/deps/npm/man/man3/deprecate.3 index 9c071a66b..612b436c4 100644 --- a/deps/npm/man/man3/deprecate.3 +++ b/deps/npm/man/man3/deprecate.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-DEPRECATE" "3" "May 2012" "" "" +.TH "NPM\-DEPRECATE" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-deprecate\fR \-\- Deprecate a version of a package diff --git a/deps/npm/man/man3/docs.3 b/deps/npm/man/man3/docs.3 index 78f55afbe..db6d6b8a3 100644 --- a/deps/npm/man/man3/docs.3 +++ b/deps/npm/man/man3/docs.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-DOCS" "3" "May 2012" "" "" +.TH "NPM\-DOCS" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-docs\fR \-\- Docs for a package in a web browser maybe diff --git a/deps/npm/man/man3/edit.3 b/deps/npm/man/man3/edit.3 index 743192d1c..b83c74671 100644 --- a/deps/npm/man/man3/edit.3 +++ b/deps/npm/man/man3/edit.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-EDIT" "3" "May 2012" "" "" +.TH "NPM\-EDIT" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-edit\fR \-\- Edit an installed package diff --git a/deps/npm/man/man3/explore.3 b/deps/npm/man/man3/explore.3 index d728918ea..619cd947d 100644 --- a/deps/npm/man/man3/explore.3 +++ b/deps/npm/man/man3/explore.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-EXPLORE" "3" "May 2012" "" "" +.TH "NPM\-EXPLORE" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-explore\fR \-\- Browse an installed package diff --git a/deps/npm/man/man3/help-search.3 b/deps/npm/man/man3/help-search.3 index 34312daac..199a383e8 100644 --- a/deps/npm/man/man3/help-search.3 +++ b/deps/npm/man/man3/help-search.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-HELP\-SEARCH" "3" "May 2012" "" "" +.TH "NPM\-HELP\-SEARCH" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-help-search\fR \-\- Search the help pages diff --git a/deps/npm/man/man3/init.3 b/deps/npm/man/man3/init.3 index 55ee2bfb4..1547101f5 100644 --- a/deps/npm/man/man3/init.3 +++ b/deps/npm/man/man3/init.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "INIT" "3" "May 2012" "" "" +.TH "INIT" "3" "June 2012" "" "" . .SH "NAME" \fBinit\fR \-\- Interactively create a package\.json file diff --git a/deps/npm/man/man3/install.3 b/deps/npm/man/man3/install.3 index 35adb9dc9..cd2da92a2 100644 --- a/deps/npm/man/man3/install.3 +++ b/deps/npm/man/man3/install.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-INSTALL" "3" "May 2012" "" "" +.TH "NPM\-INSTALL" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-install\fR \-\- install a package programmatically diff --git a/deps/npm/man/man3/link.3 b/deps/npm/man/man3/link.3 index fd09d3f51..3f0790312 100644 --- a/deps/npm/man/man3/link.3 +++ b/deps/npm/man/man3/link.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-LINK" "3" "May 2012" "" "" +.TH "NPM\-LINK" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-link\fR \-\- Symlink a package folder diff --git a/deps/npm/man/man3/load.3 b/deps/npm/man/man3/load.3 index 2bf6009d9..2b01e92e7 100644 --- a/deps/npm/man/man3/load.3 +++ b/deps/npm/man/man3/load.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-LOAD" "3" "May 2012" "" "" +.TH "NPM\-LOAD" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-load\fR \-\- Load config settings diff --git a/deps/npm/man/man3/ls.3 b/deps/npm/man/man3/ls.3 index 2ec65b23f..e137401de 100644 --- a/deps/npm/man/man3/ls.3 +++ b/deps/npm/man/man3/ls.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-LS" "3" "May 2012" "" "" +.TH "NPM\-LS" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-ls\fR \-\- List installed packages diff --git a/deps/npm/man/man3/npm.3 b/deps/npm/man/man3/npm.3 index 59438d5a9..b9e685423 100644 --- a/deps/npm/man/man3/npm.3 +++ b/deps/npm/man/man3/npm.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM" "3" "May 2012" "" "" +.TH "NPM" "3" "June 2012" "" "" . .SH "NAME" \fBnpm\fR \-\- node package manager @@ -21,7 +21,7 @@ npm\.load(configObject, function (er, npm) { .fi . .SH "VERSION" -1.1.23 +1.1.24 . .SH "DESCRIPTION" This is the API documentation for npm\. diff --git a/deps/npm/man/man3/outdated.3 b/deps/npm/man/man3/outdated.3 index 3173c55df..68933d03f 100644 --- a/deps/npm/man/man3/outdated.3 +++ b/deps/npm/man/man3/outdated.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-OUTDATED" "3" "May 2012" "" "" +.TH "NPM\-OUTDATED" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-outdated\fR \-\- Check for outdated packages diff --git a/deps/npm/man/man3/owner.3 b/deps/npm/man/man3/owner.3 index 6deea4501..f08f51e8f 100644 --- a/deps/npm/man/man3/owner.3 +++ b/deps/npm/man/man3/owner.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-OWNER" "3" "May 2012" "" "" +.TH "NPM\-OWNER" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-owner\fR \-\- Manage package owners diff --git a/deps/npm/man/man3/pack.3 b/deps/npm/man/man3/pack.3 index 2a8bafddd..548e99a1c 100644 --- a/deps/npm/man/man3/pack.3 +++ b/deps/npm/man/man3/pack.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-PACK" "3" "May 2012" "" "" +.TH "NPM\-PACK" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-pack\fR \-\- Create a tarball from a package diff --git a/deps/npm/man/man3/prefix.3 b/deps/npm/man/man3/prefix.3 index c1fdfea49..ca8bca003 100644 --- a/deps/npm/man/man3/prefix.3 +++ b/deps/npm/man/man3/prefix.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-PREFIX" "3" "May 2012" "" "" +.TH "NPM\-PREFIX" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-prefix\fR \-\- Display prefix diff --git a/deps/npm/man/man3/prune.3 b/deps/npm/man/man3/prune.3 index a49d129c3..45a76cd23 100644 --- a/deps/npm/man/man3/prune.3 +++ b/deps/npm/man/man3/prune.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-PRUNE" "3" "May 2012" "" "" +.TH "NPM\-PRUNE" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-prune\fR \-\- Remove extraneous packages diff --git a/deps/npm/man/man3/publish.3 b/deps/npm/man/man3/publish.3 index 499bd0344..080f0508c 100644 --- a/deps/npm/man/man3/publish.3 +++ b/deps/npm/man/man3/publish.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-PUBLISH" "3" "May 2012" "" "" +.TH "NPM\-PUBLISH" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-publish\fR \-\- Publish a package diff --git a/deps/npm/man/man3/rebuild.3 b/deps/npm/man/man3/rebuild.3 index 6b8fb8cf5..b347fc970 100644 --- a/deps/npm/man/man3/rebuild.3 +++ b/deps/npm/man/man3/rebuild.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-REBUILD" "3" "May 2012" "" "" +.TH "NPM\-REBUILD" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-rebuild\fR \-\- Rebuild a package diff --git a/deps/npm/man/man3/restart.3 b/deps/npm/man/man3/restart.3 index 747c27f1e..f0c3614a8 100644 --- a/deps/npm/man/man3/restart.3 +++ b/deps/npm/man/man3/restart.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-RESTART" "3" "May 2012" "" "" +.TH "NPM\-RESTART" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-restart\fR \-\- Start a package diff --git a/deps/npm/man/man3/root.3 b/deps/npm/man/man3/root.3 index 99a5b903d..25d097788 100644 --- a/deps/npm/man/man3/root.3 +++ b/deps/npm/man/man3/root.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-ROOT" "3" "May 2012" "" "" +.TH "NPM\-ROOT" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-root\fR \-\- Display npm root diff --git a/deps/npm/man/man3/run-script.3 b/deps/npm/man/man3/run-script.3 index 9ceb7b30e..e9960d9eb 100644 --- a/deps/npm/man/man3/run-script.3 +++ b/deps/npm/man/man3/run-script.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-RUN\-SCRIPT" "3" "May 2012" "" "" +.TH "NPM\-RUN\-SCRIPT" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-run-script\fR \-\- Run arbitrary package scripts diff --git a/deps/npm/man/man3/search.3 b/deps/npm/man/man3/search.3 index f56eb4b90..95d00420a 100644 --- a/deps/npm/man/man3/search.3 +++ b/deps/npm/man/man3/search.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-SEARCH" "3" "May 2012" "" "" +.TH "NPM\-SEARCH" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-search\fR \-\- Search for packages diff --git a/deps/npm/man/man3/shrinkwrap.3 b/deps/npm/man/man3/shrinkwrap.3 index 304c3fd89..93900b07a 100644 --- a/deps/npm/man/man3/shrinkwrap.3 +++ b/deps/npm/man/man3/shrinkwrap.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-SHRINKWRAP" "3" "May 2012" "" "" +.TH "NPM\-SHRINKWRAP" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-shrinkwrap\fR \-\- programmatically generate package shrinkwrap file diff --git a/deps/npm/man/man3/start.3 b/deps/npm/man/man3/start.3 index 29dd95e87..30ee99a78 100644 --- a/deps/npm/man/man3/start.3 +++ b/deps/npm/man/man3/start.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-START" "3" "May 2012" "" "" +.TH "NPM\-START" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-start\fR \-\- Start a package diff --git a/deps/npm/man/man3/stop.3 b/deps/npm/man/man3/stop.3 index 1e4fcf269..44c0e6758 100644 --- a/deps/npm/man/man3/stop.3 +++ b/deps/npm/man/man3/stop.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-STOP" "3" "May 2012" "" "" +.TH "NPM\-STOP" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-stop\fR \-\- Stop a package diff --git a/deps/npm/man/man3/submodule.3 b/deps/npm/man/man3/submodule.3 index 44eb54473..b6366982f 100644 --- a/deps/npm/man/man3/submodule.3 +++ b/deps/npm/man/man3/submodule.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-SUBMODULE" "3" "May 2012" "" "" +.TH "NPM\-SUBMODULE" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-submodule\fR \-\- Add a package as a git submodule diff --git a/deps/npm/man/man3/tag.3 b/deps/npm/man/man3/tag.3 index cd95a8c7c..6bb1130ad 100644 --- a/deps/npm/man/man3/tag.3 +++ b/deps/npm/man/man3/tag.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-TAG" "3" "May 2012" "" "" +.TH "NPM\-TAG" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-tag\fR \-\- Tag a published version diff --git a/deps/npm/man/man3/test.3 b/deps/npm/man/man3/test.3 index 7a8b3a839..f481f303c 100644 --- a/deps/npm/man/man3/test.3 +++ b/deps/npm/man/man3/test.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-TEST" "3" "May 2012" "" "" +.TH "NPM\-TEST" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-test\fR \-\- Test a package diff --git a/deps/npm/man/man3/uninstall.3 b/deps/npm/man/man3/uninstall.3 index 5a6f8f750..08aadec00 100644 --- a/deps/npm/man/man3/uninstall.3 +++ b/deps/npm/man/man3/uninstall.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-UNINSTALL" "3" "May 2012" "" "" +.TH "NPM\-UNINSTALL" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-uninstall\fR \-\- uninstall a package programmatically diff --git a/deps/npm/man/man3/unpublish.3 b/deps/npm/man/man3/unpublish.3 index 0a0e0f31a..f249d9a60 100644 --- a/deps/npm/man/man3/unpublish.3 +++ b/deps/npm/man/man3/unpublish.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-UNPUBLISH" "3" "May 2012" "" "" +.TH "NPM\-UNPUBLISH" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-unpublish\fR \-\- Remove a package from the registry diff --git a/deps/npm/man/man3/update.3 b/deps/npm/man/man3/update.3 index f0543fcd0..023dd3279 100644 --- a/deps/npm/man/man3/update.3 +++ b/deps/npm/man/man3/update.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-UPDATE" "3" "May 2012" "" "" +.TH "NPM\-UPDATE" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-update\fR \-\- Update a package diff --git a/deps/npm/man/man3/version.3 b/deps/npm/man/man3/version.3 index 8c7fcb834..42b8105e3 100644 --- a/deps/npm/man/man3/version.3 +++ b/deps/npm/man/man3/version.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-VERSION" "3" "May 2012" "" "" +.TH "NPM\-VERSION" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-version\fR \-\- Bump a package version diff --git a/deps/npm/man/man3/view.3 b/deps/npm/man/man3/view.3 index b50756169..a246c30ac 100644 --- a/deps/npm/man/man3/view.3 +++ b/deps/npm/man/man3/view.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-VIEW" "3" "May 2012" "" "" +.TH "NPM\-VIEW" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-view\fR \-\- View registry info diff --git a/deps/npm/man/man3/whoami.3 b/deps/npm/man/man3/whoami.3 index 8262b2af4..714d76e10 100644 --- a/deps/npm/man/man3/whoami.3 +++ b/deps/npm/man/man3/whoami.3 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-WHOAMI" "3" "May 2012" "" "" +.TH "NPM\-WHOAMI" "3" "June 2012" "" "" . .SH "NAME" \fBnpm-whoami\fR \-\- Display npm username diff --git a/deps/npm/node_modules/chownr/package.json b/deps/npm/node_modules/chownr/package.json index 10e52c4dc..bb321f8ad 100644 --- a/deps/npm/node_modules/chownr/package.json +++ b/deps/npm/node_modules/chownr/package.json @@ -20,6 +20,7 @@ "scripts": { "test": "tap test/*.js" }, + "license": "BSD", "_npmUser": { "name": "isaacs", "email": "i@izs.me" @@ -31,8 +32,11 @@ "node": "*" }, "_engineSupported": true, - "_npmVersion": "1.1.13", - "_nodeVersion": "v0.7.7-pre", + "_npmVersion": "1.1.23", + "_nodeVersion": "v0.7.10-pre", "_defaultsLoaded": true, - "_from": "chownr" + "dist": { + "shasum": "51d18189d9092d5f8afd623f3288bfd1c6bf1a62" + }, + "_from": "../chownr" } diff --git a/deps/npm/node_modules/fstream-npm/fstream-npm.js b/deps/npm/node_modules/fstream-npm/fstream-npm.js index 39429d18c..43c0f169f 100644 --- a/deps/npm/node_modules/fstream-npm/fstream-npm.js +++ b/deps/npm/node_modules/fstream-npm/fstream-npm.js @@ -26,14 +26,20 @@ function Packer (props) { this.bundleLinks = props.bundleLinks this.package = props.package + // only do the magic bundling stuff for the node_modules folder that + // lives right next to a package.json file. + this.bundleMagic = this.parent && + this.parent.packageRoot && + this.basename === "node_modules" + // in a node_modules folder, resolve symbolic links to // bundled dependencies when creating the package. - props.follow = this.follow = this.basename === "node_modules" + props.follow = this.follow = this.bundleMagic // console.error("follow?", this.path, props.follow) if (this === this.root || this.parent && - this.parent.basename === "node_modules" && + this.parent.bundleMagic && this.basename.charAt(0) !== ".") { this.readBundledLinks() } @@ -85,7 +91,7 @@ Packer.prototype.applyIgnores = function (entry, partial, entryObj) { if (entry === "package.json") return true // special rules. see below. - if (entry === "node_modules") return true + if (entry === "node_modules" && this.packageRoot) return true // some files are *never* allowed under any circumstances if (entry === ".git" || @@ -110,7 +116,7 @@ Packer.prototype.applyIgnores = function (entry, partial, entryObj) { // To prevent infinite cycles in the case of cyclic deps that are // linked with npm link, even in a bundle, deps are only bundled // if they're not already present at a higher level. - if (this.basename === "node_modules") { + if (this.bundleMagic) { // bubbling up. stop here and allow anything the bundled pkg allows if (entry.indexOf("/") !== -1) return true diff --git a/deps/npm/node_modules/fstream-npm/node_modules/fstream-ignore/package.json b/deps/npm/node_modules/fstream-npm/node_modules/fstream-ignore/package.json index 53f37281a..ed82c6543 100644 --- a/deps/npm/node_modules/fstream-npm/node_modules/fstream-ignore/package.json +++ b/deps/npm/node_modules/fstream-npm/node_modules/fstream-ignore/package.json @@ -35,8 +35,8 @@ "node": "*" }, "_engineSupported": true, - "_npmVersion": "1.1.16", - "_nodeVersion": "v0.7.8-pre", + "_npmVersion": "1.1.23", + "_nodeVersion": "v0.7.10-pre", "_defaultsLoaded": true, "_from": "fstream-ignore@~0.0.5" } diff --git a/deps/npm/node_modules/fstream-npm/package.json b/deps/npm/node_modules/fstream-npm/package.json index 83acd0d82..fa46c74e6 100644 --- a/deps/npm/node_modules/fstream-npm/package.json +++ b/deps/npm/node_modules/fstream-npm/package.json @@ -6,7 +6,7 @@ }, "name": "fstream-npm", "description": "fstream class for creating npm packages", - "version": "0.0.6", + "version": "0.1.0", "repository": { "type": "git", "url": "git://github.com/isaacs/fstream-npm.git" @@ -16,19 +16,20 @@ "fstream-ignore": "~0.0.5", "inherits": "" }, + "license": "BSD", "_npmUser": { "name": "isaacs", "email": "i@izs.me" }, - "_id": "fstream-npm@0.0.6", + "_id": "fstream-npm@0.1.0", "devDependencies": {}, "optionalDependencies": {}, "engines": { "node": "*" }, "_engineSupported": true, - "_npmVersion": "1.1.16", - "_nodeVersion": "v0.7.8-pre", + "_npmVersion": "1.1.23", + "_nodeVersion": "v0.7.10-pre", "_defaultsLoaded": true, - "_from": "fstream-npm@0 >=0.0.5" + "_from": "fstream-npm@0.1" } diff --git a/deps/npm/node_modules/mkdirp/README.markdown b/deps/npm/node_modules/mkdirp/README.markdown index b4dd75fdc..40de04f71 100644 --- a/deps/npm/node_modules/mkdirp/README.markdown +++ b/deps/npm/node_modules/mkdirp/README.markdown @@ -3,6 +3,8 @@ mkdirp Like `mkdir -p`, but in node.js! +[![build status](https://secure.travis-ci.org/substack/node-mkdirp.png)](http://travis-ci.org/substack/node-mkdirp) + example ======= @@ -33,6 +35,9 @@ permission string `mode`. If `mode` isn't specified, it defaults to `0777 & (~process.umask())`. +`cb(err, made)` fires with the error or the first directory `made` +that had to be created, if any. + mkdirp.sync(dir, mode) ---------------------- @@ -41,6 +46,8 @@ with octal permission string `mode`. If `mode` isn't specified, it defaults to `0777 & (~process.umask())`. +Returns the first directory that had to be created, if any. + install ======= diff --git a/deps/npm/node_modules/mkdirp/index.js b/deps/npm/node_modules/mkdirp/index.js index 871488f63..874b31095 100644 --- a/deps/npm/node_modules/mkdirp/index.js +++ b/deps/npm/node_modules/mkdirp/index.js @@ -3,14 +3,12 @@ var fs = require('fs'); module.exports = mkdirP.mkdirp = mkdirP.mkdirP = mkdirP; -function mkdirP (p, mode, f) { +function mkdirP (p, mode, f, made) { if (typeof mode === 'function' || mode === undefined) { f = mode; mode = 0777 & (~process.umask()); } - - // secret passalong argument. - var made = arguments[3] || null; + if (!made) made = null; var cb = f || function () {}; if (typeof mode === 'string') mode = parseInt(mode, 8); @@ -29,10 +27,21 @@ function mkdirP (p, mode, f) { }); break; + case 'EISDIR': + case 'EPERM': + // Operation not permitted or already is a dir. + // This is the error you get when trying to mkdir('c:/') + // on windows, or mkdir('/') on unix. Make sure it's a + // dir by falling through to the EEXIST case. + case 'EROFS': + // a read-only file system. + // However, the dir could already exist, in which case + // the EROFS error will be obscuring a EEXIST! + // Fallthrough to that case. case 'EEXIST': fs.stat(p, function (er2, stat) { // if the stat fails, then that's super weird. - // let the original EEXIST be the failure reason. + // let the original error be the failure reason. if (er2 || !stat.isDirectory()) cb(er, made) else cb(null, made); }); @@ -45,13 +54,11 @@ function mkdirP (p, mode, f) { }); } -mkdirP.sync = function sync (p, mode) { +mkdirP.sync = function sync (p, mode, made) { if (mode === undefined) { mode = 0777 & (~process.umask()); } - - // secret passalong argument - var made = arguments[2] || null; + if (!made) made = null; if (typeof mode === 'string') mode = parseInt(mode, 8); p = path.resolve(p); diff --git a/deps/npm/node_modules/mkdirp/package.json b/deps/npm/node_modules/mkdirp/package.json index 2a40503c5..2a393e97a 100644 --- a/deps/npm/node_modules/mkdirp/package.json +++ b/deps/npm/node_modules/mkdirp/package.json @@ -1,7 +1,7 @@ { "name": "mkdirp", "description": "Recursively mkdir, like `mkdir -p`", - "version": "0.3.0", + "version": "0.3.2", "author": { "name": "James Halliday", "email": "mail@substack.net", @@ -20,7 +20,7 @@ "test": "tap test/*.js" }, "devDependencies": { - "tap": "0.2" + "tap": "~0.2.4" }, "license": "MIT/X11", "engines": { @@ -30,15 +30,15 @@ "name": "isaacs", "email": "i@izs.me" }, - "_id": "mkdirp@0.3.0", + "_id": "mkdirp@0.3.2", "dependencies": {}, "optionalDependencies": {}, "_engineSupported": true, - "_npmVersion": "1.1.13", - "_nodeVersion": "v0.7.7-pre", + "_npmVersion": "1.1.23", + "_nodeVersion": "v0.7.10-pre", "_defaultsLoaded": true, "dist": { - "shasum": "a3cc6816e78b84f570caf9d95cb7368dc5d0bab8" + "shasum": "bebd1a16759571a6bd30f89a7edffc38ad442881" }, "_from": "../mkdirp" } diff --git a/deps/npm/node_modules/node-gyp/legacy/common.gypi b/deps/npm/node_modules/node-gyp/legacy/common.gypi index f67e6da3e..8b3e7c2e7 100644 --- a/deps/npm/node_modules/node-gyp/legacy/common.gypi +++ b/deps/npm/node_modules/node-gyp/legacy/common.gypi @@ -8,6 +8,13 @@ 'library%': 'static_library', # allow override to 'shared_library' for DLL/.so builds 'component%': 'static_library', # NB. these names match with what V8 expects 'msvs_multi_core_compile': '0', # we do enable multicore compiles, but not using the V8 way + + # Enable V8's post-mortem debugging only on unix flavors. + 'conditions': [ + ['OS != "win"', { + 'v8_postmortem_support': 'true' + }] + ], }, 'target_defaults': { @@ -25,7 +32,7 @@ 'VCCLCompilerTool': { 'RuntimeLibrary': 1, # static debug 'Optimization': 0, # /Od, no optimization - 'MinimalRebuild': 'true', + 'MinimalRebuild': 'false', 'OmitFramePointers': 'false', 'BasicRuntimeChecks': 3, # /RTC1 }, @@ -42,6 +49,8 @@ }], ['OS=="solaris"', { 'cflags': [ '-fno-omit-frame-pointer' ], + # pull in V8's postmortem metadata + 'ldflags': [ '-Wl,-z,allextract' ] }], ['strict_aliasing!="true"', { 'cflags': [ '-fno-strict-aliasing' ], @@ -137,7 +146,6 @@ 'ldflags': [ '-m32' ], }], [ 'OS=="linux"', { - 'cflags': [ '-ansi' ], 'ldflags': [ '-rdynamic' ], }], [ 'OS=="solaris"', { @@ -149,6 +157,7 @@ ], }], ['OS=="mac"', { + 'defines': ['_DARWIN_USE_64_BIT_INODE=1'], 'xcode_settings': { 'ALWAYS_SEARCH_USER_PATHS': 'NO', 'GCC_CW_ASM_SYNTAX': 'NO', # No -fasm-blocks @@ -161,7 +170,7 @@ 'GCC_VERSION': '4.2', 'GCC_WARN_ABOUT_MISSING_NEWLINE': 'YES', # -Wnewline-eof 'PREBINDING': 'NO', # No -Wl,-prebind - 'MACOSX_DEPLOYMENT_TARGET': '10.5', + 'MACOSX_DEPLOYMENT_TARGET': '10.5', # -mmacosx-version-min=10.5 'USE_HEADERMAP': 'NO', 'OTHER_CFLAGS': [ '-fno-strict-aliasing', diff --git a/deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/generator/make.py b/deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/generator/make.py index e93cb0331..ec0519081 100644 --- a/deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/generator/make.py +++ b/deps/npm/node_modules/node-gyp/legacy/tools/gyp/pylib/gyp/generator/make.py @@ -525,9 +525,9 @@ d_files := $(wildcard $(foreach f,$(all_deps),$(depsdir)/$(f).d)) ifneq ($(d_files),) # Rather than include each individual .d file, concatenate them into a # single file which make is able to load faster. We split this into - # commands that take 1000 files at a time to avoid overflowing the + # commands that take 512 files at a time to avoid overflowing the # command line. - $(shell cat $(wordlist 1,1000,$(d_files)) > $(depsdir)/all.deps) + $(shell cat $(wordlist 1,512,$(d_files)) > $(depsdir)/all.deps) %(generate_all_deps)s # make looks for ways to re-generate included makefiles, but in our case, we # don't have a direct way. Explicitly telling make that it has nothing to do @@ -2128,10 +2128,10 @@ def GenerateOutput(target_list, target_dicts, data, params): if generator_flags.get('auto_regeneration', True): WriteAutoRegenerationRule(params, root_makefile, makefile_name, build_files) - # Write the rule to load dependencies. We batch 1000 files at a time to + # Write the rule to load dependencies. We batch 512 files at a time to # avoid overflowing the command line. all_deps = "" - for i in range(1001, num_outputs, 1000): + for i in range(513, num_outputs, 512): all_deps += (""" ifneq ($(word %(start)d,$(d_files)),) $(shell cat $(wordlist %(start)d,%(end)d,$(d_files)) >> $(depsdir)/all.deps) @@ -2142,7 +2142,7 @@ def GenerateOutput(target_list, target_dicts, data, params): ifneq ($(word %(last)d,$(d_files)),) $(error Found unprocessed dependency files (gyp didn't generate enough rules!)) endif -""" % { 'last': ((num_outputs / 1000) + 1) * 1000 + 1 } +""" % { 'last': ((num_outputs / 512) + 1) * 512 + 1 } root_makefile.write(SHARED_FOOTER % { 'generate_all_deps': all_deps }) diff --git a/deps/npm/node_modules/node-gyp/lib/node-gyp.js b/deps/npm/node_modules/node-gyp/lib/node-gyp.js index 33c5445a6..ad92e817a 100644 --- a/deps/npm/node_modules/node-gyp/lib/node-gyp.js +++ b/deps/npm/node_modules/node-gyp/lib/node-gyp.js @@ -112,6 +112,25 @@ proto.parseArgv = function parseOpts (argv) { }, this) this.todo = commands + + // support for inheriting config env variables from npm + var npm_config_prefix = 'npm_config_' + Object.keys(process.env).forEach(function (name) { + if (name.indexOf(npm_config_prefix) !== 0) return + var val = process.env[name] + if (name === npm_config_prefix + 'loglevel') { + // "loglevel" is a special case; check for "verbose" + if (val === 'verbose') { + this.opts.verbose = true + } + } else { + // take the config name and check if it's one that node-gyp cares about + name = name.substring(npm_config_prefix.length) + if (name in this.configDefs) { + this.opts[name] = val + } + } + }, this) } /** diff --git a/deps/npm/node_modules/node-gyp/node_modules/ansi/package.json b/deps/npm/node_modules/node-gyp/node_modules/ansi/package.json index afefb7545..d8a5c2987 100644 --- a/deps/npm/node_modules/node-gyp/node_modules/ansi/package.json +++ b/deps/npm/node_modules/node-gyp/node_modules/ansi/package.json @@ -41,11 +41,8 @@ "dependencies": {}, "optionalDependencies": {}, "_engineSupported": true, - "_npmVersion": "1.1.21", - "_nodeVersion": "v0.7.9-pre", + "_npmVersion": "1.1.23", + "_nodeVersion": "v0.7.10-pre", "_defaultsLoaded": true, - "dist": { - "shasum": "1bbdab47714665c8484fb62da53f4553c6baec73" - }, "_from": "ansi@0.0.x" } diff --git a/deps/npm/node_modules/node-gyp/node_modules/glob/package.json b/deps/npm/node_modules/node-gyp/node_modules/glob/package.json index eb89f6c3e..3589c368f 100644 --- a/deps/npm/node_modules/node-gyp/node_modules/glob/package.json +++ b/deps/npm/node_modules/node-gyp/node_modules/glob/package.json @@ -36,11 +36,8 @@ "_id": "glob@3.1.9", "optionalDependencies": {}, "_engineSupported": true, - "_npmVersion": "1.1.21", - "_nodeVersion": "v0.7.9-pre", + "_npmVersion": "1.1.23", + "_nodeVersion": "v0.7.10-pre", "_defaultsLoaded": true, - "dist": { - "shasum": "a81b5dd6244b74b277cc1e825f25ebc511854525" - }, "_from": "glob@3" } diff --git a/deps/npm/node_modules/node-gyp/package.json b/deps/npm/node_modules/node-gyp/package.json index 6319fafe7..83be556c7 100644 --- a/deps/npm/node_modules/node-gyp/package.json +++ b/deps/npm/node_modules/node-gyp/package.json @@ -10,8 +10,8 @@ "bindings", "gyp" ], - "version": "0.4.3", - "installVersion": 7, + "version": "0.4.5", + "installVersion": 8, "author": { "name": "Nathan Rajlich", "email": "nathan@tootallnate.net", @@ -32,7 +32,7 @@ "graceful-fs": "1", "fstream": "~0.1.13", "minimatch": "0.2.x", - "mkdirp": "0.3.0", + "mkdirp": "0.3", "nopt": "1", "request": "2.9.x", "rimraf": "2", @@ -47,15 +47,15 @@ "name": "isaacs", "email": "i@izs.me" }, - "_id": "node-gyp@0.4.3", + "_id": "node-gyp@0.4.5", "devDependencies": {}, "optionalDependencies": {}, "_engineSupported": true, - "_npmVersion": "1.1.21", - "_nodeVersion": "v0.7.9-pre", + "_npmVersion": "1.1.23", + "_nodeVersion": "v0.7.10-pre", "_defaultsLoaded": true, "dist": { - "shasum": "8d45b9b77800f40f27a6445d01d99161942d9b36" + "shasum": "9ddb9c4218322fd3d6b9771b27c236c4e5965e3b" }, - "_from": "node-gyp@~0.4.1" + "_from": "node-gyp@~0.4.4" } diff --git a/deps/npm/node_modules/uid-number/package.json b/deps/npm/node_modules/uid-number/package.json index 3c0592cb6..babe6f43e 100644 --- a/deps/npm/node_modules/uid-number/package.json +++ b/deps/npm/node_modules/uid-number/package.json @@ -18,17 +18,18 @@ "engines": { "node": "*" }, + "license": "BSD", "_npmUser": { "name": "isaacs", "email": "i@izs.me" }, "_id": "uid-number@0.0.3", "_engineSupported": true, - "_npmVersion": "1.1.12", - "_nodeVersion": "v0.7.7-pre", + "_npmVersion": "1.1.23", + "_nodeVersion": "v0.7.10-pre", "_defaultsLoaded": true, "dist": { - "shasum": "be40aeab1db6ba45d2344d4ed6015109fc9d98d4" + "shasum": "cefb0fa138d8d8098da71a40a0d04a8327d6e1cc" }, - "_from": "uid-number@0.0.3" + "_from": "../uid-number" } diff --git a/deps/npm/package.json b/deps/npm/package.json index 0ce6cbeb3..b21f66859 100644 --- a/deps/npm/package.json +++ b/deps/npm/package.json @@ -10,7 +10,7 @@ "install", "package.json" ], - "version": "1.1.23", + "version": "1.1.24", "preferGlobal": true, "config": { "publishtest": false @@ -53,8 +53,8 @@ "mkdirp": "0.3", "read": "0", "lru-cache": "1", - "node-gyp": "~0.4.1", - "fstream-npm": "0 >=0.0.5", + "node-gyp": "~0.4.5", + "fstream-npm": "0.1", "uid-number": "0", "archy": "0", "chownr": "0" diff --git a/deps/npm/test/packages/npm-test-ignore-nested-nm/package.json b/deps/npm/test/packages/npm-test-ignore-nested-nm/package.json new file mode 100644 index 000000000..177dbfb01 --- /dev/null +++ b/deps/npm/test/packages/npm-test-ignore-nested-nm/package.json @@ -0,0 +1,3 @@ +{"name":"npm-test-ignore-nested-nm" +,"version":"1.2.5" +,"scripts":{"test":"node test.js"}} diff --git a/deps/npm/test/packages/npm-test-ignore-nested-nm/test.js b/deps/npm/test/packages/npm-test-ignore-nested-nm/test.js new file mode 100644 index 000000000..308c66b50 --- /dev/null +++ b/deps/npm/test/packages/npm-test-ignore-nested-nm/test.js @@ -0,0 +1,2 @@ +fs = require('fs') +fs.statSync(__dirname + '/lib/node_modules/foo') |