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

v13.6.0 proposal #31238

Merged
merged 180 commits into from Jan 7, 2020
Merged

v13.6.0 proposal #31238

merged 180 commits into from Jan 7, 2020

Commits on Jan 3, 2020

  1. assert: use for...of

    Refs: #30960
    
    PR-URL: #30983
    Refs: #30960
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    soar-beep authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    f8aa365 View commit details
    Browse the repository at this point in the history
  2. deps,src,test: update to uvwasi 0.0.3

    This commit updates to uvwasi 0.0.3, which implements a newer
    version of the WASI spec, snapshot_1. Since the WASI API has
    changed, this also requires updating the WebAssembly memory
    interfacing logic and recompiling the WASI tests with a
    version of wasi-libc that supports snapshot_1.
    
    PR-URL: #30980
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    cjihrig authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    32805a9 View commit details
    Browse the repository at this point in the history
  3. doc,lib,src,test: rename WASI CLI flag

    The WASI API has moved from preview0 to preview1. This commit
    updates the CLI flag accordingly.
    
    PR-URL: #30980
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    cjihrig authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    d6f9420 View commit details
    Browse the repository at this point in the history
  4. test: remove obsolete WASI test

    test-wasi-binding.js was added during the initial WASI
    development, but it is now considered obsolete. It also does
    not provide any additional test coverage. This commit removes
    it.
    
    PR-URL: #30980
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    cjihrig authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    d36ae62 View commit details
    Browse the repository at this point in the history
  5. benchmark: update manywrites back pressure

    Make manywrites benchmark a bit more realistic by
    taking back pressure into account. Otherwise
    memory usage would no correspond well with
    real world usage.
    
    PR-URL: #30977
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    ronag authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    0e864a3 View commit details
    Browse the repository at this point in the history
  6. doc: update message.url example in http.IncomingMessage

    Update message.url example to use The WHATWG URL API.
    This is because the old example suggests using deprecated url API.
    
    Fixes: #30048
    PR-URL: #30830
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    saitolume authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    7815d5f View commit details
    Browse the repository at this point in the history
  7. test: use tmpdir.refresh() in test-esm-windows.js

    Use `tmpdir.refresh()` in `test/es-module/test-esm-windows.js` so
    that the temporary directory is cleaned before use and when the test
    exits.
    
    PR-URL: #30997
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    richardlau authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    3753f47 View commit details
    Browse the repository at this point in the history
  8. fs: allow overriding fs for streams

    Allow overriding open, write, and close when using createReadStream()
    and createWriteStream().
    
    PR-URL: #29083
    Refs: #29050
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    ronag authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    7f6a0ed View commit details
    Browse the repository at this point in the history
  9. doc: reference worker threads on signal events

    PR-URL: #30990
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    legendecas authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    cc8c0b4 View commit details
    Browse the repository at this point in the history
  10. doc: clarify required flag for extensionless esm

    Fixes: #30655
    
    PR-URL: #30657
    Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    azz authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    a386114 View commit details
    Browse the repository at this point in the history
  11. src: fix compiler warning in env.cc

    This fixes the following warning:
    
        ../src/env.cc: In member function ‘void node::Environment::Exit(int)’:
        ../src/env.cc:946:77: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘uint64_t {aka long unsigned int}’ [-Wformat=]
               fprintf(stderr, "(node:%d, thread:%llu) ", uv_os_getpid(), thread_id());
                                                                          ~~~~~~~~~~~^
    
    PR-URL: #31020
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.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: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    addaleax authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    e5a4155 View commit details
    Browse the repository at this point in the history
  12. src: list used functions on headers

    PR-URL: #30827
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    juanarbol authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    6b65caf View commit details
    Browse the repository at this point in the history
  13. events: allow monitoring error events

    Installing an error listener has a side effect that emitted errors are
    considered as handled. This is quite bad for monitoring/logging tools
    which tend to be interested in errors but don't want to cause side
    effects like swallow an exception.
    
    There are some workarounds in the wild like monkey patching emit or
    remit the error if monitoring tool detects that it is the only listener
    but this is error prone and risky.
    
    This PR allows to install a listener to monitor errors with the side
    effect to consume the error. To avoid conflicts with other events it
    exports a symbol on EventEmitter which owns this special meaning.
    
    Refs: open-telemetry/opentelemetry-js#225
    
    PR-URL: #30932
    Refs: open-telemetry/opentelemetry-js#225
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Flarna authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    f570de8 View commit details
    Browse the repository at this point in the history
  14. buffer: improve .from() error details

    This makes sure the original input is passed to the error in case
    no matching inputs are found. Instead of passing along all values,
    only valid or possibliy valid values are passed through. That way
    invalid values end up in the error case with the original input.
    
    PR-URL: #29675
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    BridgeAR committed Jan 3, 2020
    Copy the full SHA
    4df3652 View commit details
    Browse the repository at this point in the history
  15. errors: improve ERR_INVALID_ARG_TYPE

    ERR_INVALID_ARG_TYPE is the most common error used throughout the
    code base. This improves the error message by providing more details
    to the user and by indicating more precisely which values are allowed
    ones and which ones are not.
    
    It adds the actual input to the error message in case it's a primitive.
    If it's a class instance, it'll print the class name instead of
    "object" and "falsy" or similar entries are not named "type" anymore.
    
    PR-URL: #29675
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    BridgeAR committed Jan 3, 2020
    Copy the full SHA
    33c5dbe View commit details
    Browse the repository at this point in the history
  16. test: fix flaky test-http2-client-upload

    Wait for close event on server stream before shuting down server and
    client to avoid races seen on windows CI.
    
    Refs: #20750 (comment)
    
    PR-URL: #29889
    Refs: #29852
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Flarna authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    54c471a View commit details
    Browse the repository at this point in the history
  17. benchmark: add clear connections to secure-pair

    adds clear connections to the secure-pair performance test to prove
    that in some cases (when the sender send the data in small chunks)
    clear connections perform worse than TLS connections
    
    Also add a byte chunk size test to benchmark/net/net-pipe.js
    
    Refs: #27970
    
    PR-URL: #27971
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    DiegoTUI authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    625744d View commit details
    Browse the repository at this point in the history
  18. test: fix long lines

    This commit addresses several lines that are unnecessarily
    longer than the 80 character limit. The only reason they pass
    linting, I believe, is because they contain URLs.
    
    PR-URL: #31014
    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: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    cjihrig authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    93cf123 View commit details
    Browse the repository at this point in the history
  19. bootstrap: use different scripts to setup different configurations

    This patch splits the handling of `isMainThread` and
    `ownsProcessState` from conditionals in
    `lib/internal/bootstrap/node.js` into different scripts under
    `lib/internal/bootstrap/switches/`, and call them accordingly
    from C++ after `node.js` is run.
    
    This:
    
    - Creates a common denominator of the main thread and the worker
      thread bootstrap that can be snapshotted and shared by
      both.
    - Makes it possible to override the configurations on-the-fly.
    
    PR-URL: #30862
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    joyeecheung authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    37ffa8c View commit details
    Browse the repository at this point in the history
  20. dgram: use for...of

    PR-URL: #30999
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    trivikr authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    21ef3d6 View commit details
    Browse the repository at this point in the history
  21. test: fix common.enoughTestMem

    A typo introduced in 1ddcb6d causes common.enoughTestMem to always
    be false, resulting in a lot of tests being skipped. Fix the typo.
    
    PR-URL: #31035
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    dadccb7 View commit details
    Browse the repository at this point in the history
  22. test: unflake async hooks statwatcher test

    Under high load 2 types of issues arise with this test.
    * filesystem calls gets queued even when the 'sync' is used which leads
      to async_hooks being called with the events of tmpdir clean or
      initial file write after clean.
      This is solved by counting all 'change' calls while making sure there
      is no dependency of StatWatcher's on one another and the expected
      changes are waited for.
    
    * some events are getting lost with the current
      clean->write->write_and_watch strategy. Specifically I observed the
      file size going from 0 to 5 entirely skipping 3 even though the write
      call was there (this happened reliably on -j128).
      So I've changed the strategy to avoid additional write considering
      this still tests the hooks correctly.
      This may indicate some sort of bug in async_hooks though I'm not sure.
    
    Closes: #21425
    
    PR-URL: #30362
    Fixes: #21425
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
    lundibundi authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    3c9e435 View commit details
    Browse the repository at this point in the history
  23. test: cover vm with negative tests

    Test the impossibility of creating
    an abstract instance of the Module.
    Test of SyntheticModule to throw exception
    if invalid params in constructor
    
    PR-URL: #31028
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Andrew Kuzmenko authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    e5980a1 View commit details
    Browse the repository at this point in the history
  24. lib: improve spelling and grammar in comment

    PR-URL: #31026
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    datatypevoid authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    a83d338 View commit details
    Browse the repository at this point in the history
  25. src: make --use-largepages a runtime option

    Moves the option that instructs Node.js to-remap its static code to
    large pages from a configure-time option to a runtime option. This
    should make it easy to assess the performance impact of such a change
    without having to custom-build.
    
    PR-URL: #30954
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Co-authored-by: David Carlier <devnexen@gmail.com>
    2 people authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    49a7e73 View commit details
    Browse the repository at this point in the history
  26. tools: update ESLint to 6.8.0

    Update ESLint to 6.8.0
    
    PR-URL: #31044
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    cjihrig authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    c779421 View commit details
    Browse the repository at this point in the history
  27. test: get lib/wasi.js coverage to 100%

    This commit covers the last remaining uncovered code in
    lib/wasi.js.
    
    PR-URL: #31039
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    cjihrig authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    07e82db View commit details
    Browse the repository at this point in the history
  28. events: add EventEmitter.on to async iterate over events

    Fixes: #27847
    PR-URL: #27994
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    mcollina authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    afecc97 View commit details
    Browse the repository at this point in the history
  29. deps: V8: cherry-pick d3a1a5b6c491

    Original commit message:
    
        [objects] Fix memory leak in PrototypeUsers::Add
    
        PrototypeUsers::Add now iterates the WeakArrayList to find empty slots
        before growing the array. Not reusing empty slots caused a memory leak.
    
        It might also be desirable to shrink the WeakArrayList in the future.
        Right now it is only compacted when invoking CreateBlob.
    
        Also removed unused PrototypeUsers::IsEmptySlot declaration.
    
        Bug: v8:10031
        Change-Id: I570ec78fca37e8f0c794f1f40846a4daab47c225
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1967317
        Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
        Reviewed-by: Igor Sheludko <ishell@chromium.org>
        Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#65456}
    
    Refs: v8/v8@d3a1a5b
    Fixes: #30753
    
    PR-URL: #31005
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    targos authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    7e13ae7 View commit details
    Browse the repository at this point in the history
  30. lib: further simplify assertions in vm/module

    Refs: #30755
    
    PR-URL: #30815
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    addaleax authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    614b2c5 View commit details
    Browse the repository at this point in the history
  31. src,test: use v8::Global instead of v8::Persistent

    This is in preparation for a lint rule forbidding usage of
    `v8::Persistent`.
    
    PR-URL: #31018
    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: David Carlier <devnexen@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    addaleax authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    a27edd8 View commit details
    Browse the repository at this point in the history
  32. doc: avoid using v8::Persistent in addon docs

    Use `v8::Global` where possible. For examples where it applies,
    also clean up the code and make the code multi-threading-ready,
    for those where that isn’t easily possible, add a warning about that.
    
    PR-URL: #31018
    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: David Carlier <devnexen@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    addaleax authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    a7988ab View commit details
    Browse the repository at this point in the history
  33. tools,src: forbid usage of v8::Persistent

    `v8::Persistent` comes with the surprising catch that it requires
    manual cleanup. `v8::Global` doesn’t, making it easier to use,
    and additionally provides move semantics. New code should always
    use `v8::Global`.
    
    PR-URL: #31018
    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: David Carlier <devnexen@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    addaleax authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    28a62c3 View commit details
    Browse the repository at this point in the history
  34. doc,vm,test: remove _sandbox_ from vm documentation

    The vm documentation uses the word _sandbox_ but has a significant
    disclaimer about how that should not be interpreted to connote security
    guarantees. Remove the term "sandbox" from documentation. As a result,
    some code and tests also need to change.
    
    PR-URL: #31057
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    796a9c0 View commit details
    Browse the repository at this point in the history
  35. doc: implement minor improvements to BUILDING.md text

    Fix comma splices. Remove unnecessary words. Minor text improvements.
    
    PR-URL: #31070
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    69d6e97 View commit details
    Browse the repository at this point in the history
  36. http2: wait for session to finish writing before destroy

    PR-URL: #30854
    Reviewed-By: Matteo Collina <matteo.collina@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 BridgeAR committed Jan 3, 2020
    Copy the full SHA
    86f2e86 View commit details
    Browse the repository at this point in the history
  37. http2: wait for session socket writable end on close/destroy

    This slightly alters the behaviour of session close by first using
    .end() on a session socket to finish writing the data and only then
    calls .destroy() to make sure the Readable side is closed. This allows
    the socket to finish transmitting data, receive proper FIN packet and
    avoid ECONNRESET errors upon graceful close.
    
    onStreamClose now directly calls stream.destroy() instead of
    kMaybeDestroy because the latter will first check that the stream has
    writableFinished set. And that may not be true as we have just
    (synchronously) called .end() on the stream if it was not closed and
    that doesn't give it enough time to finish. Furthermore there is no
    point in waiting for 'finish' as the other party have already closed the
    stream and we won't be able to write anyway.
    
    This also changes a few tests to correctly handle graceful session
    close. This includes:
    * not reading request data (on client side)
    * not reading push stream data (on client side)
    * relying on socket.destroy() (on client) to finish server session
      due to the destroy of the socket without closing the server session.
      As the goaway itself is *not* a session close.
    
    Added few 'close' event mustCall checks.
    
    PR-URL: #30854
    Reviewed-By: Matteo Collina <matteo.collina@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 BridgeAR committed Jan 3, 2020
    Copy the full SHA
    ba0682e View commit details
    Browse the repository at this point in the history
  38. util: add colors to debuglog()

    This adds colors to the passed through arguments in case the stream
    supports colors. The PID will also be highlighted.
    
    PR-URL: #30930
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR committed Jan 3, 2020
    Copy the full SHA
    7611d5b View commit details
    Browse the repository at this point in the history
  39. repl: fix preview of lines that exceed the terminal columns

    This adds support for very long input lines to still display the
    input preview correct.
    
    PR-URL: #31006
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    BridgeAR committed Jan 3, 2020
    Copy the full SHA
    925dd8e View commit details
    Browse the repository at this point in the history
  40. repl: implement reverse search

    Add a reverse search that works similar to the ZSH one. It is
    triggered with <ctrl> + r and <ctrl> + s. It skips duplicated history
    entries and works with multiline statements. Matching entries indicate
    the search parameter with an underscore and cancelling with <ctrl> + c
    or escape brings back the original line.
    Multiple matches in a single history entry work as well and are
    matched in the order of the current search direction. The cursor is
    positioned at the current match position of the history entry.
    Changing the direction immediately checks for the next entry in the
    expected direction from the current position on.
    Entries are accepted as soon any button is pressed that doesn't
    correspond with the reverse search.
    The behavior is deactivated for simple terminals. They do not support
    most ANSI escape codes that are necessary for this feature.
    
    PR-URL: #31006
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    BridgeAR committed Jan 3, 2020
    Copy the full SHA
    09ca8be View commit details
    Browse the repository at this point in the history
  41. readline: small refactoring

    This just removes some redundant work and some other small things.
    
    PR-URL: #31006
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    BridgeAR committed Jan 3, 2020
    Copy the full SHA
    92dcf3e View commit details
    Browse the repository at this point in the history
  42. readline: set null as callback return in case there's no error

    The cursor move functions accept a callback. It was possible that
    `undefined` was returned in case there was no error instead of null.
    
    PR-URL: #31006
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    BridgeAR committed Jan 3, 2020
    Copy the full SHA
    ffbf790 View commit details
    Browse the repository at this point in the history
  43. util: add (typed) array length to the default output

    Align the inspect output with the one used in the Chrome dev tools.
    A recent survey outlined that most users prefer to see the number
    of set and map entries. This should count as well for array sizes.
    The size is only added to regular arrays in case the constructor is
    not the default constructor.
    Typed arrays always indicate their size.
    
    PR-URL: #31027
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    BridgeAR committed Jan 3, 2020
    Copy the full SHA
    a699808 View commit details
    Browse the repository at this point in the history
  44. tools: fix Raspbian armv7 build

    PR-URL: #31041
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    AHgPuK authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    048b7f4 View commit details
    Browse the repository at this point in the history
  45. benchmark: use let instead of var in child_process

    PR-URL: #31043
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    dnlup authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    ca53f02 View commit details
    Browse the repository at this point in the history
  46. dgram: test to add and to drop specific membership

    Test of addSourceSpecificMembership and dropSourceSpecificMembership
    for correct arguments with sourceAddress, groupAddress.
    
    PR-URL: #31047
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    universePrisoner authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    44d03e8 View commit details
    Browse the repository at this point in the history
  47. doc: improve doc net:server.listen

    Remove line "Common parameter of server.listen() functions."
    from net:server.listen callback functions because there is no
    need of this line.
    
    PR-URL: #31064
    Fixes: #31019
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    dev-script authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    9141366 View commit details
    Browse the repository at this point in the history
  48. stream: simplify isBuf

    PR-URL: #31067
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    ronag authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    1463214 View commit details
    Browse the repository at this point in the history
  49. stream: reset flowing state if no 'readable' or 'data' listeners

    If we don't have any 'readable' or 'data' listeners and we are
    not about to resume. Then reset flowing state to initial null state.
    
    PR-URL: #31036
    Fixes: #24474
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    ronag authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    bca23b9 View commit details
    Browse the repository at this point in the history
  50. tls: add PSK support

    Add the `pskCallback` client/server option, which resolves an identity
    or identity hint to a pre-shared key.
    
    Add the `pskIdentityHint` server option to set the identity hint for the
    ServerKeyExchange message.
    
    Co-authored-by: Chris Osborn <chris.osborn@sitelier.com>
    Co-authored-by: stephank <gh@stephank.nl>
    Co-authored-by: Taylor Zane Glaeser <tzglaeser@gmail.com>
    
    PR-URL: #23188
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    lundibundi authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    7b2bf20 View commit details
    Browse the repository at this point in the history
  51. timers: do less work in insert

    Most of the code in insert is only applicable to scheduling
    non-timers or re-scheduling timers. We can skip most of it
    in the case of setTimeout, setInterval & setUnrefTimeout.
    
    PR-URL: #27345
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    apapirovski authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    83330a0 View commit details
    Browse the repository at this point in the history
  52. timers: fix refresh for expired timers

    Expired timers were not being refresh correctly and
    would always act as unrefed if refresh was called.
    
    PR-URL: #27345
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    apapirovski authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    fe4f55e View commit details
    Browse the repository at this point in the history
  53. doc: add unrepresented flags docs for configure

    Added documentation to support usage of advanced features of
    `configure` on Windows.
    
    PR-URL: #28069
    Fixes: #17331
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    rexagod authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    4caf457 View commit details
    Browse the repository at this point in the history
  54. stream: pipeline should use req.abort() to destroy response

    destroy(err) on http response will propagate the error to the
    request causing 'error' to be unexpectedly emitted. Furthermore,
    response.destroy() unlike request.abort() does not _dump buffered
    data.
    
    Fixes a breaking change introduced in 6480882.
    
    Prefer res.req.abort() over res.destroy() until this situation is
    clarified.
    
    Fixes: #31029
    Refs: 6480882
    
    PR-URL: #31054
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    ronag authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    ca22ce2 View commit details
    Browse the repository at this point in the history
  55. doc: standardize usage of hostname vs. host name

    Unsurprisingly, we have "host name" and "hostname" used in our
    documentation. Let's follow the usage of Unix man pages, RFCs, and most
    professionally-edited sources, and use "host name" in prose and
    "hostname" to refer to the command and in code.
    
    It is possible to add a lint rule for this, but it will need to wait
    until we modify how code is displayed in headers. Coming soon (I hope).
    
    PR-URL: #31073
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    1357c97 View commit details
    Browse the repository at this point in the history
  56. src: port --bash-completion to C++

    So that it gets handle earlier and faster during the bootstrap
    process.
    
    Drive-by fixes:
    
    - Remove `[has_eval_string]` and `[ssl_openssl_cert_store]` from
      the completion output
    - Set `kProfProcess` execution mode for `--prof-process` instead
      of `kPrintBashProcess` which is removed in this patch.
    - Append new line to the end of the output of --bash-completion
    
    PR-URL: #25901
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    80732cd View commit details
    Browse the repository at this point in the history
  57. doc: fix anchors and subtitle in BUILDING.md

    PR-URL: #30296
    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: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    sutangu authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    4292f64 View commit details
    Browse the repository at this point in the history
  58. src: prevent hard coding stack trace limit

    Refer to Environment::stack_trace_limit() while printing fresh
    stacktraces in c++ land.
    
    PR-URL: #30752
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    legendecas authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    60dd183 View commit details
    Browse the repository at this point in the history
  59. test: skip the unsupported test cases for IBM i

    This is a following PR of #30714.
    
    PR-URL: #30819
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    dmabupt authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    e28e873 View commit details
    Browse the repository at this point in the history
  60. deps: V8: cherry-pick d406bfd64653

    Original commit message:
    
        [base] Fix the return of ClockNow on IBMi
    
        The API thread_cputime() is only defined but not yet implemented on IBMi.
    
        Change-Id: I8ea7ff724e749f537b54e75a00d718500807ca8a
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1957831
        Reviewed-by: Junliang Yan <jyan@ca.ibm.com>
        Reviewed-by: Clemens Backes <clemensb@chromium.org>
        Commit-Queue: Milad Farazmand <miladfar@ca.ibm.com>
        Cr-Commit-Position: refs/heads/master@{#65392}
    
    Refs: v8/v8@d406bfd
    
    PR-URL: #30819
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    sam-github authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    7fe8399 View commit details
    Browse the repository at this point in the history
  61. deps: V8: cherry-pick 687d865fe251

    Original commit message:
    
        [heap] Perform GCs on v8::BackingStore allocation
    
        This adds heuristics to perform young and full GCs on allocation
        of external ArrayBuffer backing stores.
    
        Young GCs are performed proactively based on the external backing
        store bytes for the young generation. Full GCs are performed only
        if the allocation fails. Subsequent CLs will add heuristics to
        start incremental full GCs based on the external backing store bytes.
    
        This will allow us to remove AdjustAmountOfExternalMemory for
        ArrayBuffers.
    
        Bug: v8:9701, chromium:1008938
        Change-Id: I0e8688f582989518926c38260b5cf14e2ca93f84
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1803614
        Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
        Reviewed-by: Dominik Inführ <dinfuehr@chromium.org>
        Reviewed-by: Hannes Payer <hpayer@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#65480}
    
    PR-URL: #31007
    Refs: v8/v8@687d865
    Refs: #1671
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    ChALkeR authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    647f3c7 View commit details
    Browse the repository at this point in the history
  62. benchmark: include writev in benchmark

    Currently we only consider write when benchmarking.
    
    PR-URL: #31066
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    ronag authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    01fd3be View commit details
    Browse the repository at this point in the history
  63. repl: use public getCursorPos()

    _getCursorPos() recently became public API. This commit updates
    the remaining uses of _getCursorPos() to use the public API.
    
    PR-URL: #31091
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    cjihrig authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    0999d53 View commit details
    Browse the repository at this point in the history
  64. build: re-introduce --use-largepages as no-op

    Re-introduce the build-time option as a no-op in order to retain
    backward compatibility for LTS purposes.
    
    Re: #31063 (review)
    PR_URL: #31075
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Gabriel Schulhof authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    baf8730 View commit details
    Browse the repository at this point in the history
  65. deps: uvwasi: cherry-pick 64e59d5

    Original commit message:
    
        This commit ensures that multiple calls to uvwasi_destroy()
        are possible. Prior to this commit, subsequent calls to
        destroy() would abort because the file table's rwlock was
        incorrectly being destroyed multiple times.
    
    PR-URL: #31076
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    cjihrig authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    a5937c7 View commit details
    Browse the repository at this point in the history
  66. deps: uvwasi: cherry-pick 75b389c

    Original commit message:
    
        This commit changes the memory management in
        uvwasi_fd_table_init() such that ENOMEM errors can be
        handled better in uvwasi_fd_table_free().
    
    PR-URL: #31076
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    cjihrig authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    2ec817e View commit details
    Browse the repository at this point in the history
  67. wasi: throw on failed uvwasi_init()

    Prior to this commit, if uvwasi_init() failed in any way, Node
    would abort due to a failed CHECK_EQ(). This commit changes
    that behavior to a thrown exception.
    
    PR-URL: #31076
    Fixes: #30878
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    cjihrig authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    87f15c0 View commit details
    Browse the repository at this point in the history
  68. doc: add --enable-source-maps man page entry

    This commit adds the --enable-source-maps CLI flag to the
    man page.
    
    PR-URL: #31077
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    cjihrig authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    efc97fd View commit details
    Browse the repository at this point in the history
  69. doc: add --force-context-aware man page entry

    This commit adds the --force-context-aware CLI flag to the
    man page.
    
    PR-URL: #31077
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    cjihrig authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    23013e3 View commit details
    Browse the repository at this point in the history
  70. doc: add --inspect-publish-uid man page entry

    This commit adds the --inspect-publish-uid CLI flag to the
    man page.
    
    PR-URL: #31077
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    cjihrig authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    1033760 View commit details
    Browse the repository at this point in the history
  71. build: fixes build for some os versions

    For format macros, the __STDC_FORMAT_MACROS flag needs to be
    passed, also passing the librt linker flag.
    devnexen authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    d131877 View commit details
    Browse the repository at this point in the history
  72. zlib: allow writes after readable 'end' to finish

    Call the callback for writes that occur after the stream is closed.
    This also requires changes to the code to not call `.destroy()`
    on the stream in `.on('end')`, and to ignore chunks written
    afterwards.
    
    Previously, these writes would just queue up silently, as their
    `_write()` callback would never have been called.
    
    Fixes: #30976
    
    PR-URL: #31082
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    31bbae7 View commit details
    Browse the repository at this point in the history
  73. src: enable stack trace printing for V8 check failures

    Example output:
    
        $ ./node --expose-gc test/addons/buffer-free-callback/test.js
    
        #
        # Fatal error in , line 0
        # Check failed: result.second.
        #
        #
        #
        #FailureMessage Object: 0x7ffebd956860
         1: 0x56290a45b105  [./node]
         2: 0x56290b305b77 V8_Fatal(char const*, ...) [./node]
         3: 0x56290a82702d v8::internal::GlobalBackingStoreRegistry::Register(std::shared_ptr<v8::internal::BackingStore>) [./node]
         4: 0x56290a59a1de v8::ArrayBuffer::GetBackingStore() [./node]
         5: 0x56290a3cb63f node::Buffer::New(node::Environment*, char*, unsigned long, void (*)(char*, void*), void*) [./node]
         6: 0x56290a3cbcdc node::Buffer::New(v8::Isolate*, char*, unsigned long, void (*)(char*, void*), void*) [./node]
         7: 0x7fdeabdfdf89 Alloc(v8::FunctionCallbackInfo<v8::Value> const&) [/home/xxxx/src/node/master/test/addons/buffer-free-callback/build/Release/binding.node]
         8: 0x56290a5ca077  [./node]
         9: 0x56290a5cbf97 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) [./node]
        10: 0x56290ad99539  [./node]
        Illegal instruction (core dumped)
    
    PR-URL: #31079
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    54caadc View commit details
    Browse the repository at this point in the history
  74. build: switch realpath to pwd

    PR-URL: #31095
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    bcoe authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    ca05a5b View commit details
    Browse the repository at this point in the history
  75. doc: allow <code> in header elements

    Allow use of <code> in header elements without styling side effects. We
    can add styling later if desired. The goal here is to allow code to be
    set off in markdown without needing to escape characters and do lint
    exceptions for terms. This is probably a win in terms of accessibility
    too although it would be moreso if we had some visual differentiation
    for <code> inside of headers. As mentioned above, that can always be
    added at a later time.
    
    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    ce60a80 View commit details
    Browse the repository at this point in the history
  76. doc,dns: use code markup/markdown in headers

    This will allow us to lint for use of `hostname` in prose without
    flagging `hostname` in code within headers. This also allows us to
    remove backslash escaping for `[` and `]` inside of header code, which
    makes the bare markdown more readable.
    
    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    9979f82 View commit details
    Browse the repository at this point in the history
  77. doc: use code markup/markdown in headers in addons documentation

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    ff82890 View commit details
    Browse the repository at this point in the history
  78. doc,assert: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    118df63 View commit details
    Browse the repository at this point in the history
  79. doc,async_hooks: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    32e5895 View commit details
    Browse the repository at this point in the history
  80. doc,buffer: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    0e0d45b View commit details
    Browse the repository at this point in the history
  81. doc,child_process: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    405bf8c View commit details
    Browse the repository at this point in the history
  82. doc,cluster: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    27790fc View commit details
    Browse the repository at this point in the history
  83. doc,console: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    f8a6eda View commit details
    Browse the repository at this point in the history
  84. doc,crypto: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    df5ec4e View commit details
    Browse the repository at this point in the history
  85. doc: use code markup/markdown in headers in deprecations documentation

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    7afe69c View commit details
    Browse the repository at this point in the history
  86. doc,dgram: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    4a42230 View commit details
    Browse the repository at this point in the history
  87. doc,domain: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    decfcaf View commit details
    Browse the repository at this point in the history
  88. doc,errors: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    665a662 View commit details
    Browse the repository at this point in the history
  89. doc,esm: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    fbb217a View commit details
    Browse the repository at this point in the history
  90. doc,events: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    db01d0f View commit details
    Browse the repository at this point in the history
  91. doc,fs: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    e7f7e45 View commit details
    Browse the repository at this point in the history
  92. doc: use code markup/markdown in headers in globals documentation

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    dcce8b6 View commit details
    Browse the repository at this point in the history
  93. doc,http: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    cdb79fc View commit details
    Browse the repository at this point in the history
  94. doc,http2: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    3062bcb View commit details
    Browse the repository at this point in the history
  95. doc,https: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    3571df3 View commit details
    Browse the repository at this point in the history
  96. doc,inspector: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    699b31f View commit details
    Browse the repository at this point in the history
  97. doc,module: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    7d25e44 View commit details
    Browse the repository at this point in the history
  98. doc,net: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    927b37f View commit details
    Browse the repository at this point in the history
  99. doc,os: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    9de9146 View commit details
    Browse the repository at this point in the history
  100. doc,path: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    5921654 View commit details
    Browse the repository at this point in the history
  101. doc,perf_hooks: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    3ee3e6f View commit details
    Browse the repository at this point in the history
  102. doc,process: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    8c12652 View commit details
    Browse the repository at this point in the history
  103. doc,punycode: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    f0bc628 View commit details
    Browse the repository at this point in the history
  104. doc,querystring: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    125a59a View commit details
    Browse the repository at this point in the history
  105. doc,readline: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    128a69d View commit details
    Browse the repository at this point in the history
  106. doc,repl: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    38e09f8 View commit details
    Browse the repository at this point in the history
  107. doc,stream: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    4c5a985 View commit details
    Browse the repository at this point in the history
  108. doc,string_decoder: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    cf563bb View commit details
    Browse the repository at this point in the history
  109. doc,timers: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    450d9a2 View commit details
    Browse the repository at this point in the history
  110. doc,tls: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    d6d507a View commit details
    Browse the repository at this point in the history
  111. doc,tty: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    9d2082b View commit details
    Browse the repository at this point in the history
  112. doc,url: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    73c598a View commit details
    Browse the repository at this point in the history
  113. doc,zlib: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    a6f16b3 View commit details
    Browse the repository at this point in the history
  114. doc,util: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    4672e10 View commit details
    Browse the repository at this point in the history
  115. doc,v8: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    342d337 View commit details
    Browse the repository at this point in the history
  116. doc,worker: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    cb3c3fc View commit details
    Browse the repository at this point in the history
  117. doc,vm: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    e6fbde5 View commit details
    Browse the repository at this point in the history
  118. doc,wasi: use code markup/markdown in headers

    PR-URL: #31086
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    1bcc07b View commit details
    Browse the repository at this point in the history
  119. doc: update parameter type for fs.chmod()

    The mode parameter of fs.chmod() and fs.chmodSync() can be a string or
    an integer. This change updates the documentation, which currently omits
    string as a valid type for mode.
    
    PR-URL: #31085
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    santoshyadavdev authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    4c29a6e View commit details
    Browse the repository at this point in the history
  120. doc: improve dns introduction

    The introductory paragraphs for the `dns` module do not explain what the
    module is for. Add a short (two brief sentences) explanation.
    
    It also emphasizes that functions in the dns module are
    divided into two categories, but that there is only one function in one
    of the categories, making the whole categories thing a bit odd to
    emphasize. Keep the material about the distinctions without discussing
    categories.
    
    There are other incidental revisions (changing an example IP to
    `example.org` and so on).
    
    PR-URL: #31090
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    72d70d5 View commit details
    Browse the repository at this point in the history
  121. src: make large_pages node.cc include conditional

    The usage of the relevant methods from the file is conditional so make
    the include conditional too.
    
    PR-URL: #31078
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    lundibundi authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    2c6f817 View commit details
    Browse the repository at this point in the history
  122. test: log errors in test-http2-propagate-session-destroy-code

    PR-URL: #31072
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    lundibundi authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    990760e View commit details
    Browse the repository at this point in the history
  123. benchmark: replace var with let/const in cluster benchmark

    PR-URL: #31042
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    dnlup authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    b8ccf30 View commit details
    Browse the repository at this point in the history
  124. test: increase coverage for _http_incoming.js

    Add coverage for IncomingMessage.prototype.connection setter.
    
    PR-URL: #31093
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Trott authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    16f60ce View commit details
    Browse the repository at this point in the history
  125. lib: replace var with let/const

    PR-URL: #30394
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    kresimirfranin authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    97ce0a3 View commit details
    Browse the repository at this point in the history
  126. build: warn upon --use-largepages config option

    Emit a warning when the user configures with `--use-largepages` and/or
    `--use-largepages-script-lld` informing them that the option is now
    available as a Node.js runtime option once it is built.
    
    Refs: #31063 (comment)
    PR-URL: #31103
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Gabriel Schulhof authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    d2ab877 View commit details
    Browse the repository at this point in the history
  127. doc: update parameter type for fsPromises.chmod()

    This was overlooked in #31085.
    
    PR-URL: #31115
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    cjihrig authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    6855788 View commit details
    Browse the repository at this point in the history
  128. doc: update mode type for fchmod() functions

    fs.fchmod() and fs.fchmodSync() both support strings as their
    mode argument. This commit updates the documentation to
    reflect this.
    
    PR-URL: #31115
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    cjihrig authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    53c6a1e View commit details
    Browse the repository at this point in the history
  129. doc: update mode type for fs open() functions

    This commit updates the documentation for fs.open(),
    fs.openSync(), and fsPromises.open() to reflect the fact
    that their mode option can be a string.
    
    PR-URL: #31115
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    cjihrig authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    2313b9e View commit details
    Browse the repository at this point in the history
  130. doc: update mode type for process.umask()

    This commit updates the documentation for process.umask()
    to reflect the fact that the mode option can be a string.
    
    PR-URL: #31115
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    cjihrig authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    a37a88f View commit details
    Browse the repository at this point in the history
  131. doc: update mode type for mkdir() functions

    This commit updates the documentation for fs.mkdir(),
    fs.mkdirSync(), and fsPromises.mkdir() to reflect the fact
    that their mode option can be a string.
    
    PR-URL: #31115
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    cjihrig authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    1fa8e49 View commit details
    Browse the repository at this point in the history
  132. fs: use consistent defaults in sync stat functions

    This commit updates the default options used by statSync(),
    lstatSync(), and fstatSync() to be identical to the defaults
    used by the callback- and Promise-based versions.
    
    PR-URL: #31097
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    cjihrig authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    4f32bbb View commit details
    Browse the repository at this point in the history
  133. module: self resolve bug fix and esm ordering

    PR-URL: #31009
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    guybedford authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    bd047e8 View commit details
    Browse the repository at this point in the history
  134. doc: fix createDiffieHellman generator type

    OpenSSL does not provide a straight-forward way to implement a
    non-integer generator, so createDiffieHellman never supported anything
    other than a number as the generator. (This only applies to the
    signature where the first argument is the size of the prime, and
    therefore a number.)
    
    Refs: nodejs/node-v0.x-archive#7086
    Refs: #21782
    
    PR-URL: #31121
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    tniessen authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    18b34de View commit details
    Browse the repository at this point in the history
  135. meta: clarify scope of new nodejs.org issue choice

    Refs: nodejs/nodejs.org#2866
    
    PR-URL: #31123
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Derek Lewis authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    799b509 View commit details
    Browse the repository at this point in the history
  136. wasi: fix serdes bugs from snapshot1 migration

    During the migration to WASI snapshot1, a field was removed
    from the subscription type. The field was removed from the
    code, but the bounds checking logic was not updated. This
    commit updates that check.
    
    Similarly, __wasi_linkcount_t changed from a uint32_t to a
    uint64_t. However, the bounds checks were missed, and the code
    was still writing uint32_t's (to the new correct offset) instead
    of uint64_t's. This commit updates that logic as well.
    
    Refs: #30980
    
    PR-URL: #31122
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    cjihrig authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    8491e1c View commit details
    Browse the repository at this point in the history
  137. zlib: use for...of

    PR-URL: #31051
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    trivikr authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    10f7169 View commit details
    Browse the repository at this point in the history
  138. 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.
    
    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 committed Jan 3, 2020
    Copy the full SHA
    efa0bd8 View commit details
    Browse the repository at this point in the history
  139. tools: allow the travis commit message job to fail

    Travis often fails due to a commit message that does not adhere to
    the commit guidelines. We are able to fix the commit message while
    landing and it often confuses new contributors that travis fails.
    Keeping the check in place but allowing a test failure to report
    success should be a good middle ground.
    
    PR-URL: #31116
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    BridgeAR committed Jan 3, 2020
    Copy the full SHA
    85d152f View commit details
    Browse the repository at this point in the history
  140. esm: empty ext from pkg type/main doesnt affect format

    This ensures files with unknown extensions like foo.bar are not
    loaded as CJS/ESM when imported as a main entry point and makes
    sure that those files would maintain the same format even if loaded
    after the main entrypoint.
    
    PR-URL: #31021
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    bfarias-godaddy authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    24a0212 View commit details
    Browse the repository at this point in the history
  141. doc: de-duplicate security release processes

    The security release process is spread across multiple files. Merge
    these two files to remove duplication and inconsistency. Also, make the
    format more useful for inserting into the description of the Next
    Security Release issue description.
    
    This seems an obvious candidate for a github issue template, but if it
    was, the content would not be reviewable by anyone outside of those on
    the security teams, and the process should be public for purposes of
    transparency and review.
    
    PR-URL: #30996
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    sam-github authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    b657a64 View commit details
    Browse the repository at this point in the history
  142. benchmark: use let instead of var in crypto

    PR-URL: #31135
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    dnlup authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    b193142 View commit details
    Browse the repository at this point in the history
  143. http2: make HTTP2ServerResponse more streams compliant

    HTTP2ServerResponse.write would behave differently than
    both http1 and streams. This PR makes it more compliant
    with stream.Writable behaviour.
    
    PR-URL: #30964
    Refs: #29529
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    ronag authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    b916035 View commit details
    Browse the repository at this point in the history
  144. assert: implement assert.match() and assert.doesNotMatch()

    This adds a new functionality to the assertion module: a dedicated
    check for regular expressions. So far it's possible to use
    `assert.ok(regexp.test(string))`. This is not ideal though when it
    comes to the error message, since it's not possible to know how
    either of the input values look like. It's just known that the
    assertion failed.
    This allows to pass through the regular expression and the input
    string. The string is then matched against the regular expression
    and reports a expressive error message in case of a failure.
    
    PR-URL: #30929
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    BridgeAR committed Jan 3, 2020
    Copy the full SHA
    d831dc1 View commit details
    Browse the repository at this point in the history
  145. perf_hooks: move perf_hooks out of experimental

    PR-URL: #31101
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    legendecas authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    dcbb97e View commit details
    Browse the repository at this point in the history
  146. deps: V8: bump v8_embedder_string for 0e21c1e

    0e21c1e has landed without a proper
    v8_embedder_string bump, this is a follow-up fix.
    
    PR-URL: #31096
    Refs: 0e21c1e
    Refs: #31007
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    ChALkeR authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    e2ef1a9 View commit details
    Browse the repository at this point in the history
  147. doc: clarify role of writable.cork()

    The syntax of the sentence describing the role of writable.cork() was
    unclear. This rephrase aims to make the distinction between writing
    to the buffer and draining immediately to the underlying destination
    clearer - while keeping performance considerations clearly in mind.
    
    PR-URL: #30442
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    GKJCJG authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    33352c2 View commit details
    Browse the repository at this point in the history
  148. stream: group all properties using defineProperties

    PR-URL: #31144
    Reviewed-By: Matteo Collina <matteo.collina@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: James M Snell <jasnell@gmail.com>
    antsmartian authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    5bf2772 View commit details
    Browse the repository at this point in the history
  149. benchmark: add benchmark on async_hooks enabled http server

    PR-URL: #31100
    Refs: nodejs/diagnostics#124
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    legendecas authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    827d3fe View commit details
    Browse the repository at this point in the history
  150. module: unflag resolve self

    PR-URL: #31002
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    guybedford authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    72c6460 View commit details
    Browse the repository at this point in the history
  151. build: don't use -latomic on macOS

    Fixes build when using open-source clang.
    
    Builds using Apple clang from Xcode v7 and later were already working,
    due to the fact that node's build system misidentifies their
    llvm_version as "0.0" and thus the flag wasn't being added.
    
    PR-URL: #30099
    Fixes: #30093
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    ryandesign authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    9b7cf09 View commit details
    Browse the repository at this point in the history
  152. util: improve prototype inspection using inspect() and showHidden

    The fast path for the prototype inspection had a bug that caused some
    prototype properties to be skipped that should in fact be inspected.
    
    PR-URL: #31113
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    BridgeAR committed Jan 3, 2020
    Copy the full SHA
    697908e View commit details
    Browse the repository at this point in the history
  153. errors: support prepareSourceMap with source-maps

    Adds support for Error.prepareStackTrace override, when
    --enable-source-maps is set.
    
    PR-URL: #31143
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    bcoe authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    1057a4c View commit details
    Browse the repository at this point in the history
  154. tools: remove prefer-common-expectserror lint rule

    This custom ESLint rule is unused since
    #31092. This commit
    removes it.
    
    PR-URL: #31147
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    c23bbc6 View commit details
    Browse the repository at this point in the history
  155. src: suppress warning in src/node_env_var.cc

    Initialise the superclass object in the copy constructor of mapKVStore
    
    PR-URL: #31136
    Refs: #18983
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    HarshithaKP authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    892e7b0 View commit details
    Browse the repository at this point in the history
  156. http: free listeners on free sockets

    Reduced memory usage by ensuring free sockets don't have extra
    listeners while in the pool.
    
    PR-URL: #29259
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    ronag authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    1b720aa View commit details
    Browse the repository at this point in the history
  157. doc: improve explanation of package.json "type" field

    Regardless of the value of the `"type"` field, `.mjs` files are
    always treated as ES modules and `.cjs` files are always treated
    as CommonJS.
    
    PR-URL: #27516
    Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    tamias authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    d3a8088 View commit details
    Browse the repository at this point in the history
  158. test: use spread object

    Object.assign() can be replaced by spread objects
    
    PR-URL: #30423
    Refs: https://eslint.org/docs/rules/prefer-object-spread
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    franher authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    bd6a29c View commit details
    Browse the repository at this point in the history
  159. esm: better error message for unsupported URL

    The default ESM loader supports only file and data URLs.
    This PR adds better error message for it.
    
    PR-URL: #31129
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Hakerh400 authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    a6c2502 View commit details
    Browse the repository at this point in the history
  160. http: http_outgoing rename var to let and const

    PR-URL: #30284
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    telenord authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    4a54f30 View commit details
    Browse the repository at this point in the history
  161. deps: V8: backport a4545db

    Original commit message:
    
        FreeBSD update of process library mapping listing.
    
        Not best to rely on /proc presence basically when
        the linux compatibily layer is enabled so
        going through more programmatically.
    
        Change-Id: Ida4973f9da6dec6e9caa6e419f3612ec5ef95048
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1710664
        Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
        Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#65442}
    
    PR-URL: #31127
    Refs: v8/v8@a4545db
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    devnexen authored and BridgeAR committed Jan 3, 2020
    Copy the full SHA
    ca23511 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2020

  1. doc: update REPL documentation to instantiate the REPL

    The documentation currently states that it's not intended to directly
    instantiate REPL instances. It is unknown for what reason that's
    recommended as it does seem a proper way to handle new REPL instances.
    
    PR-URL: #30928
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR authored and targos committed Jan 6, 2020
    Copy the full SHA
    cc44325 View commit details
    Browse the repository at this point in the history
  2. doc: use code markup/markdown in headers

    This also allows us to remove backslash escaping for `[` and `]`
    inside of header code, which makes the bare markdown more readable.
    
    Refs: #31086
    
    PR-URL: #31149
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    BridgeAR authored and targos committed Jan 6, 2020
    Copy the full SHA
    dba2ab7 View commit details
    Browse the repository at this point in the history
  3. https: prevent options object from being mutated

    Previously, when passing options object to the agent.createConnection
    method, the same options object got modified within the method. Now,
    any modification will happen on only a copy of the object.
    
    Fixes: #31119
    
    PR-URL: #31151
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    vighnesh153 authored and targos committed Jan 6, 2020
    Copy the full SHA
    18acacc View commit details
    Browse the repository at this point in the history
  4. n-api: keep napi_env alive while it has finalizers

    Manage the napi_env refcount from Finalizer instances, as the
    finalizer may refer to the napi_env until it is deleted.
    
    Fixes: #31134
    Fixes: node-ffi-napi/node-ffi-napi#48
    PR-URL: #31140
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    addaleax authored and targos committed Jan 6, 2020
    Copy the full SHA
    d771221 View commit details
    Browse the repository at this point in the history
  5. doc: remove extra backtick

    PR-URL: #31186
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    cjihrig authored and targos committed Jan 6, 2020
    Copy the full SHA
    7b696fe View commit details
    Browse the repository at this point in the history
  6. lib: do not catch user errors

    The API caught errors from inside of the users passed through callback.
    This never caused any issues, since this API is only used internally.
    Otherwise it would have potentially hidden bugs in user code.
    
    Refs: #31133
    
    PR-URL: #31159
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    BridgeAR authored and targos committed Jan 6, 2020
    Copy the full SHA
    4b2d8df View commit details
    Browse the repository at this point in the history
  7. perf_hooks: use for...of

    PR-URL: #31049
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    trivikr authored and targos committed Jan 6, 2020
    Copy the full SHA
    ae58c97 View commit details
    Browse the repository at this point in the history
  8. lib: replace Set.prototype with SetPrototype primordial

    PR-URL: #31161
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Sebastien-Ahkrin authored and targos committed Jan 6, 2020
    Copy the full SHA
    1527796 View commit details
    Browse the repository at this point in the history
  9. lib: replace WeakMap global by the primordials

    PR-URL: #31158
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Sebastien-Ahkrin authored and targos committed Jan 6, 2020
    Copy the full SHA
    0b8eaf2 View commit details
    Browse the repository at this point in the history
  10. lib: replace WeakSet global by the primordials

    PR-URL: #31157
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@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: Trivikram Kamat <trivikr.dev@gmail.com>
    Sebastien-Ahkrin authored and targos committed Jan 6, 2020
    Copy the full SHA
    542aae4 View commit details
    Browse the repository at this point in the history
  11. lib: replace Set global by the primordials

    PR-URL: #31154
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@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: Trivikram Kamat <trivikr.dev@gmail.com>
    Sebastien-Ahkrin authored and targos committed Jan 6, 2020
    Copy the full SHA
    3f21ad6 View commit details
    Browse the repository at this point in the history
  12. lib: replace use of Error with primordials

    PR-URL: #31163
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Sebastien-Ahkrin authored and targos committed Jan 6, 2020
    Copy the full SHA
    f268621 View commit details
    Browse the repository at this point in the history
  13. lib: replace Map global by the primordials

    PR-URL: #31155
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    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: David Carlier <devnexen@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Sebastien-Ahkrin authored and targos committed Jan 6, 2020
    Copy the full SHA
    20ecb5d View commit details
    Browse the repository at this point in the history
  14. http2: set default enableConnectProtocol to 0

    PR-URL: #31174
    Refs: https://tools.ietf.org/html/rfc8441#section-9.1
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    ZYSzys authored and targos committed Jan 6, 2020
    Copy the full SHA
    b5a71a4 View commit details
    Browse the repository at this point in the history
  15. test: change buffer offset to accommodate V8 BackingStore

    To avoid problem with the behavior of new V8 BackingStore API,
    change the offset. The base address of each test case will be
    different.
    
    Fixes: #31061
    
    PR-URL: #31171
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    thangktran authored and targos committed Jan 6, 2020
    Copy the full SHA
    21d9664 View commit details
    Browse the repository at this point in the history
  16. benchmark: use let instead of var in dgram

    PR-URL: #31175
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    dnlup authored and targos committed Jan 6, 2020
    Copy the full SHA
    5fccb50 View commit details
    Browse the repository at this point in the history
  17. wasi: refactor destructuring object on constructor

    PR-URL: #31185
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    himself65 authored and targos committed Jan 6, 2020
    Copy the full SHA
    614b074 View commit details
    Browse the repository at this point in the history
  18. lib: move initialization of APIs for changing process state

    Whether these APIs should be available for Node.js instances
    semantically depends on whether the current Node.js instance
    was assigned ownership of process-wide state, and not whether
    it refers to the main thread or not.
    
    PR-URL: #31172
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    addaleax authored and BridgeAR committed Jan 6, 2020
    Copy the full SHA
    42d36dc View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2020

  1. 2020-01-07, Version v13.6.0 (Current)

    Notable changes:
    
    * assert:
      * Implement `assert.match()` and `assert.doesNotMatch()` (Ruben
        Bridgewater) #30929
    * events:
      * Add `EventEmitter.on` to async iterate over events (Matteo Collina)
        #27994
      * Allow monitoring error events (Gerhard Stoebich)
        #30932
    * fs:
      * Allow overriding `fs` for streams (Robert Nagy)
        #29083
    * perf_hooks:
      * Move `perf_hooks` out of experimental (legendecas)
        #31101
    * repl:
      * Implement ZSH-like reverse-i-search (Ruben Bridgewater)
        #31006
    * tls:
      * Add PSK (pre-shared key) support (Denys Otrishko)
        #23188
    
    PR-URL: #31238
    BridgeAR committed Jan 7, 2020
    Copy the full SHA
    1a552f6 View commit details
    Browse the repository at this point in the history