Merge remote-tracking branch 'upstream/v0.10'
Conflicts: ChangeLog deps/uv/ChangeLog deps/uv/include/uv-darwin.h deps/uv/src/unix/fsevents.c deps/uv/src/unix/process.c deps/uv/src/version.c doc/api/addons.markdown doc/api/cluster.markdown doc/api/http.markdown lib/http.js lib/tls.js src/node_crypto.cc src/node_http_parser.cc src/node_version.h src/pipe_wrap.cc src/v8abbr.h src/v8ustack.d test/simple/test-http-pipeline-flood.js
This commit is contained in:
Коммит
61ccaf9a97
21
ChangeLog
21
ChangeLog
|
@ -310,6 +310,27 @@
|
|||
* console: `console.dir()` bypasses inspect() methods (Nathan Rajlich)
|
||||
|
||||
|
||||
2013.10.18, Version 0.10.21 (Stable), e2da042844a830fafb8031f6c477eb4f96195210
|
||||
|
||||
* uv: Upgrade to v0.10.18
|
||||
|
||||
* crypto: clear errors from verify failure (Timothy J Fontaine)
|
||||
|
||||
* dtrace: interpret two byte strings (Dave Pacheco)
|
||||
|
||||
* fs: fix fs.truncate() file content zeroing bug (Ben Noordhuis)
|
||||
|
||||
* http: provide backpressure for pipeline flood (isaacs)
|
||||
|
||||
* tls: fix premature connection termination (Ben Noordhuis)
|
||||
|
||||
|
||||
2013.09.30, Version 0.10.20 (Stable), d7234c8d50a1af73f60d2d3c0cc7eed17429a481
|
||||
|
||||
* tls: fix sporadic hang and partial reads (Fedor Indutny)
|
||||
- fixes "npm ERR! cb() never called!"
|
||||
|
||||
|
||||
2013.09.24, Version 0.10.19 (Stable), 6b5e6a5a3ec8d994c9aab3b800b9edbf1b287904
|
||||
|
||||
* uv: Upgrade to v0.10.17
|
||||
|
|
13
README.md
13
README.md
|
@ -33,6 +33,19 @@ Windows:
|
|||
|
||||
vcbuild nosign
|
||||
|
||||
You can download pre-built binaries for various operating systems from
|
||||
[http://nodejs.org/download/](http://nodejs.org/download/). The Windows
|
||||
and OS X installers will prompt you for the location to install to.
|
||||
The tarballs are self-contained; you can extract them to a local directory
|
||||
with:
|
||||
|
||||
tar xzf /path/to/node-<version>-<platform>-<arch>.tar.gz
|
||||
|
||||
Or system-wide with:
|
||||
|
||||
cd /usr/local && tar --strip-components 1 -xzf \
|
||||
/path/to/node-<version>-<platform>-<arch>.tar.gz
|
||||
|
||||
### To run the tests:
|
||||
|
||||
Unix/Macintosh:
|
||||
|
|
|
@ -71,7 +71,7 @@ link: uninstall
|
|||
node cli.js link -f
|
||||
|
||||
clean: ronnclean doc-clean uninstall
|
||||
rm npmrc
|
||||
rm -rf npmrc
|
||||
node cli.js cache clean
|
||||
|
||||
uninstall:
|
||||
|
@ -154,13 +154,13 @@ html/doc/misc/%.html: doc/misc/%.md $(html_docdeps)
|
|||
ronn: node_modules/.bin/ronn
|
||||
|
||||
node_modules/.bin/ronn:
|
||||
node cli.js install ronn
|
||||
node cli.js install ronn --no-global
|
||||
|
||||
doc: man
|
||||
|
||||
man: $(cli_docs) $(api_docs)
|
||||
|
||||
test:
|
||||
test: doc
|
||||
node cli.js test
|
||||
|
||||
publish: link doc
|
||||
|
|
|
@ -33,9 +33,9 @@ Used to add, list, or clear the npm cache folder.
|
|||
|
||||
## DETAILS
|
||||
|
||||
npm stores cache data in `$HOME/.npm`. For each package that is added
|
||||
to the cache, three pieces of information are stored in
|
||||
`{cache}/{name}/{version}`:
|
||||
npm stores cache data in the directory specified in `npm config get cache`.
|
||||
For each package that is added to the cache, three pieces of information are
|
||||
stored in `{cache}/{name}/{version}`:
|
||||
|
||||
* .../package/:
|
||||
A folder containing the package contents as they appear in the tarball.
|
||||
|
@ -57,7 +57,7 @@ they do not make an HTTP request to the registry.
|
|||
|
||||
### cache
|
||||
|
||||
Default: `$HOME/.npm` on Posix, or `$HOME/npm-cache` on Windows.
|
||||
Default: `~/.npm` on Posix, or `%AppData%/npm-cache` on Windows.
|
||||
|
||||
The root cache folder.
|
||||
|
||||
|
|
|
@ -47,6 +47,10 @@ registry.
|
|||
|
||||
This feature is experimental, and may change in future versions.
|
||||
|
||||
The `--tag` argument will apply to all of the affected dependencies. If a
|
||||
tag with the given name exists, the tagged version is preferred over newer
|
||||
versions.
|
||||
|
||||
## SEE ALSO
|
||||
|
||||
* npm-ls(1)
|
||||
|
|
|
@ -152,7 +152,9 @@ For example:
|
|||
|
||||
npm install sax@">=0.1.0 <0.2.0" bench supervisor
|
||||
|
||||
The `--tag` argument will apply to all of the specified install targets.
|
||||
The `--tag` argument will apply to all of the specified install targets. If a
|
||||
tag with the given name exists, the tagged version is preferred over newer
|
||||
versions.
|
||||
|
||||
The `--force` argument will force npm to fetch remote resources even if a
|
||||
local copy exists on disk.
|
||||
|
|
|
@ -10,6 +10,10 @@ npm-outdated(1) -- Check for outdated packages
|
|||
This command will check the registry to see if any (or, specific) installed
|
||||
packages are currently outdated.
|
||||
|
||||
The resulting field 'wanted' shows the latest version according to the
|
||||
version specified in the package.json, the field 'latest' the very latest
|
||||
version of the package.
|
||||
|
||||
## SEE ALSO
|
||||
|
||||
* npm-update(1)
|
||||
|
|
|
@ -4,6 +4,7 @@ npm-prune(1) -- Remove extraneous packages
|
|||
## SYNOPSIS
|
||||
|
||||
npm prune [<name> [<name ...]]
|
||||
npm prune [<name> [<name ...]] [--production]
|
||||
|
||||
## DESCRIPTION
|
||||
|
||||
|
@ -14,6 +15,9 @@ removed.
|
|||
Extraneous packages are packages that are not listed on the parent
|
||||
package's dependencies list.
|
||||
|
||||
If the `--production` flag is specified, this command will remove the
|
||||
packages specified in your `devDependencies`.
|
||||
|
||||
## SEE ALSO
|
||||
|
||||
* npm-rm(1)
|
||||
|
|
|
@ -10,9 +10,24 @@ npm-tag(1) -- Tag a published version
|
|||
Tags the specified version of the package with the specified tag, or the
|
||||
`--tag` config if not specified.
|
||||
|
||||
A tag can be used when installing packages as a reference to a version instead
|
||||
of using a specific version number:
|
||||
|
||||
npm install <name>@<tag>
|
||||
|
||||
When installing dependencies, a preferred tagged version may be specified:
|
||||
|
||||
npm install --tag <tag>
|
||||
|
||||
This also applies to `npm dedupe`.
|
||||
|
||||
Publishing a package always sets the "latest" tag to the published version.
|
||||
|
||||
## SEE ALSO
|
||||
|
||||
* npm-publish(1)
|
||||
* npm-install(1)
|
||||
* npm-dedupe(1)
|
||||
* npm-registry(7)
|
||||
* npm-config(1)
|
||||
* npm-config(7)
|
||||
|
|
|
@ -146,7 +146,7 @@ See also the `strict-ssl` config.
|
|||
|
||||
### cache
|
||||
|
||||
* Default: Windows: `%APPDATA%\npm-cache`, Posix: `~/.npm`
|
||||
* Default: Windows: `%AppData%\npm-cache`, Posix: `~/.npm`
|
||||
* Type: path
|
||||
|
||||
The location of npm's cache directory. See `npm-cache(1)`
|
||||
|
|
|
@ -239,7 +239,7 @@ will no doubt tell you to put the output in a gist or email.</p>
|
|||
|
||||
<ul><li><a href="cli/npm.html">npm(1)</a></li><li><a href="misc/npm-faq.html">npm-faq(7)</a></li><li><a href="cli/npm-help.html">npm-help(1)</a></li><li><a href="misc/npm-index.html">npm-index(7)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer"><a href="../doc/README.html">README</a> — npm@1.3.11</p>
|
||||
<p id="footer"><a href="../doc/README.html">README</a> — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("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">npm-bin — npm@1.3.11</p>
|
||||
<p id="footer">npm-bin — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("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">npm-bugs — npm@1.3.11</p>
|
||||
<p id="footer">npm-bugs — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -28,7 +28,7 @@ usage, or <code>man 3 npm-<command></code> for programmatic usage.</p>
|
|||
|
||||
<ul><li><a href="../misc/npm-index.html">npm-index(7)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-commands — npm@1.3.11</p>
|
||||
<p id="footer">npm-commands — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -33,7 +33,7 @@ functions instead.</p>
|
|||
|
||||
<ul><li><a href="../api/npm.html">npm(3)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-config — npm@1.3.11</p>
|
||||
<p id="footer">npm-config — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -32,7 +32,7 @@ install the package.</p></li></ul>
|
|||
|
||||
<ul><li><a href="../api/npm-publish.html">npm-publish(3)</a></li><li><a href="../api/npm-unpublish.html">npm-unpublish(3)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-deprecate — npm@1.3.11</p>
|
||||
<p id="footer">npm-deprecate — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("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">npm-docs — npm@1.3.11</p>
|
||||
<p id="footer">npm-docs — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("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">npm-edit — npm@1.3.11</p>
|
||||
<p id="footer">npm-edit — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("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">npm-explore — npm@1.3.11</p>
|
||||
<p id="footer">npm-explore — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("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">npm-help-search — npm@1.3.11</p>
|
||||
<p id="footer">npm-help-search — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -35,7 +35,7 @@ then go ahead and use this programmatically.</p>
|
|||
|
||||
<p><a href="../files/package.json.html">package.json(5)</a></p>
|
||||
</div>
|
||||
<p id="footer">npm-init — npm@1.3.11</p>
|
||||
<p id="footer">npm-init — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("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">npm-install — npm@1.3.11</p>
|
||||
<p id="footer">npm-install — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("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">npm-link — npm@1.3.11</p>
|
||||
<p id="footer">npm-link — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("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">npm-load — npm@1.3.11</p>
|
||||
<p id="footer">npm-load — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("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">npm-ls — npm@1.3.11</p>
|
||||
<p id="footer">npm-ls — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("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">npm-outdated — npm@1.3.11</p>
|
||||
<p id="footer">npm-outdated — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -34,7 +34,7 @@ that is not implemented at this time.</p>
|
|||
|
||||
<ul><li><a href="../api/npm-publish.html">npm-publish(3)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-owner — npm@1.3.11</p>
|
||||
<p id="footer">npm-owner — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("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">npm-pack — npm@1.3.11</p>
|
||||
<p id="footer">npm-pack — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
<p>This function is not useful programmatically</p>
|
||||
</div>
|
||||
<p id="footer">npm-prefix — npm@1.3.11</p>
|
||||
<p id="footer">npm-prefix — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("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">npm-prune — npm@1.3.11</p>
|
||||
<p id="footer">npm-prune — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -32,7 +32,7 @@ the registry. Overwrites when the "force" environment variable is set
|
|||
|
||||
<ul><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li><li><a href="../api/npm-owner.html">npm-owner(3)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-publish — npm@1.3.11</p>
|
||||
<p id="footer">npm-publish — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -22,7 +22,7 @@ the new binary. If no 'packages' parameter is specify, every package wil
|
|||
|
||||
<p>See <code>npm help build</code></p>
|
||||
</div>
|
||||
<p id="footer">npm-rebuild — npm@1.3.11</p>
|
||||
<p id="footer">npm-rebuild — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -27,7 +27,7 @@ in the <code>packages</code> parameter.</p>
|
|||
|
||||
<ul><li><a href="../api/npm-start.html">npm-start(3)</a></li><li><a href="../api/npm-stop.html">npm-stop(3)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-restart — npm@1.3.11</p>
|
||||
<p id="footer">npm-restart — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
<p>This function is not useful programmatically.</p>
|
||||
</div>
|
||||
<p id="footer">npm-root — npm@1.3.11</p>
|
||||
<p id="footer">npm-root — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -29,7 +29,7 @@ assumed to be the command to run. All other elements are ignored.</p>
|
|||
|
||||
<ul><li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li><li><a href="../api/npm-test.html">npm-test(3)</a></li><li><a href="../api/npm-start.html">npm-start(3)</a></li><li><a href="../api/npm-restart.html">npm-restart(3)</a></li><li><a href="../api/npm-stop.html">npm-stop(3)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-run-script — npm@1.3.11</p>
|
||||
<p id="footer">npm-run-script — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -32,7 +32,7 @@ excluded term (the "searchexclude" config). The search is case insensi
|
|||
and doesn't try to read your mind (it doesn't do any verb tense matching or the
|
||||
like).</p>
|
||||
</div>
|
||||
<p id="footer">npm-search — npm@1.3.11</p>
|
||||
<p id="footer">npm-search — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("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">npm-shrinkwrap — npm@1.3.11</p>
|
||||
<p id="footer">npm-shrinkwrap — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("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">npm-start — npm@1.3.11</p>
|
||||
<p id="footer">npm-start — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("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">npm-stop — npm@1.3.11</p>
|
||||
<p id="footer">npm-stop — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("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">npm-submodule — npm@1.3.11</p>
|
||||
<p id="footer">npm-submodule — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("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">npm-tag — npm@1.3.11</p>
|
||||
<p id="footer">npm-tag — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("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">npm-test — npm@1.3.11</p>
|
||||
<p id="footer">npm-test — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("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">npm-uninstall — npm@1.3.11</p>
|
||||
<p id="footer">npm-uninstall — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("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">npm-unpublish — npm@1.3.11</p>
|
||||
<p id="footer">npm-unpublish — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("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">npm-update — npm@1.3.11</p>
|
||||
<p id="footer">npm-update — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("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">npm-version — npm@1.3.11</p>
|
||||
<p id="footer">npm-version — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -99,7 +99,7 @@ the field name.</p>
|
|||
|
||||
<p>corresponding to the list of fields selected.</p>
|
||||
</div>
|
||||
<p id="footer">npm-view — npm@1.3.11</p>
|
||||
<p id="footer">npm-view — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
<p>This function is not useful programmatically</p>
|
||||
</div>
|
||||
<p id="footer">npm-whoami — npm@1.3.11</p>
|
||||
<p id="footer">npm-whoami — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -24,7 +24,7 @@ npm.load([configObject], function (er, npm) {
|
|||
|
||||
<h2 id="VERSION">VERSION</h2>
|
||||
|
||||
<p>1.3.11</p>
|
||||
<p>1.3.12</p>
|
||||
|
||||
<h2 id="DESCRIPTION">DESCRIPTION</h2>
|
||||
|
||||
|
@ -92,7 +92,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.3.11</p>
|
||||
<p id="footer">npm — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("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">repo — npm@1.3.11</p>
|
||||
<p id="footer">repo — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -39,7 +39,7 @@ authorize on a new machine.</p>
|
|||
|
||||
<ul><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../cli/npm-owner.html">npm-owner(1)</a></li><li><a href="../cli/npm-whoami.html">npm-whoami(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-adduser — npm@1.3.11</p>
|
||||
<p id="footer">npm-adduser — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
<ul><li><a href="../cli/npm-prefix.html">npm-prefix(1)</a></li><li><a href="../cli/npm-root.html">npm-root(1)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-bin — npm@1.3.11</p>
|
||||
<p id="footer">npm-bin — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -36,7 +36,7 @@ config param.</p>
|
|||
|
||||
<ul><li><a href="../cli/npm-docs.html">npm-docs(1)</a></li><li><a href="../cli/npm-view.html">npm-view(1)</a></li><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../files/package.json.html">package.json(5)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-bugs — npm@1.3.11</p>
|
||||
<p id="footer">npm-bugs — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -25,7 +25,7 @@ A folder containing a <code>package.json</code> file in its root.</li></ul>
|
|||
|
||||
<ul><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../cli/npm-link.html">npm-link(1)</a></li><li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li><li><a href="../files/package.json.html">package.json(5)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-build — npm@1.3.11</p>
|
||||
<p id="footer">npm-build — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -20,7 +20,7 @@ install packages into the local space.</p>
|
|||
|
||||
<ul><li><a href="../cli/npm-install.html">npm-install(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-bundle — npm@1.3.11</p>
|
||||
<p id="footer">npm-bundle — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -36,9 +36,9 @@ the entire cache is cleared.</p></li></ul>
|
|||
|
||||
<h2 id="DETAILS">DETAILS</h2>
|
||||
|
||||
<p>npm stores cache data in <code>$HOME/.npm</code>. For each package that is added
|
||||
to the cache, three pieces of information are stored in
|
||||
<code>{cache}/{name}/{version}</code>:</p>
|
||||
<p>npm stores cache data in the directory specified in <code>npm config get cache</code>.
|
||||
For each package that is added to the cache, three pieces of information are
|
||||
stored in <code>{cache}/{name}/{version}</code>:</p>
|
||||
|
||||
<ul><li>.../package/:
|
||||
A folder containing the package contents as they appear in the tarball.</li><li>.../package.json:
|
||||
|
@ -58,7 +58,7 @@ they do not make an HTTP request to the registry.</p>
|
|||
|
||||
<h3 id="cache">cache</h3>
|
||||
|
||||
<p>Default: <code>$HOME/.npm</code> on Posix, or <code>$HOME/npm-cache</code> on Windows.</p>
|
||||
<p>Default: <code>~/.npm</code> on Posix, or <code>%AppData%/npm-cache</code> on Windows.</p>
|
||||
|
||||
<p>The root cache folder.</p>
|
||||
|
||||
|
@ -66,7 +66,7 @@ they do not make an HTTP request to the registry.</p>
|
|||
|
||||
<ul><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../cli/npm-pack.html">npm-pack(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-cache — npm@1.3.11</p>
|
||||
<p id="footer">npm-cache — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -33,7 +33,7 @@ completions based on the arguments.</p>
|
|||
|
||||
<ul><li><a href="../misc/npm-developers.html">npm-developers(7)</a></li><li><a href="../misc/npm-faq.html">npm-faq(7)</a></li><li><a href="../cli/npm.html">npm(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-completion — npm@1.3.11</p>
|
||||
<p id="footer">npm-completion — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -73,7 +73,7 @@ global config.</p>
|
|||
|
||||
<ul><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/package.json.html">package.json(5)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../cli/npm.html">npm(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-config — npm@1.3.11</p>
|
||||
<p id="footer">npm-config — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -54,11 +54,15 @@ registry.</p>
|
|||
|
||||
<p>This feature is experimental, and may change in future versions.</p>
|
||||
|
||||
<p>The <code>--tag</code> argument will apply to all of the affected dependencies. If a
|
||||
tag with the given name exists, the tagged version is preferred over newer
|
||||
versions.</p>
|
||||
|
||||
<h2 id="SEE-ALSO">SEE ALSO</h2>
|
||||
|
||||
<ul><li><a href="../cli/npm-ls.html">npm-ls(1)</a></li><li><a href="../cli/npm-update.html">npm-update(1)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-dedupe — npm@1.3.11</p>
|
||||
<p id="footer">npm-dedupe — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -31,7 +31,7 @@ something like this:</p>
|
|||
|
||||
<ul><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-deprecate — npm@1.3.11</p>
|
||||
<p id="footer">npm-deprecate — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -37,7 +37,7 @@ config param.</p>
|
|||
|
||||
<ul><li><a href="../cli/npm-view.html">npm-view(1)</a></li><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../files/package.json.html">package.json(5)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-docs — npm@1.3.11</p>
|
||||
<p id="footer">npm-docs — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -37,7 +37,7 @@ or <code>"notepad"</code> on Windows.</li><li>Type: path</li></ul>
|
|||
|
||||
<ul><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-explore.html">npm-explore(1)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-edit — npm@1.3.11</p>
|
||||
<p id="footer">npm-edit — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -40,7 +40,7 @@ Windows</li><li>Type: path</li></ul>
|
|||
|
||||
<ul><li><a href="../cli/npm-submodule.html">npm-submodule(1)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-edit.html">npm-edit(1)</a></li><li><a href="../cli/npm-rebuild.html">npm-rebuild(1)</a></li><li><a href="../cli/npm-build.html">npm-build(1)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-explore — npm@1.3.11</p>
|
||||
<p id="footer">npm-explore — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -38,7 +38,7 @@ where the terms were found in the documentation.</p>
|
|||
|
||||
<ul><li><a href="../cli/npm.html">npm(1)</a></li><li><a href="../misc/npm-faq.html">npm-faq(7)</a></li><li><a href="../cli/npm-help.html">npm-help(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-help-search — npm@1.3.11</p>
|
||||
<p id="footer">npm-help-search — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -36,7 +36,7 @@ matches are equivalent to specifying a topic name.</p>
|
|||
|
||||
<ul><li><a href="../cli/npm.html">npm(1)</a></li><li><a href="../../doc/README.html">README</a></li><li><a href="../misc/npm-faq.html">npm-faq(7)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../files/package.json.html">package.json(5)</a></li><li><a href="../cli/npm-help-search.html">npm-help-search(1)</a></li><li><a href="../misc/npm-index.html">npm-index(7)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-help — npm@1.3.11</p>
|
||||
<p id="footer">npm-help — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -29,7 +29,7 @@ without a really good reason to do so.</p>
|
|||
|
||||
<ul><li><a href="https://github.com/isaacs/init-package-json">https://github.com/isaacs/init-package-json</a></li><li><a href="../files/package.json.html">package.json(5)</a></li><li><a href="../cli/npm-version.html">npm-version(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-init — npm@1.3.11</p>
|
||||
<p id="footer">npm-init — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -64,7 +64,9 @@ For example:</p>
|
|||
|
||||
<pre><code>npm install sax@">=0.1.0 <0.2.0" bench supervisor</code></pre>
|
||||
|
||||
<p>The <code>--tag</code> argument will apply to all of the specified install targets.</p>
|
||||
<p>The <code>--tag</code> argument will apply to all of the specified install targets. If a
|
||||
tag with the given name exists, the tagged version is preferred over newer
|
||||
versions.</p>
|
||||
|
||||
<p>The <code>--force</code> argument will force npm to fetch remote resources even if a
|
||||
local copy exists on disk.</p>
|
||||
|
@ -142,7 +144,7 @@ affects a real use-case, it will be investigated.</p>
|
|||
|
||||
<ul><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-update.html">npm-update(1)</a></li><li><a href="../cli/npm-link.html">npm-link(1)</a></li><li><a href="../cli/npm-rebuild.html">npm-rebuild(1)</a></li><li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li><li><a href="../cli/npm-build.html">npm-build(1)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-tag.html">npm-tag(1)</a></li><li><a href="../cli/npm-rm.html">npm-rm(1)</a></li><li><a href="../cli/npm-shrinkwrap.html">npm-shrinkwrap(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-install — npm@1.3.11</p>
|
||||
<p id="footer">npm-install — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -62,7 +62,7 @@ installation target into your project's <code>node_modules</code> folder.</p
|
|||
|
||||
<ul><li><a href="../misc/npm-developers.html">npm-developers(7)</a></li><li><a href="../misc/npm-faq.html">npm-faq(7)</a></li><li><a href="../files/package.json.html">package.json(5)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-link — npm@1.3.11</p>
|
||||
<p id="footer">npm-link — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -25,7 +25,7 @@ limit the results to only the paths to the packages named. Note that
|
|||
nested packages will <em>also</em> show the paths to the specified packages.
|
||||
For example, running <code>npm ls promzard</code> in npm's source tree will show:</p>
|
||||
|
||||
<pre><code>npm@1.3.11 /path/to/npm
|
||||
<pre><code>npm@1.3.12 /path/to/npm
|
||||
└─┬ init-package-json@0.0.4
|
||||
└── promzard@0.1.5</code></pre>
|
||||
|
||||
|
@ -68,7 +68,7 @@ project.</p>
|
|||
|
||||
<ul><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../cli/npm-link.html">npm-link(1)</a></li><li><a href="../cli/npm-prune.html">npm-prune(1)</a></li><li><a href="../cli/npm-outdated.html">npm-outdated(1)</a></li><li><a href="../cli/npm-update.html">npm-update(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-ls — npm@1.3.11</p>
|
||||
<p id="footer">npm-ls — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -17,11 +17,15 @@
|
|||
<p>This command will check the registry to see if any (or, specific) installed
|
||||
packages are currently outdated.</p>
|
||||
|
||||
<p>The resulting field 'wanted' shows the latest version according to the
|
||||
version specified in the package.json, the field 'latest' the very latest
|
||||
version of the package.</p>
|
||||
|
||||
<h2 id="SEE-ALSO">SEE ALSO</h2>
|
||||
|
||||
<ul><li><a href="../cli/npm-update.html">npm-update(1)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-outdated — npm@1.3.11</p>
|
||||
<p id="footer">npm-outdated — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -34,7 +34,7 @@ that is not implemented at this time.</p>
|
|||
|
||||
<ul><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li><li><a href="../misc/npm-disputes.html">npm-disputes(7)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-owner — npm@1.3.11</p>
|
||||
<p id="footer">npm-owner — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -29,7 +29,7 @@ overwritten the second time.</p>
|
|||
|
||||
<ul><li><a href="../cli/npm-cache.html">npm-cache(1)</a></li><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-pack — npm@1.3.11</p>
|
||||
<p id="footer">npm-pack — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
<ul><li><a href="../cli/npm-root.html">npm-root(1)</a></li><li><a href="../cli/npm-bin.html">npm-bin(1)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-prefix — npm@1.3.11</p>
|
||||
<p id="footer">npm-prefix — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -10,7 +10,8 @@
|
|||
|
||||
<h2 id="SYNOPSIS">SYNOPSIS</h2>
|
||||
|
||||
<pre><code>npm prune [<name> [<name ...]]</code></pre>
|
||||
<pre><code>npm prune [<name> [<name ...]]
|
||||
npm prune [<name> [<name ...]] [--production]</code></pre>
|
||||
|
||||
<h2 id="DESCRIPTION">DESCRIPTION</h2>
|
||||
|
||||
|
@ -21,11 +22,14 @@ removed.</p>
|
|||
<p>Extraneous packages are packages that are not listed on the parent
|
||||
package's dependencies list.</p>
|
||||
|
||||
<p>If the <code>--production</code> flag is specified, this command will remove the
|
||||
packages specified in your <code>devDependencies</code>.</p>
|
||||
|
||||
<h2 id="SEE-ALSO">SEE ALSO</h2>
|
||||
|
||||
<ul><li><a href="../cli/npm-rm.html">npm-rm(1)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-ls.html">npm-ls(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-prune — npm@1.3.11</p>
|
||||
<p id="footer">npm-prune — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -29,7 +29,7 @@ the registry. Overwrites when the "--force" flag is set.</p>
|
|||
|
||||
<ul><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li><li><a href="../cli/npm-owner.html">npm-owner(1)</a></li><li><a href="../cli/npm-deprecate.html">npm-deprecate(1)</a></li><li><a href="../cli/npm-tag.html">npm-tag(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-publish — npm@1.3.11</p>
|
||||
<p id="footer">npm-publish — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -26,7 +26,7 @@ the new binary.</p>
|
|||
|
||||
<ul><li><a href="../cli/npm-build.html">npm-build(1)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-rebuild — npm@1.3.11</p>
|
||||
<p id="footer">npm-rebuild — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -24,7 +24,7 @@ the "start" script.</p>
|
|||
|
||||
<ul><li><a href="../cli/npm-run-script.html">npm-run-script(1)</a></li><li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li><li><a href="../cli/npm-test.html">npm-test(1)</a></li><li><a href="../cli/npm-start.html">npm-start(1)</a></li><li><a href="../cli/npm-stop.html">npm-stop(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-restart — npm@1.3.11</p>
|
||||
<p id="footer">npm-restart — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -24,7 +24,7 @@ on its behalf.</p>
|
|||
|
||||
<ul><li><a href="../cli/npm-prune.html">npm-prune(1)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-rm — npm@1.3.11</p>
|
||||
<p id="footer">npm-rm — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
<ul><li><a href="../cli/npm-prefix.html">npm-prefix(1)</a></li><li><a href="../cli/npm-bin.html">npm-bin(1)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-root — npm@1.3.11</p>
|
||||
<p id="footer">npm-root — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -23,7 +23,7 @@ called directly, as well.</p>
|
|||
|
||||
<ul><li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li><li><a href="../cli/npm-test.html">npm-test(1)</a></li><li><a href="../cli/npm-start.html">npm-start(1)</a></li><li><a href="../cli/npm-restart.html">npm-restart(1)</a></li><li><a href="../cli/npm-stop.html">npm-stop(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-run-script — npm@1.3.11</p>
|
||||
<p id="footer">npm-run-script — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -26,7 +26,7 @@ expression characters must be escaped or quoted in most shells.)</p>
|
|||
|
||||
<ul><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../cli/npm-view.html">npm-view(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-search — npm@1.3.11</p>
|
||||
<p id="footer">npm-search — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -183,7 +183,7 @@ contents rather than versions.</p>
|
|||
|
||||
<ul><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../files/package.json.html">package.json(5)</a></li><li><a href="../cli/npm-ls.html">npm-ls(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-shrinkwrap — npm@1.3.11</p>
|
||||
<p id="footer">npm-shrinkwrap — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -26,7 +26,7 @@ a vaguely positive way to show that you care.</p>
|
|||
|
||||
<ul><li><a href="../cli/npm-view.html">npm-view(1)</a></li><li><a href="../cli/npm-whoami.html">npm-whoami(1)</a></li><li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-star — npm@1.3.11</p>
|
||||
<p id="footer">npm-star — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -25,7 +25,7 @@ you will most certainly enjoy this command.</p>
|
|||
|
||||
<ul><li><a href="../cli/npm-star.html">npm-star(1)</a></li><li><a href="../cli/npm-view.html">npm-view(1)</a></li><li><a href="../cli/npm-whoami.html">npm-whoami(1)</a></li><li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-stars — npm@1.3.11</p>
|
||||
<p id="footer">npm-stars — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
<ul><li><a href="../cli/npm-run-script.html">npm-run-script(1)</a></li><li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li><li><a href="../cli/npm-test.html">npm-test(1)</a></li><li><a href="../cli/npm-restart.html">npm-restart(1)</a></li><li><a href="../cli/npm-stop.html">npm-stop(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-start — npm@1.3.11</p>
|
||||
<p id="footer">npm-start — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
<ul><li><a href="../cli/npm-run-script.html">npm-run-script(1)</a></li><li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li><li><a href="../cli/npm-test.html">npm-test(1)</a></li><li><a href="../cli/npm-start.html">npm-start(1)</a></li><li><a href="../cli/npm-restart.html">npm-restart(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-stop — npm@1.3.11</p>
|
||||
<p id="footer">npm-stop — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -33,7 +33,7 @@ dependencies into the submodule folder.</p>
|
|||
|
||||
<ul><li><a href="../files/package.json.html">package.json(5)</a></li><li>git help submodule</li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-submodule — npm@1.3.11</p>
|
||||
<p id="footer">npm-submodule — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -17,11 +17,24 @@
|
|||
<p>Tags the specified version of the package with the specified tag, or the
|
||||
<code>--tag</code> config if not specified.</p>
|
||||
|
||||
<p>A tag can be used when installing packages as a reference to a version instead
|
||||
of using a specific version number:</p>
|
||||
|
||||
<pre><code>npm install <name>@<tag></code></pre>
|
||||
|
||||
<p>When installing dependencies, a preferred tagged version may be specified:</p>
|
||||
|
||||
<pre><code>npm install --tag <tag></code></pre>
|
||||
|
||||
<p>This also applies to <code>npm dedupe</code>.</p>
|
||||
|
||||
<p>Publishing a package always sets the "latest" tag to the published version.</p>
|
||||
|
||||
<h2 id="SEE-ALSO">SEE ALSO</h2>
|
||||
|
||||
<ul><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li></ul>
|
||||
<ul><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../cli/npm-dedupe.html">npm-dedupe(1)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-tag — npm@1.3.11</p>
|
||||
<p id="footer">npm-tag — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -24,7 +24,7 @@ true.</p>
|
|||
|
||||
<ul><li><a href="../cli/npm-run-script.html">npm-run-script(1)</a></li><li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li><li><a href="../cli/npm-start.html">npm-start(1)</a></li><li><a href="../cli/npm-restart.html">npm-restart(1)</a></li><li><a href="../cli/npm-stop.html">npm-stop(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-test — npm@1.3.11</p>
|
||||
<p id="footer">npm-test — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -22,7 +22,7 @@ on its behalf.</p>
|
|||
|
||||
<ul><li><a href="../cli/npm-prune.html">npm-prune(1)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-uninstall — npm@1.3.11</p>
|
||||
<p id="footer">npm-uninstall — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -34,7 +34,7 @@ the root package entry is removed from the registry entirely.</p>
|
|||
|
||||
<ul><li><a href="../cli/npm-deprecate.html">npm-deprecate(1)</a></li><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li><li><a href="../cli/npm-owner.html">npm-owner(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-unpublish — npm@1.3.11</p>
|
||||
<p id="footer">npm-unpublish — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -26,7 +26,7 @@ If no package name is specified, all packages in the specified location (global
|
|||
|
||||
<ul><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../cli/npm-outdated.html">npm-outdated(1)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-ls.html">npm-ls(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-update — npm@1.3.11</p>
|
||||
<p id="footer">npm-update — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -49,7 +49,7 @@ Enter passphrase:</code></pre>
|
|||
|
||||
<ul><li><a href="../cli/npm-init.html">npm-init(1)</a></li><li><a href="../files/package.json.html">package.json(5)</a></li><li><a href="../misc/semver.html">semver(7)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-version — npm@1.3.11</p>
|
||||
<p id="footer">npm-version — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -91,7 +91,7 @@ the field name.</p>
|
|||
|
||||
<ul><li><a href="../cli/npm-search.html">npm-search(1)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../cli/npm-docs.html">npm-docs(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-view — npm@1.3.11</p>
|
||||
<p id="footer">npm-view — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
<ul><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-whoami — npm@1.3.11</p>
|
||||
<p id="footer">npm-whoami — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
<h2 id="VERSION">VERSION</h2>
|
||||
|
||||
<p>1.3.11</p>
|
||||
<p>1.3.12</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="../cli/npm-help.html">npm-help(1)</a></li><li><a href="../misc/npm-faq.html">npm-faq(7)</a></li><li><a href="../../doc/README.html">README</a></li><li><a href="../files/package.json.html">package.json(5)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../misc/npm-index.html">npm-index(7)</a></li><li><a href="../api/npm.html">npm(3)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm — npm@1.3.11</p>
|
||||
<p id="footer">npm — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -30,7 +30,7 @@ config param.</p>
|
|||
|
||||
<ul><li><a href="../cli/npm-docs.html">npm-docs(1)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">repo — npm@1.3.11</p>
|
||||
<p id="footer">repo — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -205,7 +205,7 @@ cannot be found elsewhere. See <code><a href="../files/package.json.html">packa
|
|||
|
||||
<ul><li><a href="../misc/npm-faq.html">npm-faq(7)</a></li><li><a href="../files/package.json.html">package.json(5)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../cli/npm-pack.html">npm-pack(1)</a></li><li><a href="../cli/npm-cache.html">npm-cache(1)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-folders — npm@1.3.11</p>
|
||||
<p id="footer">npm-folders — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -205,7 +205,7 @@ cannot be found elsewhere. See <code><a href="../files/package.json.html">packa
|
|||
|
||||
<ul><li><a href="../misc/npm-faq.html">npm-faq(7)</a></li><li><a href="../files/package.json.html">package.json(5)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../cli/npm-pack.html">npm-pack(1)</a></li><li><a href="../cli/npm-cache.html">npm-cache(1)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">npm-folders — npm@1.3.11</p>
|
||||
<p id="footer">npm-folders — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
|
@ -550,7 +550,7 @@ overridden.</p>
|
|||
|
||||
<ul><li><a href="../misc/semver.html">semver(7)</a></li><li><a href="../cli/npm-init.html">npm-init(1)</a></li><li><a href="../cli/npm-version.html">npm-version(1)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../cli/npm-help.html">npm-help(1)</a></li><li><a href="../misc/npm-faq.html">npm-faq(7)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../cli/npm-rm.html">npm-rm(1)</a></li></ul>
|
||||
</div>
|
||||
<p id="footer">package.json — npm@1.3.11</p>
|
||||
<p id="footer">package.json — npm@1.3.12</p>
|
||||
<script>
|
||||
;(function () {
|
||||
var wrapper = document.getElementById("wrapper")
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче