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

v16.1.0 release proposal #38522

Merged
merged 110 commits into from May 4, 2021
Merged

v16.1.0 release proposal #38522

merged 110 commits into from May 4, 2021

Commits on Apr 25, 2021

  1. build: label PRs with GitHub Action instead of nodejs-github-bot

    Main goal of using a GitHub Action for labelling PRs has been to move
    the mapping between files changed -> label into a configuration file
    local to the nodejs/node repository.
    
    Previously any changes to that mapping meant having to grasp the
    nodejs/github-bot project, open a PR with the neccessary changes, get
    approval from its maintainers before those changes finally got pushed
    to production.
    
    The logic involved in using the file paths / label configuration and
    resolving the labels to be applied, has been moved into a custom GitHub
    Action project: nodejs/node-pr-labeler.
    
    Aside from removing the external dependency the nodejs-github-bot is in
    practise, it also reduces the bar for contributors since the resulting
    project is a lot smaller and less complex than nodejs/github-bot.
    
    PR-URL: #38301
    Fixes: nodejs/github-bot#294
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    phillipj authored and targos committed Apr 25, 2021
    Copy the full SHA
    b5d669a View commit details
    Browse the repository at this point in the history
  2. build: fix label-pr workflow

    PR-URL: #38399
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    targos committed Apr 25, 2021
    Copy the full SHA
    29faf0f View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2021

  1. deps: patch V8 to 9.0.257.19

    Refs: v8/v8@9.0.257.17...9.0.257.19
    
    PR-URL: #38270
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    targos committed Apr 29, 2021
    Copy the full SHA
    05f41cd View commit details
    Browse the repository at this point in the history
  2. tools: fix type mismatch in test runner

    `output.diagnostic` is a list that is appended to on SmartOS when
    retrying a test due to `ECONNREFUSED`. The test runner checks if
    `output.diagnostic` is truthy and, if so, assigns its value to
    `self.traceback`. However `self.traceback` is supposed to be a string,
    and `_printDiagnostic()` in the `TapProgressIndicator` attempts to call
    `splitlines()` on it, which fails if it is a list with:
    AttributeError: 'list' object has no attribute 'splitlines'
    
    PR-URL: #38289
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Christian Clauss <cclauss@me.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    richardlau authored and targos committed Apr 29, 2021
    Copy the full SHA
    d3bd4b4 View commit details
    Browse the repository at this point in the history
  3. test: use .test domain for not found address

    While it is extremely unlikely that `.fhqwhgads` will become a valid
    domain, we should, where possible, use one of the reserved domains for
    testing.
    
    Refs: https://tools.ietf.org/html/rfc2606
    
    PR-URL: #38286
    Refs: #38282
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    richardlau authored and targos committed Apr 29, 2021
    Copy the full SHA
    eb8f5ce View commit details
    Browse the repository at this point in the history
  4. doc: use foo.prototype.bar notation in buffer.md

    Most of the documentation uses `foo.prototype.bar` notation instead of
    `foo#bar` notation, this commit apply the former in `buffer.md`.
    
    PR-URL: #38032
    Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    VoltrexKeyva authored and targos committed Apr 29, 2021
    Copy the full SHA
    2eef587 View commit details
    Browse the repository at this point in the history
  5. tls: fix tlsSocket.setMaxSendFragment abort

    PR-URL: #38170
    Fixes: #38169
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    eladkishon authored and targos committed Apr 29, 2021
    Copy the full SHA
    f6745e9 View commit details
    Browse the repository at this point in the history
  6. bootstrap: freeze more intrinsics

    PR-URL: #38217
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    aduh95 authored and targos committed Apr 29, 2021
    Copy the full SHA
    bc6e719 View commit details
    Browse the repository at this point in the history
  7. fs: allow no-params fsPromises fileHandle read

    allow no-params read for fsPromises fileHandle read
    
    PR-URL: #38287
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Linkgoron authored and targos committed Apr 29, 2021
    Copy the full SHA
    8a90f55 View commit details
    Browse the repository at this point in the history
  8. test: replace function with arrow function and remove unused argument

    PR-URL: #38235
    Reviewed-By: Yash Ladha <yash@yashladha.in>
    Reviewed-By: Pooja D P <Pooja.D.P@ibm.com>
    Reviewed-By: Harshitha K P <harshitha014@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.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: Antoine du Hamel <duhamelantoine1995@gmail.com>
    andresatencio authored and targos committed Apr 29, 2021
    Copy the full SHA
    30de036 View commit details
    Browse the repository at this point in the history
  9. repl: display prompt once after error callback

    Do not call `.displayPrompt()` twice after the `eval` callback
    resulted in an error.
    
    (This does not affect the default eval because it doesn’t use
    the callback if an error occurs.)
    
    PR-URL: #38314
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and targos committed Apr 29, 2021
    Copy the full SHA
    aa24681 View commit details
    Browse the repository at this point in the history
  10. doc: update TSC members list with three new members

    PR-URL: #38352
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Beth Griggs <bgriggs@redhat.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Nitzan Uziely <linkgoron@gmail.com>
    Trott authored and targos committed Apr 29, 2021
    Copy the full SHA
    3858029 View commit details
    Browse the repository at this point in the history
  11. doc: add nodejs-sec email template

    This commit adds a suggestion for a template to be used as part of the
    security release process. One step of this process is to create an email
    to nodejs-sec group and currently would contain a copy and pasted
    version of what is published on nodejs.org. This suggestion is to
    instead use a link to the blog post.
    
    PR-URL: #38290
    Refs: #38143
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and targos committed Apr 29, 2021
    Copy the full SHA
    25052dc View commit details
    Browse the repository at this point in the history
  12. doc: fix YAML comment opening tags

    Several YAML documentation comments incorrectly started with `<!--YAML`
    instead of `<!-- YAML`, resulting in their content missing in the
    rendered documentation.
    
    PR-URL: #38324
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    jaydenseric authored and targos committed Apr 29, 2021
    Copy the full SHA
    1cccc2d View commit details
    Browse the repository at this point in the history
  13. tls: validate ticket keys buffer

    Fixes: #38305
    
    PR-URL: #38308
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    aduh95 authored and targos committed Apr 29, 2021
    Copy the full SHA
    5b393d9 View commit details
    Browse the repository at this point in the history
  14. crypto: fix DiffieHellman generator validation

    PR-URL: #38311
    Fixes: #38302
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    eladkishon authored and targos committed Apr 29, 2021
    Copy the full SHA
    7354479 View commit details
    Browse the repository at this point in the history
  15. doc: fix typo in buffer.md

    'uint16arr' -> 'uint16array'
    
    PR-URL: #38323
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    theoludwig authored and targos committed Apr 29, 2021
    Copy the full SHA
    0e88ae7 View commit details
    Browse the repository at this point in the history
  16. test: add ancestor package.json checks for tmpdir

    Policy tests can fail if a `package.json` exists in any of the parent
    directories above the test. The existing checks are done for the
    ancestors of the test directory but some tests execute from the tmpdir.
    
    PR-URL: #38285
    Refs: #38088
    Refs: #35600
    Refs: #35633
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    richardlau authored and targos committed Apr 29, 2021
    Copy the full SHA
    27d7588 View commit details
    Browse the repository at this point in the history
  17. src: avoid deferred gc/cleanup for Buffer.from

    Previously, the code path would allocated a tracked ArrayBuffer
    that defers cleanup and deallocation of the underlying data with
    a SetImmediate. Avoid the unnecessary deferral by just allocating
    a `BackingStore` directly and writing into it.
    
    Fixes: #38300
    Refs: #38336
    
    PR-URL: #38337
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    jasnell authored and targos committed Apr 29, 2021
    Copy the full SHA
    3649ec5 View commit details
    Browse the repository at this point in the history
  18. src: fix setting Converter sub char length

    Signed-off-by: James M Snell <jasnell@gmail.com>
    Fixes: #38330
    
    PR-URL: #38331
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    jasnell authored and targos committed Apr 29, 2021
    Copy the full SHA
    09cacd7 View commit details
    Browse the repository at this point in the history
  19. typings: add JSDoc typings for util

    PR-URL: #38213
    Refs: #38182
    Refs: https://twitter.com/bradleymeck/status/1380643627211354115
    Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    rohit-gohri authored and targos committed Apr 29, 2021
    Copy the full SHA
    e389e86 View commit details
    Browse the repository at this point in the history
  20. src: fix abort in pbkdf2

    Fixes: #38341
    
    PR-URL: #38354
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    tniessen authored and targos committed Apr 29, 2021
    Copy the full SHA
    e3538bb View commit details
    Browse the repository at this point in the history
  21. src: refactor to use THROW_* argument based snprintf

    PR-URL: #38357
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    panva authored and targos committed Apr 29, 2021
    Copy the full SHA
    769a210 View commit details
    Browse the repository at this point in the history
  22. timers: remove redundant unref calls

    PR-URL: #38320
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    gioragutt authored and targos committed Apr 29, 2021
    Copy the full SHA
    b3ca1b3 View commit details
    Browse the repository at this point in the history
  23. doc: fix package.json "imports" field history

    Refs: #34117
    
    PR-URL: #38356
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    aduh95 authored and targos committed Apr 29, 2021
    Copy the full SHA
    76885cd View commit details
    Browse the repository at this point in the history
  24. doc: fix version history for "exports" patterns

    Refs: #34718
    
    PR-URL: #38355
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    aduh95 authored and targos committed Apr 29, 2021
    Copy the full SHA
    a9314cd View commit details
    Browse the repository at this point in the history
  25. debugger: move node-inspect to internal library

    node-inspect developers have agreed to move node-inspect into core
    rather than vendor it as a dependency.
    
    Refs: #36481
    
    PR-URL: #38161
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and targos committed Apr 29, 2021
    Copy the full SHA
    62b03bc View commit details
    Browse the repository at this point in the history
  26. tools: remove node-inspect from license

    PR-URL: #38161
    Refs: #36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and targos committed Apr 29, 2021
    Copy the full SHA
    02e875c View commit details
    Browse the repository at this point in the history
  27. debugger: remove unused code

    Remove code that was for when `node-inspect` was called as a standalone
    process.
    
    PR-URL: #38161
    Refs: #36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and targos committed Apr 29, 2021
    Copy the full SHA
    d65615e View commit details
    Browse the repository at this point in the history
  28. debugger: fix inspect restart on Windows

    Fixes: #37224
    
    PR-URL: #38161
    Refs: #36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and targos committed Apr 29, 2021
    Copy the full SHA
    07361e6 View commit details
    Browse the repository at this point in the history
  29. debugger: accommodate line chunking in Windows

    PR-URL: #38161
    Refs: #36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and targos committed Apr 29, 2021
    Copy the full SHA
    def85da View commit details
    Browse the repository at this point in the history
  30. debugger: allow longer time to connect

    Make five attempts with a timeout of 1 second each rather than 10
    attempts with a timeout of 500ms each. This is to allow for
    slower-connecting devices like Raspberry Pi.
    
    PR-URL: #38161
    Refs: #36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and targos committed Apr 29, 2021
    Copy the full SHA
    6fff9ff View commit details
    Browse the repository at this point in the history
  31. test: fix test-inspector-cli-address

    The test was assuming that the entire string being sought would arrive
    in a single data chunk, but it can be split across multiple chunks.
    
    PR-URL: #38161
    Refs: #36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and targos committed Apr 29, 2021
    Copy the full SHA
    6c3e504 View commit details
    Browse the repository at this point in the history
  32. test,debugger: migrate node-inspect tests to core

    Migrate the node-inspect tests to core (where node-inspect code now
    lives) and remove node-inspect from deps directory.
    
    PR-URL: #38161
    Refs: #36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and targos committed Apr 29, 2021
    Copy the full SHA
    a4084d6 View commit details
    Browse the repository at this point in the history
  33. debugger: replace internal use of deprecated API

    Change process.binding() use to internalBinding().
    
    PR-URL: #38161
    Refs: #36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and targos committed Apr 29, 2021
    Copy the full SHA
    2a6203d View commit details
    Browse the repository at this point in the history
  34. test: fix comment typo

    PR-URL: #38161
    Refs: #36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and targos committed Apr 29, 2021
    Copy the full SHA
    93b0c78 View commit details
    Browse the repository at this point in the history
  35. debugger: fix race condition/deadlock on initialization

    PR-URL: #38161
    Refs: #36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and targos committed Apr 29, 2021
    Copy the full SHA
    37b5ce2 View commit details
    Browse the repository at this point in the history
  36. test: extend timeout on debugger tests for slower machines

    PR-URL: #38161
    Refs: #36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and targos committed Apr 29, 2021
    Copy the full SHA
    6ac0275 View commit details
    Browse the repository at this point in the history
  37. deps: update llhttp to 6.0.1

    PR-URL: #38359
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Beth Griggs <bgriggs@redhat.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    indutny authored and targos committed Apr 29, 2021
    Copy the full SHA
    dd61a26 View commit details
    Browse the repository at this point in the history
  38. src: print arbitrary javascript exception value in node report

    PR-URL: #38009
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    legendecas authored and targos committed Apr 29, 2021
    Copy the full SHA
    17856f1 View commit details
    Browse the repository at this point in the history
  39. test: fix test to allow quictls fork of OpenSSL 3

    The quictls fork of OpenSSL identifies itself with a `+quic` suffix
    in its version string. This was previously rejected by the version
    string check as the `+` was not an allowed character.
    
    PR-URL: #38372
    Refs: 7ac6265
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    richardlau authored and targos committed Apr 29, 2021
    Copy the full SHA
    1bc47a4 View commit details
    Browse the repository at this point in the history
  40. lib: add support for JSTransferable as a mixin

    Adds a new `makeTransferable()` utility that can construct a
    `JSTransferable` object that does not directly extend the
    `JSTransferable` JavaScript class.
    
    Because JavaScript does not support multiple inheritance, it is
    not possible (without help) to implement a class that extends
    both `JSTransferable` and, for instance, `EventTarget` without
    incurring a significant additional complexity and performance
    cost by making all `EventTarget` instances extend `JSTransferable`...
    
    That is, we *don't* want:
    
    ```js
    class EventTarget extends JSTransferable { ... }
    ```
    
    The `makeTransferable()` allows us to create objects that are
    backed internally by `JSTransferable` without having to actually
    extend it by leveraging the magic of `Reflect.construct()`.
    
    ```js
    const {
      JSTransferable,
      kClone,
      kDeserialize,
      kConstructor,
      makeTransferable,
    } = require('internal/worker/js_transferable');
    
    class E {
      constructor(b) {
        this.b = b;
      }
    }
    
    class F extends E {
      [kClone]() { /** ... **/ }
      [kDeserialize]() { /** ... **/ }
    
      static [kConstructor]() { return makeTransferable(F); }
    }
    
    const f = makeTransferable(F, 1);
    
    f instanceof F;  // true
    f instanceof E;  // true
    f instanceof JSTransferable;  // false
    
    const mc = new MessageChannel();
    mc.port1.onmessage = ({ data }) => {
      data instanceof F;  // true
      data instanceof E;  // true
      data instanceof JSTransferable;  // false
    };
    mc.port2.postMessage(f);  // works!
    ```
    
    The additional `internal/test/transfer.js` file is required for the
    test because successfully deserializing transferable classes requires
    that they be located in `lib/internal` for now.
    
    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #38383
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    jasnell authored and targos committed Apr 29, 2021
    Copy the full SHA
    f2c0258 View commit details
    Browse the repository at this point in the history
  41. tools: update markdown linter rules

    Update remark-preset-lint-node to 2.2.0 which includes improved YAML
    comment linting for our markdown files.
    
    PR-URL: #38384
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and targos committed Apr 29, 2021
    Copy the full SHA
    f1ea2c8 View commit details
    Browse the repository at this point in the history
  42. doc: fix typo in worker_threads.md

    "Buffer.alloc()" -> "Buffer.allocUnsafe()"
    
    Buffer.alloc() does not use the internal Buffer pool.
    
    PR-URL: #38368
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    takayama-lily authored and targos committed Apr 29, 2021
    Copy the full SHA
    67cd88d View commit details
    Browse the repository at this point in the history
  43. benchmark: use process.hrtime.bigint()

    PR-URL: #38369
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    aduh95 authored and targos committed Apr 29, 2021
    Copy the full SHA
    ba15b20 View commit details
    Browse the repository at this point in the history
  44. doc: mark process.hrtime() as legacy

    PR-URL: #38371
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Bryan English <bryan@bryanenglish.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    aduh95 authored and targos committed Apr 29, 2021
    Copy the full SHA
    dfd4c7b View commit details
    Browse the repository at this point in the history
  45. tools: update ESLint to 7.25.0

    Update ESLint to 7.25.0
    
    PR-URL: #38378
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and targos committed Apr 29, 2021
    Copy the full SHA
    28f02cb View commit details
    Browse the repository at this point in the history
  46. crypto: fix scrypt keylen validation

    Fixes: #38381
    
    PR-URL: #38385
    Reviewed-By: Nitzan Uziely <linkgoron@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: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    aduh95 authored and targos committed Apr 29, 2021
    Copy the full SHA
    c1d9b5b View commit details
    Browse the repository at this point in the history
  47. async_hooks,doc: replace process.stdout.fd with 1

    This stops "RangeError: Maximum call stack size exceeded".
    
    PR-URL: #38382
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    RaisinTen authored and targos committed Apr 29, 2021
    Copy the full SHA
    28e1648 View commit details
    Browse the repository at this point in the history
  48. lib: fix and improve os typings

    1. marked optional params as such
    2. assigned default values using jsdoc conventions.
    
    PR-URL: #38316
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    marsonya authored and targos committed Apr 29, 2021
    Copy the full SHA
    277122e View commit details
    Browse the repository at this point in the history
  49. deps: patch V8 to 9.0.257.21

    Refs: v8/v8@9.0.257.19...9.0.257.21
    
    PR-URL: #38333
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    targos committed Apr 29, 2021
    Copy the full SHA
    f455e08 View commit details
    Browse the repository at this point in the history
  50. crypto: fix generateKeyPair type checks

    Change saltLength, divisorLength, primeLength and generator
    checks in generateKeyPair to int32 from uint32, to align
    with c++ code.
    
    fixes: #38358
    
    PR-URL: #38364
    Fixes: #38358
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Linkgoron authored and targos committed Apr 29, 2021
    Copy the full SHA
    4b073b0 View commit details
    Browse the repository at this point in the history
  51. test: skip some pummel tests on slower machines

    Skipped the longest-running pummel tests on the Raspberry Pi devices in
    CI.
    
    Refs: #34289 (comment)
    
    PR-URL: #38394
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    Trott authored and targos committed Apr 29, 2021
    Copy the full SHA
    45322df View commit details
    Browse the repository at this point in the history
  52. test: move slower tests into pummel and skip on slow devices

    Move slower tests to pummel and skip on Raspberry Pi devices in CI.
    
    Refs: #34289 (comment)
    
    PR-URL: #38395
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    Trott authored and targos committed Apr 29, 2021
    Copy the full SHA
    231ef4b View commit details
    Browse the repository at this point in the history
  53. doc: request default snap track be updated for LTS

    PR-URL: #37708
    Refs: nodejs/snap#4
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Shelley Vohr <codebytere@gmail.com>
    Reviewed-By: Ash Cripps <acripps@redhat.com>
    Reviewed-By: Beth Griggs <bgriggs@redhat.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    rvagg authored and targos committed Apr 29, 2021
    Copy the full SHA
    bcc5e2a View commit details
    Browse the repository at this point in the history
  54. src: use %progbits instead of @progbits

    While @progbits is preferred for most architectures, there are some
    (notably 32-bit ARM) for which it does not. %progbits is effective
    everywhere.
    
    See https://bugzilla.redhat.com/show_bug.cgi?id=1950528 for more
    details.
    
    Related: #17933
    Related: #37688
    
    Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
    
    PR-URL: #38312
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    sgallagher authored and targos committed Apr 29, 2021
    Copy the full SHA
    7d8cc2a View commit details
    Browse the repository at this point in the history
  55. benchmark: avoid using console.log()

    PR-URL: #38370
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Beth Griggs <bgriggs@redhat.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    aduh95 authored and targos committed Apr 29, 2021
    Copy the full SHA
    cbab7ec View commit details
    Browse the repository at this point in the history
  56. test: move abort test from pummel to abort directory

    test-abort-fatal-error is not resource intensive and would be better in
    the abort directory than the pummel directory.
    
    PR-URL: #38396
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and targos committed Apr 29, 2021
    Copy the full SHA
    4f6c4eb View commit details
    Browse the repository at this point in the history
  57. perf_hooks: fix PerformanceObserver 'gc' crash

    Signed-off-by: James M Snell <jasnell@gmail.com>
    Fixes: #38412
    
    PR-URL: #38414
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    jasnell authored and targos committed Apr 29, 2021
    Copy the full SHA
    013fa59 View commit details
    Browse the repository at this point in the history
  58. debugger: add usage example for --port

    PR-URL: #38400
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    RafaelGSS authored and targos committed Apr 29, 2021
    Copy the full SHA
    ef617dc View commit details
    Browse the repository at this point in the history
  59. debugger: align message with Node.js standard

    Node.js uses (or will use) _Ctrl+C_ with no spaces. To unify the
    messages from inspect with other messages from the REPL and elsewhere,
    make that change in node-inspect too.
    
    PR-URL: #38400
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and targos committed Apr 29, 2021
    Copy the full SHA
    203a968 View commit details
    Browse the repository at this point in the history
  60. debugger: remove unused function argument

    The `{colors: true}` removed here is ignored by the function it is being
    sent to.
    
    PR-URL: #38400
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and targos committed Apr 29, 2021
    Copy the full SHA
    f946aa0 View commit details
    Browse the repository at this point in the history
  61. doc: update message to match actual output

    PR-URL: #35271
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Trott authored and targos committed Apr 29, 2021
    Copy the full SHA
    042985c View commit details
    Browse the repository at this point in the history
  62. doc: do not mention TCP in the allowHalfOpen option description

    The `allowHalfOpen` option works in the same way for both TCP and IPC
    connections.
    
    PR-URL: #38360
    Fixes: #38307
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    lpinca authored and targos committed Apr 29, 2021
    Copy the full SHA
    ed5ef21 View commit details
    Browse the repository at this point in the history
  63. doc: document new TCP_KEEPCNT and TCP_KEEPINTVL socket option defaults

    PR #32204 introduced new defaults for
    the TCP keep-alive socket options (see deps/uv/src/unix/tcp.c):
    - "TCP_KEEPCNT" now defaults to 10 on all platforms
    - "TCP_KEEPINTVL" now defaults to 1 on all platforms
    
    Previously, "TCP_KEEPCNT" and "TCP_KEEPINTVL" were not set explicitly
    and OS-default values were used.
    
    Fixes: #38298
    Refs: #32204
    
    PR-URL: #38313
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    ArnoldZokas authored and targos committed Apr 29, 2021
    Copy the full SHA
    14afb39 View commit details
    Browse the repository at this point in the history
  64. crypto: don't crash with some selfsigned certs

    Refs: #37757
    Refs: #37889
    
    PR-URL: #37990
    Fixes: #37757
    Reviewed-By: James M Snell <jasnell@gmail.com>
    nils91 authored and targos committed Apr 29, 2021
    Copy the full SHA
    195f679 View commit details
    Browse the repository at this point in the history
  65. doc: clarify that fs.Dir async iterator closes automatically

    Signed-off-by: James M Snell <jasnell@gmail.com>
    Fixes: #35148
    
    PR-URL: #38438
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    jasnell authored and targos committed Apr 29, 2021
    Copy the full SHA
    1eae4af View commit details
    Browse the repository at this point in the history
  66. doc: minor clarification to pathObject

    Signed-off-by: James M Snell <jasnell@gmail.com>
    Fixes: #36582
    
    PR-URL: #38437
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    jasnell authored and targos committed Apr 29, 2021
    Copy the full SHA
    4b19bea View commit details
    Browse the repository at this point in the history
  67. doc: note the system requirements for V8 tests

    The `test-v8` Makefile target still requires Python 2,
    and it requires a full Xcode install on macOS.
    
    Refs: #36691
    
    PR-URL: #38319
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    DeeDeeG authored and targos committed Apr 29, 2021
    Copy the full SHA
    f6f1317 View commit details
    Browse the repository at this point in the history
  68. tools: add _depot_tools to PATH (for V8 tests)

    Ensures the `_depot_tools` dir bootstrapped during this script
    is added to the PATH, before `ninja` is executed,
    as `_depot_tools` already has a copy of `ninja` in it.
    This means one less system requirement to be able to run this script.
    
    (It seems like this was already intended to be on the PATH?)
    
    Note: This script is used by the `test-v8` Makefile target.
    
    PR-URL: #38299
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    DeeDeeG authored and targos committed Apr 29, 2021
    Copy the full SHA
    1033f6c View commit details
    Browse the repository at this point in the history
  69. typings: add JSDoc typings for fs

    Added JSDoc typings for the `fs` lib module.
    
    PR-URL: #38306
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    VoltrexKeyva authored and targos committed Apr 29, 2021
    Copy the full SHA
    9a26513 View commit details
    Browse the repository at this point in the history
  70. tools: fix doc generation when version info is not available

    Fixes: #38391
    
    PR-URL: #38398
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    aduh95 authored and targos committed Apr 29, 2021
    Copy the full SHA
    dce8d29 View commit details
    Browse the repository at this point in the history
  71. debugger: apply automatic lint fixes for _inspect.js

    For issues that ESLint can fix automatically, fix them.
    
    PR-URL: #38411
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Trott authored and targos committed Apr 29, 2021
    Copy the full SHA
    b884ea7 View commit details
    Browse the repository at this point in the history
  72. debugger: apply automatic lint fixes for inspect_repl.js

    For issues that ESLint can fix automatically, fix them.
    
    PR-URL: #38411
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Trott authored and targos committed Apr 29, 2021
    9
    Copy the full SHA
    a0c566f View commit details
    Browse the repository at this point in the history
  73. repl: document top level await limitation with const/let

    Fixes: #17669
    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #38449
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    jasnell authored and targos committed Apr 29, 2021
    Copy the full SHA
    620ee42 View commit details
    Browse the repository at this point in the history
  74. tools: remove fixer for non-ascii-character ESLint custom rule

    The fixer for non-ascii-character does not typidally do the right thing.
    It removes the entire node, not the offending character. I discovered
    this when it removed the entire contents of a file and I wasn't sure
    which auto-fix rule was doing it.
    
    This commit adds a minimal test for the rule. The tests require that
    auto-fix results be supplied, so if someone wants to re-add auto-fixing
    to the rule, we'll have tests that it does the right thing.
    
    PR-URL: #38413
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and targos committed Apr 29, 2021
    Copy the full SHA
    6350d35 View commit details
    Browse the repository at this point in the history
  75. src: fix validation of negative offset to avoid abort

    Fixes: #24640
    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #38421
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Nitzan Uziely <linkgoron@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    jasnell authored and targos committed Apr 29, 2021
    Copy the full SHA
    9c06103 View commit details
    Browse the repository at this point in the history
  76. lib: harden lint checks for globals

    PR-URL: #38419
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    aduh95 authored and targos committed Apr 29, 2021
    Copy the full SHA
    fcac2e0 View commit details
    Browse the repository at this point in the history
  77. deps: patch V8 to 9.0.257.24

    Refs: v8/v8@9.0.257.21...9.0.257.24
    
    PR-URL: #38423
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    targos committed Apr 29, 2021
    Copy the full SHA
    47626c5 View commit details
    Browse the repository at this point in the history
  78. doc: add try/catch in http2 respondWithFile example

    PR-URL: #38410
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mcollina authored and targos committed Apr 29, 2021
    Copy the full SHA
    f197012 View commit details
    Browse the repository at this point in the history
  79. doc: indicate that abort tests do not generate core files

    The key thing about the tests in `test/abort` is that tests in that
    directory do not generate core files (thanks to testcfg.py). Make a note
    of that in the test README.
    
    PR-URL: #38422
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Trott authored and targos committed Apr 29, 2021
    Copy the full SHA
    2d59273 View commit details
    Browse the repository at this point in the history
  80. doc: add arguments for stream event of Http2Server and Http2SecureServer

    PR-URL: #37892
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Ayase-252 authored and targos committed Apr 29, 2021
    Copy the full SHA
    f08650c View commit details
    Browse the repository at this point in the history
  81. doc: update node-api support matrix

    Signed-off-by: Michael Dawson <mdawson@devrus.com>
    
    PR-URL: #38424
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    mhdawson authored and targos committed Apr 29, 2021
    Copy the full SHA
    a5929c2 View commit details
    Browse the repository at this point in the history
  82. doc: mark querystring api as legacy

    Signed-off-by: James M Snell <jasnell@gmail.com>
    Fixes: #38231
    
    PR-URL: #38436
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    jasnell authored and targos committed Apr 29, 2021
    Copy the full SHA
    3cbfde1 View commit details
    Browse the repository at this point in the history
  83. tools: disable LTO for "v8_cppgc_shared" target

    "PushAllRegistersAndIterateStack" is implemented in assembly and
    called from "stack.cc" via 'extern "C"'. [1]
    
    However, LTO does not work well with symbol usage from assembly. [2]
    
    This change workarounds the issue by disabling LTO for the target.
    
    With GCC 10 and "./configure --enable-lto", compilation succeeds
    after this change.
    
    [1] v8/v8@c10863153
    [2] https://gcc.gnu.org/wiki/LinkTimeOptimizationFAQ#Symbol_usage_from_assembly_language
    
    Refs: #35957
    Refs: #38335
    Signed-off-by: Jesse Chan <jc@linux.com>
    
    PR-URL: #38346
    Refs: #35957
    Refs: #38335
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    jesec authored and targos committed Apr 29, 2021
    1
    Copy the full SHA
    bec959e View commit details
    Browse the repository at this point in the history

