kohta ito
b554ff7620
src: replace create new Array
...
PR-URL: https://github.com/nodejs/node/pull/24618
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Shingo Inoue <leko.noor@gmail.com >
Reviewed-By: Gus Caplan <me@gus.host >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Masashi Hirano <shisama07@gmail.com >
2018-11-29 15:40:07 +01:00
exoego
b1d3747b5b
lib: convert to arrow function in fs.js
...
PR-URL: https://github.com/nodejs/node/pull/24604
Reviewed-By: Ouyang Yadong <oyydoibh@gmail.com >
Reviewed-By: Shingo Inoue <leko.noor@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
2018-11-29 15:40:07 +01:00
Tadhg Creedon
e96c60e472
test: reach res._dump after abort ClientRequest
...
PR-URL: https://github.com/nodejs/node/pull/24191
Reviewed-By: Ouyang Yadong <oyydoibh@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2018-11-29 15:40:07 +01:00
/Jesse
97b803fa13
lib: change callbacks to arrow function
...
PR-URL: https://github.com/nodejs/node/pull/24625
Reviewed-By: Shingo Inoue <leko.noor@gmail.com >
Reviewed-By: Masashi Hirano <shisama07@gmail.com >
2018-11-29 15:40:07 +01:00
Yoshiya Hinosawa
c26b10caeb
src: migrate to new V8 array API
...
This change migrates the deprecated V8 Array API to new APIs.
PR-URL: https://github.com/nodejs/node/pull/24613
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Gus Caplan <me@gus.host >
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com >
2018-11-29 15:40:07 +01:00
nakashima
1c4bc86388
lib: chenged anonymous function to arrow function
...
PR-URL: https://github.com/nodejs/node/pull/24605
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Masashi Hirano <shisama07@gmail.com >
Reviewed-By: Shingo Inoue <leko.noor@gmail.com >
2018-11-29 15:40:07 +01:00
Drew Folta
053f3d6289
test: validate fs.rename() when NODE_TEST_DIR on separate mount
...
When testing fs.rename() of an non-existent file, use a destination path
which is in the same directory. Otherwise we might trigger an `EXDEV`
error if NODE_TEST_DIR is a separate device than the current working
directory.
Fixes: https://github.com/nodejs/node/issues/21669
PR-URL: https://github.com/nodejs/node/pull/24707
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2018-11-29 15:40:07 +01:00
Sam Roberts
68dc100565
doc: describe current HTTP header size limit
...
Document that the limit was changed from 80KB to 8KB in 186035243 .
Fixes: https://github.com/nodejs/node/issues/24693
PR-URL: https://github.com/nodejs/node/pull/24700
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com >
2018-11-29 15:39:54 +01:00
timothy searcy
9e1c6eb6aa
test: test and docs for detached fork process
...
This tests child process fork component in detached mode
by spawning a parent process that creates a child process.
We kill the parent process and check if the child is still
running.
Fixes: https://github.com/nodejs/node/issues/17592
PR-URL: https://github.com/nodejs/node/pull/24524
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2018-11-29 15:39:54 +01:00
Joyee Cheung
c708abb3ba
src: use NativeModuleLoader to compile per_context.js
...
This patch introduces a NativeModuleLoader::CompileAndCall that
can run a JS script under `lib/` as a function called
with a null receiver and arguments specified from the C++ layer.
Since all our bootstrappers are wrapped in functions in the
source to avoid leaking variables into the global scope anyway,
this allows us to remove that extra indentation in the JS source code.
As a start we move the compilation and execution of per_context.js
to NativeModuleLoader::CompileAndCall(). This patch also changes the
return value of NativeModuleLoader::LookupAndCompile() to a MaybeLocal
since the caller has to take care of the result being empty
anyway.
This patch reverts the previous design of having the
NativeModuleLoader::Compile() method magically know about the
parameters of the function - until we have tooling
in-place to guess the parameter names in the source with some
annotation, it's more readable to allow the caller to specify
the parameters along with the arguments values.
PR-URL: https://github.com/nodejs/node/pull/24660
Reviewed-By: Refael Ackermann <refack@gmail.com >
Reviewed-By: Gus Caplan <me@gus.host >
2018-11-29 15:39:54 +01:00
Gireesh Punathil
83ab5f4049
lib: rearm pre-existing signal event registrations
...
process.on('somesignal', ...) semantics expect the process to catch the
signal and invoke the associated handler. `setupSignalHandlers` perform
the additional task of preparing the libuv signal handler and associate
it with the event handler. It is possible that by the time this is
setup there could be pre-existing registrations that pre-date this setup
in the boot sequence.
So rearm pre-existing signal event registrations to get upto speed.
Ref: https://github.com/nodejs/node/pull/22712#discussion_r232457318
PR-URL: https://github.com/nodejs/node/pull/24651
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2018-11-29 15:39:54 +01:00
Vse Mozhet Byt
b3e77a5690
doc: fix nits in http(s) server.headersTimeout
...
* Fix sort orders of sections and bottom references.
* Fix links.
* Unify spelling.
* Add missing YAML block.
PR-URL: https://github.com/nodejs/node/pull/24697
Reviewed-By: Gus Caplan <me@gus.host >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com >
Reviewed-By: Sam Roberts <vieuxtech@gmail.com >
2018-11-29 15:39:54 +01:00
sota1235
992a9040bf
test: fix arguments order in assert.strictEqual
...
PR-URL: https://github.com/nodejs/node/pull/24607
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Masashi Hirano <shisama07@gmail.com >
2018-11-28 16:33:34 +01:00
grimrose
f8acf73ae7
test: fix arguments order in assert.strictEqual
...
PR-URL: https://github.com/nodejs/node/pull/24608
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Shingo Inoue <leko.noor@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Masashi Hirano <shisama07@gmail.com >
2018-11-28 16:33:34 +01:00
horihiro
6f42b98a1a
lib: convert to arrow function
...
PR-URL: https://github.com/nodejs/node/pull/24623
Reviewed-By: Shingo Inoue <leko.noor@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Masashi Hirano <shisama07@gmail.com >
2018-11-28 16:33:34 +01:00
Rich Trott
84249dfac6
test: make test-uv-binding-constant JS engine neutral
...
The error message validation in test-uv-binding-constant depends on the
JS engine. The text will be different in node-chakracore than in
V8-based versions of Node.js. Remove the message validation. Test that
it is a TypeError only. We should only validate error messages when we
control the contents of that error message (and not even necessarily
then, but that is a minimum requirement). V8 and other underlying
engines can change the error message at any time and that should not
require us to change our tests (as changing tests suggests a
semver-major change).
PR-URL: https://github.com/nodejs/node/pull/24666
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Minwoo Jung <minwoo@nodesource.com >
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com >
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2018-11-28 16:33:34 +01:00
Anto Aravinth
3288c27453
doc: add antsmartian to collaborators
...
Fixes: https://github.com/nodejs/node/issues/24340
PR-URL: https://github.com/nodejs/node/pull/24655
Refs: https://github.com/nodejs/node/issues/24340
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Shingo Inoue <leko.noor@gmail.com >
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com >
Reviewed-By: Weijia Wang <starkwang@126.com >
2018-11-28 16:33:34 +01:00
sagirk
0a492c730a
test: use arrow function
...
In `test/parallel/test-child-process-env.js`, callbacks use
anonymous closure functions. It is safe to replace them with arrow
functions since these callbacks don't contain references to `this`,
`super` or `arguments`. This results in shorter functions.
PR-URL: https://github.com/nodejs/node/pull/24482
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2018-11-28 16:33:34 +01:00
Daiki Arai
e5c85ef886
lib: convert to Arrow Function
...
convert to Arrow Function and test by `./tools/test.py tick-processor`
PR-URL: https://github.com/nodejs/node/pull/24615
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Masashi Hirano <shisama07@gmail.com >
2018-11-28 16:33:34 +01:00
Takahiro Nakamura
8072a2b85c
test: fix arguments order in assert.strictEqual
...
PR-URL: https://github.com/nodejs/node/pull/24621
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Masashi Hirano <shisama07@gmail.com >
2018-11-28 16:33:34 +01:00
susantruong
7ef516a9de
n-api,test: remove last argument in assert.strictEqual()
...
PR-URL: https://github.com/nodejs/node/pull/24584
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2018-11-28 16:33:34 +01:00
Anatoli Papirovski
81b42d2258
process: emit unhandled warning immediately
...
PR-URL: https://github.com/nodejs/node/pull/24632
Fixes: https://github.com/nodejs/node/issues/24209
Reviewed-By: Gus Caplan <me@gus.host >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
2018-11-28 16:33:34 +01:00
apoorvanand
9d5455515c
test: use arrow functions in callbacks
...
PR-URL: https://github.com/nodejs/node/pull/24441
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
2018-11-28 16:33:34 +01:00
Rich Trott
85aa03085d
doc: revise accepting-modifications in guide
...
Revise the "Accepting Modifications" section of the Collaborator Guide.
PR-URL: https://github.com/nodejs/node/pull/24650
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
2018-11-28 16:33:34 +01:00
VeysonD
99dbdca73b
test: update strictEqual argument order
...
PR-URL: https://github.com/nodejs/node/pull/24622
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2018-11-28 16:33:34 +01:00
DoiChris
99b018bf48
stream: use arrow function for callback
...
In lib/internal/streams/async_iterator.js, use arrow function for
callback.
PR-URL: https://github.com/nodejs/node/pull/24609
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ron Korving <ron@ronkorving.nl >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
2018-11-28 16:33:34 +01:00
feng jianmei
3b99191e13
test: fix argument order in assert.strictEqual
...
PR-URL: https://github.com/nodejs/node/pull/24594
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Shingo Inoue <leko.noor@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2018-11-28 16:33:34 +01:00
ajido
d6fff0e618
test: add test for socket.end callback
...
PR-URL: https://github.com/nodejs/node/pull/24087
Refs: https://github.com/nodejs/node/pull/23937
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2018-11-28 16:33:34 +01:00
Matteo Collina
2ebb32b480
doc: document fs.write limitation with TTY
...
Fixes: https://github.com/nodejs/node/issues/24550
PR-URL: https://github.com/nodejs/node/pull/24571
Reviewed-By: Refael Ackermann <refack@gmail.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com >
2018-11-28 16:33:34 +01:00
Rich Trott
1625329fbf
tools,doc: fix version picker bug in html.js
...
The processing of strings like `8.x` into a major version number and a
minor version number results in minor versions that are `NaN`. In that
situation, since the picker will link to the latest docs in the
major version, include the version in the version picker.
Fixes: https://github.com/nodejs/node/issues/23979
PR-URL: https://github.com/nodejs/node/pull/24638
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Refael Ackermann <refack@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
2018-11-28 16:33:34 +01:00
tpanthera
abb1c64c2d
test: replace anonymous closure functions with arrow functions
...
PR-URL: https://github.com/nodejs/node/pull/24443
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Refael Ackermann <refack@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
2018-11-28 16:33:34 +01:00
Rod Vagg
955819e0a3
build: only check REPLACEME & DEP...X for releases
...
PR-URL: https://github.com/nodejs/node/pull/24575
Refs: https://github.com/nodejs/node/pull/24551
Refs: https://github.com/nodejs/node/pull/12958
Refs: https://github.com/nodejs/node/pull/12957
Refs: https://github.com/nodejs/node/pull/8325
Reviewed-By: Refael Ackermann <refack@gmail.com >
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
2018-11-28 23:50:03 +11:00
Vse Mozhet Byt
1063e0c92c
lib: fix comment nits in bootstrap\loaders.js
...
PR-URL: https://github.com/nodejs/node/pull/24641
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
2018-11-28 11:25:35 +11:00
cjihrig
9caad06d6f
src: simplify uptime and ppid return values
...
This commit removes extraneous wrapping of return values
in Uptime() and GetParentProcessId().
PR-URL: https://github.com/nodejs/node/pull/24562
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Refael Ackermann <refack@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Jon Moss <me@jonathanmoss.me >
2018-11-28 11:25:35 +11:00
Daniel Bevenius
3df8633b86
lib: suppress crypto related env vars in help msg
...
This commit adds a crypto check to suppress the crypto related
environment variables introduced in Commit
399bb3c95a ("doc: add NODE_DEBUG_NATIVE to API
docs").
Without this check, test/parallel/test-cli-node-print-help.js will fail
when configured --without-ssl, as it some of the descriptions for these
environment variables contain flags that the test is not expecting to find.
PR-URL: https://github.com/nodejs/node/pull/24556
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Sam Roberts <vieuxtech@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2018-11-28 11:25:35 +11:00
Rich Trott
5a47c2e7d3
doc: clarify symlink resolution for __filename
...
Make it more explicit that symlinks are resolved in `__filename`.
Refs: https://github.com/nodejs/node/issues/22602#issuecomment-440906602
PR-URL: https://github.com/nodejs/node/pull/24587
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2018-11-28 11:25:35 +11:00
Refael Ackermann
bd4df5b326
build,src: sync src files with node.gyp
...
PR-URL: https://github.com/nodejs/node/pull/24505
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com >
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com >
2018-11-28 11:25:35 +11:00
Naojirou Hisada
59c2ee0c37
lib: convert to arrow function
...
PR-URL: https://github.com/nodejs/node/pull/24596
Reviewed-By: Ron Korving <ron@ronkorving.nl >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
2018-11-28 11:25:35 +11:00
kazuya kawaguchi
dca1ecffbd
src: replace array implementation
...
replace with C++ API.
Refs: https://github.com/nodejs/node/pull/24125
PR-URL: https://github.com/nodejs/node/pull/24614
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Gus Caplan <me@gus.host >
2018-11-28 11:25:35 +11:00
tottokotkd
b7aa312672
test: fix arguments order in assert.strictEqual
...
PR-URL: https://github.com/nodejs/node/pull/24612
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Shingo Inoue <leko.noor@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
2018-11-28 11:25:35 +11:00
kohta ito
955a8a720a
src: replace new Array creation
...
PR-URL: https://github.com/nodejs/node/pull/24601
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Shingo Inoue <leko.noor@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
2018-11-28 11:25:34 +11:00
yosuke ota
c15efcec92
crypto: convert to arrow function
...
Changed function expression to arrow function.
PR-URL: https://github.com/nodejs/node/pull/24597
Reviewed-By: Ron Korving <ron@ronkorving.nl >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
2018-11-28 11:25:34 +11:00
takato
a8e93f7691
lib: change anonymous function to arrow function
...
PR-URL: https://github.com/nodejs/node/pull/24589
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Shingo Inoue <leko.noor@gmail.com >
2018-11-28 11:25:34 +11:00
koki-oshima
b65ffd5b1d
doc: use arrow function for anonymous callbacks
...
PR-URL: https://github.com/nodejs/node/pull/24606
Reviewed-By: Ron Korving <ron@ronkorving.nl >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
2018-11-28 11:25:34 +11:00
Rich Trott
d4491a48ba
doc: revise handling-own-pull-requests text
...
Simplify and clarify the text of the COLLABORATORS_GUIDE where handling
one's own pull requests is concerned.
PR-URL: https://github.com/nodejs/node/pull/24583
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com >
Reviewed-By: Yuta Hiroto <hello@hiroppy.me >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2018-11-28 11:25:34 +11:00
cclauss
23d815292f
tools: use print() function on both Python 2 and 3
...
PR-URL: https://github.com/nodejs/node/pull/24486
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Refael Ackermann <refack@gmail.com >
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
2018-11-28 11:25:34 +11:00
Vse Mozhet Byt
b2c243ff8b
lib: simplify own keys retrieval
...
This replacement can save us a function call, two array spreadings,
and an array concatenation.
PR-URL: https://github.com/nodejs/node/pull/24582
Refs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/ownKeys#Description
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Gus Caplan <me@gus.host >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2018-11-28 11:25:34 +11:00
Vse Mozhet Byt
35a76460b8
lib: fix nits in lib/internal/bootstrap/cache.js
...
* Unwrap short lines.
* Unify comments.
* Decrease function calls.
PR-URL: https://github.com/nodejs/node/pull/24581
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2018-11-28 11:25:34 +11:00
jamesgeorge007
a82b420883
test: convert callback to arrow function
...
PR-URL: https://github.com/nodejs/node/pull/24513
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: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2018-11-28 11:25:34 +11:00
Gagandeep Singh
7edea030af
test: change anonymous function to arrow function
...
PR-URL: https://github.com/nodejs/node/pull/24528
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2018-11-28 11:25:34 +11:00