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

v14.7.0 proposal #34542

Merged
merged 75 commits into from Jul 29, 2020
Merged

v14.7.0 proposal #34542

merged 75 commits into from Jul 29, 2020

Commits on Jul 27, 2020

  1. test: fix flaky test-net-connect-econnrefused

    Test is flaky in CI with `common.PORT` but not flaky if a port is
    determined from createServer() first.
    
    PR-URL: #34330
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Trott authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    8ca8042 View commit details
    Browse the repository at this point in the history
  2. doc,tools: syntax highlight api docs at compile-time

    Prior to this commit, API docs would be highlighted after the page
    loaded using `highlightjs`. This commit still uses `highlightjs`, but
    runs the generation during the compilation of the documentation, making
    it so no script needs to load on the client. This results in a faster
    load, as well as allowing the pages to fully functional even when
    JavaScript is turned off.
    
    PR-URL: #34148
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    tolmasky authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    f60e58b View commit details
    Browse the repository at this point in the history
  3. vm: add tests for function declarations using [[DefineOwnProperty]]

    Refs: #31808
    
    PR-URL: #34032
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gus Caplan <me@gus.host>
    ExE-Boss authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    c9b652f View commit details
    Browse the repository at this point in the history
  4. doc: fix typo in assert.md

    PR-URL: #34316
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    pastelmind authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    c28453a View commit details
    Browse the repository at this point in the history
  5. stream: rename opts to options

    PR-URL: #34339
    Refs: https://nodejs.org/dist/latest-v14.x/docs/api/stream.html#stream_stream_finished_stream_options_callback
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    rickyes authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    3d4f608 View commit details
    Browse the repository at this point in the history
  6. doc: strengthen wording about fs.access() misuse

    PR-URL: #34352
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    346c201 View commit details
    Browse the repository at this point in the history
  7. test: fix test-net-pingpong pummel test for non-IPv6 hosts

    Use `common.hasIPv6` instead of an OS check for more reliable
    operation.
    
    PR-URL: #34359
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Trott authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    ec1393d View commit details
    Browse the repository at this point in the history
  8. net: allow wider regex in interface name

    Zone IDs on Linux are network interface names. The regex we use to
    determine valid IPs does not allow for non-alphanumeric characters
    in the zone ID suffix. Some machines (including the RHEL Linux/s390x
    machines from Marist) have zone IDs with a '.' character in them
    which the regex in net.isIP rejects. This changes the regex.
    
    Ref: #14500
    
    Signed-off-by: Stewart Addison <sxa@uk.ibm.com>
    
    PR-URL: #34364
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Stewart Addison authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    668632d View commit details
    Browse the repository at this point in the history
  9. test: remove common.localhostIPv6

    common.localhostIPv6 is almost entirely unused and is unnecessary.
    Remove it.
    
    PR-URL: #34373
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    699da05 View commit details
    Browse the repository at this point in the history
  10. test: do not write to fixtures dir in test-watch-file

    Switch to tmpDir rather than fixtures for file writing.
    
    PR-URL: #34376
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    77542a4 View commit details
    Browse the repository at this point in the history
  11. doc: strengthen suggestion in errors.md

    Sure, I'm advocating for permitting second-person pronouns in a current
    PR, but the use in errors.md is superfluous and weakens the sentence.
    Remove it.
    
    PR-URL: #34390
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    50fd2b9 View commit details
    Browse the repository at this point in the history
  12. doc: introduce a triager role

    The role helps triaging issue backlogs effectively
    Fixes: #34054
    Refs: nodejs/TSC#891
    
    PR-URL: #34295
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    gireeshpunathil authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    10962c8 View commit details
    Browse the repository at this point in the history
  13. doc: add changes metadata to TLS newSession event

    Refs: #33715
    
    PR-URL: #34294
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    tniessen authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    1083073 View commit details
    Browse the repository at this point in the history
  14. src: refactor CertCbDone to avoid goto statement

    PR-URL: #34325
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    tniessen authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    aef41e5 View commit details
    Browse the repository at this point in the history
  15. tls: remove setMaxSendFragment guards

    Refs: nodejs/node-v0.x-archive#6900
    Refs: nodejs/node-v0.x-archive#6889
    
    PR-URL: #34323
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    tniessen authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    e9c7722 View commit details
    Browse the repository at this point in the history
  16. src: avoid strcmp in SecureContext::Init

    PR-URL: #34329
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    tniessen authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    9d40af5 View commit details
    Browse the repository at this point in the history
  17. doc: use correct identifier for callback argument

    In one place, the fs docs use `previousStat` for an argument that is
    identified as `previous` everywhere else. Use `previous` for
    consistency.
    
    PR-URL: #34405
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Trott authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    4a828c6 View commit details
    Browse the repository at this point in the history
  18. test: fix flaky test-heapdump-http2

    Replace stream.respondWithFile(__filename) with
    stream.respondWithFile(process.execPath). The test file is probably
    small enough on some operating systems to be sent immediately, without
    waiting for the receiving side to do anything.
    
    The fix was figured out by addaleax.
    
    Co-authored-by: Anna Henningsen <anna@addaleax.net>
    Ref: #34389 (comment)
    Fixes: #34389
    
    PR-URL: #34415
    Refs: #34389
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    30da332 View commit details
    Browse the repository at this point in the history
  19. doc: add release key for Richard Lau

    Add Richard Lau and his Release key.
    
    Signed-off-by: Richard Lau <riclau@uk.ibm.com>
    
    PR-URL: #34397
    Refs: nodejs/Release#585
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    richardlau authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    39894f8 View commit details
    Browse the repository at this point in the history
  20. util: improve getStringWidth performance

    This makes sure the common path does not normalize the input string.
    It's only required for characters that are outside of the ASCII range.
    
    Signed-off-by: Ruben Bridgewater <ruben@bridgewater.de>
    
    PR-URL: #33674
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    BridgeAR authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    74da2c4 View commit details
    Browse the repository at this point in the history
  21. src: allow setting a dir for all diagnostic output

    Add a flag that allows for the setting of a directory where all
    diagnostic output will be written to.
    e.g. --redirect-warnings
    
    Refs: #33010 (comment)
    
    PR-URL: #33584
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    AshCripps authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    5c94358 View commit details
    Browse the repository at this point in the history
  22. lib: simplify assignment

    PR-URL: #33718
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    sapics authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    82fad58 View commit details
    Browse the repository at this point in the history
  23. doc: fix typos in n-api, tls and worker_threads

    PR-URL: #34419
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    jucke authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    d67a2b8 View commit details
    Browse the repository at this point in the history
  24. doc: fix line length in worker_threads.md

    PR-URL: #34419
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    jucke authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    905e3d1 View commit details
    Browse the repository at this point in the history
  25. doc: mark Node.js 13 as End-of-Life

    Remove the "Current" label for Node.js 13 in the CHANGELOG.
    
    PR-URL: #34436
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    aduh95 authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    631dd21 View commit details
    Browse the repository at this point in the history
  26. doc: add statement of purpose to documentation style guide

    PR-URL: #34424
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Trott authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    29ad6fb View commit details
    Browse the repository at this point in the history
  27. tools: update ESLint to 7.5.0

    Update ESLint to 7.5.0
    
    PR-URL: #34423
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    cjihrig authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    f4d61c7 View commit details
    Browse the repository at this point in the history
  28. dgram: add IPv6 scope id suffix to received udp6 dgrams

    Add IPv6 link local scope ID suffix to the
    rinfo address in those received upd6 datagrams
    whose source address is a link local address.
    
    Add a new test case, test-dgram-udp6-link-local-address,
    to verify that IPv6 UDP datagrams received from a
    link-local source address do contain the scope ID
    suffix in the rinfo address field.
    
    When a packet is received from a link-local source
    address, if the address does not contain the scope
    ID suffix, it is impossible to reply back to the
    sender, as the kernel is not able to determine
    the right network interface to send the packet
    through and returns with an error.
    
    Ref: #1649
    PR-URL: #14500
    
    Refs: #1649
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Stewart X Addison <sxa@uk.ibm.com>
    pekkanikander authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    02ae6d6 View commit details
    Browse the repository at this point in the history
  29. doc: add rexagod to collaborators

    Fixes: #34121
    PR-URL: #34457
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    rexagod authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    4b4eb5f View commit details
    Browse the repository at this point in the history
  30. src: allow preventing SetPromiseRejectCallback

    PR-URL: #34387
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    codebytere authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    bd9ab00 View commit details
    Browse the repository at this point in the history
  31. build: don't run Actions on non-master pushes

    PR-URL: #34464
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    codebytere authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    3fda3d4 View commit details
    Browse the repository at this point in the history
  32. src: do not crash if ToggleAsyncHook fails during termination

    In the termination case, we should not crash. There’s also no harm
    being done by ignoring the termination exception here, since the
    thread is about to be torn down anyway.
    
    Also, add a guard against running this during shutdown. That is the
    likely cause of #34361.
    
    Fixes: #34361
    
    PR-URL: #34362
    Fixes: #27261
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    d6ee1fd View commit details
    Browse the repository at this point in the history
  33. test: fix flaky test-watch-file

    PR-URL: #34420
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Trott authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    eecb92c View commit details
    Browse the repository at this point in the history
  34. zlib: switch to lazy init for zlib streams

    PR-URL: #34048
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    puzpuzpuz authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    252f376 View commit details
    Browse the repository at this point in the history
  35. doc: add HarshithaKP to collaborators

    Fixes: #34242
    
    PR-URL: #34417
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    HarshithaKP authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    a3c9f75 View commit details
    Browse the repository at this point in the history
  36. doc: add author-ready label ref to onboarding doc

    The "Labels" section of doc/guides/onboarding-extras.md was missing a
    reference to the `author-ready` label. This commit adds a description
    similar to the definition found in doc/guides/collaborator-guide.md
    with the goal of making it easier for new contributors to find labels
    info all in one place.
    
    PR-URL: #34381
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    ruyadorno authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    7d058a4 View commit details
    Browse the repository at this point in the history
  37. test: force resigning of app

    In the GitHub Actions CI, test-macos-app-sandbox.js can fail due
    to the application already being signed. This commit updates
    the test to handle that condition.
    
    Refs: #33944
    PR-URL: #34331
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    cjihrig authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    cd35d00 View commit details
    Browse the repository at this point in the history
  38. test: fixup worker + source map test

    The messaging code uses `Object.defineProperty()`, which accesses
    `value` on `Object.prototype` by default, so some calls to the
    getter here would actually be expected. Instead, make the list
    of accessed properties more specific to the tested source map
    code to avoid flakiness.
    
    Refs: https://twitter.com/addaleax/status/1276289101671608320
    Refs: #34057
    
    PR-URL: #34446
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    addaleax authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    4e2f5fa View commit details
    Browse the repository at this point in the history
  39. test: delete invalid test

    This test has not been working correctly since at least a555be2.
    
    Since it tests internals, any replacement test might become invalid
    in a similar way.
    
    Refs: #34057
    
    PR-URL: #34445
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    addaleax authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    1a9138d View commit details
    Browse the repository at this point in the history
  40. doc: add AshCripps to collaborators

    PR-URL: #34494
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    AshCripps authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    f4a63f3 View commit details
    Browse the repository at this point in the history
  41. doc: match link text in index to doc headline

    The index ToC says "About these docs" but the document itself says
    "About this documentation" which I think is better. Use that.
    
    PR-URL: #34449
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    455dd9c View commit details
    Browse the repository at this point in the history
  42. src: remove unused variable in node_file.cc

    PR-URL: #34317
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    sapics authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    cbe6385 View commit details
    Browse the repository at this point in the history
  43. module: self referential modules in repl or -r

    Load self referential modules from the repl and using the preload flag
    `-r`. In both cases the base path used for resolution is the current
    `process.cwd()`. Also fixes an internal cycle bug in the REPL exports
    resolution.
    
    PR-URL: #32261
    Fixes: #31595
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    dnlup authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    e1199af View commit details
    Browse the repository at this point in the history
  44. build: remove test-tarball action for windows + osx

    This GitHub action takes quite a bit of time to build and is regularly
    flaky. Removing the OSX and Windows target from this action to avoid
    having red actions CI runs.
    
    Refs: #34123
    
    PR-URL: #34440
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    MylesBorins committed Jul 27, 2020
    Copy the full SHA
    70f23eb View commit details
    Browse the repository at this point in the history
  45. doc: move ronkorving to emeritus

    PR-URL: #34471
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Shelley Vohr <codebytere@gmail.com>
    Trott authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    657f2d7 View commit details
    Browse the repository at this point in the history
  46. doc: move thefourtheye to emeritus

    PR-URL: #34471
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Shelley Vohr <codebytere@gmail.com>
    Trott authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    92c57b2 View commit details
    Browse the repository at this point in the history
  47. test: remove duplicate checks in pummel/test-timers

    Remove checks in pummel/test-timers that are already checked in
    parallel/test-timers-clear-null-does-not-throw-error.
    
    PR-URL: #34473
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    81eaaa2 View commit details
    Browse the repository at this point in the history
  48. doc: mention triage in GOVERNANCE.md

    Refs: #34295 (comment)
    PR-URL: #34426
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michael Dawson <Michael_Dawson@ca.ibm.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    gireeshpunathil authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    bbc7eea View commit details
    Browse the repository at this point in the history
  49. doc: onboarding process extras

    Callout some practices explicitly, so that
    the process is followed in a similar manner
    
    PR-URL: #34455
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
    gireeshpunathil authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    99a6487 View commit details
    Browse the repository at this point in the history
  50. test: fix test-heapdump-zlib

    PR-URL: #34499
    Refs: #34048
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    puzpuzpuz authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    3f11ba1 View commit details
    Browse the repository at this point in the history
  51. n-api: run all finalizers via SetImmediate()

    Throwing an exception from a finalizer can cause the following fatal
    error:
    
    Error: async hook stack has become corrupted (actual: 2, expected: 0)
     1: 0x970b5a node::InternalCallbackScope::~InternalCallbackScope()
        [./node]
     2: 0x99dda0 node::Environment::RunTimers(uv_timer_s*) [./node]
     3: 0x13d8b22  [./node]
     4: 0x13dbe42 uv_run [./node]
     5: 0xa57974 node::NodeMainInstance::Run() [./node]
     6: 0x9dbc17 node::Start(int, char**) [./node]
     7: 0x7f4965417f43 __libc_start_main [/lib64/libc.so.6]
     8: 0x96f4ae _start [./node]
    
    By #34341 (comment),
    calling into JS from a finalizer and/or throwing exceptions from there
    is not advised, because the stack may or may not be set up for JS
    execution. The best solution is to run the user's finalizer from a
    `SetImmediate()` callback.
    
    Signed-off-by: Gabriel Schulhof <gabriel.schulhof@intel.com>
    Fixes: #34341
    PR-URL: #34386
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Gabriel Schulhof authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    e7c64af View commit details
    Browse the repository at this point in the history
  52. doc: add Triagers section to table of contents in GOVERNANCE.md

    PR-URL: #34504
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Harshitha K P <harshitha014@gmail.com>
    Trott authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    2297d74 View commit details
    Browse the repository at this point in the history
  53. test: remove superfluous check in pummel/test-timers

    If setTimeout is not a function, this test and most other tests would
    fail. There is no need to check it.
    
    PR-URL: #34488
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Pranshu Srivastava <rexagod@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Trott authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    cc279db View commit details
    Browse the repository at this point in the history
  54. http: don't write error to socket

    The state of the connection is unknown at this point and
    writing to it can corrupt client state before it is aware
    of an error.
    
    PR-URL: #34465
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ronag authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    9b91467 View commit details
    Browse the repository at this point in the history
  55. src: prefer internal fields in ModuleWrap

    Use internal fields instead of `v8::Global`s where possible, since
    they generally come with lower overhead and it’s much harder to
    introduce memory leaks with them.
    
    PR-URL: #34470
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    addaleax authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    b12211e View commit details
    Browse the repository at this point in the history
  56. src: skip weak references for memory tracking

    The memory tracking is supposed to represent the “keeps-alive”
    relations between objects for a heap dump, in order to enable
    developers to figure out which objects keep which other objects
    on the heap.
    
    Weak references do not participate in that relation. Therefore,
    we should not be tracking them.
    
    PR-URL: #34469
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    addaleax authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    c05b63d View commit details
    Browse the repository at this point in the history
  57. doc: remove breaking-change-helper from onboarding-extras

    I don't think anyone uses the breaking change helper code that is in
    onboarding-extras. I'm not sure it works for us anyway as I think it
    will fail if there are any breaking changes since the last release. That
    may be helpful to releasers, but that is not helpful in determining if
    an individual commit is semver-major or not. Regardless, I don't think
    it gets used and I'm interested in not weighing down the onboarding
    process with a bunch of things that we don't actually use/do.
    
    PR-URL: #34497
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Pranshu Srivastava <rexagod@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Trott authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    050866d View commit details
    Browse the repository at this point in the history
  58. doc: revise onboarding-extras

    Revise onboarding-extras for style guide conformance and minor wording
    improvements.
    
    PR-URL: #34496
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    37752cd View commit details
    Browse the repository at this point in the history
  59. doc: use sentence-case for GOVERNANCE.md headers

    Use sentence-case in headers per style guide.
    
    PR-URL: #34503
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    17bca62 View commit details
    Browse the repository at this point in the history
  60. build: don't run test-asan workflow on non-master pushes

    PR-URL: #34509
    Refs: #34464
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    richardlau authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    cce1f3e View commit details
    Browse the repository at this point in the history
  61. deps: upgrade npm to 6.14.7

    PR-URL: #34468
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruy Adorno <ruyadorno@github.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Shelley Vohr <codebytere@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    claudiahdz authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    f7600d5 View commit details
    Browse the repository at this point in the history
  62. build: speed up source tarball creation

    Avoid building the node binary when building the source tarball. We
    need a node binary to build the docs, but it doesn't have to be one
    we build from scratch and can reuse any available node binary.
    
    Skip building the xz compressed tarball in the build-tarball workflow
    as we only use the gzip compressed tarball in the subsequent build
    jobs.
    
    PR-URL: #34508
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    richardlau authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    a4806e2 View commit details
    Browse the repository at this point in the history
  63. http2: avoid unnecessary buffer resize

    Refs: #34315
    Refs: #30351
    
    PR-URL: #34480
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    lundibundi authored and MylesBorins committed Jul 27, 2020
    Copy the full SHA
    098b193 View commit details
    Browse the repository at this point in the history
  64. lib: initialize instance members in class constructors

    Since V8 snapshot does not currently support instance member
    initialization, initialize them in ordianry class constructors
    for now so that these classes can be included in the snapshot.
    This may be reverted once
    https://bugs.chromium.org/p/v8/issues/detail?id=10704
    is fixed and backported.
    
    PR-URL: #32984
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    joyeecheung authored and addaleax committed Jul 27, 2020
    Copy the full SHA
    3024927 View commit details
    Browse the repository at this point in the history
  65. events: expand NodeEventTarget functionality

    Enable `NodeEventTarget` as a base class for `MessagePort`,
    by enabling special processing of events for Node.js listeners,
    and removing implicit constructors/private properties so that
    classes can be made subclasses of `NodeEventTarget` after they
    are created.
    
    PR-URL: #34057
    Refs: https://twitter.com/addaleax/status/1276289101671608320
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    addaleax committed Jul 27, 2020
    Copy the full SHA
    c93a898 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2020

  1. worker: make MessagePort inherit from EventTarget

    Use `NodeEventTarget` to provide a mixed `EventEmitter`/`EventTarget`
    API interface.
    
    PR-URL: #34057
    Refs: https://twitter.com/addaleax/status/1276289101671608320
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    addaleax authored and ruyadorno committed Jul 29, 2020
    Copy the full SHA
    0aa3809 View commit details
    Browse the repository at this point in the history
  2. events: re-use the same isTrusted getter

    Creating a new function each time the property descriptor is set
    comes with performance overhead, since these functions have different
    identities, even if they contain the same code.
    
    Refs: https://twitter.com/tverwaes/status/1285496612618473472
    
    PR-URL: #34459
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    addaleax authored and ruyadorno committed Jul 29, 2020
    Copy the full SHA
    d90967b View commit details
    Browse the repository at this point in the history
  3. Revert "doc: move ronkorving to emeritus"

    This reverts commit c5ef438.
    
    Ron emailed asking to be reinstated.
    
    PR-URL: #34507
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and ruyadorno committed Jul 29, 2020
    Copy the full SHA
    e5f3800 View commit details
    Browse the repository at this point in the history
  4. async_hooks: optimize fast-path promise hook for ALS

    Remove unnecessary native-to-JS code switches in fast-path for
    PromiseHooks. Those switches happen even if a certain type of
    hook (say, before) is not installed, which may lead to sub-optimal
    performance in the AsyncLocalStorage scenario, i.e. when there is
    only an init hook.
    
    PR-URL: #34512
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    puzpuzpuz authored and ruyadorno committed Jul 29, 2020
    Copy the full SHA
    dd29889 View commit details
    Browse the repository at this point in the history
  5. test: add ref comment to test-regress-GH-814

    Because the GitHub issue referred to by the test name is in an old
    repository, put a link to it in a comment in
    test/pummel/test-regress-GH-814.js.
    
    PR-URL: #34516
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and ruyadorno committed Jul 29, 2020
    Copy the full SHA
    d5c8b38 View commit details
    Browse the repository at this point in the history
  6. test: add ref comment to test-regress-GH-814_2

    Because the GitHub issue referred to by the test name is in an old
    repository, put a link to it in a comment in
    test/pummel/test-regress-GH-814_2.js.
    
    PR-URL: #34516
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and ruyadorno committed Jul 29, 2020
    Copy the full SHA
    fced3ce View commit details
    Browse the repository at this point in the history
  7. build: add benchmark tests to CI runs

    Closes: #34321
    
    PR-URL: #34288
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    Trott authored and ruyadorno committed Jul 29, 2020
    Copy the full SHA
    b24f254 View commit details
    Browse the repository at this point in the history
  8. build: do not run benchmark tests on 'make test'

    Fixes: #34427
    
    PR-URL: #34434
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and ruyadorno committed Jul 29, 2020
    Copy the full SHA
    24e1beb View commit details
    Browse the repository at this point in the history
  9. build: fix test-ci-js task in Makefile

    Move benchmark CI to native suite since it requires building an addon.
    
    Refs: #34427 (comment)
    
    PR-URL: #34433
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Trott authored and ruyadorno committed Jul 29, 2020
    Copy the full SHA
    358b934 View commit details
    Browse the repository at this point in the history
  10. 2020-07-29, Version 14.7.0 (Current)

    Notable changes:
    
    deps:
      * upgrade npm to 6.14.7 (claudiahdz) #34468
    dgram:
      * (SEMVER-MINOR) add IPv6 scope id suffix to received udp6 dgrams (Pekka Nikander) #14500
    doc:
      * add AshCripps to collaborators (AshCripps) #34494
      * add HarshithaKP to collaborators (Harshitha K P) #34417
      * add rexagod to collaborators (Pranshu Srivastava) #34457
      * add release key for Richard Lau (Richard Lau) #34397
    events:
      * (SEMVER-MINOR) expand NodeEventTarget functionality (Anna Henningsen) #34057
    src:
      * (SEMVER-MINOR) allow preventing SetPromiseRejectCallback (Shelley Vohr) #34387
      * (SEMVER-MINOR) allow setting a dir for all diagnostic output (AshCripps) #33584
    worker:
      * (SEMVER-MINOR) make MessagePort inherit from EventTarget (Anna Henningsen) #34057
    zlib:
      * switch to lazy init for zlib streams (Andrey Pechkurov) #34048
    
    PR-URL: #34542
    ruyadorno committed Jul 29, 2020
    Copy the full SHA
    6171265 View commit details
    Browse the repository at this point in the history