mirror of
https://github.com/nodejs/node-v0.x-archive.git
synced 2026-04-28 03:01:10 -04:00
Compare commits
209 Commits
node-revie
...
v0.12.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2b18916ff0 | ||
|
|
087a7519ce | ||
|
|
02566a77c9 | ||
|
|
31610d0db4 | ||
|
|
878c40e1b3 | ||
|
|
ebfa7e350a | ||
|
|
4312f8d760 | ||
|
|
f46b085fbe | ||
|
|
54d808d2ea | ||
|
|
8e42e5a073 | ||
|
|
59265264d5 | ||
|
|
bcff90e0c2 | ||
|
|
3b392d33c7 | ||
|
|
491ac6a843 | ||
|
|
e67073256d | ||
|
|
ddd40fd5dc | ||
|
|
ff32b81516 | ||
|
|
6b264dd1f9 | ||
|
|
09b482886b | ||
|
|
6168fe6720 | ||
|
|
de5f24a084 | ||
|
|
f34757398f | ||
|
|
9e387fb611 | ||
|
|
f5e9b6e84a | ||
|
|
deef605085 | ||
|
|
b28c76e9d2 | ||
|
|
f2b378b850 | ||
|
|
2d8253d251 | ||
|
|
8a9f263a82 | ||
|
|
430096a90f | ||
|
|
e45c52c573 | ||
|
|
7a8ea15d6f | ||
|
|
89f3c9037f | ||
|
|
efe1781f3d | ||
|
|
bb1f68f9d6 | ||
|
|
28d0cbbdfd | ||
|
|
70d04e7f35 | ||
|
|
58fcc65985 | ||
|
|
e9df9a0216 | ||
|
|
016e08458c | ||
|
|
67f87a743d | ||
|
|
408bffe212 | ||
|
|
ae00e97ef2 | ||
|
|
85360f06db | ||
|
|
f260ef8c3e | ||
|
|
307daedd2c | ||
|
|
0c50195071 | ||
|
|
0a430b9aec | ||
|
|
fbfe562d71 | ||
|
|
31051e5c7b | ||
|
|
21c2636c9a | ||
|
|
c315577994 | ||
|
|
29449349da | ||
|
|
7f4b45dbe8 | ||
|
|
10703774f0 | ||
|
|
e64ee2b3f7 | ||
|
|
7325fe7987 | ||
|
|
6ebd85e105 | ||
|
|
893fe4c67d | ||
|
|
0c7f6ca830 | ||
|
|
1fad3730c2 | ||
|
|
c8ef97e4d9 | ||
|
|
372a2f56be | ||
|
|
b636ba8186 | ||
|
|
8cfbeed27a | ||
|
|
a30839576c | ||
|
|
6a03fce16e | ||
|
|
fe2019699a | ||
|
|
cd6dff9728 | ||
|
|
a363f61ca8 | ||
|
|
102a861ec2 | ||
|
|
48536394c9 | ||
|
|
fd2cb7c611 | ||
|
|
1425ccd1b2 | ||
|
|
78db74dd88 | ||
|
|
890baa03a8 | ||
|
|
91586661c9 | ||
|
|
1b81ea8276 | ||
|
|
a6757fb9d0 | ||
|
|
93533e98f7 | ||
|
|
52795f8fcc | ||
|
|
e93ff4f0ce | ||
|
|
afb488db86 | ||
|
|
1eb1e0a9af | ||
|
|
f75a8ad723 | ||
|
|
542234ad98 | ||
|
|
45f1330425 | ||
|
|
0ff51c6e06 | ||
|
|
bddea12026 | ||
|
|
710845cfd3 | ||
|
|
33f74bbd90 | ||
|
|
6f6a97958e | ||
|
|
934bfe23a1 | ||
|
|
5b9e5bdd03 | ||
|
|
813114dab0 | ||
|
|
69b122a642 | ||
|
|
0603c8345b | ||
|
|
d230fa9eb7 | ||
|
|
4bba87050c | ||
|
|
946cec7b65 | ||
|
|
8708c7abe5 | ||
|
|
20a7088d9c | ||
|
|
1c031c84d2 | ||
|
|
4dc660e164 | ||
|
|
8120015f40 | ||
|
|
f5cb330ab1 | ||
|
|
5e503f45d2 | ||
|
|
70195acbe3 | ||
|
|
9653c4b8c7 | ||
|
|
fe6d5be6b4 | ||
|
|
709fc160e5 | ||
|
|
419f18d2e2 | ||
|
|
1293f0a228 | ||
|
|
add955e6b8 | ||
|
|
5962dbef49 | ||
|
|
b1e9d330aa | ||
|
|
42df679c45 | ||
|
|
2593c14131 | ||
|
|
b6559553a4 | ||
|
|
0674cbaceb | ||
|
|
df3a2b2cf2 | ||
|
|
8c868989be | ||
|
|
f9456a2d36 | ||
|
|
479b0b4e54 | ||
|
|
3c9c920f57 | ||
|
|
e67db0191d | ||
|
|
4815873bb5 | ||
|
|
6120472036 | ||
|
|
c4f6c22c20 | ||
|
|
d312b6d15c | ||
|
|
c131c1f920 | ||
|
|
304c0b43aa | ||
|
|
cb8cadbe62 | ||
|
|
0308ad2ce5 | ||
|
|
69904c8a78 | ||
|
|
bf3e0f417b | ||
|
|
0d051238be | ||
|
|
e0a0e913c7 | ||
|
|
9d9ed61c5a | ||
|
|
2d17193f20 | ||
|
|
6a90a06002 | ||
|
|
4dc8b26bbe | ||
|
|
6a6782343c | ||
|
|
3a08b7c3e0 | ||
|
|
a1b2875afd | ||
|
|
caeb67735b | ||
|
|
fbff7054a4 | ||
|
|
8032a21025 | ||
|
|
70dafa7b62 | ||
|
|
e17c5a72b2 | ||
|
|
2ff29cc7e3 | ||
|
|
13a992b1c2 | ||
|
|
adc0206de9 | ||
|
|
0fef250090 | ||
|
|
743a009bad | ||
|
|
f6556b678d | ||
|
|
5ff59453a4 | ||
|
|
00d7b13a18 | ||
|
|
855b1c98ca | ||
|
|
ea4dc7d444 | ||
|
|
0339446cf7 | ||
|
|
88bd95cfef | ||
|
|
fd2226894a | ||
|
|
d8a3c4ab2a | ||
|
|
03bae7bded | ||
|
|
5845a6bcd5 | ||
|
|
e46cbaa06d | ||
|
|
a5f1307e45 | ||
|
|
ce112c27c6 | ||
|
|
28ae70ebad | ||
|
|
272aa589af | ||
|
|
3589a62104 | ||
|
|
f65a5cbcde | ||
|
|
d435f4b3eb | ||
|
|
849fcdeca0 | ||
|
|
c2b4f4809b | ||
|
|
15aa47e261 | ||
|
|
6a68d64629 | ||
|
|
523929c927 | ||
|
|
ea69dd7584 | ||
|
|
e59eca58ad | ||
|
|
8d045a30e9 | ||
|
|
69080f5474 | ||
|
|
b9283cf9d1 | ||
|
|
fe2e8a4a24 | ||
|
|
35443862a2 | ||
|
|
1349b680ba | ||
|
|
f6e5740180 | ||
|
|
7dbc024c85 | ||
|
|
6c8593d456 | ||
|
|
226c98649d | ||
|
|
b259f245f8 | ||
|
|
3139fa20d7 | ||
|
|
3859fbdb7d | ||
|
|
2afa3d8a03 | ||
|
|
d601c76f4d | ||
|
|
c1f4aacc75 | ||
|
|
707cc25011 | ||
|
|
e0e38c2f47 | ||
|
|
d6712917f5 | ||
|
|
0ec78c961b | ||
|
|
6a95e9f7e0 | ||
|
|
1524d48333 | ||
|
|
641cea0926 | ||
|
|
2b7c8a2f02 | ||
|
|
d22637c36c | ||
|
|
d87ae24dfe | ||
|
|
c8e0bdd7cf | ||
|
|
542ac7f3d2 |
4
.gitignore
vendored
4
.gitignore
vendored
@@ -15,6 +15,7 @@ node_g
|
||||
.benchmark_reports
|
||||
/.project
|
||||
/.cproject
|
||||
icu_config.gypi
|
||||
|
||||
/out
|
||||
|
||||
@@ -46,6 +47,9 @@ ipch/
|
||||
email.md
|
||||
deps/v8-*
|
||||
deps/icu
|
||||
deps/icu*.zip
|
||||
deps/icu*.tgz
|
||||
deps/icu-tmp
|
||||
./node_modules
|
||||
.svn/
|
||||
|
||||
|
||||
12
.mailmap
12
.mailmap
@@ -2,6 +2,8 @@ Aaron Heckmann <aaron.heckmann@gmail.com> <aaron.heckmann+github@gmail.com>
|
||||
Abe Fettig <abefettig@gmail.com> <abe@fettig.net>
|
||||
Alex Kocharin <rlidwka@kocharin.ru>
|
||||
Alex Kocharin <rlidwka@kocharin.ru> <alex@kocharin.ru>
|
||||
Alexey Kupershtokh <wicked@alawar.com>
|
||||
Alexis Campailla <orangemocha@github.com>
|
||||
Alexis Sellier <self@cloudhead.net>
|
||||
Alexis Sellier <self@cloudhead.net> <alexis@cloudhead.io>
|
||||
Arlo Breault <arlolra@gmail.com>
|
||||
@@ -13,10 +15,12 @@ Bert Belder <bertbelder@gmail.com> <bert@piscisaureus2.(none)>
|
||||
Bert Belder <bertbelder@gmail.com> <info@2bs.nl>
|
||||
Bert Belder <bertbelder@gmail.com> <piscisaureus@Berts-MacBook-Pro.local>
|
||||
Brandon Benvie <brandon@bbenvie.com> <brandon@brandonbenvie.com>
|
||||
Brandon Cheng <bcheng.gt@gmail.com>
|
||||
Brian White <mscdex@mscdex.net>
|
||||
Brian White <mscdex@mscdex.net> <mscdex@gmail.com>
|
||||
Chew Choon Keat <choonkeat@gmail.com>
|
||||
Christopher Lenz <cmlenz@gmail.com> <chris@lamech.local>
|
||||
Colin Ihrig <cjihrig@gmail.com>
|
||||
Daniel Berger <code+node@dpbis.net>
|
||||
Daniel Chcouri <333222@gmail.com>
|
||||
Daniel Gröber <darklord@darkboxed.org>
|
||||
@@ -25,6 +29,7 @@ Daniel Pihlström <sciolist.se@gmail.com>
|
||||
Dave Pacheco <dap@joyent.com> <dap@cs.brown.edu>
|
||||
David Siegel <david@artcom.de> <david.siegel@artcom.de>
|
||||
Domenic Denicola <domenic@domenicdenicola.com>
|
||||
Doron Pagot <doronpagot@gmail.com>
|
||||
Eduard Burtescu <eddy_me08@yahoo.com>
|
||||
Einar Otto Stangvik <einaros@gmail.com>
|
||||
Elliott Cable <me@ell.io>
|
||||
@@ -38,6 +43,7 @@ Friedemann Altrock <frodenius@gmail.com>
|
||||
Fuji Goro <gfuji@cpan.org>
|
||||
Gabriel de Perthuis <g2p.code@gmail.com>
|
||||
Gil Pedersen <git@gpost.dk> <github@gpost.dk>
|
||||
Guillaume Goussard <guillaume.goussard@mgo.com>
|
||||
Henry Chin <hheennrryy@gmail.com>
|
||||
Herbert Vojčík <herby@mailbox.sk>
|
||||
Igor Soarez <igorsoarez@gmail.com>
|
||||
@@ -46,6 +52,7 @@ Isaac Z. Schlueter <i@izs.me>
|
||||
Isaac Z. Schlueter <i@izs.me> <i@foohack.com>
|
||||
Jake Verbaten <raynos2@gmail.com>
|
||||
Jered Schmidt <tr@nslator.jp>
|
||||
Jochen Eisinger <jochen@chromium.org>
|
||||
Joe Shaw <joe@joeshaw.org> <joeshaw@litl.com>
|
||||
Johan Bergström <bugs@bergstroem.nu>
|
||||
Johan Dahlberg <jfd@distrop.com> <dahlberg.johan@gmail.com>
|
||||
@@ -69,6 +76,7 @@ Micheil Smith <micheil@brandedcode.com> <micheil@yettobebranded.net>
|
||||
Mikael Bourges-Sevenier <mikeseven@gmail.com> <msevenier@motorola.com>
|
||||
Nebu Pookins<nebu@nebupookins.net>
|
||||
Nicholas Kinsey <pyrotechnick@feistystudios.com>
|
||||
Nicholas Vavilov <vvnicholas@gmail.com>
|
||||
Onne Gorter <onne@onnlucky.com>
|
||||
Paul Querna <pquerna@apache.org> <paul@querna.org>
|
||||
Ray Morgan <rmorgan@zappos.com>
|
||||
@@ -104,8 +112,10 @@ Trevor Burnham <trevor@databraid.com> <trevorburnham@gmail.com>
|
||||
Tyler Larson <talltyler@gmail.com>
|
||||
Vincent Voyer <v@fasterize.com>
|
||||
Willi Eggeling <email@wje-online.de>
|
||||
Yiyu He <dead_horse@qq.com>
|
||||
Yoshihiro KIKUCHI <yknetg@gmail.com>
|
||||
Yuichiro MASUI <masui@masuidrive.jp>
|
||||
Yunsong Guo <eilian.yunsong@gmail.com>
|
||||
Zachary Scott <zachary@zacharyscott.net> <zachary.s.scott@gmail.com>
|
||||
Zoran Tomicic <ztomicic@gmail.com>
|
||||
|
||||
@@ -120,3 +130,5 @@ Michael Starzinger <mstarzinger@chromium.org>
|
||||
Toon Verwaest <verwaest@chromium.org>
|
||||
Vyacheslav Egorov <vegorov@chromium.org>
|
||||
Yang Guo <yangguo@chromium.org>
|
||||
Dan Carney <dcarney@chromium.org>
|
||||
Sven Panne <svenpanne@chromium.org>
|
||||
|
||||
229
ChangeLog
229
ChangeLog
@@ -1,4 +1,165 @@
|
||||
2014.09.24, Version 0.11.14 (Unstable)
|
||||
2015.02.06, Version 0.12.0 (Stable)
|
||||
|
||||
* npm: Upgrade to 2.5.1
|
||||
|
||||
* mdb_v8: update for v0.12 (Dave Pacheco)
|
||||
|
||||
|
||||
2015.01.29, Version 0.11.16 (Unstable), 8e42e5a0731040075e14cec087eea86729f2dc53
|
||||
|
||||
* openssl: Upgrade to 1.0.1l
|
||||
|
||||
* npm: Upgrade to 2.3.0
|
||||
|
||||
* url: revert support of `path` for url.format" (Julien Gilli)
|
||||
|
||||
* assert: use util.inspect() to create error messages (cjihrig)
|
||||
|
||||
* net: throw on invalid socket timeouts (cjihrig)
|
||||
|
||||
* url: fix parsing of ssh urls (Evan Lucas)
|
||||
|
||||
|
||||
2015.01.20, Version 0.11.15 (Unstable), 8a9f263a82089814e69f277f9fecd2888705101b
|
||||
|
||||
* v8: Upgrade to 3.28.73
|
||||
|
||||
* uv: Upgrade to 1.0.2
|
||||
|
||||
* npm: Upgrade to v2.1.6
|
||||
|
||||
* uv: float patch to revert tty breakage (Trevor Norris)
|
||||
|
||||
* v8: re-implement debugger-agent (Fedor Indutny)
|
||||
|
||||
* v8: apply floating irhydra patch (Fedor Indutny)
|
||||
|
||||
* v8: fix postmortem-metadata generator (Refael Ackermann)
|
||||
|
||||
* debugger: fix unhandled error in setBreakpoint (Miroslav Bajtoš)
|
||||
|
||||
* async-wrap: add event hooks (Trevor Norris)
|
||||
|
||||
* async-wrap: expose async-wrap as binding (Trevor Norris)
|
||||
|
||||
* buffer, doc: misc. fix and cleanup (Trevor Norris)
|
||||
|
||||
* buffer: add generic functions for (u)int ops (Yazhong Liu)
|
||||
|
||||
* buffer: fix and cleanup fill() (Trevor Norris)
|
||||
|
||||
* buffer: mv floating point read/write checks to JS (Trevor Norris)
|
||||
|
||||
* build, i18n: improve Intl build, add "--with-intl" (Steven R. Loomis)
|
||||
|
||||
* build: add small-icu support for binary packages (Julien Gilli)
|
||||
|
||||
* build: do not generate support for libuv's probes (Julien Gilli)
|
||||
|
||||
* build: i18n: add icu config options (Steven R. Loomis)
|
||||
|
||||
* build: i18n: support little-endian machines (Steven Loomis)
|
||||
|
||||
* build: vcbuild fix "The input line is too long." (Alexis Campailla)
|
||||
|
||||
* child_process: improve spawn() argument handling (cjihrig)
|
||||
|
||||
* cluster: avoid race enabling debugger in worker (Timothy J Fontaine)
|
||||
|
||||
* cluster: cluster.disconnect() should check status (Sam Roberts)
|
||||
|
||||
* cluster: do not signal children in debug mode (Fedor Indutny)
|
||||
|
||||
* cluster: don't assert if worker has no handles (Sam Roberts)
|
||||
|
||||
* core: fix usage of uv_cwd (Saúl Ibarra Corretgé)
|
||||
|
||||
* core: replace uv_fs_readdir with uv_fs_scandir (Saúl Ibarra Corretgé)
|
||||
|
||||
* crypto: createDiffieHellman throw for bad args (Trevor Norris)
|
||||
|
||||
* crypto: lower RSS usage for TLSCallbacks (Fedor Indutny)
|
||||
|
||||
* crypto: store thread id as pointer-sized (Alexis Campailla)
|
||||
|
||||
* dns: propagate domain for c-ares methods (Chris Dickinson)
|
||||
|
||||
* fs: fix symlink error message (Vladimir Kurchatkin)
|
||||
|
||||
* http: Improve _addHeaderLines method (Jackson Tian)
|
||||
|
||||
* http: cleanup setHeader() (Trevor Norris)
|
||||
|
||||
* http: rename flush to flushHeaders (Timothy J Fontaine)
|
||||
|
||||
* lib,src: fix spawnSync ignoring its 'env' option (Juanjo)
|
||||
|
||||
* modules: adding load linked modules feature (Thorsten Lorenz)
|
||||
|
||||
* net: Make server.connections un-enumerable (Patrick Mooney)
|
||||
|
||||
* net: add pauseOnConnect option to createServer() (cjihrig)
|
||||
|
||||
* net: make connect() input validation synchronous (cjihrig)
|
||||
|
||||
* node: avoid automatic microtask runs (Vladimir Kurchatkin)
|
||||
|
||||
* node: fix throws before timer module is loaded (Trevor Norris)
|
||||
|
||||
* openssl: fix keypress requirement in apps on win32 (Fedor Indutny)
|
||||
|
||||
* path: added parse() and format() functions (Rory Bradford)
|
||||
|
||||
* path: allow calling platform specific methods (Timothy J Fontaine)
|
||||
|
||||
* path: don't lower-cases drive letters (Bert Belder)
|
||||
|
||||
* path: refactor normalizeArray() (Nathan Woltman)
|
||||
|
||||
* process: pid can be a string in process.kill() (Sam Roberts)
|
||||
|
||||
* readline: fix performance issue when large line (Jicheng Li)
|
||||
|
||||
* readline: should not require an output stream. (Julien Gilli)
|
||||
|
||||
* smalloc: check if obj has external data (Vladimir Kurchatkin)
|
||||
|
||||
* smalloc: don't allow to dispose typed arrays (Vladimir Kurchatkin)
|
||||
|
||||
* smalloc: fix bad assert for zero length data (Trevor Norris)
|
||||
|
||||
* smalloc: fix copyOnto optimization (Vladimir Kurchatkin)
|
||||
|
||||
* src: all wrap's now use actual FunctionTemplate (Trevor Norris)
|
||||
|
||||
* src: fix VC++ warning C4244 (Rasmus Christian Pedersen)
|
||||
|
||||
* src: remove Async Listener (Trevor Norris)
|
||||
|
||||
* stream: switch _writableState.buffer to queue (Chris Dickinson)
|
||||
|
||||
* streams: make setDefaultEncoding() throw (Brian White)
|
||||
|
||||
* streams: set default encoding for writable streams (Johnny Ray)
|
||||
|
||||
* tls: remove tls.createSecurePair code deprecation (Jackson Tian)
|
||||
|
||||
* tls_wrap: ignore ZERO_RETURN after close_notify (Fedor Indutny)
|
||||
|
||||
* url: change hostname regex to negate invalid chars (Jonathan Johnson)
|
||||
|
||||
* url: fixed encoding for slash switching emulation. (Evan Rutledge Borden)
|
||||
|
||||
* url: improve parsing speed (CGavrila)
|
||||
|
||||
* url: make query() consistent (Gabriel Wicke)
|
||||
|
||||
* url: support `path` for url.format (Yazhong Liu)
|
||||
|
||||
* util: add es6 Symbol support for `util.inspect` (gyson)
|
||||
|
||||
|
||||
2014.09.24, Version 0.11.14 (Unstable), 902090af5375e497dded310575f19de5328a9bbc
|
||||
|
||||
* uv: Upgrade to v1.0.0-rc1
|
||||
|
||||
@@ -787,7 +948,69 @@
|
||||
* console: `console.dir()` bypasses inspect() methods (Nathan Rajlich)
|
||||
|
||||
|
||||
2014.09.16, Version 0.10.32 (Stable)
|
||||
2015.01.26, Version 0.10.36 (Stable), 09b482886bdd3d863c3d4e7d71264eac0daaf9e1
|
||||
|
||||
* openssl: update to 1.0.1l
|
||||
|
||||
* v8: Fix debugger and strict mode regression (Julien Gilli)
|
||||
|
||||
* v8: don't busy loop in cpu profiler thread (Ben Noordhuis)
|
||||
|
||||
|
||||
2014.12.22, Version 0.10.35 (Stable), a363f61ca839e817eb6853c5dc5af8c3b9b9226b
|
||||
|
||||
* tls: re-add 1024-bit SSL certs removed by f9456a2 (Chris Dickinson)
|
||||
|
||||
* timers: don't close interval timers when unrefd (Julien Gilli)
|
||||
|
||||
* timers: don't mutate unref list while iterating it (Julien Gilli)
|
||||
|
||||
|
||||
2014.12.17, Version 0.10.34 (Stable), 52795f8fcc2de77cf997e671ea58614e5e425dfe
|
||||
|
||||
* uv: update to v0.10.30
|
||||
|
||||
* zlib: upgrade to v1.2.8
|
||||
|
||||
* child_process: check execFile args is an array (Sam Roberts)
|
||||
|
||||
* child_process: check fork args is an array (Sam Roberts)
|
||||
|
||||
* crypto: update root certificates (Ben Noordhuis)
|
||||
|
||||
* domains: fix issues with abort on uncaught (Julien Gilli)
|
||||
|
||||
* timers: Avoid linear scan in _unrefActive. (Julien Gilli)
|
||||
|
||||
* timers: fix unref() memory leak (Trevor Norris)
|
||||
|
||||
* v8: add api for aborting on uncaught exception (Julien Gilli)
|
||||
|
||||
* debugger: fix when using "use strict" (Julien Gilli)
|
||||
|
||||
|
||||
2014.10.20, Version 0.10.33 (Stable), 8d045a30e95602b443eb259a5021d33feb4df079
|
||||
|
||||
* openssl: Update to 1.0.1j (Addressing multiple CVEs)
|
||||
|
||||
* uv: Update to v0.10.29
|
||||
|
||||
* child_process: properly support optional args (cjihrig)
|
||||
|
||||
* crypto: Disable autonegotiation for SSLv2/3 by default (Fedor Indutny,
|
||||
Timothy J Fontaine, Alexis Campailla)
|
||||
|
||||
This is a behavior change, by default we will not allow the negotiation to
|
||||
SSLv2 or SSLv3. If you want this behavior, run Node.js with either
|
||||
`--enable-ssl2` or `--enable-ssl3` respectively.
|
||||
|
||||
This does not change the behavior for users specifically requesting
|
||||
`SSLv2_method` or `SSLv3_method`. While this behavior is not advised, it is
|
||||
assumed you know what you're doing since you're specifically asking to use
|
||||
these methods.
|
||||
|
||||
|
||||
2014.09.16, Version 0.10.32 (Stable), 0fe0d121551593c23a565db8397f85f17bb0f00e
|
||||
|
||||
* npm: Update to 1.4.28
|
||||
|
||||
@@ -839,7 +1062,7 @@
|
||||
|
||||
* deps: backport 4ed5fde4f from v8 upstream (Fedor Indutny)
|
||||
|
||||
* deps: cherry-pick eca441b2 from OpenSSL (Fedor Indutny)
|
||||
*
|
||||
|
||||
* lib: remove and restructure calls to isNaN() (cjihrig)
|
||||
|
||||
|
||||
394
LICENSE
394
LICENSE
@@ -294,9 +294,9 @@ maintained libraries. The externally maintained libraries used by Node are:
|
||||
- Zlib at deps/zlib. zlib's license follows:
|
||||
"""
|
||||
/* zlib.h -- interface of the 'zlib' general purpose compression library
|
||||
version 1.2.4, March 14th, 2010
|
||||
version 1.2.8, April 28th, 2013
|
||||
|
||||
Copyright (C) 1995-2010 Jean-loup Gailly and Mark Adler
|
||||
Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
|
||||
|
||||
This software is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the authors be held liable for any damages
|
||||
@@ -314,9 +314,8 @@ maintained libraries. The externally maintained libraries used by Node are:
|
||||
misrepresented as being the original software.
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
|
||||
Jean-loup Gailly
|
||||
Mark Adler
|
||||
|
||||
Jean-loup Gailly Mark Adler
|
||||
jloup@gzip.org madler@alumni.caltech.edu
|
||||
*/
|
||||
"""
|
||||
|
||||
@@ -782,3 +781,388 @@ maintained libraries. The externally maintained libraries used by Node are:
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
"""
|
||||
|
||||
- ICU's license follows:
|
||||
From http://source.icu-project.org/repos/icu/icu/trunk/license.html
|
||||
"""
|
||||
ICU License - ICU 1.8.1 and later
|
||||
|
||||
COPYRIGHT AND PERMISSION NOTICE
|
||||
|
||||
Copyright (c) 1995-2014 International Business Machines Corporation and others
|
||||
|
||||
All rights reserved.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person
|
||||
obtaining a copy of this software and associated documentation
|
||||
files (the "Software"), to deal in the Software without
|
||||
restriction, including without limitation the rights to use, copy,
|
||||
modify, merge, publish, distribute, and/or sell copies of the
|
||||
Software, and to permit persons to whom the Software is furnished
|
||||
to do so, provided that the above copyright notice(s) and this
|
||||
permission notice appear in all copies of the Software and that
|
||||
both the above copyright notice(s) and this permission notice
|
||||
appear in supporting documentation.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR
|
||||
ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR
|
||||
ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
|
||||
PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
||||
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
Except as contained in this notice, the name of a copyright holder
|
||||
shall not be used in advertising or otherwise to promote the sale,
|
||||
use or other dealings in this Software without prior written
|
||||
authorization of the copyright holder.
|
||||
|
||||
All trademarks and registered trademarks mentioned herein are the
|
||||
property of their respective owners.
|
||||
|
||||
Third-Party Software Licenses
|
||||
|
||||
This section contains third-party software notices and/or
|
||||
additional terms for licensed third-party software components
|
||||
included within ICU libraries.
|
||||
|
||||
1. Unicode Data Files and Software
|
||||
COPYRIGHT AND PERMISSION NOTICE
|
||||
|
||||
Copyright © 1991-2014 Unicode, Inc. All rights reserved.
|
||||
Distributed under the Terms of Use in
|
||||
http://www.unicode.org/copyright.html.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Unicode data files and any associated documentation
|
||||
(the "Data Files") or Unicode software and any associated documentation
|
||||
(the "Software") to deal in the Data Files or Software
|
||||
without restriction, including without limitation the rights to use,
|
||||
copy, modify, merge, publish, distribute, and/or sell copies of
|
||||
the Data Files or Software, and to permit persons to whom the Data Files
|
||||
or Software are furnished to do so, provided that
|
||||
(a) this copyright and permission notice appear with all copies
|
||||
of the Data Files or Software,
|
||||
(b) this copyright and permission notice appear in associated
|
||||
documentation, and
|
||||
(c) there is clear notice in each modified Data File or in the Software
|
||||
as well as in the documentation associated with the Data File(s) or
|
||||
Software that the data or software has been modified.
|
||||
|
||||
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
|
||||
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
||||
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS
|
||||
NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
|
||||
DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
||||
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
||||
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
PERFORMANCE OF THE DATA FILES OR SOFTWARE.
|
||||
|
||||
Except as contained in this notice, the name of a copyright holder
|
||||
shall not be used in advertising or otherwise to promote the sale,
|
||||
use or other dealings in these Data Files or Software without prior
|
||||
written authorization of the copyright holder.
|
||||
|
||||
2. Chinese/Japanese Word Break Dictionary Data (cjdict.txt)
|
||||
# The Google Chrome software developed by Google is licensed
|
||||
# under the BSD license. Other software included in this distribution
|
||||
# is provided under other licenses, as set forth below.
|
||||
#
|
||||
# The BSD License
|
||||
# http://opensource.org/licenses/bsd-license.php
|
||||
# Copyright (C) 2006-2008, Google Inc.
|
||||
#
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or
|
||||
# without modification, are permitted provided that the following
|
||||
# conditions are met:
|
||||
#
|
||||
# Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
# Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following
|
||||
# disclaimer in the documentation and/or other materials provided with
|
||||
# the distribution.
|
||||
# Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
#
|
||||
# The word list in cjdict.txt are generated by combining three
|
||||
word lists listed
|
||||
# below with further processing for compound word breaking. The
|
||||
frequency is generated
|
||||
# with an iterative training against Google web corpora.
|
||||
#
|
||||
# * Libtabe (Chinese)
|
||||
# - https://sourceforge.net/project/?group_id=1519
|
||||
# - Its license terms and conditions are shown below.
|
||||
#
|
||||
# * IPADIC (Japanese)
|
||||
# - http://chasen.aist-nara.ac.jp/chasen/distribution.html
|
||||
# - Its license terms and conditions are shown below.
|
||||
#
|
||||
# ---------COPYING.libtabe ---- BEGIN--------------------
|
||||
#
|
||||
# /*
|
||||
# * Copyrighy (c) 1999 TaBE Project.
|
||||
# * Copyright (c) 1999 Pai-Hsiang Hsiao.
|
||||
# * All rights reserved.
|
||||
# *
|
||||
# * Redistribution and use in source and binary forms, with or without
|
||||
# * modification, are permitted provided that the following conditions
|
||||
# * are met:
|
||||
# *
|
||||
# * . Redistributions of source code must retain the above copyright
|
||||
# * notice, this list of conditions and the following disclaimer.
|
||||
# * . Redistributions in binary form must reproduce the above copyright
|
||||
# * notice, this list of conditions and the following disclaimer in
|
||||
# * the documentation and/or other materials provided with the
|
||||
# * distribution.
|
||||
# * . Neither the name of the TaBE Project nor the names of its
|
||||
# * contributors may be used to endorse or promote products derived
|
||||
# * from this software without specific prior written permission.
|
||||
# *
|
||||
# * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
# * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
# * REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
# * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
# * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
# * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
# * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
# * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
# * OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
# */
|
||||
#
|
||||
# /*
|
||||
# * Copyright (c) 1999 Computer Systems and Communication Lab,
|
||||
# * Institute of Information Science, Academia Sinica.
|
||||
# * All rights reserved.
|
||||
# *
|
||||
# * Redistribution and use in source and binary forms, with or without
|
||||
# * modification, are permitted provided that the following conditions
|
||||
# * are met:
|
||||
# *
|
||||
# * . Redistributions of source code must retain the above copyright
|
||||
# * notice, this list of conditions and the following disclaimer.
|
||||
# * . Redistributions in binary form must reproduce the above copyright
|
||||
# * notice, this list of conditions and the following disclaimer in
|
||||
# * the documentation and/or other materials provided with the
|
||||
# * distribution.
|
||||
# * . Neither the name of the Computer Systems and Communication Lab
|
||||
# * nor the names of its contributors may be used to endorse or
|
||||
# * promote products derived from this software without specific
|
||||
# * prior written permission.
|
||||
# *
|
||||
# * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
# * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
# * REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
# * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
# * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
# * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
# * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
# * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
# * OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
# */
|
||||
#
|
||||
# Copyright 1996 Chih-Hao Tsai @ Beckman Institute, University of Illinois
|
||||
# c-tsai4@uiuc.edu http://casper.beckman.uiuc.edu/~c-tsai4
|
||||
#
|
||||
# ---------------COPYING.libtabe-----END------------------------------------
|
||||
#
|
||||
#
|
||||
# ---------------COPYING.ipadic-----BEGIN------------------------------------
|
||||
#
|
||||
# Copyright 2000, 2001, 2002, 2003 Nara Institute of Science
|
||||
# and Technology. All Rights Reserved.
|
||||
#
|
||||
# Use, reproduction, and distribution of this software is permitted.
|
||||
# Any copy of this software, whether in its original form or modified,
|
||||
# must include both the above copyright notice and the following
|
||||
# paragraphs.
|
||||
#
|
||||
# Nara Institute of Science and Technology (NAIST),
|
||||
# the copyright holders, disclaims all warranties with regard to this
|
||||
# software, including all implied warranties of merchantability and
|
||||
# fitness, in no event shall NAIST be liable for
|
||||
# any special, indirect or consequential damages or any damages
|
||||
# whatsoever resulting from loss of use, data or profits, whether in an
|
||||
# action of contract, negligence or other tortuous action, arising out
|
||||
# of or in connection with the use or performance of this software.
|
||||
#
|
||||
# A large portion of the dictionary entries
|
||||
# originate from ICOT Free Software. The following conditions for ICOT
|
||||
# Free Software applies to the current dictionary as well.
|
||||
#
|
||||
# Each User may also freely distribute the Program, whether in its
|
||||
# original form or modified, to any third party or parties, PROVIDED
|
||||
# that the provisions of Section 3 ("NO WARRANTY") will ALWAYS appear
|
||||
# on, or be attached to, the Program, which is distributed substantially
|
||||
# in the same form as set out herein and that such intended
|
||||
# distribution, if actually made, will neither violate or otherwise
|
||||
# contravene any of the laws and regulations of the countries having
|
||||
# jurisdiction over the User or the intended distribution itself.
|
||||
#
|
||||
# NO WARRANTY
|
||||
#
|
||||
# The program was produced on an experimental basis in the course of the
|
||||
# research and development conducted during the project and is provided
|
||||
# to users as so produced on an experimental basis. Accordingly, the
|
||||
# program is provided without any warranty whatsoever, whether express,
|
||||
# implied, statutory or otherwise. The term "warranty" used herein
|
||||
# includes, but is not limited to, any warranty of the quality,
|
||||
# performance, merchantability and fitness for a particular purpose of
|
||||
# the program and the nonexistence of any infringement or violation of
|
||||
# any right of any third party.
|
||||
#
|
||||
# Each user of the program will agree and understand, and be deemed to
|
||||
# have agreed and understood, that there is no warranty whatsoever for
|
||||
# the program and, accordingly, the entire risk arising from or
|
||||
# otherwise connected with the program is assumed by the user.
|
||||
#
|
||||
# Therefore, neither ICOT, the copyright holder, or any other
|
||||
# organization that participated in or was otherwise related to the
|
||||
# development of the program and their respective officials, directors,
|
||||
# officers and other employees shall be held liable for any and all
|
||||
# damages, including, without limitation, general, special, incidental
|
||||
# and consequential damages, arising out of or otherwise in connection
|
||||
# with the use or inability to use the program or any product, material
|
||||
# or result produced or otherwise obtained by using the program,
|
||||
# regardless of whether they have been advised of, or otherwise had
|
||||
# knowledge of, the possibility of such damages at any time during the
|
||||
# project or thereafter. Each user will be deemed to have agreed to the
|
||||
# foregoing by his or her commencement of use of the program. The term
|
||||
# "use" as used herein includes, but is not limited to, the use,
|
||||
# modification, copying and distribution of the program and the
|
||||
# production of secondary products from the program.
|
||||
#
|
||||
# In the case where the program, whether in its original form or
|
||||
# modified, was distributed or delivered to or received by a user from
|
||||
# any person, organization or entity other than ICOT, unless it makes or
|
||||
# grants independently of ICOT any specific warranty to the user in
|
||||
# writing, such person, organization or entity, will also be exempted
|
||||
# from and not be held liable to the user for any such damages as noted
|
||||
# above as far as the program is concerned.
|
||||
#
|
||||
# ---------------COPYING.ipadic-----END------------------------------------
|
||||
|
||||
3. Lao Word Break Dictionary Data (laodict.txt)
|
||||
# Copyright (c) 2013 International Business Machines Corporation
|
||||
# and others. All Rights Reserved.
|
||||
#
|
||||
# Project: http://code.google.com/p/lao-dictionary/
|
||||
# Dictionary: http://lao-dictionary.googlecode.com/git/Lao-Dictionary.txt
|
||||
# License: http://lao-dictionary.googlecode.com/git/Lao-Dictionary-LICENSE.txt
|
||||
# (copied below)
|
||||
#
|
||||
# This file is derived from the above dictionary, with slight modifications.
|
||||
# --------------------------------------------------------------------------------
|
||||
# Copyright (C) 2013 Brian Eugene Wilson, Robert Martin Campbell.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without modification,
|
||||
# are permitted provided that the following conditions are met:
|
||||
#
|
||||
# Redistributions of source code must retain the above copyright notice, this
|
||||
# list of conditions and the following disclaimer. Redistributions in binary
|
||||
# form must reproduce the above copyright notice, this list of conditions and
|
||||
# the following disclaimer in the documentation and/or other materials
|
||||
# provided with the distribution.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
# --------------------------------------------------------------------------------
|
||||
|
||||
4. Burmese Word Break Dictionary Data (burmesedict.txt)
|
||||
# Copyright (c) 2014 International Business Machines Corporation
|
||||
# and others. All Rights Reserved.
|
||||
#
|
||||
# This list is part of a project hosted at:
|
||||
# github.com/kanyawtech/myanmar-karen-word-lists
|
||||
#
|
||||
# --------------------------------------------------------------------------------
|
||||
# Copyright (c) 2013, LeRoy Benjamin Sharon
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without modification,
|
||||
# are permitted provided that the following conditions are met:
|
||||
#
|
||||
# Redistributions of source code must retain the above copyright notice, this
|
||||
# list of conditions and the following disclaimer.
|
||||
#
|
||||
# Redistributions in binary form must reproduce the above copyright notice, this
|
||||
# list of conditions and the following disclaimer in the documentation and/or
|
||||
# other materials provided with the distribution.
|
||||
#
|
||||
# Neither the name Myanmar Karen Word Lists, nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
# --------------------------------------------------------------------------------
|
||||
|
||||
5. Time Zone Database
|
||||
ICU uses the public domain data and code derived from Time Zone
|
||||
Database for its time zone support. The ownership of the TZ
|
||||
database is explained in BCP 175: Procedure for Maintaining the
|
||||
Time Zone Database section 7.
|
||||
|
||||
7. Database Ownership
|
||||
|
||||
The TZ database itself is not an IETF Contribution or an IETF
|
||||
document. Rather it is a pre-existing and regularly updated work
|
||||
that is in the public domain, and is intended to remain in the public
|
||||
domain. Therefore, BCPs 78 [RFC5378] and 79 [RFC3979] do not apply
|
||||
to the TZ Database or contributions that individuals make to it.
|
||||
Should any claims be made and substantiated against the TZ Database,
|
||||
the organization that is providing the IANA Considerations defined in
|
||||
this RFC, under the memorandum of understanding with the IETF,
|
||||
currently ICANN, may act in accordance with all competent court
|
||||
orders. No ownership claims will be made by ICANN or the IETF Trust
|
||||
on the database or the code. Any person making a contribution to the
|
||||
database or code waives all rights to future claims in that
|
||||
contribution or in the TZ Database.
|
||||
"""
|
||||
|
||||
49
Makefile
49
Makefile
@@ -78,10 +78,12 @@ clean:
|
||||
|
||||
distclean:
|
||||
-rm -rf out
|
||||
-rm -f config.gypi
|
||||
-rm -f config.gypi icu_config.gypi
|
||||
-rm -f config.mk
|
||||
-rm -rf node node_g blog.html email.md
|
||||
-rm -rf node_modules
|
||||
-rm -rf deps/icu
|
||||
-rm -rf deps/icu4c*.tgz deps/icu4c*.zip deps/icu-tmp
|
||||
|
||||
test: all
|
||||
$(PYTHON) tools/test.py --mode=release simple message
|
||||
@@ -147,7 +149,19 @@ test-debugger: all
|
||||
$(PYTHON) tools/test.py debugger
|
||||
|
||||
test-npm: node
|
||||
./node deps/npm/test/run.js
|
||||
rm -rf npm-cache npm-tmp npm-prefix
|
||||
mkdir npm-cache npm-tmp npm-prefix
|
||||
cd deps/npm ; npm_config_cache="$(shell pwd)/npm-cache" \
|
||||
npm_config_prefix="$(shell pwd)/npm-prefix" \
|
||||
npm_config_tmp="$(shell pwd)/npm-tmp" \
|
||||
../../node cli.js install
|
||||
cd deps/npm ; npm_config_cache="$(shell pwd)/npm-cache" \
|
||||
npm_config_prefix="$(shell pwd)/npm-prefix" \
|
||||
npm_config_tmp="$(shell pwd)/npm-tmp" \
|
||||
../../node cli.js run-script test-all && \
|
||||
../../node cli.js prune --prod && \
|
||||
cd ../.. && \
|
||||
rm -rf npm-cache npm-tmp npm-prefix
|
||||
|
||||
test-npm-publish: node
|
||||
npm_package_config_publishtest=true ./node deps/npm/test/run.js
|
||||
@@ -176,6 +190,9 @@ website_files = \
|
||||
|
||||
doc: $(apidoc_dirs) $(website_files) $(apiassets) $(apidocs) tools/doc/ out/doc/changelog.html node
|
||||
|
||||
doc-branch: NODE_DOC_VERSION = v$(shell $(PYTHON) tools/getnodeversion.py | cut -f1,2 -d.)
|
||||
doc-branch: doc
|
||||
|
||||
$(apidoc_dirs):
|
||||
mkdir -p $@
|
||||
|
||||
@@ -189,10 +206,10 @@ out/doc/%: doc/%
|
||||
cp -r $< $@
|
||||
|
||||
out/doc/api/%.json: doc/api/%.markdown node
|
||||
out/Release/node tools/doc/generate.js --format=json $< > $@
|
||||
NODE_DOC_VERSION=$(NODE_DOC_VERSION) out/Release/node tools/doc/generate.js --format=json $< > $@
|
||||
|
||||
out/doc/api/%.html: doc/api/%.markdown node
|
||||
out/Release/node tools/doc/generate.js --format=html --template=doc/template.html $< > $@
|
||||
NODE_DOC_VERSION=$(NODE_DOC_VERSION) out/Release/node tools/doc/generate.js --format=html --template=doc/template.html $< > $@
|
||||
|
||||
email.md: ChangeLog tools/email-footer.md
|
||||
bash tools/changelog-head.sh | sed 's|^\* #|* \\#|g' > $@
|
||||
@@ -211,6 +228,11 @@ website-upload: doc
|
||||
rm -f ~/web/nodejs.org/dist/node-latest.tar.gz &&\
|
||||
ln -s $(VERSION)/node-$(VERSION).tar.gz ~/web/nodejs.org/dist/node-latest.tar.gz'
|
||||
|
||||
doc-branch-upload: NODE_DOC_VERSION = v$(shell $(PYTHON) tools/getnodeversion.py | cut -f1,2 -d.)
|
||||
doc-branch-upload: doc-branch
|
||||
echo $(NODE_DOC_VERSION)
|
||||
rsync -r out/doc/api/ node@nodejs.org:~/web/nodejs.org/$(NODE_DOC_VERSION)
|
||||
|
||||
docopen: out/doc/api/all.html
|
||||
-google-chrome out/doc/api/all.html
|
||||
|
||||
@@ -219,6 +241,7 @@ docclean:
|
||||
|
||||
RAWVER=$(shell $(PYTHON) tools/getnodeversion.py)
|
||||
VERSION=v$(RAWVER)
|
||||
NODE_DOC_VERSION=$(VERSION)
|
||||
RELEASE=$(shell $(PYTHON) tools/getnodeisrelease.py)
|
||||
PLATFORM=$(shell uname | tr '[:upper:]' '[:lower:]')
|
||||
ifeq ($(findstring x86_64,$(shell uname -m)),x86_64)
|
||||
@@ -244,7 +267,7 @@ TARBALL=$(TARNAME).tar.gz
|
||||
BINARYNAME=$(TARNAME)-$(PLATFORM)-$(ARCH)
|
||||
BINARYTAR=$(BINARYNAME).tar.gz
|
||||
PKG=out/$(TARNAME).pkg
|
||||
packagemaker=/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker
|
||||
PACKAGEMAKER ?= /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker
|
||||
|
||||
PKGSRC=nodejs-$(DESTCPU)-$(RAWVER).tgz
|
||||
ifdef NIGHTLY
|
||||
@@ -282,10 +305,12 @@ pkg: $(PKG)
|
||||
$(PKG): release-only
|
||||
rm -rf $(PKGDIR)
|
||||
rm -rf out/deps out/Release
|
||||
$(PYTHON) ./configure --without-snapshot --dest-cpu=ia32 --tag=$(TAG)
|
||||
$(PYTHON) ./configure --download=all --with-intl=small-icu \
|
||||
--without-snapshot --dest-cpu=ia32 --tag=$(TAG)
|
||||
$(MAKE) install V=$(V) DESTDIR=$(PKGDIR)/32
|
||||
rm -rf out/deps out/Release
|
||||
$(PYTHON) ./configure --without-snapshot --dest-cpu=x64 --tag=$(TAG)
|
||||
$(PYTHON) ./configure --download=all --with-intl=small-icu \
|
||||
--without-snapshot --dest-cpu=x64 --tag=$(TAG)
|
||||
$(MAKE) install V=$(V) DESTDIR=$(PKGDIR)
|
||||
SIGN="$(APP_SIGN)" PKGDIR="$(PKGDIR)" bash tools/osx-codesign.sh
|
||||
lipo $(PKGDIR)/32/usr/local/bin/node \
|
||||
@@ -294,7 +319,7 @@ $(PKG): release-only
|
||||
-create
|
||||
mv $(PKGDIR)/usr/local/bin/node-universal $(PKGDIR)/usr/local/bin/node
|
||||
rm -rf $(PKGDIR)/32
|
||||
$(packagemaker) \
|
||||
$(PACKAGEMAKER) \
|
||||
--id "org.nodejs.Node" \
|
||||
--doc tools/osx-pkg.pmdoc \
|
||||
--out $(PKG)
|
||||
@@ -317,7 +342,8 @@ tar: $(TARBALL)
|
||||
$(BINARYTAR): release-only
|
||||
rm -rf $(BINARYNAME)
|
||||
rm -rf out/deps out/Release
|
||||
$(PYTHON) ./configure --prefix=/ --without-snapshot --dest-cpu=$(DESTCPU) --tag=$(TAG) $(CONFIG_FLAGS)
|
||||
$(PYTHON) ./configure --prefix=/ --download=all --with-intl=small-icu \
|
||||
--without-snapshot --dest-cpu=$(DESTCPU) --tag=$(TAG) $(CONFIG_FLAGS)
|
||||
$(MAKE) install DESTDIR=$(BINARYNAME) V=$(V) PORTABLE=1
|
||||
cp README.md $(BINARYNAME)
|
||||
cp LICENSE $(BINARYNAME)
|
||||
@@ -330,8 +356,9 @@ binary: $(BINARYTAR)
|
||||
|
||||
$(PKGSRC): release-only
|
||||
rm -rf dist out
|
||||
$(PYTHON) configure --prefix=/ --without-snapshot \
|
||||
--dest-cpu=$(DESTCPU) --tag=$(TAG) $(CONFIG_FLAGS)
|
||||
$(PYTHON) configure --prefix=/ --without-snapshot --download=all \
|
||||
--with-intl=small-icu --dest-cpu=$(DESTCPU) --tag=$(TAG) \
|
||||
$(CONFIG_FLAGS)
|
||||
$(MAKE) install DESTDIR=dist
|
||||
(cd dist; find * -type f | sort) > packlist
|
||||
pkg_info -X pkg_install | \
|
||||
|
||||
91
README.md
91
README.md
@@ -83,30 +83,103 @@ make doc
|
||||
man doc/node.1
|
||||
```
|
||||
|
||||
### To build `Intl` (ECMA-402) support:
|
||||
### `Intl` (ECMA-402) support:
|
||||
|
||||
*Note:* more docs, including how to reduce disk footprint, are on
|
||||
[Intl](https://github.com/joyent/node/wiki/Intl) support is not
|
||||
enabled by default.
|
||||
|
||||
#### "small" (English only) support
|
||||
|
||||
This option will build with "small" (English only) support, but
|
||||
the full `Intl` (ECMA-402) APIs. With `--download=all` it will
|
||||
download the ICU library as needed.
|
||||
|
||||
Unix/Macintosh:
|
||||
|
||||
```sh
|
||||
./configure --with-intl=small-icu --download=all
|
||||
```
|
||||
|
||||
Windows:
|
||||
|
||||
```sh
|
||||
vcbuild small-icu download-all
|
||||
```
|
||||
|
||||
The `small-icu` mode builds
|
||||
with English-only data. You can add full data at runtime.
|
||||
|
||||
*Note:* more docs are on
|
||||
[the wiki](https://github.com/joyent/node/wiki/Intl).
|
||||
|
||||
#### Build with full ICU support (all locales supported by ICU):
|
||||
|
||||
With the `--download=all`, this may download ICU if you don't
|
||||
have an ICU in `deps/icu`.
|
||||
|
||||
Unix/Macintosh:
|
||||
|
||||
```sh
|
||||
./configure --with-intl=full-icu --download=all
|
||||
```
|
||||
|
||||
Windows:
|
||||
|
||||
```sh
|
||||
vcbuild full-icu download-all
|
||||
```
|
||||
|
||||
#### Build with no Intl support `:-(`
|
||||
|
||||
The `Intl` object will not be available.
|
||||
This is the default at present, so this option is not normally needed.
|
||||
|
||||
Unix/Macintosh:
|
||||
|
||||
```sh
|
||||
./configure --with-intl=none
|
||||
```
|
||||
|
||||
Windows:
|
||||
|
||||
```sh
|
||||
vcbuild intl-none
|
||||
```
|
||||
|
||||
#### Use existing installed ICU (Unix/Macintosh only):
|
||||
|
||||
```sh
|
||||
pkg-config --modversion icu-i18n && ./configure --with-intl=system-icu
|
||||
```
|
||||
|
||||
#### Build ICU from source:
|
||||
#### Build with a specific ICU:
|
||||
|
||||
First: Unpack latest ICU
|
||||
[icu4c-**##.#**-src.tgz](http://icu-project.org/download) (or `.zip`)
|
||||
as `deps/icu` (You'll have: `deps/icu/source/...`)
|
||||
You can find other ICU releases at
|
||||
[the ICU homepage](http://icu-project.org/download).
|
||||
Download the file named something like `icu4c-**##.#**-src.tgz` (or
|
||||
`.zip`).
|
||||
|
||||
Unix/Macintosh:
|
||||
Unix/Macintosh: from an already-unpacked ICU
|
||||
|
||||
```sh
|
||||
./configure --with-intl=full-icu
|
||||
./configure --with-intl=[small-icu,full-icu] --with-icu-source=/path/to/icu
|
||||
```
|
||||
|
||||
Windows:
|
||||
Unix/Macintosh: from a local ICU tarball
|
||||
|
||||
```sh
|
||||
./configure --with-intl=[small-icu,full-icu] --with-icu-source=/path/to/icu.tgz
|
||||
```
|
||||
|
||||
Unix/Macintosh: from a tarball URL
|
||||
|
||||
```sh
|
||||
./configure --with-intl=full-icu --with-icu-source=http://url/to/icu.tgz
|
||||
```
|
||||
|
||||
Windows: first unpack latest ICU to `deps/icu`
|
||||
[icu4c-**##.#**-src.tgz](http://icu-project.org/download) (or `.zip`)
|
||||
as `deps/icu` (You'll have: `deps/icu/source/...`)
|
||||
|
||||
```sh
|
||||
vcbuild full-icu
|
||||
|
||||
161
configure
vendored
161
configure
vendored
@@ -6,6 +6,8 @@ import re
|
||||
import shlex
|
||||
import subprocess
|
||||
import sys
|
||||
import shutil
|
||||
import string
|
||||
|
||||
CC = os.environ.get('CC', 'cc')
|
||||
|
||||
@@ -13,6 +15,10 @@ root_dir = os.path.dirname(__file__)
|
||||
sys.path.insert(0, os.path.join(root_dir, 'tools', 'gyp', 'pylib'))
|
||||
from gyp.common import GetFlavor
|
||||
|
||||
# imports in tools/configure.d
|
||||
sys.path.insert(0, os.path.join(root_dir, 'tools', 'configure.d'))
|
||||
import nodedownload
|
||||
|
||||
# parse our options
|
||||
parser = optparse.OptionParser()
|
||||
|
||||
@@ -236,26 +242,36 @@ parser.add_option('--with-etw',
|
||||
dest='with_etw',
|
||||
help='build with ETW (default is true on Windows)')
|
||||
|
||||
parser.add_option('--download',
|
||||
action='store',
|
||||
dest='download_list',
|
||||
help=nodedownload.help())
|
||||
|
||||
parser.add_option('--with-icu-path',
|
||||
action='store',
|
||||
dest='with_icu_path',
|
||||
help='Path to icu.gyp (ICU i18n, Chromium version only.)')
|
||||
|
||||
parser.add_option('--with-icu-locales',
|
||||
action='store',
|
||||
dest='with_icu_locales',
|
||||
help='Comma-separated list of locales for "small-icu". Default: "root,en". "root" is assumed.')
|
||||
|
||||
parser.add_option('--with-intl',
|
||||
action='store',
|
||||
dest='with_intl',
|
||||
help='Intl mode: none, full-icu, small-icu (default is none)')
|
||||
|
||||
parser.add_option('--with-icu-source',
|
||||
action='store',
|
||||
dest='with_icu_source',
|
||||
help='Intl mode: optional local path to icu/ dir, or path/URL of icu source archive.')
|
||||
|
||||
parser.add_option('--with-perfctr',
|
||||
action='store_true',
|
||||
dest='with_perfctr',
|
||||
help='build with performance counters (default is true on Windows)')
|
||||
|
||||
parser.add_option('--with-sslv2',
|
||||
action='store_true',
|
||||
dest='with_sslv2',
|
||||
help='enable SSL v2')
|
||||
|
||||
parser.add_option('--without-dtrace',
|
||||
action='store_true',
|
||||
dest='without_dtrace',
|
||||
@@ -287,6 +303,16 @@ parser.add_option('--without-ssl',
|
||||
dest='without_ssl',
|
||||
help='build without SSL')
|
||||
|
||||
parser.add_option('--without-ssl2',
|
||||
action='store_true',
|
||||
dest='ssl2',
|
||||
help='Disable SSL v2')
|
||||
|
||||
parser.add_option('--without-ssl3',
|
||||
action='store_true',
|
||||
dest='ssl3',
|
||||
help='Disable SSL v3')
|
||||
|
||||
parser.add_option('--xcode',
|
||||
action='store_true',
|
||||
dest='use_xcode',
|
||||
@@ -294,6 +320,8 @@ parser.add_option('--xcode',
|
||||
|
||||
(options, args) = parser.parse_args()
|
||||
|
||||
# set up auto-download list
|
||||
auto_downloads = nodedownload.parse(options.download_list)
|
||||
|
||||
def b(value):
|
||||
"""Returns the string 'true' if value is truthy, 'false' otherwise."""
|
||||
@@ -645,11 +673,12 @@ def configure_openssl(o):
|
||||
if options.without_ssl:
|
||||
return
|
||||
|
||||
# OpenSSL uses `#ifndef OPENSSL_NO_SSL2` checks so only define the
|
||||
# macro when we want to _disable_ SSL2.
|
||||
if not options.with_sslv2:
|
||||
if options.ssl2:
|
||||
o['defines'] += ['OPENSSL_NO_SSL2=1']
|
||||
|
||||
if options.ssl3:
|
||||
o['defines'] += ['OPENSSL_NO_SSL3=1']
|
||||
|
||||
if options.shared_openssl:
|
||||
(libs, cflags) = pkg_config('openssl') or ('-lssl -lcrypto', '')
|
||||
|
||||
@@ -712,6 +741,35 @@ def glob_to_var(dir_base, dir_sub):
|
||||
return list
|
||||
|
||||
def configure_intl(o):
|
||||
icus = [
|
||||
{
|
||||
'url': 'http://download.icu-project.org/files/icu4c/54.1/icu4c-54_1-src.zip',
|
||||
# from https://ssl.icu-project.org/files/icu4c/54.1/icu4c-src-54_1.md5:
|
||||
'md5': '6b89d60e2f0e140898ae4d7f72323bca',
|
||||
},
|
||||
]
|
||||
def icu_download(path):
|
||||
# download ICU, if needed
|
||||
for icu in icus:
|
||||
url = icu['url']
|
||||
md5 = icu['md5']
|
||||
local = url.split('/')[-1]
|
||||
targetfile = os.path.join(root_dir, 'deps', local)
|
||||
if not os.path.isfile(targetfile):
|
||||
if nodedownload.candownload(auto_downloads, "icu"):
|
||||
nodedownload.retrievefile(url, targetfile)
|
||||
else:
|
||||
print ' Re-using existing %s' % targetfile
|
||||
if os.path.isfile(targetfile):
|
||||
sys.stdout.write(' Checking file integrity with MD5:\r')
|
||||
gotmd5 = nodedownload.md5sum(targetfile)
|
||||
print ' MD5: %s %s' % (gotmd5, targetfile)
|
||||
if (md5 == gotmd5):
|
||||
return targetfile
|
||||
else:
|
||||
print ' Expected: %s *MISMATCH*' % md5
|
||||
print '\n ** Corrupted ZIP? Delete %s to retry download.\n' % targetfile
|
||||
return None
|
||||
icu_config = {
|
||||
'variables': {}
|
||||
}
|
||||
@@ -723,11 +781,11 @@ def configure_intl(o):
|
||||
write(icu_config_name, do_not_edit +
|
||||
pprint.pformat(icu_config, indent=2) + '\n')
|
||||
|
||||
# small ICU is off by default.
|
||||
# always set icu_small, node.gyp depends on it being defined.
|
||||
o['variables']['icu_small'] = b(False)
|
||||
|
||||
with_intl = options.with_intl
|
||||
with_icu_source = options.with_icu_source
|
||||
have_icu_path = bool(options.with_icu_path)
|
||||
if have_icu_path and with_intl:
|
||||
print 'Error: Cannot specify both --with-icu-path and --with-intl'
|
||||
@@ -739,6 +797,13 @@ def configure_intl(o):
|
||||
o['variables']['icu_gyp_path'] = options.with_icu_path
|
||||
return
|
||||
# --with-intl=<with_intl>
|
||||
# set the default
|
||||
if with_intl is None:
|
||||
with_intl = 'none' # The default mode of Intl
|
||||
# sanity check localelist
|
||||
if options.with_icu_locales and (with_intl != 'small-icu'):
|
||||
print 'Error: --with-icu-locales only makes sense with --with-intl=small-icu'
|
||||
sys.exit(1)
|
||||
if with_intl == 'none' or with_intl is None:
|
||||
o['variables']['v8_enable_i18n_support'] = 0
|
||||
return # no Intl
|
||||
@@ -746,6 +811,12 @@ def configure_intl(o):
|
||||
# small ICU (English only)
|
||||
o['variables']['v8_enable_i18n_support'] = 1
|
||||
o['variables']['icu_small'] = b(True)
|
||||
with_icu_locales = options.with_icu_locales
|
||||
if not with_icu_locales:
|
||||
with_icu_locales = 'root,en'
|
||||
locs = set(with_icu_locales.split(','))
|
||||
locs.add('root') # must have root
|
||||
o['variables']['icu_locales'] = string.join(locs,',')
|
||||
elif with_intl == 'full-icu':
|
||||
# full ICU
|
||||
o['variables']['v8_enable_i18n_support'] = 1
|
||||
@@ -769,20 +840,78 @@ def configure_intl(o):
|
||||
# Note: non-ICU implementations could use other 'with_intl'
|
||||
# values.
|
||||
|
||||
# this is just the 'deps' dir. Used for unpacking.
|
||||
icu_parent_path = os.path.join(root_dir, 'deps')
|
||||
|
||||
# The full path to the ICU source directory.
|
||||
icu_full_path = os.path.join(icu_parent_path, 'icu')
|
||||
|
||||
# icu-tmp is used to download and unpack the ICU tarball.
|
||||
icu_tmp_path = os.path.join(icu_parent_path, 'icu-tmp')
|
||||
|
||||
# --with-icu-source processing
|
||||
# first, check that they didn't pass --with-icu-source=deps/icu
|
||||
if with_icu_source and os.path.abspath(icu_full_path) == os.path.abspath(with_icu_source):
|
||||
print 'Ignoring redundant --with-icu-source=%s' % (with_icu_source)
|
||||
with_icu_source = None
|
||||
# if with_icu_source is still set, try to use it.
|
||||
if with_icu_source:
|
||||
if os.path.isdir(icu_full_path):
|
||||
print 'Deleting old ICU source: %s' % (icu_full_path)
|
||||
shutil.rmtree(icu_full_path)
|
||||
# now, what path was given?
|
||||
if os.path.isdir(with_icu_source):
|
||||
# it's a path. Copy it.
|
||||
print '%s -> %s' % (with_icu_source, icu_full_path)
|
||||
shutil.copytree(with_icu_source, icu_full_path)
|
||||
else:
|
||||
# could be file or URL.
|
||||
# Set up temporary area
|
||||
if os.path.isdir(icu_tmp_path):
|
||||
shutil.rmtree(icu_tmp_path)
|
||||
os.mkdir(icu_tmp_path)
|
||||
icu_tarball = None
|
||||
if os.path.isfile(with_icu_source):
|
||||
# it's a file. Try to unpack it.
|
||||
icu_tarball = with_icu_source
|
||||
else:
|
||||
# Can we download it?
|
||||
local = os.path.join(icu_tmp_path, with_icu_source.split('/')[-1]) # local part
|
||||
icu_tarball = nodedownload.retrievefile(with_icu_source, local)
|
||||
# continue with "icu_tarball"
|
||||
nodedownload.unpack(icu_tarball, icu_tmp_path)
|
||||
# Did it unpack correctly? Should contain 'icu'
|
||||
tmp_icu = os.path.join(icu_tmp_path, 'icu')
|
||||
if os.path.isdir(tmp_icu):
|
||||
os.rename(tmp_icu, icu_full_path)
|
||||
shutil.rmtree(icu_tmp_path)
|
||||
else:
|
||||
print ' Error: --with-icu-source=%s did not result in an "icu" dir.' % with_icu_source
|
||||
shutil.rmtree(icu_tmp_path)
|
||||
sys.exit(1)
|
||||
|
||||
# ICU mode. (icu-generic.gyp)
|
||||
byteorder = sys.byteorder
|
||||
o['variables']['icu_gyp_path'] = 'tools/icu/icu-generic.gyp'
|
||||
# ICU source dir relative to root
|
||||
icu_full_path = os.path.join(root_dir, 'deps/icu')
|
||||
o['variables']['icu_path'] = icu_full_path
|
||||
if not os.path.isdir(icu_full_path):
|
||||
print 'Error: ICU path is not a directory: %s' % (icu_full_path)
|
||||
print '* ECMA-402 (Intl) support didn\'t find ICU in %s..' % (icu_full_path)
|
||||
# can we download (or find) a zipfile?
|
||||
localzip = icu_download(icu_full_path)
|
||||
if localzip:
|
||||
nodedownload.unpack(localzip, icu_parent_path)
|
||||
if not os.path.isdir(icu_full_path):
|
||||
print ' Cannot build Intl without ICU in %s.' % (icu_full_path)
|
||||
print ' (Fix, or disable with "--with-intl=none" )'
|
||||
sys.exit(1)
|
||||
else:
|
||||
print '* Using ICU in %s' % (icu_full_path)
|
||||
# Now, what version of ICU is it? We just need the "major", such as 54.
|
||||
# uvernum.h contains it as a #define.
|
||||
uvernum_h = os.path.join(icu_full_path, 'source/common/unicode/uvernum.h')
|
||||
if not os.path.isfile(uvernum_h):
|
||||
print 'Error: could not load %s - is ICU installed?' % uvernum_h
|
||||
print ' Error: could not load %s - is ICU installed?' % uvernum_h
|
||||
sys.exit(1)
|
||||
icu_ver_major = None
|
||||
matchVerExp = r'^\s*#define\s+U_ICU_VERSION_SHORT\s+"([^"]*)".*'
|
||||
@@ -792,7 +921,7 @@ def configure_intl(o):
|
||||
if m:
|
||||
icu_ver_major = m.group(1)
|
||||
if not icu_ver_major:
|
||||
print 'Could not read U_ICU_VERSION_SHORT version from %s' % uvernum_h
|
||||
print ' Could not read U_ICU_VERSION_SHORT version from %s' % uvernum_h
|
||||
sys.exit(1)
|
||||
icu_endianness = sys.byteorder[0]; # TODO(srl295): EBCDIC should be 'e'
|
||||
o['variables']['icu_ver_major'] = icu_ver_major
|
||||
@@ -819,8 +948,8 @@ def configure_intl(o):
|
||||
# this is the icudt*.dat file which node will be using (platform endianness)
|
||||
o['variables']['icu_data_file'] = icu_data_file
|
||||
if not os.path.isfile(icu_data_path):
|
||||
print 'Error: ICU prebuilt data file %s does not exist.' % icu_data_path
|
||||
print 'See the README.md.'
|
||||
print ' Error: ICU prebuilt data file %s does not exist.' % icu_data_path
|
||||
print ' See the README.md.'
|
||||
# .. and we're not about to build it from .gyp!
|
||||
sys.exit(1)
|
||||
# map from variable name to subdirs
|
||||
@@ -912,4 +1041,4 @@ else:
|
||||
|
||||
gyp_args += args
|
||||
|
||||
subprocess.call(gyp_args)
|
||||
sys.exit(subprocess.call(gyp_args))
|
||||
|
||||
8
deps/debugger-agent/debugger-agent.gyp
vendored
8
deps/debugger-agent/debugger-agent.gyp
vendored
@@ -17,6 +17,14 @@
|
||||
"include",
|
||||
],
|
||||
},
|
||||
'conditions': [
|
||||
[ 'gcc_version<=44', {
|
||||
# GCC versions <= 4.4 do not handle the aliasing in the queue
|
||||
# implementation, so disable aliasing on these platforms
|
||||
# to avoid subtle bugs
|
||||
'cflags': [ '-fno-strict-aliasing' ],
|
||||
}],
|
||||
],
|
||||
"sources": [
|
||||
"src/agent.cc",
|
||||
],
|
||||
|
||||
1553
deps/mdb_v8/mdb_v8.c
vendored
1553
deps/mdb_v8/mdb_v8.c
vendored
File diff suppressed because it is too large
Load Diff
2
deps/mdb_v8/mdb_v8.gyp
vendored
2
deps/mdb_v8/mdb_v8.gyp
vendored
@@ -4,7 +4,7 @@
|
||||
'target_name': 'mdb_v8',
|
||||
'product_prefix': '',
|
||||
'type': 'loadable_module',
|
||||
'cflags': [ '-fPIC' ],
|
||||
'cflags': [ '-fPIC', '-Wno-missing-field-initializers', '-Wno-sign-compare' ],
|
||||
'sources': [
|
||||
'mdb_v8.c',
|
||||
'mdb_v8_cfg.c',
|
||||
|
||||
10
deps/mdb_v8/v8dbg.h
vendored
10
deps/mdb_v8/v8dbg.h
vendored
@@ -39,7 +39,10 @@
|
||||
* Determine whether a given pointer refers to a SMI, Failure, or HeapObject.
|
||||
*/
|
||||
#define V8_IS_SMI(ptr) (((ptr) & V8_SmiTagMask) == V8_SmiTag)
|
||||
#define V8_IS_FAILURE(ptr) (((ptr) & V8_FailureTagMask) == V8_FailureTag)
|
||||
#define V8_IS_FAILURE(ptr) (V8_FailureTagMask != -1 && \
|
||||
V8_FailureTagMask != -1 && \
|
||||
((ptr) & V8_FailureTagMask) == V8_FailureTag)
|
||||
|
||||
#define V8_IS_HEAPOBJECT(ptr) \
|
||||
(((ptr) & V8_HeapObjectTagMask) == V8_HeapObjectTag)
|
||||
|
||||
@@ -48,6 +51,8 @@
|
||||
* using the upper 31 bits.
|
||||
*/
|
||||
#define V8_SMI_VALUE(smi) ((smi) >> (V8_SmiValueShift + V8_SmiShiftSize))
|
||||
#define V8_VALUE_SMI(value) \
|
||||
((value) << (V8_SmiValueShift + V8_SmiShiftSize))
|
||||
|
||||
/*
|
||||
* Determine the encoding and representation of a V8 string.
|
||||
@@ -77,4 +82,7 @@
|
||||
#define V8_DESC_ISFIELD(x) \
|
||||
((V8_SMI_VALUE(x) & V8_PROP_TYPE_MASK) == V8_PROP_TYPE_FIELD)
|
||||
|
||||
#define V8_PROP_FIELDINDEX(value) \
|
||||
((V8_SMI_VALUE(value) & V8_FIELDINDEX_MASK) >> V8_FIELDINDEX_SHIFT)
|
||||
|
||||
#endif /* _V8DBG_H */
|
||||
|
||||
19
deps/npm/.eslintrc
vendored
Normal file
19
deps/npm/.eslintrc
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"env" : {
|
||||
"node" : true
|
||||
},
|
||||
"rules" : {
|
||||
"semi": [2, "never"],
|
||||
"strict": 0,
|
||||
"quotes": [1, "double", "avoid-escape"],
|
||||
"no-use-before-define": 0,
|
||||
"curly": 0,
|
||||
"no-underscore-dangle": 0,
|
||||
"no-lonely-if": 1,
|
||||
"no-unused-vars": [2, {"vars" : "all", "args" : "after-used"}],
|
||||
"no-mixed-requires": 0,
|
||||
"space-infix-ops": 0,
|
||||
"key-spacing": 0,
|
||||
"no-multi-spaces": 0
|
||||
}
|
||||
}
|
||||
31
deps/npm/.mailmap
vendored
Normal file
31
deps/npm/.mailmap
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
Arlo Breault <arlolra@gmail.com>
|
||||
Alex K. Wolfe <alexkwolfe@gmail.com>
|
||||
Andrew Lunny <alunny@gmail.com>
|
||||
Benjamin Coe <bencoe@gmail.com>
|
||||
Brian White <mscdex@mscdex.net> <mscdex@gmail.com>
|
||||
Charlie Robbins <charlie.robbins@gmail.com>
|
||||
Dalmais Maxence <root@ip-10-195-202-5.ec2.internal>
|
||||
David Beitey <david@davidjb.com>
|
||||
Domenic Denicola <domenic@domenicdenicola.com>
|
||||
Einar Otto Stangvik <einaros@gmail.com>
|
||||
Evan Lucas <evan@btc.com> <evanlucas@me.com> <evan.lucas@hattiesburgclinic.com>
|
||||
Faiq Raza <faiqrazarizvi@gmail.com>
|
||||
Forbes Lindesay <forbes@lindesay.co.uk>
|
||||
Forrest L. Norvell <forrest@npmjs.com> <ogd@aoaioxxysz.net>
|
||||
Gabriel Barros <descartavel1@gmail.com>
|
||||
Geoff Flarity <geoff.flarity@gmail.com> <gflarity@raptvm-x02.(none)>
|
||||
Isaac Z. Schlueter <i@izs.me> <i@foohack.com>
|
||||
Jake Verbaten <raynos2@gmail.com>
|
||||
James Sanders <jimmyjazz14@gmail.com>
|
||||
Jason Smith <jhs@iriscouch.com>
|
||||
Kris Windham <kriswindham@gmail.com>
|
||||
Lin Clark <lin.w.clark@gmail.com>
|
||||
Maciej Małecki <me@mmalecki.com> <maciej.malecki@notimplemented.org>
|
||||
Maximilian Antoni <mail@maxantoni.de> <maximilian.antoni@juliusbaer.com>
|
||||
Maxim Bogushevich <boga1@mail.ru>
|
||||
Max Goodman <c@chromakode.com>
|
||||
Nicolas Morel <marsup@gmail.com>
|
||||
Olivier Melcher <olivier.melcher@gmail.com>
|
||||
Visnu Pitiyanuvath <visnupx@gmail.com>
|
||||
Will Elwood <w.elwood08@gmail.com>
|
||||
Zeke Sikelianos <zeke@sikelianos.com>
|
||||
2
deps/npm/.npmignore
vendored
2
deps/npm/.npmignore
vendored
@@ -25,3 +25,5 @@ html/*.png
|
||||
/npm-*.tgz
|
||||
|
||||
*.pyc
|
||||
|
||||
/test/tap/builtin-config
|
||||
|
||||
2
deps/npm/.travis.yml
vendored
2
deps/npm/.travis.yml
vendored
@@ -8,4 +8,4 @@ before_install:
|
||||
- "npm config set spin false"
|
||||
- "npm install -g npm@^2"
|
||||
- "sudo mkdir -p /var/run/couchdb"
|
||||
script: "npm run-script tap"
|
||||
script: "npm run-script test-all"
|
||||
|
||||
357
deps/npm/AUTHORS
vendored
357
deps/npm/AUTHORS
vendored
@@ -1,158 +1,243 @@
|
||||
# Authors sorted by whether or not they're me
|
||||
Evan Meagher <evan.meagher@gmail.com>
|
||||
Orlando Vazquez <ovazquez@gmail.com>
|
||||
Kai Chen <kaichenxyz@gmail.com>
|
||||
George Miroshnykov <gmiroshnykov@lohika.com>
|
||||
Geoff Flarity <geoff.flarity@gmail.com>
|
||||
Max Goodman <c@chromakode.com>
|
||||
Pete Kruckenberg <pete@kruckenberg.com>
|
||||
Laurie Harper <laurie@holoweb.net>
|
||||
Neil Gentleman <ngentleman@gmail.com>
|
||||
Kris Kowal <kris.kowal@cixar.com>
|
||||
Alex Gorbatchev <alex.gorbatchev@gmail.com>
|
||||
Shawn Wildermuth <shawn@wildermuth.com>
|
||||
Wesley de Souza <wesleywex@gmail.com>
|
||||
Patrick Pfeiffer <patrick@buzzle.at>
|
||||
yoyoyogi <yogesh.k@gmail.com>
|
||||
Paul Miller <paul@paulmillr.com>
|
||||
Jérémy Lal <kapouer@melix.org>
|
||||
J. Tangelder <j.tangelder@gmail.com>
|
||||
seebees <seebees@gmail.com>
|
||||
Anders Janmyr <anders@janmyr.com>
|
||||
Jean Lauliac <jean@lauliac.com>
|
||||
Carl Lange <carl@flax.ie>
|
||||
Chris Meyers <chris.meyers.fsu@gmail.com>
|
||||
Andrey Kislyuk <kislyuk@gmail.com>
|
||||
Jan Lehnardt <jan@apache.org>
|
||||
Ludwig Magnusson <ludwig@mediatool.com>
|
||||
Thorsten Lorenz <thlorenz@gmx.de>
|
||||
Stuart P. Bentley <stuart@testtrack4.com>
|
||||
wmertens <Wout.Mertens@gmail.com>
|
||||
Johan Sköld <johan@skold.cc>
|
||||
Nick Santos <nick@medium.com>
|
||||
Stuart Knightley <stuart@stuartk.com>
|
||||
Terin Stock <terinjokes@gmail.com>
|
||||
Niggler <nirk.niggler@gmail.com>
|
||||
Faiq Raza <faiqrazarizvi@gmail.com>
|
||||
Paolo Fragomeni <paolo@async.ly>
|
||||
Thomas Torp <thomas@erupt.no>
|
||||
Jaakko Manninen <jaakko@rocketpack.fi>
|
||||
Sam Mikes <smikes@cubane.com>
|
||||
Luke Arduini <luke.arduini@gmail.com>
|
||||
Larz Conwell <larz@larz-laptop.(none)>
|
||||
Marcel Klehr <mklehr@gmx.net>
|
||||
Robert Kowalski <rok@kowalski.gd>
|
||||
Chris Wong <chris@chriswongstudio.com>
|
||||
Forbes Lindesay <forbes@lindesay.co.uk>
|
||||
Scott Bronson <brons_github@rinspin.com>
|
||||
Vaz Allen <vaz@tryptid.com>
|
||||
Federico Romero <federomero@gmail.com>
|
||||
Jake Verbaten <raynos2@gmail.com>
|
||||
Visnu Pitiyanuvath <visnupx@gmail.com>
|
||||
Schabse Laks <Dev@SLaks.net>
|
||||
Irakli Gozalishvili <rfobic@gmail.com>
|
||||
Florian Margaine <florian@margaine.com>
|
||||
Mark Cahill <mark@tiemonster.info>
|
||||
Zearin <zearin@gonk.net>
|
||||
Iain Sproat <iainsproat@gmail.com>
|
||||
Trent Mick <trentm@gmail.com>
|
||||
Felix Geisendörfer <felix@debuggable.com>
|
||||
Julian Gruber <julian@juliangruber.com>
|
||||
Benjamin Coe <bencoe@gmail.com>
|
||||
Alex Ford <Alex.Ford@CodeTunnel.com>
|
||||
Matt Hickford <matt.hickford@gmail.com>
|
||||
Sean McGivern <sean.mcgivern@rightscale.com>
|
||||
C J Silverio <ceejceej@gmail.com>
|
||||
Mat Tyndall <mat.tyndall@gmail.com>
|
||||
Robin Tweedie <robin@songkick.com>
|
||||
Tauren Mills <tauren@sportzing.com>
|
||||
Miroslav Bajtoš <miroslav@strongloop.com>
|
||||
Isaac Z. Schlueter <i@izs.me>
|
||||
Ron Martinez <ramartin.net@gmail.com>
|
||||
David Glasser <glasser@davidglasser.net>
|
||||
Steve Steiner <ssteinerX@gmail.com>
|
||||
Kazuhito Hokamura <k.hokamura@gmail.com>
|
||||
Gianluca Casati <casati_gianluca@yahoo.it>
|
||||
Mikeal Rogers <mikeal.rogers@gmail.com>
|
||||
Tristan Davies <github@tristan.io>
|
||||
Aaron Blohowiak <aaron.blohowiak@gmail.com>
|
||||
David Volm <david@volminator.com>
|
||||
Martyn Smith <martyn@dollyfish.net.nz>
|
||||
Mathias Pettersson <mape@mape.me>
|
||||
Brian Hammond <brian@fictorial.com>
|
||||
Lin Clark <lin.w.clark@gmail.com>
|
||||
Charlie Robbins <charlie.robbins@gmail.com>
|
||||
Ben Page <bpage@dewalch.com>
|
||||
Francisco Treacy <francisco.treacy@gmail.com>
|
||||
Jeff Jo <jeffjo@squareup.com>
|
||||
Johan Nordberg <its@johan-nordberg.com>
|
||||
Cliffano Subagio <cliffano@gmail.com>
|
||||
martinvd <martinvdpub@gmail.com>
|
||||
Ian Babrou <ibobrik@gmail.com>
|
||||
Christian Eager <christian.eager@nokia.com>
|
||||
Di Wu <dwu@palantir.com>
|
||||
Mathias Bynens <mathias@qiwi.be>
|
||||
Matt McClure <matt.mcclure@mapmyfitness.com>
|
||||
Jameson Little <t.jameson.little@gmail.com>
|
||||
Matt Lunn <matt@mattlunn.me.uk>
|
||||
Conny Brunnkvist <conny@fuchsia.se>
|
||||
Alexey Kreschuk <akrsch@gmail.com>
|
||||
Will Elwood <w.elwood08@gmail.com>
|
||||
elisee <elisee@sparklin.org>
|
||||
Dean Landolt <dean@deanlandolt.com>
|
||||
Robert Gieseke <robert.gieseke@gmail.com>
|
||||
Oleg Efimov <efimovov@gmail.com>
|
||||
François Frisch <francoisfrisch@gmail.com>
|
||||
Martin Cooper <mfncooper@gmail.com>
|
||||
Jann Horn <jannhorn@googlemail.com>
|
||||
cspotcode <cspotcode@gmail.com>
|
||||
Maciej Małecki <me@mmalecki.com>
|
||||
Stephen Sugden <glurgle@gmail.com>
|
||||
Forrest L Norvell <forrest@npmjs.com>
|
||||
Karsten Tinnefeld <k.tinnefeld@googlemail.com>
|
||||
Bryan Burgers <bryan@burgers.io>
|
||||
David Beitey <david@davidjb.com>
|
||||
Evan You <yyou@google.com>
|
||||
Zach Pomerantz <zmp@umich.edu>
|
||||
Mark J. Titorenko <nospam-github.com@titorenko.net>
|
||||
Chris Williams <cwilliams88@gmail.com>
|
||||
Oddur Sigurdsson <oddurs@gmail.com>
|
||||
sudodoki <smd.deluzion@gmail.com>
|
||||
Eric Mill <eric@konklone.com>
|
||||
Mick Thompson <dthompson@gmail.com>
|
||||
Gabriel Barros <descartavel1@gmail.com>
|
||||
Felix Rabe <felix@rabe.io>
|
||||
KevinSheedy <kevinsheedy@gmail.com>
|
||||
Aleksey Smolenchuk <aleksey@uber.com>
|
||||
Ed Morley <emorley@mozilla.com>
|
||||
Blaine Bublitz <blaine@iceddev.com>
|
||||
Andrey Fedorov <anfedorov@gmail.com>
|
||||
Trevor Burnham <tburnham@hubspot.com>
|
||||
Daijiro Wachi <daijiro.wachi@gmail.com>
|
||||
Alan Shaw <alan@freestyle-developments.co.uk>
|
||||
TJ Holowaychuk <tj@vision-media.ca>
|
||||
Luke Arduini <luke.arduini@me.com>
|
||||
Nicholas Kinsey <pyro@feisty.io>
|
||||
Michael Budde <mbudde@gmail.com>
|
||||
Paulo Cesar <pauloc062@gmail.com>
|
||||
Jason Smith <jhs@iriscouch.com>
|
||||
Elan Shanker <elan.shanker@gmail.com>
|
||||
Gautham Pai <buzypi@gmail.com>
|
||||
Jon Spencer <jon@jonspencer.ca>
|
||||
David Trejo <david.daniel.trejo@gmail.com>
|
||||
Jason Diamond <jason@diamond.name>
|
||||
Paul Vorbach <paul@vorb.de>
|
||||
Maximilian Antoni <mail@maxantoni.de>
|
||||
George Ornbo <george@shapeshed.com>
|
||||
Tim Oxley <secoif@gmail.com>
|
||||
Tyler Green <tyler.green2@gmail.com>
|
||||
Dave Pacheco <dap@joyent.com>
|
||||
atomizer <danila.gerasimov@gmail.com>
|
||||
Michael Hayes <michael@hayes.io>
|
||||
Chris Dickinson <christopher.s.dickinson@gmail.com>
|
||||
Bradley Meck <bradley.meck@gmail.com>
|
||||
GeJ <geraud@gcu.info>
|
||||
Andrew Terris <atterris@gmail.com>
|
||||
Michael Nisi <michael.nisi@gmail.com>
|
||||
Luc Thevenard <lucthevenard@gmail.com>
|
||||
fengmk2 <fengmk2@gmail.com>
|
||||
Aria Stewart <aredridel@nbtsc.org>
|
||||
Adam Meadows <adam.meadows@gmail.com>
|
||||
Charlie Rudolph <charles.w.rudolph@gmail.com>
|
||||
Chulki Lee <chulki.lee@gmail.com>
|
||||
不四 <busi.hyy@taobao.com>
|
||||
Thom Blake <tblake@brightroll.com>
|
||||
Jess Martin <jessmartin@gmail.com>
|
||||
Spain Train <michael.spainhower@opower.com>
|
||||
Alex Rodionov <p0deje@gmail.com>
|
||||
Matt Colyer <matt@colyer.name>
|
||||
Rod Vagg <rod@vagg.org>
|
||||
Evan You <yyx990803@gmail.com>
|
||||
Christian Howe <coderarity@gmail.com>
|
||||
bitspill <bitspill+github@bitspill.net>
|
||||
Andrew Lunny <alunny@gmail.com>
|
||||
Gabriel Falkenberg <gabriel.falkenberg@gmail.com>
|
||||
Henrik Hodne <dvyjones@binaryhex.com>
|
||||
Alexej Yaroshevich <alex@qfox.ru>
|
||||
Adam Blackburn <regality@gmail.com>
|
||||
Quim Calpe <quim@kalpe.com>
|
||||
Kris Windham <kriswindham@gmail.com>
|
||||
Jens Grunert <jens.grunert@gmail.com>
|
||||
Joost-Wim Boekesteijn <joost-wim@boekesteijn.nl>
|
||||
Dalmais Maxence <root@ip-10-195-202-5.ec2.internal>
|
||||
Marcus Ekwall <marcus.ekwall@gmail.com>
|
||||
Steve Mason <stevem@brandwatch.com>
|
||||
Wil Moore III <wil.moore@wilmoore.com>
|
||||
Sergey Belov <peimei@ya.ru>
|
||||
Tom Huang <hzlhu.dargon@gmail.com>
|
||||
CamilleM <camille.moulin@alterway.fr>
|
||||
Aaron Stacy <aaron.r.stacy@gmail.com>
|
||||
Sébastien Santoro <dereckson@espace-win.org>
|
||||
Phillip Howell <phowell@cothm.org>
|
||||
Evan Lucas <evan@btc.com>
|
||||
Domenic Denicola <domenic@domenicdenicola.com>
|
||||
Quinn Slack <qslack@qslack.com>
|
||||
James Halliday <mail@substack.net>
|
||||
Alex Kocharin <alex@kocharin.ru>
|
||||
Jeremy Cantrell <jmcantrell@gmail.com>
|
||||
Evan Lucas <evan.lucas@hattiesburgclinic.com>
|
||||
Trent Mick <trent.mick@joyent.com>
|
||||
Ribettes <patlogan29@gmail.com>
|
||||
Don Park <donpark@docuverse.com>
|
||||
Einar Otto Stangvik <einaros@gmail.com>
|
||||
Kei Son <heyacct@gmail.com>
|
||||
Dav Glass <davglass@gmail.com>
|
||||
Alex K. Wolfe <alexkwolfe@gmail.com>
|
||||
James Sanders <jimmyjazz14@gmail.com>
|
||||
Reid Burke <me@reidburke.com>
|
||||
Arlo Breault <arlolra@gmail.com>
|
||||
Timo Derstappen <teemow@gmail.com>
|
||||
Bradley Meck <bradley.meck@gmail.com>
|
||||
Bart Teeuwisse <bart.teeuwisse@thecodemill.biz>
|
||||
Ben Noordhuis <info@bnoordhuis.nl>
|
||||
Tor Valamo <tor.valamo@gmail.com>
|
||||
Whyme.Lyu <5longluna@gmail.com>
|
||||
Daniel Santiago <daniel.santiago@highlevelwebs.com>
|
||||
Denis Gladkikh <outcoldman@gmail.com>
|
||||
Andrew Horton <andrew.j.horton@gmail.com>
|
||||
Zeke Sikelianos <zeke@sikelianos.com>
|
||||
Dylan Greene <dylang@gmail.com>
|
||||
Nicolas Morel <marsup@gmail.com>
|
||||
Franck Cuny <franck.cuny@gmail.com>
|
||||
Mark Dube <markisdee@gmail.com>
|
||||
dead_horse <dead_horse@qq.com>
|
||||
Yeonghoon Park <sola92@gmail.com>
|
||||
Nathan Rajlich <nathan@tootallnate.net>
|
||||
Kenan Yildirim <kenan@kenany.me>
|
||||
Rafael de Oleza <rafa@spotify.com>
|
||||
Maxim Bogushevich <boga1@mail.ru>
|
||||
Laurie Voss <git@seldo.com>
|
||||
Mikola Lysenko <mikolalysenko@gmail.com>
|
||||
Meaglin <Meaglin.wasabi@gmail.com>
|
||||
Rebecca Turner <turner@mikomi.org>
|
||||
Yazhong Liu <yorkiefixer@gmail.com>
|
||||
Ben Evans <ben@bensbit.co.uk>
|
||||
Hunter Loftis <hunter@hunterloftis.com>
|
||||
Nathan Zadoks <nathan@nathan7.eu>
|
||||
Peter Richardson <github@zoomy.net>
|
||||
Brian White <mscdex@mscdex.net>
|
||||
Jussi Kalliokoski <jussi.kalliokoski@gmail.com>
|
||||
Jed Schmidt <tr@nslator.jp>
|
||||
Filip Weiss <me@fiws.net>
|
||||
Ian Livingstone <ianl@cs.dal.ca>
|
||||
timoweiss <timoweiss@Timo-MBP.local>
|
||||
Christopher Hiller <chiller@badwing.com>
|
||||
Olivier Melcher <olivier.melcher@gmail.com>
|
||||
Tomaž Muraus <kami@k5-storitve.net>
|
||||
Evan Meagher <evan.meagher@gmail.com>
|
||||
Orlando Vazquez <ovazquez@gmail.com>
|
||||
George Miroshnykov <gmiroshnykov@lohika.com>
|
||||
Geoff Flarity <geoff.flarity@gmail.com>
|
||||
Pete Kruckenberg <pete@kruckenberg.com>
|
||||
Laurie Harper <laurie@holoweb.net>
|
||||
Chris Wong <chris@chriswongstudio.com>
|
||||
Max Goodman <c@chromacode.com>
|
||||
Scott Bronson <brons_github@rinspin.com>
|
||||
Federico Romero <federomero@gmail.com>
|
||||
Visnu Pitiyanuvath <visnupx@gmail.com>
|
||||
Irakli Gozalishvili <rfobic@gmail.com>
|
||||
Mark Cahill <mark@tiemonster.info>
|
||||
Zearin <zearin@gonk.net>
|
||||
Iain Sproat <iainsproat@gmail.com>
|
||||
Trent Mick <trentm@gmail.com>
|
||||
Felix Geisendörfer <felix@debuggable.com>
|
||||
Conny Brunnkvist <cbrunnkvist@gmail.com>
|
||||
Will Elwood <w.elwood08@gmail.com>
|
||||
Oleg Efimov <efimovov@gmail.com>
|
||||
Martin Cooper <mfncooper@gmail.com>
|
||||
Jameson Little <t.jameson.little@gmail.com>
|
||||
cspotcode <cspotcode@gmail.com>
|
||||
Maciej Małecki <maciej.malecki@notimplemented.org>
|
||||
Stephen Sugden <glurgle@gmail.com>
|
||||
Gautham Pai <buzypi@gmail.com>
|
||||
David Trejo <david.daniel.trejo@gmail.com>
|
||||
Paul Vorbach <paul@vorb.de>
|
||||
George Ornbo <george@shapeshed.com>
|
||||
Tim Oxley <secoif@gmail.com>
|
||||
Tyler Green <tyler.green2@gmail.com>
|
||||
atomizer <danila.gerasimov@gmail.com>
|
||||
Rod Vagg <rod@vagg.org>
|
||||
Christian Howe <coderarity@gmail.com>
|
||||
Andrew Lunny <alunny@gmail.com>
|
||||
Henrik Hodne <dvyjones@binaryhex.com>
|
||||
Adam Blackburn <regality@gmail.com>
|
||||
Kris Windham <kriswindham@gmail.com>
|
||||
Jens Grunert <jens.grunert@gmail.com>
|
||||
Joost-Wim Boekesteijn <joost-wim@boekesteijn.nl>
|
||||
Dalmais Maxence <github@maxired.fr>
|
||||
Marcus Ekwall <marcus.ekwall@gmail.com>
|
||||
Aaron Stacy <aaron.r.stacy@gmail.com>
|
||||
Phillip Howell <phowell@cothm.org>
|
||||
Domenic Denicola <domenic@domenicdenicola.com>
|
||||
James Halliday <mail@substack.net>
|
||||
Jeremy Cantrell <jmcantrell@gmail.com>
|
||||
Ribettes <patlogan29@gmail.com>
|
||||
Einar Otto Stangvik <einaros@gmail.com>
|
||||
Don Park <donpark@docuverse.com>
|
||||
Kei Son <heyacct@gmail.com>
|
||||
Nicolas Morel <marsup@gmail.com>
|
||||
Mark Dube <markisdee@gmail.com>
|
||||
Nathan Rajlich <nathan@tootallnate.net>
|
||||
Maxim Bogushevich <boga1@mail.ru>
|
||||
Justin Beckwith <justbe@microsoft.com>
|
||||
Meaglin <Meaglin.wasabi@gmail.com>
|
||||
Ben Evans <ben@bensbit.co.uk>
|
||||
Nathan Zadoks <nathan@nathan7.eu>
|
||||
Brian White <mscdex@gmail.com>
|
||||
Jed Schmidt <tr@nslator.jp>
|
||||
Ian Livingstone <ianl@cs.dal.ca>
|
||||
Patrick Pfeiffer <patrick@buzzle.at>
|
||||
Paul Miller <paul@paulmillr.com>
|
||||
seebees <seebees@gmail.com>
|
||||
Carl Lange <carl@flax.ie>
|
||||
Jan Lehnardt <jan@apache.org>
|
||||
Alexey Kreschuk <akrsch@gmail.com>
|
||||
Di Wu <dwu@palantir.com>
|
||||
Florian Margaine <florian@margaine.com>
|
||||
Forbes Lindesay <forbes@lindesay.co.uk>
|
||||
Ian Babrou <ibobrik@gmail.com>
|
||||
Jaakko Manninen <jaakko@rocketpack.fi>
|
||||
Johan Nordberg <its@johan-nordberg.com>
|
||||
Johan Sköld <johan@skold.cc>
|
||||
Larz Conwell <larz@larz-laptop.(none)>
|
||||
Luke Arduini <luke.arduini@gmail.com>
|
||||
Marcel Klehr <mklehr@gmx.net>
|
||||
Mathias Bynens <mathias@qiwi.be>
|
||||
Matt Lunn <matt@mattlunn.me.uk>
|
||||
Matt McClure <matt.mcclure@mapmyfitness.com>
|
||||
Nirk Niggler <nirk.niggler@gmail.com>
|
||||
Paolo Fragomeni <paolo@async.ly>
|
||||
Jake Verbaten (Raynos) <raynos2@gmail.com>
|
||||
Robert Kowalski <rok@kowalski.gd>
|
||||
Schabse Laks <Dev@SLaks.net>
|
||||
Stuart Knightley <stuart@stuartk.com>
|
||||
Stuart P. Bentley <stuart@testtrack4.com>
|
||||
Vaz Allen <vaz@tryptid.com>
|
||||
elisee <elisee@sparklin.org>
|
||||
Evan You <yyx990803@gmail.com>
|
||||
Wil Moore III <wil.moore@wilmoore.com>
|
||||
Dylan Greene <dylang@gmail.com>
|
||||
zeke <zeke@sikelianos.com>
|
||||
Andrew Horton <andrew.j.horton@gmail.com>
|
||||
Denis Gladkikh <outcoldman@gmail.com>
|
||||
Daniel Santiago <daniel.santiago@highlevelwebs.com>
|
||||
Alex Kocharin <alex@kocharin.ru>
|
||||
Evan Lucas <evanlucas@me.com>
|
||||
Steve Mason <stevem@brandwatch.com>
|
||||
Quinn Slack <qslack@qslack.com>
|
||||
Sébastien Santoro <dereckson@espace-win.org>
|
||||
CamilleM <camille.moulin@alterway.fr>
|
||||
Tom Huang <hzlhu.dargon@gmail.com>
|
||||
Sergey Belov <peimei@ya.ru>
|
||||
Younghoon Park <sola92@gmail.com>
|
||||
Yazhong Liu <yorkiefixer@gmail.com>
|
||||
Mikola Lysenko <mikolalysenko@gmail.com>
|
||||
Rafael de Oleza <rafa@spotify.com>
|
||||
Yeonghoon Park <sola92@gmail.com>
|
||||
Franck Cuny <franck.cuny@gmail.com>
|
||||
Alan Shaw <alan@freestyle-developments.co.uk>
|
||||
Alex Rodionov <p0deje@gmail.com>
|
||||
Alexej Yaroshevich <alex@qfox.ru>
|
||||
Elan Shanker <elan.shanker@gmail.com>
|
||||
François Frisch <francoisfrisch@gmail.com>
|
||||
Gabriel Falkenberg <gabriel.falkenberg@gmail.com>
|
||||
Jason Diamond <jason@diamond.name>
|
||||
Jess Martin <jessmartin@gmail.com>
|
||||
Jon Spencer <jon@jonspencer.ca>
|
||||
Matt Colyer <matt@colyer.name>
|
||||
Matt McClure <matt.mcclure@mapmyfitness.com>
|
||||
Maximilian Antoni <maximilian.antoni@juliusbaer.com>
|
||||
Nicholas Kinsey <pyro@feisty.io>
|
||||
Paulo Cesar <pauloc062@gmail.com>
|
||||
Quim Calpe <quim@kalpe.com>
|
||||
Robert Gieseke <robert.gieseke@gmail.com>
|
||||
Spain Train <michael.spainhower@opower.com>
|
||||
TJ Holowaychuk <tj@vision-media.ca>
|
||||
Thom Blake <tblake@brightroll.com>
|
||||
Trevor Burnham <tburnham@hubspot.com>
|
||||
bitspill <bitspill+github@bitspill.net>
|
||||
Neil Gentleman <ngentleman@gmail.com>
|
||||
|
||||
866
deps/npm/CHANGELOG.md
vendored
866
deps/npm/CHANGELOG.md
vendored
@@ -1,3 +1,869 @@
|
||||
### v2.5.1 (2015-02-06):
|
||||
|
||||
This release doesn't look like much, but considerable effort went into ensuring
|
||||
that npm's tests will pass on io.js 1.1.0 and Node 0.11.16 / 0.12.0 on both OS
|
||||
X and Linux.
|
||||
|
||||
**NOTE:** there are no actual changes to npm's code in `npm@2.5.1`. Only test
|
||||
code (and the upgrade of `request` to the latest version) has changed.
|
||||
|
||||
#### `npm-registry-mock@1.0.0`:
|
||||
|
||||
* [`0e8d473`](https://github.com/npm/npm/commit/0e8d4736a1cbdda41ae8eba8a02c7ff7ce80c2ff)
|
||||
[#7281](https://github.com/npm/npm/issues/7281) `npm-registry-mock@1.0.0`:
|
||||
Clean up API, set `connection: close`.
|
||||
([@robertkowalski](https://github.com/robertkowalski))
|
||||
* [`4707bba`](https://github.com/npm/npm/commit/4707bba7d44dfab85cc45c2ecafa9c1601ba2e9a)
|
||||
Further update tests to work with `npm-registry-mock@1.0.0`.
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`41a0f89`](https://github.com/npm/npm/commit/41a0f8959d4e02af9661588afa7d2b4543cc21b6)
|
||||
Got rid of completely gratuitous global config manipulation in tests.
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
|
||||
#### MINOR DEPENDENCY TWEAK
|
||||
|
||||
* [`a4c7af9`](https://github.com/npm/npm/commit/a4c7af9c692f250c0fd017397ed9514fc263b752)
|
||||
`request@2.53.0`: Tweaks to tunneling proxy behavior.
|
||||
([@nylen](https://github.com/nylen))
|
||||
|
||||
### v2.5.0 (2015-01-29):
|
||||
|
||||
#### SMALL FEATURE I HAVE ALREADY USED TO MAINTAIN NPM ITSELF
|
||||
|
||||
* [`9d61e96`](https://github.com/npm/npm/commit/9d61e96fb1f48687a85c211e4e0cd44c7f95a38e)
|
||||
`npm outdated --long` now includes a column showing the type of dependency.
|
||||
([@watilde](https://github.com/watilde))
|
||||
|
||||
#### BUG FIXES & TWEAKS
|
||||
|
||||
* [`fec4c96`](https://github.com/npm/npm/commit/fec4c967ee235030bf31393e8605e9e2811f4a39)
|
||||
Allow `--no-proxy` to override `HTTP_PROXY` setting in environment.
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`589acb9`](https://github.com/npm/npm/commit/589acb9714f395c2ad0d98cb0ac4236f1842d2cc)
|
||||
Only set `access` when publshing when it's explicitly set.
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`1027087`](https://github.com/npm/npm/commit/102708704c8c4f0ea99775d38f8d1efecf584940)
|
||||
Add script and `Makefile` stanza to update AUTHORS.
|
||||
([@KenanY](https://github.com/KenanY))
|
||||
* [`eeff04d`](https://github.com/npm/npm/commit/eeff04da7979a0181becd36b8777d607e7aa1787)
|
||||
Add `NPMOPTS` to top-level install in `Makefile` to override `userconfig`.
|
||||
([@aredridel](https://github.com/aredridel))
|
||||
* [`0d17328`](https://github.com/npm/npm/commit/0d173287336650606d4c91818bb7bcfb0c5d57a1)
|
||||
`fstream@1.0.4`: Run chown only when necessary.
|
||||
([@silkentrance](https://github.com/silkentrance))
|
||||
* [`9aa4622`](https://github.com/npm/npm/commit/9aa46226ee63b9e183fd49fc72d9bdb0fae9605e)
|
||||
`columnify@1.4.1`: ES6ified! ([@timoxley](https://github.com/timoxley))
|
||||
* [`51b2fd1`](https://github.com/npm/npm/commit/51b2fd1974e38b825ac5ca4a852ab3c4142624cc)
|
||||
Update default version in `docs/npm-config.md`.
|
||||
([@lucthev](https://github.com/lucthev))
|
||||
|
||||
#### `npm-registry-client@6.0.7`:
|
||||
|
||||
* [`f9313a0`](https://github.com/npm/npm/commit/f9313a066c9889a0ee898d8a35676e40b8101e7f)
|
||||
[#7226](https://github.com/npm/npm/issues/7226) Ensure that all request
|
||||
settings are copied onto the agent.
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`e186f6e`](https://github.com/npm/npm/commit/e186f6e7cfeb4db9c94d7375638f0b2f0d472947)
|
||||
Only set `access` on publish when it differs from the norm.
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`f9313a0`](https://github.com/npm/npm/commit/f9313a066c9889a0ee898d8a35676e40b8101e7f)
|
||||
Allow overriding request's environment-based proxy handling.
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`f9313a0`](https://github.com/npm/npm/commit/f9313a066c9889a0ee898d8a35676e40b8101e7f)
|
||||
Properly handle retry failures on fetch.
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
|
||||
### v2.4.1 (2015-01-23):
|
||||
|
||||

|
||||
|
||||
Let's accentuate the positive: the `dist-tag` endpoints for `npm dist-tag
|
||||
{add,rm,ls}` are now live on the public npm registry.
|
||||
|
||||
* [`f70272b`](https://github.com/npm/npm/commit/f70272bed7d77032d1e21553371dd5662fef32f2)
|
||||
`npm-registry-client@6.0.3`: Properly escape JSON tag version strings and
|
||||
filter `_etag` from CouchDB docs. ([@othiym23](https://github.com/othiym23))
|
||||
|
||||
### v2.4.0 (2015-01-22):
|
||||
|
||||
#### REGISTRY 2: ACCESS AND DIST-TAGS
|
||||
|
||||
NOTE: This week's registry-2 commands are leading the implementation on
|
||||
registry.npmjs.org a little bit, so some of the following may not work for
|
||||
another week or so. Also note that `npm access` has documentation and
|
||||
subcommands that are not yet finished, because they depend on incompletely
|
||||
specified registry API endpoints. Things are coming together very quickly,
|
||||
though, so expect the missing pieces to be filled in the coming weeks.
|
||||
|
||||
* [`c963eb2`](https://github.com/npm/npm/commit/c963eb295cf766921b1680f4a71fd0ed3e1bcad8)
|
||||
[#7181](https://github.com/npm/npm/issues/7181) NEW `npm access public` and
|
||||
`npm access restricted`: Toggle visibility of scoped packages.
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`dc51810`](https://github.com/npm/npm/commit/dc51810e08c0f104259146c9c035d255de4f7d1d)
|
||||
[#6243](https://github.com/npm/npm/issues/6243) /
|
||||
[#6854](https://github.com/npm/npm/issues/6854) NEW `npm dist-tags`: Directly
|
||||
manage `dist-tags` on packages. Most notably, `dist-tags` can now be deleted.
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`4c7c132`](https://github.com/npm/npm/commit/4c7c132a6b8305dca2974943226c39c0cdc64ff9)
|
||||
[#7181](https://github.com/npm/npm/issues/7181) /
|
||||
[#6854](https://github.com/npm/npm/issues/6854) `npm-registry-client@6.0.1`:
|
||||
Add new `access` and `dist-tags` endpoints
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
|
||||
#### NOT EXACTLY SELF-DEPRECATING
|
||||
|
||||
* [`10d5c77`](https://github.com/npm/npm/commit/10d5c77653487f15759ac7de262a97e9c655240c)
|
||||
[#6274](https://github.com/npm/npm/issues/6274) Deprecate `npm tag` in favor
|
||||
of `npm dist-tag`. ([@othiym23](https://github.com/othiym23))
|
||||
|
||||
#### BUG FIX AND TINY FEATURE
|
||||
|
||||
* [`29a6ef3`](https://github.com/npm/npm/commit/29a6ef38ef86ac318c5d9ea4bee28ce614672fa6)
|
||||
[#6850](https://github.com/npm/npm/issues/6850) Be smarter about determining
|
||||
base of file deletion when unbuilding. ([@phated](https://github.com/phated))
|
||||
* [`4ad01ea`](https://github.com/npm/npm/commit/4ad01ea2930a7a1cf88be121cc5ce9eba40c6807)
|
||||
`init-package-json@1.2.0`: Support `--save-exact` in `npm init`.
|
||||
([@gustavnikolaj](https://github.com/gustavnikolaj))
|
||||
|
||||
### v2.3.0 (2015-01-15):
|
||||
|
||||
#### REGISTRY 2: OH MY STARS! WHO AM I?
|
||||
|
||||
* [`e662a60`](https://github.com/npm/npm/commit/e662a60e2f9a542effd8e72279d4622fe514415e)
|
||||
The new `whoami` endpoint might not return a value.
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`c2cccd4`](https://github.com/npm/npm/commit/c2cccd4bbc65885239ed646eb510155f7b8af13d)
|
||||
`npm-registry-client@5.0.0`: Includes the following fine changes
|
||||
([@othiym23](https://github.com/othiym23)):
|
||||
* [`ba6b73e`](https://github.com/npm/npm-registry-client/commit/ba6b73e351027246c228622014e4441412409bad)
|
||||
[#92](https://github.com/npm/npm-registry-client/issues/92) BREAKING CHANGE:
|
||||
Move `/whoami` endpoint out of the package namespace (to `/-/whoami`).
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`3b174b7`](https://github.com/npm/npm-registry-client/commit/3b174b75c0c9ea77e298e6bb664fb499824ecc7c)
|
||||
[#93](https://github.com/npm/npm-registry-client/issues/93) Registries based
|
||||
on token-based auth can now offer starring.
|
||||
([@bcoe](https://github.com/bcoe))
|
||||
* [`4701a29`](https://github.com/npm/npm-registry-client/commit/4701a29bcda41bc14aa91f361dd0d576e24677d7)
|
||||
Fix HTTP[S] connection keep-alive on Node 0.11 / io.js 1.0.
|
||||
([@fengmk2](https://github.com/fengmk2))
|
||||
|
||||
#### BETTER REGISTRY METADATA CACHING
|
||||
|
||||
* [`98e1e10`](https://github.com/npm/npm/commit/98e1e1080df1f2cab16ed68035603950ea3d2d48)
|
||||
[#6791](https://github.com/npm/npm/issues/6791) Add caching based on
|
||||
Last-Modified / If-Modified-Since headers. Includes this
|
||||
`npm-registry-client@5.0.0` change ([@lxe](https://github.com/lxe)):
|
||||
* [`07bc335`](https://github.com/npm/npm-registry-client/commit/07bc33502b93554cd7539bfcce37d6e2d5404cd0)
|
||||
[#86](https://github.com/npm/npm-registry-client/issues/86) Add Last-Modified
|
||||
/ If-Modified-Since cache header handling. ([@lxe](https://github.com/lxe))
|
||||
|
||||
#### HOW MUCH IS THAT WINDOWS IN THE DOGGY?
|
||||
|
||||
* [`706d49a`](https://github.com/npm/npm/commit/706d49ab45521360fce1a68779b8de899015d8c2)
|
||||
[#7107](https://github.com/npm/npm/issues/7107) `getCacheStat` passes a stub
|
||||
stat on Windows. ([@rmg](https://github.com/rmg))
|
||||
* [`5fce278`](https://github.com/npm/npm/commit/5fce278a688a1cb79183e012bde40b089c2e97a4)
|
||||
[#5267](https://github.com/npm/npm/issues/5267) Use `%COMSPEC%` when set on
|
||||
Windows. ([@edmorley](https://github.com/edmorley))
|
||||
* [`cc2e099`](https://github.com/npm/npm/commit/cc2e09912ce2f91567c485422e4e797c4deb9842)
|
||||
[#7083](https://github.com/npm/npm/issues/7083) Ensure Git cache prefix
|
||||
exists before repo clone on Windows.
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
|
||||
#### THRILLING BUG FIXES
|
||||
|
||||
* [`c6fb430`](https://github.com/npm/npm/commit/c6fb430e55672b3caf87d25cbd2aeeebc449e2f2)
|
||||
[#4197](https://github.com/npm/npm/issues/4197) Report `umask` as a 0-padded
|
||||
octal literal. ([@smikes](https://github.com/smikes))
|
||||
* [`209713e`](https://github.com/npm/npm/commit/209713ebd4b77da11ce27d90c3346f78d760ba52)
|
||||
[#4197](https://github.com/npm/npm/issues/4197) `umask@1.1.0`: Properly
|
||||
handle `umask`s (i.e. not decimal numbers).
|
||||
([@smikes](https://github.com/smikes))
|
||||
* [`9eac0a1`](https://github.com/npm/npm/commit/9eac0a14488c5979ebde4c17881c8cd74f395069)
|
||||
Make the example for bin links non-destructive.
|
||||
([@KevinSheedy](https://github.com/KevinSheedy))
|
||||
* [`6338bcf`](https://github.com/npm/npm/commit/6338bcfcd9cd1b0cc48b051dae764dc436ab5332)
|
||||
`glob@4.3.5`: " -> ', for some reason. ([@isaacs](https://github.com/isaacs))
|
||||
|
||||
### v2.2.0 (2015-01-08):
|
||||
|
||||
* [`88c531d`](https://github.com/npm/npm/commit/88c531d1c0b3aced8f2a09632db01b5635e7226a)
|
||||
[#7056](https://github.com/npm/npm/issues/7056) version doesn't need a
|
||||
package.json. ([@othiym23](https://github.com/othiym23))
|
||||
* [`2656c19`](https://github.com/npm/npm/commit/2656c19f6b915c3173acc3b6f184cc321563da5f)
|
||||
[#7095](https://github.com/npm/npm/issues/7095) Link to npm website instead
|
||||
of registry. ([@konklone](https://github.com/konklone))
|
||||
* [`c76b801`](https://github.com/npm/npm/commit/c76b8013bf1758587565822626171b76cb465c9e)
|
||||
[#7067](https://github.com/npm/npm/issues/7067) Obfuscate secrets, including
|
||||
nerfed URLs. ([@smikes](https://github.com/smikes))
|
||||
* [`17f66ce`](https://github.com/npm/npm/commit/17f66ceb1bd421084e4ae82a6b66634a6e272929)
|
||||
[#6849](https://github.com/npm/npm/issues/6849) Explain the tag workflow more
|
||||
clearly. ([@smikes](https://github.com/smikes))
|
||||
* [`e309df6`](https://github.com/npm/npm/commit/e309df642de33d10d6dffadaa8a5d214a924d0dc)
|
||||
[#7096](https://github.com/npm/npm/issues/7096) Really, `npm update -g` is
|
||||
almost always a terrible idea. ([@smikes](https://github.com/smikes))
|
||||
* [`acf287d`](https://github.com/npm/npm/commit/acf287d2547c8a0a8871652c164019261b666d55)
|
||||
[#6999](https://github.com/npm/npm/issues/6999) `npm run-script env`: add a
|
||||
new default script that will print out environment values.
|
||||
([@gcb](https://github.com/gcb))
|
||||
* [`560c009`](https://github.com/npm/npm/commit/560c00945d4dec926cd29193e336f137c7f3f951)
|
||||
[#6745](https://github.com/npm/npm/issues/6745) Document `npm update --dev`.
|
||||
([@smikes](https://github.com/smikes))
|
||||
* [`226a677`](https://github.com/npm/npm/commit/226a6776a1a9e28570485623b8adc2ec4b041335)
|
||||
[#7046](https://github.com/npm/npm/issues/7046) We have never been the Node
|
||||
package manager. ([@linclark](https://github.com/linclark))
|
||||
* [`38eef22`](https://github.com/npm/npm/commit/38eef2248f03bb8ab04cae1833e2a228fb887f3c)
|
||||
`npm-install-checks@1.0.5`: Compatibility with npmlog@^1.
|
||||
([@iarna](https://github.com/iarna))
|
||||
|
||||
### v2.1.18 (2015-01-01):
|
||||
|
||||
* [`bf8640b`](https://github.com/npm/npm/commit/bf8640b0395b5dff71260a0cede7efc699a7bcf5)
|
||||
[#7044](https://github.com/npm/npm/issues/7044) Document `.npmignore` syntax.
|
||||
([@zeke](https://github.com/zeke))
|
||||
|
||||
### v2.1.17 (2014-12-25):
|
||||
|
||||
merry npm xmas
|
||||
|
||||
Working with [@phated](https://github.com/phated), I discovered that npm still
|
||||
had some lingering race conditions around how it handles Git dependencies. The
|
||||
following changes were intended to remedy to these issues. Thanks to
|
||||
[@phated](https://github.com/phated) for all his help getting to the bottom of
|
||||
these.
|
||||
|
||||
* [`bdf1c84`](https://github.com/npm/npm/commit/bdf1c8483f5c4ad79b712db12d73276e15883923)
|
||||
[#7006](https://github.com/npm/npm/issues/7006) Only `chown` template and
|
||||
top-level Git cache directories. ([@othiym23](https://github.com/othiym23))
|
||||
* [`581a72d`](https://github.com/npm/npm/commit/581a72da18f35ec87edef6255adf4ef4714a478c)
|
||||
[#7006](https://github.com/npm/npm/issues/7006) Map Git remote inflighting to
|
||||
clone paths rather than Git URLs. ([@othiym23](https://github.com/othiym23))
|
||||
* [`1c48d08`](https://github.com/npm/npm/commit/1c48d08dea31a11ac11a285cac598a482481cade)
|
||||
[#7009](https://github.com/npm/npm/issues/7009) `normalize-git-url@1.0.0`:
|
||||
Normalize Git URLs while caching. ([@othiym23](https://github.com/othiym23))
|
||||
* [`5423cf0`](https://github.com/npm/npm/commit/5423cf0be8ff2b76bfff7c8e780e5f261235a86a)
|
||||
[#7009](https://github.com/npm/npm/issues/7009) Pack tarballs to their final
|
||||
locations atomically. ([@othiym23](https://github.com/othiym23))
|
||||
* [`7f6557f`](https://github.com/npm/npm/commit/7f6557ff317469ee4a87c542ff9a991e74ce9f38)
|
||||
[#7009](https://github.com/npm/npm/issues/7009) Inflight local directory
|
||||
packing, just to be safe. ([@othiym23](https://github.com/othiym23))
|
||||
|
||||
Other changes:
|
||||
|
||||
* [`1c491e6`](https://github.com/npm/npm/commit/1c491e65d70af013e8d5ac008d6d9762d6d91793)
|
||||
[#6991](https://github.com/npm/npm/issues/6991) `npm version`: fix regression
|
||||
in dirty-checking behavior ([@rlidwka](https://github.com/rlidwka))
|
||||
* [`55ceb2b`](https://github.com/npm/npm/commit/55ceb2b08ff8a0f56b94cc972ca15d7862e8733c)
|
||||
[#1991](https://github.com/npm/npm/issues/1991) modify docs to reflect actual
|
||||
`npm restart` behavior ([@smikes](https://github.com/smikes))
|
||||
* [`fb8e31b`](https://github.com/npm/npm/commit/fb8e31b95476a50bda35a665a99eec8a5d25a4db)
|
||||
[#6982](https://github.com/npm/npm/issues/6982) when doing registry
|
||||
operations, ensure registry URL always ends with `/`
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`5bcba65`](https://github.com/npm/npm/commit/5bcba65bed2678ffe80fb596f72abe9871d131c8)
|
||||
pull whitelisted Git environment variables out into a named constant
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`be04bbd`](https://github.com/npm/npm/commit/be04bbdc52ebfc820cd939df2f7d79fe87067747)
|
||||
[#7000](https://github.com/npm/npm/issues/7000) No longer install badly-named
|
||||
manpage files, and log an error when trying to uninstall them.
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`6b7c5ec`](https://github.com/npm/npm/commit/6b7c5eca6b65e1247d0e51f6400cf2637ac880ce)
|
||||
[#7011](https://github.com/npm/npm/issues/7011) Send auth for tarball fetches
|
||||
for packages in `npm-shrinkwrap.json` from private registries.
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`9b9de06`](https://github.com/npm/npm/commit/9b9de06a99893b40aa23f0335726dec6df7979db)
|
||||
`glob@4.3.2`: Better handling of trailing slashes.
|
||||
([@isaacs](https://github.com/isaacs))
|
||||
* [`030f3c7`](https://github.com/npm/npm/commit/030f3c7450b8ce124a19073bfbae0948a0a1a02c)
|
||||
`semver@4.2.0`: Diffing between version strings.
|
||||
([@isaacs](https://github.com/isaacs))
|
||||
|
||||
### v2.1.16 (2014-12-22):
|
||||
|
||||
* [`a4e4e33`](https://github.com/npm/npm/commit/a4e4e33edb35c68813f04bf42bdf933a6f727bcd)
|
||||
[#6987](https://github.com/npm/npm/issues/6987) `read-installed@3.1.5`: fixed
|
||||
a regression where a new / empty package would cause read-installed to throw.
|
||||
([@othiym23](https://github.com/othiym23) /
|
||||
[@pgilad](https://github.com/pgilad))
|
||||
|
||||
### v2.1.15 (2014-12-18):
|
||||
|
||||
* [`e5a2dee`](https://github.com/npm/npm/commit/e5a2dee47c74f26c56fee5998545b97497e830c8)
|
||||
[#6951](https://github.com/npm/npm/issues/6951) `fs-vacuum@1.2.5`: Use
|
||||
`path-is-inside` for better Windows normalization.
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`ac6167c`](https://github.com/npm/npm/commit/ac6167c2b9432939c57296f7ddd11ad5f8f918b2)
|
||||
[#6955](https://github.com/npm/npm/issues/6955) Call `path.normalize` in
|
||||
`lib/utils/gently-rm.js` for better Windows normalization.
|
||||
([@ben-page](https://github.com/ben-page))
|
||||
* [`c625d71`](https://github.com/npm/npm/commit/c625d714795e3b5badd847945e2401adfad5a196)
|
||||
[#6964](https://github.com/npm/npm/issues/6964) Clarify CA configuration
|
||||
docs. ([@jeffjo](https://github.com/jeffjo))
|
||||
* [`58b8cb5`](https://github.com/npm/npm/commit/58b8cb5cdf26a854358b7c2ab636572dba9bac16)
|
||||
[#6950](https://github.com/npm/npm/issues/6950) Fix documentation typos.
|
||||
([@martinvd](https://github.com/martinvd))
|
||||
* [`7c1299d`](https://github.com/npm/npm/commit/7c1299d00538ea998684a1903a4091eafc63b7f1)
|
||||
[#6909](https://github.com/npm/npm/issues/6909) Remove confusing mention of
|
||||
rubygems `~>` semver operator. ([@mjtko](https://github.com/mjtko))
|
||||
* [`7dfdcc6`](https://github.com/npm/npm/commit/7dfdcc6debd8ef1fc52a2b508997d15887aad824)
|
||||
[#6909](https://github.com/npm/npm/issues/6909) `semver@4.1.1`: Synchronize
|
||||
documentation with PR [#6909](https://github.com/npm/npm/issues/6909)
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`adfddf3`](https://github.com/npm/npm/commit/adfddf3b682e0ae08e4b59d87c1b380dd651c572)
|
||||
[#6925](https://github.com/npm/npm/issues/6925) Correct typo in
|
||||
`doc/api/npm-ls.md` ([@oddurs](https://github.com/oddurs))
|
||||
* [`f5c534b`](https://github.com/npm/npm/commit/f5c534b711ab173129baf366c4f08d68f6117333)
|
||||
[#6920](https://github.com/npm/npm/issues/6920) Remove recommendation to run
|
||||
as root from `README.md`.
|
||||
([@robertkowalski](https://github.com/robertkowalski))
|
||||
* [`3ef4459`](https://github.com/npm/npm/commit/3ef445922cd39f25b992d91bd22c4d367882ea22)
|
||||
[#6920](https://github.com/npm/npm/issues/6920) `npm-@googlegroups.com` has
|
||||
gone the way of all things. That means it's gone.
|
||||
([@robertkowalski](https://github.com/robertkowalski))
|
||||
|
||||
### v2.1.14 (2014-12-13):
|
||||
|
||||
* [`cf7aeae`](https://github.com/npm/npm/commit/cf7aeae3c3a24e48d3de4006fa082f0c6040922a)
|
||||
[#6923](https://github.com/npm/npm/issues/6923) Overaggressive link update
|
||||
for new website broke node-gyp. ([@othiym23](https://github.com/othiym23))
|
||||
|
||||
### v2.1.13 (2014-12-11):
|
||||
|
||||
* [`cbb890e`](https://github.com/npm/npm/commit/cbb890eeacc0501ba1b8c6955f1c829c8af9f486)
|
||||
[#6897](https://github.com/npm/npm/issues/6897) npm is a nice package manager
|
||||
that runs server-side JavaScript. ([@othiym23](https://github.com/othiym23))
|
||||
* [`d9043c3`](https://github.com/npm/npm/commit/d9043c3b8d7450c3cb9ca795028c0e1c05377820)
|
||||
[#6893](https://github.com/npm/npm/issues/6893) Remove erroneous docs about
|
||||
preupdate / update / postupdate lifecycle scripts, which have never existed.
|
||||
([@devTristan](https://github.com/devTristan))
|
||||
* [`c5df4d0`](https://github.com/npm/npm/commit/c5df4d0d683cd3506808d1cd1acebff02a8b82db)
|
||||
[#6884](https://github.com/npm/npm/issues/6884) Update npmjs.org to npmjs.com
|
||||
in docs. ([@linclark](https://github.com/linclark))
|
||||
* [`cb6ff8d`](https://github.com/npm/npm/commit/cb6ff8dace1b439851701d4784d2d719c22ca7a7)
|
||||
[#6879](https://github.com/npm/npm/issues/6879) npm version: Update
|
||||
shrinkwrap post-check. ([@othiym23](https://github.com/othiym23))
|
||||
* [`2a340bd`](https://github.com/npm/npm/commit/2a340bdd548c6449468281e1444a032812bff677)
|
||||
[#6868](https://github.com/npm/npm/issues/6868) Use magic numbers instead of
|
||||
regexps to distinguish tarballs from other things.
|
||||
([@daxxog](https://github.com/daxxog))
|
||||
* [`f1c8bdb`](https://github.com/npm/npm/commit/f1c8bdb3f6b753d0600597e12346bdc3a34cb9c1)
|
||||
[#6861](https://github.com/npm/npm/issues/6861) `npm-registry-client@4.0.5`:
|
||||
Distinguish between error properties that are part of the response and error
|
||||
strings that should be returned to the user.
|
||||
([@disrvptor](https://github.com/disrvptor))
|
||||
* [`d3a1b63`](https://github.com/npm/npm/commit/d3a1b6397fddef04b5198ca89d36d720aeb05eb6)
|
||||
[#6762](https://github.com/npm/npm/issues/6762) Make `npm outdated` ignore
|
||||
private packages. ([@KenanY](https://github.com/KenanY))
|
||||
* [`16d8542`](https://github.com/npm/npm/commit/16d854283ca5bcdb0cb2812fc5745d841652b952)
|
||||
install.sh: Drop support for node < 0.8, remove engines bits.
|
||||
([@isaacs](https://github.com/isaacs))
|
||||
* [`b9c6046`](https://github.com/npm/npm/commit/b9c60466d5b713b1dc2947da14a5dfe42352e029)
|
||||
`init-package-json@1.1.3`: ([@terinstock](https://github.com/terinstock))
|
||||
noticed that `init.license` configuration doesn't stick. Make sure that
|
||||
dashed defaults don't trump dotted parameters.
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`b6d6acf`](https://github.com/npm/npm/commit/b6d6acfc02c8887f78067931babab8f7c5180fed)
|
||||
`which@1.0.8`: No longer use graceful-fs for some reason.
|
||||
([@isaacs](https://github.com/isaacs))
|
||||
* [`d39f673`](https://github.com/npm/npm/commit/d39f673caf08a90fb2bb001d79c98062d2cd05f4)
|
||||
`request@2.51.0`: Incorporate bug fixes. ([@nylen](https://github.com/nylen))
|
||||
* [`c7ad727`](https://github.com/npm/npm/commit/c7ad7279cc879930ec58ccc62fa642e621ecb65c)
|
||||
`columnify@1.3.2`: Incorporate bug fixes.
|
||||
([@timoxley](https://github.com/timoxley))
|
||||
|
||||
### v2.1.12 (2014-12-04):
|
||||
|
||||
* [`e5b1e44`](https://github.com/npm/npm/commit/e5b1e448bb4a9d6eae4ba0f67b1d3c2cea8ed383)
|
||||
add alias verison=version ([@isaacs](https://github.com/isaacs))
|
||||
* [`5eed7bd`](https://github.com/npm/npm/commit/5eed7bddbd7bb92a44c4193c93e8529500c558e6)
|
||||
`request@2.49.0` ([@nylen](https://github.com/nylen))
|
||||
* [`e72f81d`](https://github.com/npm/npm/commit/e72f81d8412540ae7d1e0edcc37c11bcb8169051)
|
||||
`glob@4.3.1` / `minimatch@2.0.1` ([@isaacs](https://github.com/isaacs))
|
||||
* [`b8dcc36`](https://github.com/npm/npm/commit/b8dcc3637b5b71933b97162b7aff1b1a622c13e2)
|
||||
`graceful-fs@3.0.5` ([@isaacs](https://github.com/isaacs))
|
||||
|
||||
### v2.1.11 (2014-11-27):
|
||||
|
||||
* [`4861d28`](https://github.com/npm/npm/commit/4861d28ad0ebd959fe6bc15b9c9a50fcabe57f55)
|
||||
`which@1.0.7`: License update. ([@isaacs](https://github.com/isaacs))
|
||||
* [`30a2ea8`](https://github.com/npm/npm/commit/30a2ea80c891d384b31a1cf28665bba4271915bd)
|
||||
`ini@1.3.2`: License update. ([@isaacs](https://github.com/isaacs))
|
||||
* [`6a4ea05`](https://github.com/npm/npm/commit/6a4ea054f6ddf52fc58842ba2046564b04c5c0e2)
|
||||
`fstream@1.0.3`: Propagate error events to downstream streams.
|
||||
([@gfxmonk](https://github.com/gfxmonk))
|
||||
* [`a558695`](https://github.com/npm/npm/commit/a5586954f1c18df7c96137e0a79f41a69e7a884e)
|
||||
`tar@1.0.3`: Don't extract broken files, propagate `drain` event.
|
||||
([@gfxmonk](https://github.com/gfxmonk))
|
||||
* [`989624e`](https://github.com/npm/npm/commit/989624e8321f87734c1b1272fc2f646e7af1f81c)
|
||||
[#6767](https://github.com/npm/npm/issues/6767) Actually pass parameters when
|
||||
adding git repo to cach under Windows.
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`657af73`](https://github.com/npm/npm/commit/657af7308f7d6cd2f81389fcf0d762252acaf1ce)
|
||||
[#6774](https://github.com/npm/npm/issues/6774) When verifying paths on
|
||||
unbuild, resolve both source and target as symlinks.
|
||||
([@hokaccha](https://github.com/hokaccha))
|
||||
* [`fd19c40`](https://github.com/npm/npm/commit/fd19c4046414494f9647a6991c00f8406a939929)
|
||||
[#6713](https://github.com/npm/npm/issues/6713)
|
||||
`realize-package-specifier@1.3.0`: Make it so that `npm install foo@1` work
|
||||
when a file named `1` exists. ([@iarna](https://github.com/iarna))
|
||||
* [`c8ac37a`](https://github.com/npm/npm/commit/c8ac37a470491b2ed28514536e2e198494638c79)
|
||||
`npm-registry-client@4.0.4`: Fix regression in failed fetch retries.
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
|
||||
### v2.1.10 (2014-11-20):
|
||||
|
||||
* [`756f3d4`](https://github.com/npm/npm/commit/756f3d40fe18bc02bc93afe17016dfcc266c4b6b)
|
||||
[#6735](https://github.com/npm/npm/issues/6735) Log "already built" messages
|
||||
at info, not error. ([@smikes](https://github.com/smikes))
|
||||
* [`1b7330d`](https://github.com/npm/npm/commit/1b7330dafba3bbba171f74f1e58b261cb1b9301e)
|
||||
[#6729](https://github.com/npm/npm/issues/6729) `npm-registry-client@4.0.3`:
|
||||
GitHub won't redirect you through an HTML page to a compressed tarball if you
|
||||
don't tell it you accept JSON responses.
|
||||
([@KenanY](https://github.com/KenanY))
|
||||
* [`d9c7857`](https://github.com/npm/npm/commit/d9c7857be02dacd274e55bf6d430d90d91509d53)
|
||||
[#6506](https://github.com/npm/npm/issues/6506)
|
||||
`readdir-scoped-modules@1.0.1`: Use `graceful-fs` so the whole dependency
|
||||
tree gets read, even in case of `EMFILE`.
|
||||
([@sakana](https://github.com/sakana))
|
||||
* [`3a085be`](https://github.com/npm/npm/commit/3a085be158ace8f1e4395e69f8c102d3dea00c5f)
|
||||
Grammar fix in docs. ([@icylace](https://github.com/icylace))
|
||||
* [`3f8e2ff`](https://github.com/npm/npm/commit/3f8e2ff8342d327d6f1375437ecf4bd945dc360f)
|
||||
Did you know that npm has a Code of Conduct? Add a link to it to
|
||||
CONTRIBUTING.md. ([@isaacs](https://github.com/isaacs))
|
||||
* [`319ccf6`](https://github.com/npm/npm/commit/319ccf633289e06e57a80d74c39706899348674c)
|
||||
`glob@4.2.1`: Performance tuning. ([@isaacs](https://github.com/isaacs))
|
||||
* [`835f046`](https://github.com/npm/npm/commit/835f046e7568c33e81a0b48c84cff965024d8b8a)
|
||||
`readable-stream@1.0.33`: Bug fixes. ([@rvagg](https://github.com/rvagg))
|
||||
* [`a34c38d`](https://github.com/npm/npm/commit/a34c38d0732fb246d11f2a776d2ad0d8db654338)
|
||||
`request@2.48.0`: Bug fixes. ([@nylen](https://github.com/nylen))
|
||||
|
||||
### v2.1.9 (2014-11-13):
|
||||
|
||||
* [`eed9f61`](https://github.com/npm/npm/commit/eed9f6101963364acffc59d7194fc1655180e80c)
|
||||
[#6542](https://github.com/npm/npm/issues/6542) `npm owner add / remove` now
|
||||
works properly with scoped packages
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`cd25973`](https://github.com/npm/npm/commit/cd25973825aa5315b7ebf26227bd32bd6be5533f)
|
||||
[#6548](https://github.com/npm/npm/issues/6548) using sudo won't leave the
|
||||
cache's git directories with bad permissions
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`56930ab`](https://github.com/npm/npm/commit/56930abcae6a6ea41f1b75e23765c61259cef2dd)
|
||||
fixed irregular `npm cache ls` output (yes, that's a thing)
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`740f483`](https://github.com/npm/npm/commit/740f483db6ec872b453065842da080a646c3600a)
|
||||
legacy tests no longer poison user's own cache
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`ce37f14`](https://github.com/npm/npm/commit/ce37f142a487023747a9086335618638ebca4372)
|
||||
[#6169](https://github.com/npm/npm/issues/6169) add terse output similar to
|
||||
`npm publish / unpublish` for `npm owner add / remove`
|
||||
([@KenanY](https://github.com/KenanY))
|
||||
* [`bf2b8a6`](https://github.com/npm/npm/commit/bf2b8a66d7188900bf1e957c052b893948b67e0e)
|
||||
[#6680](https://github.com/npm/npm/issues/6680) pass auth credentials to
|
||||
registry when downloading search index
|
||||
([@terinjokes](https://github.com/terinjokes))
|
||||
* [`00ecb61`](https://github.com/npm/npm/commit/00ecb6101422984696929f602e14da186f9f669c)
|
||||
[#6400](https://github.com/npm/npm/issues/6400) `.npmignore` is respected for
|
||||
git repos on cache / pack / publish
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`d1b3a9e`](https://github.com/npm/npm/commit/d1b3a9ec5e2b6d52765ba5da5afb08dba41c49c1)
|
||||
[#6311](https://github.com/npm/npm/issues/6311) `npm ls -l --depth=0` no
|
||||
longer prints phantom duplicate children
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`07c5f34`](https://github.com/npm/npm/commit/07c5f34e45c9b18c348ed53b5763b1c5d4325740)
|
||||
[#6690](https://github.com/npm/npm/issues/6690) `uid-number@0.0.6`: clarify
|
||||
confusing names in error-handling code ([@isaacs](https://github.com/isaacs))
|
||||
* [`1ac9be9`](https://github.com/npm/npm/commit/1ac9be9f3bab816211d72d13cb05b5587878a586)
|
||||
[#6684](https://github.com/npm/npm/issues/6684) `npm init`: don't report
|
||||
write if canceled ([@smikes](https://github.com/smikes))
|
||||
* [`7bb207d`](https://github.com/npm/npm/commit/7bb207d1d6592a9cffc986871e4b671575363c2f)
|
||||
[#5754](https://github.com/npm/npm/issues/5754) never remove app directories
|
||||
on failed install ([@othiym23](https://github.com/othiym23))
|
||||
* [`705ce60`](https://github.com/npm/npm/commit/705ce601e7b9c5428353e02ebb30cb76c1991fdd)
|
||||
[#5754](https://github.com/npm/npm/issues/5754) `fs-vacuum@1.2.2`: don't
|
||||
throw when another fs task writes to a directory being vacuumed
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`1b650f4`](https://github.com/npm/npm/commit/1b650f4f217c413a2ffb96e1701beb5aa67a0de2)
|
||||
[#6255](https://github.com/npm/npm/issues/6255) ensure that order credentials
|
||||
are used from `.npmrc` doesn't regress
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`9bb2c34`](https://github.com/npm/npm/commit/9bb2c3435cedef40b45d3e9bd7a8edfb8cbe7209)
|
||||
[#6644](https://github.com/npm/npm/issues/6644) `warn` rather than `info` on
|
||||
fetch failure ([@othiym23](https://github.com/othiym23))
|
||||
* [`e34a7b6`](https://github.com/npm/npm/commit/e34a7b6b7371b1893a062f627ae8e168546d7264)
|
||||
[#6524](https://github.com/npm/npm/issues/6524) `npm-registry-client@4.0.2`:
|
||||
proxy via `request` more transparently
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`40afd6a`](https://github.com/npm/npm/commit/40afd6aaf34c11a10e80ec87b115fb2bb907e3bd)
|
||||
[#6524](https://github.com/npm/npm/issues/6524) push proxy settings into
|
||||
`request` ([@tauren](https://github.com/tauren))
|
||||
|
||||
### v2.1.8 (2014-11-06):
|
||||
|
||||
* [`063d843`](https://github.com/npm/npm/commit/063d843965f9f0bfa5732d7c2d6f5aa37a8260a2)
|
||||
npm version now updates version in npm-shrinkwrap.json
|
||||
([@faiq](https://github.com/faiq))
|
||||
* [`3f53cd7`](https://github.com/npm/npm/commit/3f53cd795f8a600e904a97f215ba5b5a9989d9dd)
|
||||
[#6559](https://github.com/npm/npm/issues/6559) save local dependencies in
|
||||
npm-shrinkwrap.json ([@Torsph](https://github.com/Torsph))
|
||||
* [`e249262`](https://github.com/npm/npm/commit/e24926268b2d2220910bc81cce6d3b2e08d94eb1)
|
||||
npm-faq.md: mention scoped pkgs in namespace Q
|
||||
([@smikes](https://github.com/smikes))
|
||||
* [`6b06ec4`](https://github.com/npm/npm/commit/6b06ec4ef5da490bdca1512fa7f12490245c192b)
|
||||
[#6642](https://github.com/npm/npm/issues/6642) `init-package-json@1.1.2`:
|
||||
Handle both `init-author-name` and `init.author.name`.
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`9cb334c`](https://github.com/npm/npm/commit/9cb334c8a895a55461aac18791babae779309a0e)
|
||||
[#6409](https://github.com/npm/npm/issues/6409) document commit-ish with
|
||||
GitHub URLs ([@smikes](https://github.com/smikes))
|
||||
* [`0aefae9`](https://github.com/npm/npm/commit/0aefae9bc2598a4b7a3ee7bb2306b42e3e12bb28)
|
||||
[#2959](https://github.com/npm/npm/issues/2959) npm run no longer fails
|
||||
silently ([@flipside](https://github.com/flipside))
|
||||
* [`e007a2c`](https://github.com/npm/npm/commit/e007a2c1e4fac1759fa61ac6e78c6b83b2417d11)
|
||||
[#3908](https://github.com/npm/npm/issues/3908) include command in spawn
|
||||
errors ([@smikes](https://github.com/smikes))
|
||||
|
||||
### v2.1.7 (2014-10-30):
|
||||
|
||||
* [`6750b05`](https://github.com/npm/npm/commit/6750b05dcba20d8990a672957ec56c48f97e241a)
|
||||
[#6398](https://github.com/npm/npm/issues/6398) `npm-registry-client@4.0.0`:
|
||||
consistent API, handle relative registry paths, use auth more consistently
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`7719cfd`](https://github.com/npm/npm/commit/7719cfdd8b204dfeccc41289707ea58b4d608905)
|
||||
[#6560](https://github.com/npm/npm/issues/6560) use new npm-registry-client
|
||||
API ([@othiym23](https://github.com/othiym23))
|
||||
* [`ed61971`](https://github.com/npm/npm/commit/ed619714c93718b6c1922b8c286f4b6cd2b97c80)
|
||||
move caching of search metadata from `npm-registry-client` to npm itself
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`3457041`](https://github.com/npm/npm/commit/34570414cd528debeb22943873440594d7f47abf)
|
||||
handle caching of metadata independently from `npm-registry-client`
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`20a331c`](https://github.com/npm/npm/commit/20a331ced6a52faac6ec242e3ffdf28bcd447c40)
|
||||
[#6538](https://github.com/npm/npm/issues/6538) map registry URLs to
|
||||
credentials more safely ([@indexzero](https://github.com/indexzero))
|
||||
* [`4072e97`](https://github.com/npm/npm/commit/4072e97856bf1e7affb38333d080c172767eea27)
|
||||
[#6589](https://github.com/npm/npm/issues/6589) `npm-registry-client@4.0.1`:
|
||||
allow publishing of packages with names identical to built-in Node modules
|
||||
([@feross](https://github.com/feross))
|
||||
* [`254f0e4`](https://github.com/npm/npm/commit/254f0e4adaf2c56e9df25c7343c43b0b0804a3b5)
|
||||
`tar@1.0.2`: better error-handling ([@runk](https://github.com/runk))
|
||||
* [`73ee2aa`](https://github.com/npm/npm/commit/73ee2aa4f1a47e43fe7cf4317a5446875f7521fa)
|
||||
`request@2.47.0` ([@mikeal](https://github.com/mikeal))
|
||||
|
||||
### v2.1.6 (2014-10-23):
|
||||
|
||||
* [`681b398`](https://github.com/npm/npm/commit/681b3987a18e7aba0aaf78c91a23c7cc0ab82ce8)
|
||||
[#6523](https://github.com/npm/npm/issues/6523) fix default `logelevel` doc
|
||||
([@KenanY](https://github.com/KenanY))
|
||||
* [`80b368f`](https://github.com/npm/npm/commit/80b368ffd786d4d008734b56c4a6fe12d2cb2926)
|
||||
[#6528](https://github.com/npm/npm/issues/6528) `npm version` should work in
|
||||
a git directory without git ([@terinjokes](https://github.com/terinjokes))
|
||||
* [`5f5f9e4`](https://github.com/npm/npm/commit/5f5f9e4ddf544c2da6adf3f8c885238b0e745076)
|
||||
[#6483](https://github.com/npm/npm/issues/6483) `init-package-json@1.1.1`:
|
||||
Properly pick up default values from environment variables.
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`a114870`](https://github.com/npm/npm/commit/a1148702f53f82d49606b2e4dac7581261fff442)
|
||||
perl 5.18.x doesn't like -pi without filenames
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`de5ba00`](https://github.com/npm/npm/commit/de5ba007a48db876eb5bfb6156435f3512d58977)
|
||||
`request@2.46.0`: Tests and cleanup.
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`76933f1`](https://github.com/npm/npm/commit/76933f169f17b5273b32e924a7b392d5729931a7)
|
||||
`fstream-npm@1.0.1`: Always include `LICENSE[.*]`, `LICENCE[.*]`,
|
||||
`CHANGES[.*]`, `CHANGELOG[.*]`, and `HISTORY[.*]`.
|
||||
([@jonathanong](https://github.com/jonathanong))
|
||||
|
||||
### v2.1.5 (2014-10-16):
|
||||
|
||||
* [`6a14b23`](https://github.com/npm/npm/commit/6a14b232a0e34158bd95bb25c607167be995c204)
|
||||
[#6397](https://github.com/npm/npm/issues/6397) Defactor npmconf back into
|
||||
npm. ([@othiym23](https://github.com/othiym23))
|
||||
* [`4000e33`](https://github.com/npm/npm/commit/4000e3333a76ca4844681efa8737cfac24b7c2c8)
|
||||
[#6323](https://github.com/npm/npm/issues/6323) Install `peerDependencies`
|
||||
from top. ([@othiym23](https://github.com/othiym23))
|
||||
* [`5d119ae`](https://github.com/npm/npm/commit/5d119ae246f27353b14ff063559d1ba8c616bb89)
|
||||
[#6498](https://github.com/npm/npm/issues/6498) Better error messages on
|
||||
malformed `.npmrc` properties. ([@nicks](https://github.com/nicks))
|
||||
* [`ae18efb`](https://github.com/npm/npm/commit/ae18efb65fed427b1ef18e4862885bf60b87b92e)
|
||||
[#6093](https://github.com/npm/npm/issues/6093) Replace instances of 'hash'
|
||||
with 'object' in documentation. ([@zeke](https://github.com/zeke))
|
||||
* [`53108b2`](https://github.com/npm/npm/commit/53108b276fec5f97a38250933a2768d58b6928da)
|
||||
[#1558](https://github.com/npm/npm/issues/1558) Clarify how local paths
|
||||
should be used. ([@KenanY](https://github.com/KenanY))
|
||||
* [`344fa1a`](https://github.com/npm/npm/commit/344fa1a219ac8867022df3dc58a47636dde8a242)
|
||||
[#6488](https://github.com/npm/npm/issues/6488) Work around bug in marked.
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
|
||||
OUTDATED DEPENDENCY CLEANUP JAMBOREE
|
||||
|
||||
* [`60c2942`](https://github.com/npm/npm/commit/60c2942e13655d9ecdf6e0f1f97f10cb71a75255)
|
||||
`realize-package-specifier@1.2.0`: Handle names and rawSpecs more
|
||||
consistently. ([@iarna](https://github.com/iarna))
|
||||
* [`1b5c95f`](https://github.com/npm/npm/commit/1b5c95fbda77b87342bd48c5ecac5b1fd571ccfe)
|
||||
`sha@1.3.0`: Change line endings?
|
||||
([@ForbesLindesay](https://github.com/ForbesLindesay))
|
||||
* [`d7dee3f`](https://github.com/npm/npm/commit/d7dee3f3f7d9e7c2061a4ecb4dd93e3e4bfe4f2e)
|
||||
`request@2.45.0`: Dependency updates, better proxy support, better compressed
|
||||
response handling, lots of 'use strict'.
|
||||
([@mikeal](https://github.com/mikeal))
|
||||
* [`3d75180`](https://github.com/npm/npm/commit/3d75180c2cc79fa3adfa0e4cb783a27192189a65)
|
||||
`opener@1.4.0`: Added gratuitous return.
|
||||
([@Domenic](https://github.com/Domenic))
|
||||
* [`8e2703f`](https://github.com/npm/npm/commit/8e2703f78d280d1edeb749e257dda1f288bad6e3)
|
||||
`retry@0.6.1` / `npm-registry-client@3.2.4`: Change of ownership.
|
||||
([@tim-kos](https://github.com/tim-kos))
|
||||
* [`c87b00f`](https://github.com/npm/npm/commit/c87b00f82f92434ee77831915012c77a6c244c39)
|
||||
`once@1.3.1`: Wrap once with wrappy. ([@isaacs](https://github.com/isaacs))
|
||||
* [`01ec790`](https://github.com/npm/npm/commit/01ec790fd47def56eda6abb3b8d809093e8f493f)
|
||||
`npm-user-validate@0.1.1`: Correct repository URL.
|
||||
([@robertkowalski](https://github.com/robertkowalski))
|
||||
* [`389e52c`](https://github.com/npm/npm/commit/389e52c2d94c818ca8935ccdcf392994fec564a2)
|
||||
`glob@4.0.6`: Now absolutely requires `graceful-fs`.
|
||||
([@isaacs](https://github.com/isaacs))
|
||||
* [`e15ab15`](https://github.com/npm/npm/commit/e15ab15a27a8f14cf0d9dc6f11dee452080378a0)
|
||||
`ini@1.3.0`: Tighten up whitespace handling.
|
||||
([@isaacs](https://github.com/isaacs))
|
||||
* [`7610f3e`](https://github.com/npm/npm/commit/7610f3e62e699292ece081bfd33084d436e3246d)
|
||||
`archy@1.0.0` ([@substack](https://github.com/substack))
|
||||
* [`9c13149`](https://github.com/npm/npm/commit/9c1314985e513e20ffa3ea0ca333ba2ab78299c9)
|
||||
`semver@4.1.0`: Add support for prerelease identifiers.
|
||||
([@bromanko](https://github.com/bromanko))
|
||||
* [`f096c25`](https://github.com/npm/npm/commit/f096c250441b031d758f03afbe8d2321f94c7703)
|
||||
`graceful-fs@3.0.4`: Add a bunch of additional tests, skip the unfortunate
|
||||
complications of `graceful-fs@3.0.3`. ([@isaacs](https://github.com/isaacs))
|
||||
|
||||
### v2.1.4 (2014-10-09):
|
||||
|
||||
* [`3aeb440`](https://github.com/npm/npm/commit/3aeb4401444fad83cc7a8d11bf2507658afa5248)
|
||||
[#6442](https://github.com/npm/npm/issues/6442) proxying git needs `GIT_SSL_CAINFO`
|
||||
([@wmertens](https://github.com/wmertens))
|
||||
* [`a8da8d6`](https://github.com/npm/npm/commit/a8da8d6e0cd56d97728c0b76b51604ee06ef6264)
|
||||
[#6413](https://github.com/npm/npm/issues/6413) write builtin config on any
|
||||
global npm install ([@isaacs](https://github.com/isaacs))
|
||||
* [`9e4d632`](https://github.com/npm/npm/commit/9e4d632c0142ba55df07d624667738b8727336fc)
|
||||
[#6343](https://github.com/npm/npm/issues/6343) don't pass run arguments to
|
||||
pre & post scripts ([@TheLudd](https://github.com/TheLudd))
|
||||
* [`d831b1f`](https://github.com/npm/npm/commit/d831b1f7ca1a9921ea5b394e39b7130ecbc6d7b4)
|
||||
[#6399](https://github.com/npm/npm/issues/6399) race condition: inflight
|
||||
installs, prevent `peerDependency` problems
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`82b775d`](https://github.com/npm/npm/commit/82b775d6ff34c4beb6c70b2344d491a9f2026577)
|
||||
[#6384](https://github.com/npm/npm/issues/6384) race condition: inflight
|
||||
caching by URL rather than semver range
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`7bee042`](https://github.com/npm/npm/commit/7bee0429066fedcc9e6e962c043eb740b3792809)
|
||||
`inflight@1.0.4`: callback can take arbitrary number of parameters
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`3bff494`](https://github.com/npm/npm/commit/3bff494f4abf17d6d7e0e4a3a76cf7421ecec35a)
|
||||
[#5195](https://github.com/npm/npm/issues/5195) fixed regex color regression
|
||||
for `npm search` ([@chrismeyersfsu](https://github.com/chrismeyersfsu))
|
||||
* [`33ba2d5`](https://github.com/npm/npm/commit/33ba2d585160a0a2a322cb76c4cd989acadcc984)
|
||||
[#6387](https://github.com/npm/npm/issues/6387) allow `npm view global` if
|
||||
package is specified ([@evanlucas](https://github.com/evanlucas))
|
||||
* [`99c4cfc`](https://github.com/npm/npm/commit/99c4cfceed413396d952cf05f4e3c710f9682c23)
|
||||
[#6388](https://github.com/npm/npm/issues/6388) npm-publish →
|
||||
npm-developers(7) ([@kennydude](https://github.com/kennydude))
|
||||
|
||||
TEST CLEANUP EXTRAVAGANZA:
|
||||
|
||||
* [`8d6bfcb`](https://github.com/npm/npm/commit/8d6bfcb88408f5885a2a67409854c43e5c3a23f6)
|
||||
tap tests run with no system-wide side effects
|
||||
([@chrismeyersfsu](https://github.com/chrismeyersfsu))
|
||||
* [`7a1472f`](https://github.com/npm/npm/commit/7a1472fbdbe99956ad19f629e7eb1cc07ba026ef)
|
||||
added npm cache cleanup script
|
||||
([@chrismeyersfsu](https://github.com/chrismeyersfsu))
|
||||
* [`0ce6a37`](https://github.com/npm/npm/commit/0ce6a3752fa9119298df15671254db6bc1d8e64c)
|
||||
stripped out dead test code (othiym23)
|
||||
* replace spawn with common.npm (@chrismeyersfsu):
|
||||
* [`0dcd614`](https://github.com/npm/npm/commit/0dcd61446335eaf541bf5f2d5186ec1419f86a42)
|
||||
test/tap/cache-shasum-fork.js
|
||||
* [`97f861c`](https://github.com/npm/npm/commit/97f861c967606a7e51e3d5047cf805d9d1adea5a)
|
||||
test/tap/false_name.js
|
||||
* [`d01b3de`](https://github.com/npm/npm/commit/d01b3de6ce03f25bbf3db97bfcd3cc85830d6801)
|
||||
test/tap/git-cache-locking.js
|
||||
* [`7b63016`](https://github.com/npm/npm/commit/7b63016778124c6728d6bd89a045c841ae3900b6)
|
||||
test/tap/pack-scoped.js
|
||||
* [`c877553`](https://github.com/npm/npm/commit/c877553265c39673e03f0a97972f692af81a595d)
|
||||
test/tap/scripts-whitespace-windows.js
|
||||
* [`df98525`](https://github.com/npm/npm/commit/df98525331e964131299d457173c697cfb3d95b9)
|
||||
test/tap/prepublish.js
|
||||
* [`99c4cfc`](https://github.com/npm/npm/commit/99c4cfceed413396d952cf05f4e3c710f9682c23)
|
||||
test/tap/prune.js
|
||||
|
||||
### v2.1.3 (2014-10-02):
|
||||
|
||||
BREAKING CHANGE FOR THE SQRT(i) PEOPLE ACTUALLY USING `npm submodule`:
|
||||
|
||||
* [`1e64473`](https://github.com/npm/npm/commit/1e6447360207f45ad6188e5780fdf4517de6e23d)
|
||||
`rm -rf npm submodule` command, which has been broken since the Carter
|
||||
Administration ([@isaacs](https://github.com/isaacs))
|
||||
|
||||
BREAKING CHANGE IF YOU ARE FOR SOME REASON STILL USING NODE 0.6 AND YOU SHOULD
|
||||
NOT BE DOING THAT CAN YOU NOT:
|
||||
|
||||
* [`3e431f9`](https://github.com/npm/npm/commit/3e431f9d6884acb4cde8bcb8a0b122a76b33ee1d)
|
||||
[joyent/node#8492](https://github.com/joyent/node/issues/8492) bye bye
|
||||
customFds, hello stdio ([@othiym23](https://github.com/othiym23))
|
||||
|
||||
Other changes:
|
||||
|
||||
* [`ea607a8`](https://github.com/npm/npm/commit/ea607a8a20e891ad38eed11b5ce2c3c0a65484b9)
|
||||
[#6372](https://github.com/npm/npm/issues/6372) noisily error (without
|
||||
aborting) on multi-{install,build} ([@othiym23](https://github.com/othiym23))
|
||||
* [`3ee2799`](https://github.com/npm/npm/commit/3ee2799b629fd079d2db21d7e8f25fa7fa1660d0)
|
||||
[#6372](https://github.com/npm/npm/issues/6372) only make cache creation
|
||||
requests in flight ([@othiym23](https://github.com/othiym23))
|
||||
* [`1a90ec2`](https://github.com/npm/npm/commit/1a90ec2f2cfbefc8becc6ef0c480e5edacc8a4cb)
|
||||
[#6372](https://github.com/npm/npm/issues/6372) wait to put Git URLs in
|
||||
flight until normalized ([@othiym23](https://github.com/othiym23))
|
||||
* [`664795b`](https://github.com/npm/npm/commit/664795bb7d8da7142417b3f4ef5986db3a394071)
|
||||
[#6372](https://github.com/npm/npm/issues/6372) log what is and isn't in
|
||||
flight ([@othiym23](https://github.com/othiym23))
|
||||
* [`00ef580`](https://github.com/npm/npm/commit/00ef58025a1f52dfabf2c4dc3898621d16a6e062)
|
||||
`inflight@1.0.3`: fix largely theoretical race condition, because we really
|
||||
really hate race conditions ([@isaacs](https://github.com/isaacs))
|
||||
* [`1cde465`](https://github.com/npm/npm/commit/1cde4658d897ae0f93ff1d65b258e1571b391182)
|
||||
[#6363](https://github.com/npm/npm/issues/6363)
|
||||
`realize-package-specifier@1.1.0`: handle local dependencies better
|
||||
([@iarna](https://github.com/iarna))
|
||||
* [`86f084c`](https://github.com/npm/npm/commit/86f084c6c6d7935cd85d72d9d94b8784c914d51e)
|
||||
`realize-package-specifier@1.0.2`: dependency realization! in its own module!
|
||||
([@iarna](https://github.com/iarna))
|
||||
* [`553d830`](https://github.com/npm/npm/commit/553d830334552b83606b6bebefd821c9ea71e964)
|
||||
`npm-package-arg@2.1.3`: simplified semver, better tests
|
||||
([@iarna](https://github.com/iarna))
|
||||
* [`bec9b61`](https://github.com/npm/npm/commit/bec9b61a316c19f5240657594f0905a92a474352)
|
||||
`readable-stream@1.0.32`: for some reason
|
||||
([@rvagg](https://github.com/rvagg))
|
||||
* [`ff08ec5`](https://github.com/npm/npm/commit/ff08ec5f6d717bdbd559de0b2ede769306a9a763)
|
||||
`dezalgo@1.0.1`: use wrappy for instrumentability
|
||||
([@isaacs](https://github.com/isaacs))
|
||||
|
||||
### v2.1.2 (2014-09-29):
|
||||
|
||||
* [`a1aa20e`](https://github.com/npm/npm/commit/a1aa20e44bb8285c6be1e7fa63b9da920e3a70ed)
|
||||
[#6282](https://github.com/npm/npm/issues/6282)
|
||||
`normalize-package-data@1.0.3`: don't prune bundledDependencies
|
||||
([@isaacs](https://github.com/isaacs))
|
||||
* [`a1f5fe1`](https://github.com/npm/npm/commit/a1f5fe1005043ce20a06e8b17a3e201aa3215357)
|
||||
move locks back into cache, now path-aware
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`a432c4b`](https://github.com/npm/npm/commit/a432c4b48c881294d6d79b5f41c2e1c16ad15a8a)
|
||||
convert lib/utils/tar.js to use atomic streams
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`b8c3c74`](https://github.com/npm/npm/commit/b8c3c74a3c963564233204161cc263e0912c930b)
|
||||
`fs-write-stream-atomic@1.0.2`: Now works with streams1 fs.WriteStreams.
|
||||
([@isaacs](https://github.com/isaacs))
|
||||
* [`c7ab76f`](https://github.com/npm/npm/commit/c7ab76f44cce5f42add5e3ba879bd10e7e00c3e6)
|
||||
logging cleanup ([@othiym23](https://github.com/othiym23))
|
||||
* [`4b2d95d`](https://github.com/npm/npm/commit/4b2d95d0641435b09d047ae5cb2226f292bf38f0)
|
||||
[#6329](https://github.com/npm/npm/issues/6329) efficiently validate tmp
|
||||
tarballs safely ([@othiym23](https://github.com/othiym23))
|
||||
|
||||
### v2.1.1 (2014-09-26):
|
||||
|
||||
* [`563225d`](https://github.com/npm/npm/commit/563225d813ea4c12f46d4f7821ac7f76ba8ee2d6)
|
||||
[#6318](https://github.com/npm/npm/issues/6318) clean up locking; prefix
|
||||
lockfile with "." ([@othiym23](https://github.com/othiym23))
|
||||
* [`c7f30e4`](https://github.com/npm/npm/commit/c7f30e4550fea882d31fcd4a55b681cd30713c44)
|
||||
[#6318](https://github.com/npm/npm/issues/6318) remove locking code around
|
||||
tarball packing and unpacking ([@othiym23](https://github.com/othiym23))
|
||||
|
||||
### v2.1.0 (2014-09-25):
|
||||
|
||||
NEW FEATURE:
|
||||
|
||||
* [`3635601`](https://github.com/npm/npm/commit/36356011b6f2e6a5a81490e85a0a44eb27199dd7)
|
||||
[#5520](https://github.com/npm/npm/issues/5520) Add `'npm view .'`.
|
||||
([@evanlucas](https://github.com/evanlucas))
|
||||
|
||||
Other changes:
|
||||
|
||||
* [`f24b552`](https://github.com/npm/npm/commit/f24b552b596d0627549cdd7c2d68fcf9006ea50a)
|
||||
[#6294](https://github.com/npm/npm/issues/6294) Lock cache → lock cache
|
||||
target. ([@othiym23](https://github.com/othiym23))
|
||||
* [`ad54450`](https://github.com/npm/npm/commit/ad54450104f94c82c501138b4eee488ce3a4555e)
|
||||
[#6296](https://github.com/npm/npm/issues/6296) Ensure that npm-debug.log
|
||||
file is created when rollbacks are done.
|
||||
([@isaacs](https://github.com/isaacs))
|
||||
* [`6810071`](https://github.com/npm/npm/commit/681007155a40ac9d165293bd6ec5d8a1423ccfca)
|
||||
docs: Default loglevel "http" → "warn".
|
||||
([@othiym23](https://github.com/othiym23))
|
||||
* [`35ac89a`](https://github.com/npm/npm/commit/35ac89a940f23db875e882ce2888208395130336)
|
||||
Skip installation of installed scoped packages.
|
||||
([@timoxley](https://github.com/timoxley))
|
||||
* [`e468527`](https://github.com/npm/npm/commit/e468527256ec599892b9b88d61205e061d1ab735)
|
||||
Ensure cleanup executes for scripts-whitespace-windows test.
|
||||
([@timoxley](https://github.com/timoxley))
|
||||
* [`ef9101b`](https://github.com/npm/npm/commit/ef9101b7f346797749415086956a0394528a12c4)
|
||||
Ensure cleanup executes for packed-scope test.
|
||||
([@timoxley](https://github.com/timoxley))
|
||||
* [`69b4d18`](https://github.com/npm/npm/commit/69b4d18cdbc2ae04c9afaffbd273b436a394f398)
|
||||
`fs-write-stream-atomic@1.0.1`: Fix a race condition in our race-condition
|
||||
fixer. ([@isaacs](https://github.com/isaacs))
|
||||
* [`26b17ff`](https://github.com/npm/npm/commit/26b17ff2e3b21ee26c6fdbecc8273520cff45718)
|
||||
[#6272](https://github.com/npm/npm/issues/6272) `npmconf` decides what the
|
||||
default prefix is. ([@othiym23](https://github.com/othiym23))
|
||||
* [`846faca`](https://github.com/npm/npm/commit/846facacc6427dafcf5756dcd36d9036539938de)
|
||||
Fix development dependency is preferred over dependency.
|
||||
([@andersjanmyr](https://github.com/andersjanmyr))
|
||||
* [`9d1a9db`](https://github.com/npm/npm/commit/9d1a9db3af5adc48a7158a5a053eeb89ee41a0e7)
|
||||
[#3265](https://github.com/npm/npm/issues/3265) Re-apply a71615a. Fixes
|
||||
[#3265](https://github.com/npm/npm/issues/3265) again, with a test!
|
||||
([@glasser](https://github.com/glasser))
|
||||
* [`1d41db0`](https://github.com/npm/npm/commit/1d41db0b2744a7bd50971c35cc060ea0600fb4bf)
|
||||
`marked-man@0.1.4`: Fixes formatting of synopsis blocks in man docs.
|
||||
([@kapouer](https://github.com/kapouer))
|
||||
* [`a623da0`](https://github.com/npm/npm/commit/a623da01bea1b2d3f3a18b9117cfd2d8e3cbdd77)
|
||||
[#5867](https://github.com/npm/npm/issues/5867) Specify dummy git template
|
||||
dir when cloning to prevent copying hooks.
|
||||
([@boneskull](https://github.com/boneskull))
|
||||
|
||||
### v2.0.2 (2014-09-19):
|
||||
|
||||
* [`42c872b`](https://github.com/npm/npm/commit/42c872b32cadc0e555638fc78eab3a38a04401d8)
|
||||
[#5920](https://github.com/npm/npm/issues/5920)
|
||||
`fs-write-stream-atomic@1.0.0` ([@isaacs](https://github.com/isaacs))
|
||||
* [`6784767`](https://github.com/npm/npm/commit/6784767fe15e28b44c81a1d4bb1738c642a65d78)
|
||||
[#5920](https://github.com/npm/npm/issues/5920) make all write streams atomic
|
||||
([@isaacs](https://github.com/isaacs))
|
||||
* [`f6fac00`](https://github.com/npm/npm/commit/f6fac000dd98ebdd5ea1d5921175735d463d328b)
|
||||
[#5920](https://github.com/npm/npm/issues/5920) barf on 0-length cached
|
||||
tarballs ([@isaacs](https://github.com/isaacs))
|
||||
* [`3b37592`](https://github.com/npm/npm/commit/3b37592a92ea98336505189ae8ca29248b0589f4)
|
||||
`write-file-atomic@1.1.0`: use graceful-fs
|
||||
([@iarna](https://github.com/iarna))
|
||||
|
||||
### v2.0.1 (2014-09-18):
|
||||
|
||||
* [`74c5ab0`](https://github.com/npm/npm/commit/74c5ab0a676793c6dc19a3fd5fe149f85fecb261)
|
||||
[#6201](https://github.com/npm/npm/issues/6201) `npmconf@2.1.0`: scope
|
||||
always-auth to registry URI ([@othiym23](https://github.com/othiym23))
|
||||
* [`774b127`](https://github.com/npm/npm/commit/774b127da1dd6fefe2f1299e73505d9146f00294)
|
||||
[#6201](https://github.com/npm/npm/issues/6201) `npm-registry-client@3.2.2`:
|
||||
use scoped always-auth settings ([@othiym23](https://github.com/othiym23))
|
||||
* [`f2d2190`](https://github.com/npm/npm/commit/f2d2190aa365d22378d03afab0da13f95614a583)
|
||||
[#6201](https://github.com/npm/npm/issues/6201) support saving
|
||||
`--always-auth` when logging in ([@othiym23](https://github.com/othiym23))
|
||||
* [`17c941a`](https://github.com/npm/npm/commit/17c941a2d583210fe97ed47e2968d94ce9f774ba)
|
||||
[#6163](https://github.com/npm/npm/issues/6163) use `write-file-atomic`
|
||||
instead of `fs.writeFile()` ([@fiws](https://github.com/fiws))
|
||||
* [`fb5724f`](https://github.com/npm/npm/commit/fb5724fd98e1509c939693568df83d11417ea337)
|
||||
[#5925](https://github.com/npm/npm/issues/5925) `npm init -f`: allow `npm
|
||||
init` to run without prompting
|
||||
([@michaelnisi](https://github.com/michaelnisi))
|
||||
* [`b706d63`](https://github.com/npm/npm/commit/b706d637d5965dbf8f7ce07dc5c4bc80887f30d8)
|
||||
[#3059](https://github.com/npm/npm/issues/3059) disable prepublish when
|
||||
running `npm install --production`
|
||||
([@jussi](https://github.com/jussi)-kalliokoski)
|
||||
* [`119f068`](https://github.com/npm/npm/commit/119f068eae2a36fa8b9c9ca557c70377792243a4)
|
||||
attach the node version used when publishing a package to its registry
|
||||
metadata ([@othiym23](https://github.com/othiym23))
|
||||
* [`8fe0081`](https://github.com/npm/npm/commit/8fe008181665519c2ac201ee432a3ece9798c31f)
|
||||
seriously, don't use `npm -g update npm`
|
||||
([@thomblake](https://github.com/thomblake))
|
||||
* [`ea5b3d4`](https://github.com/npm/npm/commit/ea5b3d446b86dcabb0dbc6dba374d3039342ecb3)
|
||||
`request@2.44.0` ([@othiym23](https://github.com/othiym23))
|
||||
|
||||
### v2.0.0 (2014-09-12):
|
||||
|
||||
BREAKING CHANGES:
|
||||
|
||||
3
deps/npm/CONTRIBUTING.md
vendored
3
deps/npm/CONTRIBUTING.md
vendored
@@ -7,3 +7,6 @@
|
||||
issues](https://github.com/npm/npm/search?q=Similar%20issues&type=Issues).
|
||||
* Ensure your new issue conforms to the [Contributing
|
||||
Guidelines](https://github.com/npm/npm/wiki/Contributing-Guidelines).
|
||||
|
||||
Participation in this open source project is subject to the [npm Code
|
||||
of Conduct](http://www.npmjs.com/policies/conduct).
|
||||
|
||||
109
deps/npm/Makefile
vendored
109
deps/npm/Makefile
vendored
@@ -31,6 +31,28 @@ misc_mandocs = $(shell find doc/misc -name '*.md' \
|
||||
|sed 's|doc/misc/|man/man7/|g' ) \
|
||||
man/man7/npm-index.7
|
||||
|
||||
|
||||
cli_partdocs = $(shell find doc/cli -name '*.md' \
|
||||
|sed 's|.md|.html|g' \
|
||||
|sed 's|doc/cli/|html/partial/doc/cli/|g' ) \
|
||||
html/partial/doc/README.html
|
||||
|
||||
api_partdocs = $(shell find doc/api -name '*.md' \
|
||||
|sed 's|.md|.html|g' \
|
||||
|sed 's|doc/api/|html/partial/doc/api/|g' )
|
||||
|
||||
files_partdocs = $(shell find doc/files -name '*.md' \
|
||||
|sed 's|.md|.html|g' \
|
||||
|sed 's|doc/files/|html/partial/doc/files/|g' ) \
|
||||
html/partial/doc/files/npm-json.html \
|
||||
html/partial/doc/files/npm-global.html
|
||||
|
||||
misc_partdocs = $(shell find doc/misc -name '*.md' \
|
||||
|sed 's|.md|.html|g' \
|
||||
|sed 's|doc/misc/|html/partial/doc/misc/|g' ) \
|
||||
html/partial/doc/index.html
|
||||
|
||||
|
||||
cli_htmldocs = $(shell find doc/cli -name '*.md' \
|
||||
|sed 's|.md|.html|g' \
|
||||
|sed 's|doc/cli/|html/doc/cli/|g' ) \
|
||||
@@ -53,6 +75,8 @@ misc_htmldocs = $(shell find doc/misc -name '*.md' \
|
||||
|
||||
mandocs = $(api_mandocs) $(cli_mandocs) $(files_mandocs) $(misc_mandocs)
|
||||
|
||||
partdocs = $(api_partdocs) $(cli_partdocs) $(files_partdocs) $(misc_partdocs)
|
||||
|
||||
htmldocs = $(api_htmldocs) $(cli_htmldocs) $(files_htmldocs) $(misc_htmldocs)
|
||||
|
||||
all: doc
|
||||
@@ -61,10 +85,10 @@ latest:
|
||||
@echo "Installing latest published npm"
|
||||
@echo "Use 'make install' or 'make link' to install the code"
|
||||
@echo "in this folder that you're looking at right now."
|
||||
node cli.js install -g -f npm
|
||||
node cli.js install -g -f npm ${NPMOPTS}
|
||||
|
||||
install: docclean all
|
||||
node cli.js install -g -f
|
||||
install: all
|
||||
node cli.js install -g -f ${NPMOPTS}
|
||||
|
||||
# backwards compat
|
||||
dev: install
|
||||
@@ -79,7 +103,7 @@ clean: markedclean marked-manclean doc-clean uninstall
|
||||
uninstall:
|
||||
node cli.js rm npm -g -f
|
||||
|
||||
doc: $(mandocs) $(htmldocs)
|
||||
doc: $(mandocs) $(htmldocs) $(partdocs)
|
||||
|
||||
markedclean:
|
||||
rm -rf node_modules/marked node_modules/.bin/marked .building_marked
|
||||
@@ -119,43 +143,73 @@ man/man5/%.5: doc/files/%.md scripts/doc-build.sh package.json
|
||||
@[ -d man/man5 ] || mkdir -p man/man5
|
||||
scripts/doc-build.sh $< $@
|
||||
|
||||
doc/misc/npm-index.md: scripts/index-build.js package.json
|
||||
node scripts/index-build.js > $@
|
||||
|
||||
html/doc/index.html: doc/misc/npm-index.md $(html_docdeps)
|
||||
@[ -d html/doc ] || mkdir -p html/doc
|
||||
scripts/doc-build.sh $< $@
|
||||
|
||||
man/man7/%.7: doc/misc/%.md scripts/doc-build.sh package.json
|
||||
@[ -d man/man7 ] || mkdir -p man/man7
|
||||
scripts/doc-build.sh $< $@
|
||||
|
||||
html/doc/README.html: README.md $(html_docdeps)
|
||||
|
||||
doc/misc/npm-index.md: scripts/index-build.js package.json
|
||||
node scripts/index-build.js > $@
|
||||
|
||||
|
||||
# html/doc depends on html/partial/doc
|
||||
html/doc/%.html: html/partial/doc/%.html
|
||||
@[ -d html/doc ] || mkdir -p html/doc
|
||||
scripts/doc-build.sh $< $@
|
||||
|
||||
html/doc/cli/%.html: doc/cli/%.md $(html_docdeps)
|
||||
html/doc/README.html: html/partial/doc/README.html
|
||||
@[ -d html/doc ] || mkdir -p html/doc
|
||||
scripts/doc-build.sh $< $@
|
||||
|
||||
html/doc/cli/%.html: html/partial/doc/cli/%.html
|
||||
@[ -d html/doc/cli ] || mkdir -p html/doc/cli
|
||||
scripts/doc-build.sh $< $@
|
||||
|
||||
html/doc/api/%.html: doc/api/%.md $(html_docdeps)
|
||||
@[ -d html/doc/api ] || mkdir -p html/doc/api
|
||||
html/doc/misc/%.html: html/partial/doc/misc/%.html
|
||||
@[ -d html/doc/misc ] || mkdir -p html/doc/misc
|
||||
scripts/doc-build.sh $< $@
|
||||
|
||||
html/doc/files/npm-json.html: html/doc/files/package.json.html
|
||||
cp $< $@
|
||||
html/doc/files/npm-global.html: html/doc/files/npm-folders.html
|
||||
cp $< $@
|
||||
|
||||
html/doc/files/%.html: doc/files/%.md $(html_docdeps)
|
||||
html/doc/files/%.html: html/partial/doc/files/%.html
|
||||
@[ -d html/doc/files ] || mkdir -p html/doc/files
|
||||
scripts/doc-build.sh $< $@
|
||||
|
||||
html/doc/misc/%.html: doc/misc/%.md $(html_docdeps)
|
||||
@[ -d html/doc/misc ] || mkdir -p html/doc/misc
|
||||
html/doc/api/%.html: html/partial/doc/api/%.html
|
||||
@[ -d html/doc/api ] || mkdir -p html/doc/api
|
||||
scripts/doc-build.sh $< $@
|
||||
|
||||
|
||||
html/partial/doc/index.html: doc/misc/npm-index.md $(html_docdeps)
|
||||
@[ -d html/partial/doc ] || mkdir -p html/partial/doc
|
||||
scripts/doc-build.sh $< $@
|
||||
|
||||
html/partial/doc/README.html: README.md $(html_docdeps)
|
||||
@[ -d html/partial/doc ] || mkdir -p html/partial/doc
|
||||
scripts/doc-build.sh $< $@
|
||||
|
||||
html/partial/doc/cli/%.html: doc/cli/%.md $(html_docdeps)
|
||||
@[ -d html/partial/doc/cli ] || mkdir -p html/partial/doc/cli
|
||||
scripts/doc-build.sh $< $@
|
||||
|
||||
html/partial/doc/api/%.html: doc/api/%.md $(html_docdeps)
|
||||
@[ -d html/partial/doc/api ] || mkdir -p html/partial/doc/api
|
||||
scripts/doc-build.sh $< $@
|
||||
|
||||
html/partial/doc/files/npm-json.html: html/partial/doc/files/package.json.html
|
||||
cp $< $@
|
||||
html/partial/doc/files/npm-global.html: html/partial/doc/files/npm-folders.html
|
||||
cp $< $@
|
||||
|
||||
html/partial/doc/files/%.html: doc/files/%.md $(html_docdeps)
|
||||
@[ -d html/partial/doc/files ] || mkdir -p html/partial/doc/files
|
||||
scripts/doc-build.sh $< $@
|
||||
|
||||
html/partial/doc/misc/%.html: doc/misc/%.md $(html_docdeps)
|
||||
@[ -d html/partial/doc/misc ] || mkdir -p html/partial/doc/misc
|
||||
scripts/doc-build.sh $< $@
|
||||
|
||||
|
||||
|
||||
|
||||
marked: node_modules/.bin/marked
|
||||
|
||||
node_modules/.bin/marked:
|
||||
@@ -176,7 +230,12 @@ test: doc
|
||||
tag:
|
||||
npm tag npm@$(PUBLISHTAG) latest
|
||||
|
||||
publish: link doc
|
||||
authors:
|
||||
@bash scripts/update-authors.sh &&\
|
||||
git add AUTHORS &&\
|
||||
git commit -m "update AUTHORS" || true
|
||||
|
||||
publish: link doc authors
|
||||
@git push origin :v$(shell npm -v) 2>&1 || true
|
||||
git clean -fd &&\
|
||||
git push origin $(BRANCH) &&\
|
||||
@@ -189,4 +248,4 @@ release:
|
||||
sandwich:
|
||||
@[ $$(whoami) = "root" ] && (echo "ok"; echo "ham" > sandwich) || (echo "make it yourself" && exit 13)
|
||||
|
||||
.PHONY: all latest install dev link doc clean uninstall test man doc-clean docclean release
|
||||
.PHONY: all latest install dev link doc clean uninstall test man doc-clean docclean release authors
|
||||
|
||||
52
deps/npm/README.md
vendored
52
deps/npm/README.md
vendored
@@ -1,4 +1,4 @@
|
||||
npm(1) -- node package manager
|
||||
npm(1) -- a JavaScript package manager
|
||||
==============================
|
||||
[](https://travis-ci.org/npm/npm)
|
||||
## SYNOPSIS
|
||||
@@ -36,11 +36,11 @@ paths, etc.) then read on.
|
||||
## Fancy Install (Unix)
|
||||
|
||||
There's a pretty robust install script at
|
||||
<https://www.npmjs.org/install.sh>. You can download that and run it.
|
||||
<https://www.npmjs.com/install.sh>. You can download that and run it.
|
||||
|
||||
Here's an example using curl:
|
||||
|
||||
curl -L https://npmjs.org/install.sh | sh
|
||||
curl -L https://npmjs.com/install.sh | sh
|
||||
|
||||
### Slightly Fancier
|
||||
|
||||
@@ -62,11 +62,16 @@ arbitrary config keys using the `./configure --key=val ...`, and then
|
||||
run npm commands by doing `node cli.js <cmd> <args>`. (This is helpful
|
||||
for testing, or running stuff without actually installing npm itself.)
|
||||
|
||||
## Fancy Windows Install
|
||||
## Windows Install or Upgrade
|
||||
|
||||
You can download a zip file from <https://npmjs.org/dist/>, and unpack it
|
||||
You can download a zip file from <https://github.com/npm/npm/releases>, and unpack it
|
||||
in the same folder where node.exe lives.
|
||||
|
||||
The latest version in a zip file is 1.4.12. To upgrade to npm 2, follow the
|
||||
Windows upgrade instructions in the npm Troubleshooting Guide:
|
||||
|
||||
<https://github.com/npm/npm/wiki/Troubleshooting#upgrading-on-windows>
|
||||
|
||||
If that's not fancy enough for you, then you can fetch the code with
|
||||
git, and mess with it directly.
|
||||
|
||||
@@ -74,31 +79,6 @@ git, and mess with it directly.
|
||||
|
||||
No.
|
||||
|
||||
## Permissions when Using npm to Install Other Stuff
|
||||
|
||||
**tl;dr**
|
||||
|
||||
* Use `sudo` for greater safety. Or don't, if you prefer not to.
|
||||
* npm will downgrade permissions if it's root before running any build
|
||||
scripts that package authors specified.
|
||||
|
||||
### More details...
|
||||
|
||||
As of version 0.3, it is recommended to run npm as root.
|
||||
This allows npm to change the user identifier to the `nobody` user prior
|
||||
to running any package build or test commands.
|
||||
|
||||
If you are not the root user, or if you are on a platform that does not
|
||||
support uid switching, then npm will not attempt to change the userid.
|
||||
|
||||
If you would like to ensure that npm **always** runs scripts as the
|
||||
"nobody" user, and have it fail if it cannot downgrade permissions, then
|
||||
set the following configuration param:
|
||||
|
||||
npm config set unsafe-perm false
|
||||
|
||||
This will prevent running in unsafe mode, even as non-root users.
|
||||
|
||||
## Uninstalling
|
||||
|
||||
So sad to see you go.
|
||||
@@ -154,7 +134,7 @@ use npm itself to do.
|
||||
if (er) return commandFailed(er)
|
||||
// command succeeded, and data might have some info
|
||||
})
|
||||
npm.on("log", function (message) { .... })
|
||||
npm.registry.log.on("log", function (message) { .... })
|
||||
})
|
||||
|
||||
The `load` function takes an object hash of the command-line configs.
|
||||
@@ -173,13 +153,13 @@ help config` to learn about all the options you can set there.
|
||||
|
||||
## More Docs
|
||||
|
||||
Check out the [docs](https://www.npmjs.org/doc/),
|
||||
especially the [faq](https://www.npmjs.org/doc/faq.html).
|
||||
Check out the [docs](https://docs.npmjs.com/),
|
||||
especially the [faq](https://docs.npmjs.com/misc/faq).
|
||||
|
||||
You can use the `npm help` command to read any of them.
|
||||
|
||||
If you're a developer, and you want to use npm to publish your program,
|
||||
you should [read this](https://www.npmjs.org/doc/developers.html)
|
||||
you should [read this](https://docs.npmjs.com/misc/developers)
|
||||
|
||||
## Legal Stuff
|
||||
|
||||
@@ -199,7 +179,7 @@ specific purpose, or lack of malice in any given npm package.
|
||||
|
||||
If you have a complaint about a package in the public npm registry,
|
||||
and cannot [resolve it with the package
|
||||
owner](https://www.npmjs.org/doc/misc/npm-disputes.html), please email
|
||||
owner](https://docs.npmjs.com/misc/disputes), please email
|
||||
<support@npmjs.com> and explain the situation.
|
||||
|
||||
Any data published to The npm Registry (including user account
|
||||
@@ -228,8 +208,6 @@ When you find issues, please report them:
|
||||
|
||||
* web:
|
||||
<https://github.com/npm/npm/issues>
|
||||
* email:
|
||||
<npm-@googlegroups.com>
|
||||
|
||||
Be sure to include *all* of the output from the npm command that didn't work
|
||||
as expected. The `npm-debug.log` file is also helpful to provide.
|
||||
|
||||
2
deps/npm/bin/npm-cli.js
vendored
2
deps/npm/bin/npm-cli.js
vendored
@@ -21,7 +21,7 @@ log.info("it worked if it ends with", "ok")
|
||||
|
||||
var path = require("path")
|
||||
, npm = require("../lib/npm.js")
|
||||
, npmconf = require("npmconf")
|
||||
, npmconf = require("../lib/config/core.js")
|
||||
, errorHandler = require("../lib/utils/error-handler.js")
|
||||
|
||||
, configDefs = npmconf.defs
|
||||
|
||||
2
deps/npm/doc/api/npm-bin.md
vendored
2
deps/npm/doc/api/npm-bin.md
vendored
@@ -10,4 +10,4 @@ npm-bin(3) -- Display npm bin folder
|
||||
Print the folder where npm will install executables.
|
||||
|
||||
This function should not be used programmatically. Instead, just refer
|
||||
to the `npm.bin` member.
|
||||
to the `npm.bin` property.
|
||||
|
||||
2
deps/npm/doc/api/npm-help-search.md
vendored
2
deps/npm/doc/api/npm-help-search.md
vendored
@@ -27,4 +27,4 @@ array of results is returned. Each result is an object with these properties:
|
||||
* file:
|
||||
Name of the file that matched
|
||||
|
||||
The silent parameter is not neccessary not used, but it may in the future.
|
||||
The silent parameter is not necessary not used, but it may in the future.
|
||||
|
||||
6
deps/npm/doc/api/npm-load.md
vendored
6
deps/npm/doc/api/npm-load.md
vendored
@@ -10,9 +10,9 @@ npm-load(3) -- Load config settings
|
||||
npm.load() must be called before any other function call. Both parameters are
|
||||
optional, but the second is recommended.
|
||||
|
||||
The first parameter is an object hash of command-line config params, and the
|
||||
second parameter is a callback that will be called when npm is loaded and
|
||||
ready to serve.
|
||||
The first parameter is an object containing command-line config params, and the
|
||||
second parameter is a callback that will be called when npm is loaded and ready
|
||||
to serve.
|
||||
|
||||
The first parameter should follow a similar structure as the package.json
|
||||
config object.
|
||||
|
||||
2
deps/npm/doc/api/npm-ls.md
vendored
2
deps/npm/doc/api/npm-ls.md
vendored
@@ -52,5 +52,5 @@ List packages in the global install prefix instead of in the current
|
||||
project.
|
||||
|
||||
Note, if parseable is set or long isn't set, then duplicates will be trimmed.
|
||||
This means that if a submodule a same dependency as a parent module, then the
|
||||
This means that if a submodule has the same dependency as a parent module, then the
|
||||
dependency will only be output once.
|
||||
|
||||
33
deps/npm/doc/api/npm-restart.md
vendored
33
deps/npm/doc/api/npm-restart.md
vendored
@@ -1,5 +1,5 @@
|
||||
npm-restart(3) -- Start a package
|
||||
=================================
|
||||
npm-restart(3) -- Restart a package
|
||||
===================================
|
||||
|
||||
## SYNOPSIS
|
||||
|
||||
@@ -7,14 +7,33 @@ npm-restart(3) -- Start a package
|
||||
|
||||
## DESCRIPTION
|
||||
|
||||
This runs a package's "restart" script, if one was provided.
|
||||
Otherwise it runs package's "stop" script, if one was provided, and then
|
||||
the "start" script.
|
||||
This restarts a package (or multiple packages).
|
||||
|
||||
This runs a package's "stop", "restart", and "start" scripts, and associated
|
||||
pre- and post- scripts, in the order given below:
|
||||
|
||||
1. prerestart
|
||||
2. prestop
|
||||
3. stop
|
||||
4. poststop
|
||||
5. restart
|
||||
6. prestart
|
||||
7. start
|
||||
8. poststart
|
||||
9. postrestart
|
||||
|
||||
If no version is specified, then it restarts the "active" version.
|
||||
|
||||
npm can run tests on multiple packages. Just specify multiple packages
|
||||
in the `packages` parameter.
|
||||
npm can restart multiple packages. Just specify multiple packages in
|
||||
the `packages` parameter.
|
||||
|
||||
## NOTE
|
||||
|
||||
Note that the "restart" script is run **in addition to** the "stop"
|
||||
and "start" scripts, not instead of them.
|
||||
|
||||
This is the behavior as of `npm` major version 2. A change in this
|
||||
behavior will be accompanied by an increase in major version number
|
||||
|
||||
## SEE ALSO
|
||||
|
||||
|
||||
4
deps/npm/doc/api/npm-start.md
vendored
4
deps/npm/doc/api/npm-start.md
vendored
@@ -9,5 +9,5 @@ npm-start(3) -- Start a package
|
||||
|
||||
This runs a package's "start" script, if one was provided.
|
||||
|
||||
npm can run tests on multiple packages. Just specify multiple packages
|
||||
in the `packages` parameter.
|
||||
npm can start multiple packages. Just specify multiple packages in the
|
||||
`packages` parameter.
|
||||
|
||||
28
deps/npm/doc/api/npm-submodule.md
vendored
28
deps/npm/doc/api/npm-submodule.md
vendored
@@ -1,28 +0,0 @@
|
||||
npm-submodule(3) -- Add a package as a git submodule
|
||||
====================================================
|
||||
|
||||
## SYNOPSIS
|
||||
|
||||
npm.commands.submodule(packages, callback)
|
||||
|
||||
## DESCRIPTION
|
||||
|
||||
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
|
||||
`node_modules/<pkg name>`.
|
||||
|
||||
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 `.git` subfolder
|
||||
in it.
|
||||
|
||||
This command also does not install missing dependencies, if the package
|
||||
does not include them in its git repository. If `npm ls` reports that
|
||||
things are missing, you can either install, link, or submodule them yourself,
|
||||
or you can do `npm explore <pkgname> -- npm install` to install the
|
||||
dependencies into the submodule folder.
|
||||
|
||||
## SEE ALSO
|
||||
|
||||
* npm help json
|
||||
* git help submodule
|
||||
2
deps/npm/doc/api/npm-tag.md
vendored
2
deps/npm/doc/api/npm-tag.md
vendored
@@ -18,6 +18,6 @@ is the package name and version is the version number (much like installing a
|
||||
specific version).
|
||||
|
||||
The second element is the name of the tag to tag this version with. If this
|
||||
parameter is missing or falsey (empty), the default froom the config will be
|
||||
parameter is missing or falsey (empty), the default from the config will be
|
||||
used. For more information about how to set this config, check
|
||||
`man 3 npm-config` for programmatic usage or `man npm-config` for cli usage.
|
||||
|
||||
23
deps/npm/doc/api/npm.md
vendored
23
deps/npm/doc/api/npm.md
vendored
@@ -1,5 +1,5 @@
|
||||
npm(3) -- node package manager
|
||||
==============================
|
||||
npm(3) -- javascript package manager
|
||||
====================================
|
||||
|
||||
## SYNOPSIS
|
||||
|
||||
@@ -25,13 +25,12 @@ This is the API documentation for npm.
|
||||
To find documentation of the command line
|
||||
client, see `npm(1)`.
|
||||
|
||||
Prior to using npm's commands, `npm.load()` must be called.
|
||||
If you provide `configObject` as an object hash of top-level
|
||||
configs, they override the values stored in the various config
|
||||
locations. In the npm command line client, this set of configs
|
||||
is parsed from the command line options. Additional configuration
|
||||
params are loaded from two configuration files. See `npm-config(1)`,
|
||||
`npm-config(7)`, and `npmrc(5)` for more information.
|
||||
Prior to using npm's commands, `npm.load()` must be called. If you provide
|
||||
`configObject` as an object map of top-level configs, they override the values
|
||||
stored in the various config locations. In the npm command line client, this
|
||||
set of configs is parsed from the command line options. Additional
|
||||
configuration params are loaded from two configuration files. See
|
||||
`npm-config(1)`, `npm-config(7)`, and `npmrc(5)` for more information.
|
||||
|
||||
After that, each of the functions are accessible in the
|
||||
commands object: `npm.commands.<cmd>`. See `npm-index(7)` for a list of
|
||||
@@ -88,9 +87,9 @@ command.
|
||||
|
||||
## MAGIC
|
||||
|
||||
For each of the methods in the `npm.commands` hash, a method is added to
|
||||
the npm object, which takes a set of positional string arguments rather
|
||||
than an array and a callback.
|
||||
For each of the methods in the `npm.commands` object, a method is added to the
|
||||
npm object, which takes a set of positional string arguments rather than an
|
||||
array and a callback.
|
||||
|
||||
If the last argument is a callback, then it will use the supplied
|
||||
callback. However, if no callback is provided, then it will print out
|
||||
|
||||
63
deps/npm/doc/cli/npm-access.md
vendored
Normal file
63
deps/npm/doc/cli/npm-access.md
vendored
Normal file
@@ -0,0 +1,63 @@
|
||||
npm-access(1) -- Set access level on published packages
|
||||
=======================================================
|
||||
|
||||
## SYNOPSIS
|
||||
|
||||
npm access public [<package>]
|
||||
npm access restricted [<package>]
|
||||
|
||||
npm access add <read-only|read-write> <entity> [<package>]
|
||||
npm access rm <entity> [<package>]
|
||||
|
||||
npm access ls [<package>]
|
||||
npm access edit [<package>]
|
||||
|
||||
## DESCRIPTION
|
||||
|
||||
Used to set access controls on private packages.
|
||||
|
||||
For all of the subcommands, `npm access` will perform actions on the packages
|
||||
in the current working directory if no package name is passed to the
|
||||
subcommand.
|
||||
|
||||
* public / restricted:
|
||||
Set a package to be either publicly accessible or restricted.
|
||||
|
||||
* add / rm:
|
||||
Add or remove the ability of users and teams to have read-only or read-write
|
||||
access to a package.
|
||||
|
||||
* ls:
|
||||
Show all of the access privileges for a package. Will only show permissions
|
||||
for packages to which you have at least read access.
|
||||
|
||||
* edit:
|
||||
Set the access privileges for a package at once using `$EDITOR`.
|
||||
|
||||
## DETAILS
|
||||
|
||||
`npm access` always operates directly on the current registry, configurable
|
||||
from the command line using `--registry=<registry url>`.
|
||||
|
||||
Unscoped packages are *always public*.
|
||||
|
||||
Scoped packages *default to restricted*, but you can either publish them as
|
||||
public using `npm publish --access=public`, or set their access as public using
|
||||
`npm access public` after the initial publish.
|
||||
|
||||
You must have privileges to set the access of a package:
|
||||
|
||||
* You are an owner of an unscoped or scoped package.
|
||||
* You are a member of the team that owns a scope.
|
||||
* You have been given read-write privileges for a package, either as a member
|
||||
of a team or directly as an owner.
|
||||
|
||||
If your account is not paid, then attempts to publish scoped packages will fail
|
||||
with an HTTP 402 status code (logically enough), unless you use
|
||||
`--access=public`.
|
||||
|
||||
## SEE ALSO
|
||||
|
||||
* npm-publish(1)
|
||||
* npm-config(7)
|
||||
* npm-registry(7)
|
||||
26
deps/npm/doc/cli/npm-adduser.md
vendored
26
deps/npm/doc/cli/npm-adduser.md
vendored
@@ -3,7 +3,7 @@ npm-adduser(1) -- Add a registry user account
|
||||
|
||||
## SYNOPSIS
|
||||
|
||||
npm adduser [--registry=url] [--scope=@orgname]
|
||||
npm adduser [--registry=url] [--scope=@orgname] [--always-auth]
|
||||
|
||||
## DESCRIPTION
|
||||
|
||||
@@ -13,13 +13,14 @@ the default registry will be used (see `npm-config(7)`).
|
||||
|
||||
The username, password, and email are read in from prompts.
|
||||
|
||||
You may use this command to change your email address, but not username
|
||||
or password.
|
||||
To reset your password, go to <https://www.npmjs.com/forgot>
|
||||
|
||||
To reset your password, go to <https://www.npmjs.org/forgot>
|
||||
To change your email address, go to <https://www.npmjs.com/email-edit>
|
||||
|
||||
You may use this command multiple times with the same user account to
|
||||
authorize on a new machine.
|
||||
authorize on a new machine. When authenticating on a new machine,
|
||||
the username, password and email address must all match with
|
||||
your existing record.
|
||||
|
||||
`npm login` is an alias to `adduser` and behaves exactly the same way.
|
||||
|
||||
@@ -45,6 +46,21 @@ e.g.
|
||||
This will set a registry for the given scope and login or create a user for
|
||||
that registry at the same time.
|
||||
|
||||
### always-auth
|
||||
|
||||
Default: false
|
||||
|
||||
If specified, save configuration indicating that all requests to the given
|
||||
registry should include authorization information. Useful for private
|
||||
registries. Can be used with `--registry` and / or `--scope`, e.g.
|
||||
|
||||
npm adduser --registry=http://private-registry.example.com --always-auth
|
||||
|
||||
This will ensure that all requests to that registry (including for tarballs)
|
||||
include an authorization header. See `always-auth` in `npm-config(7)` for more
|
||||
details on always-auth. Registry-specific configuration of `always-auth` takes
|
||||
precedence over any global configuration.
|
||||
|
||||
## SEE ALSO
|
||||
|
||||
* npm-registry(7)
|
||||
|
||||
72
deps/npm/doc/cli/npm-dist-tag.md
vendored
Normal file
72
deps/npm/doc/cli/npm-dist-tag.md
vendored
Normal file
@@ -0,0 +1,72 @@
|
||||
npm-dist-tag(1) -- Modify package distribution tags
|
||||
===================================================
|
||||
|
||||
## SYNOPSIS
|
||||
|
||||
npm dist-tag add <pkg>@<version> [<tag>]
|
||||
npm dist-tag rm <pkg> <tag>
|
||||
npm dist-tag ls [<pkg>]
|
||||
|
||||
## DESCRIPTION
|
||||
|
||||
Add, remove, and enumerate distribution tags on a package:
|
||||
|
||||
* add:
|
||||
Tags the specified version of the package with the specified tag, or the
|
||||
`--tag` config if not specified.
|
||||
|
||||
* rm:
|
||||
Clear a tag that is no longer in use from the package.
|
||||
|
||||
* ls:
|
||||
Show all of the dist-tags for a package, defaulting to the package in
|
||||
the curren prefix.
|
||||
|
||||
A tag can be used when installing packages as a reference to a version instead
|
||||
of using a specific version number:
|
||||
|
||||
npm install <name>@<tag>
|
||||
|
||||
When installing dependencies, a preferred tagged version may be specified:
|
||||
|
||||
npm install --tag <tag>
|
||||
|
||||
This also applies to `npm dedupe`.
|
||||
|
||||
Publishing a package always sets the "latest" tag to the published version.
|
||||
|
||||
## PURPOSE
|
||||
|
||||
Tags can be used to provide an alias instead of version numbers. For
|
||||
example, `npm` currently uses the tag "next" to identify the upcoming
|
||||
version, and the tag "latest" to identify the current version.
|
||||
|
||||
A project might choose to have multiple streams of development, e.g.,
|
||||
"stable", "canary".
|
||||
|
||||
## CAVEATS
|
||||
|
||||
This command used to be known as `npm tag`, which only created new tags, and so
|
||||
had a different syntax.
|
||||
|
||||
Tags must share a namespace with version numbers, because they are specified in
|
||||
the same slot: `npm install <pkg>@<version>` vs `npm install <pkg>@<tag>`.
|
||||
|
||||
Tags that can be interpreted as valid semver ranges will be rejected. For
|
||||
example, `v1.4` cannot be used as a tag, because it is interpreted by semver as
|
||||
`>=1.4.0 <1.5.0`. See <https://github.com/npm/npm/issues/6082>.
|
||||
|
||||
The simplest way to avoid semver problems with tags is to use tags that do not
|
||||
begin with a number or the letter `v`.
|
||||
|
||||
## SEE ALSO
|
||||
|
||||
* npm-tag(1)
|
||||
* npm-publish(1)
|
||||
* npm-install(1)
|
||||
* npm-dedupe(1)
|
||||
* npm-registry(7)
|
||||
* npm-config(1)
|
||||
* npm-config(7)
|
||||
* npm-tag(3)
|
||||
* npmrc(5)
|
||||
1
deps/npm/doc/cli/npm-explore.md
vendored
1
deps/npm/doc/cli/npm-explore.md
vendored
@@ -32,7 +32,6 @@ The shell to run for the `npm explore` command.
|
||||
|
||||
## SEE ALSO
|
||||
|
||||
* npm-submodule(1)
|
||||
* npm-folders(5)
|
||||
* npm-edit(1)
|
||||
* npm-rebuild(1)
|
||||
|
||||
5
deps/npm/doc/cli/npm-init.md
vendored
5
deps/npm/doc/cli/npm-init.md
vendored
@@ -3,7 +3,7 @@ npm-init(1) -- Interactively create a package.json file
|
||||
|
||||
## SYNOPSIS
|
||||
|
||||
npm init
|
||||
npm init [-f|--force|-y|--yes]
|
||||
|
||||
## DESCRIPTION
|
||||
|
||||
@@ -18,6 +18,9 @@ the options in there.
|
||||
It is strictly additive, so it does not delete options from your package.json
|
||||
without a really good reason to do so.
|
||||
|
||||
If you invoke it with `-f`, `--force`, `-y`, or `--yes`, it will use only
|
||||
defaults and not prompt you for any options.
|
||||
|
||||
## SEE ALSO
|
||||
|
||||
* <https://github.com/isaacs/init-package-json>
|
||||
|
||||
2
deps/npm/doc/cli/npm-link.md
vendored
2
deps/npm/doc/cli/npm-link.md
vendored
@@ -22,7 +22,7 @@ Note that `package-name` is taken from `package.json`,
|
||||
not from directory name.
|
||||
|
||||
The package name can be optionally prefixed with a scope. See `npm-scope(7)`.
|
||||
The scope must by preceded by an @-symbol and followed by a slash.
|
||||
The scope must be preceded by an @-symbol and followed by a slash.
|
||||
|
||||
When creating tarballs for `npm publish`, the linked packages are
|
||||
"snapshotted" to their current state by resolving the symbolic links.
|
||||
|
||||
15
deps/npm/doc/cli/npm-publish.md
vendored
15
deps/npm/doc/cli/npm-publish.md
vendored
@@ -4,12 +4,14 @@ npm-publish(1) -- Publish a package
|
||||
|
||||
## SYNOPSIS
|
||||
|
||||
npm publish <tarball> [--tag <tag>]
|
||||
npm publish <folder> [--tag <tag>]
|
||||
npm publish <tarball> [--tag <tag>] [--access <public|restricted>]
|
||||
npm publish <folder> [--tag <tag>] [--access <public|restricted>]
|
||||
|
||||
## DESCRIPTION
|
||||
|
||||
Publishes a package to the registry so that it can be installed by name.
|
||||
Publishes a package to the registry so that it can be installed by name. See
|
||||
`npm-developers(7)` for details on what's included in the published package, as
|
||||
well as details on how the package is built.
|
||||
|
||||
By default npm will publish to the public registry. This can be overridden by
|
||||
specifying a different default registry or using a `npm-scope(7)` in the name
|
||||
@@ -27,6 +29,12 @@ specifying a different default registry or using a `npm-scope(7)` in the name
|
||||
<name>@<tag>` will install this version. By default, `npm publish` updates
|
||||
and `npm install` installs the `latest` tag.
|
||||
|
||||
* `[--access <public|restricted>]`
|
||||
Tells the registry whether this package should be published as public or
|
||||
restricted. Only applies to scoped packages, which default to `restricted`.
|
||||
If you don't have a paid account, you must publish with `--access public`
|
||||
to publish scoped packages.
|
||||
|
||||
Fails if the package name and version combination already exists in
|
||||
the specified registry.
|
||||
|
||||
@@ -37,6 +45,7 @@ it is removed with npm-unpublish(1).
|
||||
## SEE ALSO
|
||||
|
||||
* npm-registry(7)
|
||||
* npm-scope(7)
|
||||
* npm-adduser(1)
|
||||
* npm-owner(1)
|
||||
* npm-deprecate(1)
|
||||
|
||||
30
deps/npm/doc/cli/npm-restart.md
vendored
30
deps/npm/doc/cli/npm-restart.md
vendored
@@ -1,5 +1,5 @@
|
||||
npm-restart(1) -- Start a package
|
||||
=================================
|
||||
npm-restart(1) -- Restart a package
|
||||
===================================
|
||||
|
||||
## SYNOPSIS
|
||||
|
||||
@@ -7,11 +7,28 @@ npm-restart(1) -- Start a package
|
||||
|
||||
## DESCRIPTION
|
||||
|
||||
This runs a package's "restart" script, if one was provided.
|
||||
Otherwise it runs package's "stop" script, if one was provided, and then
|
||||
the "start" script.
|
||||
This restarts a package.
|
||||
|
||||
If no version is specified, then it restarts the "active" version.
|
||||
This runs a package's "stop", "restart", and "start" scripts, and associated
|
||||
pre- and post- scripts, in the order given below:
|
||||
|
||||
1. prerestart
|
||||
2. prestop
|
||||
3. stop
|
||||
4. poststop
|
||||
5. restart
|
||||
6. prestart
|
||||
7. start
|
||||
8. poststart
|
||||
9. postrestart
|
||||
|
||||
## NOTE
|
||||
|
||||
Note that the "restart" script is run **in addition to** the "stop"
|
||||
and "start" scripts, not instead of them.
|
||||
|
||||
This is the behavior as of `npm` major version 2. A change in this
|
||||
behavior will be accompanied by an increase in major version number
|
||||
|
||||
## SEE ALSO
|
||||
|
||||
@@ -20,3 +37,4 @@ If no version is specified, then it restarts the "active" version.
|
||||
* npm-test(1)
|
||||
* npm-start(1)
|
||||
* npm-stop(1)
|
||||
* npm-restart(3)
|
||||
19
deps/npm/doc/cli/npm-run-script.md
vendored
19
deps/npm/doc/cli/npm-run-script.md
vendored
@@ -11,10 +11,23 @@ npm-run-script(1) -- Run arbitrary package scripts
|
||||
This runs an arbitrary command from a package's `"scripts"` object.
|
||||
If no package name is provided, it will search for a `package.json`
|
||||
in the current folder and use its `"scripts"` object. If no `"command"`
|
||||
is provided, it will list the available top level scripts.
|
||||
is provided, it will list the available top level scripts. The `env` command
|
||||
can be used to list environment variables that will be available to the script
|
||||
at runtime. If an "env" command is defined in your package it will have
|
||||
precedence instead.
|
||||
|
||||
It is used by the test, start, restart, and stop commands, but can be
|
||||
called directly, as well.
|
||||
`run[-script]` is used by the test, start, restart, and stop commands, but can
|
||||
be called directly, as well.
|
||||
|
||||
As of [`npm@2.0.0`](http://blog.npmjs.org/post/98131109725/npm-2-0-0), you can
|
||||
use custom arguments when executing scripts. The special option `--` is used by
|
||||
[getopt](http://goo.gl/KxMmtG) to delimit the end of the options. npm will pass
|
||||
all the arguments after the `--` directly to your script:
|
||||
|
||||
npm run test -- --grep="pattern"
|
||||
|
||||
The arguments will only be passed to the script specified after ```npm run```
|
||||
and not to any pre or post script.
|
||||
|
||||
## SEE ALSO
|
||||
|
||||
|
||||
4
deps/npm/doc/cli/npm-shrinkwrap.md
vendored
4
deps/npm/doc/cli/npm-shrinkwrap.md
vendored
@@ -88,7 +88,7 @@ This generates npm-shrinkwrap.json, which will look something like this:
|
||||
"version": "0.0.1",
|
||||
"dependencies": {
|
||||
"C": {
|
||||
"version": "0.1.0"
|
||||
"version": "0.0.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -101,7 +101,7 @@ installs a package with a npm-shrinkwrap.json file in the package
|
||||
root, the shrinkwrap file (rather than package.json files) completely
|
||||
drives the installation of that package and all of its dependencies
|
||||
(recursively). So now the author publishes A@0.1.0, and subsequent
|
||||
installs of this package will use B@0.0.1 and C@0.1.0, regardless the
|
||||
installs of this package will use B@0.0.1 and C@0.0.1, regardless the
|
||||
dependencies and versions listed in A's, B's, and C's package.json
|
||||
files.
|
||||
|
||||
|
||||
28
deps/npm/doc/cli/npm-submodule.md
vendored
28
deps/npm/doc/cli/npm-submodule.md
vendored
@@ -1,28 +0,0 @@
|
||||
npm-submodule(1) -- Add a package as a git submodule
|
||||
====================================================
|
||||
|
||||
## SYNOPSIS
|
||||
|
||||
npm submodule <pkg>
|
||||
|
||||
## DESCRIPTION
|
||||
|
||||
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
|
||||
`node_modules/<pkg name>`.
|
||||
|
||||
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 `.git` subfolder
|
||||
in it.
|
||||
|
||||
This command also does not install missing dependencies, if the package
|
||||
does not include them in its git repository. If `npm ls` reports that
|
||||
things are missing, you can either install, link, or submodule them yourself,
|
||||
or you can do `npm explore <pkgname> -- npm install` to install the
|
||||
dependencies into the submodule folder.
|
||||
|
||||
## SEE ALSO
|
||||
|
||||
* package.json(5)
|
||||
* git help submodule
|
||||
26
deps/npm/doc/cli/npm-tag.md
vendored
26
deps/npm/doc/cli/npm-tag.md
vendored
@@ -7,6 +7,8 @@ npm-tag(1) -- Tag a published version
|
||||
|
||||
## DESCRIPTION
|
||||
|
||||
THIS COMMAND IS DEPRECATED. See npm-dist-tag(1) for details.
|
||||
|
||||
Tags the specified version of the package with the specified tag, or the
|
||||
`--tag` config if not specified.
|
||||
|
||||
@@ -23,6 +25,29 @@ This also applies to `npm dedupe`.
|
||||
|
||||
Publishing a package always sets the "latest" tag to the published version.
|
||||
|
||||
## PURPOSE
|
||||
|
||||
Tags can be used to provide an alias instead of version numbers. For
|
||||
example, `npm` currently uses the tag "next" to identify the upcoming
|
||||
version, and the tag "latest" to identify the current version.
|
||||
|
||||
A project might choose to have multiple streams of development, e.g.,
|
||||
"stable", "canary".
|
||||
|
||||
## CAVEATS
|
||||
|
||||
Tags must share a namespace with version numbers, because they are
|
||||
specified in the same slot: `npm install <pkg>@<version>` vs `npm
|
||||
install <pkg>@<tag>`.
|
||||
|
||||
Tags that can be interpreted as valid semver ranges will be
|
||||
rejected. For example, `v1.4` cannot be used as a tag, because it is
|
||||
interpreted by semver as `>=1.4.0 <1.5.0`. See
|
||||
<https://github.com/npm/npm/issues/6082>.
|
||||
|
||||
The simplest way to avoid semver problems with tags is to use tags
|
||||
that do not begin with a number or the letter `v`.
|
||||
|
||||
## SEE ALSO
|
||||
|
||||
* npm-publish(1)
|
||||
@@ -31,4 +56,5 @@ Publishing a package always sets the "latest" tag to the published version.
|
||||
* npm-registry(7)
|
||||
* npm-config(1)
|
||||
* npm-config(7)
|
||||
* npm-tag(3)
|
||||
* npmrc(5)
|
||||
|
||||
4
deps/npm/doc/cli/npm-update.md
vendored
4
deps/npm/doc/cli/npm-update.md
vendored
@@ -10,7 +10,9 @@ npm-update(1) -- Update a package
|
||||
This command will update all the packages listed to the latest version
|
||||
(specified by the `tag` config).
|
||||
|
||||
It will also install missing packages.
|
||||
It will also install missing packages. As with all commands that install
|
||||
packages, the `--dev` flag will cause `devDependencies` to be processed
|
||||
as well.
|
||||
|
||||
If the `-g` flag is specified, this command will update globally installed
|
||||
packages.
|
||||
|
||||
3
deps/npm/doc/cli/npm-version.md
vendored
3
deps/npm/doc/cli/npm-version.md
vendored
@@ -8,7 +8,7 @@ npm-version(1) -- Bump a package version
|
||||
## DESCRIPTION
|
||||
|
||||
Run this in a package directory to bump the version and write the new
|
||||
data back to the package.json file.
|
||||
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",
|
||||
@@ -38,6 +38,7 @@ in your git config for this to work properly. For example:
|
||||
|
||||
Enter passphrase:
|
||||
|
||||
|
||||
## SEE ALSO
|
||||
|
||||
* npm-init(1)
|
||||
|
||||
2
deps/npm/doc/cli/npm-view.md
vendored
2
deps/npm/doc/cli/npm-view.md
vendored
@@ -24,7 +24,7 @@ For example, to show the dependencies of the `ronn` package at version
|
||||
|
||||
npm view ronn@0.3.5 dependencies
|
||||
|
||||
You can view child field by separating them with a period.
|
||||
You can view child fields by separating them with a period.
|
||||
To view the git repository URL for the latest version of npm, you could
|
||||
do this:
|
||||
|
||||
|
||||
4
deps/npm/doc/cli/npm.md
vendored
4
deps/npm/doc/cli/npm.md
vendored
@@ -1,5 +1,5 @@
|
||||
npm(1) -- node package manager
|
||||
==============================
|
||||
npm(1) -- javascript package manager
|
||||
====================================
|
||||
|
||||
## SYNOPSIS
|
||||
|
||||
|
||||
6
deps/npm/doc/files/npmrc.md
vendored
6
deps/npm/doc/files/npmrc.md
vendored
@@ -30,6 +30,12 @@ Each of these files is loaded, and config options are resolved in
|
||||
priority order. For example, a setting in the userconfig file would
|
||||
override the setting in the globalconfig file.
|
||||
|
||||
Array values are specified by adding "[]" after the key name. For
|
||||
example:
|
||||
|
||||
key[] = "first value"
|
||||
key[] = "second value"
|
||||
|
||||
### Per-project config file
|
||||
|
||||
When working locally in a project, a `.npmrc` file in the root of the
|
||||
|
||||
92
deps/npm/doc/files/package.json.md
vendored
92
deps/npm/doc/files/package.json.md
vendored
@@ -28,7 +28,7 @@ The name is what your thing is called. Some tips:
|
||||
* The name will probably be passed as an argument to require(), so it should
|
||||
be something short, but also reasonably descriptive.
|
||||
* You may want to check the npm registry to see if there's something by that name
|
||||
already, before you get too attached to it. http://registry.npmjs.org/
|
||||
already, before you get too attached to it. <https://www.npmjs.com/>
|
||||
|
||||
A name can be optionally prefixed by a scope, e.g. `@myorg/mypackage`. See
|
||||
`npm-scope(7)` for more detail.
|
||||
@@ -154,12 +154,12 @@ command name to local file name. On install, npm will symlink that file into
|
||||
installs.
|
||||
|
||||
|
||||
For example, npm has this:
|
||||
For example, myapp could have this:
|
||||
|
||||
{ "bin" : { "npm" : "./cli.js" } }
|
||||
{ "bin" : { "myapp" : "./cli.js" } }
|
||||
|
||||
So, when you install npm, it'll create a symlink from the `cli.js` script to
|
||||
`/usr/local/bin/npm`.
|
||||
So, when you install myapp, it'll create a symlink from the `cli.js` script to
|
||||
`/usr/local/bin/myapp`.
|
||||
|
||||
If you have a single executable, and its name should be the name
|
||||
of the package, then you can just supply it as a string. For example:
|
||||
@@ -219,7 +219,7 @@ will create entries for `man foo` and `man 2 foo`
|
||||
|
||||
The CommonJS [Packages](http://wiki.commonjs.org/wiki/Packages/1.0) spec details a
|
||||
few ways that you can indicate the structure of your package using a `directories`
|
||||
hash. If you look at [npm's package.json](http://registry.npmjs.org/npm/latest),
|
||||
object. If you look at [npm's package.json](http://registry.npmjs.org/npm/latest),
|
||||
you'll see that it has directories for doc, lib, and man.
|
||||
|
||||
In the future, this information may be used in other creative ways.
|
||||
@@ -231,10 +231,10 @@ with the lib folder in any way, but it's useful meta info.
|
||||
|
||||
### directories.bin
|
||||
|
||||
If you specify a "bin" directory, then all the files in that folder will
|
||||
be used as the "bin" hash.
|
||||
If you specify a `bin` directory, then all the files in that folder will
|
||||
be added as children of the `bin` path.
|
||||
|
||||
If you have a "bin" hash already, then this has no effect.
|
||||
If you have a `bin` path already, then this has no effect.
|
||||
|
||||
### directories.man
|
||||
|
||||
@@ -253,7 +253,7 @@ Put example scripts in here. Someday, it might be exposed in some clever way.
|
||||
## repository
|
||||
|
||||
Specify the place where your code lives. This is helpful for people who
|
||||
want to contribute. If the git repo is on github, then the `npm docs`
|
||||
want to contribute. If the git repo is on GitHub, then the `npm docs`
|
||||
command will be able to find you.
|
||||
|
||||
Do it like this:
|
||||
@@ -274,7 +274,7 @@ html project page that you put in your browser. It's for computers.
|
||||
|
||||
## scripts
|
||||
|
||||
The "scripts" member is an object hash of script commands that are run
|
||||
The "scripts" property is a dictionary containing script commands that are run
|
||||
at various times in the lifecycle of your package. The key is the lifecycle
|
||||
event, and the value is the command to run at that point.
|
||||
|
||||
@@ -282,9 +282,9 @@ See `npm-scripts(7)` to find out more about writing package scripts.
|
||||
|
||||
## config
|
||||
|
||||
A "config" hash can be used to set configuration
|
||||
parameters used in package scripts that persist across upgrades. For
|
||||
instance, if a package had the following:
|
||||
A "config" object can be used to set configuration parameters used in package
|
||||
scripts that persist across upgrades. For instance, if a package had the
|
||||
following:
|
||||
|
||||
{ "name" : "foo"
|
||||
, "config" : { "port" : "8080" } }
|
||||
@@ -298,13 +298,13 @@ configs.
|
||||
|
||||
## dependencies
|
||||
|
||||
Dependencies are specified with a simple hash of package name to
|
||||
Dependencies are specified in a simple object that maps a package name to a
|
||||
version range. The version range is a string which has one or more
|
||||
space-separated descriptors. Dependencies can also be identified with
|
||||
a tarball or git URL.
|
||||
space-separated descriptors. Dependencies can also be identified with a
|
||||
tarball or git URL.
|
||||
|
||||
**Please do not put test harnesses or transpilers in your
|
||||
`dependencies` hash.** See `devDependencies`, below.
|
||||
`dependencies` object.** See `devDependencies`, below.
|
||||
|
||||
See semver(7) for more details about specifying version ranges.
|
||||
|
||||
@@ -340,7 +340,7 @@ For example, these are all valid:
|
||||
, "two" : "2.x"
|
||||
, "thr" : "3.3.x"
|
||||
, "lat" : "latest"
|
||||
, "dyl" : "~/projects/dyl"
|
||||
, "dyl" : "file:../dyl"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -366,26 +366,40 @@ an argument to `git checkout`. The default is `master`.
|
||||
|
||||
## GitHub URLs
|
||||
|
||||
As of version 1.1.65, you can refer to GitHub urls as just "foo": "user/foo-project". For example:
|
||||
As of version 1.1.65, you can refer to GitHub urls as just "foo":
|
||||
"user/foo-project". Just as with git URLs, a `commit-ish` suffix can be
|
||||
included. For example:
|
||||
|
||||
{
|
||||
"name": "foo",
|
||||
"version": "0.0.0",
|
||||
"dependencies": {
|
||||
"express": "visionmedia/express"
|
||||
"express": "visionmedia/express",
|
||||
"mocha": "visionmedia/mocha#4727d357ea"
|
||||
}
|
||||
}
|
||||
|
||||
## Local Paths
|
||||
|
||||
As of version 2.0.0 you can provide a path to a local directory that
|
||||
contains a package. Local paths can be in the form:
|
||||
As of version 2.0.0 you can provide a path to a local directory that contains a
|
||||
package. Local paths can be saved using `npm install --save`, using any of
|
||||
these forms:
|
||||
|
||||
../foo/bar
|
||||
~/foo/bar
|
||||
./foo/bar
|
||||
/foo/bar
|
||||
|
||||
in which case they will be normalized to a relative path and added to your
|
||||
`package.json`. For example:
|
||||
|
||||
{
|
||||
"name": "baz",
|
||||
"dependencies": {
|
||||
"bar": "file:../foo/bar"
|
||||
}
|
||||
}
|
||||
|
||||
This feature is helpful for local offline development and creating
|
||||
tests that require npm installing where you don't want to hit an
|
||||
external server, but should not be used when publishing packages
|
||||
@@ -397,8 +411,8 @@ If someone is planning on downloading and using your module in their
|
||||
program, then they probably don't want or need to download and build
|
||||
the external test or documentation framework that you use.
|
||||
|
||||
In this case, it's best to list these additional items in a
|
||||
`devDependencies` hash.
|
||||
In this case, it's best to map these additional items in a `devDependencies`
|
||||
object.
|
||||
|
||||
These things will be installed when doing `npm link` or `npm install`
|
||||
from the root of a package, and can be managed like any other npm
|
||||
@@ -431,14 +445,14 @@ run this script as well, so that you can test it easily.
|
||||
|
||||
In some cases, you want to express the compatibility of your package with an
|
||||
host tool or library, while not necessarily doing a `require` of this host.
|
||||
This is usually refered to as a *plugin*. Notably, your module may be exposing
|
||||
This is usually referred to as a *plugin*. Notably, your module may be exposing
|
||||
a specific interface, expected and specified by the host documentation.
|
||||
|
||||
For example:
|
||||
|
||||
{
|
||||
"name": "tea-latte",
|
||||
"version": "1.3.5"
|
||||
"version": "1.3.5",
|
||||
"peerDependencies": {
|
||||
"tea": "2.x"
|
||||
}
|
||||
@@ -469,11 +483,11 @@ If this is spelled `"bundleDependencies"`, then that is also honorable.
|
||||
|
||||
## optionalDependencies
|
||||
|
||||
If a dependency can be used, but you would like npm to proceed if it
|
||||
cannot be found or fails to install, then you may put it in the
|
||||
`optionalDependencies` hash. This is a map of package name to version
|
||||
or url, just like the `dependencies` hash. The difference is that
|
||||
failure is tolerated.
|
||||
If a dependency can be used, but you would like npm to proceed if it cannot be
|
||||
found or fails to install, then you may put it in the `optionalDependencies`
|
||||
object. This is a map of package name to version or url, just like the
|
||||
`dependencies` object. The difference is that build failures do not cause
|
||||
installation to fail.
|
||||
|
||||
It is still your program's responsibility to handle the lack of the
|
||||
dependency. For example, something like this:
|
||||
@@ -521,12 +535,12 @@ field is advisory only.
|
||||
## engineStrict
|
||||
|
||||
If you are sure that your module will *definitely not* run properly on
|
||||
versions of Node/npm other than those specified in the `engines` hash,
|
||||
versions of Node/npm other than those specified in the `engines` object,
|
||||
then you can set `"engineStrict": true` in your package.json file.
|
||||
This will override the user's `engine-strict` config setting.
|
||||
|
||||
Please do not do this unless you are really very very sure. If your
|
||||
engines hash is something overly restrictive, you can quite easily and
|
||||
engines object is something overly restrictive, you can quite easily and
|
||||
inadvertently lock yourself into obscurity and prevent your users from
|
||||
updating to new versions of Node. Consider this choice carefully. If
|
||||
people abuse it, it will be removed in a future version of npm.
|
||||
@@ -575,11 +589,11 @@ does help prevent some confusion if it doesn't work as expected.
|
||||
If you set `"private": true` in your package.json, then npm will refuse
|
||||
to publish it.
|
||||
|
||||
This is a way to prevent accidental publication of private repositories.
|
||||
If you would like to ensure that a given package is only ever published
|
||||
to a specific registry (for example, an internal registry),
|
||||
then use the `publishConfig` hash described below
|
||||
to override the `registry` config param at publish-time.
|
||||
This is a way to prevent accidental publication of private repositories. If
|
||||
you would like to ensure that a given package is only ever published to a
|
||||
specific registry (for example, an internal registry), then use the
|
||||
`publishConfig` dictionary described below to override the `registry` config
|
||||
param at publish-time.
|
||||
|
||||
## publishConfig
|
||||
|
||||
|
||||
6
deps/npm/doc/misc/npm-coding-style.md
vendored
6
deps/npm/doc/misc/npm-coding-style.md
vendored
@@ -10,7 +10,7 @@ designed to reduce visual clutter and make bugs more apparent.
|
||||
If you want to contribute to npm (which is very encouraged), you should
|
||||
make your code conform to npm's style.
|
||||
|
||||
Note: this concerns npm's code not the specific packages at npmjs.org
|
||||
Note: this concerns npm's code not the specific packages that you can download from the npm registry.
|
||||
|
||||
## Line Length
|
||||
|
||||
@@ -21,7 +21,7 @@ statements onto multiple lines.
|
||||
## Indentation
|
||||
|
||||
Two-spaces. Tabs are better, but they look like hell in web browsers
|
||||
(and on github), and node uses 2 spaces, so that's that.
|
||||
(and on GitHub), and node uses 2 spaces, so that's that.
|
||||
|
||||
Configure your editor appropriately.
|
||||
|
||||
@@ -147,7 +147,7 @@ Use appropriate log levels. See `npm-config(7)` and search for
|
||||
## Case, naming, etc.
|
||||
|
||||
Use `lowerCamelCase` for multiword identifiers when they refer to objects,
|
||||
functions, methods, members, or anything not specified in this section.
|
||||
functions, methods, properties, or anything not specified in this section.
|
||||
|
||||
Use `UpperCamelCase` for class names (things that you'd pass to "new").
|
||||
|
||||
|
||||
75
deps/npm/doc/misc/npm-config.md
vendored
75
deps/npm/doc/misc/npm-config.md
vendored
@@ -55,7 +55,6 @@ The following shorthands are parsed on the command-line:
|
||||
* `-m`: `--message`
|
||||
* `-p`, `--porcelain`: `--parseable`
|
||||
* `-reg`: `--registry`
|
||||
* `-v`: `--version`
|
||||
* `-f`: `--force`
|
||||
* `-desc`: `--description`
|
||||
* `-S`: `--save`
|
||||
@@ -107,6 +106,16 @@ See package.json(5) for more information.
|
||||
|
||||
## Config Settings
|
||||
|
||||
### access
|
||||
|
||||
* Default: `restricted`
|
||||
* Type: Access
|
||||
|
||||
When publishing scoped packages, the access level defaults to `restricted`. If
|
||||
you want your scoped package to be publicly viewable (and installable) set
|
||||
`--access=public`. The only valid values for `access` are `public` and
|
||||
`restricted`. Unscoped packages _always_ have an access level of `public`.
|
||||
|
||||
### always-auth
|
||||
|
||||
* Default: false
|
||||
@@ -137,14 +146,22 @@ The browser that is called by the `npm docs` command to open websites.
|
||||
### ca
|
||||
|
||||
* Default: The npm CA certificate
|
||||
* Type: String or null
|
||||
* Type: String, Array or null
|
||||
|
||||
The Certificate Authority signing certificate that is trusted for SSL
|
||||
connections to the registry.
|
||||
connections to the registry. Values should be in PEM format with newlines
|
||||
replaced by the string "\n". For example:
|
||||
|
||||
ca="-----BEGIN CERTIFICATE-----\nXXXX\nXXXX\n-----END CERTIFICATE-----"
|
||||
|
||||
Set to `null` to only allow "known" registrars, or to a specific CA cert
|
||||
to trust only that specific signing authority.
|
||||
|
||||
Multiple CAs can be trusted by specifying an array of certificates:
|
||||
|
||||
ca[]="..."
|
||||
ca[]="..."
|
||||
|
||||
See also the `strict-ssl` config.
|
||||
|
||||
### cafile
|
||||
@@ -361,11 +378,12 @@ The string that starts all the debugging log output.
|
||||
|
||||
### https-proxy
|
||||
|
||||
* Default: the `HTTPS_PROXY` or `https_proxy` or `HTTP_PROXY` or
|
||||
`http_proxy` environment variables.
|
||||
* Default: null
|
||||
* Type: url
|
||||
|
||||
A proxy to use for outgoing https requests.
|
||||
A proxy to use for outgoing https requests. If the `HTTPS_PROXY` or
|
||||
`https_proxy` or `HTTP_PROXY` or `http_proxy` environment variables are set,
|
||||
proxy settings will be honored by the underlying `request` library.
|
||||
|
||||
### ignore-scripts
|
||||
|
||||
@@ -384,37 +402,37 @@ documentation for the
|
||||
[init-package-json](https://github.com/isaacs/init-package-json) module
|
||||
for more information, or npm-init(1).
|
||||
|
||||
### init.author.name
|
||||
### init-author-name
|
||||
|
||||
* Default: ""
|
||||
* Type: String
|
||||
|
||||
The value `npm init` should use by default for the package author's name.
|
||||
|
||||
### init.author.email
|
||||
### init-author-email
|
||||
|
||||
* Default: ""
|
||||
* Type: String
|
||||
|
||||
The value `npm init` should use by default for the package author's email.
|
||||
|
||||
### init.author.url
|
||||
### init-author-url
|
||||
|
||||
* Default: ""
|
||||
* Type: String
|
||||
|
||||
The value `npm init` should use by default for the package author's homepage.
|
||||
|
||||
### init.license
|
||||
### init-license
|
||||
|
||||
* Default: "ISC"
|
||||
* Type: String
|
||||
|
||||
The value `npm init` should use by default for the package license.
|
||||
|
||||
### init.version
|
||||
### init-version
|
||||
|
||||
* Default: "0.0.0"
|
||||
* Default: "1.0.0"
|
||||
* Type: semver
|
||||
|
||||
The value that `npm init` should use by default for the package
|
||||
@@ -464,7 +482,7 @@ to the npm registry. Must be IPv4 in versions of Node prior to 0.12.
|
||||
|
||||
### loglevel
|
||||
|
||||
* Default: "http"
|
||||
* Default: "warn"
|
||||
* Type: String
|
||||
* Values: "silent", "error", "warn", "http", "info", "verbose", "silly"
|
||||
|
||||
@@ -472,7 +490,7 @@ What level of logs to report. On failure, *all* logs are written to
|
||||
`npm-debug.log` in the current working directory.
|
||||
|
||||
Any logs of a higher level than the setting are shown.
|
||||
The default is "http", which shows http, warn, and error output.
|
||||
The default is "warn", which shows warn and error output.
|
||||
|
||||
### logstream
|
||||
|
||||
@@ -510,7 +528,7 @@ Any "%s" in the message will be replaced with the version number.
|
||||
* Default: process.version
|
||||
* Type: semver or false
|
||||
|
||||
The node version to use when checking package's "engines" hash.
|
||||
The node version to use when checking a package's `engines` map.
|
||||
|
||||
### npat
|
||||
|
||||
@@ -532,7 +550,7 @@ usage.
|
||||
* Default: true
|
||||
* Type: Boolean
|
||||
|
||||
Attempt to install packages in the `optionalDependencies` hash. Note
|
||||
Attempt to install packages in the `optionalDependencies` object. Note
|
||||
that if these packages fail to install, the overall installation
|
||||
process is not aborted.
|
||||
|
||||
@@ -577,10 +595,12 @@ this as true.
|
||||
|
||||
### proxy
|
||||
|
||||
* Default: `HTTP_PROXY` or `http_proxy` environment variable, or null
|
||||
* Default: null
|
||||
* Type: url
|
||||
|
||||
A proxy to use for outgoing http requests.
|
||||
A proxy to use for outgoing http requests. If the `HTTP_PROXY` or
|
||||
`http_proxy` environment variables are set, proxy settings will be
|
||||
honored by the underlying `request` library.
|
||||
|
||||
### rebuild-bundle
|
||||
|
||||
@@ -610,8 +630,8 @@ Remove failed installs.
|
||||
|
||||
Save installed packages to a package.json file as dependencies.
|
||||
|
||||
When used with the `npm rm` command, it removes it from the dependencies
|
||||
hash.
|
||||
When used with the `npm rm` command, it removes it from the `dependencies`
|
||||
object.
|
||||
|
||||
Only works if there is already a package.json file present.
|
||||
|
||||
@@ -632,10 +652,10 @@ bundledDependencies list.
|
||||
* Default: false
|
||||
* Type: Boolean
|
||||
|
||||
Save installed packages to a package.json file as devDependencies.
|
||||
Save installed packages to a package.json file as `devDependencies`.
|
||||
|
||||
When used with the `npm rm` command, it removes it from the
|
||||
devDependencies hash.
|
||||
`devDependencies` object.
|
||||
|
||||
Only works if there is already a package.json file present.
|
||||
|
||||
@@ -657,7 +677,7 @@ Save installed packages to a package.json file as
|
||||
optionalDependencies.
|
||||
|
||||
When used with the `npm rm` command, it removes it from the
|
||||
devDependencies hash.
|
||||
`devDependencies` object.
|
||||
|
||||
Only works if there is already a package.json file present.
|
||||
|
||||
@@ -669,7 +689,7 @@ Only works if there is already a package.json file present.
|
||||
Configure how versions of packages installed to a package.json file via
|
||||
`--save` or `--save-dev` get prefixed.
|
||||
|
||||
For example if a package has version `1.2.3`, by default it's version is
|
||||
For example if a package has version `1.2.3`, by default its version is
|
||||
set to `^1.2.3` which allows minor upgrades for that package, but after
|
||||
`npm config set save-prefix='~'` it would be set to `~1.2.3` which only allows
|
||||
patch upgrades.
|
||||
@@ -818,7 +838,7 @@ The location of user-level configuration settings.
|
||||
### umask
|
||||
|
||||
* Default: 022
|
||||
* Type: Octal numeric string
|
||||
* Type: Octal numeric string in range 0000..0777 (0..511)
|
||||
|
||||
The "umask" value to use when setting the file creation mode on files
|
||||
and folders.
|
||||
@@ -848,8 +868,8 @@ Only relevant when specified explicitly on the command line.
|
||||
* Default: false
|
||||
* Type: boolean
|
||||
|
||||
If true, output the npm version as well as node's `process.versions`
|
||||
hash, and exit successfully.
|
||||
If true, output the npm version as well as node's `process.versions` map, and
|
||||
exit successfully.
|
||||
|
||||
Only relevant when specified explicitly on the command line.
|
||||
|
||||
@@ -865,7 +885,6 @@ Set to `"browser"` to view html help content in the default web browser.
|
||||
## SEE ALSO
|
||||
|
||||
* npm-config(1)
|
||||
* npm-config(7)
|
||||
* npmrc(5)
|
||||
* npm-scripts(7)
|
||||
* npm-folders(5)
|
||||
|
||||
14
deps/npm/doc/misc/npm-developers.md
vendored
14
deps/npm/doc/misc/npm-developers.md
vendored
@@ -76,7 +76,7 @@ least, you need:
|
||||
|
||||
* scripts:
|
||||
If you have a special compilation or installation script, then you
|
||||
should put it in the `scripts` hash. You should definitely have at
|
||||
should put it in the `scripts` object. You should definitely have at
|
||||
least a basic smoke-test command as the "scripts.test" field.
|
||||
See npm-scripts(7).
|
||||
|
||||
@@ -86,8 +86,8 @@ least, you need:
|
||||
then you need to specify that in the "main" field.
|
||||
|
||||
* directories:
|
||||
This is a hash of folders. The best ones to include are "lib" and
|
||||
"doc", but if you specify a folder full of man pages in "man", then
|
||||
This is an object mapping names to folders. The best ones to include are
|
||||
"lib" and "doc", but if you use "man" to specify a folder full of man pages,
|
||||
they'll get installed just like these ones.
|
||||
|
||||
You can use `npm init` in the root of your package in order to get you
|
||||
@@ -102,6 +102,14 @@ ignore the stuff matched by the `.gitignore` file. If you *want* to
|
||||
include something that is excluded by your `.gitignore` file, you can
|
||||
create an empty `.npmignore` file to override it.
|
||||
|
||||
`.npmignore` files follow the [same pattern rules](http://git-scm.com/book/en/v2/Git-Basics-Recording-Changes-to-the-Repository#Ignoring-Files)
|
||||
as `.gitignore` files:
|
||||
|
||||
* Blank lines or lines starting with `#` are ignored.
|
||||
* Standard glob patterns work.
|
||||
* You can end patterns with a forward slash `/` to specify a directory.
|
||||
* You can negate a pattern by starting it with an exclamation point `!`.
|
||||
|
||||
By default, the following paths and files are ignored, so there's no
|
||||
need to add them to `.npmignore` explicitly:
|
||||
|
||||
|
||||
47
deps/npm/doc/misc/npm-faq.md
vendored
47
deps/npm/doc/misc/npm-faq.md
vendored
@@ -3,7 +3,7 @@ npm-faq(7) -- Frequently Asked Questions
|
||||
|
||||
## Where can I find these docs in HTML?
|
||||
|
||||
<https://www.npmjs.org/doc/>, or run:
|
||||
<https://docs.npmjs.com/>, or run:
|
||||
|
||||
npm config set viewer browser
|
||||
|
||||
@@ -80,7 +80,7 @@ Usually, no. Allow npm to resolve dependencies for your packages.
|
||||
For packages you **deploy**, such as websites and apps,
|
||||
you should use npm shrinkwrap to lock down your full dependency tree:
|
||||
|
||||
https://www.npmjs.org/doc/cli/npm-shrinkwrap.html
|
||||
<https://docs.npmjs.com/cli/shrinkwrap>
|
||||
|
||||
If you are paranoid about depending on the npm ecosystem,
|
||||
you should run a private npm mirror or a private cache.
|
||||
@@ -135,7 +135,7 @@ Arguments are greps. `npm search jsdom` shows jsdom packages.
|
||||
|
||||
## How do I update npm?
|
||||
|
||||
npm update npm -g
|
||||
npm install npm -g
|
||||
|
||||
You can also update all outdated local packages by doing `npm update` without
|
||||
any arguments, or global packages by doing `npm update -g`.
|
||||
@@ -147,7 +147,7 @@ command.)
|
||||
|
||||
In those cases, you can do this:
|
||||
|
||||
curl https://www.npmjs.org/install.sh | sh
|
||||
curl https://www.npmjs.com/install.sh | sh
|
||||
|
||||
## What is a `package`?
|
||||
|
||||
@@ -307,7 +307,7 @@ See `npm-registry(7)`.
|
||||
|
||||
## I forgot my password, and can't publish. How do I reset it?
|
||||
|
||||
Go to <https://npmjs.org/forgot>.
|
||||
Go to <https://npmjs.com/forgot>.
|
||||
|
||||
## I get ECONNREFUSED a lot. What's up?
|
||||
|
||||
@@ -327,13 +327,38 @@ on Freenode IRC.
|
||||
|
||||
## Why no namespaces?
|
||||
|
||||
Please see this discussion: <https://github.com/npm/npm/issues/798>
|
||||
npm has only one global namespace. If you want to namespace your own packages,
|
||||
you may: simply use the `-` character to separate the names. npm is a mostly
|
||||
anarchic system. There is not sufficient need to impose namespace rules on
|
||||
everyone.
|
||||
|
||||
tl;dr - It doesn't actually make things better, and can make them worse.
|
||||
As of 2.0, npm supports scoped packages, which allow you to publish a group of
|
||||
related modules without worrying about name collisions.
|
||||
|
||||
If you want to namespace your own packages, you may: simply use the
|
||||
`-` character to separate the names. npm is a mostly anarchic system.
|
||||
There is not sufficient need to impose namespace rules on everyone.
|
||||
Every npm user owns the scope associated with their username. For example, the
|
||||
user named `npm` owns the scope `@npm`. Scoped packages are published inside a
|
||||
scope by naming them as if they were files under the scope directory, e.g., by
|
||||
setting `name` in `package.json` to `@npm/npm`.
|
||||
|
||||
Scoped packages can coexist with public npm packages in a private npm registry.
|
||||
At present (2014-11-04) scoped packages may NOT be published to the public npm
|
||||
registry.
|
||||
|
||||
Unscoped packages can only depend on other unscoped packages. Scoped packages
|
||||
can depend on packages from their own scope, a different scope, or the public
|
||||
registry (unscoped).
|
||||
|
||||
For the current documentation of scoped packages, see
|
||||
<https://docs.npmjs.com/misc/scope>
|
||||
|
||||
References:
|
||||
|
||||
1. For the reasoning behind the "one global namespace", please see this
|
||||
discussion: <https://github.com/npm/npm/issues/798> (TL;DR: It doesn't
|
||||
actually make things better, and can make them worse.)
|
||||
|
||||
2. For the pre-implementation discussion of the scoped package feature, see
|
||||
this discussion: <https://github.com/npm/npm/issues/5239>
|
||||
|
||||
## Who does npm?
|
||||
|
||||
@@ -341,7 +366,7 @@ npm was originally written by Isaac Z. Schlueter, and many others have
|
||||
contributed to it, some of them quite substantially.
|
||||
|
||||
The npm open source project, The npm Registry, and [the community
|
||||
website](https://www.npmjs.org) are maintained and operated by the
|
||||
website](https://www.npmjs.com) are maintained and operated by the
|
||||
good folks at [npm, Inc.](http://www.npmjs.com)
|
||||
|
||||
## I have a question or request not addressed here. Where should I put it?
|
||||
|
||||
26
deps/npm/doc/misc/npm-index.md
vendored
26
deps/npm/doc/misc/npm-index.md
vendored
@@ -3,7 +3,7 @@ npm-index(7) -- Index of all npm documentation
|
||||
|
||||
### README(1)
|
||||
|
||||
node package manager
|
||||
a JavaScript package manager
|
||||
|
||||
## Command Line Documentation
|
||||
|
||||
@@ -11,7 +11,11 @@ Using npm on the command line
|
||||
|
||||
### npm(1)
|
||||
|
||||
node package manager
|
||||
javascript package manager
|
||||
|
||||
### npm-access(1)
|
||||
|
||||
Set access level on published packages
|
||||
|
||||
### npm-adduser(1)
|
||||
|
||||
@@ -53,6 +57,10 @@ Reduce duplication
|
||||
|
||||
Deprecate a version of a package
|
||||
|
||||
### npm-dist-tag(1)
|
||||
|
||||
Modify package distribution tags
|
||||
|
||||
### npm-docs(1)
|
||||
|
||||
Docs for a package in a web browser maybe
|
||||
@@ -123,7 +131,7 @@ Open package repository page in the browser
|
||||
|
||||
### npm-restart(1)
|
||||
|
||||
Start a package
|
||||
Restart a package
|
||||
|
||||
### npm-rm(1)
|
||||
|
||||
@@ -161,10 +169,6 @@ Start a package
|
||||
|
||||
Stop a package
|
||||
|
||||
### npm-submodule(1)
|
||||
|
||||
Add a package as a git submodule
|
||||
|
||||
### npm-tag(1)
|
||||
|
||||
Tag a published version
|
||||
@@ -203,7 +207,7 @@ Using npm in your Node programs
|
||||
|
||||
### npm(3)
|
||||
|
||||
node package manager
|
||||
javascript package manager
|
||||
|
||||
### npm-bin(3)
|
||||
|
||||
@@ -299,7 +303,7 @@ Open package repository page in the browser
|
||||
|
||||
### npm-restart(3)
|
||||
|
||||
Start a package
|
||||
Restart a package
|
||||
|
||||
### npm-root(3)
|
||||
|
||||
@@ -325,10 +329,6 @@ Start a package
|
||||
|
||||
Stop a package
|
||||
|
||||
### npm-submodule(3)
|
||||
|
||||
Add a package as a git submodule
|
||||
|
||||
### npm-tag(3)
|
||||
|
||||
Tag a published version
|
||||
|
||||
2
deps/npm/doc/misc/npm-registry.md
vendored
2
deps/npm/doc/misc/npm-registry.md
vendored
@@ -57,7 +57,7 @@ effectively implement the entire CouchDB API anyway.
|
||||
|
||||
## Is there a website or something to see package docs and such?
|
||||
|
||||
Yes, head over to <https://npmjs.org/>
|
||||
Yes, head over to <https://npmjs.com/>
|
||||
|
||||
## SEE ALSO
|
||||
|
||||
|
||||
4
deps/npm/doc/misc/npm-scope.md
vendored
4
deps/npm/doc/misc/npm-scope.md
vendored
@@ -25,8 +25,8 @@ scoped modules will be in `node_modules/@myorg/packagename`. The scope folder
|
||||
(`@myorg`) is simply the name of the scope preceded by an @-symbol, and can
|
||||
contain any number of scoped packages.
|
||||
|
||||
A scoped package is install by referencing it by name, preceded by an @-symbol,
|
||||
in `npm install`:
|
||||
A scoped package is installed by referencing it by name, preceded by an
|
||||
@-symbol, in `npm install`:
|
||||
|
||||
npm install @myorg/mypackage
|
||||
|
||||
|
||||
15
deps/npm/doc/misc/npm-scripts.md
vendored
15
deps/npm/doc/misc/npm-scripts.md
vendored
@@ -3,7 +3,7 @@ npm-scripts(7) -- How npm handles the "scripts" field
|
||||
|
||||
## DESCRIPTION
|
||||
|
||||
npm supports the "scripts" member of the package.json script, for the
|
||||
npm supports the "scripts" property of the package.json script, for the
|
||||
following scripts:
|
||||
|
||||
* prepublish:
|
||||
@@ -19,10 +19,6 @@ following scripts:
|
||||
Run BEFORE the package is uninstalled.
|
||||
* postuninstall:
|
||||
Run AFTER the package is uninstalled.
|
||||
* preupdate:
|
||||
Run BEFORE the package is updated with the update command.
|
||||
* update, postupdate:
|
||||
Run AFTER the package is updated with the update command.
|
||||
* pretest, test, posttest:
|
||||
Run by the `npm test` command.
|
||||
* prestop, stop, poststop:
|
||||
@@ -33,9 +29,10 @@ following scripts:
|
||||
Run by the `npm restart` command. Note: `npm restart` will run the
|
||||
stop and start scripts if no `restart` script is provided.
|
||||
|
||||
Additionally, arbitrary scripts can be executed by running `npm run-script
|
||||
<pkg> <stage>`. *Pre* and *post* commands with matching names will be run for
|
||||
those as well (e.g. `premyscript`, `myscript`, `postmyscript`).
|
||||
Additionally, arbitrary scripts can be executed by running `npm
|
||||
run-script <pkg> <stage>`. *Pre* and *post* commands with matching
|
||||
names will be run for those as well (e.g. `premyscript`, `myscript`,
|
||||
`postmyscript`).
|
||||
|
||||
## NOTE: INSTALL SCRIPTS ARE AN ANTIPATTERN
|
||||
|
||||
@@ -136,7 +133,7 @@ Configuration parameters are put in the environment with the
|
||||
`npm_config_` prefix. For instance, you can view the effective `root`
|
||||
config by checking the `npm_config_root` environment variable.
|
||||
|
||||
### Special: package.json "config" hash
|
||||
### Special: package.json "config" object
|
||||
|
||||
The package.json "config" keys are overwritten in the environment if
|
||||
there is a config param of `<name>[@<version>]:<key>`. For example,
|
||||
|
||||
37
deps/npm/doc/misc/semver.md
vendored
37
deps/npm/doc/misc/semver.md
vendored
@@ -16,12 +16,12 @@ As a command-line utility:
|
||||
|
||||
$ semver -h
|
||||
|
||||
Usage: semver <version> [<version> [...]] [-r <range> | -i <inc> | -d <dec>]
|
||||
Usage: semver <version> [<version> [...]] [-r <range> | -i <inc> | --preid <identifier> | -l | -rv]
|
||||
Test if version(s) satisfy the supplied range(s), and sort them.
|
||||
|
||||
Multiple versions or ranges may be supplied, unless increment
|
||||
or decrement options are specified. In that case, only a single
|
||||
version may be used, and it is incremented by the specified level
|
||||
option is specified. In that case, only a single version may
|
||||
be used, and it is incremented by the specified level
|
||||
|
||||
Program exits successfully if any valid version satisfies
|
||||
all supplied ranges, and prints all satisfying versions.
|
||||
@@ -101,6 +101,30 @@ the user is indicating that they are aware of the risk. However, it
|
||||
is still not appropriate to assume that they have opted into taking a
|
||||
similar risk on the *next* set of prerelease versions.
|
||||
|
||||
#### Prerelease Identifiers
|
||||
|
||||
The method `.inc` takes an additional `identifier` string argument that
|
||||
will append the value of the string as a prerelease identifier:
|
||||
|
||||
````javascript
|
||||
> semver.inc('1.2.3', 'pre', 'beta')
|
||||
'1.2.4-beta.0'
|
||||
```
|
||||
|
||||
command-line example:
|
||||
|
||||
```shell
|
||||
$ semver 1.2.3 -i prerelease --preid beta
|
||||
1.2.4-beta.0
|
||||
```
|
||||
|
||||
Which then can be used to increment further:
|
||||
|
||||
```shell
|
||||
$ semver 1.2.4-beta.0 -i prerelease
|
||||
1.2.4-beta.1
|
||||
```
|
||||
|
||||
### Advanced Range Syntax
|
||||
|
||||
Advanced range syntax desugars to primitive comparators in
|
||||
@@ -140,7 +164,7 @@ numeric values in the `[major, minor, patch]` tuple.
|
||||
A partial version range is treated as an X-Range, so the special
|
||||
character is in fact optional.
|
||||
|
||||
* `` (empty string) := `*` := `>=0.0.0`
|
||||
* `""` (empty string) := `*` := `>=0.0.0`
|
||||
* `1` := `1.x.x` := `>=1.0.0 <2.0.0`
|
||||
* `1.2` := `1.2.x` := `>=1.2.0 <1.3.0`
|
||||
|
||||
@@ -161,8 +185,6 @@ comparator. Allows minor-level changes if not.
|
||||
`1.2.4-beta.2` would not, because it is a prerelease of a
|
||||
different `[major, minor, patch]` tuple.
|
||||
|
||||
Note: this is the same as the `~>` operator in rubygems.
|
||||
|
||||
#### Caret Ranges `^1.2.3` `^0.2.5` `^0.0.4`
|
||||
|
||||
Allows changes that do not modify the left-most non-zero digit in the
|
||||
@@ -245,6 +267,9 @@ strings that they parse.
|
||||
`v2` is greater. Sorts in ascending order if passed to `Array.sort()`.
|
||||
* `rcompare(v1, v2)`: The reverse of compare. Sorts an array of versions
|
||||
in descending order when passed to `Array.sort()`.
|
||||
* `diff(v1, v2)`: Returns difference between two versions by the release type
|
||||
(`major`, `premajor`, `minor`, `preminor`, `patch`, `prepatch`, or `prerelease`),
|
||||
or null if the versions are the same.
|
||||
|
||||
|
||||
### Ranges
|
||||
|
||||
55
deps/npm/html/doc/README.html
vendored
55
deps/npm/html/doc/README.html
vendored
@@ -9,7 +9,7 @@
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
|
||||
<h1><a href="cli/npm.html">npm</a></h1> <p>node package manager</p>
|
||||
<h1><a href="cli/npm.html">npm</a></h1> <p>a JavaScript package manager</p>
|
||||
<p><a href="https://travis-ci.org/npm/npm"><img src="https://img.shields.io/travis/npm/npm/master.svg" alt="Build Status"></a></p>
|
||||
<h2 id="synopsis">SYNOPSIS</h2>
|
||||
<p>This is just enough info to get you up and running.</p>
|
||||
@@ -30,9 +30,9 @@ and prior, clone the git repo and dig through the old tags and branches.</p>
|
||||
paths, etc.) then read on.</p>
|
||||
<h2 id="fancy-install-unix-">Fancy Install (Unix)</h2>
|
||||
<p>There's a pretty robust install script at
|
||||
<a href="https://www.npmjs.org/install.sh">https://www.npmjs.org/install.sh</a>. You can download that and run it.</p>
|
||||
<a href="https://www.npmjs.com/install.sh">https://www.npmjs.com/install.sh</a>. You can download that and run it.</p>
|
||||
<p>Here's an example using curl:</p>
|
||||
<pre><code>curl -L https://npmjs.org/install.sh | sh
|
||||
<pre><code>curl -L https://npmjs.com/install.sh | sh
|
||||
</code></pre><h3 id="slightly-fancier">Slightly Fancier</h3>
|
||||
<p>You can set any npm configuration params with that script:</p>
|
||||
<pre><code>npm_config_prefix=/some/path sh install.sh
|
||||
@@ -45,31 +45,16 @@ If you plan on hacking on npm, <code>make link</code> is your friend.</p>
|
||||
arbitrary config keys using the <code>./configure --key=val ...</code>, and then
|
||||
run npm commands by doing <code>node cli.js <cmd> <args></code>. (This is helpful
|
||||
for testing, or running stuff without actually installing npm itself.)</p>
|
||||
<h2 id="fancy-windows-install">Fancy Windows Install</h2>
|
||||
<p>You can download a zip file from <a href="https://npmjs.org/dist/">https://npmjs.org/dist/</a>, and unpack it
|
||||
<h2 id="windows-install-or-upgrade">Windows Install or Upgrade</h2>
|
||||
<p>You can download a zip file from <a href="https://github.com/npm/npm/releases">https://github.com/npm/npm/releases</a>, and unpack it
|
||||
in the same folder where node.exe lives.</p>
|
||||
<p>The latest version in a zip file is 1.4.12. To upgrade to npm 2, follow the
|
||||
Windows upgrade instructions in the npm Troubleshooting Guide:</p>
|
||||
<p><a href="https://github.com/npm/npm/wiki/Troubleshooting#upgrading-on-windows">https://github.com/npm/npm/wiki/Troubleshooting#upgrading-on-windows</a></p>
|
||||
<p>If that's not fancy enough for you, then you can fetch the code with
|
||||
git, and mess with it directly.</p>
|
||||
<h2 id="installing-on-cygwin">Installing on Cygwin</h2>
|
||||
<p>No.</p>
|
||||
<h2 id="permissions-when-using-npm-to-install-other-stuff">Permissions when Using npm to Install Other Stuff</h2>
|
||||
<p><strong>tl;dr</strong></p>
|
||||
<ul>
|
||||
<li>Use <code>sudo</code> for greater safety. Or don't, if you prefer not to.</li>
|
||||
<li>npm will downgrade permissions if it's root before running any build
|
||||
scripts that package authors specified.</li>
|
||||
</ul>
|
||||
<h3 id="more-details-">More details...</h3>
|
||||
<p>As of version 0.3, it is recommended to run npm as root.
|
||||
This allows npm to change the user identifier to the <code>nobody</code> user prior
|
||||
to running any package build or test commands.</p>
|
||||
<p>If you are not the root user, or if you are on a platform that does not
|
||||
support uid switching, then npm will not attempt to change the userid.</p>
|
||||
<p>If you would like to ensure that npm <strong>always</strong> runs scripts as the
|
||||
"nobody" user, and have it fail if it cannot downgrade permissions, then
|
||||
set the following configuration param:</p>
|
||||
<pre><code>npm config set unsafe-perm false
|
||||
</code></pre><p>This will prevent running in unsafe mode, even as non-root users.</p>
|
||||
<h2 id="uninstalling">Uninstalling</h2>
|
||||
<p>So sad to see you go.</p>
|
||||
<pre><code>sudo npm uninstall npm -g
|
||||
@@ -108,7 +93,7 @@ npm.load(myConfigObject, function (er) {
|
||||
if (er) return commandFailed(er)
|
||||
// command succeeded, and data might have some info
|
||||
})
|
||||
npm.on("log", function (message) { .... })
|
||||
npm.registry.log.on("log", function (message) { .... })
|
||||
})
|
||||
</code></pre><p>The <code>load</code> function takes an object hash of the command-line configs.
|
||||
The various <code>npm.commands.<cmd></code> functions take an <strong>array</strong> of
|
||||
@@ -122,11 +107,11 @@ change the value for <em>all</em> npm commands in that process.</p>
|
||||
command line arguments using nopt. You may also want to check out <code>npm
|
||||
help config</code> to learn about all the options you can set there.</p>
|
||||
<h2 id="more-docs">More Docs</h2>
|
||||
<p>Check out the <a href="https://www.npmjs.org/doc/">docs</a>,
|
||||
especially the <a href="https://www.npmjs.org/doc/faq.html">faq</a>.</p>
|
||||
<p>Check out the <a href="https://docs.npmjs.com/">docs</a>,
|
||||
especially the <a href="https://docs.npmjs.com/misc/faq">faq</a>.</p>
|
||||
<p>You can use the <code>npm help</code> command to read any of them.</p>
|
||||
<p>If you're a developer, and you want to use npm to publish your program,
|
||||
you should <a href="https://www.npmjs.org/doc/developers.html">read this</a></p>
|
||||
you should <a href="https://docs.npmjs.com/misc/developers">read this</a></p>
|
||||
<h2 id="legal-stuff">Legal Stuff</h2>
|
||||
<p>"npm" and "The npm Registry" are owned by npm, Inc.
|
||||
All rights reserved. See the included LICENSE file for more details.</p>
|
||||
@@ -139,9 +124,9 @@ ensure accountability, there is absolutely no guarantee, warrantee, or
|
||||
assertion expressed or implied as to the quality, fitness for a
|
||||
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://www.npmjs.org/doc/misc/npm-disputes.html">resolve it with the package
|
||||
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>
|
||||
@@ -160,8 +145,6 @@ ban your account in extreme cases. So don't do that.</p>
|
||||
<ul>
|
||||
<li>web:
|
||||
<a href="https://github.com/npm/npm/issues">https://github.com/npm/npm/issues</a></li>
|
||||
<li>email:
|
||||
<a href="mailto:npm-@googlegroups.com">npm-@googlegroups.com</a></li>
|
||||
</ul>
|
||||
<p>Be sure to include <em>all</em> of the output from the npm command that didn't work
|
||||
as expected. The <code>npm-debug.log</code> file is also helpful to provide.</p>
|
||||
@@ -169,10 +152,10 @@ as expected. The <code>npm-debug.log</code> file is also helpful to provide.</p
|
||||
will no doubt tell you to put the output in a gist or email.</p>
|
||||
<h2 id="see-also">SEE ALSO</h2>
|
||||
<ul>
|
||||
<li><a href="cli/npm.html">npm(1)</a></li>
|
||||
<li><a href="misc/npm-faq.html">npm-faq(7)</a></li>
|
||||
<li><a href="cli/npm-help.html">npm-help(1)</a></li>
|
||||
<li><a href="misc/npm-index.html">npm-index(7)</a></li>
|
||||
<li><a href="cli/npm.html"><a href="cli/npm.html">npm(1)</a></a></li>
|
||||
<li><a href="misc/npm-faq.html"><a href="misc/npm-faq.html">npm-faq(7)</a></a></li>
|
||||
<li><a href="cli/npm-help.html"><a href="cli/npm-help.html">npm-help(1)</a></a></li>
|
||||
<li><a href="misc/npm-index.html"><a href="misc/npm-index.html">npm-index(7)</a></a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
@@ -186,5 +169,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.0.0</p>
|
||||
<p id="footer"><a href="../doc/README.html">README</a> — npm@2.5.1</p>
|
||||
|
||||
|
||||
4
deps/npm/html/doc/api/npm-bin.html
vendored
4
deps/npm/html/doc/api/npm-bin.html
vendored
@@ -15,7 +15,7 @@
|
||||
</code></pre><h2 id="description">DESCRIPTION</h2>
|
||||
<p>Print the folder where npm will install executables.</p>
|
||||
<p>This function should not be used programmatically. Instead, just refer
|
||||
to the <code>npm.bin</code> member.</p>
|
||||
to the <code>npm.bin</code> property.</p>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -28,5 +28,5 @@ to the <code>npm.bin</code> member.</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.0.0</p>
|
||||
<p id="footer">npm-bin — npm@2.5.1</p>
|
||||
|
||||
|
||||
2
deps/npm/html/doc/api/npm-bugs.html
vendored
2
deps/npm/html/doc/api/npm-bugs.html
vendored
@@ -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.0.0</p>
|
||||
<p id="footer">npm-bugs — npm@2.5.1</p>
|
||||
|
||||
|
||||
4
deps/npm/html/doc/api/npm-cache.html
vendored
4
deps/npm/html/doc/api/npm-cache.html
vendored
@@ -18,7 +18,7 @@ npm.commands.cache.clean([args], callback)
|
||||
npm.commands.cache.add([args], callback)
|
||||
npm.commands.cache.read(name, version, forceBypass, callback)
|
||||
</code></pre><h2 id="description">DESCRIPTION</h2>
|
||||
<p>This acts much the same ways as the <a href="../cli/npm-cache.html">npm-cache(1)</a> command line
|
||||
<p>This acts much the same ways as the <a href="../cli/npm-cache.html"><a href="../cli/npm-cache.html">npm-cache(1)</a></a> command line
|
||||
functionality.</p>
|
||||
<p>The callback is called with the package.json data of the thing that is
|
||||
eventually added to or read from the cache.</p>
|
||||
@@ -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.0.0</p>
|
||||
<p id="footer">npm-cache — npm@2.5.1</p>
|
||||
|
||||
|
||||
4
deps/npm/html/doc/api/npm-commands.html
vendored
4
deps/npm/html/doc/api/npm-commands.html
vendored
@@ -22,7 +22,7 @@ commands are special and take other optional arguments.</p>
|
||||
usage, or <code>man 3 npm-<command></code> for programmatic usage.</p>
|
||||
<h2 id="see-also">SEE ALSO</h2>
|
||||
<ul>
|
||||
<li><a href="../misc/npm-index.html">npm-index(7)</a></li>
|
||||
<li><a href="../misc/npm-index.html"><a href="../misc/npm-index.html">npm-index(7)</a></a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
@@ -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.0.0</p>
|
||||
<p id="footer">npm-commands — npm@2.5.1</p>
|
||||
|
||||
|
||||
4
deps/npm/html/doc/api/npm-config.html
vendored
4
deps/npm/html/doc/api/npm-config.html
vendored
@@ -43,7 +43,7 @@ the duration of a program, use the <code>npm.config.set</code> and <code>npm.con
|
||||
functions instead.</p>
|
||||
<h2 id="see-also">SEE ALSO</h2>
|
||||
<ul>
|
||||
<li><a href="../api/npm.html">npm(3)</a></li>
|
||||
<li><a href="../api/npm.html"><a href="../api/npm.html">npm(3)</a></a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
@@ -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.0.0</p>
|
||||
<p id="footer">npm-config — npm@2.5.1</p>
|
||||
|
||||
|
||||
8
deps/npm/html/doc/api/npm-deprecate.html
vendored
8
deps/npm/html/doc/api/npm-deprecate.html
vendored
@@ -31,9 +31,9 @@ a deprecation warning to all who attempt to install it.</p>
|
||||
<p>To un-deprecate a package, specify an empty string (<code>""</code>) for the <code>message</code> argument.</p>
|
||||
<h2 id="see-also">SEE ALSO</h2>
|
||||
<ul>
|
||||
<li><a href="../api/npm-publish.html">npm-publish(3)</a></li>
|
||||
<li><a href="../api/npm-unpublish.html">npm-unpublish(3)</a></li>
|
||||
<li><a href="../misc/npm-registry.html">npm-registry(7)</a></li>
|
||||
<li><a href="../api/npm-publish.html"><a href="../api/npm-publish.html">npm-publish(3)</a></a></li>
|
||||
<li><a href="../api/npm-unpublish.html"><a href="../api/npm-unpublish.html">npm-unpublish(3)</a></a></li>
|
||||
<li><a href="../misc/npm-registry.html"><a href="../misc/npm-registry.html">npm-registry(7)</a></a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
@@ -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.0.0</p>
|
||||
<p id="footer">npm-deprecate — npm@2.5.1</p>
|
||||
|
||||
|
||||
2
deps/npm/html/doc/api/npm-docs.html
vendored
2
deps/npm/html/doc/api/npm-docs.html
vendored
@@ -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.0.0</p>
|
||||
<p id="footer">npm-docs — npm@2.5.1</p>
|
||||
|
||||
|
||||
2
deps/npm/html/doc/api/npm-edit.html
vendored
2
deps/npm/html/doc/api/npm-edit.html
vendored
@@ -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.0.0</p>
|
||||
<p id="footer">npm-edit — npm@2.5.1</p>
|
||||
|
||||
|
||||
2
deps/npm/html/doc/api/npm-explore.html
vendored
2
deps/npm/html/doc/api/npm-explore.html
vendored
@@ -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.0.0</p>
|
||||
<p id="footer">npm-explore — npm@2.5.1</p>
|
||||
|
||||
|
||||
4
deps/npm/html/doc/api/npm-help-search.html
vendored
4
deps/npm/html/doc/api/npm-help-search.html
vendored
@@ -31,7 +31,7 @@ An array of all matching lines (and some adjacent lines).</li>
|
||||
<li>file:
|
||||
Name of the file that matched</li>
|
||||
</ul>
|
||||
<p>The silent parameter is not neccessary not used, but it may in the future.</p>
|
||||
<p>The silent parameter is not necessary not used, but it may in the future.</p>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -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.0.0</p>
|
||||
<p id="footer">npm-help-search — npm@2.5.1</p>
|
||||
|
||||
|
||||
4
deps/npm/html/doc/api/npm-init.html
vendored
4
deps/npm/html/doc/api/npm-init.html
vendored
@@ -26,7 +26,7 @@ JavaScript makes it stupid simple to output formatted JSON, that is the
|
||||
preferred method. If you're sure you want to handle command-line prompting,
|
||||
then go ahead and use this programmatically.</p>
|
||||
<h2 id="see-also">SEE ALSO</h2>
|
||||
<p><a href="../files/package.json.html">package.json(5)</a></p>
|
||||
<p><a href="../files/package.json.html"><a href="../files/package.json.html">package.json(5)</a></a></p>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -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.0.0</p>
|
||||
<p id="footer">npm-init — npm@2.5.1</p>
|
||||
|
||||
|
||||
2
deps/npm/html/doc/api/npm-install.html
vendored
2
deps/npm/html/doc/api/npm-install.html
vendored
@@ -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.0.0</p>
|
||||
<p id="footer">npm-install — npm@2.5.1</p>
|
||||
|
||||
|
||||
2
deps/npm/html/doc/api/npm-link.html
vendored
2
deps/npm/html/doc/api/npm-link.html
vendored
@@ -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.0.0</p>
|
||||
<p id="footer">npm-link — npm@2.5.1</p>
|
||||
|
||||
|
||||
8
deps/npm/html/doc/api/npm-load.html
vendored
8
deps/npm/html/doc/api/npm-load.html
vendored
@@ -15,9 +15,9 @@
|
||||
</code></pre><h2 id="description">DESCRIPTION</h2>
|
||||
<p>npm.load() must be called before any other function call. Both parameters are
|
||||
optional, but the second is recommended.</p>
|
||||
<p>The first parameter is an object hash of command-line config params, and the
|
||||
second parameter is a callback that will be called when npm is loaded and
|
||||
ready to serve.</p>
|
||||
<p>The first parameter is an object containing command-line config params, and the
|
||||
second parameter is a callback that will be called when npm is loaded and ready
|
||||
to serve.</p>
|
||||
<p>The first parameter should follow a similar structure as the package.json
|
||||
config object.</p>
|
||||
<p>For example, to emulate the --dev flag, pass an object that looks like this:</p>
|
||||
@@ -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.0.0</p>
|
||||
<p id="footer">npm-load — npm@2.5.1</p>
|
||||
|
||||
|
||||
4
deps/npm/html/doc/api/npm-ls.html
vendored
4
deps/npm/html/doc/api/npm-ls.html
vendored
@@ -49,7 +49,7 @@ taken if it is serialized to JSON.</p>
|
||||
<p>List packages in the global install prefix instead of in the current
|
||||
project.</p>
|
||||
<p>Note, if parseable is set or long isn't set, then duplicates will be trimmed.
|
||||
This means that if a submodule a same dependency as a parent module, then the
|
||||
This means that if a submodule has the same dependency as a parent module, then the
|
||||
dependency will only be output once.</p>
|
||||
|
||||
</div>
|
||||
@@ -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.0.0</p>
|
||||
<p id="footer">npm-ls — npm@2.5.1</p>
|
||||
|
||||
|
||||
2
deps/npm/html/doc/api/npm-outdated.html
vendored
2
deps/npm/html/doc/api/npm-outdated.html
vendored
@@ -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.0.0</p>
|
||||
<p id="footer">npm-outdated — npm@2.5.1</p>
|
||||
|
||||
|
||||
6
deps/npm/html/doc/api/npm-owner.html
vendored
6
deps/npm/html/doc/api/npm-owner.html
vendored
@@ -32,8 +32,8 @@ or you can't. Future versions may contain more fine-grained access levels,
|
||||
that is not implemented at this time.</p>
|
||||
<h2 id="see-also">SEE ALSO</h2>
|
||||
<ul>
|
||||
<li><a href="../api/npm-publish.html">npm-publish(3)</a></li>
|
||||
<li><a href="../misc/npm-registry.html">npm-registry(7)</a></li>
|
||||
<li><a href="../api/npm-publish.html"><a href="../api/npm-publish.html">npm-publish(3)</a></a></li>
|
||||
<li><a href="../misc/npm-registry.html"><a href="../misc/npm-registry.html">npm-registry(7)</a></a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
@@ -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.0.0</p>
|
||||
<p id="footer">npm-owner — npm@2.5.1</p>
|
||||
|
||||
|
||||
2
deps/npm/html/doc/api/npm-pack.html
vendored
2
deps/npm/html/doc/api/npm-pack.html
vendored
@@ -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.0.0</p>
|
||||
<p id="footer">npm-pack — npm@2.5.1</p>
|
||||
|
||||
|
||||
2
deps/npm/html/doc/api/npm-prefix.html
vendored
2
deps/npm/html/doc/api/npm-prefix.html
vendored
@@ -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.0.0</p>
|
||||
<p id="footer">npm-prefix — npm@2.5.1</p>
|
||||
|
||||
|
||||
2
deps/npm/html/doc/api/npm-prune.html
vendored
2
deps/npm/html/doc/api/npm-prune.html
vendored
@@ -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.0.0</p>
|
||||
<p id="footer">npm-prune — npm@2.5.1</p>
|
||||
|
||||
|
||||
8
deps/npm/html/doc/api/npm-publish.html
vendored
8
deps/npm/html/doc/api/npm-publish.html
vendored
@@ -30,9 +30,9 @@ current working directory.</p>
|
||||
the registry. Overwrites when the "force" environment variable is set.</p>
|
||||
<h2 id="see-also">SEE ALSO</h2>
|
||||
<ul>
|
||||
<li><a href="../misc/npm-registry.html">npm-registry(7)</a></li>
|
||||
<li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li>
|
||||
<li><a href="../api/npm-owner.html">npm-owner(3)</a></li>
|
||||
<li><a href="../misc/npm-registry.html"><a href="../misc/npm-registry.html">npm-registry(7)</a></a></li>
|
||||
<li><a href="../cli/npm-adduser.html"><a href="../cli/npm-adduser.html">npm-adduser(1)</a></a></li>
|
||||
<li><a href="../api/npm-owner.html"><a href="../api/npm-owner.html">npm-owner(3)</a></a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
@@ -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.0.0</p>
|
||||
<p id="footer">npm-publish — npm@2.5.1</p>
|
||||
|
||||
|
||||
2
deps/npm/html/doc/api/npm-rebuild.html
vendored
2
deps/npm/html/doc/api/npm-rebuild.html
vendored
@@ -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.0.0</p>
|
||||
<p id="footer">npm-rebuild — npm@2.5.1</p>
|
||||
|
||||
|
||||
2
deps/npm/html/doc/api/npm-repo.html
vendored
2
deps/npm/html/doc/api/npm-repo.html
vendored
@@ -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.0.0</p>
|
||||
<p id="footer">npm-repo — npm@2.5.1</p>
|
||||
|
||||
|
||||
34
deps/npm/html/doc/api/npm-restart.html
vendored
34
deps/npm/html/doc/api/npm-restart.html
vendored
@@ -9,20 +9,36 @@
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
|
||||
<h1><a href="../api/npm-restart.html">npm-restart</a></h1> <p>Start a package</p>
|
||||
<h1><a href="../api/npm-restart.html">npm-restart</a></h1> <p>Restart a package</p>
|
||||
<h2 id="synopsis">SYNOPSIS</h2>
|
||||
<pre><code>npm.commands.restart(packages, callback)
|
||||
</code></pre><h2 id="description">DESCRIPTION</h2>
|
||||
<p>This runs a package's "restart" script, if one was provided.
|
||||
Otherwise it runs package's "stop" script, if one was provided, and then
|
||||
the "start" script.</p>
|
||||
<p>This restarts a package (or multiple packages).</p>
|
||||
<p>This runs a package's "stop", "restart", and "start" scripts, and associated
|
||||
pre- and post- scripts, in the order given below:</p>
|
||||
<ol>
|
||||
<li>prerestart</li>
|
||||
<li>prestop</li>
|
||||
<li>stop</li>
|
||||
<li>poststop</li>
|
||||
<li>restart</li>
|
||||
<li>prestart</li>
|
||||
<li>start</li>
|
||||
<li>poststart</li>
|
||||
<li>postrestart</li>
|
||||
</ol>
|
||||
<p>If no version is specified, then it restarts the "active" version.</p>
|
||||
<p>npm can run tests on multiple packages. Just specify multiple packages
|
||||
in the <code>packages</code> parameter.</p>
|
||||
<p>npm can restart multiple packages. Just specify multiple packages in
|
||||
the <code>packages</code> parameter.</p>
|
||||
<h2 id="note">NOTE</h2>
|
||||
<p>Note that the "restart" script is run <strong>in addition to</strong> the "stop"
|
||||
and "start" scripts, not instead of them.</p>
|
||||
<p>This is the behavior as of <code>npm</code> major version 2. A change in this
|
||||
behavior will be accompanied by an increase in major version number</p>
|
||||
<h2 id="see-also">SEE ALSO</h2>
|
||||
<ul>
|
||||
<li><a href="../api/npm-start.html">npm-start(3)</a></li>
|
||||
<li><a href="../api/npm-stop.html">npm-stop(3)</a></li>
|
||||
<li><a href="../api/npm-start.html"><a href="../api/npm-start.html">npm-start(3)</a></a></li>
|
||||
<li><a href="../api/npm-stop.html"><a href="../api/npm-stop.html">npm-stop(3)</a></a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
@@ -36,5 +52,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-restart — npm@2.0.0</p>
|
||||
<p id="footer">npm-restart — npm@2.5.1</p>
|
||||
|
||||
|
||||
2
deps/npm/html/doc/api/npm-root.html
vendored
2
deps/npm/html/doc/api/npm-root.html
vendored
@@ -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.0.0</p>
|
||||
<p id="footer">npm-root — npm@2.5.1</p>
|
||||
|
||||
|
||||
12
deps/npm/html/doc/api/npm-run-script.html
vendored
12
deps/npm/html/doc/api/npm-run-script.html
vendored
@@ -23,11 +23,11 @@ one element, then the first is assumed to be the package and the second is
|
||||
assumed to be the command to run. All other elements are ignored.</p>
|
||||
<h2 id="see-also">SEE ALSO</h2>
|
||||
<ul>
|
||||
<li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li>
|
||||
<li><a href="../api/npm-test.html">npm-test(3)</a></li>
|
||||
<li><a href="../api/npm-start.html">npm-start(3)</a></li>
|
||||
<li><a href="../api/npm-restart.html">npm-restart(3)</a></li>
|
||||
<li><a href="../api/npm-stop.html">npm-stop(3)</a></li>
|
||||
<li><a href="../misc/npm-scripts.html"><a href="../misc/npm-scripts.html">npm-scripts(7)</a></a></li>
|
||||
<li><a href="../api/npm-test.html"><a href="../api/npm-test.html">npm-test(3)</a></a></li>
|
||||
<li><a href="../api/npm-start.html"><a href="../api/npm-start.html">npm-start(3)</a></a></li>
|
||||
<li><a href="../api/npm-restart.html"><a href="../api/npm-restart.html">npm-restart(3)</a></a></li>
|
||||
<li><a href="../api/npm-stop.html"><a href="../api/npm-stop.html">npm-stop(3)</a></a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
@@ -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.0.0</p>
|
||||
<p id="footer">npm-run-script — npm@2.5.1</p>
|
||||
|
||||
|
||||
2
deps/npm/html/doc/api/npm-search.html
vendored
2
deps/npm/html/doc/api/npm-search.html
vendored
@@ -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.0.0</p>
|
||||
<p id="footer">npm-search — npm@2.5.1</p>
|
||||
|
||||
|
||||
2
deps/npm/html/doc/api/npm-shrinkwrap.html
vendored
2
deps/npm/html/doc/api/npm-shrinkwrap.html
vendored
@@ -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.0.0</p>
|
||||
<p id="footer">npm-shrinkwrap — npm@2.5.1</p>
|
||||
|
||||
|
||||
6
deps/npm/html/doc/api/npm-start.html
vendored
6
deps/npm/html/doc/api/npm-start.html
vendored
@@ -14,8 +14,8 @@
|
||||
<pre><code>npm.commands.start(packages, callback)
|
||||
</code></pre><h2 id="description">DESCRIPTION</h2>
|
||||
<p>This runs a package's "start" script, if one was provided.</p>
|
||||
<p>npm can run tests on multiple packages. Just specify multiple packages
|
||||
in the <code>packages</code> parameter.</p>
|
||||
<p>npm can start multiple packages. Just specify multiple packages in the
|
||||
<code>packages</code> parameter.</p>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -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-start — npm@2.0.0</p>
|
||||
<p id="footer">npm-start — npm@2.5.1</p>
|
||||
|
||||
|
||||
2
deps/npm/html/doc/api/npm-stop.html
vendored
2
deps/npm/html/doc/api/npm-stop.html
vendored
@@ -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.0.0</p>
|
||||
<p id="footer">npm-stop — npm@2.5.1</p>
|
||||
|
||||
|
||||
2
deps/npm/html/doc/api/npm-submodule.html
vendored
2
deps/npm/html/doc/api/npm-submodule.html
vendored
@@ -42,5 +42,5 @@ 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@2.0.0</p>
|
||||
<p id="footer">npm-submodule — npm@1.4.28</p>
|
||||
|
||||
|
||||
4
deps/npm/html/doc/api/npm-tag.html
vendored
4
deps/npm/html/doc/api/npm-tag.html
vendored
@@ -21,7 +21,7 @@ currently used.</p>
|
||||
is the package name and version is the version number (much like installing a
|
||||
specific version).</p>
|
||||
<p>The second element is the name of the tag to tag this version with. If this
|
||||
parameter is missing or falsey (empty), the default froom the config will be
|
||||
parameter is missing or falsey (empty), the default from the config will be
|
||||
used. For more information about how to set this config, check
|
||||
<code>man 3 npm-config</code> for programmatic usage or <code>man npm-config</code> for cli usage.</p>
|
||||
|
||||
@@ -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.0.0</p>
|
||||
<p id="footer">npm-tag — npm@2.5.1</p>
|
||||
|
||||
|
||||
2
deps/npm/html/doc/api/npm-test.html
vendored
2
deps/npm/html/doc/api/npm-test.html
vendored
@@ -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.0.0</p>
|
||||
<p id="footer">npm-test — npm@2.5.1</p>
|
||||
|
||||
|
||||
2
deps/npm/html/doc/api/npm-uninstall.html
vendored
2
deps/npm/html/doc/api/npm-uninstall.html
vendored
@@ -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.0.0</p>
|
||||
<p id="footer">npm-uninstall — npm@2.5.1</p>
|
||||
|
||||
|
||||
2
deps/npm/html/doc/api/npm-unpublish.html
vendored
2
deps/npm/html/doc/api/npm-unpublish.html
vendored
@@ -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.0.0</p>
|
||||
<p id="footer">npm-unpublish — npm@2.5.1</p>
|
||||
|
||||
|
||||
2
deps/npm/html/doc/api/npm-update.html
vendored
2
deps/npm/html/doc/api/npm-update.html
vendored
@@ -27,5 +27,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-update — npm@2.0.0</p>
|
||||
<p id="footer">npm-update — npm@2.5.1</p>
|
||||
|
||||
|
||||
2
deps/npm/html/doc/api/npm-version.html
vendored
2
deps/npm/html/doc/api/npm-version.html
vendored
@@ -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.0.0</p>
|
||||
<p id="footer">npm-version — npm@2.5.1</p>
|
||||
|
||||
|
||||
2
deps/npm/html/doc/api/npm-view.html
vendored
2
deps/npm/html/doc/api/npm-view.html
vendored
@@ -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.0.0</p>
|
||||
<p id="footer">npm-view — npm@2.5.1</p>
|
||||
|
||||
|
||||
2
deps/npm/html/doc/api/npm-whoami.html
vendored
2
deps/npm/html/doc/api/npm-whoami.html
vendored
@@ -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.0.0</p>
|
||||
<p id="footer">npm-whoami — npm@2.5.1</p>
|
||||
|
||||
|
||||
29
deps/npm/html/doc/api/npm.html
vendored
29
deps/npm/html/doc/api/npm.html
vendored
@@ -9,7 +9,7 @@
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
|
||||
<h1><a href="../api/npm.html">npm</a></h1> <p>node package manager</p>
|
||||
<h1><a href="../api/npm.html">npm</a></h1> <p>javascript package manager</p>
|
||||
<h2 id="synopsis">SYNOPSIS</h2>
|
||||
<pre><code>var npm = require("npm")
|
||||
npm.load([configObject, ]function (er, npm) {
|
||||
@@ -23,20 +23,19 @@ npm.load([configObject, ]function (er, npm) {
|
||||
npm.commands.install(["package"], cb)
|
||||
})
|
||||
</code></pre><h2 id="version">VERSION</h2>
|
||||
<p>2.0.0</p>
|
||||
<p>2.5.1</p>
|
||||
<h2 id="description">DESCRIPTION</h2>
|
||||
<p>This is the API documentation for npm.
|
||||
To find documentation of the command line
|
||||
client, see <code><a href="../cli/npm.html">npm(1)</a></code>.</p>
|
||||
<p>Prior to using npm's commands, <code>npm.load()</code> must be called.
|
||||
If you provide <code>configObject</code> as an object hash of top-level
|
||||
configs, they override the values stored in the various config
|
||||
locations. In the npm command line client, this set of configs
|
||||
is parsed from the command line options. Additional configuration
|
||||
params are loaded from two configuration files. See <code><a href="../cli/npm-config.html">npm-config(1)</a></code>,
|
||||
<code><a href="../misc/npm-config.html">npm-config(7)</a></code>, and <code><a href="../files/npmrc.html">npmrc(5)</a></code> for more information.</p>
|
||||
client, see <code><a href="../cli/npm.html"><a href="../cli/npm.html">npm(1)</a></a></code>.</p>
|
||||
<p>Prior to using npm's commands, <code>npm.load()</code> must be called. If you provide
|
||||
<code>configObject</code> as an object map of top-level configs, they override the values
|
||||
stored in the various config locations. In the npm command line client, this
|
||||
set of configs is parsed from the command line options. Additional
|
||||
configuration params are loaded from two configuration files. See
|
||||
<code><a href="../cli/npm-config.html"><a href="../cli/npm-config.html">npm-config(1)</a></a></code>, <code><a href="../misc/npm-config.html"><a href="../misc/npm-config.html">npm-config(7)</a></a></code>, and <code><a href="../files/npmrc.html"><a href="../files/npmrc.html">npmrc(5)</a></a></code> for more information.</p>
|
||||
<p>After that, each of the functions are accessible in the
|
||||
commands object: <code>npm.commands.<cmd></code>. See <code><a href="../misc/npm-index.html">npm-index(7)</a></code> for a list of
|
||||
commands object: <code>npm.commands.<cmd></code>. See <code><a href="../misc/npm-index.html"><a href="../misc/npm-index.html">npm-index(7)</a></a></code> for a list of
|
||||
all possible commands.</p>
|
||||
<p>All commands on the command object take an <strong>array</strong> of positional argument
|
||||
<strong>strings</strong>. The last argument to any function is a callback. Some
|
||||
@@ -80,9 +79,9 @@ command.</p>
|
||||
</li>
|
||||
</ul>
|
||||
<h2 id="magic">MAGIC</h2>
|
||||
<p>For each of the methods in the <code>npm.commands</code> hash, a method is added to
|
||||
the npm object, which takes a set of positional string arguments rather
|
||||
than an array and a callback.</p>
|
||||
<p>For each of the methods in the <code>npm.commands</code> object, a method is added to the
|
||||
npm object, which takes a set of positional string arguments rather than an
|
||||
array and a callback.</p>
|
||||
<p>If the last argument is a callback, then it will use the supplied
|
||||
callback. However, if no callback is provided, then it will print out
|
||||
the error or results.</p>
|
||||
@@ -110,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.0.0</p>
|
||||
<p id="footer">npm — npm@2.5.1</p>
|
||||
|
||||
|
||||
79
deps/npm/html/doc/cli/npm-access.html
vendored
Normal file
79
deps/npm/html/doc/cli/npm-access.html
vendored
Normal file
@@ -0,0 +1,79 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<title>npm-access</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-access.html">
|
||||
<script async=true src="../../static/toc.js"></script>
|
||||
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
|
||||
<h1><a href="../cli/npm-access.html">npm-access</a></h1> <p>Set access level on published packages</p>
|
||||
<h2 id="synopsis">SYNOPSIS</h2>
|
||||
<pre><code>npm access public [<package>]
|
||||
npm access restricted [<package>]
|
||||
|
||||
npm access add <read-only|read-write> <entity> [<package>]
|
||||
npm access rm <entity> [<package>]
|
||||
|
||||
npm access ls [<package>]
|
||||
npm access edit [<package>]
|
||||
</code></pre><h2 id="description">DESCRIPTION</h2>
|
||||
<p>Used to set access controls on private packages.</p>
|
||||
<p>For all of the subcommands, <code>npm access</code> will perform actions on the packages
|
||||
in the current working directory if no package name is passed to the
|
||||
subcommand.</p>
|
||||
<ul>
|
||||
<li><p>public / restricted:
|
||||
Set a package to be either publicly accessible or restricted.</p>
|
||||
</li>
|
||||
<li><p>add / rm:
|
||||
Add or remove the ability of users and teams to have read-only or read-write
|
||||
access to a package.</p>
|
||||
</li>
|
||||
<li><p>ls:
|
||||
Show all of the access privileges for a package. Will only show permissions
|
||||
for packages to which you have at least read access.</p>
|
||||
</li>
|
||||
<li><p>edit:
|
||||
Set the access privileges for a package at once using <code>$EDITOR</code>.</p>
|
||||
</li>
|
||||
</ul>
|
||||
<h2 id="details">DETAILS</h2>
|
||||
<p><code>npm access</code> always operates directly on the current registry, configurable
|
||||
from the command line using <code>--registry=<registry url></code>.</p>
|
||||
<p>Unscoped packages are <em>always public</em>.</p>
|
||||
<p>Scoped packages <em>default to restricted</em>, but you can either publish them as
|
||||
public using <code>npm publish --access=public</code>, or set their access as public using
|
||||
<code>npm access public</code> after the initial publish.</p>
|
||||
<p>You must have privileges to set the access of a package:</p>
|
||||
<ul>
|
||||
<li>You are an owner of an unscoped or scoped package.</li>
|
||||
<li>You are a member of the team that owns a scope.</li>
|
||||
<li>You have been given read-write privileges for a package, either as a member
|
||||
of a team or directly as an owner.</li>
|
||||
</ul>
|
||||
<p>If your account is not paid, then attempts to publish scoped packages will fail
|
||||
with an HTTP 402 status code (logically enough), unless you use
|
||||
<code>--access=public</code>.</p>
|
||||
<h2 id="see-also">SEE ALSO</h2>
|
||||
<ul>
|
||||
<li><a href="../cli/npm-publish.html"><a href="../cli/npm-publish.html">npm-publish(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="../misc/npm-registry.html"><a href="../misc/npm-registry.html">npm-registry(7)</a></a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
|
||||
<tr><td style="width:180px;height:10px;background:rgb(237,127,127)" colspan=18> </td></tr>
|
||||
<tr><td rowspan=4 style="width:10px;height:10px;background:rgb(237,127,127)"> </td><td style="width:40px;height:10px;background:#fff" colspan=4> </td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=4> </td><td style="width:40px;height:10px;background:#fff" colspan=4> </td><td rowspan=4 style="width:10px;height:10px;background:rgb(237,127,127)"> </td><td colspan=6 style="width:60px;height:10px;background:#fff"> </td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=4> </td></tr>
|
||||
<tr><td colspan=2 style="width:20px;height:30px;background:#fff" rowspan=3> </td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3> </td><td style="width:10px;height:10px;background:#fff" rowspan=3> </td><td style="width:20px;height:10px;background:#fff" rowspan=4 colspan=2> </td><td style="width:10px;height:20px;background:rgb(237,127,127)" rowspan=2> </td><td style="width:10px;height:10px;background:#fff" rowspan=3> </td><td style="width:20px;height:10px;background:#fff" rowspan=3 colspan=2> </td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3> </td><td style="width:10px;height:10px;background:#fff" rowspan=3> </td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3> </td></tr>
|
||||
<tr><td style="width:10px;height:10px;background:#fff" rowspan=2> </td></tr>
|
||||
<tr><td style="width:10px;height:10px;background:#fff"> </td></tr>
|
||||
<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.5.1</p>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user