mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
Merge branch 'master' into next
Conflicts: Makefile lib/buffer.js lib/smalloc.js src/node_buffer.cc src/node_version.h vcbuild.bat
This commit is contained in:
commit
3beae2ca85
1759 files changed
+165704
-12296
No files matched your search
@@ -43,8 +43,7 @@ rules:
|
||||
## 2 space indentation
|
||||
indent: [2, 2]
|
||||
## add space after comma
|
||||
## set to 'warn' because of https://github.com/eslint/eslint/issues/2408
|
||||
comma-spacing: 1
|
||||
comma-spacing: 2
|
||||
## put semi-colon
|
||||
semi: 2
|
||||
## require spaces operator like var sum = 1 + 1;
|
||||
|
||||
@@ -52,6 +52,7 @@ Igor Zinkovsky <igorzi@microsoft.com>
|
||||
Isaac Z. Schlueter <i@izs.me>
|
||||
Isaac Z. Schlueter <i@izs.me> <i@foohack.com>
|
||||
Jake Verbaten <raynos2@gmail.com>
|
||||
James Hartig <fastest963@gmail.com> <james.hartig@grooveshark.com>
|
||||
Jered Schmidt <tr@nslator.jp>
|
||||
Jeremiah Senkpiel <fishrock123@rocketmail.com>
|
||||
Joe Shaw <joe@joeshaw.org> <joeshaw@litl.com>
|
||||
|
||||
@@ -260,7 +260,7 @@ Adam Malcontenti-Wilson <adman.com@gmail.com>
|
||||
Avi Flax <avi@aviflax.com>
|
||||
Pedro Teixeira <pedro.teixeira@gmail.com>
|
||||
Johan Bergström <bugs@bergstroem.nu>
|
||||
James Hartig <james.hartig@grooveshark.com>
|
||||
James Hartig <fastest963@gmail.com>
|
||||
Shannen Saez <shannenlaptop@gmail.com>
|
||||
Seong-Rak Choi <ragiragi@hanmail.net>
|
||||
Dave Irvine <davman99@gmail.com>
|
||||
@@ -764,5 +764,14 @@ Frederic Hemberger <mail@frederic-hemberger.de>
|
||||
Sharat M R <cosmosgenius@gmail.com>
|
||||
Rich Trott <rtrott@gmail.com>
|
||||
Felipe Batista <fsbatista1@gmail.com>
|
||||
Rebecca Turner <me@re-becca.org>
|
||||
Tyler Anton <mtyleranton@gmail.com>
|
||||
João Reis <reis@janeasystems.com>
|
||||
Kat Marchán <kzm@sykosomatic.org>
|
||||
Ryan Petschek <petschekr@gmail.com>
|
||||
Pierre Inglebert <pierre.inglebert@gmail.com>
|
||||
Ivan Yan <yan.2314@gmail.com>
|
||||
Sangmin Yoon <sangmin.yoon@croquis.com>
|
||||
Mark Plomer <mark.plomer@boerse-go.de>
|
||||
|
||||
# Generated by tools/update-authors.sh
|
||||
+120
-2
@@ -1,5 +1,123 @@
|
||||
# io.js ChangeLog
|
||||
|
||||
## 2015-07-09, Version 2.3.4, @Fishrock123
|
||||
|
||||
### Notable changes
|
||||
|
||||
* **openssl**: Upgrade to 1.0.2d, fixes CVE-2015-1793 (Alternate Chains Certificate Forgery) (Shigeki Ohtsu) [#2141](https://github.com/nodejs/io.js/pull/2141).
|
||||
* **npm**: Upgraded to v2.12.1, release notes can be found in <https://github.com/npm/npm/releases/tag/v2.12.0> and <https://github.com/npm/npm/releases/tag/v2.12.1> (Kat Marchán) [#2112](https://github.com/nodejs/io.js/pull/2112).
|
||||
|
||||
### Known issues
|
||||
|
||||
See https://github.com/nodejs/io.js/labels/confirmed-bug for complete and current list of known issues.
|
||||
|
||||
* Some problems with unreferenced timers running during `beforeExit` are still to be resolved. See [#1264](https://github.com/nodejs/io.js/issues/1264).
|
||||
* Surrogate pair in REPL can freeze terminal. [#690](https://github.com/nodejs/io.js/issues/690)
|
||||
* `process.send()` is not synchronous as the docs suggest, a regression introduced in 1.0.2, see [#760](https://github.com/nodejs/io.js/issues/760).
|
||||
* Calling `dns.setServers()` while a DNS query is in progress can cause the process to crash on a failed assertion. [#894](https://github.com/nodejs/io.js/issues/894)
|
||||
* `url.resolve` may transfer the auth portion of the url when resolving between two full hosts, see [#1435](https://github.com/nodejs/io.js/issues/1435).
|
||||
|
||||
### Commits
|
||||
|
||||
* [[`0d15161c24`](https://github.com/nodejs/io.js/commit/0d15161c24)] - **benchmark**: Add some path benchmarks for #1778 (Nathan Woltman) [#1778](https://github.com/nodejs/io.js/pull/1778)
|
||||
* [[`c70e68fa32`](https://github.com/nodejs/io.js/commit/c70e68fa32)] - **deps**: update deps/openssl/conf/arch/*/opensslconf.h (Shigeki Ohtsu) [#2141](https://github.com/nodejs/io.js/pull/2141)
|
||||
* [[`ca93f7f2e6`](https://github.com/nodejs/io.js/commit/ca93f7f2e6)] - **deps**: upgrade openssl sources to 1.0.2d (Shigeki Ohtsu) [#2141](https://github.com/nodejs/io.js/pull/2141)
|
||||
* [[`b18c841ec1`](https://github.com/nodejs/io.js/commit/b18c841ec1)] - **deps**: make node-gyp work with io.js (cjihrig) [iojs/io.js#990](https://github.com/iojs/io.js/pull/990)
|
||||
* [[`863cdbdd08`](https://github.com/nodejs/io.js/commit/863cdbdd08)] - **deps**: upgrade to npm 2.12.1 (Kat Marchán) [#2112](https://github.com/nodejs/io.js/pull/2112)
|
||||
* [[`84b3915764`](https://github.com/nodejs/io.js/commit/84b3915764)] - **doc**: document current release procedure (Rod Vagg) [#2099](https://github.com/nodejs/io.js/pull/2099)
|
||||
* [[`46140334cd`](https://github.com/nodejs/io.js/commit/46140334cd)] - **doc**: update AUTHORS list (Rod Vagg) [#2100](https://github.com/nodejs/io.js/pull/2100)
|
||||
* [[`bca53dce76`](https://github.com/nodejs/io.js/commit/bca53dce76)] - **path**: refactor for performance and consistency (Nathan Woltman) [#1778](https://github.com/nodejs/io.js/pull/1778)
|
||||
* [[`6bef15afe7`](https://github.com/nodejs/io.js/commit/6bef15afe7)] - **src**: remove traceSyncIO property from process (Bradley Meck) [#2143](https://github.com/nodejs/io.js/pull/2143)
|
||||
* [[`2ba1740ba1`](https://github.com/nodejs/io.js/commit/2ba1740ba1)] - **test**: add missing crypto checks (Johan Bergström) [#2129](https://github.com/nodejs/io.js/pull/2129)
|
||||
* [[`180fd392ca`](https://github.com/nodejs/io.js/commit/180fd392ca)] - **test**: refactor test-repl-tab-complete (Sakthipriyan Vairamani) [#2122](https://github.com/nodejs/io.js/pull/2122)
|
||||
* [[`fb05c8e27d`](https://github.com/nodejs/io.js/commit/fb05c8e27d)] - ***Revert*** "**test**: add test for missing `close`/`finish` event" (Fedor Indutny)
|
||||
* [[`9436a860cb`](https://github.com/nodejs/io.js/commit/9436a860cb)] - **test**: add test for missing `close`/`finish` event (Mark Plomer) [iojs/io.js#1373](https://github.com/iojs/io.js/pull/1373)
|
||||
* [[`ee3ce2ed88`](https://github.com/nodejs/io.js/commit/ee3ce2ed88)] - **tools**: install gdbinit from v8 to $PREFIX/share (Ali Ijaz Sheikh) [#2123](https://github.com/nodejs/io.js/pull/2123)
|
||||
* [[`dd523c75da`](https://github.com/nodejs/io.js/commit/dd523c75da)] - **win,node-gyp**: enable delay-load hook by default (Bert Belder) [iojs/io.js#1433](https://github.com/iojs/io.js/pull/1433)
|
||||
|
||||
## 2015-07-04, Version 2.3.3, @Fishrock123
|
||||
|
||||
### Notable changes
|
||||
|
||||
* **deps**: Fixed an out-of-band write in utf8 decoder. **This is an important security update** as it can be used to cause a denial of service attack.
|
||||
|
||||
### Known issues
|
||||
|
||||
See https://github.com/nodejs/io.js/labels/confirmed-bug for complete and current list of known issues.
|
||||
|
||||
* Some problems with unreferenced timers running during `beforeExit` are still to be resolved. See [#1264](https://github.com/nodejs/io.js/issues/1264).
|
||||
* Surrogate pair in REPL can freeze terminal. [#690](https://github.com/nodejs/io.js/issues/690)
|
||||
* `process.send()` is not synchronous as the docs suggest, a regression introduced in 1.0.2, see [#760](https://github.com/nodejs/io.js/issues/760).
|
||||
* Calling `dns.setServers()` while a DNS query is in progress can cause the process to crash on a failed assertion. [#894](https://github.com/nodejs/io.js/issues/894)
|
||||
* `url.resolve` may transfer the auth portion of the url when resolving between two full hosts, see [#1435](https://github.com/nodejs/io.js/issues/1435).
|
||||
|
||||
## Commits
|
||||
|
||||
* [[`030f8045c7`](https://github.com/nodejs/io.js/commit/030f8045c7)] - **deps**: fix out-of-band write in utf8 decoder (Fedor Indutny)
|
||||
* [[`0f09b8db28`](https://github.com/nodejs/io.js/commit/0f09b8db28)] - **doc**: don't recommend domains for error handling (Benjamin Gruenbaum) [#2056](https://github.com/nodejs/io.js/pull/2056)
|
||||
* [[`9cd44bb2b6`](https://github.com/nodejs/io.js/commit/9cd44bb2b6)] - **util**: prepend '(node) ' to deprecation messages (Sakthipriyan Vairamani) [#1892](https://github.com/nodejs/io.js/pull/1892)
|
||||
|
||||
## 2015-07-01, Version 2.3.2, @rvagg
|
||||
|
||||
### Notable changes
|
||||
|
||||
* **build**:
|
||||
- Added support for compiling with Microsoft Visual C++ 2015
|
||||
- Started building and distributing headers-only tarballs along with binaries
|
||||
|
||||
### Known issues
|
||||
|
||||
See https://github.com/nodejs/io.js/labels/confirmed-bug for complete and current list of known issues.
|
||||
|
||||
* Some problems with unreferenced timers running during `beforeExit` are still to be resolved. See [#1264](https://github.com/nodejs/io.js/issues/1264).
|
||||
* Surrogate pair in REPL can freeze terminal [#690](https://github.com/nodejs/io.js/issues/690)
|
||||
* `process.send()` is not synchronous as the docs suggest, a regression introduced in 1.0.2, see [#760](https://github.com/nodejs/io.js/issues/760) and fix in [#774](https://github.com/nodejs/io.js/issues/774)
|
||||
* Calling `dns.setServers()` while a DNS query is in progress can cause the process to crash on a failed assertion [#894](https://github.com/nodejs/io.js/issues/894)
|
||||
* `url.resolve` may transfer the auth portion of the url when resolving between two full hosts, see [#1435](https://github.com/nodejs/io.js/issues/1435).
|
||||
|
||||
## Commits
|
||||
|
||||
* [[`9180140231`](https://github.com/nodejs/io.js/commit/9180140231)] - **_stream_wrap**: prevent use after free in TLS (Fedor Indutny) [#1910](https://github.com/nodejs/io.js/pull/1910)
|
||||
* [[`05a73c0f25`](https://github.com/nodejs/io.js/commit/05a73c0f25)] - **benchmark**: make concurrent requests configurable (Rich Trott) [#2068](https://github.com/nodejs/io.js/pull/2068)
|
||||
* [[`f52d73352e`](https://github.com/nodejs/io.js/commit/f52d73352e)] - **benchmark**: fix typo in README (Rich Trott) [#2067](https://github.com/nodejs/io.js/pull/2067)
|
||||
* [[`1cd9eeb556`](https://github.com/nodejs/io.js/commit/1cd9eeb556)] - **buffer**: prevent abort on bad proto (Trevor Norris) [#2012](https://github.com/nodejs/io.js/pull/2012)
|
||||
* [[`8350f3a3a2`](https://github.com/nodejs/io.js/commit/8350f3a3a2)] - **buffer**: optimize Buffer#toString() (Ben Noordhuis) [#2027](https://github.com/nodejs/io.js/pull/2027)
|
||||
* [[`628a3ab093`](https://github.com/nodejs/io.js/commit/628a3ab093)] - **build**: add tar-headers target for headers-only tar (Rod Vagg) [#1975](https://github.com/nodejs/io.js/pull/1975)
|
||||
* [[`dcbb9e1da6`](https://github.com/nodejs/io.js/commit/dcbb9e1da6)] - **build**: update build targets for io.js (Rod Vagg) [#1938](https://github.com/nodejs/io.js/pull/1938)
|
||||
* [[`c87c34c242`](https://github.com/nodejs/io.js/commit/c87c34c242)] - **build**: fix cherry-pick ooops, fix comment wording (Rod Vagg) [#2036](https://github.com/nodejs/io.js/pull/2036)
|
||||
* [[`4208dc4fef`](https://github.com/nodejs/io.js/commit/4208dc4fef)] - **build**: add MSVS 2015 support (Rod Vagg) [#2036](https://github.com/nodejs/io.js/pull/2036)
|
||||
* [[`834a365113`](https://github.com/nodejs/io.js/commit/834a365113)] - **build**: DTrace is enabled by default on darwin (Evan Lucas) [#2019](https://github.com/nodejs/io.js/pull/2019)
|
||||
* [[`c0c0d73269`](https://github.com/nodejs/io.js/commit/c0c0d73269)] - **build,win**: set env before generating projects (Alexis Campailla) [joyent/node#20109](https://github.com/joyent/node/pull/20109)
|
||||
* [[`9e890fe8b4`](https://github.com/nodejs/io.js/commit/9e890fe8b4)] - **crypto**: fix VerifyCallback in case of verify error (Shigeki Ohtsu) [#2064](https://github.com/nodejs/io.js/pull/2064)
|
||||
* [[`1f371e3988`](https://github.com/nodejs/io.js/commit/1f371e3988)] - **deps**: copy all openssl header files to include dir (Shigeki Ohtsu) [#2016](https://github.com/nodejs/io.js/pull/2016)
|
||||
* [[`c370bd3aea`](https://github.com/nodejs/io.js/commit/c370bd3aea)] - **doc**: make the abbreviation 1MM clear (Ivan Yan) [#2053](https://github.com/nodejs/io.js/pull/2053)
|
||||
* [[`54d5437566`](https://github.com/nodejs/io.js/commit/54d5437566)] - **doc**: Added sample command to test iojs build (Jimmy Hsu) [#850](https://github.com/nodejs/io.js/pull/850)
|
||||
* [[`f1f1b7e597`](https://github.com/nodejs/io.js/commit/f1f1b7e597)] - **doc**: add TSC meeting minutes 2015-06-17 (Rod Vagg) [#2048](https://github.com/nodejs/io.js/pull/2048)
|
||||
* [[`dbd5dc932d`](https://github.com/nodejs/io.js/commit/dbd5dc932d)] - **doc**: clarify prerequisites in benchmark/README.md (Jeremiah Senkpiel) [#2034](https://github.com/nodejs/io.js/pull/2034)
|
||||
* [[`50dbc8e143`](https://github.com/nodejs/io.js/commit/50dbc8e143)] - **doc**: add TSC meeting minutes 2015-05-27 (Rod Vagg) [#2037](https://github.com/nodejs/io.js/pull/2037)
|
||||
* [[`941ad362a7`](https://github.com/nodejs/io.js/commit/941ad362a7)] - **doc**: archive io.js TC minutes (Rod Vagg)
|
||||
* [[`644b2eaa89`](https://github.com/nodejs/io.js/commit/644b2eaa89)] - **doc**: rename tc-meetings to tsc-meetings (Rod Vagg)
|
||||
* [[`1330ee3b27`](https://github.com/nodejs/io.js/commit/1330ee3b27)] - **doc**: add TC meeting 2015-05-13 minutes (Rod Vagg) [#1700](https://github.com/nodejs/io.js/pull/1700)
|
||||
* [[`392e8fd64e`](https://github.com/nodejs/io.js/commit/392e8fd64e)] - **doc**: add @shigeki and @mscdex to TC (Rod Vagg) [#2008](https://github.com/nodejs/io.js/pull/2008)
|
||||
* [[`af249fa8a1`](https://github.com/nodejs/io.js/commit/af249fa8a1)] - **net**: wrap connect in nextTick (Evan Lucas) [#2054](https://github.com/nodejs/io.js/pull/2054)
|
||||
* [[`7f63449fde`](https://github.com/nodejs/io.js/commit/7f63449fde)] - **net**: fix debug for dnsopts (Evan Lucas) [#2059](https://github.com/nodejs/io.js/pull/2059)
|
||||
* [[`eabed2f518`](https://github.com/nodejs/io.js/commit/eabed2f518)] - **repl**: remove obsolete TODO (Rich Trott) [#2081](https://github.com/nodejs/io.js/pull/2081)
|
||||
* [[`a198c68b56`](https://github.com/nodejs/io.js/commit/a198c68b56)] - **repl**: make 'Unexpected token' errors recoverable (Julien Gilli) [#2052](https://github.com/nodejs/io.js/pull/2052)
|
||||
* [[`d735b2c6ef`](https://github.com/nodejs/io.js/commit/d735b2c6ef)] - **repl**: fix tab completion for a non-global context (Sangmin Yoon) [#2052](https://github.com/nodejs/io.js/pull/2052)
|
||||
* [[`8cee8f54fc`](https://github.com/nodejs/io.js/commit/8cee8f54fc)] - **src**: nix stdin _readableState.reading manipulation (Chris Dickinson) [#454](https://github.com/nodejs/io.js/pull/454)
|
||||
* [[`856c11f8c8`](https://github.com/nodejs/io.js/commit/856c11f8c8)] - **test**: purge stale disabled tests (Rich Trott) [#2045](https://github.com/nodejs/io.js/pull/2045)
|
||||
* [[`4d5089e181`](https://github.com/nodejs/io.js/commit/4d5089e181)] - **test**: do not swallow OpenSSL support error (Rich Trott) [#2042](https://github.com/nodejs/io.js/pull/2042)
|
||||
* [[`06721fe005`](https://github.com/nodejs/io.js/commit/06721fe005)] - **test**: fix test-repl-tab-complete.js (cjihrig) [#2052](https://github.com/nodejs/io.js/pull/2052)
|
||||
* [[`8e9089ac35`](https://github.com/nodejs/io.js/commit/8e9089ac35)] - **test**: check for error on Windows (Rich Trott) [#2035](https://github.com/nodejs/io.js/pull/2035)
|
||||
* [[`776a65ebcd`](https://github.com/nodejs/io.js/commit/776a65ebcd)] - **test**: remove obsolete TODO comments (Rich Trott) [#2033](https://github.com/nodejs/io.js/pull/2033)
|
||||
* [[`bdfeb798ad`](https://github.com/nodejs/io.js/commit/bdfeb798ad)] - **test**: remove obsolete TODO comments (Rich Trott) [#2032](https://github.com/nodejs/io.js/pull/2032)
|
||||
* [[`58e914f9bc`](https://github.com/nodejs/io.js/commit/58e914f9bc)] - **tools**: fix gyp to work on MacOSX without XCode (Shigeki Ohtsu) [iojs/io.js#1325](https://github.com/iojs/io.js/pull/1325)
|
||||
* [[`99cbbc0a13`](https://github.com/nodejs/io.js/commit/99cbbc0a13)] - **tools**: update gyp to 25ed9ac (Ben Noordhuis) [#2074](https://github.com/nodejs/io.js/pull/2074)
|
||||
* [[`e3f9335c40`](https://github.com/nodejs/io.js/commit/e3f9335c40)] - **tools**: re-enable comma-spacing linter rule (Roman Reiss) [#2072](https://github.com/nodejs/io.js/pull/2072)
|
||||
* [[`d91e10b3bd`](https://github.com/nodejs/io.js/commit/d91e10b3bd)] - **tools**: update eslint to 0.24.0 (Roman Reiss) [#2072](https://github.com/nodejs/io.js/pull/2072)
|
||||
* [[`6c61ca5325`](https://github.com/nodejs/io.js/commit/6c61ca5325)] - **url**: fix typo in comment (Rich Trott) [#2071](https://github.com/nodejs/io.js/pull/2071)
|
||||
* [[`1a51f0058c`](https://github.com/nodejs/io.js/commit/1a51f0058c)] - **v8**: cherry-pick JitCodeEvent patch from upstream (Ben Noordhuis) [#2075](https://github.com/nodejs/io.js/pull/2075)
|
||||
|
||||
## 2015-06-23, Version 2.3.1, @rvagg
|
||||
|
||||
### Notable changes
|
||||
@@ -209,8 +327,8 @@ See https://github.com/nodejs/io.js/labels/confirmed-bug for complete and curren
|
||||
### Commits
|
||||
|
||||
* [[`c5a1009903`](https://github.com/nodejs/io.js/commit/c5a1009903)] - **build**: avoid passing empty strings to build flags (Johan Bergström) [#1789](https://github.com/nodejs/io.js/pull/1789)
|
||||
* [[`5d83401086`](https://github.com/nodejs/io.js/commit/5d83401086)] - **doc**: put SEMVER-MINOR on pre-load module fix 2.2.0 (Rod Vagg)
|
||||
* [[`4d6b768e5d`](https://github.com/nodejs/io.js/commit/4d6b768e5d)] - **http**: revert deprecation of client property (Michaël Zasso) [#1852](https://github.com/nodejs/io.js/pull/1852)
|
||||
* [[`5d83401086`](https://github.com/nodejs/io.js/commit/5d83401086)] - **doc**: put SEMVER-MINOR on pre-load module fix 2.2.0 (Rod Vagg)
|
||||
* [[`4d6b768e5d`](https://github.com/nodejs/io.js/commit/4d6b768e5d)] - **http**: revert deprecation of client property (Michaël Zasso) [#1852](https://github.com/nodejs/io.js/pull/1852)
|
||||
|
||||
## 2015-05-31, Version 2.2.0, @rvagg
|
||||
|
||||
|
||||
@@ -185,6 +185,11 @@ docopen: out/doc/api/all.html
|
||||
docclean:
|
||||
-rm -rf out/doc
|
||||
|
||||
run-ci:
|
||||
$(PYTHON) ./configure $(CONFIG_FLAGS)
|
||||
$(MAKE)
|
||||
$(MAKE) test-ci
|
||||
|
||||
RAWVER=$(shell $(PYTHON) tools/getnodeversion.py)
|
||||
VERSION=v$(RAWVER)
|
||||
|
||||
@@ -464,4 +469,4 @@ lint: jslint cpplint
|
||||
dynamiclib test test-all test-addons build-addons website-upload pkg \
|
||||
blog blogclean tar binary release-only bench-http-simple bench-idle \
|
||||
bench-all bench bench-misc bench-array bench-buffer bench-net \
|
||||
bench-http bench-fs bench-tls cctest
|
||||
bench-http bench-fs bench-tls cctest run-ci
|
||||
@@ -119,6 +119,12 @@ To read the documentation:
|
||||
$ man doc/iojs.1
|
||||
```
|
||||
|
||||
To test if io.js was built correctly:
|
||||
|
||||
```
|
||||
$ iojs -e "console.log('Hello from io.js ' + process.version)"
|
||||
```
|
||||
|
||||
### Windows
|
||||
|
||||
Prerequisites:
|
||||
@@ -140,6 +146,12 @@ To run the tests:
|
||||
> vcbuild test
|
||||
```
|
||||
|
||||
To test if io.js was built correctly:
|
||||
|
||||
```
|
||||
$ iojs -e "console.log('Hello from io.js ' + process.version)"
|
||||
```
|
||||
|
||||
### Android / Android based devices, aka. Firefox OS
|
||||
|
||||
Be sure you have downloaded and extracted [Android NDK]
|
||||
@@ -319,10 +331,10 @@ information about the governance of the io.js project, see
|
||||
* **Nikolai Vavilov** <vvnicholas@gmail.com> ([@seishun](https://github.com/seishun))
|
||||
* **Nicu Micleușanu** <micnic90@gmail.com> ([@micnic](https://github.com/micnic))
|
||||
* **Aleksey Smolenchuk** <lxe@lxe.co> ([@lxe](https://github.com/lxe))
|
||||
* **Shigeki Ohtsu** <ohtsu@iij.ad.jp> ([@shigeki](https://github.com/shigeki))
|
||||
* **Shigeki Ohtsu** <ohtsu@iij.ad.jp> ([@shigeki](https://github.com/shigeki)) (Technical Committee)
|
||||
* **Sam Roberts** <vieuxtech@gmail.com> ([@sam-github](https://github.com/sam-github))
|
||||
* **Wyatt Preul** <wpreul@gmail.com> ([@geek](https://github.com/geek))
|
||||
* **Brian White** <mscdex@mscdex.net> ([@mscdex](https://github.com/mscdex))
|
||||
* **Brian White** <mscdex@mscdex.net> ([@mscdex](https://github.com/mscdex)) (Technical Committee)
|
||||
* **Christian Tellnes** <christian@tellnes.no> ([@tellnes](https://github.com/tellnes))
|
||||
* **Robert Kowalski** <rok@kowalski.gd> ([@robertkowalski](https://github.com/robertkowalski))
|
||||
* **Julian Duque** <julianduquej@gmail.com> ([@julianduque](https://github.com/julianduque))
|
||||
|
||||
+6
-2
@@ -5,8 +5,12 @@ io.js APIs.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Most of the http benchmarks require [`wrk`][wrk] and [`ab`][ab] being installed.
|
||||
These are most often available through your preferred package manager.
|
||||
Most of the http benchmarks require [`wrk`][wrk] and [`ab`][ab] (ApacheBench) being installed.
|
||||
These may be available through your preferred package manager.
|
||||
|
||||
If they are not available:
|
||||
- `wrk` may easily be built [from source][wrk] via `make`.
|
||||
- `ab` is sometimes bundled in a package called `apache2-utils`.
|
||||
|
||||
[wrk]: https://github.com/wg/wrk
|
||||
[ab]: http://httpd.apache.org/docs/2.2/programs/ab.html
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
'use strict';
|
||||
|
||||
const common = require('../common.js');
|
||||
|
||||
const bench = common.createBenchmark(main, {
|
||||
arg: [true, false],
|
||||
len: [0, 1, 64, 1024],
|
||||
n: [1e7]
|
||||
});
|
||||
|
||||
function main(conf) {
|
||||
const arg = conf.arg;
|
||||
const len = conf.len | 0;
|
||||
const n = conf.n | 0;
|
||||
const buf = Buffer(len).fill(42);
|
||||
|
||||
bench.start();
|
||||
if (arg) {
|
||||
for (var i = 0; i < n; i += 1)
|
||||
buf.toString('utf8');
|
||||
} else {
|
||||
for (var i = 0; i < n; i += 1)
|
||||
buf.toString();
|
||||
}
|
||||
bench.end(n);
|
||||
}
|
||||
+23
-10
@@ -8,7 +8,8 @@ var options = {
|
||||
port: 22344,
|
||||
path: '/',
|
||||
servers: 1,
|
||||
clients: 1
|
||||
clients: 1,
|
||||
clientConcurrentRequests: 2
|
||||
};
|
||||
|
||||
for (var i = 2; i < process.argv.length; ++i) {
|
||||
@@ -44,13 +45,25 @@ function patch(fun) {
|
||||
function startMaster() {
|
||||
if (!cluster.isMaster) return startServer();
|
||||
|
||||
for (var i = ~~options.servers; i > 0; --i) cluster.fork();
|
||||
var forkCount = 0;
|
||||
|
||||
for (var i = ~~options.clients; i > 0; --i) {
|
||||
var cp = spawn(process.execPath, [__filename, 'mode=client']);
|
||||
cp.stdout.pipe(process.stdout);
|
||||
cp.stderr.pipe(process.stderr);
|
||||
}
|
||||
cluster.on('online', function () {
|
||||
forkCount = forkCount + 1;
|
||||
if (forkCount === ~~options.servers) {
|
||||
var args = [
|
||||
__filename,
|
||||
'mode=client',
|
||||
'clientConcurrentRequests=' + options.clientConcurrentRequests
|
||||
];
|
||||
for (var i = ~~options.clients; i > 0; --i) {
|
||||
var cp = spawn(process.execPath, args);
|
||||
cp.stdout.pipe(process.stdout);
|
||||
cp.stderr.pipe(process.stderr);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
for (var i = ~~options.servers; i > 0; --i) cluster.fork();
|
||||
}
|
||||
|
||||
function startServer() {
|
||||
@@ -73,9 +86,9 @@ function startServer() {
|
||||
|
||||
function startClient() {
|
||||
// send off a bunch of concurrent requests
|
||||
// TODO make configurable
|
||||
sendRequest();
|
||||
sendRequest();
|
||||
for (var i = ~~options.clientConcurrentRequests; i > 0; --i) {
|
||||
sendRequest();
|
||||
}
|
||||
|
||||
function sendRequest() {
|
||||
var req = http.request(options, onConnection);
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
var common = require('../common.js');
|
||||
var path = require('path');
|
||||
|
||||
var bench = common.createBenchmark(main, {
|
||||
type: ['win32', 'posix'],
|
||||
n: [1e7],
|
||||
});
|
||||
|
||||
function main(conf) {
|
||||
var n = +conf.n;
|
||||
var p = path[conf.type];
|
||||
var test = conf.type === 'win32' ? {
|
||||
root: 'C:\\',
|
||||
dir: 'C:\\path\\dir',
|
||||
base: 'index.html',
|
||||
ext: '.html',
|
||||
name: 'index'
|
||||
} : {
|
||||
root : '/',
|
||||
dir : '/home/user/dir',
|
||||
base : 'index.html',
|
||||
ext : '.html',
|
||||
name : 'index'
|
||||
};
|
||||
|
||||
bench.start();
|
||||
for (var i = 0; i < n; i++) {
|
||||
p.format(test);
|
||||
}
|
||||
bench.end(n);
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
var common = require('../common.js');
|
||||
var path = require('path');
|
||||
|
||||
var bench = common.createBenchmark(main, {
|
||||
type: ['win32', 'posix'],
|
||||
n: [1e6],
|
||||
});
|
||||
|
||||
function main(conf) {
|
||||
var n = +conf.n;
|
||||
var p = path[conf.type];
|
||||
var tests = conf.type === 'win32'
|
||||
? ['//server', 'C:\\baz\\..', 'bar\\baz', '.']
|
||||
: ['/foo/bar', '/baz/..', 'bar/baz', '.'];
|
||||
|
||||
bench.start();
|
||||
for (var i = 0; i < n; i++) {
|
||||
runTests(p, tests);
|
||||
}
|
||||
bench.end(n);
|
||||
}
|
||||
|
||||
function runTests(p, tests) {
|
||||
for (var i = 0; i < tests.length; i++) {
|
||||
p.isAbsolute(tests[i]);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
var common = require('../common.js');
|
||||
var path = require('path');
|
||||
|
||||
var bench = common.createBenchmark(main, {
|
||||
type: ['win32', 'posix'],
|
||||
n: [1e6],
|
||||
});
|
||||
|
||||
function main(conf) {
|
||||
var n = +conf.n;
|
||||
var p = path[conf.type];
|
||||
|
||||
bench.start();
|
||||
for (var i = 0; i < n; i++) {
|
||||
p.join('/foo', 'bar', '', 'baz/asdf', 'quux', '..');
|
||||
}
|
||||
bench.end(n);
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
var common = require('../common.js');
|
||||
var path = require('path');
|
||||
|
||||
var bench = common.createBenchmark(main, {
|
||||
type: ['win32', 'posix'],
|
||||
n: [1e6],
|
||||
});
|
||||
|
||||
function main(conf) {
|
||||
var n = +conf.n;
|
||||
var p = path[conf.type];
|
||||
|
||||
bench.start();
|
||||
for (var i = 0; i < n; i++) {
|
||||
p.normalize('/foo/bar//baz/asdf/quux/..');
|
||||
}
|
||||
bench.end(n);
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
var common = require('../common.js');
|
||||
var path = require('path');
|
||||
|
||||
var bench = common.createBenchmark(main, {
|
||||
type: ['win32', 'posix'],
|
||||
n: [1e5],
|
||||
});
|
||||
|
||||
function main(conf) {
|
||||
var n = +conf.n;
|
||||
var runTest = conf.type === 'win32' ? runWin32Test : runPosixTest;
|
||||
|
||||
bench.start();
|
||||
for (var i = 0; i < n; i++) {
|
||||
runTest();
|
||||
}
|
||||
bench.end(n);
|
||||
}
|
||||
|
||||
function runWin32Test() {
|
||||
path.win32.relative('C:\\orandea\\test\\aaa', 'C:\\orandea\\impl\\bbb');
|
||||
}
|
||||
|
||||
function runPosixTest() {
|
||||
path.posix.relative('/data/orandea/test/aaa', '/data/orandea/impl/bbb');
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
var common = require('../common.js');
|
||||
var path = require('path');
|
||||
|
||||
var bench = common.createBenchmark(main, {
|
||||
type: ['win32', 'posix'],
|
||||
n: [1e6],
|
||||
});
|
||||
|
||||
function main(conf) {
|
||||
var n = +conf.n;
|
||||
var p = path[conf.type];
|
||||
|
||||
bench.start();
|
||||
for (var i = 0; i < n; i++) {
|
||||
p.resolve('foo/bar', '/tmp/file/', '..', 'a/../subfile');
|
||||
}
|
||||
bench.end(n);
|
||||
}
|
||||
@@ -230,7 +230,7 @@ parser.add_option('--with-mips-float-abi',
|
||||
parser.add_option('--with-dtrace',
|
||||
action='store_true',
|
||||
dest='with_dtrace',
|
||||
help='build with DTrace (default is true on sunos)')
|
||||
help='build with DTrace (default is true on sunos and darwin)')
|
||||
|
||||
parser.add_option('--with-lttng',
|
||||
action='store_true',
|
||||
|
||||
Vendored
+3
@@ -288,3 +288,6 @@ Cedric Nelson <cedric.nelson@gmail.com>
|
||||
Kat Marchán <kzm@sykosomatic.org>
|
||||
Andrew <talktome@aboutandrew.co.uk>
|
||||
Eduardo Pinho <enet4mikeenet@gmail.com>
|
||||
Rachel Hutchison <rhutchix@intel.com>
|
||||
Ryan Temple <ryantemple145@gmail.com>
|
||||
Eugene Sharygin <eush77@gmail.com>
|
||||
Vendored
+179
-5
@@ -1,3 +1,177 @@
|
||||
### v2.12.1 (2015-06-25):
|
||||
|
||||
#### HEY WHERE DID EVERYBODY GO
|
||||
|
||||
I keep [hearing some commotion](https://github.com/npm/npm/releases/tag/v3.0.0).
|
||||
Is there something going on? Like, a party or something? Anyway, here's a small
|
||||
release with at least two significant bug fixes, at least one of which some of
|
||||
you have been waiting for for quite a while.
|
||||
|
||||
#### REMEMBER WHEN I SAID "REMEMBER WHEN I SAID THAT THING ABOUT PERMISSIONS?"?
|
||||
|
||||
`npm@2.12.0` has a change that introduces a fix for a permissions problem
|
||||
whereby the `_locks` directory in the cache directory can up being owned by
|
||||
root. The fix in 2.12.0 takes care of that problem, but introduces a new
|
||||
problem for Windows users where npm tries to call `process.getuid()`, which
|
||||
doesn't exist on Windows. It was easy enough to fix (but more or less
|
||||
impossible to test, thanks to all the external dependencies involved with
|
||||
permissions and platforms and whatnot), but as a result, Windows users might
|
||||
want to skip `npm@2.12.0` and go straight to `npm@2.12.1`. Sorry about that!
|
||||
|
||||
* [`7e5da23`](https://github.com/npm/npm/commit/7e5da238ee869201fdb9027c27b79b0f76b440a8)
|
||||
When using the new, "fixed" cache directory creator, be extra-careful to not
|
||||
call `process.getuid()` on platforms that lack it.
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
|
||||
#### WHEW! ALL DONE FIXING GIT FOREVER!
|
||||
|
||||
New npm CLI team hero [@zkat](https://github.com/zkat) has finally (FINALLY)
|
||||
fixed the regression somebody (hi!) introduced a couple months ago whereby git
|
||||
URLs of the format `git+ssh://user@githost.com:org/repo.git` suddenly stopped
|
||||
working, and also started being saved (and cached) incorrectly. I am 100% sure
|
||||
there are absolutely no more bugs in the git caching code at all ever. Mm hm.
|
||||
Yep. Pretty sure. Maybe. Hmm... I hope.
|
||||
|
||||
*Sighs audibly.*
|
||||
|
||||
[Let us know](http://github.com/npm/npm/issues/new) if we broke something else
|
||||
with this fix.
|
||||
|
||||
* [`94ca4a7`](https://github.com/npm/npm/commit/94ca4a711619ba8e40ce3d20bc42b13cdb7611b7)
|
||||
[#8031](https://github.com/npm/npm/issues/8031) Even though
|
||||
`git+ssh://user@githost.com:org/repo.git` isn't a URL, treat it like one for
|
||||
the purposes of npm. ([@zkat](https://github.com/zkat))
|
||||
* [`e7f56e5`](https://github.com/npm/npm/commit/e7f56e5a97fcf1c52d5c5bee71303b0126129815)
|
||||
[#8031](https://github.com/npm/npm/issues/8031) `normalize-git-url@2.0.0`:
|
||||
Handle git URLs (and URL-like remote refs) in a manner consistent with npm's
|
||||
docs. ([@zkat](https://github.com/zkat))
|
||||
|
||||
#### YEP, THERE ARE STILL DEPENDENCY UPGRADES
|
||||
|
||||
* [`679bf47`](https://github.com/npm/npm/commit/679bf4745ac2cfbb01c9ce273e189807fd04fa33)
|
||||
[#40](http://github.com/npm/read-installed/issues/40) `read-installed@4.0.1`:
|
||||
Handle prerelease versions in top-level dependencies not in `package.json`
|
||||
without marking those packages as invalid.
|
||||
([@benjamn](https://github.com/benjamn))
|
||||
* [`3a67410`](https://github.com/npm/npm/commit/3a6741068c9119174c920496778aeee870ebdac0)
|
||||
`tap@1.3.1` ([@isaacs](https://github.com/isaacs))
|
||||
* [`151904a`](https://github.com/npm/npm/commit/151904af39dc24567f8c98529a2a64a4dbcc960a)
|
||||
`nopt@3.0.3` ([@isaacs](https://github.com/isaacs))
|
||||
|
||||
### v2.12.0 (2015-06-18):
|
||||
|
||||
#### REMEMBER WHEN I SAID THAT THING ABOUT PERMISSIONS?
|
||||
|
||||
About [a million people](https://github.com/npm/npm/issues?utf8=%E2%9C%93&q=is%3Aissue+EACCES+_locks)
|
||||
have filed issues related to having a tough time using npm after they've run
|
||||
npm once or twice with sudo. "Don't worry about it!" I said. "We've fixed all
|
||||
those permissions problems ages ago! Use this one weird trick and you'll never
|
||||
have to deal with this again!"
|
||||
|
||||
Well, uh, if you run npm with root the first time you run npm on a machine, it
|
||||
turns out that the directory npm uses to store lockfiles ends up being owned by
|
||||
the wrong user (almost always root), and that can, well, it can cause problems
|
||||
sometimes. By which I mean every time you run npm without being root it'll barf
|
||||
with `EACCES` errors. Whoops!
|
||||
|
||||
This is an obnoxious regression, and to prevent it from recurring, we've made
|
||||
it so that the cache, cached git remotes, and the lockfile directories are all
|
||||
created and maintained using the same utilty module, which not only creates the
|
||||
relevant paths with the correct permissions, but will fix the permissions on
|
||||
those directories (if it can) when it notices that they're broken. An `npm
|
||||
install` run as root ought to be sufficient to fix things up (and if that
|
||||
doesn't work, first tell us about it, and then run `sudo chown -R $(whoami)
|
||||
$HOME/.npm`)
|
||||
|
||||
Also, I apologize for inadvertently gaslighting any of you by claiming this bug
|
||||
wasn't actually a bug. I do think we've got this permanently dealt with now,
|
||||
but I'll be paying extra-close attention to permissions issues related to the
|
||||
cache for a while.
|
||||
|
||||
* [`85d1a53`](https://github.com/npm/npm/commit/85d1a53d7b5e0fc04823187e522ae3711ede61fa)
|
||||
Set permissions on lock directory to the owner of the process.
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
|
||||
#### I WENT TO NODECONF AND ALL I GOT WAS THIS LOUSY SPDX T-SHIRT
|
||||
|
||||
That's not literally true. We spent very little time discussing SPDX,
|
||||
[@kemitchell](https://github.com/kemitchell) is a champ, and I had a lot of fun
|
||||
playing drum & bass to a mostly empty Boogie Barn and only ended up with one
|
||||
moderately severe cold for my pains. Another winner of a NodeConf! (I would
|
||||
probably wear a SPDX T-shirt if somebody gave me one, though.)
|
||||
|
||||
A bunch of us did have a spirited discussion of the basics of open-source
|
||||
intellectual property, and the convergence of me,
|
||||
[@kemitchell](https://github.com/kemitchell), and
|
||||
[@jandrieu](https://github.com/jandrieu) in one place allowed us to hammmer out
|
||||
a small but significant issue that had been bedeviling early adopters of the
|
||||
new SPDX expression syntax in `package.json` license fields: how to deal with
|
||||
packages that are left without a license on purpose.
|
||||
|
||||
Refer to [the docs](https://github.com/npm/npm/blob/16a3dd545b10f8a2464e2037506ce39124739b41/doc/files/package.json.md#license)
|
||||
for the specifics, but the short version is that instead of using
|
||||
`LicenseRef-LICENSE` for proprietary licenses, you can now use either
|
||||
`UNLICENSED` if you want to make it clear that you don't _want_ your software
|
||||
to be licensed (and want npm to stop warning you about this), or `SEE LICENSE
|
||||
IN <filename>` if there's a license with custom text you want to use. At some
|
||||
point in the near term, we'll be updating npm to verify that the mentioned
|
||||
file actually exists, but for now you're all on the honor system.
|
||||
|
||||
* [`4827fc7`](https://github.com/npm/npm/commit/4827fc784117c17f35dd9b51b21d1eff6094f661)
|
||||
[#8557](https://github.com/npm/npm/issues/8557)
|
||||
`normalize-package-data@2.2.1`: Allow `UNLICENSED` and `SEE LICENSE IN
|
||||
<filename>` in "license" field of `package.json`.
|
||||
([@kemitchell](https://github.com/kemitchell))
|
||||
* [`16a3dd5`](https://github.com/npm/npm/commit/16a3dd545b10f8a2464e2037506ce39124739b41)
|
||||
[#8557](https://github.com/npm/npm/issues/8557) Document the new accepted
|
||||
values for the "license" field.
|
||||
([@kemitchell](https://github.com/kemitchell))
|
||||
* [`8155311`](https://github.com/npm/npm/commit/81553119350deaf199e79e38e35b52a5c8ad206c)
|
||||
[#8557](https://github.com/npm/npm/issues/8557) `init-package-json@1.7.0`:
|
||||
Support new "license" field values at init time.
|
||||
([@kemitchell](https://github.com/kemitchell))
|
||||
|
||||
#### SMALLISH BUG FIXES
|
||||
|
||||
* [`9d8cac9`](https://github.com/npm/npm/commit/9d8cac94a258db648a2b1069b1c8c6529c79d013)
|
||||
[#8548](https://github.com/npm/npm/issues/8548) Remove extraneous newline
|
||||
from `npm view` output, making it easier to use in shell scripts.
|
||||
([@eush77](https://github.com/eush77))
|
||||
* [`765fd4b`](https://github.com/npm/npm/commit/765fd4bfca8ea3e2a4a399765b17eec40a3d893d)
|
||||
[#8521](https://github.com/npm/npm/issues/8521) When checking for outdated
|
||||
packages, or updating packages, raise an error when the registry is
|
||||
unreachable instead of silently "succeeding".
|
||||
([@ryantemple](https://github.com/ryantemple))
|
||||
|
||||
#### SMALLERISH DOCUMENTATION TWEAKS
|
||||
|
||||
* [`5018335`](https://github.com/npm/npm/commit/5018335ce1754a9f771954ecbc1a93acde9b8c0a)
|
||||
[#8365](https://github.com/npm/npm/issues/8365) Add details about which git
|
||||
environment variables are whitelisted by npm.
|
||||
([@nmalaguti](https://github.com/nmalaguti))
|
||||
* [`bed9edd`](https://github.com/npm/npm/commit/bed9edddfdcc6d22a80feab33b53e4ef9172ec72)
|
||||
[#8554](https://github.com/npm/npm/issues/8554) Fix typo in version docs.
|
||||
([@rainyday](https://github.com/rainyday))
|
||||
|
||||
#### WELL, I GUESS THERE ARE MORE DEPENDENCY UPGRADES
|
||||
|
||||
* [`7ce2f06`](https://github.com/npm/npm/commit/7ce2f06f6f34d469b1d2e248084d4f3fef10c05e)
|
||||
`request@2.58.0`: Refactor tunneling logic, and use `extend` instead of
|
||||
abusing `util._extend`. ([@simov](https://github.com/simov))
|
||||
* [`e6c6195`](https://github.com/npm/npm/commit/e6c61954aad42e20eec49745615c7640b2026a6c)
|
||||
`nock@2.6.0`: Refined interception behavior.
|
||||
([@pgte](https://github.com/pgte))
|
||||
* [`9583cc3`](https://github.com/npm/npm/commit/9583cc3cb192c2fced006927cfba7cd37b588605)
|
||||
`fstream-npm@1.0.3`: Ensure that `main` entry in `package.json` is always
|
||||
included in the bundled package tarball.
|
||||
([@coderhaoxin](https://github.com/coderhaoxin))
|
||||
* [`df89493`](https://github.com/npm/npm/commit/df894930f2716adac28740b29b2e863170919990)
|
||||
`fstream@1.0.7` ([@isaacs](https://github.com/isaacs))
|
||||
* [`9744049`](https://github.com/npm/npm/commit/974404934758124aa8ae5b54f7d5257c3bd6b588)
|
||||
`dezalgo@1.0.3`: `dezalgo` should be usable in the browser, and can be now
|
||||
that `asap` has been upgraded to be browserifiable.
|
||||
([@mvayngrib](https://github.com/mvayngrib))
|
||||
|
||||
### v2.11.3 (2015-06-11):
|
||||
|
||||
This was a very quiet week. This release was done by
|
||||
@@ -15,19 +189,19 @@ NodeConf Adventure!
|
||||
|
||||
* [`9f439da`](https://github.com/npm/npm/commit/9f439da)
|
||||
`spdx@0.4.1`: License range updates
|
||||
(@kemitchell)[https://github.com/kemitchell]
|
||||
([@kemitchell](https://github.com/kemitchell))
|
||||
* [`2dd055b`](https://github.com/npm/npm/commit/2dd055b)
|
||||
`normalize-package-data@2.2.1`: Fixes a crashing bug when the package.json
|
||||
`scripts` property is not an object.
|
||||
(@iarna)[https://github.com/iarna]
|
||||
([@iarna](https://github.com/iarna))
|
||||
* [`e02e85d`](https://github.com/npm/npm/commit/e02e85d)
|
||||
`osenv@0.1.2`: Switches to using the `os-tmpdir` module instead of
|
||||
`os.tmpdir()` for greate consistency in behavior between node versions.
|
||||
(@iarna)[https://github.com/iarna]
|
||||
([@iarna](https://github.com/iarna))
|
||||
* [`a6f0265`](https://github.com/npm/npm/commit/a6f0265)
|
||||
`ini@1.3.4` (@isaacs)[https://github.com/isaacs]
|
||||
`ini@1.3.4` ([@isaacs](https://github.com/isaacs))
|
||||
* [`7395977`](https://github.com/npm/npm/commit/7395977)
|
||||
`rimraf@2.4.0` (@isaacs)[https://github.com/isaacs]
|
||||
`rimraf@2.4.0` ([@isaacs](https://github.com/isaacs))
|
||||
|
||||
### v2.11.2 (2015-06-04):
|
||||
|
||||
|
||||
Vendored
+16
-3
@@ -166,11 +166,24 @@ after packing it up into a tarball (b).
|
||||
`git+https`. If no `<commit-ish>` is specified, then `master` is
|
||||
used.
|
||||
|
||||
The following git environment variables are recognized by npm and will be added
|
||||
to the environment when running git:
|
||||
|
||||
* `GIT_ASKPASS`
|
||||
* `GIT_PROXY_COMMAND`
|
||||
* `GIT_SSH`
|
||||
* `GIT_SSH_COMMAND`
|
||||
* `GIT_SSL_CAINFO`
|
||||
* `GIT_SSL_NO_VERIFY`
|
||||
|
||||
See the git man page for details.
|
||||
|
||||
Examples:
|
||||
|
||||
git+ssh://git@github.com:npm/npm.git#v1.0.27
|
||||
git+https://isaacs@github.com/npm/npm.git
|
||||
git://github.com/npm/npm.git#v1.0.27
|
||||
npm install git+ssh://git@github.com:npm/npm.git#v1.0.27
|
||||
npm install git+https://isaacs@github.com/npm/npm.git
|
||||
npm install git://github.com/npm/npm.git#v1.0.27
|
||||
GIT_SSH_COMMAND='ssh -i ~/.ssh/custom_ident' npm install git+ssh://git@github.com:npm/npm.git
|
||||
|
||||
* `npm install <githubname>/<githubrepo>[#<commit-ish>]`:
|
||||
* `npm install github:<githubname>/<githubrepo>[#<commit-ish>]`:
|
||||
|
||||
Vendored
+7
-7
@@ -11,8 +11,8 @@ Run this in a package directory to bump the version and write the new
|
||||
data back to `package.json` and, if present, `npm-shrinkwrap.json`.
|
||||
|
||||
The `newversion` argument should be a valid semver string, *or* a
|
||||
valid second argument to semver.inc (one of "patch", "minor", "major",
|
||||
"prepatch", "preminor", "premajor", "prerelease"). In the second case,
|
||||
valid second argument to semver.inc (one of `patch`, `minor`, `major`,
|
||||
`prepatch`, `preminor`, `premajor`, `prerelease`). In the second case,
|
||||
the existing version will be incremented by 1 in the specified field.
|
||||
|
||||
If run in a git repo, it will also create a version commit and tag, and fail if
|
||||
@@ -40,11 +40,11 @@ in your git config for this to work properly. For example:
|
||||
|
||||
Enter passphrase:
|
||||
|
||||
If "preversion", "version", "postversion" in the "scripts" property of
|
||||
the package.json, it will execute by running `npm version`. preversion
|
||||
and version ware executed before bump the package version, postversion
|
||||
was executed after bump the package version. For example to run `npm version`
|
||||
after passed all test:
|
||||
If `preversion`, `version`, or `postversion` are in the `scripts` property of
|
||||
the package.json, they will be executed as part of running `npm version`.
|
||||
`preversion` and `version` are executed before bumping the package version, and
|
||||
`postversion` is executed afterwards. For example, to run `npm version` only if
|
||||
all tests pass:
|
||||
|
||||
"scripts": { "preversion": "npm test" }
|
||||
|
||||
|
||||
Vendored
+9
-2
@@ -115,9 +115,9 @@ expression syntax version 2.0 string](http://npmjs.com/package/spdx), like this:
|
||||
If you are using a license that hasn't been assigned an SPDX identifier, or if
|
||||
you are using a custom license, use the following valid SPDX expression:
|
||||
|
||||
{ "license" : "LicenseRef-LICENSE" }
|
||||
{ "license" : "SEE LICENSE IN <filename>" }
|
||||
|
||||
Then include a LICENSE file at the top level of the package.
|
||||
Then include a file named `<filename>` at the top level of the package.
|
||||
|
||||
Some old packages used license objects or a "licenses" property containing an
|
||||
array of license objects:
|
||||
@@ -147,6 +147,13 @@ Those styles are now deprecated. Instead, use SPDX expressions, like this:
|
||||
|
||||
{ "license": "(MIT OR Apache-2.0)" }
|
||||
|
||||
Finally, if you do not wish to grant others the right to use a private or
|
||||
unpublished package under any terms:
|
||||
|
||||
{ "license": "UNLICENSED"}
|
||||
|
||||
Consider also setting `"private": true` to prevent accidental publication.
|
||||
|
||||
## people fields: author, contributors
|
||||
|
||||
The "author" is one person. "contributors" is an array of people. A "person"
|
||||
|
||||
Vendored
+2
-2
@@ -140,7 +140,7 @@ specific purpose, or lack of malice in any given npm package.</p>
|
||||
<p>If you have a complaint about a package in the public npm registry,
|
||||
and cannot <a href="https://docs.npmjs.com/misc/disputes">resolve it with the package
|
||||
owner</a>, please email
|
||||
<a href="mailto:support@npmjs.com">support@npmjs.com</a> and explain the situation.</p>
|
||||
<a href="mailto:support@npmjs.com">support@npmjs.com</a> and explain the situation.</p>
|
||||
<p>Any data published to The npm Registry (including user account
|
||||
information) may be removed or modified at the sole discretion of the
|
||||
npm server administrators.</p>
|
||||
@@ -183,5 +183,5 @@ will no doubt tell you to put the output in a gist or email.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer"><a href="../doc/README.html">README</a> — npm@2.11.3</p>
|
||||
<p id="footer"><a href="../doc/README.html">README</a> — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -28,5 +28,5 @@ to the <code>npm.bin</code> property.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-bin — npm@2.11.3</p>
|
||||
<p id="footer">npm-bin — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -33,5 +33,5 @@ friendly for programmatic use.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-bugs — npm@2.11.3</p>
|
||||
<p id="footer">npm-bugs — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -42,5 +42,5 @@ incrementation.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-cache — npm@2.11.3</p>
|
||||
<p id="footer">npm-cache — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -36,5 +36,5 @@ usage, or <code>man 3 npm-<command></code> for programmatic usage.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-commands — npm@2.11.3</p>
|
||||
<p id="footer">npm-commands — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -57,5 +57,5 @@ functions instead.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-config — npm@2.11.3</p>
|
||||
<p id="footer">npm-config — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -47,5 +47,5 @@ a deprecation warning to all who attempt to install it.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-deprecate — npm@2.11.3</p>
|
||||
<p id="footer">npm-deprecate — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -33,5 +33,5 @@ friendly for programmatic use.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-docs — npm@2.11.3</p>
|
||||
<p id="footer">npm-docs — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -36,5 +36,5 @@ and how this is used.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-edit — npm@2.11.3</p>
|
||||
<p id="footer">npm-edit — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -31,5 +31,5 @@ sure to use <code>npm rebuild <pkg></code> if you make any changes.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-explore — npm@2.11.3</p>
|
||||
<p id="footer">npm-explore — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -44,5 +44,5 @@ Name of the file that matched</li>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-help-search — npm@2.11.3</p>
|
||||
<p id="footer">npm-help-search — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -39,5 +39,5 @@ then go ahead and use this programmatically.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-init — npm@2.11.3</p>
|
||||
<p id="footer">npm-init — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -32,5 +32,5 @@ installed or when an error has been encountered.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-install — npm@2.11.3</p>
|
||||
<p id="footer">npm-install — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -42,5 +42,5 @@ the package in the current working directory</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-link — npm@2.11.3</p>
|
||||
<p id="footer">npm-link — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -37,5 +37,5 @@ config object.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-load — npm@2.11.3</p>
|
||||
<p id="footer">npm-load — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -63,5 +63,5 @@ dependency will only be output once.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-ls — npm@2.11.3</p>
|
||||
<p id="footer">npm-ls — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -28,5 +28,5 @@ currently outdated.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-outdated — npm@2.11.3</p>
|
||||
<p id="footer">npm-outdated — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -47,5 +47,5 @@ that is not implemented at this time.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-owner — npm@2.11.3</p>
|
||||
<p id="footer">npm-owner — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -33,5 +33,5 @@ overwritten the second time.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-pack — npm@2.11.3</p>
|
||||
<p id="footer">npm-pack — npm@2.12.1</p>
|
||||
|
||||
+9
-22
@@ -1,35 +1,22 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<title>npm-submodule</title>
|
||||
<title>npm-ping</title>
|
||||
<meta http-equiv="content-type" value="text/html;utf-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../static/style.css">
|
||||
<link rel="canonical" href="https://www.npmjs.org/doc/api/npm-submodule.html">
|
||||
<link rel="canonical" href="https://www.npmjs.org/doc/api/npm-ping.html">
|
||||
<script async=true src="../../static/toc.js"></script>
|
||||
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
|
||||
<h1><a href="../api/npm-submodule.html">npm-submodule</a></h1> <p>Add a package as a git submodule</p>
|
||||
<h1><a href="../api/npm-ping.html">npm-ping</a></h1> <p>Ping npm registry</p>
|
||||
<h2 id="synopsis">SYNOPSIS</h2>
|
||||
<pre><code>npm.commands.submodule(packages, callback)
|
||||
<pre><code>npm.registry.ping(registry, options, function (er, pong))
|
||||
</code></pre><h2 id="description">DESCRIPTION</h2>
|
||||
<p>For each package specified, npm will check if it has a git repository url
|
||||
in its package.json description then add it as a git submodule at
|
||||
<code>node_modules/<pkg name></code>.</p>
|
||||
<p>This is a convenience only. From then on, it's up to you to manage
|
||||
updates by using the appropriate git commands. npm will stubbornly
|
||||
refuse to update, modify, or remove anything with a <code>.git</code> subfolder
|
||||
in it.</p>
|
||||
<p>This command also does not install missing dependencies, if the package
|
||||
does not include them in its git repository. If <code>npm ls</code> reports that
|
||||
things are missing, you can either install, link, or submodule them yourself,
|
||||
or you can do <code>npm explore <pkgname> -- npm install</code> to install the
|
||||
dependencies into the submodule folder.</p>
|
||||
<h2 id="see-also">SEE ALSO</h2>
|
||||
<ul>
|
||||
<li>npm help json</li>
|
||||
<li>git help submodule</li>
|
||||
</ul>
|
||||
<p>Attempts to connect to the given registry, returning a <code>pong</code>
|
||||
object with various metadata if it succeeds.</p>
|
||||
<p>This function is primarily useful for debugging connection issues
|
||||
to npm registries.</p>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -42,4 +29,4 @@ dependencies into the submodule folder.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-submodule — npm@1.4.28</p>
|
||||
<p id="footer">npm-ping — npm@2.13.0</p>
|
||||
+1
-1
@@ -29,5 +29,5 @@
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-prefix — npm@2.11.3</p>
|
||||
<p id="footer">npm-prefix — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -30,5 +30,5 @@ package's dependencies list.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-prune — npm@2.11.3</p>
|
||||
<p id="footer">npm-prune — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -46,5 +46,5 @@ the registry. Overwrites when the "force" environment variable is set
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-publish — npm@2.11.3</p>
|
||||
<p id="footer">npm-publish — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -30,5 +30,5 @@ the new binary. If no 'packages' parameter is specify, every package wil
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-rebuild — npm@2.11.3</p>
|
||||
<p id="footer">npm-rebuild — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -33,5 +33,5 @@ friendly for programmatic use.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-repo — npm@2.11.3</p>
|
||||
<p id="footer">npm-repo — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -52,5 +52,5 @@ behavior will be accompanied by an increase in major version number</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-restart — npm@2.11.3</p>
|
||||
<p id="footer">npm-restart — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -29,5 +29,5 @@
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-root — npm@2.11.3</p>
|
||||
<p id="footer">npm-root — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -41,5 +41,5 @@ assumed to be the command to run. All other elements are ignored.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-run-script — npm@2.11.3</p>
|
||||
<p id="footer">npm-run-script — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -53,5 +53,5 @@ like).</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-search — npm@2.11.3</p>
|
||||
<p id="footer">npm-search — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -33,5 +33,5 @@ been saved.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-shrinkwrap — npm@2.11.3</p>
|
||||
<p id="footer">npm-shrinkwrap — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -28,5 +28,5 @@
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-start — npm@2.11.3</p>
|
||||
<p id="footer">npm-start — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -28,5 +28,5 @@ in the <code>packages</code> parameter.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-stop — npm@2.11.3</p>
|
||||
<p id="footer">npm-stop — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -36,5 +36,5 @@ used. For more information about how to set this config, check
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-tag — npm@2.11.3</p>
|
||||
<p id="footer">npm-tag — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -30,5 +30,5 @@ in the <code>packages</code> parameter.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-test — npm@2.11.3</p>
|
||||
<p id="footer">npm-test — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -30,5 +30,5 @@ uninstalled or when an error has been encountered.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-uninstall — npm@2.11.3</p>
|
||||
<p id="footer">npm-uninstall — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -33,5 +33,5 @@ the root package entry is removed from the registry entirely.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-unpublish — npm@2.11.3</p>
|
||||
<p id="footer">npm-unpublish — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -33,5 +33,5 @@ parameter will be called when done or when an error occurs.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-update — npm@2.11.3</p>
|
||||
<p id="footer">npm-update — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -32,5 +32,5 @@ not have exactly one element. The only element should be a version number.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-version — npm@2.11.3</p>
|
||||
<p id="footer">npm-version — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -81,5 +81,5 @@ the field name.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-view — npm@2.11.3</p>
|
||||
<p id="footer">npm-view — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -29,5 +29,5 @@
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-whoami — npm@2.11.3</p>
|
||||
<p id="footer">npm-whoami — npm@2.12.1</p>
|
||||
|
||||
Vendored
+2
-2
@@ -23,7 +23,7 @@ npm.load([configObject, ]function (er, npm) {
|
||||
npm.commands.install(["package"], cb)
|
||||
})
|
||||
</code></pre><h2 id="version">VERSION</h2>
|
||||
<p>2.11.3</p>
|
||||
<p>2.12.1</p>
|
||||
<h2 id="description">DESCRIPTION</h2>
|
||||
<p>This is the API documentation for npm.
|
||||
To find documentation of the command line
|
||||
@@ -109,5 +109,5 @@ method names. Use the <code>npm.deref</code> method to find the real name.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm — npm@2.11.3</p>
|
||||
<p id="footer">npm — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -75,5 +75,5 @@ with an HTTP 402 status code (logically enough), unless you use
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-access — npm@2.11.3</p>
|
||||
<p id="footer">npm-access — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -68,5 +68,5 @@ precedence over any global configuration.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-adduser — npm@2.11.3</p>
|
||||
<p id="footer">npm-adduser — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -35,5 +35,5 @@
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-bin — npm@2.11.3</p>
|
||||
<p id="footer">npm-bin — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -54,5 +54,5 @@ a <code>package.json</code> in the current folder and use the <code>name</code>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-bugs — npm@2.11.3</p>
|
||||
<p id="footer">npm-bugs — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -40,5 +40,5 @@ directly, run:</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-build — npm@2.11.3</p>
|
||||
<p id="footer">npm-build — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -31,5 +31,5 @@ install packages into the local space.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-bundle — npm@2.11.3</p>
|
||||
<p id="footer">npm-bundle — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -81,5 +81,5 @@ they do not make an HTTP request to the registry.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-cache — npm@2.11.3</p>
|
||||
<p id="footer">npm-cache — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -42,5 +42,5 @@ completions based on the arguments.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-completion — npm@2.11.3</p>
|
||||
<p id="footer">npm-completion — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -66,5 +66,5 @@ global config.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-config — npm@2.11.3</p>
|
||||
<p id="footer">npm-config — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -63,5 +63,5 @@ versions.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-dedupe — npm@2.11.3</p>
|
||||
<p id="footer">npm-dedupe — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -38,5 +38,5 @@ something like this:</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-deprecate — npm@2.11.3</p>
|
||||
<p id="footer">npm-deprecate — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -77,5 +77,5 @@ begin with a number or the letter <code>v</code>.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-dist-tag — npm@2.11.3</p>
|
||||
<p id="footer">npm-dist-tag — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -56,5 +56,5 @@ the current folder and use the <code>name</code> property.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-docs — npm@2.11.3</p>
|
||||
<p id="footer">npm-docs — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -49,5 +49,5 @@ or <code>"notepad"</code> on Windows.</li>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-edit — npm@2.11.3</p>
|
||||
<p id="footer">npm-edit — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -49,5 +49,5 @@ Windows</li>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-explore — npm@2.11.3</p>
|
||||
<p id="footer">npm-explore — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -46,5 +46,5 @@ where the terms were found in the documentation.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-help-search — npm@2.11.3</p>
|
||||
<p id="footer">npm-help-search — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -52,5 +52,5 @@ matches are equivalent to specifying a topic name.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-help — npm@2.11.3</p>
|
||||
<p id="footer">npm-help — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -48,5 +48,5 @@ defaults and not prompt you for any options.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-init — npm@2.11.3</p>
|
||||
<p id="footer">npm-init — npm@2.12.1</p>
|
||||
|
||||
+18
-5
@@ -138,11 +138,24 @@ fetch the package by name if it is not valid.
|
||||
</code></pre><p> <code><protocol></code> is one of <code>git</code>, <code>git+ssh</code>, <code>git+http</code>, or
|
||||
<code>git+https</code>. If no <code><commit-ish></code> is specified, then <code>master</code> is
|
||||
used.</p>
|
||||
<p> Examples:</p>
|
||||
<pre><code> git+ssh://git@github.com:npm/npm.git#v1.0.27
|
||||
git+https://isaacs@github.com/npm/npm.git
|
||||
git://github.com/npm/npm.git#v1.0.27
|
||||
<p> The following git environment variables are recognized by npm and will be added
|
||||
to the environment when running git:</p>
|
||||
<ul>
|
||||
<li><code>GIT_ASKPASS</code></li>
|
||||
<li><code>GIT_PROXY_COMMAND</code></li>
|
||||
<li><code>GIT_SSH</code></li>
|
||||
<li><code>GIT_SSH_COMMAND</code></li>
|
||||
<li><code>GIT_SSL_CAINFO</code></li>
|
||||
<li><p><code>GIT_SSL_NO_VERIFY</code></p>
|
||||
<p>See the git man page for details.</p>
|
||||
<p>Examples:</p>
|
||||
<pre><code>npm install git+ssh://git@github.com:npm/npm.git#v1.0.27
|
||||
npm install git+https://isaacs@github.com/npm/npm.git
|
||||
npm install git://github.com/npm/npm.git#v1.0.27
|
||||
GIT_SSH_COMMAND='ssh -i ~/.ssh/custom_ident' npm install git+ssh://git@github.com:npm/npm.git
|
||||
</code></pre></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><p><code>npm install <githubname>/<githubrepo>[#<commit-ish>]</code>:</p>
|
||||
</li>
|
||||
<li><p><code>npm install github:<githubname>/<githubrepo>[#<commit-ish>]</code>:</p>
|
||||
@@ -264,5 +277,5 @@ affects a real use-case, it will be investigated.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-install — npm@2.11.3</p>
|
||||
<p id="footer">npm-install — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -72,5 +72,5 @@ include that scope, e.g.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-link — npm@2.11.3</p>
|
||||
<p id="footer">npm-link — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -55,5 +55,5 @@ that registry at the same time.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-logout — npm@2.11.3</p>
|
||||
<p id="footer">npm-logout — npm@2.12.1</p>
|
||||
|
||||
Vendored
+2
-2
@@ -22,7 +22,7 @@ installed, as well as their dependencies, in a tree-structure.</p>
|
||||
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@2.11.3 /path/to/npm
|
||||
<pre><code>npm@2.12.1 /path/to/npm
|
||||
└─┬ init-package-json@0.0.4
|
||||
└── promzard@0.1.5
|
||||
</code></pre><p>It will print out extraneous, missing, and invalid packages.</p>
|
||||
@@ -97,5 +97,5 @@ project.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-ls — npm@2.11.3</p>
|
||||
<p id="footer">npm-ls — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -67,5 +67,5 @@ project.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-outdated — npm@2.11.3</p>
|
||||
<p id="footer">npm-outdated — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -49,5 +49,5 @@ that is not implemented at this time.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-owner — npm@2.11.3</p>
|
||||
<p id="footer">npm-owner — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -41,5 +41,5 @@ overwritten the second time.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-pack — npm@2.11.3</p>
|
||||
<p id="footer">npm-pack — npm@2.12.1</p>
|
||||
|
||||
+9
-19
@@ -1,34 +1,24 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<title>npm-submodule</title>
|
||||
<title>npm-ping</title>
|
||||
<meta http-equiv="content-type" value="text/html;utf-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../static/style.css">
|
||||
<link rel="canonical" href="https://www.npmjs.org/doc/cli/npm-submodule.html">
|
||||
<link rel="canonical" href="https://www.npmjs.org/doc/cli/npm-ping.html">
|
||||
<script async=true src="../../static/toc.js"></script>
|
||||
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
|
||||
<h1><a href="../cli/npm-submodule.html">npm-submodule</a></h1> <p>Add a package as a git submodule</p>
|
||||
<h1><a href="../cli/npm-ping.html">npm-ping</a></h1> <p>Ping npm registry</p>
|
||||
<h2 id="synopsis">SYNOPSIS</h2>
|
||||
<pre><code>npm submodule <pkg>
|
||||
<pre><code>npm ping [--registry <registry>]
|
||||
</code></pre><h2 id="description">DESCRIPTION</h2>
|
||||
<p>If the specified package has a git repository url in its package.json
|
||||
description, then this command will add it as a git submodule at
|
||||
<code>node_modules/<pkg name></code>.</p>
|
||||
<p>This is a convenience only. From then on, it's up to you to manage
|
||||
updates by using the appropriate git commands. npm will stubbornly
|
||||
refuse to update, modify, or remove anything with a <code>.git</code> subfolder
|
||||
in it.</p>
|
||||
<p>This command also does not install missing dependencies, if the package
|
||||
does not include them in its git repository. If <code>npm ls</code> reports that
|
||||
things are missing, you can either install, link, or submodule them yourself,
|
||||
or you can do <code>npm explore <pkgname> -- npm install</code> to install the
|
||||
dependencies into the submodule folder.</p>
|
||||
<p>Ping the configured or given npm registry and verify authentication.</p>
|
||||
<h2 id="see-also">SEE ALSO</h2>
|
||||
<ul>
|
||||
<li><a href="../files/package.json.html">package.json(5)</a></li>
|
||||
<li>git help submodule</li>
|
||||
<li><a href="../cli/npm-config.html"><a href="../cli/npm-config.html">npm-config(1)</a></a></li>
|
||||
<li><a href="../misc/npm-config.html"><a href="../misc/npm-config.html">npm-config(7)</a></a></li>
|
||||
<li><a href="../files/npmrc.html"><a href="../files/npmrc.html">npmrc(5)</a></a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
@@ -42,4 +32,4 @@ dependencies into the submodule folder.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-submodule — npm@1.4.28</p>
|
||||
<p id="footer">npm-ping — npm@2.13.0</p>
|
||||
+1
-1
@@ -38,5 +38,5 @@ to contain a package.json file unless <code>-g</code> is also specified.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-prefix — npm@2.11.3</p>
|
||||
<p id="footer">npm-prefix — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -41,5 +41,5 @@ negate <code>NODE_ENV</code> being set to <code>production</code>.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-prune — npm@2.11.3</p>
|
||||
<p id="footer">npm-prune — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -66,5 +66,5 @@ it is removed with <a href="../cli/npm-unpublish.html"><a href="../cli/npm-unpub
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-publish — npm@2.11.3</p>
|
||||
<p id="footer">npm-publish — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -38,5 +38,5 @@ the new binary.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-rebuild — npm@2.11.3</p>
|
||||
<p id="footer">npm-rebuild — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -42,5 +42,5 @@ a <code>package.json</code> in the current folder and use the <code>name</code>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-repo — npm@2.11.3</p>
|
||||
<p id="footer">npm-repo — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -53,5 +53,5 @@ behavior will be accompanied by an increase in major version number</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-restart — npm@2.11.3</p>
|
||||
<p id="footer">npm-restart — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -39,5 +39,5 @@ on its behalf.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-rm — npm@2.11.3</p>
|
||||
<p id="footer">npm-rm — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -35,5 +35,5 @@
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-root — npm@2.11.3</p>
|
||||
<p id="footer">npm-root — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -56,5 +56,5 @@ you should write <code>"scripts": {"test": "tap test/\*
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-run-script — npm@2.11.3</p>
|
||||
<p id="footer">npm-run-script — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -49,5 +49,5 @@ fall on multiple lines.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-search — npm@2.11.3</p>
|
||||
<p id="footer">npm-search — npm@2.12.1</p>
|
||||
|
||||
+1
-1
@@ -164,5 +164,5 @@ contents rather than versions.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-shrinkwrap — npm@2.11.3</p>
|
||||
<p id="footer">npm-shrinkwrap — npm@2.12.1</p>
|
||||
|
||||
Vendored
+1
-1
@@ -36,5 +36,5 @@ a vaguely positive way to show that you care.</p>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-star — npm@2.11.3</p>
|
||||
<p id="footer">npm-star — npm@2.12.1</p>
|
||||
|
||||
Loaded 100 of 1759 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user