Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

v12.18.3 proposal #34343

Merged
merged 179 commits into from Jul 22, 2020
Merged

v12.18.3 proposal #34343

merged 179 commits into from Jul 22, 2020

Commits on Jul 6, 2020

  1. lib: update executionAsyncId/triggerAsyncId comment

    This commit updates the comment referring to the
    executionAsyncId/triggerAsyncId pair being stored in a std::stack.
    
    It looks like this was changed from std::stack to AliasedFloat64Array in
    Commit 83e5215 ("async_hooks: use
    typed array stack as fast path").
    
    PR-URL: #33396
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and codebytere committed Jul 6, 2020
    Copy the full SHA
    a94e7da View commit details
    Browse the repository at this point in the history
  2. util: mark classes while inspecting them

    This outlines the basic class setup when inspecting a class.
    
    Signed-off-by: Ruben Bridgewater <ruben@bridgewater.de>
    
    PR-URL: #32332
    Fixes: #32270
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    BridgeAR authored and codebytere committed Jul 6, 2020
    Copy the full SHA
    e3533ab View commit details
    Browse the repository at this point in the history
  3. deps: update node-inspect to v2.0.0

    Highlights:
    
    * Remove use of `process.binding` on modern node (@addaleax)
    * Increase timeout for port checking (@yilmazdurmaz)
    * Auto-resume on start when `NODE_INSPECT_RESUME_ON_START`
      is set (@dolsem)
    
    Compare: nodejs/node-inspect@v1.11.6...v2.0.0
    
    PR-URL: #33447
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    jkrems authored and codebytere committed Jul 6, 2020
    Copy the full SHA
    8803d7e View commit details
    Browse the repository at this point in the history
  4. worker: use _writev in internal communication

    PR-URL: #33454
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    addaleax authored and codebytere committed Jul 6, 2020
    Copy the full SHA
    c502384 View commit details
    Browse the repository at this point in the history
  5. src: remove unnecessary else in base_object-inl.h

    This commit removes two unnecessary else statements in
    base_object-inl.h. It also tries to make the if statements consistent
    with regards to braces.
    
    PR-URL: #33413
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    danbev authored and codebytere committed Jul 6, 2020
    Copy the full SHA
    c697b96 View commit details
    Browse the repository at this point in the history
  6. src: prefer make_unique

    In most of the code base we use make_unique instead of
    new unique_ptr. Update node_platform.cc to be consistent
    with that.
    
    Signed-off-by: Michael Dawson <michael_dawson@ca.ibm.com>
    
    PR-URL: #33378
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    mhdawson authored and codebytere committed Jul 6, 2020
    Copy the full SHA
    6f6fb1f View commit details
    Browse the repository at this point in the history
  7. doc: fix readline key binding documentation

    The documentation for two key bindings was not correct.
    
    Signed-off-by: Ruben Bridgewater <ruben@bridgewater.de>
    
    PR-URL: #33361
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    BridgeAR authored and codebytere committed Jul 6, 2020
    Copy the full SHA
    dfa8028 View commit details
    Browse the repository at this point in the history
  8. lib: update TODO comments

    This removes one TODO comment and adds another that indicates that
    readline is currently not able to trigger specific escape sequences.
    
    Signed-off-by: Ruben Bridgewater <ruben@bridgewater.de>
    
    PR-URL: #33361
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    BridgeAR authored and codebytere committed Jul 6, 2020
    Copy the full SHA
    83c9364 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2020

  1. doc: use sentence-case for headings in docs

    PR-URL: #33889
    Backport-PR-URL: #33964
    Refs: https://developers.google.com/style/capitalization#capitalization-in-titles-and-headings
    Refs: https://docs.microsoft.com/en-us/style-guide/capitalization
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    3e68d21 View commit details
    Browse the repository at this point in the history
  2. doc: standardize on sentence case for headers

    Previously, our documentation headers were a mixture of title case,
    sentence case, and things that were neither. For technical
    documentation, the _de facto_ standard seems to be sentence case. (See
    refs below.) So let's standardize on that. This commit follows a
    commit implementing this standard. This commit adds it to the style
    guide.
    
    Refs: https://developers.google.com/style/capitalization#capitalization-in-titles-and-headings
    Refs: https://docs.microsoft.com/en-us/style-guide/capitalization
    
    PR-URL: #33889
    Backport-PR-URL: #33964
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    70d025f View commit details
    Browse the repository at this point in the history
  3. esm: doc & validate source values for formats

    PR-URL: #32202
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    bfarias-godaddy authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    d09f6d5 View commit details
    Browse the repository at this point in the history
  4. win,fs: use namespaced path in absolute symlinks

    Use the namespaced (with the \\?\ prefix) paths for symlink targets when
    the path is absolute. This allows creation of symlinks to files with
    long filenames.
    
    Fixes: #27795
    
    PR-URL: #33351
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    bzoz authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    3b46e7f View commit details
    Browse the repository at this point in the history
  5. worker: perform initial port.unref() before preload modules

    The refcount of the internal communication port is relevant for
    stdio, but the `port.unref()` call effectively resets any `.ref()`
    calls happening during stdio operations happening before it.
    
    Therefore, do the `.unref()` call before loading preload modules,
    which may cause stdio operations.
    
    Fixes: #31777
    
    PR-URL: #33455
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    addaleax authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    1c64bc5 View commit details
    Browse the repository at this point in the history
  6. src: remove unused headers in src/util.h

    PR-URL: #33070
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    juanarbol authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    0837c2c View commit details
    Browse the repository at this point in the history
  7. fs: replace checkPosition with validateInteger

    PR-URL: #33277
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    rickyes authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    5fb1cc8 View commit details
    Browse the repository at this point in the history
  8. src: use MaybeLocal.ToLocal instead of IsEmpty

    This commit suggest using MaybeLocal.ToLocal and passing in the
    Local<Function> fun.
    
    The motivation for doing this is that the following
    MaybeLocal.ToLocalChecked call can then be avoided.
    
    PR-URL: #33457
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    danbev authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    a522c0e View commit details
    Browse the repository at this point in the history
  9. test: mark test-dgram-multicast-ssmv6-multi-process flaky

    refs: #32946
    
    Mark this test as flaky on linux
    Ive used sequential.status as a template for this file
    
    PR-URL: #33498
    Refs: #32946
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    AshCripps authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    ef27e6c View commit details
    Browse the repository at this point in the history
  10. doc: correct CommonJS self-resolve spec

    PR-URL: #33391
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
    guybedford authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    1b76377 View commit details
    Browse the repository at this point in the history
  11. fs: unify style in preprocessSymlinkDestination

    Removes the else after return to match rest of the style of
    the function.
    
    PR-URL: #33496
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    bzoz authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    adb93f1 View commit details
    Browse the repository at this point in the history
  12. doc: fixed a grammatical error in path.md

    It said, " The path.basename() methods returns the last portion....".
    "Methods" was wrong and it is fixed to "method".
    
    PR-URL: #33489
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Deep310 authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    c76ec4d View commit details
    Browse the repository at this point in the history
  13. doc: eliminate dead space in API section's sidebar

    This commit improves overall usability on desktop by removing the "dead"
    (non-interactive) regions between links in the API section's navigation.
    No visible changes have been made; this enhancement is purely tactile in
    nature.
    
    PR-URL: #33469
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Alhadis authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    78734c2 View commit details
    Browse the repository at this point in the history
  14. wasi: relax WebAssembly.Instance type check

    Instances coming from different VM contexts don't pass `instanceof`
    type checks because each context has its own copy of the built-in
    globals.
    
    After review of the relevant code it seems like it should be safe to
    relax the type check and that is what this commit does: `wasi.start()`
    now accepts any input that walks and quacks like a WebAssembly.Instance
    or WebAssembly.Memory instance.
    
    Fixes: #33415
    
    PR-URL: #33431
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    bnoordhuis authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    383c5b3 View commit details
    Browse the repository at this point in the history
  15. doc,tools: properly syntax highlight API ref docs

    Prior to this commit, all <pre> tags were being
    highlighted as JavaScript. This has been corrected
    to syntax highlight all languages appearing in the
    API reference docs. This was accomplished by using
    highlight.js instead of SHJS for the frontend lib.
    
    * remove SHJS JavaScript code
    * add highlight.js bundle
    * fix script tags to reflect replacement
    * migrate CSS to use highlight.js classes
    * add appropriate documentation
    * ensure api_assets README.md stays interal
    
    Fixes: #33363
    
    PR-URL: #33442
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org>
    Derek Lewis authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    6f8b7a8 View commit details
    Browse the repository at this point in the history
  16. net: refactor check for Windows

    PR-URL: #33497
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    rickyes authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    7c7f5c8 View commit details
    Browse the repository at this point in the history
  17. doc: fix typo in pathToFileURL example

    PR-URL: #33418
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    aduh95 authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    b599037 View commit details
    Browse the repository at this point in the history
  18. src: remove BeforeExit callback list

    It obscures the fact that there is only a single BeforeExit action.
    Just call that statically from `EmitBeforeExit()`.
    
    PR-URL: #33386
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bnoordhuis authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    77b6298 View commit details
    Browse the repository at this point in the history
  19. doc: fix Buffer.from(object) documentation

    Only strings are supported for objects supporting `Symbol.toPrimitive`.
    
    PR-URL: #33327
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    seishun authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    6133639 View commit details
    Browse the repository at this point in the history
  20. benchmark: fixing http_server_for_chunky_client.js

    PR-URL: #33271
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    edsadr authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    09277fa View commit details
    Browse the repository at this point in the history
  21. tools: add docserve target

    Spaws a webserver serving the docs. Helpful to circumvent the OS
    permission limitations or to access the docs form a different device on
    the local network.
    
    PR-URL: #33221
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    aduh95 authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    f495ab3 View commit details
    Browse the repository at this point in the history
  22. buffer: remove hoisted variable

    PR-URL: #33470
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    seishun authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    5a6d80f View commit details
    Browse the repository at this point in the history
  23. Revert "src: fix missing extra ca in tls.rootCertificates"

    A fix to tls.rootCertificates to have it correctly return the
    process' current root certificates resulted in non-deterministic
    behavior when Node.js is configured to use an OpenSSL system or
    file-based certificate store.
    
    The safest action is to revert the change and change the specification
    for tls.rootCertificates to state that it only returns the bundled
    certificates instead of the current ones.
    
    Fixes: #32229
    Refs: #32074
    
    PR-URL: #33313
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ebickle authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    e105034 View commit details
    Browse the repository at this point in the history
  24. doc: correct tls.rootCertificates to match implementation

    Update tls.rootCertificates documentation to clarify that it returns
    the bundled Node.js root certificates rather than the root certificates
    used by tls.createSecureContext.
    
    Fixes: #32074
    Refs: #32229
    
    PR-URL: #33313
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ebickle authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    281d7f7 View commit details
    Browse the repository at this point in the history
  25. worker: fix variable referencing in template string

    PR-URL: #33467
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    HarshithaKP authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    032c64f View commit details
    Browse the repository at this point in the history
  26. dns: use ternary operator simplify statement

    PR-URL: #33234
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    zhangwinning authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    10b88cb View commit details
    Browse the repository at this point in the history
  27. esm: share package.json cache between ESM and CJS loaders

    Refs: #30674
    
    PR-URL: #33229
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
    shackijj authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    3559471 View commit details
    Browse the repository at this point in the history
  28. src: use MaybeLocal::FromMaybe to return exception

    This commit suggests using MaybeLocal::FromMaybe to return the exception
    string, passing in a default value (an empty Local<Value>) which will be
    used if the exception object is empty.
    
    PR-URL: #33514
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    danbev authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    48035a2 View commit details
    Browse the repository at this point in the history
  29. deps: uvwasi: cherry-pick 9e75217

    Original commit message:
    
        poll_oneoff: add missing uv_run() in cleanup
    
        This allows ASAN to pass.
    
    PR-URL: #33521
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    cjihrig authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    9ee9688 View commit details
    Browse the repository at this point in the history
  30. wasi: refactor and enable poll_oneoff() test

    This commit refactors and enables the poll_oneoff() WASI test.
    The refactor includes testing additional cases, as well as some
    platform specific checks.
    
    PR-URL: #33521
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    cjihrig authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    5e5be99 View commit details
    Browse the repository at this point in the history
  31. wasi: simplify WASI memory management

    This commit migrates the WASI C++ code from UncheckedCalloc()
    to std::vectors.
    
    PR-URL: #33525
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    cjihrig authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    33984d6 View commit details
    Browse the repository at this point in the history
  32. wasi,worker: handle termination exception

    Be careful when emitting the 'beforeExit' event. It's not allowed to
    call into the runtime when a termination exception is pending.
    
    Fixes: #33377
    
    PR-URL: #33386
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bnoordhuis authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    7df79f4 View commit details
    Browse the repository at this point in the history
  33. http2: reuse ._onTimeout() in Http2Session and Http2Stream classes

    PR-URL: #33354
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    rickyes authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    bcdf4c8 View commit details
    Browse the repository at this point in the history
  34. inspector: throw error when activating an already active inspector

    When the user tries to activate the inspector that is already active
    on a different port and host, we previously just silently reset
    the port and host stored in the Environment without actually doing
    anything for that to be effective. After this patch, we throw
    an error telling the user to close the active inspector before invoking
    `inspector.open()` again.
    
    PR-URL: #33015
    Fixes: #33012
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    joyeecheung authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    0941635 View commit details
    Browse the repository at this point in the history
  35. tools: update ESLint to 7.1.0

    Update ESLint to 7.1.0
    
    PR-URL: #33526
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    cjihrig authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    ff4f9a9 View commit details
    Browse the repository at this point in the history
  36. doc: normalize C code block info strings

    Prior to this commit, C fenced code blocks in Markdown files had
    inconsistent info strings. This has been corrected to standardize on
    the lowercase variant, which matches the others, is the typical file
    extension for C files, and is the CSS class used by highlight.js
    despite representing a minority of appearances in the doc/api/ dir.
    
    Stats:
    >  'C' => 181,
    >  'c' => 3,
    
    Refs: highlightjs/highlight.js#2577
    
    PR-URL: #33507
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Derek Lewis authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    74a1493 View commit details
    Browse the repository at this point in the history
  37. doc: normalize shell code block info strings

    Prior to this commit, shell fenced code blocks in Markdown files had
    inconsistent info strings. This has been corrected to standarize on
    the one with the highest frequency in the doc/api/ dir.
    
    Stats:
    > 'console' => 54,
    > 'shell' => 2,
    
    PR-URL: #33486
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Derek Lewis authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    7ea6b07 View commit details
    Browse the repository at this point in the history
  38. crypto: fix wrong error message

    When calling `crypto.sign()`, if the `key` parameter object is
    missing the `key` property, the error message is wrong.
    
    Before the fix:
    TypeError [ERR_INVALID_ARG_TYPE]: The "key" argument must be of
    type string or an instance of Buffer, TypedArray, DataView, or
    KeyObject. Received an instance of Object
    
    Expected:
    TypeError [ERR_INVALID_ARG_TYPE]: The "key.key property" argument
    must be of type string or an instance of Buffer, TypedArray,
    DataView, or KeyObject. Received undefined
    
    This seems like a copy&paste bug. Somebody copied from the end of
    the function, where this is correct, to here, where it's wrong.
    
    PR-URL: #33482
    Fixes: #33480
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org>
    benbucksch authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    18dc03d View commit details
    Browse the repository at this point in the history
  39. doc: normalize Bash code block info strings

    Prior to this commit, Bash fenced code blocks in Markdown files had
    inconsistent info strings. This has been corrected to standardize on
    the less-obscure variant.
    
    PR-URL: #33510
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Derek Lewis authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    cf82adf View commit details
    Browse the repository at this point in the history
  40. build: fix makefile script on windows

    On Windows there is a program "find.exe" located in
    C:\Windows\System32, which is usually in the PATH before
    MSYS version of that program (required for running makefile).
    The Windows version of the program uses different CLI syntax,
    which results in errors like
    
      "File not found - *node_modules*"
    
    This commit specifies the full path to the program, which is also
    properly handled by MSYS on Windows.
    
    PR-URL: #33136
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Hakerh400 authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    bba41bf View commit details
    Browse the repository at this point in the history
  41. src: use const in constant args.Length()

    PR-URL: #33555
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    himself65 authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    05cbd8f View commit details
    Browse the repository at this point in the history
  42. test: make flaky test stricter

    Make assertions in flaky test stricter to possibly
    make it easier to determine the root cause.
    
    Refs: #4066
    
    PR-URL: #33539
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    ronag authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    3032f0f View commit details
    Browse the repository at this point in the history
  43. src: use MaybeLocal.ToLocal instead of IsEmpty

    This commit suggest using MaybeLocal.ToLocal and passing in the
    Local<Function> fn.
    
    The motivation for doing this is that the following
    MaybeLocal.ToLocalChecked call can then be avoided.
    
    PR-URL: #33554
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    103479a View commit details
    Browse the repository at this point in the history
  44. tools: fix check-imports.py to match on word boundaries

    `check-imports.py` was missing some unused `using` statements as it
    was not matching on word boundaries (e.g. `MaybeLocal` was considered
    a use of `Local`). Fix that and add some unit tests (which required
    the script to be renamed to drop the `-` so it could be imported into
    the test script).
    
    PR-URL: #33268
    Refs: #29226
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Christian Clauss <cclauss@me.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    richardlau authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    3d05e3d View commit details
    Browse the repository at this point in the history
  45. meta: add flaky test issue template

    Add a flaky test issue template to ensure that enough information is
    provided for investigation
    
    PR-URL: #33500
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Ash Cripps authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    b7ea7be View commit details
    Browse the repository at this point in the history
  46. src: remove unused using declarations

    This commit removes the unused using declarations reported by lint-cpp.
    
    PR-URL: #33268
    Refs: #29226
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Christian Clauss <cclauss@me.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    danbev authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    41d8796 View commit details
    Browse the repository at this point in the history
  47. n-api: remove napi_env::CallIntoModuleThrow

    Give `napi_env::CallIntoModule` the thrower used by
    `CallIntoModuleThrow` as its default second argument. That way we do
    not need two different methods on `napi_env` for calling into the
    addon.
    
    PR-URL: #33570
    Signed-off-by: Gabriel Schulhof <gabriel.schulhof@intel.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Gabriel Schulhof authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    ed741ec View commit details
    Browse the repository at this point in the history
  48. http2: use Object.create(null) for getHeaders

    refactor `getHeaders` to initialize headers using
    `Object.create(null)`
    
    Refs: #29829
    
    PR-URL: #33188
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Sebastiaan Deckers <sebdeckers83@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    rexagod authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    a3b7e59 View commit details
    Browse the repository at this point in the history
  49. build: fix python-version selection with actions

    s/PYTHON\_VERSION/python-version
    
    Refs: https://github.com/actions/setup-python
    Refs: #32609
    
    PR-URL: #33589
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    richardlau authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    11dad02 View commit details
    Browse the repository at this point in the history
  50. src: don't use semicolon outside function

    PR-URL: #33592
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    codebytere committed Jul 8, 2020
    Copy the full SHA
    9c69296 View commit details
    Browse the repository at this point in the history
  51. doc: update txt fandamental and ```raw code blocks

    These are changed to either ```text or ```console.
    
    PR-URL: #33028
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    zeke authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    7dc28ab View commit details
    Browse the repository at this point in the history
  52. http2: add type checks for Http2ServerResponse.end

    Refs: #29829
    
    PR-URL: #33146
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    rexagod authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    8def934 View commit details
    Browse the repository at this point in the history
  53. http2: add writable* properties to compat api

    added writableHighWaterMark, writableLength, and writableFinished
    properties with test.
    
    Refs: #29829
    
    PR-URL: #33506
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    rexagod authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    0f0720a View commit details
    Browse the repository at this point in the history
  54. errors: fully inspect errors on exit

    This makes sure errors are fully inspected during exit. That is
    important to provide as many debugging information to the user as
    possible.
    
    Signed-off-by: Ruben Bridgewater <ruben@bridgewater.de>
    
    PR-URL: #33523
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    76b06e5 View commit details
    Browse the repository at this point in the history
  55. console: remove dead code

    This check is always truthy. Thus, it's removed.
    
    Signed-off-by: Ruben Bridgewater <ruben@bridgewater.de>
    
    PR-URL: #33524
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    BridgeAR authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    80782cb View commit details
    Browse the repository at this point in the history
  56. console: mark special console properties as non-enumerable

    This makes sure internal console properties are not visible during
    default inspection. They are still visible when inspecting the
    console with `showHidden` set to `true`.
    
    These properties are confusing while working with the REPL and easily
    show up.
    
    Signed-off-by: Ruben Bridgewater <ruben@bridgewater.de>
    
    PR-URL: #33524
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    BridgeAR authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    d8365bc View commit details
    Browse the repository at this point in the history
  57. console: name console functions appropriately

    The current name of most of the global console functions is
    "bound consoleCall". This is changed to the actual functions name
    e.g., "log" or "error".
    
    Signed-off-by: Ruben Bridgewater <ruben@bridgewater.de>
    
    PR-URL: #33524
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    BridgeAR authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    a9c5b33 View commit details
    Browse the repository at this point in the history
  58. doc: outline when origin is set to unhandledRejection

    The `uncaughtException` listener's origin argument was ambiguous
    about unhandled rejections. This should clarify when origin is set
    to `'unhandledRejection'`.
    
    Fixes: #32907
    
    Signed-off-by: Ruben Bridgewater <ruben@bridgewater.de>
    
    PR-URL: #33530
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    5436057 View commit details
    Browse the repository at this point in the history
  59. doc: normalize JavaScript code block info strings

    Prior to this commit, JavaScript fenced code blocks in Markdown files
    had inconsistent info strings. This has been corrected to standardize
    on the one with the highest frequency in the doc/api/ dir.
    
    Stats:
    >  'js' => 1091,
    >  'javascript' => 2,
    
    PR-URL: #33531
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Derek Lewis authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    4fcbfdc View commit details
    Browse the repository at this point in the history
  60. build: add --v8-lite-mode flag

    PR-URL: #33541
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cician authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    a5ce90c View commit details
    Browse the repository at this point in the history
  61. doc: normalize Markdown code block info strings

    Prior to this commit, Markdown fenced code blocks in Markdown
    files had inconsistent info strings. This has been corrected to
    standardize on the one shown in the CommonMark spec.
    
    Refs: https://github.com/commonmark/commonmark-spec/blob/1103710025f340702edcb070be41f9982b6544d5/spec.txt#L131
    
    PR-URL: #33542
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Derek Lewis authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    a3b6095 View commit details
    Browse the repository at this point in the history
  62. wasi: allow WASI stdio to be configured

    This commit adds stdin, stderr, and stdout options to WASI, which
    allow the stdio streams to be configured.
    
    PR-URL: #33544
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    8adfb54 View commit details
    Browse the repository at this point in the history
  63. doc: improve buffer.md a tiny bit

    PR-URL: #33547
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    tomanagle authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    5416635 View commit details
    Browse the repository at this point in the history
  64. napi: add __wasm32__ guards

    PR-URL: #33597
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    devsnek authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    0a949c3 View commit details
    Browse the repository at this point in the history
  65. src: use MaybeLocal.ToLocal instead of IsEmpty worker

    This commit suggest using MaybeLocal.ToLocal and passing in the
    Local<String> node_opts. It also introduces a variable, arg_v8, of type
    Local<String> to enable the use of ToLocal.
    
    The motivation for doing this is that the following
    MaybeLocal::ToLocalChecked and MaybeLocal::FromMaybe calls can then be
    avoided.
    
    PR-URL: #33599
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    danbev authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    99371ad View commit details
    Browse the repository at this point in the history
  66. doc: fix urls to avoid redirection

    Replace redirected urls with the final ones.
    Replace http urls with https ones.
    
    PR-URL: #33614
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    sapics authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    8dbf334 View commit details
    Browse the repository at this point in the history
  67. fs: support util.promisify for fs.readv

    PR-URL: #33590
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    lholmquist authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    c9cf41d View commit details
    Browse the repository at this point in the history
  68. src: avoid OOB read in URL parser

    This is not a big concern, because right now, all (non-test) inputs
    to the parser are `'\0'`-terminated, but we should be future-proof
    here and not perform these OOB reads.
    
    PR-URL: #33640
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    e3beb78 View commit details
    Browse the repository at this point in the history
  69. src: simplify MaybeStackBuffer::capacity()

    PR-URL: #33602
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    bnoordhuis authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    eb8d6f5 View commit details
    Browse the repository at this point in the history
  70. test: uv_tty_init now returns EINVAL on IBM i

    Since the PR libuv/libuv#2753
    has been landed, we need to revert the code change in
    PR #32338.
    
    PR-URL: #33629
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    dmabupt authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    0982bf4 View commit details
    Browse the repository at this point in the history
  71. dns: make dns.Resolver timeout configurable

    PR-URL: #33472
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    bnoordhuis authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    5d3f818 View commit details
    Browse the repository at this point in the history
  72. meta: wrap flaky test template at 80 characters

    The other issue templates are wrapped at 80 characters. This
    commit updates the flaky test template to be consistent.
    
    PR-URL: #33677
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    cjihrig authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    1376c3b View commit details
    Browse the repository at this point in the history
  73. meta: fix a typo in the flaky test template

    "occasionally" was spelled incorrectly.
    
    PR-URL: #33677
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    cjihrig authored and codebytere committed Jul 8, 2020
    Copy the full SHA
    f534ac0 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2020

  1. lib: add Int16Array primordials

    PR-URL: #31205
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Sebastien-Ahkrin authored and codebytere committed Jul 9, 2020
    Copy the full SHA
    69291e4 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2020

  1. doc: add lint disabling comment for collaborator list

    Disable linting for prohibited strings in the collaborator list so that
    sam-github does not have to be sam-GitHub.
    
    Refs: nodejs/remark-preset-lint-node#96
    Signed-off-by: Rich Trott <rtrott@gmail.com>
    
    PR-URL: #33719
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Trott authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    a6f75df View commit details
    Browse the repository at this point in the history
  2. doc: remove shell dollar signs without output

    Related to nodejs/remark-preset-lint-node#94
    
    PR-URL: #33692
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    nschonni authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    067578a View commit details
    Browse the repository at this point in the history
  3. src: remove unnecessary ToLocalChecked call

    PR-URL: #33683
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    danbev authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    d0a7b9f View commit details
    Browse the repository at this point in the history
  4. src: use ToLocal in SafeGetenv

    This commit replaces the IsEmpty call to use ToLocal instead which
    allows for the following ToLocalChecked function call to be avoided.
    
    PR-URL: #33695
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    danbev authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    63147ba View commit details
    Browse the repository at this point in the history
  5. test: changed function to arrow function

    Convert callback functions that are anonymous
    to arrow functions for better readability.
    
    PR-URL: #33711
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    sagar-jadhav authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    8a51670 View commit details
    Browse the repository at this point in the history
  6. tools: update remark-preset-lint-node from 1.15.0 to 1.15.1

    PR-URL: #33727
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Trott authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    8d44c00 View commit details
    Browse the repository at this point in the history
  7. doc: remove default parameter value from header

    In the docs, we specify the default value of function parameters in the
    list below the header. There is one exception where we use default
    parameter notation. Change that instance to be like the rest of the docs
    instead.
    
    I rather like the default parameter notation, and I get why we didn't
    use it to begin with. (The notation didn't exist in JavaScript at the
    time.) I wouldn't mind switching to it, but that would result in big
    churn. That can be a separate topic of discussion. For now, though,
    let's get the docs consistent.
    
    PR-URL: #33752
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    c3f50e3 View commit details
    Browse the repository at this point in the history
  8. doc: normalize C++ code block info strings

    Prior to this commit, C++ fenced code blocks in Markdown files had
    inconsistent info strings. This has been corrected to standarize on
    the one with the highest frequency in the doc/api/ dir.
    
    Stats:
    >  'cpp' => 19,
    >  'C++' => 6,
    >  'c++' => 3,
    
    PR-URL: #33483
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Derek Lewis authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    31063f9 View commit details
    Browse the repository at this point in the history
  9. benchmark: fix async-resource benchmark

    In the benchmark, because it performs asynchronous operations before
    writing its HTTP replies, the underlying socket can be closed by the
    peer before the response is written. Since 28e6626, that means
    that attempting to `.end()` the HTTP response results in an uncaught
    exception, breaking the benchmark.
    
    Fix that by checking whether the response object has been destroyed
    or not before attempting to call `.end()`.
    
    #33591
    
    PR-URL: #33642
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    addaleax authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    99d34ea View commit details
    Browse the repository at this point in the history
  10. stream: fix the spellings

    PR-URL: #33635
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    antsmartian authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    1a5ef19 View commit details
    Browse the repository at this point in the history
  11. doc: change "pre Node.js v0.10" to "prior to Node.js 0.10"

    The phrasing "pre Node.js v0.10" is not grammatical, as "pre" is not a
    word. This also changes "Node.js v0.10" to "Node.js 0.10". We dropped
    use of the "v" prefix in prose some time ago to avoid confusion as to
    whether "v8" referred to the V8 JavaScript engine or Node.js 8.x.
    
    PR-URL: #33754
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    fec56a9 View commit details
    Browse the repository at this point in the history
  12. doc: remove "currently" from util.md

    PR-URL: #33756
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    215325d View commit details
    Browse the repository at this point in the history
  13. doc: remove "currently" from addons.md

    PR-URL: #33756
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    55d84a8 View commit details
    Browse the repository at this point in the history
  14. doc: remove "currently" from vm.md

    PR-URL: #33756
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    772d407 View commit details
    Browse the repository at this point in the history
  15. doc: remove "currently" from repl.md

    PR-URL: #33756
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    43f32e3 View commit details
    Browse the repository at this point in the history
  16. doc: add formatting for version numbers to doc-style-guide.md

    PR-URL: #33755
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    2db875c View commit details
    Browse the repository at this point in the history
  17. doc: fix linting in doc-style-guide.md

    Disable lint checks (enable prohibited-strings remark-lint) for
    doc-style-guide.md:66. This was producing lint errors in builds
    on master.
    
    PR-URL: #33787
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    rexagod authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    6db21cc View commit details
    Browse the repository at this point in the history
  18. fs: close file descriptor of promisified truncate

    Original PR:
      PR-URL: #28858
      Reviewed-By: Rich Trott <rtrott@gmail.com>
      Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    
    PR-URL: #34239
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    joaocgreis authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    7aac983 View commit details
    Browse the repository at this point in the history
  19. src: use Check() instead of FromJust in environment

    This commit replaces FromJust() calls with Check() in places where the
    value that FromJust() returns is not used.
    
    PR-URL: #33706
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    danbev authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    8d258c4 View commit details
    Browse the repository at this point in the history
  20. build: add LINT_CPP_FILES to checkimports check

    This commit adds the prerequisites which contains all the files to lint.
    Currently the only the files in 'src' will be checked.
    
    PR-URL: #33697
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    68615a0 View commit details
    Browse the repository at this point in the history
  21. tools: remove unused using declarations code_cache

    This commit removes the reported unused using declarations from
    cache_builder.cc
    
    PR-URL: #33697
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    f458be2 View commit details
    Browse the repository at this point in the history
  22. src,build: add --openssl-default-cipher-list

    This commit adds a configuration option named
    openssl-default-cipher-list which takes a colon separated string
    specifying ciphers that should be used as the default ciphers instead of
    the ones defined in node_constants.
    
    The motivation for this is a use case where Fedora/RHEL would like
    to be able to specify a default cipher in the format PROFILE=SYSTEM.
    This would enable Fedora/RHEL to have a system wide security level for
    all applications.
    
    PR-URL: #33708
    Refs: https://docs.fedoraproject.org/en-US/packaging-guidelines/CryptoPolicies/
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    danbev authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    cad115b View commit details
    Browse the repository at this point in the history
  23. src: add "missing" bash completion options

    Currently, when using the bash completions for node the normal
    completions for filenames directories do not work. For example, after
    finding a node completion and then wanting to use tab completion
    for a filename in the test directory, it is only possible to get the
    name of the test directory completed, followed by a space. What is
    expected is to be able to continue with tab completion for directories.
    
    This commit adds options to the complete command to enable default bash
    completions.
    
    PR-URL: #33744
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    danbev authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    397ff6d View commit details
    Browse the repository at this point in the history
  24. src: simplify Reindent function in json_utils.cc

    PR-URL: #33722
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    sapics authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    c97c287 View commit details
    Browse the repository at this point in the history
  25. doc: update V8 inspector example

    This commit updates the V8 inspector example to reflect what
    is currently printed to the console.
    
    PR-URL: #33758
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    cjihrig authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    69c9233 View commit details
    Browse the repository at this point in the history
  26. inspector: drop 'chrome-' from inspector url

    It has been reported that the
    https://github.com/cjihrig/node-v8-inspector V8 inspector
    extension can no longer connect DevTools (despite no code changes
    to the extension since Feb. 2017). Upon investigation, Chrome
    dropped support for the chrome-devtools: scheme recently. I've
    confirmed that dropping 'chrome-' from the URL here allows the
    debugger to function properly with modern Chrome.
    
    Refs: https://chromium.googlesource.com/chromium/src/+/6700d12448f76712c62a6d2372a95b97a26d4779
    PR-URL: #33758
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    cjihrig authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    26d6b2a View commit details
    Browse the repository at this point in the history
  27. test: fix invalid regular expressions in case test-trace-exit

    PR-URL: #33769
    Fixes: #30516
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    legendecas authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    8149b72 View commit details
    Browse the repository at this point in the history
  28. win,msi: add arm64 config for windows msi

    Adds configuration to allow building an MSI installer for Windows ARM64.
    MSI can be created by running `vcbuild.bat release msi arm64`
    
    Refs: #25998
    Refs: #32582
    
    PR-URL: #33689
    Reviewed-By: João Reis <reis@janeasystems.com>
    Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
    dennisameling authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    7ee0b30 View commit details
    Browse the repository at this point in the history
  29. test: temporarily exclude test on arm

    Refs: #33796
    
    Signed-off-by: Michael Dawson <michael_dawson@ca.ibm.com>
    
    PR-URL: #33814
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    mhdawson authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    ce0ab70 View commit details
    Browse the repository at this point in the history
  30. n-api: ensure scope present for finalization

    Refs: nodejs/node-addon-api#722
    
    Ensure a scope is on stack during finalization
    as finalization functions can create JS Objects
    
    Signed-off-by: Michael Dawson <michael_dawson@ca.ibm.com>
    
    PR-URL: #33508
    Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mhdawson authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    9e5d9d6 View commit details
    Browse the repository at this point in the history
  31. doc: fix misc. mislabeled code block info strings

    Prior to this commit, a handful of misc. code blocks were in need
    of fixup. Corrections are according to predetermined conventions.
    
    Closes: #32938
    
    PR-URL: #33548
    Fixes: #32938
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Derek Lewis authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    ae135bb View commit details
    Browse the repository at this point in the history
  32. doc: use single quotes in --tls-cipher-list

    Currently, running the example code will produce the following error in
    bash:
    $ node --tls-cipher-list="ECDHE-RSA-AES128-GCM-SHA256:!RC4" server.js
    bash: !RC4: event not found
    
    This commit changes the two examples to use single quotes to avoid the
    shell from trying to interpret '!' as the history command.
    
    PR-URL: #33709
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    danbev authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    f9b5514 View commit details
    Browse the repository at this point in the history
  33. doc: add snippet for AsyncResource and EE integration

    PR-URL: #33751
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
    puzpuzpuz authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    e521848 View commit details
    Browse the repository at this point in the history
  34. vm: allow proxy callbacks to throw

    Fixes: #33806
    
    PR-URL: #33808
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    devsnek authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    4500bc4 View commit details
    Browse the repository at this point in the history
  35. src: handle missing TracingController everywhere

    Fixes: #33800
    
    PR-URL: #33815
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    1255e37 View commit details
    Browse the repository at this point in the history
  36. src: simplify format in node_file.cc

    PR-URL: #33660
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    himself65 authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    a285f85 View commit details
    Browse the repository at this point in the history
  37. querystring: improve stringify() performance

    PR-URL: #33669
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    mscdex authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    b461e93 View commit details
    Browse the repository at this point in the history
  38. tools: update ESLint to 7.2.0

    Update ESLint to 7.2.0
    
    PR-URL: #33776
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    cjihrig authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    26c563c View commit details
    Browse the repository at this point in the history
  39. esm: fix loader hooks doc annotations

    Prior to this commit, the type annotations on the ESM loader hooks
    were invalid. This has been corrected and is ensured to be compatible
    with both the TypeScript and Closure type systems.
    
    Notes:
        https://www.typescriptlang.org/play/index.html?useJavaScript=true#code/PQKhCgAIUgBAHAhgJ0QW0gbwM4BdkCWAdgOYC+kArsgDZQwIrpYDyARgFYCmAxrhTwD2RXFwAeuSAAoe1ZFxE0AnpC5p4uJQEp6cJKgyYAYpSJ8CwigBMuAM0SUauAOJdcRwcjSJcu2PNxqImwsAAVkQTQCbC4AHkxIW09vXAAuSDxCUkgyAD4yemBwcXhPSURsJTNE03NhSBI3Dy8fKWoaABpIIRFxXC6be0cXJuSfLSwoSAJbaQBZHwALADpUIitIqQncyAAGZYBWCYTgYEgAZUiubuErAlwLImWpyEhTyGaMq8hPSEQaGiQACqACUADLYAaCL5oa6yPCRSA0QQkAg8RK-GyiLzEYgkDEtXDPV6vd4AQRoAHdEEoQgEgn8iD9OLxJIJZrhFtckl4sDyUulYpk8fkupSufJIJyuC83md+T5piFhNd2VKuRl8HiQsR1ddcIg2DRrobBAA3LjEkn05BMzCy14KtKQADkaEEVkcXBdHVlZAA3FMCqSzgAROxcZBS6EAOQ9lo4IR5fwBP2lUdBEKtNqZgwcTlc7jGuDatC6PVEEgGdnzIyLhK0gbIQA
        https://closure-compiler.appspot.com/home#code%3D%252F%252F%2520%253D%253DClosureCompiler%253D%253D%250A%252F%252F%2520%2540compilation_level%2520ADVANCED_OPTIMIZATIONS%250A%252F%252F%2520%2540warning_level%2520VERBOSE%250A%252F%252F%2520%2540jscomp_error%2520strictCheckTypes%250A%252F%252F%2520%2540language_out%2520ECMASCRIPT_NEXT%250A%252F%252F%2520%2540checks_only%250A%252F%252F%2520%253D%253D%252FClosureCompiler%253D%253D%250A%250A%252F**%250A%2520*%2520%2540param%2520%257Bstring%257D%2520url%250A%2520*%2520%2540param%2520%257BObject%257D%2520context%2520(currently%2520empty)%250A%2520*%2520%2540param%2520%257BFunction%257D%2520defaultGetFormat%250A%2520*%2520%2540returns%2520%257BPromise%253C%257B%2520format%253A%2520string%2520%257D%253E%257D%250A%2520*%252F%250Aexport%2520async%2520function%2520getFormat(url%252C%2520context%252C%2520defaultGetFormat)%2520%257B%250A%2520%2520if%2520(Math.random()%2520%253E%25200.5)%2520%257B%2520%252F%252F%2520Some%2520condition.%250A%2520%2520%2520%2520%252F%252F%2520For%2520some%2520or%2520all%2520URLs%252C%2520do%2520some%2520custom%2520logic%2520for%2520determining%2520format.%250A%2520%2520%2520%2520%252F%252F%2520Always%2520return%2520an%2520object%2520of%2520the%2520form%2520%257Bformat%253A%2520%253Cstring%253E%257D%252C%2520where%2520the%250A%2520%2520%2520%2520%252F%252F%2520format%2520is%2520one%2520of%2520the%2520strings%2520in%2520the%2520table%2520above.%250A%2520%2520%2520%2520return%2520%257B%250A%2520%2520%2520%2520%2520%2520format%253A%2520'module'%252C%250A%2520%2520%2520%2520%257D%253B%250A%2520%2520%257D%250A%2520%2520%252F%252F%2520Defer%2520to%2520Node.js%2520for%2520all%2520other%2520URLs.%250A%2520%2520return%2520defaultGetFormat(url%252C%2520context%252C%2520defaultGetFormat)%253B%250A%257D
    
        https://www.typescriptlang.org/play/?useJavaScript=true#code/PQKhCgAIUgBAHAhgJ0QW0gbwM4BdkCWAdgOYC+k28ApgMYEBmB1yUMCK6WmbkfSyakVwBVAEoAZAFyQAhAAo8hUpAA+kAK5EAJtSZFq2gJQAaXn1oB7HQVwFr2GQoCCyVAE8APEuIkAfKa8ZBRWwtQAHri8HKgYmABiWrR21hS6DIgaADa4YtTYllkAbtTRgrgayETYWAoACsiWaATY1J6YmshZMj4qZAFkbMDgEfCWyLiQiNjuRLSQDEkpRJCCBcXUijT0TCwmkKG4Ebj76Zk5eeslRlhQBw6THQJCopKQALyQRNlZkBSfh2OAG47oxIPIALKIXAACwAdKgdE15Dc-JAAAxwgCsNw6wGAkAAyk1qPcbMs4Xc+PjIPFxpQSZB6Ygsr8qHRGMxkNhTpYGWhSbQNHgmpAspYSAR5gx6WtCkVfJS+NSCc4sgB3RDuGrlSorRArSwAIwAVnRJpYGJBYaSZcg4pVupBvPhfH4yErlbqqrdlcrHTJnsJxBJIAB+Kl+r7UdWQENbDm7ZD7IOvCRGOEwwRWqSRv0GWPx9k7LkZrN6Mx+sggviDPhgyHQ+GI7TIm6eDHY3GQGnOIiWG3IMnaWz2IielWQADqMKEBxZWV8kAABmdsrl8vLqMv9japsgSBoBcIarQDZAjaS0JYR7ttHDIABJFawlqRmln1qQWwAchqiG0EcVANAdZyHIoWQ0W16TQaFaBhJdQhHZYWUgUZxlwbAJ1WagKh9NcLk3DYExLPZfSjOFKMBSJKyjJDRwcGQAG1KLhajcDY6xkLHHlIB-EDBwAWno5YfwAXVo2sjBrP47hpAARPQWGtPkADkb2oOETRqO0plZJlB0obZORYLC7m9FYCI3K5NmLEzkzJI4aMgKzLi3aTwDIIA
        https://closure-compiler.appspot.com/home#code%3D%252F%252F%2520%253D%253DClosureCompiler%253D%253D%250A%252F%252F%2520%2540compilation_level%2520ADVANCED_OPTIMIZATIONS%250A%252F%252F%2520%2540warning_level%2520VERBOSE%250A%252F%252F%2520%2540jscomp_error%2520strictCheckTypes%250A%252F%252F%2520%2540language_out%2520ECMASCRIPT_NEXT%250A%252F%252F%2520%2540checks_only%250A%252F%252F%2520%253D%253D%252FClosureCompiler%253D%253D%250A%250A%252F**%250A%2520*%2520%2540param%2520%257Bstring%257D%2520specifier%250A%2520*%2520%2540param%2520%257B%257B%250A%2520*%2520%2520%2520parentURL%253A%2520!(string%2520%257C%2520undefined)%252C%250A%2520*%2520%2520%2520conditions%253A%2520!(Array%253Cstring%253E)%252C%250A%2520*%2520%257D%257D%2520context%250A%2520*%2520%2540param%2520%257BFunction%257D%2520defaultResolve%250A%2520*%2520%2540returns%2520%257B!(Promise%253C%257B%2520url%253A%2520string%2520%257D%253E)%257D%250A%2520*%252F%250Aexport%2520async%2520function%2520resolve(specifier%252C%2520context%252C%2520defaultResolve)%2520%257B%250A%2520%2520const%2520%257B%2520parentURL%2520%253D%2520null%2520%257D%2520%253D%2520context%253B%250A%2520%2520if%2520(Math.random()%2520%253E%25200.5)%2520%257B%2520%252F%252F%2520Some%2520condition.%250A%2520%2520%2520%2520%252F%252F%2520For%2520some%2520or%2520all%2520specifiers%252C%2520do%2520some%2520custom%2520logic%2520for%2520resolving.%250A%2520%2520%2520%2520%252F%252F%2520Always%2520return%2520an%2520object%2520of%2520the%2520form%2520%257Burl%253A%2520%253Cstring%253E%257D.%250A%2520%2520%2520%2520return%2520%257B%250A%2520%2520%2520%2520%2520%2520url%253A%2520parentURL%2520%253F%250A%2520%2520%2520%2520%2520%2520%2520%2520new%2520URL(specifier%252C%2520parentURL).href%2520%253A%250A%2520%2520%2520%2520%2520%2520%2520%2520new%2520URL(specifier).href%252C%250A%2520%2520%2520%2520%257D%253B%250A%2520%2520%257D%250A%2520%2520if%2520(Math.random()%2520%253C%25200.5)%2520%257B%2520%252F%252F%2520Another%2520condition.%250A%2520%2520%2520%2520%252F%252F%2520When%2520calling%2520%2560defaultResolve%2560%252C%2520the%2520arguments%2520can%2520be%2520modified.%2520In%2520this%250A%2520%2520%2520%2520%252F%252F%2520case%2520it's%2520adding%2520another%2520value%2520for%2520matching%2520conditional%2520exports.%250A%2520%2520%2520%2520return%2520defaultResolve(specifier%252C%2520%257B%250A%2520%2520%2520%2520%2520%2520...context%252C%250A%2520%2520%2520%2520%2520%2520conditions%253A%2520%255B...context.conditions%252C%2520'another-condition'%255D%252C%250A%2520%2520%2520%2520%257D)%253B%250A%2520%2520%257D%250A%2520%2520%252F%252F%2520Defer%2520to%2520Node.js%2520for%2520all%2520other%2520specifiers.%250A%2520%2520return%2520defaultResolve(specifier%252C%2520context%252C%2520defaultResolve)%253B%250A%257D
    
        https://www.typescriptlang.org/play/?useJavaScript=true#code/PQKhCgAIUgBAHAhgJ0QW0gbwM4BdkCWAdgOYC+kArsgDZQwIrpaaQBmA9smorgFyQ8hUpDIUAxhyK4ApgA9c9OElQZMAMUpFxuAlIoATGW0SUauAOIzcAZQ7VxMpbGTXqRbFgAKyDmgLYMgA8rNj2yI4CAIQAFDYAFigyBgCCyKgAngBClGxsMsiQAD6C+MQkxZAAqsS4ABxpmQCUogB8ZPTA4PLwXLiQiNgZ2uxaOnpEkCTWdg4yMdQ0ADSQktLyuCtGJmaWM+GOLZhQq1J4WOxcPP0UALyn6woA3CcEbJAxALK88QB0qEQDH4Yi1WpAAAy-ACsR0gwGAkDsaBkDwMBF0Ul+J0gcIR6i4gj8KIJiBoNGqACUADLYLYcQnI1aUPB+SA0DgkAjiS6FVxlGQAN3KkFw8RRYTmWJxOPhkBSNAA7ogMp4+e4BpMOAAjABWMh0kA471FKM43CwEoiMgEQSE5SKWty+WQ7Sl0rVyEmx2l0stkUgAHJfsGA0tsaIXjiOjKEQARYwFEX0gByHCMvx1njNAzJhpNhSq1Owbo9k22pnMVlsB3mixWa1kCi2xgre2rcyaLzIQA
        https://closure-compiler.appspot.com/home#code%3D%252F%252F%2520%253D%253DClosureCompiler%253D%253D%250A%252F%252F%2520%2540compilation_level%2520ADVANCED_OPTIMIZATIONS%250A%252F%252F%2520%2540warning_level%2520VERBOSE%250A%252F%252F%2520%2540jscomp_error%2520strictCheckTypes%250A%252F%252F%2520%2540language_out%2520ECMASCRIPT_NEXT%250A%252F%252F%2520%2540checks_only%250A%252F%252F%2520%253D%253D%252FClosureCompiler%253D%253D%250A%250A%252F**%250A%2520*%2520%2540param%2520%257Bstring%257D%2520url%250A%2520*%2520%2540param%2520%257B%257B%2520format%253A%2520string%2520%257D%257D%2520context%250A%2520*%2520%2540param%2520%257BFunction%257D%2520defaultGetSource%250A%2520*%2520%2540returns%2520%257BPromise%253C%257B%2520source%253A%2520!(SharedArrayBuffer%2520%257C%2520string%2520%257C%2520Uint8Array)%2520%257D%253E%257D%250A%2520*%252F%250Aexport%2520async%2520function%2520getSource(url%252C%2520context%252C%2520defaultGetSource)%2520%257B%250A%2520%2520const%2520%257B%2520format%2520%257D%2520%253D%2520context%253B%250A%2520%2520if%2520(Math.random()%2520%253E%25200.5)%2520%257B%2520%252F%252F%2520Some%2520condition.%250A%2520%2520%2520%2520%252F%252F%2520For%2520some%2520or%2520all%2520URLs%252C%2520do%2520some%2520custom%2520logic%2520for%2520retrieving%2520the%2520source.%250A%2520%2520%2520%2520%252F%252F%2520Always%2520return%2520an%2520object%2520of%2520the%2520form%2520%257Bsource%253A%2520%253Cstring%257Cbuffer%253E%257D.%250A%2520%2520%2520%2520return%2520%257B%250A%2520%2520%2520%2520%2520%2520source%253A%2520'...'%252C%250A%2520%2520%2520%2520%257D%253B%250A%2520%2520%257D%250A%2520%2520%252F%252F%2520Defer%2520to%2520Node.js%2520for%2520all%2520other%2520URLs.%250A%2520%2520return%2520defaultGetSource(url%252C%2520context%252C%2520defaultGetSource)%253B%250A%257D
    
        https://www.typescriptlang.org/play/?useJavaScript=true#code/PQKhCgAIUgBAHAhgJ0QW0gbwIQAoDKAFigKYAmAgsqgJ4BCArgGZMnKQA+kAzgC7IBLAHYBzTpACqw3gA4qtAJQBfHgHsGyAMYkoMBCnRZMuyKY0AbAFw9+wkQBoTppquRpEva30GjH0SEoqmqpCvCQAHrwm+qgYmABiDEKavAIhKmQkTIgM5rwAKqhC3C5u+OpaOv6wyCS8GsVYAArIqmgC3CQAPJhqGtrWeESklNSI9Mys7FzeduJSoXJjNAoBAHxKusDgEfCuvJCI3DTJkExJKWlCkPyIxaVo5f0kuNwV2vaQwaERvJ+Z2VyBSKJVcj3eJFWxlM3z4WEgFk+Dw8AUgAF4viEwpEANxQSACJiQXAAWQ8hAAdEUyG1cKs1pAAAwUgCsUMgwGAkHKaBImKEZAEqRCFPxpk5kHirjUvMg0sQ5nMkgASgAZbj-VQyvmaBh8NqQcyqEQCTRnaVoVSCpg0Oa8Qh8t7PUWmcVcijmADu424kFq9WQ1zucoARgArEgpOVE+18h5YJ2VaxdWaiDghyZsDYu13+hpYMWuxMDSAAcgpFdLfldSjxpk2bsgABEsmwblqAHJWkgUsO+0qHRVy2PsYskbg5vOByAAnJ5Qp3UFlCGvCGfb7Yv4zrJz4GLh5PSoKPFKIA
        https://closure-compiler.appspot.com/home#code%3D%252F%252F%2520%253D%253DClosureCompiler%253D%253D%250A%252F%252F%2520%2540compilation_level%2520ADVANCED_OPTIMIZATIONS%250A%252F%252F%2520%2540warning_level%2520VERBOSE%250A%252F%252F%2520%2540jscomp_error%2520strictCheckTypes%250A%252F%252F%2520%2540language_out%2520ECMASCRIPT_NEXT%250A%252F%252F%2520%2540checks_only%250A%252F%252F%2520%253D%253D%252FClosureCompiler%253D%253D%250A%250A%252F**%250A%2520*%2520%2540param%2520%257B!(SharedArrayBuffer%2520%257C%2520string%2520%257C%2520Uint8Array)%257D%2520source%250A%2520*%2520%2540param%2520%257B%257B%250A%2520*%2520%2520%2520url%253A%2520string%252C%250A%2520*%2520%2520%2520format%253A%2520string%252C%250A%2520*%2520%257D%257D%2520context%250A%2520*%2520%2540param%2520%257BFunction%257D%2520defaultTransformSource%250A%2520*%2520%2540returns%2520%257BPromise%253C%257B%2520source%253A%2520!(SharedArrayBuffer%2520%257C%2520string%2520%257C%2520Uint8Array)%2520%257D%253E%257D%250A%2520*%252F%250Aexport%2520async%2520function%2520transformSource(source%252C%2520context%252C%2520defaultTransformSource)%2520%257B%250A%2520%2520const%2520%257B%2520url%252C%2520format%2520%257D%2520%253D%2520context%253B%250A%2520%2520if%2520(Math.random()%2520%253E%25200.5)%2520%257B%2520%252F%252F%2520Some%2520condition.%250A%2520%2520%2520%2520%252F%252F%2520For%2520some%2520or%2520all%2520URLs%252C%2520do%2520some%2520custom%2520logic%2520for%2520modifying%2520the%2520source.%250A%2520%2520%2520%2520%252F%252F%2520Always%2520return%2520an%2520object%2520of%2520the%2520form%2520%257Bsource%253A%2520%253Cstring%257Cbuffer%253E%257D.%250A%2520%2520%2520%2520return%2520%257B%250A%2520%2520%2520%2520%2520%2520source%253A%2520'...'%252C%250A%2520%2520%2520%2520%257D%253B%250A%2520%2520%257D%250A%2520%2520%252F%252F%2520Defer%2520to%2520Node.js%2520for%2520all%2520other%2520sources.%250A%2520%2520return%2520defaultTransformSource(source%252C%2520context%252C%2520defaultTransformSource)%253B%250A%257D
    
    PR-URL: #33563
    Co-authored-by: Geoffrey Booth <webmaster@geoffreybooth.com>
    Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
    2 people authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    0590c0e View commit details
    Browse the repository at this point in the history
  40. doc: move --force-context-aware option in cli.md

    This commit moves the --force-context-aware option so that the options
    list is in alphabetical order.
    
    PR-URL: #33823
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    danbev authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    6840aef View commit details
    Browse the repository at this point in the history
  41. src: avoid unnecessary ToLocalChecked calls

    This commit removes two unnecessary ToLocalChecked calls in
    StringBytes::Encode.
    
    PR-URL: #33824
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    danbev authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    53f4295 View commit details
    Browse the repository at this point in the history
  42. src: remove unused vector include in string_bytes

    PR-URL: #33824
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    danbev authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    70d46ab View commit details
    Browse the repository at this point in the history
  43. src: remove ref to tools/generate_code_cache.js

    This commit removes the reference to tools/generate_code_cache.js
    and replaces it with a note about more information being available
    in tools/code_cache/README.md.
    
    PR-URL: #33825
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    danbev authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    ff43af3 View commit details
    Browse the repository at this point in the history
  44. tools: remove unused vector include in mkdcodecache

    PR-URL: #33828
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    danbev authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    23a21ed View commit details
    Browse the repository at this point in the history
  45. tools: prevent js2c from running if nothing changed

    This commit updates tools/js2c.py to touch the target output file
    , <(SHARED_INTERMEDIATE_DIR)/node_javascript.cc, even if the content
    has not changed. This is to "help" the build system so that it can
    compare the inputs against the output to determine if the gyp action
    should be run.
    
    I believe the issue here is that if js2c.py is updated this can
    cause the action to be run as the node_javascript.cc target would be
    older than js2c.py. But when the target is run the timestamp for
    node_javascript.cc will not be updated (because we have not changed
    anything that would change the contents of the file) so the js2c.py
    prerequisite will always be passed and the target always run.
    
    Using the update in this commit one would have to touch/modify one of
    the js files specified in the library_files list, config.gypi, or
    tools/js2c.py for this action to be run again.
    
    PR-URL: #33844
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    danbev authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    1af9a4e View commit details
    Browse the repository at this point in the history
  46. n-api: document nextTick timing in callbacks

    PR-URL: #33804
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    mafintosh authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    bf1463f View commit details
    Browse the repository at this point in the history
  47. src: do not track BaseObjects via cleanup hooks

    Since f59ec2a, `BaseObject` instances were tracked in heap snapshots
    through their associated `CleanupHookCallback`s which were stored on
    the `Environment`; however, this is inaccurate, because:
    
    - Edges in heap dumps imply a keeps-alive relationship, but cleanup
      hooks do not keep the `BaseObject`s that they point to alive.
    - It loses information about whether `BaseObject` instances are
      GC roots: Even weak `BaseObject`s are now, practically speaking,
      showing up as hanging off a GC root when that isn’t actually the case
      (e.g. in the description of #33468).
    
    Thus, this is a partial revert of f59ec2a.
    
    Refs: #33468
    Refs: #27018
    
    PR-URL: #33809
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    e7dab2c View commit details
    Browse the repository at this point in the history
  48. src: reduce scope of code cache mutex

    As indicated in the added comment, this can lead to a deadlock
    otherwise. In the concrete instance in which I encountered this,
    the relevant nested call is the one to `require('internal/tty')`
    inside of the `afterInspector()` function for uncaught exception
    handling.
    
    PR-URL: #33980
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    addaleax authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    cc2d380 View commit details
    Browse the repository at this point in the history
  49. test: print arguments passed to mustNotCall function

    Refs: #33949 (comment)
    Signed-off-by: Denys Otrishko <shishugi@gmail.com>
    
    PR-URL: #33951
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    lundibundi authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    f568a48 View commit details
    Browse the repository at this point in the history
  50. querystring: fix stringify for empty array

    PR-URL: #33918
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    sapics authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    331740b View commit details
    Browse the repository at this point in the history
  51. doc: specify default encoding in writable.write

    Refs: #33715
    
    PR-URL: #33765
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    rexagod authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    e5a1ca2 View commit details
    Browse the repository at this point in the history
  52. doc: link readable._read in stream.md

    Refs: #33715
    
    PR-URL: #33767
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    rexagod authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    a2daa7b View commit details
    Browse the repository at this point in the history
  53. lib: replace charCodeAt with fixed Unicode

    PR-URL: #32758
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    rickyes authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    fdd3f3d View commit details
    Browse the repository at this point in the history
  54. util: gracefully handle unknown colors

    This makes sure colors that are unknown won't cause an error. This
    is especially important in case a library wants to use colors
    defined by Node.js core, if available and fall back to the default
    otherwise.
    
    Signed-off-by: Ruben Bridgewater <ruben@bridgewater.de>
    
    PR-URL: #33797
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    BridgeAR authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    ca8fb58 View commit details
    Browse the repository at this point in the history
  55. async_hooks: callback trampoline for MakeCallback

    PR-URL: #33801
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Qard authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    e7b7a9d View commit details
    Browse the repository at this point in the history
  56. domain: remove native domain code

    With the async_hooks callback trampoline, domains no longer need any
    native code. With this, domains can exist in pure JavaScript.
    
    PR-URL: #33801
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Qard authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    13d1cae View commit details
    Browse the repository at this point in the history
  57. module: fix error message about importing names from cjs

    When importing specific names from a CJS module, and renaming them using
    `as`, the example fix in the error message erroneously contains the
    keyword `as` in the destructuring variable declaration.
    
    Example of this issue:
    
        import { parse as acornParse } from "acorn";
                 ^^^^^
        SyntaxError: The requested module 'acorn' is expected to be of type CommonJS, which does not support named exports. CommonJS modules can be imported by importing the default export.
        For example:
        import pkg from 'acorn';
        const { parse as acornParse } = pkg;
    
    PR-URL: #33882
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    fabiosantoscode authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    42ebe7a View commit details
    Browse the repository at this point in the history
  58. http2: always call callback on Http2ServerResponse#end

    Fixes: #28001
    
    PR-URL: #33911
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    rexagod authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    f999907 View commit details
    Browse the repository at this point in the history
  59. doc: update WASM code sample

    - Code sample updated by adding a hello-world (`demo.wat`) code example
    - Step for compiling `.wat` to `.wasm` added (with reference to `wabt`
      tools)
    - The sample code prints "hello world\n" in the console
    
    This update adds a very minimal change to the existing sample and can be
    treated as an extension.
    
    PR-URL: #33626
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    pragyandas authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    5ee9509 View commit details
    Browse the repository at this point in the history
  60. meta: introduce codeowners again

    The [Contributor's Survey
    results](nodejs/TSC#882) highlight the fact that
    it is often not easy for contributors to know who the right people are
    to talk to about a proposed change or who to ask for reviews of a given
    subsystem. We briefly toyed around with codeowners before when GitHub
    introduced it but just as quickly disabled it because the structure of
    our repository made it exceedingly difficult to get right.
    
    Rather than start with a codeowners for the entire project, I propose
    that we start with a small experiment focused on specific subsystems.
    Specifically, codeowners for modules, streams, net/tls, http/http2, and
    quic (once that lands). We can expand out from there as we see how
    things go with the minimal starter set. Initially this just enables
    codeowners for the `quic` subsystem.
    
    A couple of points:
    
    1. A codeowner should always be a team, never an individual person
    2. Each codeowner team should contain at least one TSC member (to
    provide coverage for signing off on semver-major changes)
    3. PRs touching any code with a codeowner must be signed off by at least
    one person on the codeowner team
    
    PR-URL: #33895
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    jasnell authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    9f4f4de View commit details
    Browse the repository at this point in the history
  61. doc: use Class: consistently

    The docs contain 122 uses of `Class:` in headers and one use of `class:`
    in headers. This changes that one instance to conform with the other
    instances.
    
    PR-URL: #33978
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    ec8f4d3 View commit details
    Browse the repository at this point in the history
  62. doc: change "GitHub Repo" to "Code repository"

    "GitHub Repo & Issue Tracker" changed to "Code repository and issue
    tracker".
    
    PR-URL: #33985
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Trott authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    9a1f98b View commit details
    Browse the repository at this point in the history
  63. doc: fix lexical sorting of bottom-references in dns doc

    The links are sorted in lexical order except for the two RFC links which
    are reversed. Fix that.
    
    PR-URL: #33987
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    56722fe View commit details
    Browse the repository at this point in the history
  64. build: add target specific build_type variable

    This commit add a target specific variable named 'build_type' to the
    node and node_g targets.
    
    The motivation for doing this is that both targets share the same
    prerequisites, and the recepies are the same (apart from the build type)
    so some duplication can be avoided.
    
    PR-URL: #33925
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    8046c8b View commit details
    Browse the repository at this point in the history
  65. doc: warn that tls.connect() doesn't set SNI

    Add a note warning users that when using tls.connect(),
    the `servername` option must be set explicitely to enable
    SNI, otherwise the connection could fail.
    
    PR-URL: #33855
    Fixes: #28167
    Co-authored-by: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    2 people authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    070cedb View commit details
    Browse the repository at this point in the history
  66. src: improve indention for upd_wrap.cc

    PR-URL: #33976
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    gengjiawen authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    37692b5 View commit details
    Browse the repository at this point in the history
  67. test: fix typo in common/index.js

    PR-URL: #33976
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    gengjiawen authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    eb4b1d6 View commit details
    Browse the repository at this point in the history
  68. doc: update fs.md

    First class heading is made to look like other headings.
    
    PR-URL: #33820
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Shakil-Shahadat authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    f205b5f View commit details
    Browse the repository at this point in the history
  69. doc: revise text in dns module documentation introduction

    PR-URL: #33986
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    a4e4222 View commit details
    Browse the repository at this point in the history
  70. test: account for non-node basename

    PR-URL: #33952
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    codebytere committed Jul 14, 2020
    Copy the full SHA
    4291b11 View commit details
    Browse the repository at this point in the history
  71. doc: use a single space between sentences

    We mostly have a single space between the punctuation that ends a
    sentence and the start of the next sentence. Change instances with two
    spaces to one.
    
    PR-URL: #33995
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    aa9badf View commit details
    Browse the repository at this point in the history
  72. doc: correct default values in http2 docs

    The http2 docs include invalid JavaScript values as defaults for three
    options. The intention was increased clarity, but we specify valid
    values everywhere else in our docs, so let's do that for consistency.
    
    PR-URL: #33997
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    4b1f072 View commit details
    Browse the repository at this point in the history
  73. doc: use npm team for npm upgrades in collaborator guide

    The collaborator guide suggests pinging individuals about npm upgrades.
    Change to pinging the npm team instead.
    
    PR-URL: #33999
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
    Trott authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    fb15482 View commit details
    Browse the repository at this point in the history
  74. doc: clarify thread-safe function references

    PR-URL: #33871
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
    legendecas authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    c0febb5 View commit details
    Browse the repository at this point in the history
  75. tools: remove superfluous regex in tools/doc/json.js

    Remove noCallOrProp from tools/doc/json.js. It is a negative lookahead
    that is only used in one regex where it is placed immediately before a
    terminating $, thus rendering it meaningless.
    
    PR-URL: #33998
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Jamie Davis <davisjam@vt.edu>
    Trott authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    32bbdc4 View commit details
    Browse the repository at this point in the history
  76. fs: fix realpath inode link caching

    The `fs.realpath` / `fs.realpathSync` cache already seen symbolic links
    using the inode number which may be longer that max supported
    JS number (2**53) and will therefore be incorrectly handled by possibly
    entering infinite loop of calling stat on the same node.
    
    This PR changes those functions (where appropriate) to use
    bigint for inode numbers.
    
    Fixes: #33936
    
    PR-URL: #33945
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    lundibundi authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    345e793 View commit details
    Browse the repository at this point in the history
  77. build: configure byte order for mips targets

    The build defaulted to the byte order of the host system but
    that can be different from the endianness of the target system.
    
    Refs: #33703 (comment)
    
    PR-URL: #33898
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    bnoordhuis authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    78efcaf View commit details
    Browse the repository at this point in the history
  78. configure: account for CLANG_VENDOR when checking for llvm version

    Fixes: #29536
    
    PR-URL: #33860
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Nathan Blair authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    7f70c5d View commit details
    Browse the repository at this point in the history
  79. src: handle empty Maybe(Local) in node_util.cc

    PR-URL: #33867
    Refs: https://github.com/nodejs/node/blob/master/src/README.md#checked-conversion
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    46dce9b View commit details
    Browse the repository at this point in the history
  80. src: use ToLocal in node_os.cc

    PR-URL: #33939
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    wenningplus authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    d30e820 View commit details
    Browse the repository at this point in the history
  81. doc: add allowed info strings to style guide

    This commit adds the list of agreed-upon info strings to the
    documentation style guide to aid with future development and
    maintenance.
    
    Refs: #33510
    Refs: #33507
    Refs: #33483
    Refs: #33531
    Refs: #33542
    Refs: #33028
    Refs: #33548
    Refs: #33486
    
    PR-URL: #34024
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Derek Lewis authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    d9bfac6 View commit details
    Browse the repository at this point in the history
  82. util: support Combining Diacritical Marks for Symbols

    This adds support for the "Combining Diacritical Marks for Symbols"
    unicode group to calculate a zero length width even if Node.js is
    built without ICU.
    
    Signed-off-by: Ruben Bridgewater <ruben@bridgewater.de>
    
    PR-URL: #33650
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    BridgeAR authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    9d9c15a View commit details
    Browse the repository at this point in the history
  83. util: fix width detection for DEL without ICU

    This makes sure the DEL character (ASCII 127) is detected as a zero
    width character even if Node.js is not built with ICU.
    
    Signed-off-by: Ruben Bridgewater <ruben@bridgewater.de>
    
    PR-URL: #33650
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    BridgeAR authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    677dce1 View commit details
    Browse the repository at this point in the history
  84. src: remove unnecessary calculation in base64.h

    PR-URL: #33839
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    sapics authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    1bfa597 View commit details
    Browse the repository at this point in the history
  85. doc: specify maxHeaderCount alias for maxHeaderListPairs

    Fixes: #32388
    
    PR-URL: #33519
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    rexagod authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    4f9ab07 View commit details
    Browse the repository at this point in the history
  86. test: add test for Http2ServerResponse#[writableCorked,cork,uncork]

    PR-URL: #33956
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    rexagod authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    689056b View commit details
    Browse the repository at this point in the history
  87. src: clang_format base_object

    PR-URL: #33680
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    yashLadha authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    25023cf View commit details
    Browse the repository at this point in the history
  88. src: tolerate EPERM returned from tcsetattr

    macOS app sandbox makes tcsetattr return EPERM. The CHECK_EQ(0, err)
    here would fail when a sandboxed Node.js process is exiting. This commit
    fixes this issue.
    
    * test: add test for running in macOS app sandbox
    
    Bare-bone command-line executables cannot run directly in the app sandbox.
    To test that Node.js is able to run in the sandbox (and to test the fix in
    317621b), this commit creates a typical
    Cocoa app bundle, puts the node executable in it and calles Apple's codesign
    command to enable sandbox.
    
    * test: use process.execPath to get path of testing node
    
    PR-URL: #33944
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    branchseer authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    d16e51b View commit details
    Browse the repository at this point in the history
  89. fs: fix readdir failure when libuv returns UV_DIRENT_UNKNOWN

    Fixes: #33348
    
    PR-URL: #33395
    Refs: #33348
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    shackijj authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    47132ec View commit details
    Browse the repository at this point in the history
  90. src: add errorProperties on process.report

    PR-URL: #28426
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    himself65 authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    bde3fb2 View commit details
    Browse the repository at this point in the history
  91. n-api: add version to wasm registration

    PR-URL: #34045
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    devsnek authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    c0d6ff5 View commit details
    Browse the repository at this point in the history
  92. tools: update remark-preset-lint-node@1.15.1 to 1.16.0

    This adds linting for code fence language/grammar strings. This is so,
    for example, we have only one of ```text and ```txt and not both.
    
    PR-URL: #33852
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Trott authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    ceef356 View commit details
    Browse the repository at this point in the history
  93. doc: update code language flag for internal doc

    Use `bash` instead of `shell` for code language flag in
    doc/guides/maintaining-ngtcp2-nghttp3.md to conform with our other docs
    and upcoming lint requirements.
    
    PR-URL: #33852
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Trott authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    ce4d73c View commit details
    Browse the repository at this point in the history
  94. tools: enable no-else-return lint rule

    Refs: #32644
    Refs: #32662
    
    PR-URL: #32667
    Backport-PR-URL: #34275
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    lpinca authored and codebytere committed Jul 14, 2020
    Copy the full SHA
    248f9af View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2020

  1. domain: fix unintentional deprecation warning

    646e5a4 changed the way that the domain hook callback
    is called. Previously, the callback was only used in the case that
    async_hooks were *not* being used (since domains already integrate
    with async hooks the way they should), and the corresponding
    deprecation warning also only emitted in that case.
    
    However, that commit didn’t move that condition along when the code
    was ported from C++ to JS. As a consequence, the domain hook callback
    was used when it wasn’t necessary to use it, and the deprecation
    warning emitted accidentally along with it.
    
    Refs: 646e5a4#diff-9f21ce1b9d6d46fdd07b969e8a04e140L192
    Refs: 646e5a4#diff-e6db408e12db906ead6ddfac3de15a6fR119
    Refs: #33801 (comment)
    
    PR-URL: #34245
    Fixes: #34069
    Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
    Reviewed-By: Shelley Vohr <codebytere@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    addaleax authored and codebytere committed Jul 21, 2020
    Copy the full SHA
    93928ac View commit details
    Browse the repository at this point in the history
  2. deps: upgrade npm to 6.14.6

    PR-URL: #34246
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    claudiahdz authored and codebytere committed Jul 21, 2020
    Copy the full SHA
    3b1d9b3 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2020

  1. 2020-07-22, Version 12.18.3 'Erbium' (LTS)

    Notable changes:
    
    deps:
      * upgrade npm to 6.14.6 (claudiahdz) [#34246](#34246)
      * update node-inspect to v2.0.0 (Jan Krems) [#33447](#33447)
      * uvwasi: cherry-pick 9e75217 (Colin Ihrig) [#33521](#33521)
    
    PR-URL: #34343
    codebytere committed Jul 22, 2020
    Copy the full SHA
    e3e0927 View commit details
    Browse the repository at this point in the history