Gibson Fahnestock
2fce636f57
2018-03-06 Version 8.10.0 'Carbon' (LTS)
...
Notable changes:
* deps:
* update V8 to 6.2.414.46 (Michaël Zasso) [#16413 ](https://github.com/nodejs/node/pull/16413 )
* revert ABI breaking changes in V8 6.2 (Anna Henningsen) [#16413 ](https://github.com/nodejs/node/pull/16413 )
* upgrade libuv to 1.19.1 (cjihrig) [#18260 ](https://github.com/nodejs/node/pull/18260 )
* re land npm 5.6.0 (Myles Borins) [#18625 ](https://github.com/nodejs/node/pull/18625 )
* ICU 60 bump (Steven R. Loomis) [#16876 ](https://github.com/nodejs/node/pull/16876 )
* crypto:
* Support both OpenSSL 1.1.0 and 1.0.2 (David Benjamin) [#16130 ](https://github.com/nodejs/node/pull/16130 )
* warn on invalid authentication tag length (Tobias Nießen) [#17566 ](https://github.com/nodejs/node/pull/17566 )
* async_hooks:
* update defaultTriggerAsyncIdScope for perf (Anatoli Papirovski) [#18004 ](https://github.com/nodejs/node/pull/18004 )
* use typed array stack as fast path (Anna Henningsen) [#17780 ](https://github.com/nodejs/node/pull/17780 )
* use scope for defaultTriggerAsyncId (Andreas Madsen) [#17273 ](https://github.com/nodejs/node/pull/17273 )
* separate missing from default context (Andreas Madsen) [#17273 ](https://github.com/nodejs/node/pull/17273 )
* rename initTriggerId (Andreas Madsen) [#17273 ](https://github.com/nodejs/node/pull/17273 )
* deprecate undocumented API (Andreas Madsen) [#16972 ](https://github.com/nodejs/node/pull/16972 )
* add destroy event for gced AsyncResources (Sebastian Mayr) [#16998 ](https://github.com/nodejs/node/pull/16998 )
* add trace events to async_hooks (Andreas Madsen) [#15538 ](https://github.com/nodejs/node/pull/15538 )
* set HTTPParser trigger to socket (Andreas Madsen) [#18003 ](https://github.com/nodejs/node/pull/18003 )
* add provider types for net server (Andreas Madsen) [#17157 ](https://github.com/nodejs/node/pull/17157 )
* n-api:
* add helper for addons to get the event loop (Anna Henningsen) [#17109 ](https://github.com/nodejs/node/pull/17109 )
* cli:
* add --stack-trace-limit to NODE_OPTIONS (Anna Henningsen) [#16495 ](https://github.com/nodejs/node/pull/16495 )
* console:
* add support for console.debug (Benjamin Zaslavsky) [#17033 ](https://github.com/nodejs/node/pull/17033 )
* module:
* add builtinModules (Jon Moss) [#16386 ](https://github.com/nodejs/node/pull/16386 )
* replace default paths in require.resolve() (cjihrig) [#17113 ](https://github.com/nodejs/node/pull/17113 )
* src:
* add helper for addons to get the event loop (Anna Henningsen) [#17109 ](https://github.com/nodejs/node/pull/17109 )
* add process.ppid (cjihrig) [#16839 ](https://github.com/nodejs/node/pull/16839 )
* http:
* support generic `Duplex` streams (Anna Henningsen) [#16267 ](https://github.com/nodejs/node/pull/16267 )
* add rawPacket in err of `clientError` event (XadillaX) [#17672 ](https://github.com/nodejs/node/pull/17672 )
* better support for IPv6 addresses (Mattias Holmlund) [#14772 ](https://github.com/nodejs/node/pull/14772 )
* net:
* remove ADDRCONFIG DNS hint on Windows (Bartosz Sosnowski) [#17662 ](https://github.com/nodejs/node/pull/17662 )
* process:
* fix reading zero-length env vars on win32 (Anna Henningsen) [#18463 ](https://github.com/nodejs/node/pull/18463 )
* tls:
* unconsume stream on destroy (Anna Henningsen) [#17478 ](https://github.com/nodejs/node/pull/17478 )
* process:
* improve unhandled rejection message (Madara Uchiha) [#17158 ](https://github.com/nodejs/node/pull/17158 )
* stream:
* remove usage of *State.highWaterMark (Calvin Metcalf) [#12860 ](https://github.com/nodejs/node/pull/12860 )
* trace_events:
* add executionAsyncId to init events (Andreas Madsen) [#17196 ](https://github.com/nodejs/node/pull/17196 )
PR-URL: https://github.com/nodejs/node/pull/18336
v8.10.0
2018-03-06 22:07:06 +00:00
vdeturckheim
0776a43123
doc: add vdeturckheim as collaborator
...
PR-URL: https://github.com/nodejs/node/pull/18432
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com >
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com >
2018-02-27 02:12:43 -05:00
Joyee Cheung
8143a95c1f
benchmark: implement duration in http test double
...
PR-URL: https://github.com/nodejs/node/pull/18380
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2018-02-27 02:10:54 -05:00
Andreas Madsen
f779a8b5a4
benchmark: make compare.R easier to understand
...
PR-URL: https://github.com/nodejs/node/pull/18373
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2018-02-27 02:10:10 -05:00
James M Snell
577933a7c6
fs: cleanup fd lchown and lchownSync
...
lchown and lchownSync were opening file descriptors without
closing them. Looks like it has been that way for 7 years.
Does anyone actually use these functions?
PR-URL: https://github.com/nodejs/node/pull/18329
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2018-02-27 01:46:51 -05:00
sreepurnajasti
504054c8d5
doc: fix e.g., to e.g. in docs
...
PR-URL: https://github.com/nodejs/node/pull/18369
Fixes: https://github.com/nodejs/code-and-learn/issues/58
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2018-02-27 01:44:12 -05:00
Peter Dalgaard-Jensen
5f381e843a
doc: fix return value for require.resolve.paths()
...
Update documentation of modules.md for require.resolve.paths()
to include the possibillity of null as a return value if
the request string given matches a core module name.
PR-URL: https://github.com/nodejs/node/pull/18350
Fixes: https://github.com/nodejs/node/issues/18230
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2018-02-27 01:41:55 -05:00
Robert Adamian
37531a4103
doc: add missing word in modules.md
...
PR-URL: https://github.com/nodejs/node/pull/18343
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2018-02-27 01:39:41 -05:00
Antony Tran
477e7d1788
doc: add doc for performance.clearGC()
...
PR-URL: https://github.com/nodejs/node/pull/18331
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Khaidi Chu <i@2333.moe >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
2018-02-27 01:38:58 -05:00
Joyee Cheung
15c847e915
doc: split CONTRIBUTING.md
...
PR-URL: https://github.com/nodejs/node/pull/18271
Fixes: https://github.com/nodejs/node/issues/17842
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2018-02-27 01:35:31 -05:00
Matthew Turner
850e5bab1f
doc: fix typos in async_hooks
...
PR-URL: https://github.com/nodejs/node/pull/18314
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2018-02-27 01:35:08 -05:00
Vse Mozhet Byt
af88c0fc26
doc: add missing URL argument types in fs.md
...
PR-URL: https://github.com/nodejs/node/pull/18309
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2018-02-27 01:30:08 -05:00
Vse Mozhet Byt
454a3d9870
doc: remove confusing signature in fs.md
...
PR-URL: https://github.com/nodejs/node/pull/18310
Fixes: https://github.com/nodejs/node/issues/18305
Refs: https://github.com/nodejs/node/pull/13424
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
2018-02-27 01:29:50 -05:00
ryanmahan
d629be2b8f
test: change assert message to default
...
assert.strictEqual message argument removed to replace
with default assert message to show the expected vs
actual values
PR-URL: https://github.com/nodejs/node/pull/18259
Refs: https://github.com/nodejs/node/issues/13296
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Shingo Inoue <leko.noor@gmail.com >
Reviewed-By: Jon Moss <me@jonathanmoss.me >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2018-02-27 01:27:50 -05:00
Tobias Nießen
67b7ad3b67
doc: use PBKDF2 in text
...
Use upper case variant in text in compliance with RFC 2898.
PR-URL: https://github.com/nodejs/node/pull/18279
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Vladimir Kurchatkin <vladimir.kurchatkin@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2018-02-27 01:19:14 -05:00
Gilles De Mey
1cfc67c003
lib: fix typo in trace_events_async_hooks.js
...
chrome://traceing does not exist
PR-URL: https://github.com/nodejs/node/pull/18280
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com >
Reviewed-By: Jon Moss <me@jonathanmoss.me >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2018-02-27 01:15:11 -05:00
Matthew Turner
78eb81447f
doc: fix typo in async_hooks.md
...
Fix typo in `async_hooks.executionAsyncId()` explanation.
PR-URL: https://github.com/nodejs/node/pull/18286
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Minwoo Jung <minwoo@nodesource.com >
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com >
2018-02-27 01:14:24 -05:00
Mandeep Singh
0e6cb3f16b
test: use countdown timer
...
PR-URL: https://github.com/nodejs/node/pull/17326
Refs: https://github.com/nodejs/node/issues/17169
Reviewed-By: Jon Moss <me@jonathanmoss.me >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2018-02-27 01:12:21 -05:00
Leko
d554b8a669
doc: Add example of null to assert.ifError
...
PR-URL: https://github.com/nodejs/node/pull/18236
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2018-02-27 01:10:54 -05:00
Joyee Cheung
74d86ccd12
test: make async-wrap-getasyncid parallelizable
...
PR-URL: https://github.com/nodejs/node/pull/18245
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2018-02-27 01:09:30 -05:00
Mars Wong
bda8355530
doc: improve process.platform
...
PR-URL: https://github.com/nodejs/node/pull/18057
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2018-02-27 01:03:44 -05:00
Gus Caplan
4c89666bdc
doc: cjs format is now commonjs
...
PR-URL: https://github.com/nodejs/node/pull/18165
Reviewed-By: Guy Bedford <guybedford@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2018-02-27 01:03:28 -05:00
Jon Moss
9e79951855
test: refactor test-http-parser
...
Use common's mustCall (for some reason was implementing its own?), and
other small fixes.
PR-URL: https://github.com/nodejs/node/pull/18219
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2018-02-27 01:00:56 -05:00
sreepurnajasti
deb70417cd
benchmark: remove redundant +
...
PR-URL: https://github.com/nodejs/node/pull/17803
Refs: https://github.com/nodejs/code-and-learn/issues/72
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2018-02-27 01:00:23 -05:00
Franziska Hinkelmann
a4e8a929ca
doc: V8 branch used in 8.x not active anymore
...
Add 8.x to the LTS versions that use a V8 branch that is
not active anymore.
PR-URL: https://github.com/nodejs/node/pull/18155
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2018-02-27 00:56:27 -05:00
Stephen Belanger
83915234ad
doc: add change info for async_hooks.executionAsyncId()
...
Add meta information to async_hooks documentation informing that
executionAsyncId was renamed from currentId at Node.js 8.2.0.
PR-URL: https://github.com/nodejs/node/pull/17813
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com >
2018-02-27 00:55:46 -05:00
Suixinlei
896aa77eac
doc: add builtin module in building.md
...
Fixes: https://github.com/nodejs/node/issues/12516
Refs: https://github.com/nodejs/node/pull/2497
PR-URL: https://github.com/nodejs/node/pull/17705
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2018-02-27 00:55:24 -05:00
Matheus Marchini
5f1803be6c
doc: warn users about non-ASCII paths on build
...
The build breaks if there's a non-ASCII character on
the path to the building directory.
PR-URL: https://github.com/nodejs/node/pull/16735
Refs: https://github.com/nodejs/node/issues/16278
Refs: https://github.com/nodejs/node/issues/14336
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2018-02-27 00:54:26 -05:00
Rich Trott
b52afa2844
doc: simplify sentences that use "considered"
...
Change many instances of "x is considered to be y" to "x is y".
PR-URL: https://github.com/nodejs/node/pull/18095
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2018-02-27 00:54:00 -05:00
陈刚
b343cb60e1
fs: fix options.end of fs.ReadStream()
...
Fixes: https://github.com/nodejs/node/issues/18116
PR-URL: https://github.com/nodejs/node/pull/18121
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Weijia Wang <starkwang@126.com >
2018-02-27 00:51:35 -05:00
Michael Dawson
299482cb74
doc: update sample output for process.versions
...
Update so that it includes some of the more recent additions.
PR-URL: https://github.com/nodejs/node/pull/18167
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Minwoo Jung <minwoo@nodesource.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
2018-02-27 00:50:54 -05:00
Yosuke Furukawa
f7b48a3d08
doc: fix typo in TextEncoding section
...
PR-URL: https://github.com/nodejs/node/pull/18201
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Khaidi Chu <i@2333.moe >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com >
Reviewed-By: Weijia Wang <starkwang@126.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2018-02-27 00:50:02 -05:00
sreepurnajasti
9c75a0fa47
test: remove trivial buffer imports
...
Refs: #13836
PR-URL: https://github.com/nodejs/node/pull/18034
Refs: https://github.com/nodejs/node/issues/13836
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com >
Reviewed-By: Khaidi Chu <i@2333.moe >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2018-02-27 00:49:33 -05:00
Tobias Nießen
9f52d93c6c
test: use shorthand properties
...
PR-URL: https://github.com/nodejs/node/pull/18105
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Weijia Wang <starkwang@126.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2018-02-27 00:49:22 -05:00
Tobias Nießen
5d66c20c7a
test: simplify loadDHParam in TLS test
...
PR-URL: https://github.com/nodejs/node/pull/18103
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2018-02-27 00:47:29 -05:00
Ben Noordhuis
58fbcabb5c
test: fix flaky cluster unix socket test
...
Ensure `common.tmpDir` exists before trying to chdir into it. Fixes a
"ENOENT: no such file or directory, uv_chdir" error when the temporary
directory is removed before running the test.
PR-URL: https://github.com/nodejs/node/pull/18263
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Jon Moss <me@jonathanmoss.me >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Minwoo Jung <minwoo@nodesource.com >
2018-02-27 00:46:25 -05:00
laino
087cdaf871
cluster: resolve relative unix socket paths
...
Relative unix sockets paths were previously interpreted relative
to the master's CWD, which was inconsistent with non-cluster behavior.
A test case has been added as well.
PR-URL: https://github.com/nodejs/node/pull/16749
Fixes: https://github.com/nodejs/node/issues/16387
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2018-02-27 00:46:17 -05:00
Kyle Farnung
fd845d80eb
build,win: update lint-cpp on Windows
...
* Added a `lint-cpp` argument
* Updated `findstr` calls to output to `nul`
* Updated `findstr` calls to only use `/r` when the input is a regex
PR-URL: https://github.com/nodejs/node/pull/18012
Reviewed-By: João Reis <reis@janeasystems.com >
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com >
2018-02-27 00:44:26 -05:00
sreepurnajasti
15e07b8d22
test: improve to use template string
...
PR-URL: https://github.com/nodejs/node/pull/18097
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
2018-02-27 00:44:00 -05:00
Joyee Cheung
afc528920b
doc: suggest not to throw JS errors from C++
...
Also provide an example on how to use internal/errors
to handle errors in C++.
PR-URL: https://github.com/nodejs/node/pull/18149
Refs: https://github.com/nodejs/node/issues/18106
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Jon Moss <me@jonathanmoss.me >
Reviewed-By: Weijia Wang <starkwang@126.com >
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
2018-02-27 00:41:48 -05:00
Sho Miyamoto
80973ec6c3
test: add common.crashOnUnhandledRejection to addons/callback-scope
...
PR-URL: https://github.com/nodejs/node/pull/18076
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com >
2018-02-27 00:38:48 -05:00
Jon Moss
5607f587b2
doc: add documentation for deprecation properties
...
PR-URL: https://github.com/nodejs/node/pull/16539
Fixes: https://github.com/nodejs/node/issues/16394
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2018-02-27 00:38:13 -05:00
Joyee Cheung
98579decd7
doc: prefer make test-only when verifying the build
...
PR-URL: https://github.com/nodejs/node/pull/18061
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
Reviewed-By: Khaidi Chu <i@2333.moe >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com >
2018-02-27 00:37:24 -05:00
Leko
f7e6fe29d3
doc: add Leko to collaborators
...
PR-URL: https://github.com/nodejs/node/pull/18117
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
2018-02-27 00:32:46 -05:00
Vse Mozhet Byt
835573abd1
doc: decapitalize primitive types
...
PR-URL: https://github.com/nodejs/node/pull/18110
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2018-02-27 00:32:19 -05:00
Rich Trott
08a2d7f299
doc: be less tentative about undefined behavior
...
In the documentation for the buffer module, change instances of "the
result is considered undefined behavior" to "the resulting behavior is
undefined". It's less ambiguous in meaning and less awkward
stylistically.
PR-URL: https://github.com/nodejs/node/pull/18091
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com >
Reviewed-By: Minwoo Jung <minwoo@nodesource.com >
Reviewed-By: Khaidi Chu <i@2333.moe >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2018-02-27 00:30:29 -05:00
Yang Guo
91135b9bd2
build: fix Makefile wrt finding node executable
...
Not all shells set PWD, so use CURDIR instead.
`which node` may return the empty string, so guard against
that too. Consider:
if [ -x `which velociraptor` ] && [ -e `which velociprator` ];\
then echo "run"; else echo "keep calm"; fi;
PR-URL: https://github.com/nodejs/node/pull/18040
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2018-02-27 00:27:33 -05:00
Weijia Wang
fea710e36a
path: fix path.normalize for relative paths
...
After slicing, the `lastSegmentLength` should be calculated again,
instead of assigning value `j`.
PR-URL: https://github.com/nodejs/node/pull/17974
Fixes: https://github.com/nodejs/node/issues/17928
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com >
2018-02-27 00:25:08 -05:00
James M Snell
074add3ab3
doc: add descriptions of state properties
...
Fixes: https://github.com/nodejs/node/issues/15268
PR-URL: https://github.com/nodejs/node/pull/18044
Fixes: https://github.com/nodejs/node/issues/15268
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2018-02-27 00:23:51 -05:00
Refael Ackermann
3f801b37bc
doc: examples for fast-tracking regression fixes
...
PR-URL: https://github.com/nodejs/node/pull/17379
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2018-02-27 00:23:07 -05:00