Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v10.1.0 proposal #20606

Merged
merged 173 commits into from
May 9, 2018
Merged

v10.1.0 proposal #20606

merged 173 commits into from
May 9, 2018

Commits on May 4, 2018

  1. n-api: initialize a module via a special symbol

    Much like regular modules, N-API modules can also benefit from having
    a special symbol which they can expose.
    
    Fixes: #19845
    PR-URL: #20161
    Reviewed-By: Ben Noordhuis <[email protected]>
    Gabriel Schulhof authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    cd83df3 View commit details
    Browse the repository at this point in the history
  2. src: prefer false instead of bool zero

    This commit updates node_crypto.cc VerifySpkac function to use false
    instead of 0 for its return bool value i.
    
    PR-URL: #20218
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    danbev authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    a4dae6c View commit details
    Browse the repository at this point in the history
  3. src: rename return var in VerifySpkac functions

    This commit renames the verification result variable, that is currently
    named i, to verify_result.
    
    PR-URL: #20218
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    danbev authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    bd2e521 View commit details
    Browse the repository at this point in the history
  4. lib: make sure console is writable

    The code currently assumes that `console` is already writable, but
    that's only if it was previously defined as writable. If it hasn't
    already been defined then the default value is false.
    
    Refs: #17708
    
    PR-URL: #20185
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    kfarnung authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    9eacd66 View commit details
    Browse the repository at this point in the history
  5. tools: modernize and optimize doc/addon-verify.js

    Modernize:
    * Replace `var` with `const` / `let`.
    * Replace common functions with arrow functions.
    * Use destructuring.
    * Use `String.prototype.padStart()`, `String.prototype.endsWith()`.
    
    Optimize:
    * Reduce function calls.
    * Reduce intermediate variables.
    * Cache retrieved object properties.
    * Move RegExp declaration out of a cycle.
    * Simplify RegExps.
    * Replace RegExp with string when string suffices.
    * Remove conditions that cannot be false.
    * Replace for..in with `Object.keys().forEach()`.
    
    Also, eliminate needlessly complicated function chains:
    * `ondone` callback only checks errors;
    * if there is an error, it is called once and throws, then script exits;
    * if there are no errors, it is noop;
    * so there is no need to wrap it into `once()` function
    * and there is no need to call it without errors;
    * we can eliminate it and replace with `throw` where an error occurs;
    * we can also replace `onprogress` callback with `console.log` in place;
    * at last, we can eliminate `waiting` counter and `once()` utility.
    
    The new script produces results identical to the old ones.
    
    PR-URL: #20188
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    vsemozhetbyt authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    b5584c4 View commit details
    Browse the repository at this point in the history
  6. build: use -9 with kill in Makefile

    Fixes: #20194
    
    PR-URL: #20195
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Trott authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    c5b3459 View commit details
    Browse the repository at this point in the history
  7. doc: fix spelling of API name in 10.0.0 changelog

    PR-URL: #20257
    Refs: #19403
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Gus Caplan <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    tniessen authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    3bc5353 View commit details
    Browse the repository at this point in the history
  8. doc: fix typos in doc/changelogs/CHANGELOG_V10.md

    PR-URL: #20265
    Reviewed-By: Gus Caplan <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    vsemozhetbyt authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    26525ef View commit details
    Browse the repository at this point in the history
  9. test: add checkMethods function for Certificate

    This commit adds a checkMethods function so that it can be reused to
    avoid duplicating the same code for instance methods, and static
    methods of the Certificate object.
    
    PR-URL: #20224
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    danbev authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    99e0b91 View commit details
    Browse the repository at this point in the history
  10. src: limit foreground tasks draining loop

    Foreground tasks that repost themselves can force the draining loop
    to run indefinitely long without giving other tasks chance to run.
    
    This limits the foreground task draining loop to run only the tasks
    that were in the tasks queue at the beginning of the loop.
    
    PR-URL: #19987
    Fixes: #19937
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Yang Guo <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Khaidi Chu <[email protected]>
    ulan authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    6bf816f View commit details
    Browse the repository at this point in the history
  11. doc: fix net.Socket link inconsistencies

    PR-URL: #20271
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Hackzzila authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    171cbb1 View commit details
    Browse the repository at this point in the history
  12. doc: update pull request template in guide

    PR-URL: #20277
    Refs: #19125
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Hackzzila authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    3bf736e View commit details
    Browse the repository at this point in the history
  13. test,n-api: re-write test_error in C

    PR-URL: #20244
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Gabriel Schulhof authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    d4b19cf View commit details
    Browse the repository at this point in the history
  14. n-api,test: make methods static

    PR-URL: #20243
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Gabriel Schulhof authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    b239591 View commit details
    Browse the repository at this point in the history
  15. src: fix Systemtap node_gc_stop probe

    The process("node").mark("gc__stop") is actually
    process("node").mark("gc__done"). Use the proper name so that a
    developer can use SystemTap to determine the duration of garbage
    collection.
    
    PR-URL: #20152
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Matheus Marchini <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    wcohen authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    b5bc6bd View commit details
    Browse the repository at this point in the history
  16. doc: add emitter.off() to events.md

    PR-URL: #20291
    Refs: #17156
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Ajido authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    c9b202f View commit details
    Browse the repository at this point in the history
  17. doc: improve docs for Http2Session:frameError

    Improve documentation regarding the callback parameters for the
    frameError event for instances of Http2Session, making it inline with
    the currently accepted structure, like the rest of the documentation.
    
    Refs: nodejs/help#877 (comment)
    
    PR-URL: #20236
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    ryzokuken authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    7f6172b View commit details
    Browse the repository at this point in the history
  18. crypto: simplify diffiehellman getFormat function

    This commit aims to simplify the getFormat function in
    diffiehellman.js.
    
    PR-URL: #20246
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    danbev authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    391d2f8 View commit details
    Browse the repository at this point in the history
  19. crypto: add getIntOption function to reduce dupl

    This commit adds a getIntOption function to reduce the code duplicated
    for getting the padding, and saltLength options.
    
    PR-URL: #20247
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    danbev authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    e81bb9f View commit details
    Browse the repository at this point in the history
  20. crypto: add checkIsArrayBufferView

    This commit adds a checkIsArrayBufferView function to avoid some code
    duplication in sig.js
    
    PR-URL: #20251
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    danbev authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    61e9396 View commit details
    Browse the repository at this point in the history
  21. crypto: make pbkdf2 use checkIsArrayBufferView

    This commit updates pbkdf2 to use checkIsArrayBufferView from
    internal/crypto/util.
    
    PR-URL: #20251
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    danbev authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    e17280e View commit details
    Browse the repository at this point in the history
  22. test: fix flaky child-process-exec-kill-throws

    Kill the child process with `SIGKILL` to make sure the child process
    does not remain alive.
    
    Fixes: #20139
    
    PR-URL: #20213
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Weijia Wang <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    santigimeno authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    769b6c8 View commit details
    Browse the repository at this point in the history
  23. n-api,test: make method static

    One non-static method remains
    
    PR-URL: #20292
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Gabriel Schulhof authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    2de3343 View commit details
    Browse the repository at this point in the history
  24. n-api: update cli documentation

    Fixes: #20082
    PR-URL: #20301
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Gabriel Schulhof authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    8d24b6e View commit details
    Browse the repository at this point in the history
  25. n-api,test: remove superfluous persistent

    Remove a superfluos persistent from test_constructor_name.c.
    
    PR-URL: #20299
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Gabriel Schulhof authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    b5c1c14 View commit details
    Browse the repository at this point in the history
  26. inspector: Use default uv_listen backlog size

    PR-URL: #20254
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Ali Ijaz Sheikh <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Eugene Ostroukhov authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    375994f View commit details
    Browse the repository at this point in the history
  27. http: added aborted property to request

    PR-URL: #20094
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    ronag authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    1385ffc View commit details
    Browse the repository at this point in the history
  28. test: added coverage for fs/promises API

    PR-URL: #20219
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    mithunsasidharan authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    61a56fe View commit details
    Browse the repository at this point in the history
  29. test: removed assert.strictEqual message

    PR-URL: #20223
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    kailashyogeshwar85 authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    b646566 View commit details
    Browse the repository at this point in the history
  30. src: create per-isolate strings after platform setup

    Allocation of strings may cause a garbage collection that uses
    the platform to post tasks.
    
    PR-URL: #20175
    Fixes: #20171
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Yang Guo <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    ulan authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    81de533 View commit details
    Browse the repository at this point in the history
  31. doc: fix unhandled to uncaught

    PR-URL: #20293
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    BridgeAR authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    c139d2a View commit details
    Browse the repository at this point in the history
  32. doc: remove os.uptime() Windows note

    The libuv 1.20.2 update in Node 10 aligned the Windows behavior
    of os.uptime() with that of other operating systems. The return
    value no longer contains a fraction component.
    
    Refs: #20129
    
    PR-URL: #20308
    Refs: #20129
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    cjihrig authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    3a3144c View commit details
    Browse the repository at this point in the history
  33. src: remove SecureContext _external getter

    This is unused inside Node core, so nothing good can
    come from keeping it around.
    
    PR-URL: #20237
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    addaleax authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    44fdd36 View commit details
    Browse the repository at this point in the history
  34. n-api: remove unused Test function

    Currently when building the following warning is emitted:
    
    ../test_symbol.c:4:19:
    warning: unused function 'Test' [-Wunused-function]
    static napi_value Test(napi_env env, napi_callback_info info) {
                      ^
    1 warning generated.
    
    This commit removes this unused function.
    
    PR-URL: #20320
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    danbev authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    705d9ec View commit details
    Browse the repository at this point in the history
  35. doc: add Slack community to support options

    PR-URL: #18191
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    hackygolucky authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    14188b1 View commit details
    Browse the repository at this point in the history
  36. inspector: allow concurrent inspector sessions

    This change enables concurrent inspector sessions, through WebSocket
    interface as well as JS interface, in any combination.
    
    PR-URL: #20137
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gus Caplan <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Eugene Ostroukhov authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    1490164 View commit details
    Browse the repository at this point in the history
  37. tools: show stdout/stderr for timed out tests

    When a test times out, the contents of stdout and stderr can often be
    highly valuable in debugging. Provide that information.
    
    Refs: #19906 (comment)
    
    PR-URL: #20260
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Gus Caplan <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Trott authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    ab13f13 View commit details
    Browse the repository at this point in the history
  38. doc: remove console.table() as inspector-dependent

    `console.table()` is implemented in Node.js core and no longer requires
    the inspector for use.
    
    PR-URL: #20346
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Trott authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    cc09d7e View commit details
    Browse the repository at this point in the history
  39. tls: specify options.name in validateKeyCert

    This commit addresses a TODO added by Ruben Bridgewater in commit
    c6b6c92 ("lib: always show
    ERR_INVALID_ARG_TYPE received part") which was to prefix the name of
    the invalid argument with 'options.'.
    
    This commit also switches the order of the parameters to validateKeyCert
    to be consistent with other validators.
    
    PR-URL: #20284
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    danbev authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    73cd279 View commit details
    Browse the repository at this point in the history
  40. doc: fix typo in console.md

    logit -> log it
    
    PR-URL: #20349
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    dhritzkiv authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    d9bc921 View commit details
    Browse the repository at this point in the history
  41. doc: remove superfluous URL require statement

    Since v10.0.0, the `URL` class is available on the global object, so
    using a `require` statement to access it is no longer necessary.
    
    PR-URL: #20364
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    MarkTiedemann authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    701f536 View commit details
    Browse the repository at this point in the history
  42. build: do not depend on cp in PATH

    Use gyp’s own copying mechanism instead.
    
    It’s not really clear which UNIX utils exactly are needed to build on
    Windows, but this is an easier fix (at least for me) than figuring
    out how to get `cp` into the `PATH` in all cases, and judging
    from the issue I’m not the only one who ran into this.
    
    Fixes: #20272
    
    PR-URL: #20296
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    2ce4b7c View commit details
    Browse the repository at this point in the history
  43. src: improve fatal exception

    This is just some code cleanup.
    
    PR-URL: #20294
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    BridgeAR authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    e0d2bc5 View commit details
    Browse the repository at this point in the history
  44. http: refactor outgoing headers processing

    Use a shared function, for..in instead of Object.keys, do less work in
    `setHeader` and instead defer some of it until later, and other minor
    changes to improve clarity, as well as a slight boost in performance.
    
    PR-URL: #20250
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    apapirovski authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    f0b2b26 View commit details
    Browse the repository at this point in the history
  45. doc: improve parameters for Http2Session:goaway event

    Improve parameters for the callback for the Http2Session:connect event
    inline with the pattern in the rest of the documentation.
    
    Refs: nodejs/help#877 (comment)
    ryzokuken authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    b47044a View commit details
    Browse the repository at this point in the history
  46. tools: add log output to crashes

    PR-URL: #20295
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Matheus Marchini <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    BridgeAR authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    8ddbac2 View commit details
    Browse the repository at this point in the history
  47. tools: simplify HTML generation

    PR-URL: #20307
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    vsemozhetbyt authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    a12d13a View commit details
    Browse the repository at this point in the history
  48. doc: remove eu-strip from tarball

    This is been removed because of this:
    the source is not provided
    it adds 105ko of useless files
    It's only used in the android and fuchsia GN builds
    
    Fixes: #20280
    
    PR-URL: #20304
    Fixes: #20280
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Matheus Marchini <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    jvelezpo authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    9c11a18 View commit details
    Browse the repository at this point in the history
  49. tools: remove redundant RegExp flag

    PR-URL: #20309
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    vsemozhetbyt authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    ccf1b24 View commit details
    Browse the repository at this point in the history
  50. doc: unify and dedupe returned values in timers.md

    PR-URL: #20310
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    vsemozhetbyt authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    be34388 View commit details
    Browse the repository at this point in the history
  51. console: fix console.table() display edge case

    If the properties are not specified in `console.table()`, then we should
    make a best effort to determine them rather than put all values into a
    "Values" column.
    
    PR-URL: #20323
    Reviewed-By: Gus Caplan <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    29bc735 View commit details
    Browse the repository at this point in the history
  52. util: fix isInsideNodeModules inside error

    When isInsideNodeModules gets called while already processing
    another stack trace, V8 will not call prepareStackTrace again.
    This used to cause Node.js to just crash — fix it by checking
    for expected return type of the stack (Array).
    
    PR-URL: #20266
    Fixes: #20258
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    apapirovski authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    3962c73 View commit details
    Browse the repository at this point in the history
  53. src: remove unnecessary copy operations in tracing

    PR-URL: #20356
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    addaleax authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    31812ed View commit details
    Browse the repository at this point in the history
  54. benchmark: add bench for zlib gzip + gunzip cycle

    Originally wrote this for some work that is going to take a while
    longer before it’s ready to be PR’ed, so it seems fine to start
    with this on its own.
    
    PR-URL: #20034
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    addaleax authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    b0e6f10 View commit details
    Browse the repository at this point in the history
  55. stream: only check options once in Duplex ctor

    This commit updates the Duplex constructor adding an if statement
    checking if options is undefined, and removes the check from the
    following three if statements.
    
    PR-URL: #20353
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    danbev authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    fd912a3 View commit details
    Browse the repository at this point in the history
  56. fs: point isFd to isUint32

    This commit updates the isFd function to call isUint32 instead of
    doing the same thing.
    
    PR-URL: #20330
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    danbev authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    e45e5b8 View commit details
    Browse the repository at this point in the history
  57. tls: fix getEphemeralKeyInfo to support X25519

    `EVP_PKEY_EC` only covers ANSI X9.62 curves not IETF ones(curve25519
    and curve448). This fixes to add support of X25519 in
    `tlsSocket.getEphemeralKeyInfo()`.
    X448 should be added in the future upgrade to OpenSSL-1.1.1.
    
    PR-URL: #20273
    Fixes: #20262
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    shigeki authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    9b30bc4 View commit details
    Browse the repository at this point in the history
  58. http2: fix responses to long payload reqs

    When a request with a long payload is received, http2 does
    not allow a response that does not process all the incoming
    payload. Add a conditional Http2Stream.close call that runs
    only if the user hasn't attempted to read the stream.
    
    PR-URL: #20084
    Fixes: #20060
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    apapirovski authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    46bd862 View commit details
    Browse the repository at this point in the history
  59. doc: add missing backticks in n-api.md

    Codify types, variable names, and code fragments
    checking patterns I've managed to think of.
    
    Some nits were also fixed in passing
    (add missing periods, remove extra line breaks etc).
    
    PR-URL: #20390
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Gabriel Schulhof <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    vsemozhetbyt authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    9cf3ae5 View commit details
    Browse the repository at this point in the history
  60. doc: remove redundant empty lines

    PR-URL: #20398
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    vsemozhetbyt authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    57e5a3e View commit details
    Browse the repository at this point in the history
  61. child_process: fix leak when passing http sockets

    After passing an HTTP socket, release its associated resources.
    
    PR-URL: #20305
    Fixes: #15651
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    santigimeno authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    ec2037d View commit details
    Browse the repository at this point in the history
  62. assert: minor error message improvements

    Adjust indentations and fix a typo.
    
    PR-URL: #20315
    Reviewed-By: Daniel Bevenius <[email protected]>
    BridgeAR authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    f5054d3 View commit details
    Browse the repository at this point in the history
  63. assert: make skipping indicator blue

    If lines gets skipped, they are marked with three dots. This makes
    sure they are better visualized to distinguish them from everything
    else.
    
    PR-URL: #20315
    Reviewed-By: Daniel Bevenius <[email protected]>
    BridgeAR authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    7293c58 View commit details
    Browse the repository at this point in the history
  64. doc: improve assert docs

    This improves the error example output by reflecting the current
    state. It also makes sure the examples are up to date in general.
    `assert.throws` clarified the `ERR_AMBIGUOUS_ARGUMENT` error.
    
    PR-URL: #20313
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    BridgeAR authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    90026c3 View commit details
    Browse the repository at this point in the history
  65. doc: improve process event headers

    The headers should be handled as all others as well and just indicate
    all arguments.
    
    PR-URL: #20312
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    BridgeAR authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    5542a98 View commit details
    Browse the repository at this point in the history
  66. http2: fix ping callback

    In case there was no ack, the callback would have returned
    more than the error as return value. This makes sure that is not
    the case anymore.
    
    PR-URL: #20311
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    BridgeAR authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    7d9f1f3 View commit details
    Browse the repository at this point in the history
  67. test: verify arguments length in common.expectsError

    If `common.expectsError` is used as a callback, it will now also
    verify that there is only one argument (the expected error).
    
    PR-URL: #20311
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    BridgeAR authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    645a97a View commit details
    Browse the repository at this point in the history
  68. test: fix a TODO and remove obsolete TODOs

    This removes outdated TODOs and adds a test for invalid input in
    `fs.copyFile` and solves a TODO by doing so.
    
    PR-URL: #20319
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    BridgeAR authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    2b8b40f View commit details
    Browse the repository at this point in the history
  69. build: remove --xcode configure switch

    `./configure --xcode` ostensibly let you built with the Xcode IDE but
    it has never been tested regularly since its introduction in 2012 and
    probably has been broken for years.  Remove it.
    
    PR-URL: #20328
    Fixes: #20324
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Beth Griggs <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gus Caplan <[email protected]>
    bnoordhuis authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    348d391 View commit details
    Browse the repository at this point in the history
  70. stream: fix error handling with async iteration

    Fix an issue when an error was emitted by the stream before
    `iterator.next()` is called.
    
    PR-URL: #20329
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    julien-f authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    05b7b8d View commit details
    Browse the repository at this point in the history
  71. doc: remove parenthetical in onboarding-extras

    Remove "(I prefer the former)" from onboarding-extras. Without any
    explanation as to why one might prefer A over B, it probably raises more
    questions than it answers.
    
    PR-URL: #20393
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Trott authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    de9d1f1 View commit details
    Browse the repository at this point in the history
  72. src: avoid std::make_unique

    Work around nodejs/build#1254, which
    effectively breaks stress test CI and CITGM, by avoiding
    `std::make_unique` for now.
    
    This workaround should be reverted once that issue is resolved.
    
    Refs: nodejs/build#1254
    
    PR-URL: #20386
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    Reviewed-By: Matheus Marchini <[email protected]>
    addaleax authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    58be6ef View commit details
    Browse the repository at this point in the history
  73. errors: minor (SystemError) refactoring

    This removes the former default values and the spread arguments
    usage. That was unnecessary and now it does only what is necessary.
    The `message` function got renamed to `getMessage` to outline that
    it is actually a function and a helper function was inlined into
    the SystemError constructor as it was only used there.
    
    PR-URL: #20337
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    BridgeAR authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    b89d817 View commit details
    Browse the repository at this point in the history
  74. crypto: use new OpenSSL constants in CipherBase

    This change replaces some constants with better alternatives which were
    unavailable in OpenSSL 1.0.2.
    
    PR-URL: #20339
    Refs: #19794
    Refs: #18138
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    tniessen authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    dfcf20f View commit details
    Browse the repository at this point in the history
  75. doc: remove "has been known" tentativeness

    Remove unnecessary "has been known to" tentativeness from
    COLLABORATOR_GUIDE.md. "has been known to" is an awkward replacement for
    "can" or "might" or "sometimes does" or "does". Pick the right one and
    use it.
    
    PR-URL: #20412
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Trott authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    b61ae7f View commit details
    Browse the repository at this point in the history
  76. doc: refine napi_get_property_names() doc

    Document that only enumerable, string-keyed properties are returned.
    
    Fixes: nodejs/abi-stable-node#307
    PR-URL: #20427
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Gabriel Schulhof authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    d7557e1 View commit details
    Browse the repository at this point in the history
  77. n-api: document that native strings are copied

    Mention that a copy is made of the native string by the
    napi_create_string_* APIs.
    
    Fixes: nodejs/abi-stable-node#304
    PR-URL: #20425
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Gabriel Schulhof authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    7ac491b View commit details
    Browse the repository at this point in the history
  78. n-api: document the look of napi_external values

    Describe what JavaScript values of type `napi_external` look like in
    JavaScript.
    
    Fixes: nodejs/abi-stable-node#306
    PR-URL: #20426
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Gabriel Schulhof authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    1908668 View commit details
    Browse the repository at this point in the history
  79. doc: add parameters for settings events

    Add parameters for the callback for the Http2Session:localSettings event
    and Http2Session:remoteSettings event inline with the pattern in the
    rest of the documentation.
    
    Refs: nodejs/help#877 (comment)
    
    PR-URL: #20371
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    ryzokuken authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    4bc87c1 View commit details
    Browse the repository at this point in the history
  80. doc: remove redundant table of contents for N-API

    Since the table of contents is built dynamically when
    building the documentation, the additional table of
    contents is redundant and an extra overhead to maintain.
    
    PR-URL: #20395
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    Reviewed-By: Gus Caplan <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    AyushG3112 authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    f36a5e3 View commit details
    Browse the repository at this point in the history
  81. doc: edit fs.createReadStream() highWaterMark

    Shorten the text about the `highWaterMark` value for the stream returned
    by `fs.createReadStream()`.
    
    PR-URL: #20450
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    459c20c View commit details
    Browse the repository at this point in the history
  82. doc: remove unclear text from fs.write()

    There is a paragraph explaining that `fs.write()` cannot write a
    substring of the provided string. It's not clear what `buffer` refers
    to in that paragraph or even what the purpose of the paragraph is.
    There's no suggestion elsewhere that `fs.write()` should be expected to
    have a substring feature. Remove the paragraph.
    
    PR-URL: #20450
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    5a839b9 View commit details
    Browse the repository at this point in the history
  83. doc: clarify FileHandle text

    There is a paragraph about why the promise-based API uses `FileHandle`
    rather than a numeric `fd`. Unfortunately, the paragraph is a bit of
    word-salad. Edit it for clarity, grammar, and style.
    
    PR-URL: #20450
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    fcc5492 View commit details
    Browse the repository at this point in the history
  84. tools: dedupe property access in doc/type-parser

    There is no need to get this property twice in this rather hot spot:
    if there is no such key, the `typeUrl` will be `undefined`,
    which suffices for the boolean check in the next line.
    
    For consistency, `undefined` can also be made the default value.
    
    PR-URL: #20387
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    vsemozhetbyt authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    b0c0352 View commit details
    Browse the repository at this point in the history
  85. doc: specify types of listener parameter

    We cannot manage with `{any}` because `message` cannot be
    of `Symbol` or `undefined` types.
    
    PR-URL: #20405
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    vsemozhetbyt authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    54e9331 View commit details
    Browse the repository at this point in the history
  86. doc: mitigate marked bug

    PR-URL: #20411
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    vsemozhetbyt authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    261776d View commit details
    Browse the repository at this point in the history
  87. doc: add missing periods or colons

    Some other formatting nits were fixed
    and some superfluous descriptions were simplified in passing.
    
    PR-URL: #20401
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    vsemozhetbyt authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    abf1155 View commit details
    Browse the repository at this point in the history
  88. http2: remove unused using declarations node_http2

    PR-URL: #20420
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    danbev authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    b2bbc36 View commit details
    Browse the repository at this point in the history
  89. http2: remove unnecessary v8 qualified names

    This commit removes v8 qualified identifiers that have using directives
    to be consistent with the rest of the code in node_http2.cc.
    
    PR-URL: #20420
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    danbev authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    e397d19 View commit details
    Browse the repository at this point in the history
  90. http2: reduce require calls in http2/core

    This commit removes unnecesary requires of http and internal/util in
    http2/core.js
    
    PR-URL: #20422
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    danbev authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    42bbaa3 View commit details
    Browse the repository at this point in the history
  91. deps: cherry-pick 76cab5f from upstream V8

    Original commit message:
    
        Fix Object.entries/.values with non-enumerable properties
    
        Iterate over all descriptors instead of bailing out early and missing
        enumerable properties later.
    
        Bug: chromium:836145
        Change-Id: I104f7ea89480383b6b4b9204942a166bdf8e0597
        Reviewed-on: https://chromium-review.googlesource.com/1027832
        Reviewed-by: Jakob Gruber <[email protected]>
        Commit-Queue: Camillo Bruni <[email protected]>
        Cr-Commit-Position: refs/heads/master@{#52786}
    
    Refs: v8/v8@76cab5f
    Fixes: #20278
    
    PR-URL: #20350
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gus Caplan <[email protected]>
    Reviewed-By: Ali Ijaz Sheikh <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    targos authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    da8bc6a View commit details
    Browse the repository at this point in the history
  92. n-api: test and doc napi_throw() of a primitive

    Ensure that napi_throw() is able to throw a primitive value, and
    document that it is able to throw any JavaScript value.
    
    Fixes: nodejs/abi-stable-node#309
    PR-URL: #20428
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Gabriel Schulhof authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    ad793ab View commit details
    Browse the repository at this point in the history

Commits on May 8, 2018

  1. doc: add more missing backticks

    Also, fix some other nits in passing
    (formatting, punctuation, typos, redundancy, obsoleteness).
    
    PR-URL: #20438
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    vsemozhetbyt authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    56c27c6 View commit details
    Browse the repository at this point in the history
  2. doc: remove squash guideline from onboarding doc

    Although I agree with the guideline people should generally not squash
    commits in a pull request until the end (in other words, until it's time
    to land the PR), it is clear from comments and actions in the issue
    tracker that many do not share that view. This is fine by me, but I do
    think that we should our documentation should reflect our practices
    rather than being an aspirational statement.
    
    If we *do* wish to preserve this recommendation, it probably belongs in
    another document anyway as this is not a recommendation for
    Collaborators only but for anyone opening a pull request.
    
    PR-URL: #20413
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    166df9e View commit details
    Browse the repository at this point in the history
  3. doc: add squash guideline to pull-requests doc

    Tell the contributor to generally not squash commits during the pull
    request review process.
    
    PR-URL: #20413
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    7a769eb View commit details
    Browse the repository at this point in the history
  4. benchmark: fix next-tick-depth

    A recent change made these benchmarks fail by always finishing
    with 0 iterations. Restore a counter variable.
    
    PR-URL: #20461
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    apapirovski authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    289e4ce View commit details
    Browse the repository at this point in the history
  5. doc: add http.ClientRequest maxHeadersCount

    In http.ClientRequest's doc, add maxHeadersCount as a public property.
    And in the description of server's one, change a hyphen to a comma.
    
    PR-URL: #20361
    Refs: #20359
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    darai0512 authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    658fbdc View commit details
    Browse the repository at this point in the history
  6. tools: fix TypeError from test.py --time

    Calculated durations are timedelta objects but the FormatTime function
    is expecting a number in seconds.
    
    PR-URL: #20368
    Fixes: #20341
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    richardlau authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    3912551 View commit details
    Browse the repository at this point in the history
  7. doc: update writing-and-running-benchmarks.md

    Refs: 368517c
    
    PR-URL: #20379
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    xsbchen authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    b0ed31c View commit details
    Browse the repository at this point in the history
  8. timers: named anonymous functions

    PR-URL: #20397
    Refs: #8913
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    js-kyle authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    e552158 View commit details
    Browse the repository at this point in the history
  9. child_process: name anonymous functions

    Refs: #8913
    
    PR-URL: #20399
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    SerayaEryn authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    b5931e1 View commit details
    Browse the repository at this point in the history
  10. test: remove unnecessary strictEqual() argument from remoteClose()

    PR-URL: #20343
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    dayloryanes authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    b24ee07 View commit details
    Browse the repository at this point in the history
  11. test: use fs.copyFileSync()

    Use the potentially more efficient fs.copyFileSync() instead of reading
    the whole file in and writing the whole file out in JavaScript.
    
    PR-URL: #20340
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Khaidi Chu <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    richardlau authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    4dce39a View commit details
    Browse the repository at this point in the history
  12. doc: add missing periods in documentation.md

    PR-URL: #20469
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    vsemozhetbyt authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    74685f1 View commit details
    Browse the repository at this point in the history
  13. events: optimize condition for optimal scenario

    Instead of always checking whether we've already warned about a
    possible EventEmitter memory leak, first run the rest of the
    code as accessing random properties on an Array is expensive.
    
    In addition, remove an unnecessary truthy check.
    
    PR-URL: #20452
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    apapirovski authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    58a65d6 View commit details
    Browse the repository at this point in the history
  14. util: improve spliceOne perf

    Do less variable allocations and reassignments inside spliceOne
    since it's relied on by some performance sensitive code.
    
    PR-URL: #20453
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    apapirovski authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    e854c95 View commit details
    Browse the repository at this point in the history
  15. doc: update cli flag in crypto.md

    PR-URL: #20400
    Fixes: #20385
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Shigeki Ohtsu <[email protected]>
    shobhitchittora authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    8b17e7a View commit details
    Browse the repository at this point in the history
  16. doc: synchronize argument names for appendFile()

    The documentation used `file` for the first argument to `appendFile()`
    functions. However, the code and (more importantly) thrown errors
    referred to it as `path`. The latter is especially important because
    context is not provided. So you're looking for a function that takes
    `path` but that string doesn't appear in your code *or* in the
    documentation. It's not until the end user looks at the source code of
    Node.js that they can figure out what's going on. This is why it is
    important that the names of variables in the documentation match that in
    the code. If we want to change this to `file`, then that's OK, but we
    need to do it in the source code and error messages too, not just in the
    docs. Changing the docs is the smallest change to synchronize everything
    so that's what this change does.
    
    PR-URL: #20489
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Trott authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    391c420 View commit details
    Browse the repository at this point in the history
  17. util: named anonymous functions

    PR-URL: #20408
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Weijia Wang <[email protected]>
    Reviewed-By: Matheus Marchini <[email protected]>
    ccoxwell authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    1b9c40c View commit details
    Browse the repository at this point in the history
  18. lib: named anonymous functions

    PR-URL: #20408
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Weijia Wang <[email protected]>
    Reviewed-By: Matheus Marchini <[email protected]>
    ccoxwell authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    b6de6a7 View commit details
    Browse the repository at this point in the history
  19. doc: update Collaborator Guide reference

    In pull-requests.md:
    
    * Refer to the Collaborator Guide as Collaborator Guide and not
      Collaborator's Guide. That is how the doc describes itself and we
      should be consistent.
    
    PR-URL: #20473
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Trott authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    e553747 View commit details
    Browse the repository at this point in the history
  20. doc: cleanup n-api.md doc

    Partial doc cleanup as per
    #20421
    
    PR-URL: #20430
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Gabriel Schulhof <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mhdawson authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    b2d6eb7 View commit details
    Browse the repository at this point in the history
  21. src: remove kFlagNoShutdown flag

    This was originally introduced in 3446ff4, in order to fix
    a hard crash. However, since the libuv 1.18.0 update, that hard
    crash is gone, and since f2b9805 we do not throw an
    error in JS land anymore either, rendering the flag unnecessary.
    
    Also, the original test that checked this condition was added
    to `test/parallel/`. Since that typically runs without a TTY stdin,
    a duplicate test is being added to the pseudo-tty test suite
    in this commit.
    
    Refs: 3446ff4
    Refs: f2b9805
    Refs: libuv/libuv@0e28141
    PR-URL: #20388
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    addaleax authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    c0f1535 View commit details
    Browse the repository at this point in the history
  22. src: access ContextifyContext* more directly in property cbs

    PR-URL: #20455
    Fixes: #18897
    Reviewed-By: Gus Caplan <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    addaleax authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    c21a52f View commit details
    Browse the repository at this point in the history
  23. src: refactor BaseObject internal field management

    - Instead of storing a pointer whose type refers to the specific
      subclass of `BaseObject`, just store a `BaseObject*` directly.
      This means in particular that one can cast to classes along
      the way of the inheritance chain without issues, and that
      `BaseObject*` no longer needs to be the first superclass
      in the case of multiple inheritance.
    
      In particular, this renders hack-y solutions to this problem (like
      ddc19be) obsolete and addresses
      a `TODO` comment of mine.
    
    - Move wrapping/unwrapping methods to the `BaseObject` class.
      We use these almost exclusively for `BaseObject`s, and I hope
      that this gives a better idea of how (and for what) these are used
      in our code.
    
    - Perform initialization/deinitialization of the internal field
      in the `BaseObject*` constructor/destructor. This makes the code
      a bit more obviously correct, avoids explicit calls for this
      in subclass constructors, and in particular allows us to avoid
      crash situations when we previously called `ClearWrap()`
      during GC.
    
      This also means that we enforce that the object passed to the
      `BaseObject` constructor needs to have an internal field.
      This is the only reason for the test change.
    
    - Change the signature of `MakeWeak()` to not require a pointer
      argument. Previously, this would always have been the same
      as `this`, and no other value made sense. Also, the parameter
      was something that I personally found somewhat confusing
      when becoming familiar with Node’s code.
    
    - Add a `TODO` comment that motivates switching to real inheritance
      for the JS types we expose from the native side. This patch
      brings us a lot closer to being able to do that.
    
    - Some less significant drive-by cleanup.
    
    Since we *effectively* already store the `BaseObject*` pointer
    anyway since ddc19be, I do not
    think that this is going to have any impact on diagnostic tooling.
    
    Fixes: #18897
    PR-URL: #20455
    Reviewed-By: Gus Caplan <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    addaleax authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    f5d4253 View commit details
    Browse the repository at this point in the history
  24. doc: update examples for fs.access()

    PR-URL: #20460
    Fixes: #17508
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    BeniCheni authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    d7db306 View commit details
    Browse the repository at this point in the history
  25. n-api: make test_error functions static

    PR-URL: #20373
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Gabriel Schulhof authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    17dbf6c View commit details
    Browse the repository at this point in the history

Commits on May 9, 2018

  1. deps: patch V8 to 6.6.346.27

    PR-URL: #20480
    Refs: v8/v8@6.6.346.24...6.6.346.27
    Reviewed-By: Khaidi Chu <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    3cf53b6 View commit details
    Browse the repository at this point in the history
  2. doc: fix mkdtemp() documentation

    Several minor fixes to the entries for `mkdtemp()`. The most significant
    is that a mistaken use of `fs.mkdtemp()` is corrected to
    `fsPromises.mkdtemp()`.
    
    PR-URL: #20512
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Shingo Inoue <[email protected]>
    Trott authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    b2e8b9c View commit details
    Browse the repository at this point in the history
  3. doc: document using domain in REPL

    Document that REPL uses the `domain` module to handle uncaught
    exceptions, and the side effects caused by it.
    
    PR-URL: #20382
    Fixes: #19998
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    AyushG3112 authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    745e0a5 View commit details
    Browse the repository at this point in the history
  4. test: add fs/promises filehandle stat test

    Added test for fs/promises filehandle stat.
    
    PR-URL: #20492
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Masashi Hirano authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    80bdff0 View commit details
    Browse the repository at this point in the history
  5. repl: add spaces to load/save messages

    PR-URL: #20536
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    cjihrig authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    d3a219c View commit details
    Browse the repository at this point in the history
  6. test: rename misnamed test

    Rename test-fs-chdir-errormessage.js to
    test-process.chdir-errormessage.js. The test is for process.chdir().
    There is no fs.chdir().
    
    PR-URL: #20532
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Trott authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    6052ccc View commit details
    Browse the repository at this point in the history
  7. test: fix up N-API error test

    Replace assert.throws() with an explicit try/catch in order to catch
    the thrown value and be able to compare it strictly to an expected
    value.
    
    Re: #20428 (comment)
    
    PR-URL: #20487
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Gabriel Schulhof authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    70b2e16 View commit details
    Browse the repository at this point in the history
  8. src: fix inconsistency in extern declaration

    NodeCounterProvider is declared as extern but defined as EXTERN_C.
    This confuses clang-cl.
    
    PR-URL: #20436
    Refs: #19630
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    hashseed authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    54f3065 View commit details
    Browse the repository at this point in the history
  9. build: check for different deprecation signatures

    Right now we strictly test for `DEP00XX`. We are already above that
    number of deprecations and it is better to have a wildcard for the
    first three numbers. Only the last character has to match the X to
    print a warning.
    
    PR-URL: #20384
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    BridgeAR authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    167de1f View commit details
    Browse the repository at this point in the history
  10. doc: fix manpage warning

    LC_ALL=C.UTF-8 MANROFFSEQ='' MANWIDTH=80 man --warnings -E UTF-8 -l -Tutf8 -Z ./doc/node.1 > /dev/null
    mdoc warning: Empty input line #389
    
    PR-URL: #20383
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    kapouer authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    79e1260 View commit details
    Browse the repository at this point in the history
  11. https: defines maxHeadersCount in the constructor

    In Refs, http.Server's maxHeadersCount field was defined in the
    constructor to make hidden class stable and so on. Also in https.Server,
    we can use maxHeadersCount the same as http via connectionListener. So,
    defines it in the constructor and documentation.
    
    Refs: #9116
    
    PR-URL: #20359
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    darai0512 authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    0b16c24 View commit details
    Browse the repository at this point in the history
  12. src: removed unnecessary prototypes from Environment::SetProtoMethod

    Added an optional parameter of type v8::ConstructorBehavior to
    Environment::NewFunctionTemplate, defaulting to
    v8::ConstructorBehavior::kAllow. Also modified
    Environment::SetProtoMethod to pass
    v8::ConstructorBehavior::kThrow to its
    call to Environment::NewFunctionTemplate.
    
    Fixes: #17668
    Refs: #20321
    PR-URL: #20321
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    brandontruggles authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    df2cddc View commit details
    Browse the repository at this point in the history
  13. test: fix common.canCreateSymLink() on non-Windows

    test/common/README.md indicates that canCreateSymlink() always returns
    true on non-Windows platforms. However, prior to this commit, undefined
    was being returned. This commit aligns the implementation with the
    docs by returning true.
    
    PR-URL: #20511
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Masashi Hirano authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    1de67c7 View commit details
    Browse the repository at this point in the history
  14. lib: expose FixedQueue internally and fix nextTick bug

    A bug was introduced together with the FixedQueue implementation for
    process.nextTick which meant that the queue wouldn't necessarily
    fully clear on each run through. Fix it and abstract the data
    structure into an internal module that can later be used elsewhere.
    
    PR-URL: #20468
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    apapirovski authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    7b8e9ca View commit details
    Browse the repository at this point in the history
  15. tls: cleanup onhandshakestart callback

    Re-arrange and cleanup the flow of the onhandshakestart to be
    more clear and less repetitive. Exit early in the case of a
    first ever handshake for a given connection.
    
    PR-URL: #20466
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    apapirovski authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    1ebec18 View commit details
    Browse the repository at this point in the history
  16. benchmark: track exec time in next-tick-exec

    The next-tick-exec benchmarks were meant to track nextTick execution
    time but due to an error, they actually track addition and execution.
    
    PR-URL: #20462
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    apapirovski authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    16970ff View commit details
    Browse the repository at this point in the history
  17. doc: fix N-API property descriptor documentation

    PR-URL: #20433
    Reviewed-By: Colin Ihrig <[email protected]>
    Gabriel Schulhof authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    880772a View commit details
    Browse the repository at this point in the history
  18. doc: updates crypto doc with openssl list -cipher-algorithms

    PR-URL: #20502
    Refs: #20385
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Shigeki Ohtsu <[email protected]>
    shobhitchittora authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    8bd45d8 View commit details
    Browse the repository at this point in the history
  19. tls: remove sharedCreds in Server constructor

    This commit removes the var sharedCreds which is just reassigned to
    this._sharedCreds in the following line.
    
    PR-URL: #20491
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    danbev authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    1109104 View commit details
    Browse the repository at this point in the history
  20. errors: remove dead code

    This was never falsy, since an array length can only be an integer.
    
    PR-URL: #20483
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Khaidi Chu <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Shingo Inoue <[email protected]>
    BridgeAR authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    e25f2c9 View commit details
    Browse the repository at this point in the history
  21. http2: rename http2_state class to Http2State

    This commit renames the http2_state class to follow the guidelines in
    CPP_STYLE_GUIDE.md.
    
    PR-URL: #20423
    Reviewed-By: Anna Henningsen <[email protected]>
    danbev authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    6acefc3 View commit details
    Browse the repository at this point in the history
  22. doc: add snake_case section for C-like structs

    This commit adds a section mentioning that for C-like structs it is
    alright to use snake_case.
    
    PR-URL: #20423
    Reviewed-By: Anna Henningsen <[email protected]>
    danbev authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    018b5ad View commit details
    Browse the repository at this point in the history
  23. src: add public API to expose the main V8 Platform

    Add an API to get MultiIsolatePlatform used in node main thread.
    
    PR-URL: #20447
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    helloshuangzi authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    d357875 View commit details
    Browse the repository at this point in the history
  24. doc: update one more command in crypto.md

    PR-URL: #20500
    Refs: #20400
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    shobhitchittora authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    bea4ffc View commit details
    Browse the repository at this point in the history
  25. Revert "stream: prevent 'end' to be emitted after 'error'"

    This reverts commit 0857790.
    
    PR-URL: #20449
    Fixes: #20334
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    mscdex authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    4c4be85 View commit details
    Browse the repository at this point in the history
  26. url: fix WHATWG host formatting error

    The current url.format implementation will return an invalid URL string
    without the host if there is a port and unicode: true.
    
    This unexpected behavior is caused by domainToUnicode, which expects
    a hostname instead of a host string according to node_url.cc.
    
    Adds both a fix and a test for the issue.
    
    PR-URL: #20493
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    peakji authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    ff619d3 View commit details
    Browse the repository at this point in the history
  27. tools: remove redundant code in doc/html.js

    This PR reduces code by 40 lines and docs size by ~7.5 KB. Only
    <div class="signature">...</div> wrappers are removed from docs,
    no other changes are found in results.
    
    PR-URL: #20514
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    vsemozhetbyt authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    a4d2089 View commit details
    Browse the repository at this point in the history
  28. doc: clearer doc-only deprecations

    Explicitely mention that a documentation only deprecation does not
    always imply that it will be staged for deprecation in a future
    Node.js major release. It is mainly there to tell developers that
    a specific API should be avoided.
    
    PR-URL: #20381
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    BridgeAR authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    98ccaea View commit details
    Browse the repository at this point in the history
  29. test: fix buffer writes on mips

    Mips has a different way of handling NaN. This makes sure the tests
    pass on MIPS as well.
    
    PR-URL: #20377
    Reviewed-By: Richard Lau <[email protected]>
    BridgeAR authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    601f138 View commit details
    Browse the repository at this point in the history
  30. test: fix test-cli-node-options.js on mips

    The performance jit logger is not implemented on mips.
    
    PR-URL: #20377
    Reviewed-By: Richard Lau <[email protected]>
    BridgeAR authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    578e054 View commit details
    Browse the repository at this point in the history
  31. doc: add parameters for Http2Session:stream event

    Add parameters for the callback for the Http2Session:stream event
    inline with the pattern in the rest of the documentation.
    
    Refs: nodejs/help#877 (comment)
    
    PR-URL: #20547
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    ryzokuken authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    0e88051 View commit details
    Browse the repository at this point in the history
  32. doc: edit text for DEP0104

    Make the deprecation message a bit clear and concise.
    
    PR-URL: #20519
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Trott authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    67e44bf View commit details
    Browse the repository at this point in the history
  33. doc: edit text for DEP0101

    Make the text slightly more concise. Fix awkward verb tense.
    
    PR-URL: #20519
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Trott authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    adf5b80 View commit details
    Browse the repository at this point in the history
  34. doc: edit text for DEP0012

    Fix awkward verb tense.
    
    PR-URL: #20519
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Trott authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    c6e4ffa View commit details
    Browse the repository at this point in the history
  35. doc: edit text for DEP0094

    Make deprecation text slightly more concise and direct.
    
    PR-URL: #20519
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Trott authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    74c74db View commit details
    Browse the repository at this point in the history
  36. doc: fix text for DEP0085

    Fix a typographical error in deprecation text. Convert run-on sentence
    to two sentences (one in parentheses).
    
    PR-URL: #20519
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Trott authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    f796b08 View commit details
    Browse the repository at this point in the history
  37. doc: edit text for DEP0082

    Make deprecation text more concise and direct.
    
    PR-URL: #20519
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Trott authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    faa8193 View commit details
    Browse the repository at this point in the history
  38. doc: fix minor typographical error in DEP0079 text

    Change `backwards compatibility` to `backward compatibility`.
    
    (It's confusing because "backwards compatible" is acceptable because
    "backwards" can be used as an adverb like that. However, as an
    adjective, as in "backward compatibility", only "backward" will do.
    Easiest solution: Always use "backward" because it is OK in both cases.
    This is all compounded by the US vs UK English thing. US English tends
    to favor "backward", and we standardize on US English, so that's another
    point in favor of "backward" over "backwards" in this context.)
    
    PR-URL: #20519
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Trott authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    73f5ea9 View commit details
    Browse the repository at this point in the history
  39. doc: minor edit to DEP0065

    Use "Node.js 6.0.0" instead of "Node.js v6.0.0". (We decided to drop "v"
    before version numbers to avoid confusion with the V8 JavaScript
    engine.)
    
    PR-URL: #20519
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Trott authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    b2b4871 View commit details
    Browse the repository at this point in the history
  40. doc: edit text for DEP0013

    * v10.0.0 -> Node.js 10.0.0
    * Parenthetical with URL rather than "PR" as a lot of people may not
      know what "PR" stands for but they will know what a URL is. Plus not
      hiding the URL means the text is more copy/paste-able. In this
      particular case, "PR 12562" is not more useful or informative than
      #12562 so just use the URL.
    
    PR-URL: #20519
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Trott authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    eed3f10 View commit details
    Browse the repository at this point in the history
  41. doc: edit text about revoking deprecations

    * "un-deprecation" ಠ_ಠ -> "revoking deprecations"
    * "From time-to-time" -> "Occastionally"
    * "semver-major" and "semver-minor" are jargon that readers who don't
      follow our issue tracker will not know. Remove the sentence as it
      doesn't really impact end users. The deprecation is revoked when it is
      revoked. Rules around the releases where deprecations can be revoked
      may be added to the COLLABORATOR_GUIDE in the extensive section about
      deprecations there. If so, great, but let's still remove it here as
      having the information scattered in two places makes it likely that
      one will be edited to contradict the other and then it won't be clear
      which one is correct.
    * Remove unneeded italics. The italicized sentence is not hugely
      critical information that we desperately want users to know. Most
      users won't care. They will only care about the deprecation message
      that they are looking up at that moment.
    
    PR-URL: #20519
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Trott authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    01560b6 View commit details
    Browse the repository at this point in the history
  42. doc: excise "periodically" before "emit events"

    "periodically" implies regular time intervals between emitted events,
    but as first example, "peer connects", implies, the time intervals
    may be irregular or unpredictable.
    
    PR-URL: #20581
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    jeswcollins authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    70586c0 View commit details
    Browse the repository at this point in the history
  43. doc: update "Who to cc..." in COLLABORATOR_GUIDE

    Some of the mentioned files seem to be moved or renamed.
    
    PR-URL: #20564
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ujjwal Sharma <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    vsemozhetbyt authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    8148fca View commit details
    Browse the repository at this point in the history
  44. fs: move fs/promises to fs.promises

    PR-URL: #20504
    Refs: nodejs/TSC#389
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Shingo Inoue <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    Reviewed-By: Ali Ijaz Sheikh <[email protected]>
    cjihrig authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    0b5dd10 View commit details
    Browse the repository at this point in the history
  45. doc: add trace category for fs sync methods

    Add the trace category for file system synchronous methods to
    documentation so the users can enable it when they want to look
    into file system sync method trace data.
    
    PR-URL: #20526
    Refs: #19649
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ali Ijaz Sheikh <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    chinhuang007 authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    ec65fe4 View commit details
    Browse the repository at this point in the history
  46. console: make console.table() use colored inspect

    This makes `console.table()` inspect objects with color if available
    like `console.log()`.
    
    PR-URL: #20510
    Reviewed-By: Gus Caplan <[email protected]>
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Jackson Tian <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    makenowjust authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    a7758c7 View commit details
    Browse the repository at this point in the history
  47. doc: move tunniclm to Emeritus

    tunniclm indicated that it would be a good idea to move them to
    Collaborator Emeritus for now. This commit makes that change in the
    README.md file.
    
    PR-URL: #20533
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Trott authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    bd27a59 View commit details
    Browse the repository at this point in the history
  48. fs: remove broken code in promises/write

    That code expects the last argument to be a callback.
    When it's not a callback, it shifts arguments, defaulting
    encoding to 'utf-8', which is clearly broken.
    
    Old signature: (fd, string[, position[, encoding]], callback)
    New signature: (fd, string[, position[, encoding]])
    
    PR-URL: #20407
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Jamie Davis <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    ChALkeR authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    eb724f0 View commit details
    Browse the repository at this point in the history
  49. fs: fchmod->fchown in promises/lchown

    This was a clear error.
    
    chown should do chown, not chmod.
    
    PR-URL: #20407
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Jamie Davis <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    ChALkeR authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    eb483db View commit details
    Browse the repository at this point in the history
  50. doc: clarify this in event listeners

    this === eventEmitter or this === instance of EventEmitter,
    but it's this is not EventEmitter.
    
    PR-URL: #20537
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    dagolinuxoid authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    e995ae5 View commit details
    Browse the repository at this point in the history
  51. tools: add v10 to alternative version docs menu

    PR-URL: #20586
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gus Caplan <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    vsemozhetbyt authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    2a1efa2 View commit details
    Browse the repository at this point in the history
  52. test: use common.canCreateSymLink() consistently

    This commit replaces two ad hoc symlink permission tests with
    common.canCreateSymLink().
    
    PR-URL: #20540
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    cjihrig authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    b2d3db4 View commit details
    Browse the repository at this point in the history
  53. tools: add eslint check for skipIfEslintMissing

    Add a custom eslint rule to check for `common.skipIfEslintMissing()` to
    allow tests to run from source tarballs that do not include eslint.
    
    Fix up rule tests that were failing the new check.
    
    Refs: #20336
    
    PR-URL: #20372
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    richardlau authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    f7267b4 View commit details
    Browse the repository at this point in the history
  54. doc: match console.count()/countReset() signatures

    PR-URL: #20599
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Lambdac0re authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    05ce635 View commit details
    Browse the repository at this point in the history
  55. test: fix flaky http2-flow-control test

    PR-URL: #20556
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    apapirovski authored and MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    e19200a View commit details
    Browse the repository at this point in the history
  56. 2018-05-08, Version 10.1.0 (Current)

    Notable Changes:
    
    * console:
      - make console.table() use colored inspect (TSUYUSATO Kitsune)
        #20510
    * fs:
      - move fs/promises to fs.promises (cjihrig)
        #20504
    * http:
      - added aborted property to request (Robert Nagy)
        #20094
    * n-api:
      - initialize a module via a special symbol (Gabriel Schulhof)
        #20161
    * src:
      - add public API to expose the main V8 Platform (Allen Yonghuang Wang)
        #20447
    
    PR-URL: #20606
    MylesBorins committed May 9, 2018
    Configuration menu
    Copy the full SHA
    687867d View commit details
    Browse the repository at this point in the history