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

v12.16.2 proposal #32313

Merged
merged 389 commits into from Apr 8, 2020
Merged

v12.16.2 proposal #32313

merged 389 commits into from Apr 8, 2020
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Mar 30, 2020

  1. benchmark: add MessagePort benchmark

    Add a raw `MessagePort` benchmark that does not ping back and forth
    between different threads, unlike the `echo.js` benchmark, as there
    are some performance differences between single-threaded and multi-
    threaded operation, and a single-threaded Environment can be somewhat
    easier to work with when profiling.
    
    PR-URL: #31568
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    addaleax authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    4e40c77 View commit details
    Browse the repository at this point in the history
  2. doc: clarify socket.setNoDelay() explanation

    Change the description of socket.setNoDelay() to make it clear
    that sockets have Nagle's algorithm enabled by default.
    
    Better document the tradeoff of having the algorithm enabled.
    
    Explain the behavior of the function based on the passed arguments.
    
    PR-URL: #31541
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    rustyconover authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    356e505 View commit details
    Browse the repository at this point in the history
  3. doc: fix numbering

    PR-URL: #31575
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Nef10 authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    351c863 View commit details
    Browse the repository at this point in the history
  4. test: mark additional tests as flaky on Windows

    Basically, any of the tests that failed in the runs for
    #31602 which was not already
    marked as flaky.
    
    PR-URL: #31606
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    addaleax authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    0eb2dbb View commit details
    Browse the repository at this point in the history
  5. src: fix console debug output on Windows

    The FWrite function on Windows assumed that MultiByteToWideChar
    automatically null-terminates the resulting string, but it will only do
    so if the size of the source was passed as -1 or null character was
    explicitly counted in the size. The FWrite uses std::string and its
    `.size()` method which doesn't count the null character even though the
    `.data()` method adds it to the resulting string.
    
    https://docs.microsoft.com/en-us/windows/win32/api/stringapiset/nf-stringapiset-multibytetowidechar#remarks
    > MultiByteToWideChar does not null-terminate an output string if the
      input string length is explicitly specified without a terminating null
      character. To null-terminate an output string for this function, the
      application should pass in -1 or explicitly count the terminating null
      character for the input string.
    
    PR-URL: #31580
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    lundibundi authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    5e19c4a View commit details
    Browse the repository at this point in the history
  6. src: remove duplicate field env in CryptoJob class

    Removed field env from cryptojob class, replaced with
    function env() inherited from ThreadPoolWork
    
    PR-URL: #31554
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    ConorDavenport authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    79a6872 View commit details
    Browse the repository at this point in the history
  7. test: simplify test-https-simple.js

    It had an unused `Agent` option (no such option exists), and some code
    that common.must(Not)Call makes redundant.
    
    PR-URL: #31584
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    sam-github authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    944f1a3 View commit details
    Browse the repository at this point in the history
  8. benchmark: clean up config resolution in multiple benchmarks

    This removes 'to Number' casting in multiple benchmarks (which is
    handled by the benchmark runner) and cleans up some var usage in changed
    benchmarks.
    
    PR-URL: #31581
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    lundibundi authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    7f828a4 View commit details
    Browse the repository at this point in the history
  9. src: change Fill() to use ParseArrayIndex()

    Changed Fill() to use ParseArrayIndex() when getting start and end
    of buffers instead of Uint32Value, supporting buffers of greater
    than 2**32
    
    Fixes: #31514
    Co-Authored-By: Rich Trott <rtrott@gmail.com>
    
    PR-URL: #31591
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ConorDavenport authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    7e52e39 View commit details
    Browse the repository at this point in the history
  10. test: unset NODE_OPTIONS for cctest

    The test may fail otherwise because of behaviour changes caused
    by setting the environment variable.
    
    Fixes: #31585
    
    PR-URL: #31594
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    addaleax authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    d2fbe80 View commit details
    Browse the repository at this point in the history
  11. fs: set path when mkdir recursive called on file

    PR-URL: #31607
    Fixes: #28015
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    bcoe authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    d366996 View commit details
    Browse the repository at this point in the history
  12. net: track state of setNoDelay() and prevent unnecessary system calls

    The state of .setNoDelay() is now tracked and code will prevent repeated
    system calls to setsockopt() when the value has already been set to the
    desired value for the socket.
    
    Change and expand the appropriate test.
    
    PR-URL: #31543
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    rustyconover authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    0d30546 View commit details
    Browse the repository at this point in the history
  13. src: remove unused Worker::child_port_ member

    This fixes a compiler warning introduced in 9225939.
    
    PR-URL: #31599
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    753db6a View commit details
    Browse the repository at this point in the history
  14. src: fix inspecting MessagePort from init async hook

    During the `init()` async hook, the C++ object is not finished
    creating yet (i.e. it is an `AsyncWrap`, but not yet a `HandleWrap`
    or `MessagePort`). Accessing the `handle_` field is not valid
    in that case.
    
    However, the custom inspect function for `MessagePort`s calls
    `HasRef()` on the object, which would crash when the object
    is not fully constructed. Fix that by guarding the access of
    the libuv handle on that condition.
    
    PR-URL: #31600
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    addaleax authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    2cdd57a View commit details
    Browse the repository at this point in the history
  15. doc: add example to fs.promises.readdir

    PR-URL: #31552
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    conoro authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    06d5a9c View commit details
    Browse the repository at this point in the history
  16. doc: ask more questions in the bug report template

    Inspired by the defect report template of the V8 issue tracker
    
    PR-URL: #31611
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    joyeecheung authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    afeaec7 View commit details
    Browse the repository at this point in the history
  17. meta: fix collaborator list errors in README.md

    Add missing `-` characters in the list.
    
    PR-URL: #31655
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    jasnell authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    c892d41 View commit details
    Browse the repository at this point in the history
  18. test: fix flaky test-http2-stream-destroy-event-order

    Alternative to #31590.
    
    It appears that the issue here is that the test falsely assumed that
    closing the client (which also currently destroys the socket rather
    than gracefully shutting down the connection) would still leave
    enough time for the server side to receive the stream error.
    
    Address that by explicitly waiting for the server side to receive the
    stream error before closing the client and the connection with it.
    
    Refs: #31590
    Refs: #20750
    
    PR-URL: #31610
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    addaleax authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    02c2396 View commit details
    Browse the repository at this point in the history
  19. doc,assert: rename "mode" to "assertion mode"

    Rename "strict mode" in the assert module to "strict assertion mode".
    This is to avoid confusion with the more typical meaning of "strict
    mode" in ECMAScript.
    
    This necessitates a corresponding change of "legacy mode" to "legacy
    assertion mode".
    
    PR-URL: #31635
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    8f75c74 View commit details
    Browse the repository at this point in the history
  20. n-api: free instance data as reference

    Instance data associated with a `napi_env` is no longer stored on the
    env itself but is instead rendered as a reference. Since
    `v8impl::Reference` is tied to a JS object, this modification factors
    out the `v8impl::Reference` refcounting and the deletion process into
    a base class for `v8impl::Reference`, called `v8impl::RefBase`. The
    instance data is then stored as a `v8impl::RefBase`, along with other
    references, preventing a segfault that arises from the fact that, up
    until now, upon `napi_env` destruction, the instance data was freed
    after all references had already been forcefully freed. If the addon
    freed a reference during the `napi_set_instance_data` finalizer
    callback, such a reference had already been freed during environment
    teardown, causing a double free.
    
    Re: nodejs/node-addon-api#663
    PR-URL: #31638
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Gabriel Schulhof authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    08e09ec View commit details
    Browse the repository at this point in the history
  21. test: add test-dns-promises-lookupService

    This adds covereage for the onlookupservice() callback in
    lib/internal/dns/promises.js. Because of stubbing in other tests, it is
    not currently covered.
    
    This test works on my local development machine with the network turned
    off, so I'm putting it in parallel. If CI proves more challenging, it
    can be moved to the internet directory instead.
    
    PR-URL: #31640
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    297fb67 View commit details
    Browse the repository at this point in the history
  22. doc: correct getting an ArrayBuffer's length

    `ArrayBuffer` instances do not have `.length` property.
    Instead they have `.byteLength` property.
    Fixed that in the description of
    `new Buffer(arrayBuffer[, byteOffset[, length]])` and
    `Buffer.from(arrayBuffer[, byteOffset[, length]])`.
    
    PR-URL: #31632
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    tsabolov authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    55c7b9f View commit details
    Browse the repository at this point in the history
  23. doc: remove .github/ISSUE_TEMPLATE.md in favor of the template folder

    This removes the obsolete issue template file since we already
    have the issue template folder which is the one currently in effect.
    
    PR-URL: #31656
    Refs: #31611
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    joyeecheung authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    76b5002 View commit details
    Browse the repository at this point in the history
  24. doc: update TSC name in "Release Process"

    PR-URL: #31652
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    tniessen authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    cb75ca1 View commit details
    Browse the repository at this point in the history
  25. src: various minor improvements to node_url

    Went hunting for possible performance improvements. Didn't find
    anything significant but did manage to make a number of style
    improvements that bring more in line with style guidelines and
    good pratice.
    
    PR-URL: #31651
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    jasnell authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    5e68a13 View commit details
    Browse the repository at this point in the history
  26. doc: clarify Worker exit/message event ordering

    Motivated by the fact that getting this wrong has led to flaky
    tests in our test suite.
    
    Refs: #31637
    
    PR-URL: #31642
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    28657cc View commit details
    Browse the repository at this point in the history
  27. src: fix OOB reads in process.title getter

    The getter passed a stack-allocated, fixed-size buffer to
    uv_get_process_title() but neglected to check the return value.
    
    When the total length of the command line arguments exceeds the size of
    the buffer, libuv returns UV_ENOBUFS and doesn't modify the contents of
    the buffer. The getter then proceeded to return whatever garbage was on
    the stack at the time of the call, quite possibly reading beyond the
    end of the buffer.
    
    Add a GetProcessTitle() helper that reads the process title into a
    dynamically allocated buffer that is resized when necessary.
    
    Fixes: #31631
    
    PR-URL: #31633
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    bnoordhuis authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    57d1d73 View commit details
    Browse the repository at this point in the history
  28. src: remove fixed-size GetHumanReadableProcessName

    Remove the version of GetHumanReadableProcessName() that operates on a
    fixed-size buffer.
    
    The only remaining caller is Assert() which might get called in contexts
    where dynamically allocating memory isn't possible but as Assert() calls
    printf(), which also allocates memory when necessary, this commit is
    unlikely to make matters much worse.
    
    PR-URL: #31633
    Fixes: #31631
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    bnoordhuis authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    c34672a View commit details
    Browse the repository at this point in the history
  29. test: fix flaky test-inspector-connect-main-thread

    Previously, the test waited for a (any) message from the workers,
    and then attached another event listener to a specific kind of
    message. However, it was possible that the second listener was
    attached after the Worker had already exited, thus never receiving
    the message it was supposed to receive. (This is the race condition
    here – usually, the Worker thread would exit *after* the second
    listener was attached.)
    
    Solve this by keeping a single `'message'` event listener attached
    to the worker instance during its entire lifetime.
    
    Fixes: #31226
    
    PR-URL: #31637
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    addaleax authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    795a21d View commit details
    Browse the repository at this point in the history
  30. test: fix test-benchmark-http

    fe39757 added a setting to a benchmark
    which needs to be reflected in the test.
    
    PR-URL: #31686
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    bdd1133 View commit details
    Browse the repository at this point in the history
  31. worker: reset Isolate stack limit after entering Locker

    It turns out that using `v8::Locker` undoes the effects of
    passing an explicit stack limit as part of the `Isolate`’s
    resource constraints.
    
    Therefore, reset the stack limit manually after entering a Locker.
    
    Refs: #26049 (comment)
    
    PR-URL: #31593
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    addaleax authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    0697f65 View commit details
    Browse the repository at this point in the history
  32. src: remove dead code in InternalMakeCallback

    Remove unneeded condition as the first line in function already
    ensures that recv can't be empty.
    
    PR-URL: #31622
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yihong Wang <yh.wang@ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Flarna authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    6e3e158 View commit details
    Browse the repository at this point in the history
  33. doc: simplify async_hooks overview

    Explain the purpose of async_hooks simply in the overview.
    
    PR-URL: #31660
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    959fa8f View commit details
    Browse the repository at this point in the history
  34. build: add configure option to debug only Node.js part of the binary

    Building Node.js with `--debug` takes a long time and generates
    binaries that can be hard to work with due to their size, in
    particular because debug builds of V8 are large.
    
    Sometimes, it’s sufficient to build the Node.js parts with native
    debugging options enabled. Add an option for that.
    
    PR-URL: #31644
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    addaleax authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    4f36bf7 View commit details
    Browse the repository at this point in the history
  35. src: modernized unique_ptr construction

    PR-URL: #31654
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Yuhanun Citgez authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    bf729d0 View commit details
    Browse the repository at this point in the history
  36. doc: consolidate introductory text

    PR-URL: #31667
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    708aff9 View commit details
    Browse the repository at this point in the history
  37. benchmark: check for and fix multiple end()

    PR-URL: #31624
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    mscdex authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    a305ae2 View commit details
    Browse the repository at this point in the history
  38. benchmark: refactor helper into a class

    This is the basis to refactor the helper to use modern class
    language features such as private fields.
    
    It also refactors the exports to use module.exports. That way it's
    immediately clear what parts are exported.
    
    PR-URL: #31396
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    BridgeAR authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    19fbe55 View commit details
    Browse the repository at this point in the history
  39. benchmark: remove special test entries

    It was necessary to have fallbacks to run the original tests. This
    is obsolete with the new test mode.
    
    PR-URL: #31396
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    BridgeAR authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    c18cec7 View commit details
    Browse the repository at this point in the history
  40. assert: align character indicators properly

    This makes sure color codes are not taken into account in case
    util.inspect's default value was changed.
    
    PR-URL: #31429
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    BridgeAR authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    f756c80 View commit details
    Browse the repository at this point in the history
  41. test: stricter assert color test

    Make sure the assertion is actually triggered by using
    `assert.throws()` instead of `try/catch`.
    
    PR-URL: #31429
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    BridgeAR authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    61e534b View commit details
    Browse the repository at this point in the history
  42. tty: do not end in an infinite warning recursion

    It was possible that this warning ends up in an infinite recursion.
    The reason is that printing the warning triggered a color check and
    that triggered another warning. Limiting it to a single warning
    prevents this.
    
    PR-URL: #31429
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    BridgeAR authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    fbc0bd9 View commit details
    Browse the repository at this point in the history
  43. test,dns: add coverage for dns exception

    Add test coverage for dns.promises.resolve() handling an exception from
    c-ares.
    
    Refs: https://coverage.nodejs.org/coverage-d213f21c72f77da6/lib/internal/dns/promises.js.html#L198
    
    PR-URL: #31678
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    99cfab2 View commit details
    Browse the repository at this point in the history
  44. doc,net: reword Unix domain path paragraph in net.md

    Reword the paragraph on Unix domain paths. Hopefully, it is a little bit
    more clear and easier to read now.
    
    PR-URL: #31684
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    8f9f92f View commit details
    Browse the repository at this point in the history
  45. doc,util: revise util.md introductory paragraph

    Minor edits to improve introductory test for util module documentation.
    
    PR-URL: #31685
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    844f893 View commit details
    Browse the repository at this point in the history
  46. src: fix compile warnings in node_url.cc

    Since for all affected conversions there is a preceding type check,
    it’s safe to use `.FromJust()` instead.
    
    This fixes the following compile warnings:
    
        ../src/node_url.cc: In function ‘void node::url::{anonymous}::ToUSVString(const v8::FunctionCallbackInfo<v8::Value>&)’:
        ../src/node_url.cc:2242:43: warning: ignoring return value of ‘bool v8::Maybe<T>::To(T*) const [with T = long int]’, declared with attribute warn_unused_result [-Wunused-result]
         2242 |   args[1]->IntegerValue(env->context()).To(&start);
              |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
        ../src/node_url.cc: In function ‘node::url::url_data node::url::{anonymous}::HarvestBase(node::Environment*, v8::Local<v8::Object>)’:
        ../src/node_url.cc:1206:34: warning: ignoring return value of ‘bool v8::Maybe<T>::To(T*) const [with T = int]’, declared with attribute warn_unused_result [-Wunused-result]
         1206 |     flags->Int32Value(context).To(&base.flags);
              |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
        ../src/node_url.cc:1211:33: warning: ignoring return value of ‘bool v8::Maybe<T>::To(T*) const [with T = int]’, declared with attribute warn_unused_result [-Wunused-result]
         1211 |     port->Int32Value(context).To(&base.port);
              |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
        ../src/node_url.cc: In function ‘void node::url::{anonymous}::ToUSVString(const v8::FunctionCallbackInfo<v8::Value>&)’:
        ../src/node_url.cc:2245:15: warning: ‘start’ may be used uninitialized in this function [-Wmaybe-uninitialized]
         2245 |   for (size_t i = start; i < value.length(); i++) {
              |               ^
    
    PR-URL: #31689
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    249a0fe View commit details
    Browse the repository at this point in the history
  47. test: improve assertion message in test-dns-any

    Improve error message from "The expression evaluated to a falsy value"
    to a message formatted dynamically that lists the record types found so
    that someone investigating can look at the code and determine which
    values are missing.
    
    This came up because the test failed in nightly master branch CI but
    generally passes. It may prove helpful to know what record types were
    missing. (All of them? Just one? Something else?)
    
    PR-URL: #31697
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    59eba11 View commit details
    Browse the repository at this point in the history
  48. test: add debugging output to test-net-listen-after-destroy-stdin

    The test failed in CI once with a timeout but there is insufficient
    information to further debug. Add additional debugging information.
    
    Refactored callbacks to be arrow functions, since that seems to be the
    direction we're moving.
    
    PR-URL: #31698
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    ca6fce0 View commit details
    Browse the repository at this point in the history
  49. test: fix flaky test-fs-stat-bigint

    Change test limit for atime from 2ms to 5ms. Add comment explaining why
    the wiggle room is needed.
    
    Fixes: #24593
    
    PR-URL: #30437
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    duncanhealy authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    7d71465 View commit details
    Browse the repository at this point in the history
  50. test: remove flaky designation for test-fs-stat-bigint

    PR-URL: #30437
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    3f6805f View commit details
    Browse the repository at this point in the history
  51. doc: improve strict assertion mode color text

    Minor improvements to the text about colors in strict assertion mode:
    
    * Consolidate the two paragraphs into one
    * Pluralize "variables"
    * Remove unnecessary article "the"
    * Change "doc" to "documentation"
    
    PR-URL: #31703
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    aadd8ca View commit details
    Browse the repository at this point in the history
  52. doc: revise deepEqual() legacy assertion mode text

    * Remove "potentially". It's arguably misplaced and certainly
      unnecessary.
    * Use italics for words-as-words usage of _Deep equality_ rather than
      using quotation marks.
    
    PR-URL: #31704
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    1db85aa View commit details
    Browse the repository at this point in the history
  53. util: throw if unreachable code is reached

    If a comparison code path that is supposed to be unreachable is reached,
    throw. Add a c8 comment to ignore coverage for the line, as it should be
    unreachable.
    
    PR-URL: #31712
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Yosuke Furukawa <yosuke.furukawa@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    c9fa2d1 View commit details
    Browse the repository at this point in the history
  54. doc: reword section title in addons.md

    Throughout the docs, we sometimes write the possessive of _Node.js_ as
    _Node.js'_ and other times as _Node.js's_. The former conforms with some
    generally accepted style guides (e.g., Associated Press Stylebook) while
    the latter complies with others (e.g., Chicago Manual of Style).
    
    Since there is no clear authoritative answer as to which form is
    correct, and since (at least to me) both are visually jarring and
    sometimes cause a pause to understand, I'd like to reword things to
    eliminate the possessive form where possible.
    
    This is one of those examples.
    
    PR-URL: #31713
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    4c5c340 View commit details
    Browse the repository at this point in the history
  55. doc: reword possessive form of Node.js in repl.md

    Throughout the docs, we sometimes write the possessive of _Node.js_ as
    _Node.js'_ and other times as _Node.js's_. The former conforms with some
    generally accepted style guides (e.g., Associated Press Stylebook) while
    the latter complies with others (e.g., Chicago Manual of Style).
    
    Since there is no clear authoritative answer as to which form is
    correct, and since (at least to me) both are visually jarring and
    sometimes cause a pause to understand, I'd like to reword things to
    eliminate the possessive form where possible.
    
    This is one of those examples.
    
    PR-URL: #31713
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    4c65d0a View commit details
    Browse the repository at this point in the history
  56. doc: reword possessive form of Node.js in modules.md

    Throughout the docs, we sometimes write the possessive of _Node.js_ as
    _Node.js'_ and other times as _Node.js's_. The former conforms with some
    generally accepted style guides (e.g., Associated Press Stylebook) while
    the latter complies with others (e.g., Chicago Manual of Style).
    
    Since there is no clear authoritative answer as to which form is
    correct, and since (at least to me) both are visually jarring and
    sometimes cause a pause to understand, I'd like to reword things to
    eliminate the possessive form where possible.
    
    This is one of those examples.
    
    PR-URL: #31713
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    d3201d7 View commit details
    Browse the repository at this point in the history
  57. doc: reword possessive form of Node.js in zlib.md

    Throughout the docs, we sometimes write the possessive of _Node.js_ as
    _Node.js'_ and other times as _Node.js's_. The former conforms with some
    generally accepted style guides (e.g., Associated Press Stylebook) while
    the latter complies with others (e.g., Chicago Manual of Style).
    
    Since there is no clear authoritative answer as to which form is
    correct, and since (at least to me) both are visually jarring and
    sometimes cause a pause to understand, I'd like to reword things to
    eliminate the possessive form where possible.
    
    This is one of those examples.
    
    PR-URL: #31713
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    165047a View commit details
    Browse the repository at this point in the history
  58. tools: update Markdown linter to be cross-platform

    Prior to this commit, the dependencies were not
    matching the build procedure. This has been
    corrected and it has the added benefit of being
    able to be built on Windows as well.
    
    * continue using `rollup` rather than `ncc`
    * do not require `fs-event`s for non-macOS
    * use `npx` and `shx` for cross-platform building
    * ensure `lint-md-rollup` runs before `lint-md`
    
    PR-URL: #31239
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Derek Lewis authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    b657df4 View commit details
    Browse the repository at this point in the history
  59. src: allow to reuse env options handling

    PR-URL: #31711
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    lundibundi authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    28289ea View commit details
    Browse the repository at this point in the history
  60. worker: properly handle env and NODE_OPTIONS in workers

    PR-URL: #31711
    Fixes: #30627
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    lundibundi authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    30dbc84 View commit details
    Browse the repository at this point in the history
  61. src: add ExclusiveAccess class

    Similar to Rust's `std::sync::Mutex` in that it requires one to unwrap
    the object before accessing it, acquiring the mutex in the process.
    
    PR-URL: #31717
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    bnoordhuis authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    01da656 View commit details
    Browse the repository at this point in the history
  62. src: wrap HostPort in ExclusiveAccess

    I found it exceedingly hard to figure out if there is a race condition
    where one thread reads the inspector agent's HostPort's properties while
    another modifies them concurrently.
    
    I think the answer is "no, there isn't" but with this commit use sites
    are forced to unwrap the object (and acquire the mutex in the process),
    making it a great deal easier to reason about correctness.
    
    PR-URL: #31717
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    bnoordhuis authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    7597100 View commit details
    Browse the repository at this point in the history
  63. util: add coverage for util.inspect.colors alias setter

    Add test to confirm that the setter for aliases in `util.inspect.colors`
    keeps the alias reference-equal to the target value.
    
    Refs: https://coverage.nodejs.org/coverage-5b0308cd823a5110/lib/internal/util/inspect.js.html#L357
    Refs: https://codecov.io/gh/nodejs/node/src/5b0308cd823a511098dadf9ddd5a35e3a9dbb424/lib/internal/util/inspect.js#L357
    
    PR-URL: #31743
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    785417a View commit details
    Browse the repository at this point in the history
  64. util: throw if unreachable TypedArray checking code is reached

    If a comparison code path that is supposed to be unreachable is reached,
    throw. Add a c8 comment to ignore coverage for the line, as it
    should be unreachable.
    
    PR-URL: #31737
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    f4e5404 View commit details
    Browse the repository at this point in the history
  65. meta: move calvinmetcalf to emeritus

    calvinmetcalf confirmed in email that moving to emeritus seemed like the
    right move for them right now.
    
    Move a separate entry that wasn't in the correct place in the list.
    
    PR-URL: #31736
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Calvin Metcalf <calvin.metcalf@gmail.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    ca52b5b View commit details
    Browse the repository at this point in the history
  66. meta: move vkurchatkin to emeritus

    vkurchatkin confirmed in email that it's time to move to emeritus.
    
    PR-URL: #31729
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    3e7e9fd View commit details
    Browse the repository at this point in the history
  67. meta: move princejwesley to emeritus

    princejwesley confirmed in email that moving to emeritus at this time
    was appropriate.
    
    PR-URL: #31730
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    c222d56 View commit details
    Browse the repository at this point in the history
  68. doc: update foundation name in onboarding

    PR-URL: #31719
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    tniessen authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    236943a View commit details
    Browse the repository at this point in the history
  69. doc: expand C++ README with information about exception handling

    Add more information about why it is advisable not to use
    `.FromJust()` etc. on Maybe(Local)s, and general information
    about termination exceptions.
    
    PR-URL: #31720
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    dbe2da6 View commit details
    Browse the repository at this point in the history
  70. doc: add directions to mark a release line as lts

    Moves directions for LTS release from the Release repo to Node docs.
    
    Fixes: nodejs/Release#530
    PR-URL: #31724
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Danielle Adams authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    448fe39 View commit details
    Browse the repository at this point in the history
  71. test: improve test-fs-stat-bigint

    Remove magic number and measure amount of difference should be allowable
    between consecutive stat() calls.
    
    PR-URL: #31726
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    3f43c5f View commit details
    Browse the repository at this point in the history
  72. doc: fix default server timeout description for https

    PR-URL: #31692
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    puzpuzpuz authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    86686cc View commit details
    Browse the repository at this point in the history
  73. doc: update contact email for @ryzokuken

    Update my personal email address from usharma1998@gmail.com (tired)
    to ryzokuken@disroot.org (wired).
    
    PR-URL: #31670
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    ryzokuken authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    d4c1a8c View commit details
    Browse the repository at this point in the history
  74. doc: fix typo on fs docs

    PR-URL: #31620
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    juanarbol authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    a7a6261 View commit details
    Browse the repository at this point in the history
  75. worker: add support for .cjs extension

    PR-URL: #31662
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    aduh95 authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    9f8d315 View commit details
    Browse the repository at this point in the history
  76. doc: add prerequisites information for Arch

    Add prerequisites for Arch Linux and derivatives in BUILDING.md.
    
    PR-URL: #31669
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ryzokuken authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    01ec722 View commit details
    Browse the repository at this point in the history
  77. benchmark: swap var for let in benchmarks

    In benchmark directory this changes for loops
    using var to let when it applies for consistency
    
    PR-URL: #28958
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    RamirezAlex authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    7173b28 View commit details
    Browse the repository at this point in the history
  78. benchmark: use let instead of var

    Use `let` in module, napi, net, os, path, process, querystring, streams
    and string_decoder.
    
    PR-URL: #31592
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    dnlup authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    0b75790 View commit details
    Browse the repository at this point in the history
  79. crypto: fix performance regression

    e559842
    made writable/readable computed with a legacy mode if the properties
    are written to.
    
    LazyTransform still unecessarily wrote to these properties causing a
    performance regression.
    
    Fixes: #31739
    
    PR-URL: #31742
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    ronag authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    b84fd94 View commit details
    Browse the repository at this point in the history
  80. doc: add glossary.md

    PR-URL: #27517
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    gengjiawen authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    82defc0 View commit details
    Browse the repository at this point in the history
  81. test: mark test-fs-stat-bigint flaky on FreeBSD

    Refs: #31727
    
    PR-URL: #31728
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    aa5afd0 View commit details
    Browse the repository at this point in the history
  82. src: use hex not decimal in IsArrayIndex

    PR-URL: #31758
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    codebytere committed Mar 30, 2020
    Copy the full SHA
    98640f7 View commit details
    Browse the repository at this point in the history
  83. doc: guide - using valgrind to debug memory leaks

    Add doc for using valgrind to debug native
    memory leaks.
    
    Started writing this up as part of an effort
    in the Diagnostic WG but think it's better
    to have it in the core guides and then be referenced
    by the docs in the Diagnostic WG repo.
    
    For more details on the Diagnostic WG effort see
    nodejs/diagnostics#254 (comment)
    This guide is related to `/step3 - using_native_tools.md`
    
    PR-URL: #31501
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mhdawson authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    de275d0 View commit details
    Browse the repository at this point in the history
  84. src: prefer 3-argument Array::New()

    This is nicer, because:
    
    1. It reduces overall code size,
    2. It’s faster, because `Object::Set()` calls are relatively slow, and
    3. It helps avoid invalid `.Check()`/`.FromJust()` calls.
    
    PR-URL: #31775
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    addaleax authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    e6debf5 View commit details
    Browse the repository at this point in the history
  85. worker: unroll file extension regexp

    Refs: #31662 (comment)
    
    PR-URL: #31779
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    ea989e1 View commit details
    Browse the repository at this point in the history
  86. doc: fix typos in doc/api/https.md

    PR-URL: #31793
    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: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Jeff-Tian authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    38d3f56 View commit details
    Browse the repository at this point in the history
  87. doc: move @Fishrock123 to a previous releaser

    I have not done a release in well over a year, maybe even two.
    
    I also don't really plan to do more,
    as Node.js releases are very tedious.
    
    PR-URL: #31725
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Fishrock123 authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    e65c1c2 View commit details
    Browse the repository at this point in the history
  88. doc: move @Fishrock123 to TSC Emeriti

    It was a good run. Almost 5 years.
    
    I haven't really been involved in the last 3+? months though,
    so it's time I call it and 'retire'.
    
    I think it is unlikely that I'll be on the TSC again,
    as node is unfortunately becoming increasingly
    disinteresting (& frustrating) to me.
    
    (So long and thanks for all the fish!)
    
    PR-URL: #31725
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Fishrock123 authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    b3d0795 View commit details
    Browse the repository at this point in the history
  89. doc: pronouns for @Fishrock123

    might as well while I'm at it
    
    feels a bit weird being the first person on this list
    with '/they' but I guess someone's gota do it
    
    PR-URL: #31725
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Fishrock123 authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    88a6d9b View commit details
    Browse the repository at this point in the history
  90. doc: move gireeshpunathil to TSC emeritus

    PR-URL: #31770
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    gireeshpunathil authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    aebaead View commit details
    Browse the repository at this point in the history
  91. test: add known issue test for sync writable callback

    If the write callbacks are invoked synchronously with an
    error, onwriteError would cause the error event to be
    emitted synchronously, making it impossible to attach
    an error handler after the call that triggered it.
    
    PR-URL: #31756
    Refs: nodejs/quic@b0d469c
    Refs: nodejs/quic#341
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
    jasnell authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    1109124 View commit details
    Browse the repository at this point in the history
  92. doc: reword possessive form of Node.js in debugger.md

    Throughout the docs, we sometimes write the possessive of _Node.js_ as
    _Node.js'_ and other times as _Node.js's_. The former conforms with some
    generally accepted style guides (e.g., Associated Press Stylebook) while
    the latter complies with others (e.g., Chicago Manual of Style).
    
    Since there is no clear authoritative answer as to which form is
    correct, and since (at least to me) both are visually jarring and
    sometimes cause a pause to understand, I'd like to reword things to
    eliminate the possessive form where possible.
    
    This is one of those examples.
    
    PR-URL: #31748
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    b8d2997 View commit details
    Browse the repository at this point in the history
  93. doc: reword possessive form of Node.js in process.md

    Throughout the docs, we sometimes write the possessive of _Node.js_ as
    _Node.js'_ and other times as _Node.js's_. The former conforms with some
    generally accepted style guides (e.g., Associated Press Stylebook) while
    the latter complies with others (e.g., Chicago Manual of Style).
    
    Since there is no clear authoritative answer as to which form is
    correct, and since (at least to me) both are visually jarring and
    sometimes cause a pause to understand, I'd like to reword things to
    eliminate the possessive form where possible.
    
    This is one of those examples.
    
    PR-URL: #31748
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    d034eb4 View commit details
    Browse the repository at this point in the history
  94. doc: reword possessive form of Node.js in http.md

    Throughout the docs, we sometimes write the possessive of _Node.js_ as
    _Node.js'_ and other times as _Node.js's_. The former conforms with some
    generally accepted style guides (e.g., Associated Press Stylebook) while
    the latter complies with others (e.g., Chicago Manual of Style).
    
    Since there is no clear authoritative answer as to which form is
    correct, and since (at least to me) both are visually jarring and
    sometimes cause a pause to understand, I'd like to reword things to
    eliminate the possessive form where possible.
    
    This is one of those examples.
    
    PR-URL: #31748
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    648f831 View commit details
    Browse the repository at this point in the history
  95. doc: reword possessive form of Node.js in adding-new-napi-api.md

    Throughout the docs, we sometimes write the possessive of _Node.js_ as
    _Node.js'_ and other times as _Node.js's_. The former conforms with some
    generally accepted style guides (e.g., Associated Press Stylebook) while
    the latter complies with others (e.g., Chicago Manual of Style).
    
    Since there is no clear authoritative answer as to which form is
    correct, and since (at least to me) both are visually jarring and
    sometimes cause a pause to understand, I'd like to reword things to
    eliminate the possessive form where possible.
    
    This is one of those examples.
    
    PR-URL: #31748
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    17882ac View commit details
    Browse the repository at this point in the history
  96. test: remove common.PORT from test-net-timeout

    Switch test-net-timeout from common.PORT to a port assigned by the
    operating system.
    
    PR-URL: #31749
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    d172cc1 View commit details
    Browse the repository at this point in the history
  97. test: remove common.PORT from test-net-throttle

    Switch test-net-throttle from common.PORT to a port assigned by the
    operating system.
    
    PR-URL: #31749
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    33d3ccc View commit details
    Browse the repository at this point in the history
  98. test: remove common.PORT from test-tls-server-large-request

    Switch test-tls-server-large-request from common.PORT to a port assigned
    by the operating system.
    
    PR-URL: #31749
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    61de609 View commit details
    Browse the repository at this point in the history
  99. test: remove common.PORT from test-net-pause

    Switch test-net-pause from common.PORT to a port assigned by the
    operating system.
    
    PR-URL: #31749
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    7092563 View commit details
    Browse the repository at this point in the history
  100. http2: make compat finished match http/1

    finished should true directly after end().
    
    PR-URL: #24347
    Refs: #24743
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ronag authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    76a0ba6 View commit details
    Browse the repository at this point in the history
  101. meta: move eljefedelrodeodeljefe to emeritus

    eljefedelrodeodeljefe confirmed in email that moving to emeritus was
    fine at this time.
    
    PR-URL: #31735
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    2a4d31a View commit details
    Browse the repository at this point in the history
  102. doc: add note in BUILDING.md about running make distclean

    Fixes: #28675
    
    PR-URL: #31542
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    swagatata authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    e83af20 View commit details
    Browse the repository at this point in the history
  103. worker: emit runtime error on loop creation failure

    Instead of hard asserting throw a runtime error,
    that is more consumable.
    
    Fixes: #31614
    
    PR-URL: #31621
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    HarshithaKP authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    65729f9 View commit details
    Browse the repository at this point in the history
  104. test: remove common.PORT from test-net-write-callbacks.js

    Switch test-net-write-callbacks.js from common.PORT to a port assigned
    by the operating system.
    
    PR-URL: #31839
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.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: Shelley Vohr <codebytere@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    c386f75 View commit details
    Browse the repository at this point in the history
  105. test: remove flaky designation for test-net-connect-options-port

    Closes: #23207
    
    PR-URL: #31841
    Fixes: #23207
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    bde5a9b View commit details
    Browse the repository at this point in the history
  106. tools: update lint-md task to lint for possessives of Node.js

    Add a markdown lint rule to prohibit "Node.js'" and "Node.js's".
    Instead, of "Node.js' module system", use "the Node.js module system".
    
    Refs: #31748 (comment)
    
    PR-URL: #31862
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    6b1a551 View commit details
    Browse the repository at this point in the history
  107. doc: add note about ssh key to releases

    PR-URL: #31856
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    codebytere committed Mar 30, 2020
    Copy the full SHA
    911dfc5 View commit details
    Browse the repository at this point in the history
  108. tools: sync gyp code base with node-gyp repo

    PR-URL: #30563
    Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org>
    Reviewed-By: Christian Clauss <cclauss@me.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    targos authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    aa8a435 View commit details
    Browse the repository at this point in the history
  109. meta: move julianduque to emeritus

    julianduque confirmed in email that they can be moved to emeritus.
    
    PR-URL: #31863
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    9251307 View commit details
    Browse the repository at this point in the history
  110. crypto: fix ieee-p1363 for createVerify

    Fixes: #31866
    
    PR-URL: #31876
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    tniessen authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    c6bbae4 View commit details
    Browse the repository at this point in the history
  111. doc,crypto: re-document oaepLabel option

    Erroneously removed in #29516.
    
    Fixes: #31810
    Refs: #29516
    
    PR-URL: #31825
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    bnoordhuis authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    fd5aa41 View commit details
    Browse the repository at this point in the history
  112. test: remove common.PORT from assorted pummel tests

    Use port "0" for an OS-provided open port instead of common.PORT.
    
    PR-URL: #31897
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    3deee05 View commit details
    Browse the repository at this point in the history
  113. cli: --perf-prof only works on Linux

    PR-URL: #31892
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    codebytere committed Mar 30, 2020
    Copy the full SHA
    70dc1ce View commit details
    Browse the repository at this point in the history
  114. meta: move Glen Keane to Collaborator Emeritus

    In email, Glen confirmed that he is happy to move to Emeritus. He also
    informed me that his handle is no longer thekemkid and is now glentiki.
    At his request, I've updated the handle in the README in addition to
    moving him to Emeritus.
    
    PR-URL: #31993
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    fd5c3a7 View commit details
    Browse the repository at this point in the history
  115. meta: move maclover7 to Emeritus

    In email, maclover7 confirmed that are fine to move to emeritus status.
    
    PR-URL: #31994
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    a75aa93 View commit details
    Browse the repository at this point in the history
  116. meta: move jbergstroem to emeritus

    jbergstroem confirmed in email that they should go to collaborator
    emeritus. They still have their toe in the Build WG and will stay on
    there. Who knows, maybe they'll be back as a Collaborator before we know
    it.
    
    PR-URL: #31996
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    a44fb3f View commit details
    Browse the repository at this point in the history
  117. meta: move aqrln to emeritus

    aqrln confirmed in email that it makes sense to move them to emeritus at
    this point.
    
    PR-URL: #31997
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    553d62c View commit details
    Browse the repository at this point in the history
  118. src: don't run bootstrapper in CreateEnvironment

    PR-URL: #31910
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    codebytere committed Mar 30, 2020
    Copy the full SHA
    041408d View commit details
    Browse the repository at this point in the history
  119. buffer: improve from() performance

    PR-URL: #31615
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    mscdex authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    06bc2de View commit details
    Browse the repository at this point in the history
  120. doc: update assert.rejects() docs with a validation function example

    Spawned from my own struggle to use in https://gitlab.com/gitlab-org/gitter/webapp/merge_requests/1702#note_268452483
    
    PR-URL: #31271
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    MadLittleMods authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    ab735d0 View commit details
    Browse the repository at this point in the history
  121. src: move BaseObject subclass dtors/ctors out of node_crypto.h

    Originally landed in the QUIC repo
    
    Move constructor and destructors for subclasses of `BaseObject`
    from node_crypto.h to node_crypto.cc. This removes the need to
    include base_object-inl.h when using node_crypto.h in some cases.
    
    Original review metadata:
    
    ```
      PR-URL: nodejs/quic#220
      Reviewed-By: Anna Henningsen <anna@addaleax.net>
      Reviewed-By: James M Snell <jasnell@gmail.com>
    ```
    
    PR-URL: #31872
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    addaleax authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    9ab4a7e View commit details
    Browse the repository at this point in the history
  122. src: allow unique_ptrs with custom deleter in memory tracker

    Originally landed in the QUIC repo
    
    Original review metadata:
    
    ```
      PR-URL: nodejs/quic#145
      Reviewed-By: James M Snell <jasnell@gmail.com>
    ```
    
    PR-URL: #31870
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    3b2bbbd View commit details
    Browse the repository at this point in the history
  123. doc: update releases guide re pushing tags

    Currently we specify pushing the tag before updating any of the
    branches. This creates a potential of creating and pushing a tag
    on an out of sync branch, and only really when attempting to merge
    the release commit that things have gone out of sync.
    
    Changing the order here would minimize the possibility of this error
    
    PR-URL: #31855
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Shelley Vohr <codebytere@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    MylesBorins authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    370653f View commit details
    Browse the repository at this point in the history
  124. src: elevate v8 namespaces

    PR-URL: #31901
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    HarshithaKP authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    bd92243 View commit details
    Browse the repository at this point in the history
  125. tools: add NODE_TEST_NO_INTERNET to the doc builder

    At the moment the doc builder tries to access the internet
    for CHANGELOG information and only falls back to local sources
    after the connection fails or a 5 second timeout. This means
    that the doc building could take at least 7 minutes on a
    machine with hijacked connection to Github for useless network
    attempts. This patch adds a NODE_TEST_NO_INTERNET environment
    variable to directly bypass these attempts so that docs can be
    built in reasonable time on a machine like that.
    
    PR-URL: #31849
    Fixes: #29918
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    joyeecheung authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    1060a2b View commit details
    Browse the repository at this point in the history
  126. doc: updated YAML version representation in readline.md

    All other versions in YAML throughout the docs start with _v_. Fix two
    cases in `readline.md` that did not.
    
    PR-URL: #31924
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    ed86854 View commit details
    Browse the repository at this point in the history
  127. meta: move not-an-aardvark to emeritus

    not-an-aardvark confirmed in email that it's probably time for him to
    move to emeritus.
    
    PR-URL: #31928
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    ae9f58c View commit details
    Browse the repository at this point in the history
  128. test: fix typo in common/index.js

    All tests using enoughTestCpu checks are always having the checks come
    back false due to a typo in common/index.js. Fix the typo.
    
    PR-URL: #31931
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    0c6fdfc View commit details
    Browse the repository at this point in the history
  129. test: add documentation for common.enoughTestCpu

    PR-URL: #31931
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    c2ffef8 View commit details
    Browse the repository at this point in the history
  130. src: enable StreamPipe for generic StreamBases

    Originally landed in the nodejs/quic repo and used there for file
    sending.
    
    Original review:
    
    ```
      PR-URL: nodejs/quic#150
      Reviewed-By: James M Snell <jasnell@gmail.com>
    ```
    
    PR-URL: #31869
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    addaleax authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    0b327bd View commit details
    Browse the repository at this point in the history
  131. doc: clarify http2.connect authority details

    Fixes: #31827
    
    PR-URL: #31828
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Signed-off-by: James M Snell <jasnell@gmail.com>
    jasnell authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    a1c0d46 View commit details
    Browse the repository at this point in the history
  132. doc: update zlib doc

    Just some general improvements to zlib docs and examples
    
    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #31665
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    jasnell authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    1630320 View commit details
    Browse the repository at this point in the history
  133. test: increase timeout in vm-timeout-escape-queuemicrotask

    It looks like under high load the loop isn't even started and therefore
    successfully finishes without 'escaping'. After increasing the timeout
    during parallel run of the test failure rate decreased from 15/1000 to
    0/1000.
    
    PR-URL: #31966
    Refs: #25529
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    lundibundi authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    086e14d View commit details
    Browse the repository at this point in the history
  134. test: fix usage of invalid common properties

    PR-URL: #31933
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Shelley Vohr <codebytere@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    lundibundi authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    26d9f4c View commit details
    Browse the repository at this point in the history
  135. test: validate common property usage

    `common` contains multiple 'check'(boolean) properties that will be
    false if mistyped and may lead to errors.
    This makes sure that the used property exists in the `common`.
    
    PR-URL: #31933
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Shelley Vohr <codebytere@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    lundibundi authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    67c3a95 View commit details
    Browse the repository at this point in the history
  136. test: remove sequential/test-https-keep-alive-large-write.js

    Remove a test that made a flawed assumption that a single
    large buffer write can be interrupted by a timeout event.
    
    PR-URL: #31499
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    rustyconover authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    b1cf56f View commit details
    Browse the repository at this point in the history
  137. test: change test to not be sensitive to buffer send size

    Change the test to not be sensitive to the buffer size causing
    TCP resets to be received by the client causing the test to fail.
    The test now reads the entire expected buffer and then checks for
    the expected event to fire.
    
    PR-URL: #31499
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    rustyconover authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    2bf9a2d View commit details
    Browse the repository at this point in the history
  138. tls: reduce memory copying and number of BIO buffer allocations

    Avoid copying buffers before passing to SSL_write if there
    are zero length buffers involved.  Only copy the data when
    the buffer has a non zero length.
    
    Send a memory allocation hint to the crypto BIO about how much
    memory will likely be needed to be allocated by the next call
    to SSL_write.  This makes a single allocation rather than the BIO
    allocating a buffer for each 16k TLS segment written.  This
    solves a problem with large buffers written over TLS triggering
    V8's GC.
    
    PR-URL: #31499
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    rustyconover authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    54395c6 View commit details
    Browse the repository at this point in the history
  139. crypto: turn impossible DH errors into assertions

    PR-URL: #31934
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Shelley Vohr <codebytere@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    tniessen authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    f9113fd View commit details
    Browse the repository at this point in the history
  140. test: fix flaky test-gc-net-timeout

    If the timeout is called in the time between 'end' and 'close'
    that would cause a EPIPE error. Essentially making the test flaky.
    
    PR-URL: #31918
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    ronag authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    d625384 View commit details
    Browse the repository at this point in the history
  141. build: only lint markdown files that have changed (POSIX-only)

    Update Makefile so that only markdown files that have changed will be
    linted. Currently, if one file in doc/api has changed, all files in
    doc/api are linted.
    
    On Windows, the lint-md task currently lints all files regardless of
    whether any files has changed, and that behavior is unchanged here.
    
    A further improvement is that when tools/lint-md.js is rebuilt, the
    timestamp file is removed so that all files are linted again. This is
    because rebuilding lint-md.js can introduce new rules or modify existing
    rules, so re-linting everything helps make sure that accidental breakage
    doesn't slip by unnoticed.
    
    PR-URL: #31923
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    4dddb56 View commit details
    Browse the repository at this point in the history
  142. doc: add link to sem-ver info

    PR-URL: #31985
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    rosaxxny authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    9161b7e View commit details
    Browse the repository at this point in the history
  143. test: fix flaky test-dns-any.js

    Remove google.com from domains tested with ANY queries.
    
    Fixes: #31721
    
    PR-URL: #32017
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    3574116 View commit details
    Browse the repository at this point in the history
  144. doc: revise --zero-fill-buffers text in buffer.md

    There was an unclear sentence fragment that needed fixing, so I edited
    the entire paragraph for clarity. I also removed irrelevant information
    about behavior before Node.js 8.0.0. That version of Node.js is no
    longer supported and these docs will never apply to 8.0.0. (At the time
    of this writing, 10.x is the oldest supported line, and so changes to
    the docs will never be backported farther than the 10.x docs.)
    
    PR-URL: #32019
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    df54a19 View commit details
    Browse the repository at this point in the history
  145. deps: openssl: cherry-pick 4dcb150ea30f

    OpenSSL 1.1.1d does not ship with getrandom syscall being
    predefined on all architectures. So when NodeJS is run with glibc
    prior to 2.25, where getentropy is unavailable, and the getrandom
    syscall is unknown, it will fail. PPC64LE or s390 are affected
    by lack of this definition.
    
    Original commit message.
    
        commit 4dcb150ea30f9bbfa7946e6b39c30a86aca5ed02
        Author: Kurt Roeckx <kurt@roeckx.be>
        Date:   Sat Sep 28 14:59:32 2019 +0200
    
          Add defines for __NR_getrandom for all Linux architectures
    
          Fixes: openssl/openssl#10015
    
          Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
          GH: openssl/openssl#10044
    
    Fixes: #31671
    PR-URL: #32002
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    AdamMajer authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    78d9a50 View commit details
    Browse the repository at this point in the history
  146. test: move test-inspector-module to parallel

    test-inspector-module is very fast and seems to be runnable at the same
    time as other tests. Move from sequential directory to parallel.
    
    PR-URL: #32025
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    5521462 View commit details
    Browse the repository at this point in the history
  147. test: add WASI test for path_link()

    PR-URL: #32132
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    cjihrig authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    1318662 View commit details
    Browse the repository at this point in the history
  148. test: remove common.port from test-tls-securepair-client

    OpenSSL s_server accepts port 0 as an indicator to use an open port
    provided by the operating system. Use that instead of common.PORT in the
    test.
    
    Remove 500ms delay added in 8e46167.
    Hopefully the race condition in OpenSSL s_server has been fixed and/or
    the change to port 0 means that the server is listening by the time
    the ACCEPT text is printed and the setTimeout() is no longer necessary.
    
    PR-URL: #32024
    Reviewed-By: Ben Coe <bencoe@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    96c7226 View commit details
    Browse the repository at this point in the history
  149. src: add node_crypto_common and refactor

    Two things in one on this commit:
    
    (a) For the QUIC implementation, we need to separate out various bits
        from node_crypto.cc to allow them to be reused. That's where this
        commit starts.
    
    (b) Quite a bit of the node_crypto.cc code was just messy in terms of
        it's organization and lack of error handling and use of Local vs.
        MaybeLocal. This cleans that up a bit and hopefully makes certain
        parts a bit more manageable also.
    
    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #32016
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    jasnell authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    a6a41f4 View commit details
    Browse the repository at this point in the history
  150. doc: improve doc/markdown file organization coherence

    * Updated cpp style guide file name and location and fixed links to
      this file.
    
    * Updated collaborator guide file name and location and fixed links
      to this file.
    
    * Updated documentation style guide file name and location and updated
      links referencing the file.
    
    * Moved files to appropriate location and updated naming style for
      some of them.
    
    Fixes: #31741
    
    PR-URL: #31792
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    ConorDavenport authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    224a17e View commit details
    Browse the repository at this point in the history
  151. doc: visibility of Worker threads cli options

    Fixes: #28518
    PR-URL: #31380
    Fixes: #28518
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    HarshithaKP authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    05fbc80 View commit details
    Browse the repository at this point in the history
  152. src: Handle bad callback in asyc_wrap

    Align with the MaybeLocal<> API contract
    
    PR-URL: #31946
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    HarshithaKP authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    808379c View commit details
    Browse the repository at this point in the history
  153. doc: update maintaining-V8.md

    Updated to conform to style guide.
    
    PR-URL: #31503
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    kenzo-spaulding authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    c20f2cd View commit details
    Browse the repository at this point in the history
  154. doc: update email address in authors

    update my personal email
    
    PR-URL: #32026
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    yaelhe authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    047bd9d View commit details
    Browse the repository at this point in the history
  155. meta: move thefourtheye to TSC Emeritus

    thefourtheye has a considerable history of contributions to Node.js.
    They have not been active much of late, and the TSC Charter has a
    section about activity indicating that moving to Emeritus at this time
    is the thing to do. Thanks for all you've done to make Node.js
    fantastic, thefourtheye, and hope to see you around again soon!
    
    PR-URL: #32059
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    a6f56bb View commit details
    Browse the repository at this point in the history
  156. benchmark: remove problematic tls params

    These very small values can cause crashes/exceptions to occur on some
    systems because most time is spent in V8 GC or in parts of node core
    that are not being tested (e.g. streams).
    
    PR-URL: #31816
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mscdex authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    35f107d View commit details
    Browse the repository at this point in the history
  157. events: fix removeListener for Symbols

    Fix removeListener when eventName type is 'symbol'.
    
    ```js
    const EventEmitter = require('events');
    const myEmitter = new EventEmitter();
    const sym = Symbol('symbol');
    const fn = () => { };
    myEmitter.on(sym, fn);
    
    myEmitter.on('removeListener', (...args) => {
      console.log('removeListener');
      console.log(args, args[0] === sym, args[1] === fn);
    });
    
    myEmitter.removeAllListeners()
    ```
    
    When the listener's eventName type is 'symbol' and removeListener is
    called with no parameters, removeListener should be emitted.
    
    PR-URL: #31847
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Shelley Vohr <codebytere@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    fuxingZhang authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    400083b View commit details
    Browse the repository at this point in the history
  158. test: update tests for larger Buffers

    V8 is about to increase the max TypedArray length to 2**32-1, which
    Node inherits as Buffer.kMaxLength. Some tests relied on values greater
    than the previous max length (2**31-1) to throw errors; this updates
    those tests for the new max length.
    
    PR-URL: #32114
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    jakobkummerow authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    256bc44 View commit details
    Browse the repository at this point in the history
  159. build: enable backtrace when V8 is built for PPC and S390x

    Refs: nodejs/node-v8#119
    
    PR-URL: #32113
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    targos authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    8a0b0a7 View commit details
    Browse the repository at this point in the history
  160. test: apply camelCase in test-net-reconnect-error

    Rename two idnetifiers that were snake_case rather than camelCase.
    
    Signed-off-by: Rich Trott <rtrott@gmail.com>
    
    PR-URL: #32120
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    f365e5c View commit details
    Browse the repository at this point in the history
  161. doc: fix broken links in benchmark README

    PR-URL: #32121
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    eaf6157 View commit details
    Browse the repository at this point in the history
  162. doc: document fs.watchFile() bigint option

    This commit documents the bigint option to fs.watchFile(), which
    has been supported since v10.5.0.
    
    PR-URL: #32128
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    cjihrig authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    df8d51b View commit details
    Browse the repository at this point in the history
  163. deps: V8: backport f7771e5b0cc4

    Original commit message:
    
        [runtime] Recompute enumeration indices of dictionaries upon bitfield overflow
    
        Otherwise we'll get weird semantics when enumerating objects after many
        deletes/reinserts.
    
        Bug: chromium:1033771
        Change-Id: If0a459169c3794a30d9632d09e80da3cfcd4302c
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1993966
        Commit-Queue: Toon Verwaest <verwaest@chromium.org>
        Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
        Reviewed-by: Victor Gomes <victorgomes@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#65690}
    
    Refs: v8/v8@f7771e5
    
    PR-URL: #31957
    Backport-PR-URL: #32053
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    mmarchini authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    e2c40cc View commit details
    Browse the repository at this point in the history
  164. doc: add AsyncResource + Worker pool example

    Use Worker thread pools as an example of how `AsyncResource`
    can be used to track async state across callbacks.
    
    PR-URL: #31601
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    addaleax authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    f820ce6 View commit details
    Browse the repository at this point in the history
  165. test: remove superfluous checks in test-net-reconnect-error

    The process.on('exit', ...) checks duplicate the work of
    `common.mustCall()` and are superfluous. Remove them.
    
    Signed-off-by: Rich Trott <rtrott@gmail.com>
    
    PR-URL: #32120
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Trott authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    2582083 View commit details
    Browse the repository at this point in the history
  166. doc: document self-referencing a package name

    Added a section for "Self-referencing a package using its name" that
    documents importing a package's own exports (this was missed when
    adding the feature).
    
    PR-URL: #31680
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
    giltayar authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    3f1b916 View commit details
    Browse the repository at this point in the history
  167. fs: fix valid id range on chown, lchown, fchown

    PR-URL: #31694
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    himself65 authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    de5d162 View commit details
    Browse the repository at this point in the history
  168. test: allow EAI_FAIL in test-net-dns-error.js

    Test test-net-dns-error.js causes assertion failure on SunOS,
    test expects ENOTFOUND, but OS returns EAI_FAIL.
    
    Maximum length of a host name is 63 characters.
    Test test-net-dns-error.js makes a connection attempt to
    invalid host name (longer than maximum). Such
    connection attempt on SunOS returns permanent failure
    (EAI_FAIL) as invalid hostname won't be ever resolved.
    
    PR-URL: #31780
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Vita Batrla authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    b4c407f View commit details
    Browse the repository at this point in the history
  169. doc: link setRawMode() from signal docs

    Fixes: #32065
    
    PR-URL: #32088
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    addaleax authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    efd20f0 View commit details
    Browse the repository at this point in the history
  170. build: allow passing multiple libs to pkg_config

    Sometimes it's necessary to pass multiple library names to pkg-config,
    e.g. the brotli shared libraries can be pulled in with
        pkg-config libbrotlienc libbrotlidec
    
    Update the code to handle both, strings (as used so far), and lists
    of strings.
    
    Signed-off-by: André Draszik <git@andred.net>
    
    PR-URL: #32046
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    andred authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    6605bba View commit details
    Browse the repository at this point in the history
  171. build: allow use of system-installed brotli

    brotli is available as a shared library since 2016, so it makes sense
    to allow its use as a system-installed version.
    
    Some of the infrastructure was in place already (node.gyp and
    node.gypi), but some bits in the configure script here were missing.
    
    Add them, keeping the default as before, to use the bundled version.
    
    Refs: google/brotli#421
    Signed-off-by: André Draszik <git@andred.net>
    
    PR-URL: #32046
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    andred authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    36ae81a View commit details
    Browse the repository at this point in the history
  172. test: changed function to arrow function

    PR-URL: #32045
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    ProdipRoy89 authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    03aa2e1 View commit details
    Browse the repository at this point in the history
  173. test: use index.js if package.json "main" is empty

    Verify that the module loader uses index.js when the "main" property of
    package.json is the empty string.
    
    Refs: #32013
    
    PR-URL: #32040
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    bnoordhuis authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    1470457 View commit details
    Browse the repository at this point in the history
  174. test: increase test timeout to prevent flakiness

    This increases the waiting time for each event from 500 to 750 ms.
    The former timeout could be hit on very slow machines with high load.
    
    PR-URL: #31716
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    BridgeAR authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    7a14ddf View commit details
    Browse the repository at this point in the history
  175. src: discard tasks posted to platform TaskRunner during shutdown

    Discard tasks silently that are posted when the Isolate is being
    disposed.
    
    It is not possible to avoid a race condition window between
    unregistering the Isolate with the platform and disposing it
    in which background tasks and the Isolate deinit steps themselves
    may lead to new tasks being posted. The only sensible action
    in that case is discarding the tasks.
    
    Fixes: #31752
    Fixes: https://bugs.chromium.org/p/v8/issues/detail?id=10104
    Refs: https://chromium-review.googlesource.com/c/v8/v8/+/2061548
    Refs: #31795
    Refs: #30909
    PR-URL: #31853
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    addaleax authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    908f634 View commit details
    Browse the repository at this point in the history
  176. deps: upgrade openssl sources to 1.1.1e

    This updates all sources in deps/openssl/openssl by:
        $ cd deps/openssl/
        $ rm -rf openssl
        $ tar zxf ~/tmp/openssl-1.1.1e.tar.gz
        $ mv openssl-1.1.1e openssl
        $ git add --all openssl
        $ git commit openssl
    
    PR-URL: #32328
    Fixes: #32210
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    hassaanp authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    4de1afd View commit details
    Browse the repository at this point in the history
  177. deps: adjust openssl configuration for 1.1.1e

    The scripts used by make were modified to correctly reference the source
    files that were originially in crypto/include/internal, but got moved to
    include/crypto.  The base path has been left unaltered since that would
    require too many changes
    
    PR-URL: #32328
    Fixes: #32210
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    hassaanp authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    e96e8af View commit details
    Browse the repository at this point in the history
  178. deps: update archs files for OpenSSL-1.1.1e

    After an OpenSSL source update, all the config files need to be
    regenerated and comitted by:
        $ cd deps/openssl/config
        $ make
        $ git add deps/openssl/config/archs
        $ git add deps/openssl/include
    
    PR-URL: #32328
    Fixes: #32210
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    hassaanp authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    260bd81 View commit details
    Browse the repository at this point in the history
  179. test: discard data received by client

    This test was timing out after update to OpenSSL-1.1.1e.
    
    PR-URL: #32328
    Fixes: #32210
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    hassaanp authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    f4bd01c View commit details
    Browse the repository at this point in the history
  180. test: end tls connection with some data

    In openssl-1.1.1e the client doesn't seem to like having the TLS
    connection shut down with no data sent, so send an empty string. A
    number of related issues showed up in the TLS1.3 port, so this is
    not entirely surprising.
    
    PR-URL: #32328
    Fixes: #32210
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    sam-github authored and codebytere committed Mar 30, 2020
    Copy the full SHA
    7c8a7b4 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2020

  1. src: make aliased_buffer.h self-contained

    aliased_buffer.h uses MultiplyWithOverflowCheck() implemented
    in util-inl.h
    
    PR-URL: #31884
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    joyeecheung authored and codebytere committed Mar 31, 2020
    Copy the full SHA
    19f3c0a View commit details
    Browse the repository at this point in the history
  2. src: refactor debug category parsing

    Move the debug category parsing into a new EnabledDebugList class,
    so that it can be reused outside of Environment.
    
    PR-URL: #31884
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    joyeecheung authored and codebytere committed Mar 31, 2020
    Copy the full SHA
    b95e8ea View commit details
    Browse the repository at this point in the history
  3. src: implement per-process native Debug() printer

    This patch adds a per-process native Debug() printer that can be
    called when an Environment is not available.
    
    PR-URL: #31884
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    joyeecheung authored and codebytere committed Mar 31, 2020
    Copy the full SHA
    b5c6230 View commit details
    Browse the repository at this point in the history
  4. tools: use per-process native Debug() printer in mkcodecache

    PR-URL: #31884
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    joyeecheung authored and codebytere committed Mar 31, 2020
    Copy the full SHA
    61d54e7 View commit details
    Browse the repository at this point in the history
  5. test: improve test-debug-usage

    test-debug-usage fails if run with `--trace-warnings` because the
    regular expression checking does not allow for the resulting stack trace
    from the deprecation warning.
    
    The test also only tests two parts of the three-part usage message.
    
    Improve the test so that it passes with `--trace-warnings` and verifies
    all three parts of the usage message.
    
    Signed-off-by: Rich Trott <rtrott@gmail.com>
    
    PR-URL: #32141
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and codebytere committed Mar 31, 2020
    Copy the full SHA
    bb947ce View commit details
    Browse the repository at this point in the history
  6. src: use C++ style for struct with initializers

    Fixes warning on clang 11:
    
            In file included from ../../src/node_http2.cc:6:
            ../../src/node_http2.h:508:15: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
            typedef struct {
                          ^
                           SessionJSFields
            ../../src/node_http2.h:512:33: note: type is not C-compatible due to this default member initializer
              uint32_t max_invalid_frames = 1000;
                                            ^~~~
            ../../src/node_http2.h:514:3: note: type is given name 'SessionJSFields' for linkage purposes by this typedef declaration
            } SessionJSFields;
              ^
    
    PR-URL: #32134
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    sam-github authored and codebytere committed Mar 31, 2020
    Copy the full SHA
    17e10dd View commit details
    Browse the repository at this point in the history
  7. test: always skip vm-timeout-escape-queuemicrotask

    This issue is unfixable with the current implementations of V8 and
    Node.js. Changes to make this fixable are unlikely to happen in the
    foreseeable future. The test itself is flaky and skipped.  It
    serves as a demonstration of the issue only.
    
    PR-URL: #31980
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    lundibundi authored and codebytere committed Mar 31, 2020
    Copy the full SHA
    7123c0f View commit details
    Browse the repository at this point in the history
  8. tools: only fetch previous versions when necessary

    Refactor the logic for working out the previous versions of Node.js for
    the API documentation so that the parsing (including the potential https
    get) happens at most once per build (as opposed to the current once per
    generated API doc).
    
    Signed-off-by: Richard Lau <riclau@uk.ibm.com>
    
    PR-URL: #32518
    Fixes: #32512
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    richardlau authored and codebytere committed Mar 31, 2020
    Copy the full SHA
    d577190 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2020

  1. tools: update icu to 65.1

    Update the version of the bundled ICU (deps/icu-small) to ICU version
    65.2.
    
    Fixes: #30211
    Fixes: #29540
    
    Backport-PR-URL: #31433
    PR-URL: #30232
    Reviewed-By: Steven R Loomis <srloomis@us.ibm.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
    albertyw authored and MylesBorins committed Apr 1, 2020
    Copy the full SHA
    dca3d29 View commit details
    Browse the repository at this point in the history
  2. module: drop support for extensionless main entry points in esm

    Backport-PR-URL: #32280
    PR-URL: #31415
    Backport-PR-URL: #32280
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    GeoffreyBooth authored and MylesBorins committed Apr 1, 2020
    Copy the full SHA
    4ee41c5 View commit details
    Browse the repository at this point in the history
  3. cli: allow --jitless V8 flag in NODE_OPTIONS

    This work is modeled on #30094 which allowed
    `--disallow-code-generation-from-strings` in `NODE_OPTIONS`.
    
    The `--jitless` v8 option has been supported since 12.0.0. As a v8
    option, node automatically picks it up, but there have been a few issues
    that were resolved by simply telling users about the option: #26758,
    
    This PR:
      - allows `--jitless` in `NODE_OPTIONS`
      - documents `--jitless`
      - moves `--experimental-loader=module` to locally restore alphabetical
        order in option documentation
    
    Refs: #30094
    Refs: #26758
    Refs: #28800
    
    Backport-PR-URL: #32594
    PR-URL: #32100
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Shelley Vohr <codebytere@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    andrewdotn authored and MylesBorins committed Apr 1, 2020
    Copy the full SHA
    aec2226 View commit details
    Browse the repository at this point in the history
  4. test: add test-worker-prof to the SLOW list for debug

    Consistently failing on ubuntu1804_sharedlibs_debug_x64
    
    Refs: #26401
    
    PR-URL: #32589
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    MylesBorins committed Apr 1, 2020
    Copy the full SHA
    6f50b60 View commit details
    Browse the repository at this point in the history
  5. test: mark test-http2-reset-flood flaky on bsd

    This test is somewhat regularly flaky on 12.x and it appears master as
    well. There appears to be an issue tracking flakes for 6+ months. Seems
    reasonable to mark this to keep us from having red CI.
    
    Refs: #29802
    
    PR-URL: #32595
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    MylesBorins committed Apr 1, 2020
    Copy the full SHA
    e4f9360 View commit details
    Browse the repository at this point in the history
  6. test: refactor common.expectsError

    This completely refactors the `expectsError` behavior: so far it's
    almost identical to `assert.throws(fn, object)` in case it was used
    with a function as first argument. It had a magical property check
    that allowed to verify a functions `type` in case `type` was passed
    used in the validation object. This pattern is now completely removed
    and `assert.throws()` should be used instead.
    
    The main intent for `common.expectsError()` is to verify error cases
    for callback based APIs. This is now more flexible by accepting all
    validation possibilites that `assert.throws()` accepts as well. No
    magical properties exist anymore. This reduces surprising behavior
    for developers who are not used to the Node.js core code base.
    
    This has the side effect that `common` is used significantly less
    frequent.
    
    Backport-PR-URL: #31449
    PR-URL: #31092
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    BridgeAR authored and MylesBorins committed Apr 1, 2020
    Copy the full SHA
    d568efc View commit details
    Browse the repository at this point in the history
  7. src: introduce custom smart pointers for BaseObjects

    Referring to `BaseObject` instances using standard C++ smart pointers
    can interfere with BaseObject’s own cleanup mechanisms
    (explicit delete, delete-on-GC and delete-on-cleanup).
    
    Introducing custom smart pointers allows referring to `BaseObject`s
    safely while keeping those mechanisms intact.
    
    Refs: nodejs/quic#141
    Refs: nodejs/quic#149
    Reviewed-By: James M Snell <jasnell@gmail.com>
    
    Backport-PR-URL: #32301
    PR-URL: #30374
    Refs: nodejs/quic#165
    Reviewed-By: David Carlier <devnexen@gmail.com>
    addaleax authored and MylesBorins committed Apr 1, 2020
    Copy the full SHA
    c60780f View commit details
    Browse the repository at this point in the history
  8. http2: use custom BaseObject smart pointers

    Refs: nodejs/quic#141
    Reviewed-By: James M Snell <jasnell@gmail.com>
    
    Backport-PR-URL: #32301
    PR-URL: #30374
    Refs: nodejs/quic#149
    Refs: nodejs/quic#165
    Reviewed-By: David Carlier <devnexen@gmail.com>
    addaleax authored and MylesBorins committed Apr 1, 2020
    Copy the full SHA
    4745ac4 View commit details
    Browse the repository at this point in the history
  9. src: use BaseObjectPtr for keeping channel alive in dns bindings

    Backport-PR-URL: #32301
    PR-URL: #30374
    Refs: nodejs/quic#141
    Refs: nodejs/quic#149
    Refs: nodejs/quic#141
    Refs: nodejs/quic#165
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    addaleax authored and MylesBorins committed Apr 1, 2020
    Copy the full SHA
    6db84d3 View commit details
    Browse the repository at this point in the history
  10. src: remove keep alive option from SetImmediate()

    This is no longer necessary now that the copyable `BaseObjectPtr`
    is available (as opposed to the only-movable `v8::Global`).
    
    Backport-PR-URL: #32301
    PR-URL: #30374
    Refs: nodejs/quic#141
    Refs: nodejs/quic#149
    Refs: nodejs/quic#141
    Refs: nodejs/quic#165
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    addaleax authored and MylesBorins committed Apr 1, 2020
    Copy the full SHA
    e17d314 View commit details
    Browse the repository at this point in the history
  11. src: remove HandleWrap instances from list once closed

    This allows keeping `BaseObjectPtr`s to `HandleWrap` instances.
    Previously, the pointer kept the `HandleWrap` object alive, leaving
    the Environment cleanup code that waits for the handle list to drain
    in a busy loop, because only the `HandleWrap` destructor removed
    the item from the list.
    
    Refs: nodejs/quic#165
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    
    Backport-PR-URL: #32301
    PR-URL: #30374
    Refs: nodejs/quic#141
    Refs: nodejs/quic#149
    Refs: nodejs/quic#141
    Reviewed-By: David Carlier <devnexen@gmail.com>
    addaleax authored and MylesBorins committed Apr 1, 2020
    Copy the full SHA
    5f95e69 View commit details
    Browse the repository at this point in the history
  12. src: keep object alive in stream_pipe code

    This was overlooked in a489583.
    
    Refs: #30374
    
    Backport-PR-URL: #32301
    PR-URL: #30666
    Fixes: #30643
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed Apr 1, 2020
    Copy the full SHA
    7647bfe View commit details
    Browse the repository at this point in the history
  13. src: add more can_call_into_js() guards

    This is in preparation for running native `SetImmediate()`
    callbacks during shutdown.
    
    Backport-PR-URL: #32301
    PR-URL: #30666
    Fixes: #30643
    Refs: #30374
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed Apr 1, 2020
    Copy the full SHA
    51230f7 View commit details
    Browse the repository at this point in the history
  14. src: no SetImmediate from destructor in stream_pipe code

    Guard against running `SetImmediate()` from the destructor.
    The object will not be alive or usable in the callback,
    so it does not make sense to attempt to schedule the
    `SetImmediate()`.
    
    Backport-PR-URL: #32301
    PR-URL: #30666
    Fixes: #30643
    Refs: #30374
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed Apr 1, 2020
    Copy the full SHA
    5b65348 View commit details
    Browse the repository at this point in the history
  15. src: run native immediates during Environment cleanup

    This can be necessary, because some parts of the Node.js code base
    perform cleanup operations in the Immediate callbacks, e.g. HTTP/2.
    
    This resolves flakiness in an HTTP/2 test that failed when a
    `SetImmediate()` callback was not run or destroyed before the
    `Environment` destructor started, because that callback held a
    strong reference to the `Http2Session` object and the expectation
    was that no such objects exist once the `Environment` constructor
    starts.
    
    Another, slightly more direct, alternative would have
    been to clear the immediate queue rather than to run it. However,
    this approach seems to make more sense as code generally assumes
    that the `SetImmediate()` callback will always run; For example,
    N-API uses an immediate callback to call buffer finalization
    callbacks.
    
    Unref’ed immediates are skipped, as the expectation is generally
    that they may not run anyway.
    
    Fixes: #30643
    
    Backport-PR-URL: #32301
    PR-URL: #30666
    Refs: #30374
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed Apr 1, 2020
    Copy the full SHA
    2625244 View commit details
    Browse the repository at this point in the history
  16. src: better encapsulate native immediate list

    Refactor for clarity and reusability. Make it more obvious that the
    list is a FIFO queue.
    
    Backport-PR-URL: #32301
    PR-URL: #31386
    Refs: openjs-foundation/summit#240
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    addaleax authored and MylesBorins committed Apr 1, 2020
    Copy the full SHA
    5df9698 View commit details
    Browse the repository at this point in the history
  17. src: exclude C++ SetImmediate() from count

    There is no real reason to manage a count manually, given that
    checking whether there are C++ callbacks is a single pointer
    comparison.
    
    This makes it easier to add other kinds of native C++ callbacks
    that are managed in a similar way.
    
    Backport-PR-URL: #32301
    PR-URL: #31386
    Refs: openjs-foundation/summit#240
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    addaleax authored and MylesBorins committed Apr 1, 2020
    Copy the full SHA
    aafb224 View commit details
    Browse the repository at this point in the history
  18. src: add a threadsafe variant of SetImmediate()

    Add a variant of `SetImmediate()` that can be called from any thread.
    This allows removing the `AsyncRequest` abstraction and replaces it
    with a more generic mechanism.
    
    Backport-PR-URL: #32301
    PR-URL: #31386
    Refs: openjs-foundation/summit#240
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    addaleax authored and MylesBorins committed Apr 1, 2020
    Copy the full SHA
    748a530 View commit details
    Browse the repository at this point in the history
  19. src: remove AsyncRequest

    Remove `AsyncRequest` from the source code, and replace its
    usage with threadsafe `SetImmediate()` calls. This has the
    advantage of being able to pass in any function, rather than
    one that is defined when the `AsyncRequest` is “installed”.
    
    This necessitates two changes:
    
    - The stopping flag (which was only used in one case and ignored
      in the other) is now a direct member of the `Environment` class.
    - Workers no longer have their own libuv handles, requiring
      manual management of their libuv ref count.
    
    As a drive-by fix, the `can_call_into_js` variable was turned
    into an atomic variable. While there have been no bug reports,
    the flag is set from `Stop(env)` calls, which are supposed to
    be possible from any thread.
    
    Backport-PR-URL: #32301
    PR-URL: #31386
    Refs: openjs-foundation/summit#240
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    addaleax authored and MylesBorins committed Apr 1, 2020
    Copy the full SHA
    7c2c068 View commit details
    Browse the repository at this point in the history
  20. src: add interrupts to Environments/Workers

    Allow doing what V8’s `v8::Isolate::RequestInterrupt()` does for V8.
    This also works when there is no JS code currently executing.
    
    Backport-PR-URL: #32301
    PR-URL: #31386
    Refs: openjs-foundation/summit#240
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    addaleax authored and MylesBorins committed Apr 1, 2020
    Copy the full SHA
    22bf867 View commit details
    Browse the repository at this point in the history
  21. src: move MemoryInfo() for worker code to .cc files

    This is a) the right thing to do anyway because these functions
    can not be inlined by the compiler and b) avoids compilation warnings
    in the following commit.
    
    Backport-PR-URL: #32301
    PR-URL: #31386
    Refs: openjs-foundation/summit#240
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    addaleax authored and MylesBorins committed Apr 1, 2020
    Copy the full SHA
    c2176e1 View commit details
    Browse the repository at this point in the history
  22. report: add support for Workers

    Include a report for each sub-Worker of the current Node.js instance.
    
    This adds a feature that is necessary for eventually making the report
    feature stable, as was discussed during the last collaborator summit.
    
    Refs: openjs-foundation/summit#240
    
    Backport-PR-URL: #32301
    PR-URL: #31386
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    addaleax authored and MylesBorins committed Apr 1, 2020
    Copy the full SHA
    87cfbb2 View commit details
    Browse the repository at this point in the history
  23. src: simplify native immediate queue running

    Make `SetImmediate()` behave more like `process.nextTick()`
    (which matches how we use it) by also running tasks that have been
    added during previous `SetImmediate()` calls.
    
    Backport-PR-URL: #32301
    PR-URL: #31502
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
    addaleax authored and MylesBorins committed Apr 1, 2020
    Copy the full SHA
    cb16aab View commit details
    Browse the repository at this point in the history
  24. worker: move JoinThread() back into exit callback

    de2c68c moved this call to
    the destructor, under the assumption that that would essentially
    be equivalent to running it as part of the callback since the
    worker would be destroyed along with the callback.
    
    However, the actual code in
    `Environment::RunAndClearNativeImmediates()` comes with the subtlety
    that testing whether a JS exception has been thrown
    happens between the invocation of the callback and its destruction,
    leaving a possible exception from `JoinThread()` potentially
    unhandled (and unintentionally silenced through the `TryCatch`).
    
    This affected exceptions thrown from the `'exit'` event of the
    Worker, and made the `parallel/test-worker-message-type-unknown`
    test flaky, as the invalid message was sometimes only received
    during the Worker thread’s exit handler.
    
    Fix this by moving the `JoinThread()` call back to where it was
    before.
    
    Refs: #31386
    
    Backport-PR-URL: #32301
    PR-URL: #31468
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    addaleax authored and MylesBorins committed Apr 1, 2020
    Copy the full SHA
    c5de212 View commit details
    Browse the repository at this point in the history
  25. src: harden running native SetImmediate()s slightly

    Prevent mistakes like the one fixed by the previous commit
    by destroying the callback immediately after it has been called.
    
    Backport-PR-URL: #32301
    PR-URL: #31468
    Refs: #31386
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    addaleax authored and MylesBorins committed Apr 1, 2020
    Copy the full SHA
    56a4509 View commit details
    Browse the repository at this point in the history
  26. src: delete BaseObjectWeakPtr data when pointee is gone

    Fix the condition for deleting the underlying data pointed to by
    a `BaseObjectWeakPtr`, which erroneously skipped that deletion
    when `ptr->get()` was `nullptr`. This fixes a memory leak reported
    by some of the tests.
    
    Refs: #30374 (comment)
    
    Backport-PR-URL: #32301
    PR-URL: #32393
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and MylesBorins committed Apr 1, 2020
    Copy the full SHA
    fbd5be6 View commit details
    Browse the repository at this point in the history
  27. deps: upgrade npm to 6.14.1

    Backport-PR-URL: #32527
    PR-URL: #31977
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Shelley Vohr <codebytere@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    isaacs authored and MylesBorins committed Apr 1, 2020
    Copy the full SHA
    17217a5 View commit details
    Browse the repository at this point in the history
  28. deps: update npm to 6.14.3

    Backport-PR-URL: #32527
    PR-URL: #32368
    Refs: #32296
    Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    MylesBorins committed Apr 1, 2020
    Copy the full SHA
    c419cd2 View commit details
    Browse the repository at this point in the history
  29. deps: remove *.pyc files from deps/npm

    These seem to have accidentally slipped into the npm source tarball and
    cause problems when contributors update their git checkout of node.
    
    Backport-PR-URL: #32527
    PR-URL: #32387
    Refs: #32368
    Refs: npm/cli#1037
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    bnoordhuis authored and MylesBorins committed Apr 1, 2020
    Copy the full SHA
    f55d071 View commit details
    Browse the repository at this point in the history
  30. deps: update term-size with signed version

    Backport-PR-URL: #32527
    PR-URL: #31459
    Refs: #29216
    Refs: sindresorhus/macos-terminal-size#3
    Reviewed-By: Christian Clauss <cclauss@me.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Ash Cripps <ashley.cripps@ibm.com>
    Signed-off-by: Rod Vagg <rod@vagg.org>
    rvagg authored and MylesBorins committed Apr 1, 2020
    Copy the full SHA
    652ffa5 View commit details
    Browse the repository at this point in the history
  31. deps: upgrade npm to 6.14.4

    Backport-PR-URL: #32527
    PR-URL: #32495
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    ruyadorno authored and MylesBorins committed Apr 1, 2020
    Copy the full SHA
    6db190b View commit details
    Browse the repository at this point in the history
  32. build: macOS package notarization

    Includes hardened-runtime patch from gdams from
    #29216 (comment)
    
    Backport-PR-URL: #32527
    PR-URL: #31459
    Refs: #29216
    Reviewed-By: Christian Clauss <cclauss@me.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Ash Cripps <ashley.cripps@ibm.com>
    Signed-off-by: Rod Vagg <rod@vagg.org>
    rvagg authored and MylesBorins committed Apr 1, 2020
    Copy the full SHA
    7d3910d View commit details
    Browse the repository at this point in the history
  33. doc: official macOS builds now on 10.15 + Xcode 11

    Backport-PR-URL: #32527
    PR-URL: #31459
    Refs: #29216
    Reviewed-By: Christian Clauss <cclauss@me.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Ash Cripps <ashley.cripps@ibm.com>
    Signed-off-by: Rod Vagg <rod@vagg.org>
    rvagg authored and MylesBorins committed Apr 1, 2020
    Copy the full SHA
    885c88e View commit details
    Browse the repository at this point in the history
  34. stream: sync stream unpipe resume

    pipe() ondata should not control flow state if cleaned up.
    
    Fixes: #31190
    
    Backport-PR-URL: #32264
    PR-URL: #31191
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Backport-PR-URL: #32264
    ronag authored and MylesBorins committed Apr 1, 2020
    Copy the full SHA
    12253f8 View commit details
    Browse the repository at this point in the history
  35. doc: update releaser list in README.md

    Moved emeritus members keys and fixed alphabetization issues
    
    PR-URL: #32577
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    MylesBorins committed Apr 1, 2020
    Copy the full SHA
    f58594b View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2020

  1. deps: revert whitespace changes on V8

    While landing some of the V8 upgrades on the v12 branch, something went
    wrong and git made unecessary (and incorrect) whitespace changes to test
    fixtures, which broke V8 tests. This was likely caused by the use of
    `git node land` or a simiar tool. Revert those changes to fix our tests.
    Since this only reverts unwanted changes on deps/v8, and it only affects
    tests, don't bump v8_embedder_string.
    
    PR-URL: #32605
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Shelley Vohr <codebytere@gmail.com>
    mmarchini authored and MylesBorins committed Apr 2, 2020
    Copy the full SHA
    784df12 View commit details
    Browse the repository at this point in the history
  2. deps: V8: cherry-pick cb1c2b0fbfe7

    Original commit message:
    
        Remove noscript_shared_function_infos
    
        SharedFunctionInfos that do not belong to a script were tracked in
        noscript_shared_function_infos. However this was only used in object-stats.
        Remove this since it was actually leaking memory in some use cases.
    
        Bug: v8:9674
        Change-Id: I9482f7e5dedf975666a70684b3d2ea04c9a23518
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1798423
        Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
        Reviewed-by: Michael Stanton <mvstanton@chromium.org>
        Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#63685}
    
    PR-URL: #31939
    Refs: v8/v8@cb1c2b0
    Refs: #31914
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    Flarna authored and MylesBorins committed Apr 2, 2020
    Copy the full SHA
    a83fc49 View commit details
    Browse the repository at this point in the history
  3. test: fix test-http2-reset-flood flakiness

    Refs: #29802 (comment)
    
    PR-URL: #32607
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    addaleax authored and MylesBorins committed Apr 2, 2020
    Copy the full SHA
    eee587b View commit details
    Browse the repository at this point in the history
  4. util: use a global symbol for util.promisify.custom

    Define `util.promisify.custom`
    as `Symbol.for("nodejs.util.inspect.custom")`, rather than
    as `Symbol("util.inspect.custom")`.
    
    This allows custom `promisify` wrappers to easily/safely be defined
    in non‑Node.js environments.
    
    Fixes: #31647
    
    Backport-PR-URL: #32349
    PR-URL: #31672
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    ExE-Boss authored and MylesBorins committed Apr 2, 2020
    Copy the full SHA
    32c0449 View commit details
    Browse the repository at this point in the history
  5. src: add build Github Action

    Backport-PR-URL: #32608
    PR-URL: #31153
    Reviewed-By: Christian Clauss <cclauss@me.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    gengjiawen authored and MylesBorins committed Apr 2, 2020
    Copy the full SHA
    782f5db View commit details
    Browse the repository at this point in the history
  6. build: add GitHub actions to run linters

    Add jobs to our GitHub Actions workflow to run our
    various lint Makefile targets. The `setup-node` action
    used to run the JavaScript linter contains problem
    matchers for eslint that will annotate the files in a pull
    request if there are failures.
    
    Backport-PR-URL: #32608
    PR-URL: #31323
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    richardlau authored and MylesBorins committed Apr 2, 2020
    Copy the full SHA
    d190ee0 View commit details
    Browse the repository at this point in the history
  7. build: fix step name in GitHub Actions workflow

    The CI workflow doesn't use the matrix strategy so there is no
    `${{ matrix.node-version }}` variable to use in the `Use Node.js`
    step names.
    
    Backport-PR-URL: #32608
    PR-URL: #31323
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    richardlau authored and MylesBorins committed Apr 2, 2020
    Copy the full SHA
    df701f3 View commit details
    Browse the repository at this point in the history
  8. build: fix macos runner type in GitHub Action

    Backport-PR-URL: #32608
    PR-URL: #31327
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    himself65 authored and MylesBorins committed Apr 2, 2020
    Copy the full SHA
    ad12c82 View commit details
    Browse the repository at this point in the history
  9. build: do not use setup-node in build workflows

    The setup-node GitHub Action installs problem matchers that happen
    to match the warning message format of Visual Studio's C/C++ compiler.
    This is resulting in all of our pull requests being annotated with
    `Unchanged files with check annotations` which are confusing to new
    contributors as they are not due to the changes in the pull request.
    
    The action is used to run `npx envinfo` to dump some information into
    the logs before the actual build. All GitHub hosted runners already
    have a version of Node.js installed (12.x at the time of this commit)
    which we can use to run `envinfo`. Remove the action to avoid using
    the problematic problem matcher.
    
    Backport-PR-URL: #32608
    PR-URL: #31349
    Fixes: #31347
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    richardlau authored and MylesBorins committed Apr 2, 2020
    Copy the full SHA
    46f83df View commit details
    Browse the repository at this point in the history
  10. build: build docs in GitHub Actions CI workflow

    Backport-PR-URL: #32608
    PR-URL: #31504
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    richardlau authored and MylesBorins committed Apr 2, 2020
    Copy the full SHA
    c42cb79 View commit details
    Browse the repository at this point in the history
  11. build: annotate markdown lint failures in pull requests

    Add a problem matcher for output from remark-lint to our lint-md GitHub
    Actions CI workflow so that any markdown linter failures are annotated
    in the pull request in the web UI.
    
    Signed-off-by: Richard Lau <riclau@uk.ibm.com>
    
    Backport-PR-URL: #32608
    PR-URL: #32391
    Refs: https://github.com/actions/toolkit/blob/master/docs/problem-matchers.md
    Refs: https://github.com/actions/toolkit/blob/master/docs/commands.md#problem-matchers
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    richardlau authored and MylesBorins committed Apr 2, 2020
    Copy the full SHA
    a506489 View commit details
    Browse the repository at this point in the history
  12. build: drop Travis in favor of Actions

    GitHub Actions is running all tests already present on Travis, as well
    as building on more platforms (OS X and Windows). With Travis we're also
    getting timeouts more frequently than with Actions, which gives the
    false impression tests are failing (making it harder to triage PRs ready
    to merge).
    
    To make our config simpler, CI.yml and pythonpackage.yml got merged. The
    coverage is also increased by running tests on OS X.
    
    Signed-off-by: Matheus Marchini <mmarchini@netflix.com>
    
    Backport-PR-URL: #32608
    PR-URL: #32450
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Christian Clauss <cclauss@me.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ben Coe <bencoe@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    cclauss authored and MylesBorins committed Apr 2, 2020
    Copy the full SHA
    fae680f View commit details
    Browse the repository at this point in the history
  13. tools: update minimist@1.2.5

    Update minimist used by lint-md.js to 1.2.5.
    
    Refs: https://app.snyk.io/vuln/SNYK-JS-MINIMIST-559764
    Signed-off-by: Rich Trott <rtrott@gmail.com>
    
    PR-URL: #32274
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Apr 2, 2020
    Copy the full SHA
    c0e6e60 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2020

  1. esm: import.meta.resolve with nodejs: builtins

    Backport-PR-URL: #32610
    PR-URL: #31032
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    guybedford authored and MylesBorins committed Apr 3, 2020
    Copy the full SHA
    05091d4 View commit details
    Browse the repository at this point in the history
  2. module: package "exports" error refinements

    Backport-PR-URL: #32610
    PR-URL: #31625
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    guybedford authored and MylesBorins committed Apr 3, 2020
    Copy the full SHA
    c537afb View commit details
    Browse the repository at this point in the history
  3. esm: remove unused parameter on module.instantiate

    Backport-PR-URL: #32610
    PR-URL: #32147
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    himself65 authored and MylesBorins committed Apr 3, 2020
    Copy the full SHA
    0e513b2 View commit details
    Browse the repository at this point in the history
  4. module: add hook for global preload code

    Backport-PR-URL: #32610
    PR-URL: #32068
    Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
    Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
    jkrems authored and MylesBorins committed Apr 3, 2020
    Copy the full SHA
    62b5bd4 View commit details
    Browse the repository at this point in the history
  5. doc: import clarifications with links to MDN

    Backport-PR-URL: #32610
    PR-URL: #31479
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    aldeed authored and MylesBorins committed Apr 3, 2020
    Copy the full SHA
    8b96134 View commit details
    Browse the repository at this point in the history
  6. doc: improve wording in esm.md

    Simplify complex sentence. Remove use of "straightforward".
    
    Backport-PR-URL: #32610
    PR-URL: #32427
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and MylesBorins committed Apr 3, 2020
    Copy the full SHA
    d8e17bf View commit details
    Browse the repository at this point in the history
  7. doc: fix lint warning in doc/api/esm.md

    Signed-off-by: Richard Lau <riclau@uk.ibm.com>
    
    Backport-PR-URL: #32610
    PR-URL: #32462
    Refs: #31479
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    richardlau authored and MylesBorins committed Apr 3, 2020
    Copy the full SHA
    61f44c9 View commit details
    Browse the repository at this point in the history
  8. doc: remove unnecessary "obvious(ly)" modifiers in esm.md

    Remove "obvious" and "obviously" in two places in esm.md. It may be
    obvious to some, but likely not everyone or else it probably wouldn't be
    worth mentioning/documenting.
    
    Backport-PR-URL: #32610
    PR-URL: #32457
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Trott authored and MylesBorins committed Apr 3, 2020
    Copy the full SHA
    7e56e3d View commit details
    Browse the repository at this point in the history
  9. build: add mjs extension to lint-js

    This matches what the lint-js make target passes through the CLI.
    
    Backport-PR-URL: #32610
    PR-URL: #32145
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    nschonni authored and MylesBorins committed Apr 3, 2020
    Copy the full SHA
    45d05e1 View commit details
    Browse the repository at this point in the history
  10. doc: update conditional exports recommendations

    Backport-PR-URL: #32610
    Co-Authored-By: Geoffrey Booth <GeoffreyBooth@users.noreply.github.com>
    PR-URL: #32098
    Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
    2 people authored and MylesBorins committed Apr 3, 2020
    Copy the full SHA
    155a6c3 View commit details
    Browse the repository at this point in the history
  11. doc: esm spec bug

    PR-URL: #32610
    Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
    MylesBorins committed Apr 3, 2020
    Copy the full SHA
    e88960d View commit details
    Browse the repository at this point in the history
  12. deps: V8: backport 07ee86a5a28b

    Original commit message:
    
        PPC: allow for calling CFunctions without function descriptors on AIX.
    
        The calling conventions on AIX uses function descriptors,
        which means that pointers to functions do not point to code,
        but instead point to metadata about them. When calling JITed code,
        we must assure to use function descriptors instead of raw pointers when
        needed. Before this CL 213504b, all CallCFunction on AIX were guaranteed to have
        function descriptors. Starting form the CL mentioned above, CallCFunction can also
        Jump to a Trampoline which does not have a function descriptor, hence a new
        "CallCFunctionWithoutFunctionDescriptor" method is proposed to deal with this issue.
    
        BUG= v8:9766
    
        Change-Id: I9343c31c812f5d4dda8503a5adf024b24dbde072
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1825961
        Commit-Queue: Milad Farazmand <miladfar@ca.ibm.com>
        Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
        Reviewed-by: Jakob Gruber <jgruber@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#64357}
    
    Refs: v8/v8@07ee86a
    
    PR-URL: #32619
    Refs: v8/v8@07ee86a
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Milad Farazmand authored and MylesBorins committed Apr 3, 2020
    Copy the full SHA
    a1be327 View commit details
    Browse the repository at this point in the history
  13. test: restore --jitless test on AIX

    PR-URL: #32619
    Refs: v8/v8@07ee86a
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    richardlau authored and MylesBorins committed Apr 3, 2020
    Copy the full SHA
    e685f12 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2020

  1. 2020-04-08 Version 12.16.2 (LTS)

    Notable changes:
    
    doc:
      * add ronag to collaborators (Robert Nagy) [#31498](#31498)
      * add GeoffreyBooth to collaborators (Geoffrey Booth) [#31306](#31306)
    deps:
      * upgrade npm to 6.13.6 (Ruy Adorno) [#31304](#31304)
      * update openssl to 1.1.1e (Hassaan Pasha) [#32328](#32328)
    codebytere committed Apr 8, 2020
    Copy the full SHA
    3443e3a View commit details
    Browse the repository at this point in the history