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.14.0 proposal #33122

Merged
merged 116 commits into from
Apr 29, 2020
Merged

v13.14.0 proposal #33122

merged 116 commits into from
Apr 29, 2020

Commits on Apr 28, 2020

  1. deps: V8: cherry-pick dc3a90be6ca7

    Original commit message:
    
        [debug] Revert to old line number behavior for new Function()
    
        Reverting https://chromium-review.googlesource.com/c/v8/v8/+/1741660
    
        This fixed one bug but caused a lot of others and on balance I think
        reverting it is the lesser evil.
    
        This also fixed generator-relocation.js because
        (function*(){}).constructor is the function constructor and we try to
        set a breakpoint on line 3.
    
        Bug: chromium:109362, chromium:1028689
        Fixes: v8:9721
        Change-Id: I1bfe6ec57ce77ea7292df91266311f5c0194947e
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1940259
        Commit-Queue: Peter Marshall <[email protected]>
        Reviewed-by: Yang Guo <[email protected]>
        Cr-Commit-Position: refs/heads/master@{#65232}
    
    Refs: v8/v8@dc3a90b
    
    Revert "assert: fix line number calculation after V8 upgrade"
    
    This reverts commit 5981fb7.
    
    Fixes: #32688
    
    PR-URL: #32795
    Reviewed-By: Ben Noordhuis <[email protected]>
    targos committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    ea85768 View commit details
    Browse the repository at this point in the history
  2. Revert "n-api: detect deadlocks in thread-safe function"

    This reverts commit aeb7084.
    
    The solution creates incorrect behaviour on Windows.
    
    Re: nodejs/node-addon-api#697 (comment)
    Signed-off-by: Gabriel Schulhof <[email protected]>
    PR-URL: #32880
    Backport-PR-URL: #32948
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Chengzhong Wu <[email protected]>
    Reviewed-By: Gerhard Stöbich <[email protected]>
    Gabriel Schulhof authored and targos committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    cc0395c View commit details
    Browse the repository at this point in the history
  3. n-api: detect deadlocks in thread-safe function

    We introduce status `napi_would_deadlock` to be used as a return status
    by `napi_call_threadsafe_function` if the call is made with
    `napi_tsfn_blocking` on the main thread and the queue is full.
    
    Fixes: #32615
    Signed-off-by: Gabriel Schulhof <[email protected]>
    PR-URL: #32860
    Backport-PR-URL: #32948
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Zeyu Yang <[email protected]>
    Gabriel Schulhof authored and targos committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    fd4320c View commit details
    Browse the repository at this point in the history
  4. worker: fix type check in receiveMessageOnPort

    Use the same type check we use in `MoveToContext()` in
    `ReceiveMessage()`.
    
    Fixes: #32742
    
    PR-URL: #32745
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gerhard Stöbich <[email protected]>
    Reviewed-By: Yongsheng Zhang <[email protected]>
    Reviewed-By: Zeyu Yang <[email protected]>
    addaleax authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    b80b08f View commit details
    Browse the repository at this point in the history
  5. doc: add puzpuzpuz to collaborators

    PR-URL: #32817
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    puzpuzpuz authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    1996198 View commit details
    Browse the repository at this point in the history
  6. test: use symlinks to copy shells

    Git for Windows includes `C:\Program Files\Git\bin\bash.exe`,
    which spawns ..\usr\bin\bash.exe, so copying that executable
    won't work.
    
    However, if a symlink is used to test paths with spaces,
    this executable will still work.
    
    PR-URL: #32129
    Reviewed-By: Rod Vagg <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    John Kleinschmidt authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    f4e9bd6 View commit details
    Browse the repository at this point in the history
  7. build: add build from tarball

    Fixes: nodejs/build#1931
    PR-URL: #32129
    Reviewed-By: Rod Vagg <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    John Kleinschmidt authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    c6078f0 View commit details
    Browse the repository at this point in the history
  8. async_hooks: prevent sync methods of async storage exiting outer context

    PR-URL: #31950
    Reviewed-By: Vladimir de Turckheim <[email protected]>
    Reviewed-By: Gerhard Stöbich <[email protected]>
    Qard authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    b304df9 View commit details
    Browse the repository at this point in the history
  9. async_hooks: merge run and exit methods

    PR-URL: #31950
    Reviewed-By: Vladimir de Turckheim <[email protected]>
    Reviewed-By: Gerhard Stöbich <[email protected]>
    puzpuzpuz authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    52d8afc View commit details
    Browse the repository at this point in the history
  10. doc: document buffer.from returns internal pool buffer

    Fixes: #22139
    
    Co-authored-by: Mritunjay Goutam <[email protected]>
    
    PR-URL: #32703
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    HarshithaKP authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    ea09c0f View commit details
    Browse the repository at this point in the history
  11. src: remove unused v8 Array namespace

    PR-URL: #32749
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Zeyu Yang <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gerhard Stöbich <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    juanarbol authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    bff11a9 View commit details
    Browse the repository at this point in the history
  12. doc: improve AsyncLocalStorage sample

    PR-URL: #32757
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Chengzhong Wu <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gerhard Stöbich <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    puzpuzpuz authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    c0e4ac4 View commit details
    Browse the repository at this point in the history
  13. buffer: mark pool ArrayBuffer as untransferable

    This removes a footgun in which users could attempt to transfer the
    pooled ArrayBuffer underlying a regular `Buffer`, which would lead to
    all `Buffer`s that share the same pool being rendered unusable as well,
    and potentially break creation of new pooled `Buffer`s.
    
    This disables this kind of transfer.
    
    Refs: #32752
    
    PR-URL: #32759
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gus Caplan <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    d937874 View commit details
    Browse the repository at this point in the history
  14. tls: provide default cipher list from command line

    Avoid storing data that depends on command line options on internal
    bindings. This is generally a cleaner way of accessing CLI options.
    
    PR-URL: #32760
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    addaleax authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    1436f53 View commit details
    Browse the repository at this point in the history
  15. buffer: add type check in bidirectionalIndexOf

    Add a type check in bidirectionalIndexOf to avoid using something else
    as Buffer. This may happen if e.g. lastIndexOf is called with invalid
    this.
    
    PR-URL: #32770
    Fixes: #32753
    Fixes: #32747
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Yongsheng Zhang <[email protected]>
    Flarna authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    a1178b6 View commit details
    Browse the repository at this point in the history
  16. doc: remove warning from response.writeHead

    The example referenced as being potentially unsafe specifies
    Content-Length correctly.
    
    PR-URL: #32700
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Gerhard Stöbich <[email protected]>
    cecchi authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    95cd771 View commit details
    Browse the repository at this point in the history
  17. build: use same flags as V8 for ASAN

    Signed-off-by: Matheus Marchini <[email protected]>
    
    PR-URL: #32776
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    mmarchini authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    c8d4360 View commit details
    Browse the repository at this point in the history
  18. build: re-enable ASAN Action using clang

    clang's linker seems to use considerably less memory than gcc, allowing
    us to run on Actions without running out of memory.
    
    Signed-off-by: Matheus Marchini <[email protected]>
    
    PR-URL: #32776
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    mmarchini authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    5c4d8cd View commit details
    Browse the repository at this point in the history
  19. doc: updated guidance for n-api changes

    Add js_native_api.h and js_native_api_types.h to the list
    of files covered by the N-API guidance as these were
    broken out of the files referenced.
    
    Signed-off-by: Michael Dawson <[email protected]>
    
    PR-URL: #32721
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Chengzhong Wu <[email protected]>
    mhdawson authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    a0be60e View commit details
    Browse the repository at this point in the history
  20. cli, report: move --report-on-fatalerror to stable

    This commit moves the last experimental feature of diagnostic
    reports to stable status.
    
    PR-URL: #32496
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    cjihrig authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    8fb7852 View commit details
    Browse the repository at this point in the history
  21. doc: add transform stream destroy() return value

    PR-URL: #32788
    Reviewed-By: Gerhard Stöbich <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Robert Nagy <[email protected]>
    Reviewed-By: Zeyu Yang <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    cjihrig authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    ae034c4 View commit details
    Browse the repository at this point in the history
  22. build: add configure flag to build V8 with DCHECKs

    Add a configure flag that enables building V8 with `-DDEBUG`, in
    particular with debug checks enabled and with runtime debugging
    features, e.g. inspecting JS objects from debuggers, enabled.
    
    PR-URL: #32787
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Matheus Marchini <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    addaleax authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    e1809c8 View commit details
    Browse the repository at this point in the history
  23. lib: created isValidCallback helper

    check for callback function is moved to a separate function.
    This piece of code is being shared by other entities as well.
    
    PR-URL: #32665
    Reviewed-By: Zeyu Yang <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gerhard Stöbich <[email protected]>
    yashLadha authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    83f1e98 View commit details
    Browse the repository at this point in the history
  24. src: ignore GCC -Wcast-function-type for v8.h

    Currently, the following warnings are emitted during compilation:
    In file included from ../src/string_bytes.h:29,
                     from ../src/string_bytes.cc:22:
    ../deps/v8/include/v8.h:
    In instantiation of ‘void v8::PersistentBase<T>::SetWeak(
        P*,typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType)
    [with P = node::BaseObject;
    T = v8::Object;
    typename v8::WeakCallbackInfo<P>::Callback =
        void (*)(const v8::WeakCallbackInfo<node::BaseObject>&)]’:
    ../src/base_object-inl.h:135:42:   required from here
    ../deps/v8/include/v8.h:10732:16: warning:
    cast between incompatible function types from
    ‘v8::WeakCallbackInfo<node::BaseObject>::Callback’ {aka
    ‘void (*)(const v8::WeakCallbackInfo<node::BaseObject>&)’} to
    ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’}
    [-Wcast-function-type]
    10732 |                reinterpret_cast<Callback>(callback), type);
          |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    And the same from test/cctest/test_aliased_buffer.cc
    
    We have an open pull request against v8 for this:
    https://chromium-review.googlesource.com/c/v8/v8/+/2080361
    
    PR-URL: #32679
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    danbev authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    2f7e372 View commit details
    Browse the repository at this point in the history
  25. test: cover node entry type in perf_hooks

    PR-URL: #32751
    Reviewed-By: Adrian Estrada <[email protected]>
    Reviewed-By: Zeyu Yang <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    julianduque authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    f1273e8 View commit details
    Browse the repository at this point in the history
  26. doc: note that signatures of binary may be from subkeys

    PR-URL: #32591
    Fixes: #32559
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    haqer1 authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    b7da587 View commit details
    Browse the repository at this point in the history
  27. test: mark test-http2-reset-flood flaky on all

    Refs: #29802
    Refs: #32595
    
    PR-URL: #32825
    Reviewed-By: Gerhard Stöbich <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    sam-github authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    98db564 View commit details
    Browse the repository at this point in the history
  28. test: mark test-worker-prof flaky on arm

    Refs: #26401 (comment)
    
    PR-URL: #32826
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    sam-github authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    edc10d4 View commit details
    Browse the repository at this point in the history
  29. test: replace equal with strictEqual

    PR-URL: #32727
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Gerhard Stöbich <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    JesuHrz authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    46cafad View commit details
    Browse the repository at this point in the history
  30. process: suggest --trace-warnings when printing warning

    Suggest using `--trace-warnings` or `--trace-deprecation` the first
    time a warning is emitted without a stack trace, similar to how
    we suggest `--trace-uncaught` when printing uncaught exceptions
    without a stack trace.
    
    PR-URL: #32797
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    addaleax authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    3b590d4 View commit details
    Browse the repository at this point in the history
  31. src: use basename(argv0) for --trace-uncaught suggestion

    Refs: #32797 (comment)
    
    PR-URL: #32798
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    addaleax authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    5b01772 View commit details
    Browse the repository at this point in the history
  32. http: refactor agent 'free' handler

    Remove nesting in favor of early returns.
    
    PR-URL: #32801
    Reviewed-By: Zeyu Yang <[email protected]>
    Reviewed-By: Denys Otrishko <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    ronag authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    85b333b View commit details
    Browse the repository at this point in the history
  33. test: mark cpu-prof-dir-worker flaky on all

    Refs: #27611 (comment)
    
    PR-URL: #32828
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    sam-github authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    23a4d60 View commit details
    Browse the repository at this point in the history
  34. fs: use finished over destroy w/ cb

    destroy w/ is undocumented API which also will cause
    a race if the stream is already destroying and potentially
    invoking the callback too early and withou error.
    
    PR-URL: #32809
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Denys Otrishko <[email protected]>
    ronag authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    8774cb4 View commit details
    Browse the repository at this point in the history
  35. doc: improve net docs

    Refer back to streams docs for further and more accurate
    description of behavior details.
    
    Refs: #31916
    
    PR-URL: #32811
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Denys Otrishko <[email protected]>
    ronag authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    3f4bb8d View commit details
    Browse the repository at this point in the history
  36. test: only detect uname on supported os

    To skip some tests on IBMi PASE, we use
    uname to detect the true os name, but
    on Windows machines there is no uname
    available.
    
    PR-URL: #32833
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Sam Roberts <[email protected]>
    Reviewed-By: Ujjwal Sharma <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    dmabupt authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    740f864 View commit details
    Browse the repository at this point in the history
  37. test: replace console.log/error() with debuglog

    PR-URL: #32692
    Fixes: #32678
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Zeyu Yang <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    daemon1024 authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    4baf41f View commit details
    Browse the repository at this point in the history
  38. build: remove .git folders when testing V8

    When running `make test-v8` V8's `gclient sync` converts folders
    under `deps/v8/third_party` into git repositories. Unfortunately
    the files that were checked in under `deps/v8/third_party/zlib`
    have been modified from the upstream Chromium repository (some
    files have been deleted and there are whitespace differences in
    some of the files that were kept) so whenever the Node.js source
    tree is hard reset/checked out `gclient sync` notices there are
    unstaged changes as the files in the Node.js source tree do not
    match those of the upstream Chromium third party zlib commit.
    
    Signed-off-by: Richard Lau <[email protected]>
    
    PR-URL: #32877
    Refs: nodejs/build#2256
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Matheus Marchini <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    richardlau authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    832ea52 View commit details
    Browse the repository at this point in the history
  39. doc: improve consistency in usage of NULL

    - add backticks around use of NULL
    - convert from null to NULL where we mean
      NULL
    
    Signed-off-by: Michael Dawson <[email protected]>
    
    PR-URL: #32726
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Christopher Hiller <[email protected]>
    mhdawson authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    7980f6f View commit details
    Browse the repository at this point in the history
  40. src: remove unused using in node_worker.cc

    This commit removes unused using declarations in
    src/node_worker.cc.
    
    PR-URL: #32840
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Yongsheng Zhang <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    danbev authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    a72d1d3 View commit details
    Browse the repository at this point in the history
  41. module: fix memory leak when require error occurs

    Delete useless module in parent module: parent.children array
    when error occurs, so that it can be garbage collected.
    
    Fixes: #32836
    
    PR-URL: #32837
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Andrey Pechkurov <[email protected]>
    lianxuify authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    520347c View commit details
    Browse the repository at this point in the history
  42. doc: missing brackets

    PR-URL: #32657
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    sla100 authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    5dba49d View commit details
    Browse the repository at this point in the history
  43. module: remove experimental modules warning

    PR-URL: #31974
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Jan Krems <[email protected]>
    Reviewed-By: Geoffrey Booth <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    guybedford authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    0c7391c View commit details
    Browse the repository at this point in the history
  44. doc: add juanarbol as collaborator

    PR-URL: #32906
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    juanarbol authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    cc47645 View commit details
    Browse the repository at this point in the history
  45. doc: add N-API version 6 to table

    We missed adding version 6 to the compatibility
    table when we defined version 6. Add it along with the
    versions that we know will include version 6.
    
    PR-URL: #32829
    Reviewed-By: Chengzhong Wu <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Gabriel Schulhof <[email protected]>
    mhdawson authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    45a125c View commit details
    Browse the repository at this point in the history
  46. src: remove redundant v8::HeapSnapshot namespace

    PR-URL: #32854
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    juanarbol authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    9fd0c35 View commit details
    Browse the repository at this point in the history
  47. tools: decrease timeout in test.py

    This fixes the following crash on Windows for me. I don't know
    why this I only started to see this now, but anyway, the new timeout
    value is still longer than a week and a half.
    
        File "tools/test.py", line 1725, in <module>
            sys.exit(Main())
        File "tools/test.py", line 1701, in Main
            if RunTestCases(cases_to_run, options.progress, \
              options.j, options.flaky_tests):
        File "tools/test.py", line 923, in RunTestCases
            return progress.Run(tasks)
        File "tools/test.py", line 145, in Run
            thread.join(timeout=10000000)
        File "C:\Users\anna\AppData\Local\Programs\Python\Python38-32\ \
          lib\threading.py", line 1015, in join
            self._wait_for_tstate_lock(timeout=max(timeout, 0))
        File "C:\Users\anna\AppData\Local\Programs\Python\Python38-32\ \
          lib\threading.py", line 1027, in _wait_for_tstate_lock
            elif lock.acquire(block, timeout):
        OverflowError: timeout value is too large
    
    PR-URL: #32868
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Zeyu Yang <[email protected]>
    
    Reviewed-By: Bartosz Sosnowski <[email protected]>
    addaleax authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    f7b25c0 View commit details
    Browse the repository at this point in the history
  48. src: elevate v8 namespaces

    elevate v8 namespaces. Leverage `using` semantics
    for repeated usage of v8 artifacts.
    
    PR-URL: #32872
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Zeyu Yang <[email protected]>
    nimit95 authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    e529a32 View commit details
    Browse the repository at this point in the history
  49. test: changed function to arrow function

    Convert callback functions that are anonymous
    to arrow functions for better readability.
    Also adjusted the `this` object in places where
    that was required.
    
    PR-URL: #32875
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    nimit95 authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    87149c4 View commit details
    Browse the repository at this point in the history
  50. doc: add tsc-agenda to onboarding labels list

    PR-URL: #32832
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Trott authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    43adbe6 View commit details
    Browse the repository at this point in the history
  51. stream: inline unbuffered _write

    PR-URL: #32886
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Zeyu Yang <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    ronag authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    b36eb75 View commit details
    Browse the repository at this point in the history
  52. stream: close iterator in Readable.from

    Call iterator.return() if not all of its values are consumed.
    
    Fixes: #32842
    
    PR-URL: #32844
    Reviewed-By: Robert Nagy <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Zeyu Yang <[email protected]>
    vadzim authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    507240c View commit details
    Browse the repository at this point in the history
  53. lib: remove unnecesary else block

    The if statement inside the _writeHostObject function
    returns an expression which makes the else block unnecessary.
    
    PR-URL: #32644
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    ddazal authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    8a85afa View commit details
    Browse the repository at this point in the history
  54. fs: remove unnecessary else statement

    PR-URL: #32662
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    JesuHrz authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    0b2cff2 View commit details
    Browse the repository at this point in the history
  55. src: remove validation of unreachable code

    Based on nodejs/help#2600 (comment)
    the condition (amount < 0) won't be possible.
    
    PR-URL: #32818
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Yongsheng Zhang <[email protected]>
    Reviewed-By: Zeyu Yang <[email protected]>
    Reviewed-By: Shelley Vohr <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gus Caplan <[email protected]>
    juanarbol authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    c1f54c7 View commit details
    Browse the repository at this point in the history
  56. doc: synch SECURITY.md with website

    Refs: nodejs/nodejs.org#3106 (comment)
    
    PR-URL: #32903
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    8c1a69c View commit details
    Browse the repository at this point in the history
  57. deps: upgrade to libuv 1.36.0

    Notable changes:
    
    - gyp support has been removed.
    - recvmmsg messages are returned in the correct order.
    - IBMi cmake support has been added.
    - uv_fs_lutime() has been added.
    - uv_fs_statfs() on Windows properly handles file paths.
    
    PR-URL: #32866
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    cjihrig authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    771ca7d View commit details
    Browse the repository at this point in the history
  58. deps: upgrade to libuv 1.37.0

    Notable changes:
    
    - The UV_UDP_RECVMMSG flag has been added. This flag is now
      required in order to utilize recvmmsg(). This was added in
      response to a regression introduced in 1.35.0 and 1.36.0.
    
    PR-URL: #32866
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    cjihrig authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    afe7f41 View commit details
    Browse the repository at this point in the history
  59. perf_hooks: remove unnecessary assignment when name is undefined

    PR-URL: #32910
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Zeyu Yang <[email protected]>
    Reviewed-By: Andrey Pechkurov <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Chengzhong Wu <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    rickyes authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    7bd51fb View commit details
    Browse the repository at this point in the history
  60. fs: extract kWriteFileMaxChunkSize constant

    PR-URL: #32640
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    rickyes authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    04b1f63 View commit details
    Browse the repository at this point in the history
  61. doc: fix typo in zlib.md

    PR-URL: #32901
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Zeyu Yang <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    chenmnkken authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    c596759 View commit details
    Browse the repository at this point in the history
  62. doc: fix usage of folder and directory terms in fs.md

    This commit fixes the interchangeably usage of "folder" and "directory"
    terms in fs.md
    
    Fixes: #32902
    
    PR-URL: #32919
    Reviewed-By: Juan José Arboleda <[email protected]>
    Reviewed-By: Andrey Pechkurov <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Zeyu Yang <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    karan1205 authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    76e960c View commit details
    Browse the repository at this point in the history
  63. test: mark test-child-process-fork-args as flaky on Windows

    PR-URL: #32950
    Refs: #32863
    Reviewed-By: Sam Roberts <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    puzpuzpuz authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    944e010 View commit details
    Browse the repository at this point in the history
  64. doc: corrected ERR_SOCKET_CANNOT_SEND message

    PR-URL: #32847
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    willarmiros authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    faeb408 View commit details
    Browse the repository at this point in the history
  65. src: fix null deref in AllocatedBuffer::clear

    An empty buffer can have a null environment.  Previously, we were
    getting away with with this, but -fsanitize=null in clang caught it.
    
    PR-URL: #32892
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Jan Krems <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    fowles authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    0fdc55f View commit details
    Browse the repository at this point in the history
  66. doc: fix typo in security-release-process.md

    PR-URL: #32926
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Zeyu Yang <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    SASUKE40 authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    8c48d16 View commit details
    Browse the repository at this point in the history
  67. module: partial doc removal of --experimental-modules

    This removes `--experimental-modules` from showing up in `node -h`
    and also removes the documentation from the man pages.
    
    It will still work as a no-op, and is still included in cli.md
    
    Refs: nodejs/modules#502
    
    PR-URL: #32915
    Reviewed-By: Guy Bedford <[email protected]>
    Reviewed-By: Geoffrey Booth <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    MylesBorins authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    4432bb2 View commit details
    Browse the repository at this point in the history
  68. tls: move getAllowUnauthorized to internal/options

    Make it so that the allow unauthorized warning can be easily reused
    by the QUIC impl once that lands.
    
    Extracted from #32379
    
    Signed-off-by: James M Snell <[email protected]>
    
    PR-URL: #32917
    Reviewed-By: Sam Roberts <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    jasnell authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    bfa19c4 View commit details
    Browse the repository at this point in the history
  69. module: improve error for invalid package targets

    For targets that are strings that do not start with `./` or `/` the
    error will now have additional information about what the programming
    error is.
    
    Closes: #32034
    
    PR-URL: #32052
    Fixes: #32034
    Reviewed-By: Geoffrey Booth <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Jan Krems <[email protected]>
    Reviewed-By: Guy Bedford <[email protected]>
    Signed-off-by: Myles Borins <[email protected]>
    MylesBorins authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    e540d5c View commit details
    Browse the repository at this point in the history
  70. module: exports not exported for null resolutions

    PR-URL: #32838
    Reviewed-By: Jan Krems <[email protected]>
    guybedford authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    cb93c60 View commit details
    Browse the repository at this point in the history
  71. http2: wait for secureConnect before initializing

    PR-URL: #32958
    Fixes: #32922
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    bcoe authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    a673c8f View commit details
    Browse the repository at this point in the history
  72. fs: update validateOffsetLengthRead in utils.js

    PR-URL: #32896
    Fixes: #32871
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Zeyu Yang <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    Reviewed-By: Andrey Pechkurov <[email protected]>
    daemon1024 authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    27837fe View commit details
    Browse the repository at this point in the history
  73. src: use using NewStringType

    PR-URL: #32843
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    rickyes authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    015f33c View commit details
    Browse the repository at this point in the history
  74. tools: remove unused code in doc generation tool

    tools/doc/html.js includes code that looks for comments with
    `start-include` and `end-include` for file inclusion. This seems to be
    legacy code that is no longer used. The code only appears in the
    table-of-contents generation function. The strings `start-include` and
    `end-include` appear nowhere else in our tools and nowhere at all in our
    docs.
    
    PR-URL: #32913
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    c402edd View commit details
    Browse the repository at this point in the history
  75. doc: elevate diagnostic report to tier1

    diagnostic report qualifies for all the criteria for
    being in tier1. Classify it as such.
    
    PR-URL: #32732
    Refs: nodejs/diagnostics#369
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Matheus Marchini <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Chengzhong Wu <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    gireeshpunathil authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    287bd8a View commit details
    Browse the repository at this point in the history
  76. doc: remove repeated word in modules.md

    PR-URL: #32931
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Zeyu Yang <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    kodekage authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    99f4af4 View commit details
    Browse the repository at this point in the history
  77. deps: V8: cherry-pick e1eac1b16c96

    Original commit message:
    
        Fix compilation error with devtoolset-8
    
        We are compiling V8 using devtoolset-8 and it is generating a new
        compilation error related to String Truncation:
    
        error: ‘char* strncpy(char*, const char*, size_t)’ output truncated copying between 1 and 15 bytes from a string of length 15 [-Werror=stringop-truncation]
                  strncpy(buffer, unicode_utf8, i);
    
        Which basically means the null terminating character was not added to
        the end of the buffer:
        https://developers.redhat.com/blog/2018/05/24/detecting-string-truncation-with-gcc-8/
    
        This CL will changes 2 uses of "strncpy" to "memcpy" as strings
        are being copied partially and `\n` being added at a later stage.
    
        Change-Id: I3656afb00463d70ddb8700a487a1978b793e1d09
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2155038
        Reviewed-by: Andreas Haas <[email protected]>
        Reviewed-by: Toon Verwaest <[email protected]>
        Commit-Queue: Milad Farazmand <[email protected]>
        Cr-Commit-Position: refs/heads/master@{#67277}
    
    Refs: v8/v8@e1eac1b
    
    PR-URL: #32974
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ujjwal Sharma <[email protected]>
    Milad Farazmand authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    347f71a View commit details
    Browse the repository at this point in the history
  78. test: test-async-wrap-constructor prefer forEach

    PR-URL: #32631
    Reviewed-By: Juan José Arboleda <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    dericop authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    c3025f3 View commit details
    Browse the repository at this point in the history
  79. doc: add angle brackets around implicit links

    PR-URL: #32676
    Reviewed-By: Rich Trott <[email protected]>
    nschonni authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    2eb5262 View commit details
    Browse the repository at this point in the history
  80. doc: ignore no-literal-urls in changelogs

    PR-URL: #32676
    Reviewed-By: Rich Trott <[email protected]>
    nschonni authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    f7c7713 View commit details
    Browse the repository at this point in the history
  81. doc: convert bare email addresses to mailto links

    reflowed for line length after increased url size
    
    PR-URL: #32676
    Reviewed-By: Rich Trott <[email protected]>
    nschonni authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    a5bed1e View commit details
    Browse the repository at this point in the history
  82. doc: ignore no-literal-urls in README

     Membership lists are currently formatted in a specific way for tooling
    
    PR-URL: #32676
    Reviewed-By: Rich Trott <[email protected]>
    nschonni authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    e372b8b View commit details
    Browse the repository at this point in the history
  83. lib: simplify function process.emitWarning

    PR-URL: #32992
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Andrey Pechkurov <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    himself65 authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    2c364d4 View commit details
    Browse the repository at this point in the history
  84. test: refactor events tests for invalid listeners

    PR-URL: #32769
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Gerhard Stöbich <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    edsadr authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    4169bc4 View commit details
    Browse the repository at this point in the history
  85. doc: updated directory entry information

    Fixes: #25595
    
    subdirectory
    
    updated def
    
    PR-URL: #32791
    Reviewed-By: Anna Henningsen <[email protected]>
    Eileen authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    fae1aed View commit details
    Browse the repository at this point in the history
  86. test: better error validations for event-capture

    PR-URL: #32771
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    edsadr authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    a223ccc View commit details
    Browse the repository at this point in the history
  87. src: delete MicroTaskPolicy namespace

    PR-URL: #32853
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    juanarbol authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    bd096bd View commit details
    Browse the repository at this point in the history
  88. lib: unnecessary const assignment for class

    PR-URL: #32962
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Andrey Pechkurov <[email protected]>
    yashLadha authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    d178250 View commit details
    Browse the repository at this point in the history
  89. inspector: only write coverage in fully bootstrapped Environments

    The NODE_V8_COVERAGE folder and the source map computation are setup
    during pre-execution since they rely on environment variables as well
    as JS states. Therefore, we need to give up serialization of JS
    coverage profiles for Environments that have not go through
    pre-execution. Currently this is only possible for Environments
    created using the embedder API CreateEnvironment().
    
    As a result we won't have JS coverage data for most cctests, but if
    that proves to be necessary we could just run
    lib/internal/main/environment.js for these Environments created for
    cctests.
    
    Fixes: #32912
    Refs: 65e18a8
    Refs: 5bf4372
    8aa7ef7
    
    PR-URL: #32960
    Refs: 8aa7ef7
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    joyeecheung authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    5dc4349 View commit details
    Browse the repository at this point in the history
  90. vm: add importModuleDynamically option to compileFunction

    Fixes: #31860
    
    PR-URL: #32985
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    devsnek authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    8809699 View commit details
    Browse the repository at this point in the history
  91. src: assignment to valid type

    We are converting the argument to a uint32_t value
    but the lvalue is not consistent with the casting.
    
    PR-URL: #32879
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    yashLadha authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    f155690 View commit details
    Browse the repository at this point in the history
  92. test: remove timers-blocking-callback

    If the bug this test is intented to catch is reintroduced, or if
    5aac4c4 is effectively reverted, many
    (50+) tests time out, rendering this test redundant and unnecessary.
    
    in particular, the following timer tests catch an effective revert of
    5aac4c4:
    
    not ok 21 parallel/test-timers-api-refs
    not ok 22 parallel/test-timers-args
    not ok 23 parallel/test-timers-destroyed
    not ok 25 parallel/test-timers-nested
    not ok 26 parallel/test-timers-interval-throw
    not ok 28 parallel/test-timers-non-integer-delay
    not ok 32 parallel/test-timers-ordering
    not ok 33 parallel/test-timers-refresh
    not ok 34 parallel/test-timers-refresh-in-callback
    not ok 35 parallel/test-timers-reset-process-domain-on-throw
    not ok 40 parallel/test-timers-timeout-to-interval
    not ok 41 parallel/test-timers-uncaught-exception
    not ok 42 parallel/test-timers-timeout-with-non-integer
    not ok 43 parallel/test-timers-unenroll-unref-interval
    not ok 44 parallel/test-timers-unref
    not ok 45 parallel/test-timers-unref-active
    not ok 46 parallel/test-timers-unrefd-interval-still-fires
    not ok 47 parallel/test-timers-unrefed-in-callback
    not ok 48 parallel/test-timers-user-call
    not ok 49 parallel/test-timers-zero-timeout
    
    Refs: #21781
    
    PR-URL: #32870
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Fishrock123 authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    790c453 View commit details
    Browse the repository at this point in the history
  93. doc: avoid tautology in README

    Changed "UTC time" on Line 82 to "UTC" as it created a tautology.
    
    PR-URL: #33005
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Robert Nagy <[email protected]>
    ishaanjain1898 authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    dd1cc1a View commit details
    Browse the repository at this point in the history
  94. buffer,n-api: fix double ArrayBuffer::Detach() during cleanup

    These calls could fail if the `ArrayBuffer` had already been explicitly
    detached at some point in the past.
    
    The necessary test changes already came with 4f523c2 and could
    be ported back to v12.x with a backport of this PR.
    
    Fixes: #33022
    Refs: #30551
    
    PR-URL: #33039
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Chengzhong Wu <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Gerhard Stöbich <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    addaleax authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    18fd841 View commit details
    Browse the repository at this point in the history
  95. deps: V8: backport 3f8dc4b2e5ba

    Original commit message:
    
        [intl] Remove soon-to-be removed getAllFieldPositions
    
        Needed to land ICU67.1 soon.
    
        Bug: v8:10393
        Change-Id: I3c7737ca600d6ccfdc46ffaddfb318ce60bc7618
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2136489
        Reviewed-by: Jakob Kummerow <[email protected]>
        Commit-Queue: Frank Tang <[email protected]>
        Cr-Commit-Position: refs/heads/master@{#67027}
    
    Refs: v8/v8@3f8dc4b
    
    PR-URL: #32993
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Matheus Marchini <[email protected]>
    Reviewed-By: Steven R Loomis <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    ryzokuken authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    5caa627 View commit details
    Browse the repository at this point in the history
  96. tls: add highWaterMark option for connect

    PR-URL: #32786
    Fixes: #32781
    Reviewed-By: Zeyu Yang <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Andrey Pechkurov <[email protected]>
    rickyes authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    f6274af View commit details
    Browse the repository at this point in the history
  97. deps: upgrade openssl sources to 1.1.1g

    This updates all sources in deps/openssl/openssl by:
        $ cd deps/openssl/
        $ rm -rf openssl
        $ tar zxf ~/tmp/openssl-1.1.1g.tar.gz
        $ mv openssl-1.1.1g openssl
        $ git add --all openssl
        $ git commit openssl
    
    PR-URL: #32971
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sam Roberts <[email protected]>
    hassaanp authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    29d7202 View commit details
    Browse the repository at this point in the history
  98. deps: update archs files for OpenSSL-1.1.1g

    After an OpenSSL source update, all the config files need to be
    regenerated and committed by:
       $ cd deps/openssl/config
       $ make
       $ git add deps/openssl/config/archs
       $ git add deps/openssl/openssl/include/crypto/bn_conf.h
       $ git add deps/openssl/openssl/include/crypto/dso_conf.h
       $ git add deps/openssl/openssl/include/openssl/opensslconf.h
       $ git commit
    
    PR-URL: #32971
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sam Roberts <[email protected]>
    hassaanp authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    28c39d3 View commit details
    Browse the repository at this point in the history
  99. doc: add documentation for transferList arg at worker threads

    Ref: #32278
    
    PR-URL: #32881
    Refs: #32278
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    juanarbol authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    9ebcd79 View commit details
    Browse the repository at this point in the history
  100. worker: fix process.env var empty key access

    PR-URL: #32921
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Reviewed-By: Zeyu Yang <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    bl-ue authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    428fca1 View commit details
    Browse the repository at this point in the history
  101. src: fix empty-named env var assertion failure

    Setting an environment variable with an empty name on Windows resulted
    in an assertion failure, because it was checked for an '=' sign at the
    beginning without verifying the length was greater than 0.
    
    Fixes: #32920
    Refs: #27310
    
    PR-URL: #32921
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Reviewed-By: Zeyu Yang <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    bl-ue authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    018de28 View commit details
    Browse the repository at this point in the history
  102. src: do not compare against wide characters

    PR-URL: #32921
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Reviewed-By: Zeyu Yang <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    bl-ue authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    14cf904 View commit details
    Browse the repository at this point in the history
  103. cluster: removed unused addressType argument from constructor

    When intializing the constructor for cluster master we are heavily using
    a generic structure, but the effect of passing arguments that are
    related to shared_handle is that there is a stale argument passed.
    
    We can avoid such scenarios as all the remaining entities are being
    destructured from the message object.
    
    PR-URL: #32963
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Andrey Pechkurov <[email protected]>
    yashLadha authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    0f4d513 View commit details
    Browse the repository at this point in the history
  104. util,readline: NFC-normalize strings before getStringWidth

    The assumption here is that decomposed characters render like their
    composed character equivalents, and that working with the former
    comes with a risk of over-estimating string widths given that
    we compute them on a per-code-point basis. The regression test
    added here (한글 vs 한글) is an example of that happening.
    
    PR-URL: #33052
    Reviewed-By: Gus Caplan <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Anto Aravinth <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    c239cc6 View commit details
    Browse the repository at this point in the history
  105. test: refactor test-async-hooks-constructor

    PR-URL: #33063
    Reviewed-By: Juan José Arboleda <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    himself65 authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    6984fbc View commit details
    Browse the repository at this point in the history
  106. doc: document major finished changes in v14

    Added description of semver-major changes to finished in v14.
    
    PR-URL: #33065
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    ronag authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    6b6c8d0 View commit details
    Browse the repository at this point in the history
  107. src: add AsyncWrapObject constructor template factory

    PR-URL: #33051
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gerhard Stöbich <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    Qard authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    b953ab6 View commit details
    Browse the repository at this point in the history
  108. doc: improve release documentation

    Extract the "Cherry-pick the Release Commit to master" part to its own
    section and be more precise about what should be done to handle
    conflicts.
    
    PR-URL: #33042
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Anto Aravinth <[email protected]>
    Reviewed-By: Beth Griggs <[email protected]>
    targos authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    79d92b2 View commit details
    Browse the repository at this point in the history
  109. module: refactor condition

    PR-URL: #32989
    Reviewed-By: Zeyu Yang <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Andrey Pechkurov <[email protected]>
    MylesBorins authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    c97a7ce View commit details
    Browse the repository at this point in the history
  110. doc: make openssl maintenance position independent

    It used to have some `cd` commands that if done literally would
    invalidate the subsequent commands. Modify them to be more accurate,
    which also simplifies pasting them directly into the console from the
    guide while doing an update.
    
    PR-URL: #32977
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gerhard Stöbich <[email protected]>
    sam-github authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    be55aac View commit details
    Browse the repository at this point in the history
  111. build: fix vcbuild error for missing Visual Studio

    The previous error was wrongly redirecting users
    to the ICU installation steps, which is unrelated to
    missing Visual Studio.
    
    PR-URL: #32658
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Bartosz Sosnowski <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Hakerh400 authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    bd40a8b View commit details
    Browse the repository at this point in the history
  112. doc: improve WHATWG url constructor code example

    Currently, the URL docs for the WHATWG URL spec support are
    somewhat lacking in their code example of how to access the
    new URL constructor that lives inside the core url package.
    
    PR-URL: #32782
    Reviewed-By: Anna Henningsen <[email protected]>
    lirantal authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    de3ab9f View commit details
    Browse the repository at this point in the history
  113. n-api: fix false assumption on napi_async_context structures

    napi_async_context should be an opaque type and not be used as same as
    node::async_context.
    
    PR-URL: #32928
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    legendecas authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    4fc7877 View commit details
    Browse the repository at this point in the history
  114. http: doc deprecate abort and improve docs

    Doc deprecates ClientRequest.abort in favor of
    ClientRequest.destroy. Also improves event order
    documentation for abort and destroy.
    
    Refs: #32225
    
    PR-URL: #32807
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Zeyu Yang <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    ronag authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    9d18408 View commit details
    Browse the repository at this point in the history
  115. doc: assign missing deprecation code

    Signed-off-by: Richard Lau <[email protected]>
    
    PR-URL: #33109
    Refs: #32807
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Beth Griggs <[email protected]>
    richardlau authored and BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    386d158 View commit details
    Browse the repository at this point in the history
  116. 2020-04-29, Version 13.14.0 (Current)

    Notable Changes:
    
    * async_hooks**:
      * Merge `run` and `exit` methods (Andrey Pechkurov)
        #31950
      * Prevent sync methods of async storage exiting outer context
        (Stephen Belanger)
        #31950
    * vm:
      * Add `importModuleDynamically` option to compileFunction (Gus
        Caplan)
        #32985
    
    New core collaborators:
    
    With this release, we welcome two new Node.js core collaborators:
    
    * Juan José Arboleda @juanarbol
      #32906
    * Andrey Pechkurov @puzpuzpuz
      #32817
    
    PR-URL: #33122
    BridgeAR committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    9fc74f1 View commit details
    Browse the repository at this point in the history