Commits on May 3, 2021

  1. test: update url Web Platform Tests

    Update url tests to the latest upstream commit.
    
    PR-URL: #38435
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Leko authored and targos committed May 3, 2021
    Copy the full SHA
    10b6b4e View commit details
    Browse the repository at this point in the history
  2. deps: update to cjs-module-lexer@1.2.1

    PR-URL: #38450
    Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    guybedford authored and targos committed May 3, 2021
    Copy the full SHA
    7b9fb92 View commit details
    Browse the repository at this point in the history
  3. meta: post comment when pr labeled fast-track

    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #38446
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Mary Marchini <oss@mmarchini.me>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    jasnell authored and targos committed May 3, 2021
    Copy the full SHA
    96f54d3 View commit details
    Browse the repository at this point in the history
  4. doc: mark Node.js 10 as End-of-Life

    PR-URL: #38482
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Beth Griggs <bgriggs@redhat.com>
    Reviewed-By: Nitzan Uziely <linkgoron@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    richardlau authored and targos committed May 3, 2021
    Copy the full SHA
    13de4cf View commit details
    Browse the repository at this point in the history
  5. test: fix flaky test-crypto-timing-safe-dqual-benchmarks

    Fixes: #38226
    
    PR-URL: #38476
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Ruy Adorno <ruyadorno@github.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and targos committed May 3, 2021
    Copy the full SHA
    9ad611c View commit details
    Browse the repository at this point in the history
  6. test: crypto KeyObject.from() ERR_INVALID_ARG_TYPE

    PR-URL: #37890
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    peZhmanParsaee authored and targos committed May 3, 2021
    Copy the full SHA
    67e9e71 View commit details
    Browse the repository at this point in the history
  7. util: fix infinite recursion during inspection

    A specially crafted object with circular structures behind getters
    could cause a infinite recursion. This is now fixed by detecting the
    objects as already visited.
    
    Signed-off-by: Ruben Bridgewater <ruben@bridgewater.de>
    
    PR-URL: #37079
    Fixes: #37054
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    BridgeAR authored and targos committed May 3, 2021
    Copy the full SHA
    ec5b06e View commit details
    Browse the repository at this point in the history
  8. doc: fix outdated util inspect documentation and layout example

    The documentation and layout example was not up to date with the
    latest changes.
    
    Signed-off-by: Ruben Bridgewater <ruben@bridgewater.de>
    
    PR-URL: #37079
    Fixes: #37054
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    BridgeAR authored and targos committed May 3, 2021
    Copy the full SHA
    9258604 View commit details
    Browse the repository at this point in the history
  9. perf_hooks: add toJSON to performance class

    Added toJSON method to the InternalPerformance class as per the
    convention followed in other performance classes and per the spec:
    https://www.w3.org/TR/hr-time/#tojson-method
    
    Fixes: #37623
    
    PR-URL: #37771
    Fixes: #37623
    Reviewed-By: James M Snell <jasnell@gmail.com>
    yashLadha authored and targos committed May 3, 2021
    Copy the full SHA
    4711f57 View commit details
    Browse the repository at this point in the history
  10. inspector: remove redundant method for connection check

    PR-URL: #37986
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    yashLadha authored and targos committed May 3, 2021
    Copy the full SHA
    a696f10 View commit details
    Browse the repository at this point in the history
  11. test: address deprecation warning

    fs.truncateSync() emits a deprecation warning when called with a file
    descriptor. Move to fs.ftruncateSync().
    
    PR-URL: #38448
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and targos committed May 3, 2021
    Copy the full SHA
    d1cd117 View commit details
    Browse the repository at this point in the history
  12. deps: upgrade npm to 7.11.2

    PR-URL: #38475
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    ruyadorno authored and targos committed May 3, 2021
    Copy the full SHA
    aabddfb View commit details
    Browse the repository at this point in the history
  13. zlib: fix brotli flush range

    Fixes: #38407
    
    PR-URL: #38408
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    XadillaX authored and targos committed May 3, 2021
    Copy the full SHA
    67bd0ec View commit details
    Browse the repository at this point in the history
  14. deps: V8: cherry-pick fd75c97d3f56

    Original commit message:
    
        [interpreter] Apply Reflect.apply transform in BytecodeGenerator
    
        Calls with a spread expression in a non-final position get transformed
        to calls to Reflect.apply. This transformation is currently done in
        the parser, which does not compose well with other features (e.g.
        direct eval checking, optional chaining).
    
        Do this transform in the BytecodeGenerator instead.
    
        Bug: v8:11573, v8:11558, v8:5690
        Change-Id: I56c90a2036fe5b43e0897c57766f666bf72bc3a8
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2765783
        Auto-Submit: Shu-yu Guo <syg@chromium.org>
        Commit-Queue: Leszek Swirski <leszeks@chromium.org>
        Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
        Reviewed-by: Leszek Swirski <leszeks@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#73534}
    
    Refs: v8/v8@fd75c97
    
    PR-URL: #38455
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    targos committed May 3, 2021
    Copy the full SHA
    e3b75cb View commit details
    Browse the repository at this point in the history
  15. readline: move utilities to internal modules

    PR-URL: #38466
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    aduh95 authored and targos committed May 3, 2021
    Copy the full SHA
    10147f1 View commit details
    Browse the repository at this point in the history
  16. tools: use a shallow clone of the npm/cli repository

    Use a shallow clone instead of cloning the whole repository.
    
    PR-URL: #38463
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    lpinca authored and targos committed May 3, 2021
    Copy the full SHA
    8a83bfd View commit details
    Browse the repository at this point in the history
  17. doc: document 'secureConnect' event limitation

    Fixes: #10555
    Signed-off-by: James M Snell <jasnell@gmail.com>
    Refs: #10846
    
    PR-URL: #38447
    Reviewed-By: Alba Mendez <me@alba.sh>
    Reviewed-By: Adrian Estrada <edsadr@gmail.com>
    jasnell authored and targos committed May 3, 2021
    Copy the full SHA
    3b0480d View commit details
    Browse the repository at this point in the history
  18. test: fix common.mustCall length and name properties

    Reassign `name` and `length` properties to the returned function to not
    break code that relies on it.
    
    PR-URL: #38464
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    aduh95 authored and targos committed May 3, 2021
    Copy the full SHA
    7ce39b8 View commit details
    Browse the repository at this point in the history
  19. test,readline: improve tab completion coverage

    PR-URL: #38465
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    aduh95 authored and targos committed May 3, 2021
    Copy the full SHA
    16eb078 View commit details
    Browse the repository at this point in the history
  20. stream: the position of _read() is wrong

    Fixes: #33940
    
    PR-URL: #38292
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    helloyou2012 authored and targos committed May 3, 2021
    Copy the full SHA
    f2ffaba View commit details
    Browse the repository at this point in the history
  21. Revert "doc: os.uptime() temporary bug notice"

    This reverts commit b9ffb82.
    
    The bug was fixed in libuv 1.41.0.
    
    Refs: libuv/libuv#3072
    
    PR-URL: #38494
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    targos committed May 3, 2021
    Copy the full SHA
    224faa0 View commit details
    Browse the repository at this point in the history
  22. debugger: refactor internal/inspector/_inspect to use more primordials

    PR-URL: #38406
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    aduh95 authored and targos committed May 3, 2021
    Copy the full SHA
    9f0e80a View commit details
    Browse the repository at this point in the history
  23. debugger: enable linter on internal/inspector/inspect_client

    PR-URL: #38417
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    aduh95 authored and targos committed May 3, 2021
    Copy the full SHA
    0e446d6 View commit details
    Browse the repository at this point in the history
  24. tools: use mktemp to create the workspace directory

    On some platforms, the TMPDIR environment variable is not set.
    
    PR-URL: #38432
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    lpinca authored and targos committed May 3, 2021
    Copy the full SHA
    499da2d View commit details
    Browse the repository at this point in the history
  25. 2021-05-04, Version 16.1.0 (Current)

    Notable changes:
    
    fs:
      * (SEMVER-MINOR) allow no-params fsPromises fileHandle read (Nitzan Uziely) #38287
    
    PR-URL: #38522
    targos committed May 3, 2021
    Copy the full SHA
    79c57d0 View commit details
    Browse the repository at this point in the history