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

v11.13.0 release proposal #26949

Merged
merged 164 commits into from
Mar 28, 2019
Merged

v11.13.0 release proposal #26949

merged 164 commits into from
Mar 28, 2019

Commits on Mar 27, 2019

  1. events: add once method to use promises with EventEmitter

    This change adds a EventEmitter.once() method that wraps ee.once in a
    promise.
    
    Co-authored-by: David Mark Clements <david.mark.clements@gmail.com>
    
    PR-URL: #26078
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    mcollina authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    df55731 View commit details
    Browse the repository at this point in the history
  2. process: call prepareMainThreadExecution in node inspect

    Since we should treat the node-inspect as third-party
    user code.
    
    Backport-PR-URL: #26662
    PR-URL: #26466
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    joyeecheung authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    03dba72 View commit details
    Browse the repository at this point in the history
  3. process: set up process warning handler in pre-execution

    Since it depends on environment variables.
    
    Backport-PR-URL: #26662
    PR-URL: #26466
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    joyeecheung authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    cc606e2 View commit details
    Browse the repository at this point in the history
  4. process: handle process.env.NODE_V8_COVERAGE in pre-execution

    Since this depends on environment variable, and the worker threads
    do not need to persist the variable value because they cannot
    switch cwd.
    
    Backport-PR-URL: #26662
    PR-URL: #26466
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    joyeecheung authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    4200fc3 View commit details
    Browse the repository at this point in the history
  5. process: move deprecation warning setup for --debug* args

    PR-URL: #26662
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    refack authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    cf1117a View commit details
    Browse the repository at this point in the history
  6. lib: move format and formatWithOptions into internal/util/inspect.js

    So these can be required without requiring the whole `util.js`.
    
    PR-URL: #26468
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    joyeecheung authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    b75af15 View commit details
    Browse the repository at this point in the history
  7. process: call prepareMainThreadExecution in all main thread scripts

    PR-URL: #26468
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    joyeecheung authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    b0afac2 View commit details
    Browse the repository at this point in the history
  8. lib: explicitly initialize debuglog during bootstrap

    This patch splits the implementation of util.debuglog into a
    separate file and explicitly initialize it during pre-execution
    since the initialization depends on environment variables.
    Also delays the call to `debuglog` in modules that are loaded during
    bootstrap to make sure we only access the environment variable
    during pre-execution.
    
    PR-URL: #26468
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    joyeecheung authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    9ce08c8 View commit details
    Browse the repository at this point in the history
  9. tty: add hasColors function

    This adds a small wrapper around the `getColorDepth` function to check
    if the stream supports at least a specific amount of colors. This is
    convenient as the other API is not as straight forward and most use
    cases likely only want to know if a specific amount of colors is
    supported or not.
    
    PR-URL: #26247
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    BridgeAR authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    070faf0 View commit details
    Browse the repository at this point in the history
  10. test: make cctest full Node.js environment

    Make sure `node::Init()` is called once, and execute
    `RunBootstrapping()` so that Node’s internals are ready
    when the cctests run.
    
    PR-URL: #26457
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Shelley Vohr <codebytere@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    e531258 View commit details
    Browse the repository at this point in the history
  11. src: add public API for linked bindings

    (Re-?)add a public API for creating linked bindings (access to
    `NM_F_LINKED` as a constant was previously removed in
    d6ac8a4), and add a test for
    the functionality.
    
    PR-URL: #26457
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Shelley Vohr <codebytere@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    a13f0a6 View commit details
    Browse the repository at this point in the history
  12. src: deprecate AddPromiseHook()

    This API was added to fill an use case that is served by `async_hooks`,
    since that has `Promise` support.
    
    Deprecate this, as the underlying `Isolate::SetPromiseHook()` may be
    removed in its current form in the future.
    
    Refs: https://docs.google.com/document/d/1g8OrG5lMIUhRn1zbkutgY83MiTSMx-0NHDs8Bf-nXxM/
    
    PR-URL: #26529
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    d0801a1 View commit details
    Browse the repository at this point in the history
  13. v8: integrate node-heapdump into core

    Adds `v8.writeHeapSnapshot(filename)` with impl adapted
    from the `node-heapdump` module.
    
    Also, adds a v8.getHeapSnapshot() alternative that returns
    a Readable Stream
    
    PR-URL: #26501
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    jasnell authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    9092e12 View commit details
    Browse the repository at this point in the history
  14. test: whitelist the expected modules in test-bootstrap-modules.js

    Be explicit on the modules that are expected to be loaded and add an
    appropriate assertion failure message to help debug when the list
    changes.
    
    Fixes: #23884
    
    PR-URL: #26531
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    richardlau authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    892282d View commit details
    Browse the repository at this point in the history
  15. doc: edit "Technical How-To" section of guide

    Edit the "Technical How-To" section of the Collaborator Guide. Keep
    wording simple and direct.
    
    PR-URL: #26601
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Trott authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    058cf43 View commit details
    Browse the repository at this point in the history
  16. doc: add Gireesh to TSC

    TSC voted in Gireesh today. Add him to the TSC list in the README.
    
    Closes: #26186
    
    PR-URL: #26657
    Fixes: #26186
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Trott authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    3b471db View commit details
    Browse the repository at this point in the history
  17. report: remove unnecessary return in setters

    Barring shenanigans like Object.getOwnPropertyDescriptor(), return
    values from a setter function will always be inaccessible. Remove
    the `return` statements as they can be misleading, suggesting that the
    return value is accessible and perhaps used somewhere.
    
    PR-URL: #26614
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    1b45534 View commit details
    Browse the repository at this point in the history
  18. net: some scattered cleanup

    This commit cleans up net module, including: 1. remove assigning
    `handle.readable` and `handle.writable` 2. documents
    `NODE_PENDING_PIPE_INSTANCES` enviroment variable 3. use constants
    for '0.0.0.0' and '::'.
    
    PR-URL: #24128
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    oyyd authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    24e96b2 View commit details
    Browse the repository at this point in the history
  19. http: delay ret declaration in method _flushOutput

    PR-URL: #26562
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    gengjiawen authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    c96946d View commit details
    Browse the repository at this point in the history
  20. repl: remove redundant initialization

    PR-URL: #26562
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    gengjiawen authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    e8412bc View commit details
    Browse the repository at this point in the history
  21. lib: make lowerProto scope more clear

    PR-URL: #26562
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    gengjiawen authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    1c1305d View commit details
    Browse the repository at this point in the history
  22. src: remove usage of deprecated IsNearDeath

    Refs: v8/v8@06193b0
    
    PR-URL: #26630
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    925b645 View commit details
    Browse the repository at this point in the history
  23. report: use DiagnosticFilename for default filename

    PR-URL: #26647
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    richardlau authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    e3bae20 View commit details
    Browse the repository at this point in the history
  24. report: use LocalTime from DiagnosticFilename

    PR-URL: #26647
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    richardlau authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    5c41876 View commit details
    Browse the repository at this point in the history
  25. doc: update copy/paste error message in Troubleshooting

    In the Troubleshooting portion of the Collaborator Guide, there is a
    copy/pasted error message. The message is out of date. More recent git
    contains a more concise and clear message. Update the text to reflect
    the current git error message.
    
    PR-URL: #26652
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Trott authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    e8e8eac View commit details
    Browse the repository at this point in the history
  26. doc: simplify Troubleshooting text

    In the Troubleshooting section of the Collaborator Guide, there is one
    particularly lengthy and difficult-to-understand sentence. Make it
    shorter and more clear.
    
    PR-URL: #26652
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Trott authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    cfa152b View commit details
    Browse the repository at this point in the history
  27. src: shutdown node in-flight

    This commit introduces a `node::Stop()` API.
    
    An identified use case for embedders is their ability to tear down
    Node while it is still running (event loop contain pending events)
    
    Here the assumptions are that (i) embedders do not wish to resort to
    JS routines to initiate shutdown (ii) embedders have the Environment
    handle handy. (iii) embedders stop Node through a second thread.
    
    Fixes: #19365
    Refs: nodejs/user-feedback#51
    
    PR-URL: #21283
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Michael Dawson <Michael_Dawson@ca.ibm.com>
    gireeshpunathil authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    6c90b7f View commit details
    Browse the repository at this point in the history
  28. test: remove unnecessary semicolon after macro

    PR-URL: #26618
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    hashseed authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    875ddcb View commit details
    Browse the repository at this point in the history
  29. tools: tidy function arguments in eslint rules

    Remove unused arguments from function invocations in ESLint custom
    rules.
    
    PR-URL: #26668
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    72cda51 View commit details
    Browse the repository at this point in the history
  30. test,console: add testing for monkeypatching of console stdio

    lib/internal/console/constructor.js contains setters for console._stdout
    and console._stderr but these setters are not used in our tests or in
    Node.js core. (This is confirmed by our nightly coverage reports.)
    
    Add a test to check monkeypatching _stdout and _stderr on a console
    object.
    
    PR-URL: #26561
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    00a6f76 View commit details
    Browse the repository at this point in the history
  31. crypto: expose KeyObject class

    PR-URL: #26438
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    panva authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    74c6f57 View commit details
    Browse the repository at this point in the history
  32. doc: note about DNS ANY queries / RFC 8482

    PR-URL: #26695
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Bryan English <bryan@bryanenglish.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    tlhunter authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    1f0a283 View commit details
    Browse the repository at this point in the history
  33. test: fix test-heapdump-worker

    This test was broken by d35af56.
    
    Refs: #21283
    Fixes: #26712
    
    PR-URL: #26713
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    c65ff3d View commit details
    Browse the repository at this point in the history
  34. src: inline macro DISALLOW_COPY_AND_ASSIGN

    PR-URL: #26634
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    gengjiawen authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    51b8a89 View commit details
    Browse the repository at this point in the history
  35. src: use deleted function instead of private function in class AsyncWrap

    PR-URL: #26634
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    gengjiawen authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    3637e71 View commit details
    Browse the repository at this point in the history
  36. report: tidy up included headers

    Remove inclusion of headers that are no longer required.
    
    PR-URL: #26697
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    richardlau authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    01778f5 View commit details
    Browse the repository at this point in the history
  37. child_process: ensure message sanity at source

    Error messages coming out of de-serialization at the send target
    is not consumable. So detect the scenario and fix it at the send source
    
    Ref: #20314
    
    PR-URL: #24787
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    gireeshpunathil authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    e39a468 View commit details
    Browse the repository at this point in the history
  38. src: remove unused variable in class InspectorSocketServer

    PR-URL: #26633
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    gengjiawen authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    2d2b6a8 View commit details
    Browse the repository at this point in the history
  39. doc: make RFC references consistent

    Use "RFC 1234" instead of "rfc1234", "RFC1234" or similar variants.
    
    PR-URL: #26727
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Trott authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    b38cf49 View commit details
    Browse the repository at this point in the history
  40. tools: update lint-md.js to lint rfc name format

    Update lint-md.js to lint for "RFC1234" and similar variants that should
    be written as "RFC 1234".
    
    PR-URL: #26727
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Trott authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    1385b29 View commit details
    Browse the repository at this point in the history
  41. doc: simplify force-push guidelines

    Edit the guildelines for force-pushing in Collaborator Guide. There are
    no policy changes, but the material is simplified a bit and the
    sentences are now shorter.
    
    PR-URL: #26699
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    0c06631 View commit details
    Browse the repository at this point in the history
  42. tools: update ESLint to 5.15.2

    Update ESLint to 5.15.2
    
    PR-URL: #26687
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    cjihrig authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    30d7f67 View commit details
    Browse the repository at this point in the history
  43. src: use EVPKeyPointer in more places

    Rejoice, the code base is now free of manual EVP_PKEY_free() calls!
    
    PR-URL: #26632
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bnoordhuis authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    15ec381 View commit details
    Browse the repository at this point in the history
  44. doc: add ZYSzys to collaborators

    Fixes: #26440
    
    PR-URL: #26730
    Fixes: #26440
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    ZYSzys authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    6744b8c View commit details
    Browse the repository at this point in the history
  45. src: elevate v8 namespaces for PropertyAttribute

    PR-URL: #26681
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    gengjiawen authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    eafbfad View commit details
    Browse the repository at this point in the history
  46. src,win: fix usage of deprecated v8::Object::Set

    PR-URL: #26735
    Refs: #26733
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    8ba0da5 View commit details
    Browse the repository at this point in the history
  47. test: fix intrinsics test

    So far this test did not verify that the call did indeed fail since
    the error case was not checked. This makes sure the error is indeed
    thrown as expected.
    
    PR-URL: #26660
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    BridgeAR authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    31995e4 View commit details
    Browse the repository at this point in the history
  48. src: replace heap_utils.createHeapSnapshot with v8.getHeapSnapshot

    Remove the internal testing utility and use the public API instead.
    
    PR-URL: #26671
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    joyeecheung authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    d075814 View commit details
    Browse the repository at this point in the history
  49. test: update test for libuv update

    Starting in libuv 1.27.0, test-dgram-address.js should expect
    EBADF instead of EINVAL.
    
    PR-URL: #26707
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    2d68988 View commit details
    Browse the repository at this point in the history
  50. deps: upgrade to libuv 1.27.0

    Notable changes:
    - `statx()` is used to retrieve file birth times on
      supported platforms.
    - Improved support of running under Windows safe mode.
    - Add support for UDP connected sockets. Several functions
      can now return `UV_EBADF` instead of `UV_EINVAL`.
    - SunOS support is improved.
    
    PR-URL: #26707
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    54ffe61 View commit details
    Browse the repository at this point in the history
  51. doc: update spawnSync() status value possibilities

    The object returned by `child_process.spawnSync()` can have the `status`
    property set to `null` if the process terminated due to a signal. We
    even test for this in
    test/parallel/test-child-process-spawnsync-kill-signal.js.
    
    Update the documentation to reflect this.
    
    PR-URL: #26680
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Trott authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    0303aba View commit details
    Browse the repository at this point in the history
  52. test: add fs.watchFile() + worker.terminate() test

    Refs: #21093 (comment)
    
    PR-URL: #21179
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    ea42514 View commit details
    Browse the repository at this point in the history
  53. test: use EC cert property now that it exists

    Remove XXX, there has been an EC specific cert property since
    #24358
    
    PR-URL: #26598
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    sam-github authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    9c83002 View commit details
    Browse the repository at this point in the history
  54. lib: run prepareMainThreadExecution for third_party_main

    Treat `_third_party_main` like any other CJS entry point, as it
    was done before 6967f91.
    
    PR-URL: #26677
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    a44f98e View commit details
    Browse the repository at this point in the history
  55. doc: add Note of options.stdio into child_process

    PR-URL: #26604
    Refs: #22892 (comment)
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
    koh110 authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    148c2ca View commit details
    Browse the repository at this point in the history
  56. http2: delete unused enum in node_http2.h

    PR-URL: #26704
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    gengjiawen authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    1073e54 View commit details
    Browse the repository at this point in the history
  57. tty: add NO_COLOR and FORCE_COLOR support

    This adds support to enforce a specific color depth by checking the
    `FORCE_COLOR` environment variable similar to `chalk`.
    
    On top of that we also add support for the `NO_COLOR` environment
    variable as suggested by https://no-color.org/.
    
    PR-URL: #26485
    Refs: #26248
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    BridgeAR authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    8cafd83 View commit details
    Browse the repository at this point in the history
  58. benchmark: use gfm for clarity

    PR-URL: #26710
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    gengjiawen authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    0e4ae00 View commit details
    Browse the repository at this point in the history
  59. doc: document error event is optionally emitted after .destroy()

    `error` event on each kind of stream is optionally emitted when
    `.destroy()` method is called. It depends on `._destroy()`
    implementation. In default implementation this event will no be
    fired unless `error` parameter has been provided.
    
    It was already mentioned for `writable.destroy([error])`, so I
    just copied same sentence for the other streams.
    
    PR-URL: #26589
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    tadjik1 authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    8de9fe9 View commit details
    Browse the repository at this point in the history
  60. perf_hooks: reset prev_ before starting ELD timer

    reset `ELDHistogram.prev_` before staring timer to ensure that start
    timer doesn't leak across `disable()` `enable()` calls.
    
    PR-URL: #26693
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Flarna authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    0bd82c9 View commit details
    Browse the repository at this point in the history
  61. doc: condense LTS material in Collaborator Guide

    Edit and condense the "What is LTS?" section of the Collaboroator Guide.
    
    PR-URL: #26722
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    bc9f6d8 View commit details
    Browse the repository at this point in the history
  62. doc: remove How Does LTS Work section from Collaborator Guide

    The How Does LTS Work section duplicates material in the release plan,
    to which there is already a link in the doc. Unfortunately, it has gone
    out of sync with the release plan, resulting in incorrect material being
    in the Collaborator Guide. (The Release WG needs to approve certain
    changes, not LTS WG as the guide currently says. It used to be the LTS
    WG, but that changed.)
    
    Instead of duplicating material in the Collaborator Guide and risking
    that the two documents contradict each other again, instruct the reader
    to refer to the release plan as the canonical source of information.
    
    PR-URL: #26723
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    fc0aa50 View commit details
    Browse the repository at this point in the history
  63. report: remove duplicate TIME_TYPE

    PR-URL: #26708
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    5b8eae4 View commit details
    Browse the repository at this point in the history
  64. test: optimize test-http2-large-file

    Optimize test-http2-large-file so it only allocates a single buffer.
    
    PR-URL: #26737
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Adrian Estrada <edsadr@gmail.com>
    Trott authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    7ebd6bd View commit details
    Browse the repository at this point in the history
  65. test: refresh tmpdir in child-process-server-close

    PR-URL: #26729
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    lpinca authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    c535e48 View commit details
    Browse the repository at this point in the history
  66. doc: remove discord community

    PR-URL: #26830
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Shelley Vohr <codebytere@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    aymen94 authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    560ff91 View commit details
    Browse the repository at this point in the history
  67. benchmark: replace deprecated and eliminate var in buffer-from.js

    PR-URL: #26585
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    gengjiawen authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    3ab438a View commit details
    Browse the repository at this point in the history
  68. lib: use Array#includes instead of Array#indexOf

    PR-URL: #26732
    Refs: #26568
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    starkwang authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    cc76f3f View commit details
    Browse the repository at this point in the history
  69. lib: remove usage of require('util')

    Remove usage of public require('util') in
    `internal/child_process`.
    
    Refs: #26546
    
    PR-URL: #26773
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    dnlup authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    e916a2a View commit details
    Browse the repository at this point in the history
  70. test: remove internal error tests

    These tests tested internal functionality in a way that bypassed all
    code that could reach these cases. It gives a false feeling of safety
    that some code works as intended while there is no guarantee that
    it indeed works as it should.
    
    Therefore it seemed best to remove all of these. The only thing that
    should be tested is the raw functionality of the internal errors.
    
    PR-URL: #26752
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    1458711 View commit details
    Browse the repository at this point in the history
  71. lib: move extra properties into error creation

    This encapsulates the Node.js errors more by adding extra properties
    to an error inside of the function to create the error message instead
    of adding the properties at the call site. That simplifies the usage
    of our errors and makes sure the expected properties are always set.
    
    PR-URL: #26752
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    bff5d30 View commit details
    Browse the repository at this point in the history
  72. doc: fix comma of the list in worker_threads.md

    PR-URL: #26838
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    nodejh authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    c7b34cd View commit details
    Browse the repository at this point in the history
  73. console: fix trace function

    A recent refactoring made the slight mistake of calling `trace()`
    instead of `this.trace()`.
    
    PR-URL: #26764
    Fixes: #26763
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    BridgeAR authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    e49cd40 View commit details
    Browse the repository at this point in the history
  74. events: load internal/errors eagerly

    Since `internal/errors` is loaded by many builtin modules and is
    currently the first module loaded during bootstrap, it is
    fine to load it eagerly. We just need to make sure
    that `internal/errors` itself load other modules lazily.
    
    PR-URL: #26771
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    joyeecheung authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    7022609 View commit details
    Browse the repository at this point in the history
  75. perf_hooks: load internal/errors eagerly

    Since `internal/errors` is loaded by many builtin modules and is
    currently the first module loaded during bootstrap, it is
    fine to load it eagerly. We just need to make sure
    that `internal/errors` itself load other modules lazily.
    
    PR-URL: #26771
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    joyeecheung authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    de353b7 View commit details
    Browse the repository at this point in the history
  76. assert: reduce internal usage of public require of util

    PR-URL: #26762
    Refs: #26546
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    sasurau4 authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    db7c4ac View commit details
    Browse the repository at this point in the history
  77. src: refactor thread stopping mechanism

    - Follow style guide for naming, e.g. use lower_snake_case
      for simple setters/getters.
    - For performance, use atomics instead of a mutex, and inline
      the corresponding getter/setter pair.
    
    PR-URL: #26757
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    addaleax authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    ad5d8e3 View commit details
    Browse the repository at this point in the history
  78. src: only open HandleScope when necessary

    PR-URL: #26734
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    addaleax authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    14c3af7 View commit details
    Browse the repository at this point in the history
  79. src: do not make Resize(0)’d buffers base nullptr

    This fixes issues in which APIs that accept pointers created this way
    treat `nullptr` and a zero-length buffer differently.
    We already do something similar for our `Malloc()` implementation.
    
    PR-URL: #26731
    Fixes: #26514
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    addaleax authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    f597b37 View commit details
    Browse the repository at this point in the history
  80. stream: reduce internal usage of public require of util

    PR-URL: #26698
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BeniCheni authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    b552139 View commit details
    Browse the repository at this point in the history
  81. src: add fast path for equal size to Reallocate()

    When old and new size match, we can skip the rest of the function,
    which makes sense in the case of embedders who do not use Node's
    allocator, as that would lead to needlessly allocating and freeing
    buffers of identical sizes.
    
    PR-URL: #26573
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    26361d1 View commit details
    Browse the repository at this point in the history
  82. build: use Xenial and gcc 6 on Travis

    PR-URL: #26720
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    richardlau authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    4163864 View commit details
    Browse the repository at this point in the history
  83. build: temporarily don't run tests on Travis

    We're hitting the Travis job timeout of 50mins if built with a new
    compiler (as there is no ccache). Temporarily disable the running
    of tests so the Travis job can complete within the timeout and
    populate the ccache.
    
    PR-URL: #26720
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    richardlau authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    b480c79 View commit details
    Browse the repository at this point in the history
  84. build: restore running tests on Travis

    Restore running tests on Travis once the ccache is populated.
    
    PR-URL: #26720
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    richardlau authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    509ad40 View commit details
    Browse the repository at this point in the history
  85. src: use explicit casts to silence conversion warnings

    PR-URL: #26766
    Ref #26733
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    zbjornson authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    6911678 View commit details
    Browse the repository at this point in the history
  86. test: fix test-console-stdio-setters to test setters

    test-console-stdio-setters needs to test against the global console in
    order to test the setters for the lazy-loaded _stdout and _stderr
    properties.
    
    PR-URL: #26796
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    6874288 View commit details
    Browse the repository at this point in the history
  87. src: initialize worker's stack_base_ field

    Coverity was complaining that this field was not initialized.
    
    PR-URL: #26739
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    79d6895 View commit details
    Browse the repository at this point in the history
  88. repl: remove usage of require('util') in repl/history

    Use `require('internal/util/debuglog').debuglog` instead of
    `require('util').debuglog`.
    
    Refs: #26546
    
    PR-URL: #26819
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    dnlup authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    04e9d5a View commit details
    Browse the repository at this point in the history
  89. test: complete console.assert() coverage

    There is one condition in the `console.assert()` code that is not
    tested currently. Add a test to confirm that `console.assert(false)`
    does not include a `:` in its output.
    
    PR-URL: #26827
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    41bd7a6 View commit details
    Browse the repository at this point in the history
  90. test: fix pummel/test-tls-session-timeout

    The test does not work with TLS 1.3 nor should it. Force TLS version
    1.2.
    
    While at it, some refactoring:
    
    * refresh the tmp directory in case it doesn't exist!
    * add an assert.strictEqual() check on the client return `code` value
      which must be zero
    * use arrow functions for callbacks
    * add trailing commas for multiline arrays/objects
    
    Fixes: #26839
    
    PR-URL: #26865
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    8ca7d56 View commit details
    Browse the repository at this point in the history
  91. test: move pummel tls test to sequential

    Move test-tls-session-timeout from pummel to sequential. It isn't very
    pummel-y and this will result in it being run on our CI more than once a
    day. (It broke recently and it would have been caught if it was in
    sequential rather than pummel.)
    
    It must be in sequential rather than pummel because it uses
    `common.PORT` which can result in test failures if more than one test
    uses it at one time in parallel.
    
    PR-URL: #26865
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    963d7d1 View commit details
    Browse the repository at this point in the history
  92. src: apply clang-tidy performance-faster-string-find

    PR-URL: #26812
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    gengjiawen authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    de50346 View commit details
    Browse the repository at this point in the history
  93. src: apply clang-tidy readability-delete-null-pointer

    PR-URL: #26813
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    gengjiawen authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    6de2437 View commit details
    Browse the repository at this point in the history
  94. policy: reduce internal usage of public util for manifest.js

    PR-URL: #26833
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Naturalclar authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    c127bec View commit details
    Browse the repository at this point in the history
  95. dgram: remove usage of public require('util')

    Use `require('internal/util').deprecate` instead of
    `require('util').deprecate`.
    
    Refs: #26546
    
    PR-URL: #26770
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    dnlup authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    dae1e30 View commit details
    Browse the repository at this point in the history
  96. tools: update ESLint to 5.15.3

    Update ESLint to 5.15.3
    
    PR-URL: #26746
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    cjihrig authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    08383a7 View commit details
    Browse the repository at this point in the history
  97. process: load internal/async_hooks before inspector hooks registration

    Otherwise the exports of `internal/async_hooks` may be undefined
    when the inspector async hooks are registered.
    
    PR-URL: #26866
    Fixes: #26798
    Refs: #26859
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    joyeecheung authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    41761cc View commit details
    Browse the repository at this point in the history
  98. doc: change error message to 'not defined'

    PR-URL: #26857
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    MohammedEssehemy authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    7e072c8 View commit details
    Browse the repository at this point in the history
  99. test: strengthen test-worker-prof

    Force main and worker to stay for some deterministic time
    Add some more validation check around profile file generation
    
    Fixes: #26401
    PR-URL: #26608
    
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    gireeshpunathil authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    352c31c View commit details
    Browse the repository at this point in the history
  100. doc: edit LTS material in Collaborator Guide

    * Rewrite some material for simplicity and directness.
    * Remove outdated LTS material in the Collaborator Guide. (For example,
      refers to LTS WG for things that are now handled by the Release WG.)
    * Minor change to text about force pushing (s/minimize/reduce/).
    
    PR-URL: #26845
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    78e6ec7 View commit details
    Browse the repository at this point in the history
  101. test: refactor test-dgram-broadcast-multi-process

    * Add check that `signal` is not null in callback.
    * Use arrow functions for callbacks, destructuring where appropriate,
      and a trailing comma in multi-line arrays
    
    PR-URL: #26846
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    57d3ba1 View commit details
    Browse the repository at this point in the history
  102. assert: reduce internal usage of public require of util

    PR-URL: #26750
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    toshi1127 authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    a2d2756 View commit details
    Browse the repository at this point in the history
  103. trace_events: remove usage of require('util')

    Use `require('internal/util/inspect').format` instead of
    `require('util').format`.
    
    Refs: #26546
    
    PR-URL: #26822
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    dnlup authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    0f9a779 View commit details
    Browse the repository at this point in the history
  104. module: remove usage of require('util')

    Use `require('internal/util/debuglog').debuglog` instead of
    `require('util').debuglog` in `lib/internal/modules/esm/module_map.js`.
    
    Refs: #26546
    
    PR-URL: #26805
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    dnlup authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    fbe6d30 View commit details
    Browse the repository at this point in the history
  105. http2: reduce usage of require('util')

    PR-URL: #26784
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    toshi1127 authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    15af519 View commit details
    Browse the repository at this point in the history
  106. url: remove usage of require('util')

    PR-URL: #26808
    Refs: #26546
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    toshi1127 authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    04c7db3 View commit details
    Browse the repository at this point in the history
  107. test: move test-https-connect-localport to sequential

    test-https-connect-localport uses a hard-coded port number. Therefore
    the test cannot be in the parallel directory because it will sometimes
    conflict with other tests that run at the same time and request that the
    OS provide an available port.
    
    Fixes: #26862
    
    PR-URL: #26881
    Fixes: #26862
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Trott authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    4919e4b View commit details
    Browse the repository at this point in the history
  108. test: use common.PORT instead of hardcoded number

    In sequential/test-https-connect-localport, replace 34567 with
    common.PORT.
    
    PR-URL: #26881
    Fixes: #26862
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Trott authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    011c205 View commit details
    Browse the repository at this point in the history
  109. test: replace localhost IP with 'localhost' for TLS conformity

    test-https-connect-localport currently causes a runtime deprecation
    warning: "[DEP0123] DeprecationWarning: Setting the TLS ServerName
    to an IP address is not permitted by RFC 6066. This will be ignored
    in a future version."
    
    Change IP usage to the string 'localhost' instead.
    
    PR-URL: #26881
    Fixes: #26862
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Trott authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    838fb95 View commit details
    Browse the repository at this point in the history
  110. test: refactor test-https-connect-localport

    Use arrow functions for callbacks. Replace uses of `this` with explicit
    variables. Add a trailing comma in a multiline object literal
    declaration.
    
    PR-URL: #26881
    Fixes: #26862
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Trott authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    3cae010 View commit details
    Browse the repository at this point in the history
  111. console: remove unreachable code

    The current version of lib/internal/console/constructor.js includes this
    as part of line 470:
    
      setlike ? iterKey : indexKey
    
    However, `setlike` is guaranteed to be true because we are inside of an
    `if` block (starting on line 463) that explicitly checks that `setlike`
    is true.
    
    Coverage reporting confirms that `setliked` is always true when it is
    reached in our tests.
    
    Remove the ternary as the value provided will always be `iterKey`.
    
    PR-URL: #26863
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Trott authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    f263f98 View commit details
    Browse the repository at this point in the history
  112. test: delete pummel/test-dtrace-jsstack

    The test pummel/test-dtrace-jsstack is broken and probably has been for
    a very long time. Remove it.
    
    It gets skipped on anything that is non-SunOS. In our CI, that means
    skipped everywhere but SmartOS.
    
    When run on SmartOS in our CI (which never happens because it's in
    pummel, but I moved it into sequential to test it), it fails because it
    needs elevated privileges.
    
    When I log into the SmartOS machine and run the test as root, it fails
    with:
    
      AssertionError [ERR_ASSERTION]: did not find expected frame stalloogle
    
    Since I have dtrace installed on my macOS machine, I tried running it
    locally but removing the SunOS check. It failed because the test leaks a
    global variable. I removed the global leak check, and the test failed
    because I have System Integrity Protection enabled.
    
    In short, the test does not work in its current form, has almost
    certainly not worked in a long time, and is very likely to be brittle if
    we ever do fix it. I'm inclined to remove it.
    
    PR-URL: #26869
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    5d992f5 View commit details
    Browse the repository at this point in the history
  113. doc: minor edit to worker_threads.md

    Change "JS code" to "JavaScript".
    
    PR-URL: #26870
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    977f5ac View commit details
    Browse the repository at this point in the history
  114. lib: remove usage of require('util')

    Remove usage of public `require('util').inspect` and
    `require('util').formatWithOptions`.
    
    PR-URL: #26777
    Refs: #26546
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    dnlup authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    64a9229 View commit details
    Browse the repository at this point in the history
  115. lib: remove usage of require('util')

    Remove the usage of `require('util').inspect`.
    
    PR-URL: #26779
    Refs: #26546
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    dnlup authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    bf2b57e View commit details
    Browse the repository at this point in the history
  116. tty: remove util.inherits usage

    PR-URL: #26797
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    nissy-dev authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    83f6ec8 View commit details
    Browse the repository at this point in the history
  117. module: remove usage of require('util') in cjs/loader.js

    Use `require('internal/util').deprecate` instead of
    `require('util').deprecate` in `lib/internal/modules/cjs/loader.js`.
    
    PR-URL: #26802
    Refs: #26546
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    dnlup authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    414d6f5 View commit details
    Browse the repository at this point in the history
  118. module: remove usage of require('util') in esm/loader.js

    Use `require('internal/util/debuglog').debuglog` instead of
    `require('util').debuglog` in `lib/internal/modules/esm/loader.js`.
    
    PR-URL: #26804
    Refs: #26546
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    dnlup authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    037e3fd View commit details
    Browse the repository at this point in the history
  119. module: remove usage of require('util') in esm/translators.js

    Use `require('internal/util/debuglog').debuglog` and
    `require('internal/util').promisify`
    instead of `require('util').debuglog` and `require('util').promisify` in
    `lib/internal/modules/translators.js`.
    
    PR-URL: #26806
    Refs: #26546
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    dnlup authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    4cafd74 View commit details
    Browse the repository at this point in the history
  120. net: remove usage of require('util')

    Use `require('internal/util/inspect').inspect` and
    `require('internal/util/debuglog').debuglog` instead of
    `require('util').debuglog` and `require('util').inspect`.
    
    PR-URL: #26807
    Refs: #26546
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    dnlup authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    5e06c3b View commit details
    Browse the repository at this point in the history
  121. process: remove usage of require('util') in per_thread.js

    Use `require('internal/util/inspect').format` instead of
    `require('util').format`.
    
    PR-URL: #26817
    Refs: #26546
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    dnlup authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    dd2f2cc View commit details
    Browse the repository at this point in the history
  122. Revert "net: remove usage of require('util')"

    This reverts commit e112fb4.
    This commit broke parallel/test-net-access-byteswritten.
    
    PR-URL: #26896
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Trott authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    a20bf75 View commit details
    Browse the repository at this point in the history
  123. src: micro-optimize ALPN negotiation

    99 out of a 100 times (conservative estimate!) the negotiated protocol
    will be either "h2" or "http/1.1" so reuse an existing JS string for
    those instead of creating a new one every time.
    
    PR-URL: #26836
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    bnoordhuis authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    54753f2 View commit details
    Browse the repository at this point in the history
  124. src: guard exit label when inspector disabled

    Currently, when configured --without-inspector the following warning
    will be generated:
    ../src/node.cc:859:1: warning: unused label 'exit' [-Wunused-label]
    exit:
    
    This commit adds a guard to exclude the label when there is no
    inspector support.
    
    PR-URL: #26801
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    danbev authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    220f67c View commit details
    Browse the repository at this point in the history
  125. process: make stdout and stderr emit 'close' on destroy

    Fix: #26550
    
    PR-URL: #26691
    Fixes: https://github.com/false
    Fixes: #26550
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    mcollina authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    8b65aa7 View commit details
    Browse the repository at this point in the history
  126. tools: enable getter-return lint rule

    PR-URL: #26615
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    cjihrig authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    fef2a54 View commit details
    Browse the repository at this point in the history
  127. lib: reduce usage of require('util')

    Replace `require('util').inspect` and `require('util').format` with
    `require('util/internal/inspect').inspect` and
    `require('util/internal/inspect').format` in `lib/internal/errors.js`.
    
    PR-URL: #26782
    Refs: #26546
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    dnlup authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    5f3b850 View commit details
    Browse the repository at this point in the history
  128. doc: add option to require 'process' to api docs

    It is possible to require the 'process' module and with the upcoming
    support for ES Modules, importing 'process' might be the more favorable
    way for developers. This commit adds that option to the documentation.
    
    PR-URL: #26792
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    dkundel authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    14cc4f2 View commit details
    Browse the repository at this point in the history
  129. errors: remove usage of require('util')

    Remove internal usage of `require('util').inspect`.
    
    PR-URL: #26781
    Refs: #26546
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    dnlup authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    9a5c149 View commit details
    Browse the repository at this point in the history
  130. src: store onread callback in internal field

    This gives a slight performance improvement. At 2000 runs:
    
                                                confidence improvement accuracy (*)   (**)  (***)
        net/net-c2s.js dur=5 type='buf' len=64        ***      0.54 %       ±0.16% ±0.21% ±0.27%
    
    PR-URL: #26837
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    addaleax authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    13eb1d8 View commit details
    Browse the repository at this point in the history
  131. tools: remove eslint rule no-let-in-for-declaration

    PR-URL: #26715
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    gengjiawen authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    d80cd50 View commit details
    Browse the repository at this point in the history
  132. inspector: always set process.binding('inspector').callAndPauseOnStart

    Since `process.binding('inspector')` is loaded during bootstrap,
    simply set `process.binding('inspector').callAndPauseOnStart`
    unconditionally instead of relying on `agent->WillWaitForConnect()`
    which depends on runtime states,
    
    PR-URL: #26793
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    joyeecheung authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    3574b62 View commit details
    Browse the repository at this point in the history
  133. src: add include guard for trace_event_common.h

    PR-URL: #26883
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    gengjiawen authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    3d9839b View commit details
    Browse the repository at this point in the history
  134. tools: windows_boxstarter "choco install python -y" for Python 3

    PR-URL: #26424
    Refs: #25789 (comment)
    Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    cclauss authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    92b666a View commit details
    Browse the repository at this point in the history
  135. doc: edit "How Can I Help?" in Collaborator Guide

    Edit the "How Can I Help?" section of the Collaborator Guide to keep
    sentences simple, short, and direct.
    
    PR-URL: #26895
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    a545cfe View commit details
    Browse the repository at this point in the history
  136. src: move AsyncHooks out of Environment

    PR-URL: #26824
    Refs: #26776
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    4af9ff0 View commit details
    Browse the repository at this point in the history
  137. src: move AsyncCallbackScope out of Environment

    PR-URL: #26824
    Refs: #26776
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    6de1220 View commit details
    Browse the repository at this point in the history
  138. src: move ImmediateInfo out of Environment

    PR-URL: #26824
    Refs: #26776
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    495e5e9 View commit details
    Browse the repository at this point in the history
  139. src: move TickInfo out of Environment

    PR-URL: #26824
    Refs: #26776
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    bc69a81 View commit details
    Browse the repository at this point in the history
  140. src: move TrackingTraceStateObserver out of Environment

    PR-URL: #26824
    Refs: #26776
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    7e7f077 View commit details
    Browse the repository at this point in the history
  141. src: move ShouldNotAbortOnUncaughtScope out of Environment

    PR-URL: #26824
    Refs: #26776
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    f50c9c6 View commit details
    Browse the repository at this point in the history
  142. doc: mark settings as optional and add callback

    The settings are currently not required and the callback was not
    documented so far.
    
    Refs: #26811
    
    PR-URL: #26894
    Refs: #26811
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    BridgeAR authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    119f83b View commit details
    Browse the repository at this point in the history
  143. stream: make sure 'readable' is emitted before ending the stream

    Fixes: #25810
    
    PR-URL: #26059
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    mcollina authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    0b2f900 View commit details
    Browse the repository at this point in the history
  144. stream: fix regression introduced in #26059

    In #26059, we introduced a bug that caused 'readable' to be nextTicked
    on EOF of a ReadableStream. This breaks the dicer module on CITGM.
    That change was partially reverted to still fix the bug in #25810 and
    not break dicer.
    
    See: #26059
    Fixes: #25810
    
    PR-URL: #26643
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mcollina authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    249bf50 View commit details
    Browse the repository at this point in the history
  145. process: handle node --debug deprecation in pre-execution

    In addition, shim `process._deprecatedDebugBrk` in pre-execution.
    This is a non-semver-major v11.x backport for
    #25828.
    
    PR-URL: #26670
    Refs: #25828
    joyeecheung authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    be3ea2a View commit details
    Browse the repository at this point in the history
  146. crypto: allow deriving public from private keys

    This change allows passing private key objects to
    crypto.createPublicKey, resulting in a key object that represents a
    valid public key for the given private key. The returned public key
    object can be used and exported safely without revealing information
    about the private key.
    
    Backport-PR-URL: #26688
    PR-URL: #26278
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    tniessen authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    ed7599b View commit details
    Browse the repository at this point in the history
  147. crypto: improve error handling in parseKeyEncoding

    This change only affects KeyObject.export().
    
    Backport-PR-URL: #26688
    PR-URL: #26455
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    tniessen authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    f2a07df View commit details
    Browse the repository at this point in the history
  148. src,lib: allow running multiple per-context files

    Create an `lib/internal/per_context/` directory that can
    host multiple files which we execute for each context.
    
    PR-URL: #26497
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    e044563 View commit details
    Browse the repository at this point in the history
  149. src,lib: make DOMException available in all Contexts

    This allows using `DOMException` from Node.js code for any
    `vm.Context`.
    
    PR-URL: #26497
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    1e669b2 View commit details
    Browse the repository at this point in the history
  150. worker: implement worker.moveMessagePortToContext()

    This enables using `MessagePort`s in different `vm.Context`s,
    aiding with the isolation that the `vm` module seeks to provide.
    
    Refs: ayojs/ayo#111
    
    PR-URL: #26497
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    3c6f12c View commit details
    Browse the repository at this point in the history
  151. module: do not share the internal require function with public loaders

    This patch removes `NativeModule.require` and
    `NativeModule.requireWithFallbackInDeps`. The public loaders now
    have to use a special method
    `NativeModule.prototype.compileForPublicLoader()` to compile native
    modules. In addition this patch moves the decisions of proxifying
    exports and throwing unknown builtin errors entirely to public
    loaders, and skip those during internal use - therefore `loaders.js`,
    which is compiled during bootstrap, no longer needs to be aware of
    the value of `--experimental-modules`.
    
    PR-URL: #26549
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    235bb73 View commit details
    Browse the repository at this point in the history
  152. test: refactor trace event category tests

    - Add descriptions
    - Filter out the relevant traces for testing, ignore the irrelevant
      ones.
    
    PR-URL: #26605
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    joyeecheung authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    9ef0a29 View commit details
    Browse the repository at this point in the history
  153. process: set the trace category update handler during bootstrap

    Set the trace category update handler during bootstrap, but delay
    the initial invocation of it until pre-execution. In addition, do
    not serialize the `node.async_hooks` category state when loading
    the trace_event binding during bootstrap, since it depends on
    run time states (e.g. CLI flags). Instead, use the
    `isTraceCategoryEnabled` v8 intrinsics to query that value during
    pre-execution.
    
    PR-URL: #26605
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    joyeecheung authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    1481e5b View commit details
    Browse the repository at this point in the history
  154. process: refactor global.queueMicrotask()

    - Lazy load `async_hooks` in the implementation
    - Rename `process/next_tick.js` to `process/task_queues.js`
      and move the implementation of `global.queueMicrotask()`
      there since these methods are conceptually related to
      each other.
    - Move the bindings used by `global.queueMicrotask()` into
      `node_task_queue.cc` instead of the generic `node_util.cc`
    - Use `defineOperation` to define `global.queueMicrotask()`
    
    PR-URL: #26523
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    255de69 View commit details
    Browse the repository at this point in the history
  155. timers: refactor to use module.exports

    PR-URL: #26583
    Refs: #26546
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    joyeecheung authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    e6367c2 View commit details
    Browse the repository at this point in the history
  156. timers: reduce usage of public util

    Refs: #26546
    
    PR-URL: #26583
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    joyeecheung authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    ebb0c2a View commit details
    Browse the repository at this point in the history
  157. timers: refactor timer callback initialization

    This patch:
    
    - Moves the timer callback initialization into bootstrap/node.js,
      documents when they will be called, and make the dependency on
      process._tickCallback explicit.
    - Moves the initialization of tick callbacks and timer callbacks
      to the end of the bootstrap to make sure the operations
      done before those initializations are synchronous.
    - Moves more internals into internal/timers.js from timers.js.
    
    PR-URL: #26583
    Refs: #26546
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    joyeecheung authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    1f4a5bc View commit details
    Browse the repository at this point in the history
  158. lib: lazy load v8 in error-serdes

    Lazy loading `v8` in `lib/internal/error-serdes.js` reduces the number
    of loaded modules by the bootstrap code for Worker threads by seven.
    
    PR-URL: #26689
    Refs: #26501 (comment)
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    richardlau authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    cc4a25a View commit details
    Browse the repository at this point in the history
  159. process: delay creation of process.env after bootstrap/node.js

    Make sure that no code is allowed to access process.env during
    the execution of bootstrap/node.js.
    
    PR-URL: #26515
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    57d302b View commit details
    Browse the repository at this point in the history
  160. worker: create per-Environment message port after bootstrap

    PR-URL: #26593
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    4314dbf View commit details
    Browse the repository at this point in the history
  161. process: check no handle or request is active after bootstrap

    PR-URL: #26593
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    899de0a View commit details
    Browse the repository at this point in the history
  162. timers: fix refresh inside callback

    When `timers.refresh()` is called inside a callback, the timer would
    incorrectly end up unrefed and thus not keep the event loop alive.
    
    PR-URL: #26721
    Fixes: #26642
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    apapirovski authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    3ec652a View commit details
    Browse the repository at this point in the history
  163. timers: move big impl comment to /internal/

    To be paired with the commits from
    #26583
    
    Specifically:
    1a6fb71
    
    PR-URL: #26761
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Fishrock123 authored and targos committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    a640834 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2019

  1. 2019-03-28, Version 11.13.0 (Current)

    Notable changes:
    
    * crypto
      * Allow deriving public from private keys (Tobias Nießen)
        [#26278](#26278).
    * events
      * Added a `once` function to use `EventEmitter` with promises
        (Matteo Collina) [#26078](#26078).
    * tty
      * Added a `hasColors` method to `WriteStream` (Ruben Bridgewater)
        [#26247](#26247).
      * Added NO_COLOR and FORCE_COLOR support (Ruben Bridgewater)
        [#26485](#26485).
    * v8
      * Added `v8.getHeapSnapshot` and `v8.writeHeapSnapshot` to generate snapshots
        in the format used by tools such as Chrome DevTools (James M Snell)
        [#26501](#26501).
    * worker
      * Added `worker.moveMessagePortToContext`. This enables using MessagePorts in
        different vm.Contexts, aiding with the isolation that the vm module seeks to
        provide (Anna Henningsen)
        [#26497](#26497).
    * C++ API
      * `AddPromiseHook` is now deprecated. This API was added to fill an use case
        that is served by `async_hooks`, since that has `Promise` support
        (Anna Henningsen) [#26529](#26529).
      * Added a `Stop` API to shut down Node.js while it is running
        (Gireesh Punathil) [#21283](#21283).
    * meta
      * [Gireesh Punathil](https://github.com/gireeshpunathil) is now a member of
        the Technical Steering Committee
        [#26657](#26657).
      * Added [Yongsheng Zhang](https://github.com/ZYSzys) to collaborators
        [#26730](#26730).
    
    PR-URL: #26949
    targos committed Mar 28, 2019
    Configuration menu
    Copy the full SHA
    29867f3 View commit details
    Browse the repository at this point in the history