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

v17.4.0 release proposal #41557

Merged
merged 165 commits into from Jan 18, 2022
Merged

v17.4.0 release proposal #41557

merged 165 commits into from Jan 18, 2022

Commits on Jan 14, 2022

  1. loader: return package format from defaultResolve if known

    This is a proposed modification of defaultResolve to return the package
    format in case it has been found during package resolution.
    The format will be returned as described in the documentation:
    https://nodejs.org/api/esm.html#resolvespecifier-context-defaultresolve
    There is one new unit test as well:
    test/es-module/test-esm-resolve-type.js
    
    PR-URL: #40980
    Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    dygabo authored and targos committed Jan 14, 2022
    Copy the full SHA
    6d8eb6a View commit details
    Browse the repository at this point in the history
  2. meta: remove community-committee from CODEOWNERS

    Files previously managed by TSC + CommComm are now managed by TSC.
    
    PR-URL: #41169
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tierney Cyren <hello@bnb.im>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    6da7909 View commit details
    Browse the repository at this point in the history
  3. crypto: fix error capture when loading engine

    PR-URL: #41187
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    tniessen authored and targos committed Jan 14, 2022
    Copy the full SHA
    8ea56a9 View commit details
    Browse the repository at this point in the history
  4. doc: fix syntax error in nested conditions example

    PR-URL: #41205
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Adrian Estrada <edsadr@gmail.com>
    Andarist authored and targos committed Jan 14, 2022
    Copy the full SHA
    34ef5a7 View commit details
    Browse the repository at this point in the history
  5. doc: adding estimated execution time

    PR-URL: #41142
    Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Stewart X Addison <sxa@redhat.com>
    mawaregetsuka authored and targos committed Jan 14, 2022
    Copy the full SHA
    74742c3 View commit details
    Browse the repository at this point in the history
  6. tools: fix GitHub Actions status when CQ is empty

    Refs: #40985 (comment)
    
    PR-URL: #41193
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    aduh95 authored and targos committed Jan 14, 2022
    Copy the full SHA
    c44185c View commit details
    Browse the repository at this point in the history
  7. tools: fix CQ and auto-start-ci jobs

    PR-URL: #41230
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    aduh95 authored and targos committed Jan 14, 2022
    Copy the full SHA
    82f492b View commit details
    Browse the repository at this point in the history
  8. tools: update lint-md-dependencies to @rollup/plugin-node-resolve@13.1.1

    PR-URL: #41227
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    nodejs-github-bot authored and targos committed Jan 14, 2022
    Copy the full SHA
    c486da1 View commit details
    Browse the repository at this point in the history
  9. lib,tools: remove empty lines between JSDoc tags

    This is in preparation for enabling a recommended JSDoc lint rule.
    
    PR-URL: #41147
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    f176124 View commit details
    Browse the repository at this point in the history
  10. tools: enable jsdoc/tag-lines ESLint rule

    This rule is part of the JSDoc ESLint plugin's recommneded rule set. It
    prohibits blank lines between JSDoc tags.
    
    PR-URL: #41147
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    0c14e7e View commit details
    Browse the repository at this point in the history
  11. tools: update eslint to 8.5.0

    PR-URL: #41228
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    nodejs-github-bot authored and targos committed Jan 14, 2022
    Copy the full SHA
    aa7d147 View commit details
    Browse the repository at this point in the history
  12. doc: add unhandledRejection to strict mode

    `lib/internal/process/promises.js` contains the following comment
    about --unhandled-rejections=strict. This commit updates the
    docs to reflect this:
    
    // --unhandled-rejections=strict:
    // Emit 'uncaughtException'. If it's not handled, print
    // the error to stderr and exit the process.
    // Otherwise, emit 'unhandledRejection'. If
    // 'unhandledRejection' is not
    // handled, emit 'UnhandledPromiseRejectionWarning'.
    
    Fixes: #41184
    
    PR-URL: #41194
    Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and targos committed Jan 14, 2022
    Copy the full SHA
    730e25d View commit details
    Browse the repository at this point in the history
  13. meta: update AUTHORS

    PR-URL: #41234
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    nodejs-github-bot authored and targos committed Jan 14, 2022
    Copy the full SHA
    edefb41 View commit details
    Browse the repository at this point in the history
  14. build: improve readability of texts in workflows

    PR-URL: #40988
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Mesteery authored and targos committed Jan 14, 2022
    Copy the full SHA
    011c5f6 View commit details
    Browse the repository at this point in the history
  15. perf_hooks: multiple fixes for Histogram

    * The createHistogram(options) options weren't actually implemented
    * Add a new count property that tracks the number of samples
    * Adds BigInt options for relevant properties
    * Adds add(other) method for RecordableHistogram
    * Cleans up and expands tests
    * Eliminates unnecessary ELDHistogram native class
    * Improve/Simplify histogram transfer impl
    
    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    perf_hooks: simplify Histogram constructor options
    
    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #41153
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    jasnell authored and targos committed Jan 14, 2022
    Copy the full SHA
    27c6191 View commit details
    Browse the repository at this point in the history
  16. child_process: add support for URL to cp.fork

    PR-URL: #41225
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    aduh95 authored and targos committed Jan 14, 2022
    Copy the full SHA
    ef6f98c View commit details
    Browse the repository at this point in the history
  17. test: improve test coverage of dns/promises

    PR-URL: #41133
    Refs: https://coverage.nodejs.org/coverage-18ff5832501b66b4/lib/internal/dns/promises.js.html#L116
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Qingyu Deng <i@ayase-lab.com>
    kuriyosh authored and targos committed Jan 14, 2022
    Copy the full SHA
    f067876 View commit details
    Browse the repository at this point in the history
  18. doc: align maxHeaderSize default with current value

    PR-URL: #41183
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    kanongil authored and targos committed Jan 14, 2022
    Copy the full SHA
    d83a029 View commit details
    Browse the repository at this point in the history
  19. lib: fix checking syntax of esm module

    Fixes: #41189
    
    PR-URL: #41198
    Refs: #37468
    Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.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: Tobias Nießen <tniessen@tnie.de>
    Ayase-252 authored and targos committed Jan 14, 2022
    Copy the full SHA
    e457ec0 View commit details
    Browse the repository at this point in the history
  20. benchmark,test: use Object.hasOwn() where applicable

    Refs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/hasOwn
    
    PR-URL: #41229
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    dcf1ea0 View commit details
    Browse the repository at this point in the history
  21. doc: make function signature comply with JSDoc comment

    PR-URL: #41242
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    e27e827 View commit details
    Browse the repository at this point in the history
  22. stream: fix enqueue race condition on esm modules

    stream: use nextTick on close
    
    PR-URL: #40901
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    RafaelGSS authored and targos committed Jan 14, 2022
    Copy the full SHA
    3dc6564 View commit details
    Browse the repository at this point in the history
  23. test: mark test-crypto-keygen slow on windows

    Refs: #41206
    
    This test seems to be failing regularly on
    windows with a timeout. Mark it slow to reduce
    CI noise until it gets investigated.
    
    Signed-off-by: Michael Dawson <mdawson@devrus.com>
    
    PR-URL: #41207
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mhdawson authored and targos committed Jan 14, 2022
    Copy the full SHA
    367ab2a View commit details
    Browse the repository at this point in the history
  24. async_hooks: fix AsyncLocalStorage in unhandledRejection cases

    PR-URL: #41202
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
    bmeck authored and targos committed Jan 14, 2022
    Copy the full SHA
    56345a3 View commit details
    Browse the repository at this point in the history
  25. policy: add missing JSDoc @param entry

    PR-URL: #41239
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    e60187d View commit details
    Browse the repository at this point in the history
  26. esm: reconcile JSDoc vs. actual parameter name

    PR-URL: #41238
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    5ebe086 View commit details
    Browse the repository at this point in the history
  27. fs: correct param names in JSDoc comments

    PR-URL: #41237
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    0951bd9 View commit details
    Browse the repository at this point in the history
  28. tools: enable prefer-object-has-own lint rule

    PR-URL: #41245
    Refs: https://eslint.org/docs/rules/prefer-object-has-own
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    dae2e5f View commit details
    Browse the repository at this point in the history
  29. test: correct param name in JSDoc comment

    PR-URL: #41241
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    8f08328 View commit details
    Browse the repository at this point in the history
  30. lib: remove spurious JSDoc entry

    PR-URL: #41240
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    24fbbf2 View commit details
    Browse the repository at this point in the history
  31. util: display a present-but-undefined error cause

    See #41097 (comment)
    
    PR-URL: #41247
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ljharb authored and targos committed Jan 14, 2022
    Copy the full SHA
    ab5e94c View commit details
    Browse the repository at this point in the history
  32. tools: add double-quotes to make-v8.sh

    This is not being flagged in CI because (I'm guessing) shellcheck in CI
    is 0.7.0 but latest is 0.8.0.
    
    PR-URL: #41257
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    e2df381 View commit details
    Browse the repository at this point in the history
  33. tools: use arrow function for callback in lint-sh.js

    The function declaration inside an else block is odd (and violates a
    recommended ESLint rule). We tend to use arrow functions for callbacks
    anyway, so switch to that.
    
    PR-URL: #41256
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    62e28f1 View commit details
    Browse the repository at this point in the history
  34. meta: move one or more collaborators to emeritus

    PR-URL: #41248
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    nodejs-github-bot authored and targos committed Jan 14, 2022
    Copy the full SHA
    a53fa20 View commit details
    Browse the repository at this point in the history
  35. tools: make license-builder.sh comply with shellcheck 0.8.0

    Fixes for SC2312 added in shellcheck 0.8.0.
    
    PR-URL: #41258
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    60c059e View commit details
    Browse the repository at this point in the history
  36. test: mark wpt/test-user-timing test flaky

    - The RH team had a team day looking at helping move
      the CI closer to green. This is one of the flaky tests
      with the most reported failures and has been open
      since October. Marking flaky.
    
    Signed-off-by: Michael Dawson <mdawson@devrus.com>
    
    PR-URL: #41203
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Adrian Estrada <edsadr@gmail.com>
    mhdawson authored and targos committed Jan 14, 2022
    Copy the full SHA
    90617b9 View commit details
    Browse the repository at this point in the history
  37. doc: add usage recommendation for writable._destroy

    PR-URL: #41040
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    RafaelGSS authored and targos committed Jan 14, 2022
    Copy the full SHA
    29563ab View commit details
    Browse the repository at this point in the history
  38. test: mark test-worker-take-heapsnapshot flaky

    - Mark test-worker-take-heapsnapshot as flaky on
      arm with debug
    
    Refs: #41204
    Refs: #41209
    
    Signed-off-by: Michael Dawson <mdawson@devrus.com>
    
    PR-URL: #41253
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mhdawson authored and targos committed Jan 14, 2022
    Copy the full SHA
    fac0871 View commit details
    Browse the repository at this point in the history
  39. loader: fix package resolution for edge case

    this commit solves a regression introduced with PR-40980.
    if a resolve call results in a script with .mjs extension the
    is automatically set to . This avoids the case where an additional
     in the same directory as the .mjs file would declare the
     to commonjs
    
    PR-URL: #41218
    Refs: #40980
    Refs: yargs/yargs#2068
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    dygabo authored and targos committed Jan 14, 2022
    Copy the full SHA
    68fd2ac View commit details
    Browse the repository at this point in the history
  40. tools: update doc dependency mdast-util-gfm-table to 1.0.2

    This fixes a bug that causes our tooling to generate invalid HTML. (The
    `align` attribute on `tr` and `td` elements was ending up with the
    invalid value of `"none"`.)
    
    Refs: remarkjs/remark-gfm#29
    Refs: syntax-tree/mdast-util-gfm-table@a28b860
    
    PR-URL: #41260
    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: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    c546cef View commit details
    Browse the repository at this point in the history
  41. events: add EventEmitterAsyncResource to core

    Signd-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #41246
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    jasnell authored and targos committed Jan 14, 2022
    Copy the full SHA
    fe21607 View commit details
    Browse the repository at this point in the history
  42. tools: consolidate update-authors.js logic

    Use a single regex and fewer logical branches in the code.
    
    PR-URL: #41255
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    46b364a View commit details
    Browse the repository at this point in the history
  43. doc: fix example in node-api docs

    Fixes: #39564
    
    Signed-off-by: Michael Dawson <mdawson@devrus.com>
    
    PR-URL: #41264
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Harshitha K P <harshitha014@gmail.com>
    mhdawson authored and targos committed Jan 14, 2022
    Copy the full SHA
    dac8407 View commit details
    Browse the repository at this point in the history
  44. http2: handle existing socket data when creating HTTP/2 server sessions

    When emitting a 'connection' event to manually inject connections into a
    server, it's common for the provided stream to already contain readable
    data, e.g. after sniffing a connection to detect HTTP/2 from the initial
    bytes.
    
    Previously this was supported only for outgoing HTTP/2 sessions created
    with http2.connect(). This change ensures that HTTP/2 over existing
    streams is supported on both outgoing and incoming sessions.
    
    PR-URL: #41185
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    pimterry authored and targos committed Jan 14, 2022
    Copy the full SHA
    0aacd49 View commit details
    Browse the repository at this point in the history
  45. meta: update node-api team name

    The `@nodejs/n-api` team was renamed to `@nodejs/node-api`.
    
    PR-URL: #41268
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    richardlau authored and targos committed Jan 14, 2022
    Copy the full SHA
    d0d595f View commit details
    Browse the repository at this point in the history
  46. tools: use {N} for spaces in regex

    Spaces are hard to count. Use {N} notation to indicate how many spaces
    in regular expressions in find-inactive-collaborators.
    
    PR-URL: #41295
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    1985284 View commit details
    Browse the repository at this point in the history
  47. child_process: revise argument processing

    execFile() and fork() have complicated argument processing. Clarify code
    and avoid using `arguments`.
    
    PR-URL: #41280
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    ed41fd1 View commit details
    Browse the repository at this point in the history
  48. events: add jsdoc details for Event and EventTarget

    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #41274
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Adrian Estrada <edsadr@gmail.com>
    jasnell authored and targos committed Jan 14, 2022
    Copy the full SHA
    e3a0a9c View commit details
    Browse the repository at this point in the history
  49. util: do not reduce to a single line if not appropriate using inspect

    This makes sure entries are not lined up on a single line if the
    content contains any new line. That would otherwise cause confusing
    output.
    
    Signed-off-by: Ruben Bridgewater <ruben@bridgewater.de>
    
    PR-URL: #41083
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR authored and targos committed Jan 14, 2022
    Copy the full SHA
    5ed8a1c View commit details
    Browse the repository at this point in the history
  50. doc: include stack trace difference in ES modules

    This change highlights in the docs difference between stack traces for
    CommonJS modules and ES Modules.
    
    Fixes: #39787
    
    PR-URL: #41157
    Reviewed-By: James M Snell <jasnell@gmail.com>
    thebergamo authored and targos committed Jan 14, 2022
    Copy the full SHA
    e819685 View commit details
    Browse the repository at this point in the history
  51. tools: be intentional about masking possible error in start-ci.sh

    Revise start-ci.sh to conform with shellcheck 0.8.0 default checks.
    
    Refs: https://www.shellcheck.net/wiki/SC2312
    
    PR-URL: #41284
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    80a114d View commit details
    Browse the repository at this point in the history
  52. doc: remove legacy in-page links in v8.md

    Use autogenerated id attributes.
    
    PR-URL: #41291
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    23f97ec View commit details
    Browse the repository at this point in the history
  53. tools: avoid generating duplicate id attributes

    In all.html, we currently generate hundreds of duplicate id attributes
    because of conflicts between the way allhtml.mjs prefixes in-page links
    with the module name on the one hand, and the existence of legacy id
    attributes hardcoded into the page on the other hand.
    
    This prefaces the module name with `all_` to avoid the conflicts.
    
    PR-URL: #41291
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    c12cbf2 View commit details
    Browse the repository at this point in the history
  54. async_hooks: add missing initialization

    - Add missing initialization reported by coverity.
    
    Signed-off-by: Michael Dawson <mdawson@devrus.com>
    
    PR-URL: #41288
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    mhdawson authored and targos committed Jan 14, 2022
    Copy the full SHA
    314102b View commit details
    Browse the repository at this point in the history
  55. tools: use Object.hasOwn() in alljson.mjs

    Replace hasOwnProperty() with Object.hasOwn().
    
    PR-URL: #41306
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    58da5d9 View commit details
    Browse the repository at this point in the history
  56. doc: remove section about amending commits in PR guide

    In my first contribution, I got the amending guidance wrongly and
    amended my commit to attend some requested changes.
    
    Amending commits is never required to author a PR in the project, and
    force pushing makes reviewing harder, so the PR guide should not
    recommend it as a good practice.
    
    PR-URL: #41287
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Farenheith authored and targos committed Jan 14, 2022
    Copy the full SHA
    3a80104 View commit details
    Browse the repository at this point in the history
  57. meta: update AUTHORS

    PR-URL: #41322
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    nodejs-github-bot authored and targos committed Jan 14, 2022
    Copy the full SHA
    e339220 View commit details
    Browse the repository at this point in the history
  58. events: graduate capturerejections to supported

    These have been around long enough to warrant graduation.
    
    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #41267
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    jasnell authored and targos committed Jan 14, 2022
    Copy the full SHA
    4079fc4 View commit details
    Browse the repository at this point in the history
  59. tls: permit null as a pfx value

    Allow null along with undefined for pfx value.
    
    This is to avoid breaking change when upgrading v14 to v16 and
    3rd party library passing null to pfx
    
    Fixes: #36292
    
    PR-URL: #41170
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    CallMeLaNN authored and targos committed Jan 14, 2022
    Copy the full SHA
    a11ff31 View commit details
    Browse the repository at this point in the history
  60. test: add comments explaining _setSimultaneousAccepts deprecation tests

    PR-URL: #41307
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    kuriyosh authored and targos committed Jan 14, 2022
    Copy the full SHA
    b2a87f7 View commit details
    Browse the repository at this point in the history
  61. tools: update lint-md-dependencies to rollup@2.62.0

    PR-URL: #41315
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    nodejs-github-bot authored and targos committed Jan 14, 2022
    Copy the full SHA
    137c814 View commit details
    Browse the repository at this point in the history
  62. tools: simplify commit-queue.sh merge command

    The mergeUrl() function is only used in one place. It's a one-liner and
    inlining it makes the script easier to understand, I think. It also
    means no future shellcheck complaints about needing to add error
    handling.
    
    PR-URL: #41314
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    9c41247 View commit details
    Browse the repository at this point in the history
  63. crypto: alias webcrypto.subtle and webcrypto.getRandomValues on crypto

    The aliases allow code written to assume that `crypto.subtle` and
    `crypto.getRandomValues()` exist on the `crypto` global to just work.
    
    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #41266
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    jasnell authored and targos committed Jan 14, 2022
    Copy the full SHA
    d62fe31 View commit details
    Browse the repository at this point in the history
  64. doc: fix sync comment in observer snippet

    PR-URL: #41262
    Refs: #41259
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Harshitha K P <harshitha014@gmail.com>
    erj826 authored and targos committed Jan 14, 2022
    Copy the full SHA
    5cfc547 View commit details
    Browse the repository at this point in the history
  65. tools: improve section tag additions in HTML doc generator

    There is an edge case involving GFM footnotes where our current code
    adds an empty section which results in a warning (but not an error) in
    HTML validators. This change causes the HTML generator to skip the
    unnecessary addition of a section tag in that one edge case.
    
    PR-URL: #41318
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    75ff8e6 View commit details
    Browse the repository at this point in the history
  66. meta: replace feature request template with form

    The bug report form doesn't seem to result in many invalid/spam reports,
    but the template still results in lots of issues opened by apparent bots
    that don't modify the default template imput. Change the feature request
    template to a form to hopefully better serve people proposing features
    and reduce bot-generated junk issues.
    
    PR-URL: #41317
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    3e188ca View commit details
    Browse the repository at this point in the history
  67. events: clarify JSDoc entries

    Split the JSDoc entries into separate blocks.
    
    This is in preparation for enabling jsdoc/check-param-names lint rule.
    
    PR-URL: #41311
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    9fe304b View commit details
    Browse the repository at this point in the history
  68. tools: enable jsdoc/check-param-names lint rule

    PR-URL: #41311
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    0ca7cda View commit details
    Browse the repository at this point in the history
  69. stream: add map method to Readable

    Implement the map method on readable stream. This starts the alignment
    with the tc39-iterator-helpers proposal and adds a `.map` method to
    every Node.js readable stream.
    
    Co-Authored-By: Robert Nagy <ronag@icloud.com>
    
    PR-URL: #40815
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    benjamingr authored and targos committed Jan 14, 2022
    2
    Copy the full SHA
    9f5a873 View commit details
    Browse the repository at this point in the history
  70. stream: add isReadable helper

    PR-URL: #41199
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ronag authored and targos committed Jan 14, 2022
    Copy the full SHA
    1150963 View commit details
    Browse the repository at this point in the history
  71. benchmark: fix benchmark/run.js handling of --set

    run.js does not work with --set as it tries to include it as
    options to `fork()` rather than as part of argv for `fork()`. This
    doesn't throw an error because of a quirk in `fork()` that silently
    accepts arrays for options objects. This will be changing in Node.js
    18.x.
    
    PR-URL: #41334
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    88d760c View commit details
    Browse the repository at this point in the history
  72. tools: do not mask errors on multiple commit retrieval

    In commit-queue.sh, the assignment to `commits` will succeed and the
    script will continue if one of the two `git` commands fails, even with
    `-e` set. Split it into three separate assignments so that failures in
    the `git` commands will be clearly logged and cause the script to exit
    with a failure status code.
    
    PR-URL: #41340
    Reviewed-By: Tierney Cyren <hello@bnb.im>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    5fc886f View commit details
    Browse the repository at this point in the history
  73. test: use spawnSync() full name

    test-cli-bad-options.js uses `spawnSync()` but renames it as `spawn()`
    which caused me a bit of confusion for a bit until I realized what was
    going on. Rename the variable `spawnSync()` for
    readability/maintainability.
    
    PR-URL: #41327
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    c136d59 View commit details
    Browse the repository at this point in the history
  74. test: improve expectWarning error message

    expectWarning() fails with a TypeError and a message about undefined not
    being iterable when the warning is emitted more times than expected.
    This change produces a more useful error message.
    
    Refs: https://github.com/nodejs/node/pull/41307/files#r775197738
    
    PR-URL: #41326
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    75c565b View commit details
    Browse the repository at this point in the history
  75. child_process: queue pending messages

    It fixes the problem of the child process not receiving messages.
    
    Fixes: #41134
    
    PR-URL: #41221
    Reviewed-By: Adrian Estrada <edsadr@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
    ErickWendel authored and targos committed Jan 14, 2022
    Copy the full SHA
    d9465ae View commit details
    Browse the repository at this point in the history
  76. test: use spawnSync() full name in test-stdio-pipe-stderr

    test-stdio-pipe-stderr uses `spawnSync()` but renames it as `spawn()`
    which can be confusing. Rename it to `spawnSync()` for
    readability/maintainability.
    
    PR-URL: #41332
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    f97f6c5 View commit details
    Browse the repository at this point in the history
  77. typings: add JSDoc for string_decoder

    PR-URL: #38229
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Ayase-252 authored and targos committed Jan 14, 2022
    Copy the full SHA
    d733b56 View commit details
    Browse the repository at this point in the history
  78. typings: add types for symbol and accessor properties on primordials

    PR-URL: #40992
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ExE-Boss authored and targos committed Jan 14, 2022
    Copy the full SHA
    c8e8fc0 View commit details
    Browse the repository at this point in the history
  79. doc: make pull-request guide default branch agnostic

    Refs: #33864
    
    PR-URL: #41299
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    aduh95 authored and targos committed Jan 14, 2022
    Copy the full SHA
    ffe17a8 View commit details
    Browse the repository at this point in the history
  80. doc: fix example description for worker_threads

    PR-URL: #41341
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Harshitha K P <harshitha014@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    krutoo authored and targos committed Jan 14, 2022
    Copy the full SHA
    c267bb2 View commit details
    Browse the repository at this point in the history
  81. meta: move one or more collaborators to emeritus

    PR-URL: #41336
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    nodejs-github-bot authored and targos committed Jan 14, 2022
    Copy the full SHA
    253c3e5 View commit details
    Browse the repository at this point in the history
  82. meta: replace API docs issue template with form

    All other issue templates have been moved to forms, which seems to do a
    good job of reducing spam issues.
    
    PR-URL: #41348
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Qingyu Deng <i@ayase-lab.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    1f6c4e8 View commit details
    Browse the repository at this point in the history
  83. fs: use async directory processing in cp()

    The readdir() functions do not scale well, which is why
    opendir(), etc. were introduced. This is exacerbated in the
    current cp() implementation, which calls readdir() recursively.
    
    This commit updates cp() to use the opendir() style iteration.
    
    PR-URL: #41351
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tierney Cyren <hello@bnb.im>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    cjihrig authored and targos committed Jan 14, 2022
    Copy the full SHA
    d4a6f2c View commit details
    Browse the repository at this point in the history
  84. build: remove Python 2 workaround

    Remove workaround for Python 2.
    
    I confirmed that V8 build still works by running `./configure.py &&
    make v8`.
    
    PR-URL: #41357
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    afe1e00 View commit details
    Browse the repository at this point in the history
  85. tools: update eslint to 8.6.0

    PR-URL: #41368
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    nodejs-github-bot authored and targos committed Jan 14, 2022
    Copy the full SHA
    9284d24 View commit details
    Browse the repository at this point in the history
  86. tools: remove last of error-masking in commit-queue.sh

    Remove the lats of the unintentional error-masking in commit-queue.sh.
    
    With this change, `tools/lint-sh.js . --from-npx` at last passes.
    
    PR-URL: #41356
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tierney Cyren <hello@bnb.im>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    bd8b95a View commit details
    Browse the repository at this point in the history
  87. src: guard slightly costly check in MakeCallback more strongly

    PR-URL: #41331
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    addaleax authored and targos committed Jan 14, 2022
    Copy the full SHA
    6187e81 View commit details
    Browse the repository at this point in the history
  88. src: store native async execution resources as v8::Local

    This is possible because the async stack is always expected
    to match the native call stack, and saves performance overhead
    that comes from the usage of `v8::Global`.
    
    PR-URL: #41331
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    addaleax authored and targos committed Jan 14, 2022
    Copy the full SHA
    250e197 View commit details
    Browse the repository at this point in the history
  89. src: split out async stack corruption detection from inline fn

    This is fairly expensive code that unnecessarily bloats the
    contents of the inline function.
    
    PR-URL: #41331
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    addaleax authored and targos committed Jan 14, 2022
    Copy the full SHA
    337ebfc View commit details
    Browse the repository at this point in the history
  90. doc: revise frozen-intrinsics text

    PR-URL: #41342
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    0d18a8c View commit details
    Browse the repository at this point in the history
  91. stream: add filter method to readable

    This continues the work in #40815 to
    make streams compatible with upcoming ECMAScript language features. It
    adds an experimental `filter` api to streams and tests/docs for it.
    
    See https://github.com/tc39/proposal-iterator-helpers/
    
    Co-Authored-By: Robert Nagy <ronagy@icloud.com>
    
    PR-URL: #41354
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    benjamingr authored and targos committed Jan 14, 2022
    Copy the full SHA
    09c25bb View commit details
    Browse the repository at this point in the history
  92. timers: use ref counts to count timers

    The additional objects that were getting added and deleted from the
    activeTimersMap object were slowing down the rest of the timers code,
    so this change falls back to using the ref counts to count the active
    timers inside process.getActiveResourcesInfo().
    
    Fixes: #41219
    
    Signed-off-by: Darshan Sen <darshan.sen@postman.com>
    
    PR-URL: #41231
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    RaisinTen authored and targos committed Jan 14, 2022
    Copy the full SHA
    2e92f6f View commit details
    Browse the repository at this point in the history
  93. doc: clarify require behavior with non .js extensions

    Refs: #41333
    
    PR-URL: #41345
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    aduh95 authored and targos committed Jan 14, 2022
    Copy the full SHA
    6460b1b View commit details
    Browse the repository at this point in the history
  94. meta: update AUTHORS

    PR-URL: #41374
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    nodejs-github-bot authored and targos committed Jan 14, 2022
    Copy the full SHA
    da04408 View commit details
    Browse the repository at this point in the history
  95. test: mark test-repl-sigint-nested-eval as flaky

    Refs: #41123
    
    - This is one of the remaining high occurance flaky
      tests from the reliability reports and recent
      failures in the CI. Mark as flaky until issue
      is resolved under referenced issue.
    
    Signed-off-by: Michael Dawson <mdawson@devrus.com>
    
    PR-URL: #41302
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    mhdawson authored and targos committed Jan 14, 2022
    Copy the full SHA
    e808ee6 View commit details
    Browse the repository at this point in the history
  96. node-api: add missing initialization of last error

    - Add missing initiatlization of last error which
      was reported by coverity.
    
    Signed-off-by: Michael Dawson <mdawson@devrus.com>
    
    PR-URL: #41290
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
    mhdawson authored and targos committed Jan 14, 2022
    Copy the full SHA
    5fe011a View commit details
    Browse the repository at this point in the history
  97. tools: update doc to rehype-raw@6.1.1

    PR-URL: #41367
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    nodejs-github-bot authored and targos committed Jan 14, 2022
    Copy the full SHA
    0768302 View commit details
    Browse the repository at this point in the history
  98. build: use list for mutable retval rather than tuple

    We define `retval` as a tuple and then replace the tuple by "appending"
    items with `+=` but that actually creates a new tuple every time.
    Because it is intended to be mutable, use a list instead, then return a
    tuple from the function, as it should be immutable outside the function.
    
    PR-URL: #41372
    Reviewed-By: Christian Clauss <cclauss@me.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    80a3766 View commit details
    Browse the repository at this point in the history
  99. http: remove duplicate code

    This line of code has been implemented in the prepareError function.
    
    PR-URL: #39239
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    xiaoxiaojx authored and targos committed Jan 14, 2022
    Copy the full SHA
    1d75436 View commit details
    Browse the repository at this point in the history
  100. doc: clarify entry point behavior when using loader hooks

    Fixes: #41275
    
    PR-URL: #41304
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    aduh95 authored and targos committed Jan 14, 2022
    Copy the full SHA
    014d483 View commit details
    Browse the repository at this point in the history
  101. doc: document that require.main may be undefined

    PR-URL: #41384
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Reviewed-By: Adrian Estrada <edsadr@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    aduh95 authored and targos committed Jan 14, 2022
    Copy the full SHA
    16c0bea View commit details
    Browse the repository at this point in the history
  102. meta: add required fields in issue templates

    Make sure there is at least one required field in each issue template.
    Leave the title blank to enforce that as a required field as well.
    
    PR-URL: #41378
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    0f9afa5 View commit details
    Browse the repository at this point in the history
  103. tools: update lint-md-dependencies to @rollup/plugin-node-resolve@13.1.2

    PR-URL: #41369
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    nodejs-github-bot authored and targos committed Jan 14, 2022
    Copy the full SHA
    e15e1cb View commit details
    Browse the repository at this point in the history
  104. tls: use optional chaining to simplify checks

    PR-URL: #41337
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    aduh95 authored and targos committed Jan 14, 2022
    Copy the full SHA
    3c8b25b View commit details
    Browse the repository at this point in the history
  105. tools: remove conditional assignment in custom ESLint rule

    These changes no-duplicate-require.js so that it doesn't use an
    assignment in a conditional, which can be easy to misread as a
    comparison rather than an assignment. It also means we change a do/while
    (which we don't use much in our code) to the much more common while
    construct.
    
    PR-URL: #41325
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    dcada80 View commit details
    Browse the repository at this point in the history
  106. tools,benchmark,lib,test: enable no-case-declarations lint rule

    PR-URL: #41385
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Tierney Cyren <hello@bnb.im>
    Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    800640a View commit details
    Browse the repository at this point in the history
  107. doc: fix example commands for REPLACEME updates

    Split the two example command lines for updating the `REPLACEME` tags
    into separate `console` fenced code blocks. This fixes some stray
    "`" characters and makes each example one-click copiable when viewing
    the guide in GitHub's web UI.
    
    PR-URL: #41269
    Refs: #39544
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Beth Griggs <bgriggs@redhat.com>
    richardlau authored and targos committed Jan 14, 2022
    Copy the full SHA
    19db19b View commit details
    Browse the repository at this point in the history
  108. doc: update Abstract Equality Comparison text in assert.md

    * Remove link to ECMAScript specification because the term Abstract
      Equality Comparison is no longer used there.
    * Edit surprising-results material
    * Other minor edits
    
    PR-URL: #41375
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    e6bed4e View commit details
    Browse the repository at this point in the history
  109. test: mark test-performance-eventloopdelay flaky

    Refs: #41286
    
    This is one of the remaining high indicende failures
    in the CI. Mark as flaky while it is investigated.
    
    Signed-off-by: Michael Dawson <mdawson@devrus.com>
    
    PR-URL: #41409
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    mhdawson authored and targos committed Jan 14, 2022
    Copy the full SHA
    3e2154d View commit details
    Browse the repository at this point in the history
  110. esm: refactor esm tests out of test/message

    PR-URL: #41352
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    GeoffreyBooth authored and targos committed Jan 14, 2022
    Copy the full SHA
    8a94ca7 View commit details
    Browse the repository at this point in the history
  111. src: do IWYU for some STL includes

    PR-URL: #41236
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    dsanders11 authored and targos committed Jan 14, 2022
    Copy the full SHA
    93b3664 View commit details
    Browse the repository at this point in the history
  112. build,tools,win: trim unused VCBUILD_PYTHON_LOCATION variable

    PR-URL: #41235
    Refs: #18621
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    dsanders11 authored and targos committed Jan 14, 2022
    Copy the full SHA
    2233f31 View commit details
    Browse the repository at this point in the history
  113. build: start build on z/OS

    Update configure.py, Makefile, and common.gypi to get the
    build started on z/OS.
    
    Co-authored-by: Gaby Baghdadi <baghdadi@ca.ibm.com>
    Co-authored-by: Wayne Zhang <zsw007@gmail.com>
    
    PR-URL: #41273
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org>
    alexcfyung authored and targos committed Jan 14, 2022
    Copy the full SHA
    b0f0ad1 View commit details
    Browse the repository at this point in the history
  114. tools: fix argv bug in find-inactive-tsc.mjs

    The argument supplied is expected to be text, not numeric.
    
    This wasn't causing issues with the automated job because it does not
    send an argument. It uses the default.
    
    PR-URL: #41394
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    583f8d9 View commit details
    Browse the repository at this point in the history
  115. deps: upgrade to libuv 1.43.0

    Notable changes:
    
    - `uv_ip_name()` has been added.
    - On Windows, `uv_fs_read()` and `uv_fs_write()` now return
      `UV_EBADF` instead of `UV_EPERM` when the file descriptor
      was opened with incorrect flags. This matches the behavior
      on other platforms.
    - Streams can be reset and attempted to read from after
      EOF is read.
    - The main thread now has a valid ID instead of `NULL`.
    - `uv_cpu_info()` now supports `aarch64`.
    - Several minor issues related to mingw32 have been fixed.
    
    PR-URL: #41398
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Beth Griggs <bgriggs@redhat.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    cjihrig authored and targos committed Jan 14, 2022
    Copy the full SHA
    02ca5d7 View commit details
    Browse the repository at this point in the history
  116. stream: remove unused function argument

    watchClosed() is only ever called with an anonymous function for the
    action parameter. This anonymous funciton does not take any arguments.
    Remove unused argument from invocation of action().
    
    PR-URL: #41403
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    d79f8c2 View commit details
    Browse the repository at this point in the history
  117. doc: add @RaisinTen to the TSC

    Refs: nodejs/TSC#1141
    
    Signed-off-by: Michael Dawson <mdawson@devrus.com>
    
    PR-URL: #41419
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Tierney Cyren <hello@bnb.im>
    Reviewed-By: Beth Griggs <bgriggs@redhat.com>
    Reviewed-By: Mary Marchini <oss@mmarchini.me>
    mhdawson authored and targos committed Jan 14, 2022
    Copy the full SHA
    d3111bf View commit details
    Browse the repository at this point in the history
  118. doc: add reference for == and != operators

    Refs: #41375 (comment)
    
    PR-URL: #41413
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    f43bfe2 View commit details
    Browse the repository at this point in the history
  119. doc: revise HTTPRequestOptions text

    PR-URL: #41407
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    4a369d0 View commit details
    Browse the repository at this point in the history
  120. tools: replace while+exec() with matchAll()

    PR-URL: #41406
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    4a57d47 View commit details
    Browse the repository at this point in the history
  121. doc: clarify uncaughtException origin for ESM

    Fixes: #41328
    
    PR-URL: #41339
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
    aduh95 authored and targos committed Jan 14, 2022
    Copy the full SHA
    edc6a7a View commit details
    Browse the repository at this point in the history
  122. meta: update AUTHORS

    PR-URL: #41449
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    nodejs-github-bot authored and targos committed Jan 14, 2022
    Copy the full SHA
    da1d5d6 View commit details
    Browse the repository at this point in the history
  123. meta: correct my name in AUTHORS

    PR-URL: #41444
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Qingyu Deng <i@ayase-lab.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    JakobJingleheimer authored and targos committed Jan 14, 2022
    Copy the full SHA
    e1ff452 View commit details
    Browse the repository at this point in the history
  124. doc: add reference for === operator in assert.md

    PR-URL: #41442
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    10bdb59 View commit details
    Browse the repository at this point in the history
  125. doc: add note regarding unfinished TLA

    PR-URL: #41434
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    aduh95 authored and targos committed Jan 14, 2022
    Copy the full SHA
    60025bd View commit details
    Browse the repository at this point in the history
  126. tools: use GITHUB_ACTIONS env var in inactivity scripts

    Don't rewrite the README if we're not running inside a GitHub Action.
    
    PR-URL: #41422
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    c91ac20 View commit details
    Browse the repository at this point in the history
  127. doc: update output in inspector examples

    PR-URL: #41390
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    dsanders11 authored and targos committed Jan 14, 2022
    Copy the full SHA
    d721a75 View commit details
    Browse the repository at this point in the history
  128. doc: add guidance on order vulns are listed in

    Signed-off-by: Michael Dawson <mdawson@devrus.com>
    
    PR-URL: #41429
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Beth Griggs <bgriggs@redhat.com>
    mhdawson authored and targos committed Jan 14, 2022
    Copy the full SHA
    62aa190 View commit details
    Browse the repository at this point in the history
  129. stream: fix error-path function call

    The `onFinish()` function takes a single argument. The two extra
    arguments passed here are already in the function scope, and may result
    in the error being mishandled.
    
    PR-URL: #41433
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    b08138f View commit details
    Browse the repository at this point in the history
  130. doc: update mailmap entries for mhdawson

    Update the content and order of my mailmap entries. Recent
    changelogs have been using my outdated email address.
    
    Signed-off-by: Michael Dawson <mdawson@devrus.com>
    
    PR-URL: #41437
    Reviewed-By: Tierney Cyren <hello@bnb.im>
    Reviewed-By: Adrian Estrada <edsadr@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    mhdawson authored and targos committed Jan 14, 2022
    Copy the full SHA
    524103d View commit details
    Browse the repository at this point in the history
  131. url,lib: pass urlsearchparams-constructor.any.js

    According to WPT:
    
    1. `URLSearchParams` constructor should throw exactly `TypeError` if any
       Error occurrs.
    2. When a record passed to `URLSearchParams` constructor, two different
       key may result same after `toUVString()`. We should leave only the
       later one.
    
    PR-URL: #41197
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    XadillaX authored and targos committed Jan 14, 2022
    Copy the full SHA
    01ad8de View commit details
    Browse the repository at this point in the history
  132. meta: update AUTHORS

    PR-URL: #41475
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Beth Griggs <bgriggs@redhat.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
    nodejs-github-bot authored and targos committed Jan 14, 2022
    Copy the full SHA
    07353e9 View commit details
    Browse the repository at this point in the history
  133. benchmark: simplify http benchmarker regular expression

    A non-capturing group inside a capturing group has no effect. Simplify
    the regular expression.
    
    PR-URL: #38206
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    fa84353 View commit details
    Browse the repository at this point in the history
  134. tools: replace for loop with map()

    Refs: #41406 (comment)
    Co-authored-by: Tobias Nießen <tniessen@tnie.de>
    
    PR-URL: #41451
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    ec337b2 View commit details
    Browse the repository at this point in the history
  135. doc: remove SameValue comparison reference

    Referring to `Object.is()` will be more clear and direct. The
    `Object.is()` reference in turn refers to `SameValue` so people can dig
    deeper there if they want or need to.
    
    PR-URL: #41460
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Harshitha K P <harshitha014@gmail.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    b7b0631 View commit details
    Browse the repository at this point in the history
  136. build: fix workflow access to git history

    Refs: #41466
    
    PR-URL: #41472
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Tierney Cyren <hello@bnb.im>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    3d88ea1 View commit details
    Browse the repository at this point in the history
  137. doc: remove extraneous colon in legacy subject

    PR-URL: #41477
    Refs: #24358
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Tierney Cyren <hello@bnb.im>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    tniessen authored and targos committed Jan 14, 2022
    Copy the full SHA
    c632241 View commit details
    Browse the repository at this point in the history
  138. meta: move one or more collaborators to emeritus

    PR-URL: #41456
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    nodejs-github-bot authored and targos committed Jan 14, 2022
    Copy the full SHA
    a6146c7 View commit details
    Browse the repository at this point in the history
  139. esm: make process.exit() default to exit code 0

    Due to a bug in top-level await implementation, it used to default to
    exit code 13.
    
    PR-URL: #41388
    Fixes: #40808
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    MoonBall authored and targos committed Jan 14, 2022
    Copy the full SHA
    c9a4603 View commit details
    Browse the repository at this point in the history
  140. tools: enable ESLint no-loss-of-precision rule

    PR-URL: #41463
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    afa4f37 View commit details
    Browse the repository at this point in the history
  141. tools: enable ESLint no-sparse-arrays rule

    PR-URL: #41463
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    8090ce7 View commit details
    Browse the repository at this point in the history
  142. tools: enable ESLint require-yield rule

    PR-URL: #41463
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    1f4369a View commit details
    Browse the repository at this point in the history
  143. tools,lib,test: enable ESLint no-regex-spaces rule

    PR-URL: #41463
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    4518fdd View commit details
    Browse the repository at this point in the history
  144. tools: enable ESLint no-constant-condition rule

    PR-URL: #41463
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    090a674 View commit details
    Browse the repository at this point in the history
  145. tools: enable ESLint recommended configuration

    PR-URL: #41463
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    258ee4b View commit details
    Browse the repository at this point in the history
  146. doc: correct checkHost behavior with wildcards etc

    The current documentation is inaccurate in that checkHost does not
    necessarily return the given host name, but instead returns the subject
    name that matched the given host name.
    
    Refs: #36804
    
    PR-URL: #41468
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    tniessen authored and targos committed Jan 14, 2022
    Copy the full SHA
    5c0c459 View commit details
    Browse the repository at this point in the history
  147. src: fix out-of-bounds check of serialization indices

    The usage of `CHECK_LE` to verify that the index is within bounds
    of a vector's size allows for reading one item past the vector's end,
    which is in invalid memory read. This commit fixes the off-by-one error
    by changing the bounds check to use `CHECK_LT`.
    
    PR-URL: #41452
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    JoostK authored and targos committed Jan 14, 2022
    Copy the full SHA
    7ac126b View commit details
    Browse the repository at this point in the history
  148. tools: fix small not-quite-a-bug in find-inactive-tsc.mjs

    The current code attempts to count votes from people who were not
    members at the start of the 3 month period, resulting in `NaN` being
    tallied for their votes.
    
    PR-URL: #41469
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Tierney Cyren <hello@bnb.im>
    Trott authored and targos committed Jan 14, 2022
    Copy the full SHA
    5129b7c View commit details
    Browse the repository at this point in the history
  149. src: gracefully handle errors in GetX509NameObject

    PR-URL: #41490
    Co-authored-by: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    2 people authored and targos committed Jan 14, 2022
    Copy the full SHA
    6aec92f View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2022

  1. deps: V8: cherry-pick 3b6b21f595f6

    Original commit message:
    
        [liftoff] Allow bailout for missing ARMv7
    
        The bailout is there explicitly in the code, so we should allow it in
        {CheckBailoutAllowed}.
    
        R=ahaas@chromium.org
    
        Bug: v8:12527
        Change-Id: Ifd906afb5f034f05c2bf7d9a28e3ab458549e7ef
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3372915
        Reviewed-by: Andreas Haas <ahaas@chromium.org>
        Commit-Queue: Clemens Backes <clemensb@chromium.org>
        Cr-Commit-Position: refs/heads/main@{#78515}
    
    Refs: v8/v8@3b6b21f
    
    Fixes: #41402
    
    PR-URL: #41457
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    targos committed Jan 16, 2022
    Copy the full SHA
    af3acec View commit details
    Browse the repository at this point in the history
  2. test: do not OR F_OK in fs.access() test

    access() does not support OR'ing F_OK with other constants.
    This commit updates test-fs-access.js to not test that
    scenario.
    
    PR-URL: #41484
    Refs: libuv/libuv#3410
    Reviewed-By: Richard Lau
    Reviewed-By: Luigi Pinca
    Reviewed-By: Tobias Nießen
    cjihrig authored and targos committed Jan 16, 2022
    Copy the full SHA
    9d8d7c6 View commit details
    Browse the repository at this point in the history
  3. doc: expand fs.access() mode parameter docs

    This commit expands the documentation for the mode parameter
    passed to the fs.access() family of functions.
    
    PR-URL: #41484
    Refs: libuv/libuv#3410
    Reviewed-By: Richard Lau
    Reviewed-By: Luigi Pinca
    Reviewed-By: Tobias Nießen
    cjihrig authored and targos committed Jan 16, 2022
    Copy the full SHA
    f443a4e View commit details
    Browse the repository at this point in the history
  4. test: remove broken wiki link from test/common doc

    PR-URL: #41426
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    kuriyosh authored and targos committed Jan 16, 2022
    Copy the full SHA
    106ef0c View commit details
    Browse the repository at this point in the history
  5. src: use std::optional for Worker thread id

    Refs: #41421
    
    PR-URL: #41453
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    addaleax authored and targos committed Jan 16, 2022
    Copy the full SHA
    ec9071f View commit details
    Browse the repository at this point in the history
  6. doc: add missing YAML tag in esm.md

    Refs: #41434
    
    PR-URL: #41516
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    aduh95 authored and targos committed Jan 16, 2022
    Copy the full SHA
    712dfdc View commit details
    Browse the repository at this point in the history
  7. test: improve test coverage of dns/promises

    PR-URL: #41425
    Refs: https://coverage.nodejs.org/coverage-0b4e9ae656e93e5f/lib/internal/dns/promises.js.html#L128
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    kuriyosh authored and targos committed Jan 16, 2022
    Copy the full SHA
    09f2fd3 View commit details
    Browse the repository at this point in the history
  8. doc: add missing word in readable.read() text

    This adds a missing _is_ in the readable.read() text and makes
    small style adjustments.
    
    PR-URL: #41524
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Trott authored and targos committed Jan 16, 2022
    Copy the full SHA
    abbfed8 View commit details
    Browse the repository at this point in the history
  9. deps: upgrade npm to 8.3.1

    PR-URL: #41503
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruy Adorno <ruyadorno@github.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    npm-robot authored and targos committed Jan 16, 2022
    Copy the full SHA
    f5b8aee View commit details
    Browse the repository at this point in the history
  10. build: fix node build failures in WSL Ubuntu

    On WSL systems, `./configure` causes appending of carriage return
    (`\r\r`) as leftover and will be appended to the `gyp_args`.
    Therefore, it will lead to unhandled exceptions from the `./configure`
    execution.
    Excluded the empty or whitespace item from the `args` array to
    fix the issue.
    
    Fixes: #41459
    
    PR-URL: #41476
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    MrJithil authored and targos committed Jan 16, 2022
    Copy the full SHA
    e8538c3 View commit details
    Browse the repository at this point in the history
  11. stream: remove always-false condition check

    Remove comparison to null of variable guaranteed to be a boolean.
    
    PR-URL: #41488
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Trott authored and targos committed Jan 16, 2022
    Copy the full SHA
    51d86fe View commit details
    Browse the repository at this point in the history
  12. doc: add Mesteery to collaborators

    Fixes: #41216
    
    PR-URL: #41543
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Qingyu Deng <i@ayase-lab.com>
    Reviewed-By: Ben Coe <bencoe@gmail.com>
    Mesteery authored and targos committed Jan 16, 2022
    Copy the full SHA
    fcb37e9 View commit details
    Browse the repository at this point in the history
  13. doc: fix typo in onboarding.md

    PR-URL: #41544
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Mestery <mestery@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    aduh95 authored and targos committed Jan 16, 2022
    Copy the full SHA
    ba7160e View commit details
    Browse the repository at this point in the history
  14. doc: remove statement about client private keys

    This statement was objectively false. Clients usually only need to
    generate and/or own a private key if the server sends a
    CertificateRequest during the TLS handshake, which is not a common case.
    
    PR-URL: #41505
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    tniessen authored and targos committed Jan 16, 2022
    Copy the full SHA
    48e4780 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2022

  1. build: fix npm version detection

    Npm's package.json now contains two fields named "version".
    Grep for the top-level one.
    
    Fixes: nodejs/build#2850
    
    PR-URL: #41575
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Christian Clauss <cclauss@me.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    targos committed Jan 18, 2022
    Copy the full SHA
    4958c80 View commit details
    Browse the repository at this point in the history
  2. 2022-01-18, Version 17.4.0 (Current)

    Notable changes:
    
    child_process:
      * (SEMVER-MINOR) add support for URL to `cp.fork` (Antoine du Hamel) #41225
    crypto:
      * (SEMVER-MINOR) alias webcrypto.subtle and webcrypto.getRandomValues on crypto (James M Snell) #41266
    doc:
      * add Mesteery to collaborators (Mestery) #41543
    events:
      * (SEMVER-MINOR) graduate capturerejections to supported (James M Snell) #41267
      * (SEMVER-MINOR) add EventEmitterAsyncResource to core (James M Snell) #41246
    loader:
      * (SEMVER-MINOR) return package format from defaultResolve if known (Gabriel Bota) #40980
    perf_hooks:
      * (SEMVER-MINOR) multiple fixes for Histogram (James M Snell) #41153
    stream:
      * (SEMVER-MINOR) add filter method to readable (Benjamin Gruenbaum, Robert Nagy) #41354
      * (SEMVER-MINOR) add isReadable helper (Robert Nagy) #41199
      * (SEMVER-MINOR) add map method to Readable (Benjamin Gruenbaum, Robert Nagy) #40815
    
    PR-URL: #41557
    targos committed Jan 18, 2022
    Copy the full SHA
    5b59e14 View commit details
    Browse the repository at this point in the history