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

[pull] master from nodejs:master #14

Closed
wants to merge 1,673 commits into from
Closed

[pull] master from nodejs:master #14

wants to merge 1,673 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Jan 9, 2021

  1. http2: refactor to use primordials instead of <string>.indexOf

    PR-URL: #36679
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Pooja D P <Pooja.D.P@ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    rchougule authored and yashLadha committed Jan 9, 2021
    Configuration menu
    Copy the full SHA
    3af175f View commit details
    Browse the repository at this point in the history
  2. doc: clarify descriptions of _writev chunks argument

    Fixes: #36789
    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #36822
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    jasnell committed Jan 9, 2021
    Configuration menu
    Copy the full SHA
    96c3498 View commit details
    Browse the repository at this point in the history
  3. process: passing -1 to setuid/setgid should not abort

    Fixes: #32750
    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #36786
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Harshitha K P <harshitha014@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    jasnell committed Jan 9, 2021
    Configuration menu
    Copy the full SHA
    421279b View commit details
    Browse the repository at this point in the history
  4. domain: make node resilient to Array prototype tempering

    Fixes: #36669
    
    PR-URL: #36676
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    aduh95 authored and jasnell committed Jan 9, 2021
    Configuration menu
    Copy the full SHA
    83b428a View commit details
    Browse the repository at this point in the history
  5. docs: add references to punycode.md

    Add references to related `url` functions in punycode.md. These provide
    guidance to users who may be investigating the punycode module for URL
    encoding.
    
    PR-URL: #36761
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Yash Ladha <yash@yashladha.in>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    isaacl authored and jasnell committed Jan 9, 2021
    Configuration menu
    Copy the full SHA
    7dea99b View commit details
    Browse the repository at this point in the history
  6. async_hooks: add thisArg to AsyncResource.bind

    Semver-major
    
    Support setting the `thisArg` for AsyncResource.bind and
    AsyncResource.prototype.bind. If `thisArg` is not set,
    then `this` will be set to the `AsyncResource` instance.
    
    Fixes: #36051
    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #36782
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    jasnell committed Jan 9, 2021
    Configuration menu
    Copy the full SHA
    324a6c2 View commit details
    Browse the repository at this point in the history
  7. crypto: introduce X509Certificate API

    Introduces the `crypto.X509Certificate` object.
    
    ```js
    const { X509Certificate } = require('crypto');
    
    const x509 = new X509Certificate('{pem encoded cert}');
    console.log(x509.subject);
    ```
    
    Fixes: #29181
    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #36804
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    jasnell committed Jan 9, 2021
    Configuration menu
    Copy the full SHA
    f5287a4 View commit details
    Browse the repository at this point in the history
  8. doc: clarify child_process.exec inherits cwd

    PR-URL: #36809
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Pooja D P <Pooja.D.P@ibm.com>
    Reviewed-By: Yash Ladha <yash@yashladha.in>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ugultopu authored and jasnell committed Jan 9, 2021
    Configuration menu
    Copy the full SHA
    6498e05 View commit details
    Browse the repository at this point in the history
  9. net: throw ERR_OUT_OF_RANGE if blockList.addSubnet prefix is NaN

    Fixes: #36731
    
    PR-URL: #36732
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Lxxyx authored and jasnell committed Jan 9, 2021
    Configuration menu
    Copy the full SHA
    9574e5b View commit details
    Browse the repository at this point in the history
  10. timers: refactor to use optional chaining

    PR-URL: #36767
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Lxxyx authored and jasnell committed Jan 9, 2021
    Configuration menu
    Copy the full SHA
    d8f535b View commit details
    Browse the repository at this point in the history
  11. doc: add http.IncomingMessage#connection

    Refs: #33715
    
    * link message.socket
    * deprecate
    * update doc/api/http.md
    
    PR-URL: #33768
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    rexagod authored and jasnell committed Jan 9, 2021
    Configuration menu
    Copy the full SHA
    5ae5ca9 View commit details
    Browse the repository at this point in the history
  12. doc: update release key for Danielle Adams

    PR-URL: #36793
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Beth Griggs <bgriggs@redhat.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danielleadams authored and jasnell committed Jan 9, 2021
    Configuration menu
    Copy the full SHA
    971bbb7 View commit details
    Browse the repository at this point in the history
  13. doc: os.uptime() temporary bug notice

    Makes it clear that os.uptime() is unreliable in some virtualization
    cases.
    
    PR-URL: #36503
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    schamberg97 authored and jasnell committed Jan 9, 2021
    Configuration menu
    Copy the full SHA
    b9ffb82 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2021

  1. src: fix typo in crypto_aes.cc

    concatentated -> concatenated
    
    PR-URL: #36717
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Pooja D P <Pooja.D.P@ibm.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    eltociear authored and yashLadha committed Jan 10, 2021
    Configuration menu
    Copy the full SHA
    a3606f2 View commit details
    Browse the repository at this point in the history
  2. zlib: refactor to use primordial instead of <string>.startsWith

    PR-URL: #36718
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Pooja D P <Pooja.D.P@ibm.com>
    rchougule authored and yashLadha committed Jan 10, 2021
    Configuration menu
    Copy the full SHA
    7a6af02 View commit details
    Browse the repository at this point in the history
  3. doc: fix module syncBuiltinESMExports example

    Fix failing code and add explanations of each assert.
    
    PR-URL: #34284
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    bmacnaughton authored and aduh95 committed Jan 10, 2021
    Configuration menu
    Copy the full SHA
    28e9c10 View commit details
    Browse the repository at this point in the history
  4. lib: refactor to use mapping in cluster master

    Cluster master message handler is basically doing the same thing for
    different message actions which can be avoided. Thus move to method
    mapping object and doing a single lookup to find the function to execute
    and it doesnot exists, skip the execution chain.
    
    PR-URL: #36250
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    yashLadha authored and aduh95 committed Jan 10, 2021
    Configuration menu
    Copy the full SHA
    88d8dde View commit details
    Browse the repository at this point in the history
  5. console: refactor to avoid unsafe array iteration

    PR-URL: #36753
    Reviewed-By: James M Snell <jasnell@gmail.com>
    aduh95 committed Jan 10, 2021
    Configuration menu
    Copy the full SHA
    7397c7e View commit details
    Browse the repository at this point in the history
  6. stream: lazy read ReadStream

    Using stream._construct would cause the Readable
    to incorrectly greedily start reading.
    
    Fixes: #36251
    
    PR-URL: #36823
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    mmomtchev authored and ronag committed Jan 10, 2021
    Configuration menu
    Copy the full SHA
    053abac View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2021

  1. benchmark: fix http2 benchmarks

    Fixes: #36746
    
    PR-URL: #36871
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Trott committed Jan 11, 2021
    Configuration menu
    Copy the full SHA
    1c4fa9a View commit details
    Browse the repository at this point in the history
  2. tools: update doc tool dependencies

    PR-URL: #36844
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    targos committed Jan 11, 2021
    Configuration menu
    Copy the full SHA
    9883fe0 View commit details
    Browse the repository at this point in the history
  3. deps: update nghttp2 to 1.42.0

    Refs: https://github.com/nghttp2/nghttp2/releases/tag/v1.42.0
    
    PR-URL: #36842
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    targos committed Jan 11, 2021
    Configuration menu
    Copy the full SHA
    6b18987 View commit details
    Browse the repository at this point in the history
  4. cluster: fix edge cases that throw ERR_INTERNAL_ASSERTION

    Some cases use both `cluster` and `net`/`cluser` will throw
    ERR_INTERNAL_ASSERTION when `listen`/`bind` to the port of `0`. This
    PR maitains a separate map of the index to fix the issue. See the new
    tests added for the detail cases.
    
    PR-URL: #36764
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    oyyd authored and aduh95 committed Jan 11, 2021
    Configuration menu
    Copy the full SHA
    8e3f606 View commit details
    Browse the repository at this point in the history
  5. build: refactor Makefile

    * add character classes
    * replace echo -n with printf
    
    Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
    
    PR-URL: #36759
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    RaisinTen authored and aduh95 committed Jan 11, 2021
    Configuration menu
    Copy the full SHA
    44cf49e View commit details
    Browse the repository at this point in the history
  6. events: refactor to use optional chaining

    Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
    
    PR-URL: #36763
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Lxxyx authored and aduh95 committed Jan 11, 2021
    Configuration menu
    Copy the full SHA
    eb8422c View commit details
    Browse the repository at this point in the history
  7. tools: update all lint-md rollup dependencies

    PR-URL: #36843
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    targos committed Jan 11, 2021
    Configuration menu
    Copy the full SHA
    6520a87 View commit details
    Browse the repository at this point in the history
  8. tls: refactor to avoid unsafe array iteration

    PR-URL: #36772
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    aduh95 committed Jan 11, 2021
    Configuration menu
    Copy the full SHA
    307b79d View commit details
    Browse the repository at this point in the history
  9. deps: upgrade npm to 7.4.0

    PR-URL: #36829
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    ruyadorno authored and aduh95 committed Jan 11, 2021
    Configuration menu
    Copy the full SHA
    7809c4f View commit details
    Browse the repository at this point in the history
  10. stream: fix .end() error propagation

    PR-URL: #36817
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    ronag committed Jan 11, 2021
    Configuration menu
    Copy the full SHA
    a4fce32 View commit details
    Browse the repository at this point in the history
  11. crypto: fixup bug in keygen error handling

    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #36779
    Refs: #36729
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    jasnell committed Jan 11, 2021
    Configuration menu
    Copy the full SHA
    b4378aa View commit details
    Browse the repository at this point in the history
  12. crypto: implement basic secure heap support

    Adds two new command line arguments:
    
    * `--secure-heap=n`, which causes node.js to initialize
      an openssl secure heap of `n` bytes on openssl initialization.
    * `--secure-heap-min=n`, which specifies the minimum allocation
      from the secure heap.
    * A new method `crypto.secureHeapUsed()` that returns details
      about the total and used secure heap allocation.
    
    The secure heap is an openssl feature that allows certain kinds
    of potentially sensitive information (such as private key
    BigNums) to be allocated from a dedicated memory area that is
    protected against pointer over- and underruns.
    
    The secure heap is a fixed size, so it's important that users
    pick a large enough size to cover the crypto operations they
    intend to utilize.
    
    The secure heap is disabled by default.
    
    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #36779
    Refs: #36729
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    jasnell committed Jan 11, 2021
    Configuration menu
    Copy the full SHA
    03c0564 View commit details
    Browse the repository at this point in the history
  13. test: use faster variant for rss in test-vm-memleak.js

    PR-URL: #36769
    Refs: #34291
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    PoojaDurgad authored and jasnell committed Jan 11, 2021
    Configuration menu
    Copy the full SHA
    2ceb441 View commit details
    Browse the repository at this point in the history
  14. test: use faster variant for rss in test-crypto-dh-leak

    PR-URL: #36766
    Refs: #34291
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    PoojaDurgad authored and jasnell committed Jan 11, 2021
    Configuration menu
    Copy the full SHA
    f4ef517 View commit details
    Browse the repository at this point in the history
  15. stream: finished waits for 'close' on OutgoingMessage

    Don't invoke finished callback until OutgoingMessagehas
    emitted 'close'.
    
    PR-URL: #36648
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ronag authored and jasnell committed Jan 11, 2021
    Configuration menu
    Copy the full SHA
    52546c0 View commit details
    Browse the repository at this point in the history
  16. doc: clarify event.isTrusted text

    PR-URL: #36827
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and jasnell committed Jan 11, 2021
    Configuration menu
    Copy the full SHA
    2af43f6 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2021

  1. http: don't cork noop .end()

    Calling .end() a second time should be a noop and not
    leave the socket corked.
    
    Fixes: #36620
    
    PR-URL: #36633
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Danielle Adams <adamzdanielle@gmail.com>
    ronag committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    1b669b2 View commit details
    Browse the repository at this point in the history
  2. test: http complete response after socket double end

    PR-URL: #36633
    Fixes: #36620
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Danielle Adams <adamzdanielle@gmail.com>
    mitsos1os authored and ronag committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    ec794f9 View commit details
    Browse the repository at this point in the history
  3. module: fix Windows folder exports deprecation warning

    PR-URL: #36859
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    guybedford authored and aduh95 committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    2e909c4 View commit details
    Browse the repository at this point in the history
  4. lib: simplify primordials.uncurryThis

    PR-URL: #36866
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Pooja D P <Pooja.D.P@ibm.com>
    ExE-Boss authored and aduh95 committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    1a0c5d5 View commit details
    Browse the repository at this point in the history
  5. doc: define "browser", "production", "development"

    Defines the above exports conditions by convention
    as well as some guidance for further conditions
    definitions in future
    
    PR-URL: #36856
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
    guybedford committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    088a7e5 View commit details
    Browse the repository at this point in the history
  6. test: disable test-crypto-secure-heap with asan

    The asan checks don't play well currently with persistent secure
    heap allocations.
    
    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #36900
    Refs: #36881
    Reviewed-By: Danielle Adams <adamzdanielle@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    jasnell authored and aduh95 committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    6e3a832 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2021

  1. doc: fix indentation on http2 doc entry

    PR-URL: #36869
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Pooja D P <Pooja.D.P@ibm.com>
    Reviewed-By: Harshitha K P <harshitha014@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Trott committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    99580bd View commit details
    Browse the repository at this point in the history
  2. fs: allow position parameter to be a BigInt in read and readSync

    Fixes: #36185
    
    PR-URL: #36190
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    RaisinTen authored and aduh95 committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    72b678a View commit details
    Browse the repository at this point in the history
  3. crypto: fix WebCrypto import of RSA-PSS keys

    This patch changes GetRsaKeyDetail to work in older supported versions
    of OpenSSL.
    
    Refs: openssl/openssl#10217
    
    PR-URL: #36877
    Refs: #36188
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    tniessen authored and panva committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    6a7eb32 View commit details
    Browse the repository at this point in the history
  4. worker: refactor to avoid unsafe array iteration

    PR-URL: #36735
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    aduh95 committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    7c37e04 View commit details
    Browse the repository at this point in the history
  5. vm: refactor to avoid unsafe array iteration

    PR-URL: #36752
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    aduh95 committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    e70e793 View commit details
    Browse the repository at this point in the history
  6. lib: refactor source_map to avoid unsafe array iteration

    PR-URL: #36734
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Pooja D P <Pooja.D.P@ibm.com>
    aduh95 committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    3a44f37 View commit details
    Browse the repository at this point in the history
  7. zlib: refactor to avoid unsafe array iteration

    PR-URL: #36722
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Pooja D P <Pooja.D.P@ibm.com>
    aduh95 committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    251a0ff View commit details
    Browse the repository at this point in the history
  8. lib: refactor source_map to use more primordials

    PR-URL: #36733
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    aduh95 committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    e2b954b View commit details
    Browse the repository at this point in the history
  9. doc: change "it's" to "its" where necessary

    PR-URL: #36913
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Pooja D P <Pooja.D.P@ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    tniessen authored and aduh95 committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    302060a View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2021

  1. doc: update fs.l/statSync API history for throwIfNoEntry

    PR-URL: #36882
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    amcasey authored and jasnell committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    8f32733 View commit details
    Browse the repository at this point in the history
  2. crypto: add keyObject.asymmetricKeyDetails for asymmetric keys

    This API exposes key details. It is conceptually different from the
    previously discussed keyObject.fields property since it does not give
    access to information that could compromise the security of the key, and
    the obtained information cannot be used to uniquely identify a key.
    
    The intended purpose is to determine "security properties" of keys, e.g.
    to generate a new key pair with the same parameters, or to decide
    whether a key is secure enough.
    
    closes #30045
    
    PR-URL: #36188
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    panva committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    1772ae7 View commit details
    Browse the repository at this point in the history
  3. doc: wrap TOC in a <details> tag

    PR-URL: #36896
    Fixes: #36885
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Mattia Pontonio authored and aduh95 committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    2ba8728 View commit details
    Browse the repository at this point in the history
  4. doc: remove unnecessary contributing.md section

    Remove "How to Contribute in Issues". This is not Node.js-specific and
    is likely to cause many readers to tune out. If we want to include this
    kind of how-all-issue-trackers-are-intended-to-work information, let's
    link to an external source. But I think it's OK to simply remove it.
    
    Refs: nodejs/TSC#864 (comment)
    
    PR-URL: #36891
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Trott committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    9886d5e View commit details
    Browse the repository at this point in the history
  5. crypto: fix randomInt bias

    Co-authored-by: Andrey Pechkurov <apechkurov@gmail.com>
    
    PR-URL: #36894
    Refs: #34600
    Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    tniessen committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    4db9854 View commit details
    Browse the repository at this point in the history
  6. doc: update tls test to use better terminology

    Given the effort to change the master branch to main,
    this may make sense as part of removing other references
    to the offending wording as well.
    
    Signed-off-by: Michael Dawson <mdawson@devrus.com>
    
    PR-URL: #36851
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    mhdawson committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    00cc39e View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2021

  1. 2021-01-14, Version 15.6.0 (Current)

    PR-URL: #36889
    
    Notable changes:
    
    * child_process:
      * add 'overlapped' stdio flag (Thiago Padilha) (#29412)
      * support AbortSignal in fork (Benjamin Gruenbaum) (#36603)
    * crypto:
      * implement basic secure heap support (James M Snell) (#36779)
      * fixup bug in keygen error handling (James M Snell) (#36779)
      * introduce X509Certificate API (James M Snell) (#36804)
      * implement randomuuid (James M Snell) (#36729)
    * doc:
      * update release key for Danielle Adams (Danielle Adams) (#36793)
      * add dnlup to collaborators (Daniele Belardi) (#36849)
      * add panva to collaborators (Filip Skokan) (#36802)
      * add yashLadha to collaborator (Yash Ladha) (#36666)
    * http:
      * set lifo as the default scheduling strategy in Agent (Matteo Collina) (#36685)
    * net:
      * support abortSignal in server.listen (Nitzan Uziely) (#36623)
    * process:
      * add direct access to rss without iterating pages (Adrien Maret) (#34291)
    * v8:
      * fix native  constructors (ExE Boss) (#36549)
    danielleadams committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    0f78948 View commit details
    Browse the repository at this point in the history
  2. tls: use recently added matching SecureContext in default SNICallback

    PR-URL: #36072
    Fixes: #34110
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    mkrawczuk authored and Trott committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    8cf5281 View commit details
    Browse the repository at this point in the history
  3. doc: add miladfarca to collaborators

    PR-URL: #36934
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Pooja D P <Pooja.D.P@ibm.com>
    miladfarca committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    d22f16d View commit details
    Browse the repository at this point in the history
  4. doc: add alternative version links to the packages page

    PR-URL: #36915
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    panva committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    0f57902 View commit details
    Browse the repository at this point in the history
  5. test: fix variable name for non-RSA keys

    PR-URL: #36912
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    tniessen committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    ccc6776 View commit details
    Browse the repository at this point in the history
  6. test: check mustCall errors in test-fs-read-type

    PR-URL: #36914
    Refs: #36190
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    tniessen committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    d7b1866 View commit details
    Browse the repository at this point in the history
  7. http2: refactor to avoid unsafe array iteration

    PR-URL: #36700
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    aduh95 committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    0fd9bbb View commit details
    Browse the repository at this point in the history
  8. doc: fixup typo in metadata entry

    PR-URL: #36947
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    jasnell authored and aduh95 committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    cd37535 View commit details
    Browse the repository at this point in the history
  9. doc: add iansu to collaborators

    PR-URL: #36951
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    iansu committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    9237280 View commit details
    Browse the repository at this point in the history
  10. tools: add support for top-level await syntax in linter

    PR-URL: #36911
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    aduh95 committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    49f900e View commit details
    Browse the repository at this point in the history
  11. doc: use ESM syntax for WASI example

    PR-URL: #36848
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    aduh95 committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    88a5426 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2021

  1. doc: remove resolving-a-bug-report from contributing docs

    This section isn't particularly useful in this context and contributes
    to making the document longer and less effective. This is part of a
    larger effort to make the contributing docs brief, informative, and
    friendly.
    
    Refs: nodejs/TSC#864 (comment)
    
    PR-URL: #36905
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Trott committed Jan 16, 2021
    Configuration menu
    Copy the full SHA
    2afbfb0 View commit details
    Browse the repository at this point in the history
  2. doc: remove issue template duplication from contributing docs

    The replicated issue template is out of date. There isn't much reason to
    replicate it here anyway, so let's remove it and describe what the user
    should do briefly.
    
    PR-URL: #36908
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Pooja D P <Pooja.D.P@ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Trott committed Jan 16, 2021
    Configuration menu
    Copy the full SHA
    f64ad30 View commit details
    Browse the repository at this point in the history
  3. http: cleanup ClientRequest oncreate

    PR-URL: #36862
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Daniele Belardi <dwon.dnl@gmail.com>
    ronag authored and dnlup committed Jan 16, 2021
    Configuration menu
    Copy the full SHA
    963dec3 View commit details
    Browse the repository at this point in the history
  4. http: refactor ClientRequest destroy

    PR-URL: #36863
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    ronag committed Jan 16, 2021
    Configuration menu
    Copy the full SHA
    e39a3f8 View commit details
    Browse the repository at this point in the history
  5. test: fixup flaky test-crypto-x509 on windows

    PR-URL: #36966
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    jasnell authored and aduh95 committed Jan 16, 2021
    Configuration menu
    Copy the full SHA
    433afd9 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2021

  1. doc: fix invalid HTML in doc template

    Move the script tag for dark mode support inside the body tag.
    
    PR-URL: #36930
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    f658bd1 View commit details
    Browse the repository at this point in the history
  2. url: expose urlToHttpOptions utility

    PR-URL: #35960
    Fixes: #34349
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    zhangyongsheng committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    7efada6 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2021

  1. lib: refactor primordials.makeSafe to use more primordials

    PR-URL: #36865
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    ExE-Boss authored and aduh95 committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    78ca54c View commit details
    Browse the repository at this point in the history
  2. lib: expose primordials object

    Expose the internal `primordials` object to help with Node.js core
    development.
    
    ```console
    $ node --expose-internals -r internal/test/binding lib/fs.js
    (node:5299) internal/test/binding: These APIs are for internal testing
    only. Do not use them.
    (Use `node --trace-warnings ...` to show where the warning was created)
    ```
    
    PR-URL: #36872
    Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    aduh95 committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    983e922 View commit details
    Browse the repository at this point in the history
  3. Revert "test: mark test-cluster-bind-privileged-port flaky on arm"

    This reverts commit a45a404.
    
    Solved by marking ports <1024 as privileged on Docker containers.
    
    Ref: #36850
    Ref: #36847
    Ref: nodejs/build#2521
    
    PR-URL: #36884
    Refs: #36850
    Refs: #36847
    Refs: nodejs/build#2521
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Ash Cripps <acripps@redhat.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    rvagg authored and aduh95 committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    5716130 View commit details
    Browse the repository at this point in the history
  4. test: improve coverage at lib/internal/vm/module.js

    PR-URL: #36898
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    juanarbol authored and aduh95 committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    146f0fc View commit details
    Browse the repository at this point in the history
  5. url: align url format behavior with browsers

    Fixes: #36887
    
    PR-URL: #36903
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Lxxyx authored and aduh95 committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    9566083 View commit details
    Browse the repository at this point in the history
  6. doc: improve perf_hooks docs

    PR-URL: #36909
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    juanarbol authored and aduh95 committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    d58b83d View commit details
    Browse the repository at this point in the history
  7. test: improve coverage on worker threads

    PR-URL: #36910
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    juanarbol authored and aduh95 committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    068efba View commit details
    Browse the repository at this point in the history
  8. doc: fixup http.IncomingMessage deprecation code

    PR-URL: #36917
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Pooja D P <Pooja.D.P@ibm.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    guybedford authored and aduh95 committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    ac2c8c5 View commit details
    Browse the repository at this point in the history
  9. test: skip internet for test-npm-install

    Disabling any internet-required features (namely audit and
    update-notifer) in order for the test to work without an internet
    connection.
    
    - Fixes: #36895
    
    PR-URL: #36933
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    ruyadorno authored and aduh95 committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    887f199 View commit details
    Browse the repository at this point in the history
  10. doc: fix percentile range in perf_hooks.md

    The value accepted by histogram.percentile may be below 1 too.
    
    PR-URL: #36938
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    RaisinTen authored and aduh95 committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    b003643 View commit details
    Browse the repository at this point in the history
  11. test: improve coverage for Module getters

    PR-URL: #36950
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    juanarbol authored and aduh95 committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    9e7d1a1 View commit details
    Browse the repository at this point in the history
  12. buffer: add base64url encoding option

    PR-URL: #36952
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    panva authored and aduh95 committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    f8ab632 View commit details
    Browse the repository at this point in the history
  13. deps: upgrade npm to 7.4.2

    PR-URL: #36953
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    ruyadorno authored and aduh95 committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    1f287b0 View commit details
    Browse the repository at this point in the history
  14. tools: update ESLint to 7.18.0

    Update ESLint to 7.18.0
    
    PR-URL: #36955
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    cjihrig authored and aduh95 committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    568b26a View commit details
    Browse the repository at this point in the history
  15. doc: fix grammar and link to QUIC in changelog

    PR-URL: #36959
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Pooja D P <Pooja.D.P@ibm.com>
    Reviewed-By: Harshitha K P <harshitha014@gmail.com>
    dandv authored and aduh95 committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    75a73c4 View commit details
    Browse the repository at this point in the history
  16. doc: fix crypto.generateKeySync aes allowed length list

    PR-URL: #36928
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    panva authored and aduh95 committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    51e77b3 View commit details
    Browse the repository at this point in the history
  17. crypto: experimental (Ed/X)25519/(Ed/X)448 support

    Implements initial experimental support for Curve25519 and
    Curve448 support for both ECDH and sign/verify in Web Crypto.
    
    Introduced as a Node.js-specific extension to Web Crypto.
    
    Signed-off-by: James M Snell <jasnell@gmail.com>
    Fixes: #36076
    
    PR-URL: #36879
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    jasnell committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    bd899bc View commit details
    Browse the repository at this point in the history
  18. deps: V8: cherry-pick fe191e8d05cc

    Original commit message:
    
        [coverage] optional chaining coverage
    
        Implement coverage tracking for optional chains.
    
        Bug: v8:10060
        Change-Id: I4f29eda64b6d859939f5f58f4fabead649905795
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2573013
        Reviewed-by: Leszek Swirski <leszeks@chromium.org>
        Reviewed-by: Toon Verwaest <verwaest@chromium.org>
        Reviewed-by: Gus Caplan <snek@chromium.org>
        Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
        Commit-Queue: Benjamin Coe <bencoe@google.com>
        Cr-Commit-Position: refs/heads/master@{#72075}
    
    Refs: v8/v8@fe191e8
    
    PR-URL: #36956
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    bcoe authored and aduh95 committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    afd911c View commit details
    Browse the repository at this point in the history
  19. doc: fix module.isPreloading documentation

    Fixes: #36775
    
    PR-URL: #36944
    Refs: #36263
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    aduh95 authored and jasnell committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    9d7fb22 View commit details
    Browse the repository at this point in the history
  20. events: remove error listener on signal abort

    Fixes: #36949
    
    PR-URL: #36969
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Lxxyx authored and jasnell committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    06c4693 View commit details
    Browse the repository at this point in the history
  21. doc: remove pull-requests.md preamble

    Refs: nodejs/TSC#864 (comment)
    
    PR-URL: #36960
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Trott authored and jasnell committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    a8d8ca3 View commit details
    Browse the repository at this point in the history
  22. doc: clarify maxSockets option of http.Agent

    PR-URL: #36941
    Fixes: #36463
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    PoojaDurgad authored and jasnell committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    090f0cd View commit details
    Browse the repository at this point in the history
  23. module: simplify tryStatSync with throwIfNoEntry option

    PR-URL: #36971
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    aduh95 authored and jasnell committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    88153dc View commit details
    Browse the repository at this point in the history
  24. doc: add performance notes for fs.readFile

    Issue #25741 discusses a number of
    performance considerations for fs.readFile, which was changed in Node.js
    10.x to split discreet chunk reads over multiple event loop turns. While
    the fs.readFile() operation is certainly slower than it was pre 10.x,
    it's unlikely to be faster. Document the performance consideration and
    link back to the issue for more in depth analysis.
    
    Signed-off-by: James M Snell <jasnell@gmail.com>
    Fixes: #25741
    
    PR-URL: #36880
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    jasnell committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    408e9d3 View commit details
    Browse the repository at this point in the history
  25. repl: refactor to avoid unsafe array iteration

    PR-URL: #36663
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    RaisinTen authored and jasnell committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    9a18bf2 View commit details
    Browse the repository at this point in the history
  26. perf_hooks: throw ERR_INVALID_ARG_VALUE if histogram.percentile param…

    … is NaN
    
    Fixes: #36936
    
    PR-URL: #36937
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Lxxyx authored and jasnell committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    59af4e6 View commit details
    Browse the repository at this point in the history
  27. test: remove unused ecdhPeerKey

    This commit removed ecdhPeerKey from test-webcrypto-wrap-unwrap.js which
    seems to be unsued.
    
    PR-URL: #36942
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    danbev authored and jasnell committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    c880965 View commit details
    Browse the repository at this point in the history
  28. test: fix warning in test_environment.cc

    ```
    warning log:
    ../test/cctest/test_environment.cc: In constructor   \
    ‘RedirectStdErr::RedirectStdErr(const char*)’:
    ../test/cctest/test_environment.cc:77:12: warning:   \
    ignoring return value of ‘FILE* freopen(const char*, \
    const char*, FILE*)’, declared with attribute
    warn_unused_result [-Wunused-result]
         freopen(filename_, "w", stderr);
         ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
    ```
    
    PR-URL: #36846
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    RaisinTen authored and jasnell committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    341bbd3 View commit details
    Browse the repository at this point in the history
  29. os: performance improvement in vector allocation

    We were using the result vector with an object which is not a primitive
    data type, and going with the constructor allocation pattern it creates
    a size of that vector and also initializes the spaces with the data type
    as well which is in our case is `Local<Value>`. It leads to waste of
    some CPU cycles and instead we just wanted to have some reserved space
    in our vector.
    
    We can use `reserve` method on vector to reserve some space for the
    vector but doesn't initialize the value since we are anyways doing it in
    the following loop.
    
    PR-URL: #36748
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    yashLadha authored and jasnell committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    cb2535e View commit details
    Browse the repository at this point in the history
  30. test: increase buffer list coverage

    1. test consuming BufferList which has strings with > 1 items
    Refs: https://coverage.nodejs.org/coverage-0b6d3070a176d437/lib/internal/streams/buffer_list.js.html#L116
    
    2. test consuming BufferList with > 1 items
    Refs: https://coverage.nodejs.org/coverage-0b6d3070a176d437/lib/internal/streams/buffer_list.js.html#L152
    
    PR-URL: #36688
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    emilsivervik authored and jasnell committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    0aef78e View commit details
    Browse the repository at this point in the history
  31. test,benchmark: stop requiring URL and URLSearchParams

    Since the URL and URLSearchParams classes are available in the
    global object, there is no need to require them from 'url'.
    
    PR-URL: #36927
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    RaisinTen authored and jasnell committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    3dce4fb View commit details
    Browse the repository at this point in the history
  32. buffer: introduce Blob

    The `Blob` object is an immutable data buffer. This is a first step
    towards alignment with the `Blob` Web API.
    
    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #36811
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    jasnell committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    d4bea09 View commit details
    Browse the repository at this point in the history
  33. test: add wpt tests for Blob

    PR-URL: #36811
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    targos authored and jasnell committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    7be7285 View commit details
    Browse the repository at this point in the history
  34. http: abortIncoming only on socket close

    Don't call abortIncombin twice for same socket, i.e. both during
    'end' and 'close'.
    
    PR-URL: #36821
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ronag authored and jasnell committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    708728d View commit details
    Browse the repository at this point in the history
  35. src: use BaseObject::kInternalFieldCount in X509Certificate constructor

    Use defined constant instead of hard-coding the field count
    
    PR-URL: #36892
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung authored and jasnell committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    3ede3c2 View commit details
    Browse the repository at this point in the history
  36. doc: fix typo in http.server.requestTimout docs

    PR-URL: #36987
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    alexbs authored and aduh95 committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    8354ca5 View commit details
    Browse the repository at this point in the history
  37. src: replace push_back with emplace_back in debug_utils

    This prevents potential temporary object constructions.
    
    PR-URL: #36897
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    RaisinTen authored and aduh95 committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    4ae3135 View commit details
    Browse the repository at this point in the history
  38. http: attach request as res.req

    This change makes it possible for userland http-related modules
    to pave over edge cases that require referencing the original request
    when handling a response--making a "Lodash for HTTP" library possible.
    More information and research in #28673
    
    Fixes: #28673
    
    PR-URL: #36505
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    ianstormtaylor authored and aduh95 committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    fc3f1c3 View commit details
    Browse the repository at this point in the history
  39. build: fix compiling against openssl with no-psk

    Node 15 prior to this commit will not compile if openssl is built with
    no-psk. Compiling emits an error like this:
    
    ```
    crypto_tls.cc:(.text+0x4c27): undefined reference to
    `node::crypto::TLSWrap::SetCACerts(node::crypto::SecureContext*)'
    ```
    
    Blame on crypto_tls.cc shows the file was created in a refactor. Before
    that refactor SetCACerts was defined outside OPENSSL_NO_PSK ifndef.
    
    PR-URL: #36881
    Fixes: #36464
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Caleb ツ Everett authored and aduh95 committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    fef2128 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2021

  1. lib: remove non used getter in lib/perf_hooks.js

    PR-URL: #36907
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    juanarbol authored and aduh95 committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    acbd3a4 View commit details
    Browse the repository at this point in the history
  2. test: mark flaky tests on IBM i

    PR-URL: #36986
    Refs: #34410
    Refs: #36925
    Refs: #36929
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    richardlau authored and Trott committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    863ec7d View commit details
    Browse the repository at this point in the history
  3. doc: add @RaisinTen to collaborators

    Fixes: #36833
    PR-URL: #36998
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Beth Griggs <bgriggs@redhat.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Yash Ladha <yash@yashladha.in>
    RaisinTen committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    b58fe52 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2021

  1. tools,doc: list the stability status of each API

    Fixes: #23723
    
    PR-URL: #36223
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Lxxyx authored and aduh95 committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    2bb42bf View commit details
    Browse the repository at this point in the history
  2. util: prefer Reflect.ownKeys(…)

    PR-URL: #36740
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    ExE-Boss authored and aduh95 committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    e9944e9 View commit details
    Browse the repository at this point in the history
  3. src: use BaseObject::kInteralFieldCount in Blob

    Instead of hard-coding the field count.
    
    PR-URL: #36991
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    joyeecheung authored and aduh95 committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    e3e054d View commit details
    Browse the repository at this point in the history
  4. deps: update ICU to 68.2

    Refs: https://github.com/unicode-org/icu/releases/tag/release-68-2
    
    PR-URL: #36980
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Beth Griggs <bgriggs@redhat.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    targos committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    5faffd8 View commit details
    Browse the repository at this point in the history
  5. doc: fix maintaining ICU guide

    PR-URL: #36980
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Beth Griggs <bgriggs@redhat.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    targos committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    37e0a0d View commit details
    Browse the repository at this point in the history
  6. tools: cleanup old ICU version-specific fixes

    Our current minimum ICU is 67, so we don't need to support those anymore
    
    PR-URL: #36980
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Beth Griggs <bgriggs@redhat.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    targos committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    900c9f5 View commit details
    Browse the repository at this point in the history
  7. lib: refactor to use validateArray

    PR-URL: #36982
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Lxxyx authored and aduh95 committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    e279304 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2021

  1. deps: upgrade npm to 7.4.3

    PR-URL: #37018
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Beth Griggs <bgriggs@redhat.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    ruyadorno committed Jan 22, 2021
    Configuration menu
    Copy the full SHA
    a35b32e View commit details
    Browse the repository at this point in the history
  2. process: runtime deprecate changing process.config

    The fact that `process.config` is mutable has long made it
    unreliable when it really should just work. Start the process
    of deprecating the ability to change it.
    
    Fixes: #7803
    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #36902
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    jasnell committed Jan 22, 2021
    Configuration menu
    Copy the full SHA
    96f3977 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2021

  1. lib: refactor to use validateBoolean

    PR-URL: #36983
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Lxxyx authored and jasnell committed Jan 23, 2021
    Configuration menu
    Copy the full SHA
    cb5668b View commit details
    Browse the repository at this point in the history
  2. benchmark: improve explanations in R script

    PR-URL: #36995
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Pooja D P <Pooja.D.P@ibm.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    tniessen authored and jasnell committed Jan 23, 2021
    Configuration menu
    Copy the full SHA
    ea2e2df View commit details
    Browse the repository at this point in the history
  3. fs: add explicit note about undefined path when recursive

    PR-URL: #37010
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    eps1lon authored and jasnell committed Jan 23, 2021
    Configuration menu
    Copy the full SHA
    432a571 View commit details
    Browse the repository at this point in the history
  4. lib: support returning Safe collections from C++

    Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
    
    PR-URL: #36989
    Refs: #36652
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ExE-Boss authored and jasnell committed Jan 23, 2021
    Configuration menu
    Copy the full SHA
    3ec7114 View commit details
    Browse the repository at this point in the history
  5. fs: refactor to remove redundant validation

    The function makeCallback already calls validateCallback, so the call
    inside copyFile can be removed.
    
    PR-URL: #36984
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    RaisinTen authored and jasnell committed Jan 23, 2021
    Configuration menu
    Copy the full SHA
    ae5e95f View commit details
    Browse the repository at this point in the history
  6. lib: refactor to use validateNumber

    PR-URL: #36993
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Pooja D P <Pooja.D.P@ibm.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Lxxyx authored and jasnell committed Jan 23, 2021
    Configuration menu
    Copy the full SHA
    e884fd7 View commit details
    Browse the repository at this point in the history
  7. lib: refactor to use validateString

    PR-URL: #37006
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Lxxyx authored and jasnell committed Jan 23, 2021
    Configuration menu
    Copy the full SHA
    08dd4b1 View commit details
    Browse the repository at this point in the history
  8. child_process: allow promisified exec to be cancel

    Using new AbortController, add support for promisified
    exec to be cancelled.
    
    PR-URL: #34249
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    metcoder95 authored and jasnell committed Jan 23, 2021
    Configuration menu
    Copy the full SHA
    2242cbb View commit details
    Browse the repository at this point in the history
  9. readline: add support for the AbortController to the question method

    In some cases a question asked needs to be canceled. For instance
    it might be desirable to cancel a question when a user presses
    ctrl+c and triggers the SIGINT event.
    Also an initial empty string was set for this.line since the
    cursor methods fail if line is not initialized.
    Added custom promisify support to the question method.
    
    PR-URL: #33676
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    mattiasrunge authored and benjamingr committed Jan 23, 2021
    Configuration menu
    Copy the full SHA
    19981ed View commit details
    Browse the repository at this point in the history
  10. quic: remove duplicate checks

    PR-URL: #37017
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Lxxyx authored and Trott committed Jan 23, 2021
    Configuration menu
    Copy the full SHA
    0e7e91f View commit details
    Browse the repository at this point in the history
  11. crypto: throw error on invalid object in diffieHellman()

    PR-URL: #37016
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Lxxyx authored and Trott committed Jan 23, 2021
    Configuration menu
    Copy the full SHA
    dbdc14b View commit details
    Browse the repository at this point in the history
  12. test: test mode passed as an options object in mkdir/mkdirSync

    Add tests for mode passed as an options object in fs.mkdir() and
    fs.mkdirSync().
    
    This also adds coverage for mkdirSync() inside the conditional where
    options.mode is not undefined.
    
    PR-URL: #37008
    Refs: https://coverage.nodejs.org/coverage-e3e054d020ee5ef6/lib/fs.js.html#L1023
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    RaisinTen authored and Trott committed Jan 23, 2021
    Configuration menu
    Copy the full SHA
    3f4bfef View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2021

  1. test: log error in test-fs-realpath-pipe

    Show more information when the test fails.
    
    PR-URL: #36996
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    joyeecheung authored and Trott committed Jan 24, 2021
    Configuration menu
    Copy the full SHA
    8aea886 View commit details
    Browse the repository at this point in the history
  2. doc: add missing ARIA label for button

    The button for toggling light mode and dark mode has no text display.
    Screen readers will read it as simply "button", making it not useful.
    Add an aria-label attribute so it gets a better description.
    
    PR-URL: #37031
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Trott committed Jan 24, 2021
    Configuration menu
    Copy the full SHA
    835b85d View commit details
    Browse the repository at this point in the history
  3. test: improve coverage of SourceTextModule getters

    PR-URL: #37013
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    juanarbol authored and Trott committed Jan 24, 2021
    Configuration menu
    Copy the full SHA
    6b62f70 View commit details
    Browse the repository at this point in the history
  4. lib: refactor to use optional chaining in internal/options.js

    PR-URL: #36939
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    RaisinTen authored and Trott committed Jan 24, 2021
    Configuration menu
    Copy the full SHA
    85e6089 View commit details
    Browse the repository at this point in the history
  5. fs: use throwIfNoEntry option on statSync calls

    PR-URL: #36975
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    aduh95 authored and Trott committed Jan 24, 2021
    Configuration menu
    Copy the full SHA
    a87190b View commit details
    Browse the repository at this point in the history
  6. src: inline AsyncCleanupHookHandle in headers

    Fixes: #36349
    
    PR-URL: #37000
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    implausible authored and jasnell committed Jan 24, 2021
    Configuration menu
    Copy the full SHA
    1fe571a View commit details
    Browse the repository at this point in the history
  7. src: mark internally exported functions as explicitly internal

    PR-URL: #37000
    Fixes: #36349
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    implausible authored and jasnell committed Jan 24, 2021
    Configuration menu
    Copy the full SHA
    bf79987 View commit details
    Browse the repository at this point in the history
  8. test: increase timeout on ASAN Action

    Setting the timeout to 300s (or 5 minutes) instead of the default 120s
    per test to limit the number of false negative on GH Action CI results.
    
    PR-URL: #37007
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    aduh95 authored and jasnell committed Jan 24, 2021
    Configuration menu
    Copy the full SHA
    90cae3a View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2021

  1. doc: list Unsupported Directory Import resolve err

    PR-URL: #37032
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    guybedford committed Jan 25, 2021
    Configuration menu
    Copy the full SHA
    efa6e1d View commit details
    Browse the repository at this point in the history
  2. readline: add history event and option to set initial history

    Add a history event which is emitted when the history has
    been changed. This enables persisting of the history in
    some way but also to allows a listener to alter the
    history. One use-case could be to prevent passwords from
    ending up in the history.
    
    A constructor option is also added to allow for setting
    an initial history list when creating a Readline interface.
    
    PR-URL: #33662
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mattiasrunge authored and jasnell committed Jan 25, 2021
    Configuration menu
    Copy the full SHA
    d7640a3 View commit details
    Browse the repository at this point in the history
  3. doc: add missing comma in tty

    PR-URL: #37039
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ma11hew28 authored and jasnell committed Jan 25, 2021
    Configuration menu
    Copy the full SHA
    61f3b71 View commit details
    Browse the repository at this point in the history
  4. test: process.nextTick for before exit

    PR-URL: #37012
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ttzztztz authored and jasnell committed Jan 25, 2021
    Configuration menu
    Copy the full SHA
    1377163 View commit details
    Browse the repository at this point in the history
  5. test: increase fs promise coverage

    1. Signal aborted while writing file
    Refs: https://coverage.nodejs.org/coverage-0b6d3070a176d437/lib/internal/fs/promises.js.html#L278
    
    2. Signal aborted on first tick
    Refs: https://coverage.nodejs.org/coverage-0b6d3070a176d437/lib/internal/fs/promises.js.html#L301
    
    3. Validate file size is withing range for reading
    Refs: https://coverage.nodejs.org/coverage-0b6d3070a176d437/lib/internal/fs/promises.js.html#L312
    
    4. Signal aborted right before buffer read
    Refs: https://coverage.nodejs.org/coverage-0b6d3070a176d437/lib/internal/fs/promises.js.html#L321
    
    5. Use fallback buffer allocation when input not buffer
    Refs: https://coverage.nodejs.org/coverage-0b6d3070a176d437/lib/internal/fs/promises.js.html#L374
    
    6. Specify symlink type
    Refs: https://coverage.nodejs.org/coverage-0b6d3070a176d437/lib/internal/fs/promises.js.html#L539
    
    7. Set modification times with lutimes
    Refs: https://coverage.nodejs.org/coverage-0b6d3070a176d437/lib/internal/fs/promises.js.html#L635
    
    8. Use fallback encoding when input is null
    Refs: https://coverage.nodejs.org/coverage-0b6d3070a176d437/lib/internal/fs/promises.js.html#L665
    
    9. Use fallback flag when input is null
    Refs: https://coverage.nodejs.org/coverage-0b6d3070a176d437/lib/internal/fs/promises.js.html#L681
    
    PR-URL: #36813
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    emilsivervik authored and jasnell committed Jan 25, 2021
    Configuration menu
    Copy the full SHA
    211cd04 View commit details
    Browse the repository at this point in the history
  6. doc: EventTarget and Event are available to user code since v15.0.0

    PR-URL: #37059
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ExE-Boss authored and jasnell committed Jan 25, 2021
    Configuration menu
    Copy the full SHA
    cd1e73a View commit details
    Browse the repository at this point in the history
  7. benchmark: make output RFC 4180 compliant

    PR-URL: #37038
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    tniessen authored and jasnell committed Jan 25, 2021
    Configuration menu
    Copy the full SHA
    9da3f21 View commit details
    Browse the repository at this point in the history
  8. src: rename crypto_ecdh.(h|cc) to crypto_ec.(h|cc)

    PR-URL: #37048
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    tniessen authored and jasnell committed Jan 25, 2021
    Configuration menu
    Copy the full SHA
    7394311 View commit details
    Browse the repository at this point in the history
  9. doc: improve AsyncLocalStorage introduction

    PR-URL: #36946
    Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    brillout authored and jasnell committed Jan 25, 2021
    Configuration menu
    Copy the full SHA
    63d978c View commit details
    Browse the repository at this point in the history
  10. dgram: support AbortSignal in createSocket

    PR-URL: #37026
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Nitzan Uziely authored and benjamingr committed Jan 25, 2021
    Configuration menu
    Copy the full SHA
    21c8c7e View commit details
    Browse the repository at this point in the history
  11. test: improve assertion message for test-vm-memleak

    The test is unreliable in CI. It might be helpful to get an exact read
    of `rss` so this adds that to the assertion message.
    
    PR-URL: #37034
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott committed Jan 25, 2021
    Configuration menu
    Copy the full SHA
    13ac5fb View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2021

  1. doc: add tooltip for light/dark mode toggle

    PR-URL: #37044
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott committed Jan 26, 2021
    Configuration menu
    Copy the full SHA
    258d77a View commit details
    Browse the repository at this point in the history
  2. doc: add Zijian Liu to collaborators

    PR-URL: #37075
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Lxxyx committed Jan 26, 2021
    Configuration menu
    Copy the full SHA
    ecb7818 View commit details
    Browse the repository at this point in the history
  3. crypto: add generatePrime/checkPrime

    APIs for generating and checking pseudo-random primes
    
    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #36997
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    jasnell committed Jan 26, 2021
    Configuration menu
    Copy the full SHA
    bb13469 View commit details
    Browse the repository at this point in the history
  4. 2021-01-26, Version 15.7.0 (Current)

    PR-URL: #37020
    
    Notable changes:
    
    * buffer:
      * introduce Blob (James M Snell) [#36811](#36811)
      * add base64url encoding option (Filip Skokan) [#36952](#36952)
    * doc:
      * add @iansu to collaborators (Ian Sutherland) [#36951](#36951)
      * add @RaisinTen to collaborators (Darshan Sen) [#36998](#36998)
      * add @miladfarca to collaborators (Milad Fa) [#36934](#36934)
    * fs:
      * allow position parameter to be a BigInt in read and readSync (raisinten) [#36190](#36190)
    * http:
      * attach request as res.req (Ian Storm Taylor) [#36505](#36505)
      * expose urlToHttpOptions utility (Yongsheng Zhang) [#35960](#35960)
    ruyadorno committed Jan 26, 2021
    Configuration menu
    Copy the full SHA
    cef00ad View commit details
    Browse the repository at this point in the history
  5. 2021-01-26, Version 10.23.2 'Dubnium' (LTS)

    Notable changes:
    
    Release keys have been synchronized with the main branch.
    
    - deps:
      - upgrade npm to 6.14.11 (Darcy Clarke)
        #36838
    
    PR-URL: #37022
    richardlau committed Jan 26, 2021
    Configuration menu
    Copy the full SHA
    c5f3565 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2021

  1. test,doc,lib: adjust object literal newlines for lint rule

    Before enabling object-curly-newline for our ESLint rules, adjust files
    to comply with it.
    
    Refs: https://eslint.org/docs/rules/object-curly-newline
    
    PR-URL: #37040
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Trott committed Jan 27, 2021
    Configuration menu
    Copy the full SHA
    996b85b View commit details
    Browse the repository at this point in the history
  2. tools: enable object-curly-newline in ESLint rules

    I saw a PR review comment  about newlines in desructured
    assignments, and this would be the rule to enforce these kinds of nits.
    Start by just enabling the rule. We can incrementally adjust it to be
    more strict.
    
    Refs: https://eslint.org/docs/rules/object-curly-newline
    Refs: #37028 (review)
    
    PR-URL: #37040
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Trott committed Jan 27, 2021
    Configuration menu
    Copy the full SHA
    3e54870 View commit details
    Browse the repository at this point in the history
  3. test: increase coverage for assert/calltracker

    1. test calls fn parameter is number
    Refs: https://coverage.nodejs.org/coverage-51b43675067fafaa/lib/internal/assert/calltracker.js.html#L30
    
    2. test calls fn parameter is undefined
    Refs: https://coverage.nodejs.org/coverage-51b43675067fafaa/lib/internal/assert/calltracker.js.html#L33
    
    PR-URL: #36728
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Lxxyx committed Jan 27, 2021
    Configuration menu
    Copy the full SHA
    7016c61 View commit details
    Browse the repository at this point in the history
  4. test: update to improve terminology

    Update common section in wpt to incorporate
    improved terminology fixed upstream in
    web-platform-tests/wpt#27152
    
    Signed-off-by: Michael Dawson <mdawson@devrus.com>
    
    PR-URL: #37011
    Reviewed-By: Milad Fa <mfarazma@redhat.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    mhdawson authored and Trott committed Jan 27, 2021
    Configuration menu
    Copy the full SHA
    9603e4a View commit details
    Browse the repository at this point in the history
  5. buffer: avoid creating the backing store in the thread

    Fixes: #37030
    
    PR-URL: #37052
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    jasnell authored and Trott committed Jan 27, 2021
    Configuration menu
    Copy the full SHA
    da3a948 View commit details
    Browse the repository at this point in the history
  6. lib: refactor to avoid unsafe array iteration

    PR-URL: #37029
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    aduh95 authored and RaisinTen committed Jan 27, 2021
    Configuration menu
    Copy the full SHA
    2e1e02a View commit details
    Browse the repository at this point in the history
  7. process,doc: add missing deprecation code

    Refs: #36902
    
    PR-URL: #37091
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    cjihrig authored and aduh95 committed Jan 27, 2021
    Configuration menu
    Copy the full SHA
    4e833b6 View commit details
    Browse the repository at this point in the history
  8. doc: mention adding Fixes to collaborator onboarding PR

    Also update the example to include the Fixes url.
    
    PR-URL: #37097
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Beth Griggs <bgriggs@redhat.com>
    joyeecheung authored and Lxxyx committed Jan 27, 2021
    Configuration menu
    Copy the full SHA
    35fe310 View commit details
    Browse the repository at this point in the history
  9. crypto: generateKeyPair('ec') should not support NODE-ED* and NODE-X*

    Fixes #37055
    
    PR-URL: #37063
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    panva committed Jan 27, 2021
    Configuration menu
    Copy the full SHA
    8b65004 View commit details
    Browse the repository at this point in the history
  10. crypto: fix encrypted private -> public import

    PR-URL: #37056
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    tniessen committed Jan 27, 2021
    Configuration menu
    Copy the full SHA
    c9992a0 View commit details
    Browse the repository at this point in the history
  11. test: increase read file abort coverage

    PR-URL: #36716
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    shootermv authored and benjamingr committed Jan 27, 2021
    Configuration menu
    Copy the full SHA
    8c3cdce View commit details
    Browse the repository at this point in the history
  12. lib: refactor to use validateFunction

    add validateFunction and refactor to use validateFunction
    
    PR-URL: #37045
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Lxxyx authored and benjamingr committed Jan 27, 2021
    Configuration menu
    Copy the full SHA
    064a707 View commit details
    Browse the repository at this point in the history
  13. test: skip tests consistently in parallel.status

    Some tests are marked SKIP,FLAKY (resulting in yellow/unstable CI when
    they fail) and others are marked SKIP (which means the results don't
    affect CI at all). There doesn't seem to be any reason for the
    difference. Mark them all as SKIP as IBM i for consistency and to have
    the luxury of a green daily CI. We'll want these to be at least
    SKIP,FLAKY (and preferably not skipped at all) before IBM i is
    supported.
    
    PR-URL: #37035
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Trott authored and benjamingr committed Jan 27, 2021
    Configuration menu
    Copy the full SHA
    e331046 View commit details
    Browse the repository at this point in the history
  14. test: increase inspect coverage

    1. Truncate output for Primitives with 1 character left
    Refs: https://coverage.nodejs.org/coverage-0b6d3070a176d437/lib/internal/util/inspect.js.html#L1359
    
    2. Truncate output for ArrayBuffers using plural or singular bytes
    Refs: https://coverage.nodejs.org/coverage-0b6d3070a176d437/lib/internal/util/inspect.js.html#L1465
    
    PR-URL: #36755
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    emilsivervik authored and benjamingr committed Jan 27, 2021
    Configuration menu
    Copy the full SHA
    4abe50c View commit details
    Browse the repository at this point in the history
  15. fs: add validatePosition and use in read and readSync

    PR-URL: #37051
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    RaisinTen authored and benjamingr committed Jan 27, 2021
    Configuration menu
    Copy the full SHA
    0aaa804 View commit details
    Browse the repository at this point in the history
  16. benchmark: add benchmark for NODE_V8_COVERAGE

    PR-URL: #36972
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    bcoe committed Jan 27, 2021
    Configuration menu
    Copy the full SHA
    8c9dc4e View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2021

  1. lib: refactor to use validateObject

    Co-authored-by: ExE Boss <3889017+ExE-Boss@users.noreply.github.com>
    Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
    
    PR-URL: #37028
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Lxxyx authored and aduh95 committed Jan 28, 2021
    Configuration menu
    Copy the full SHA
    029d1fd View commit details
    Browse the repository at this point in the history
  2. lib: add bound apply variants of varargs primordials

    Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
    
    PR-URL: #37005
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    ExE-Boss authored and aduh95 committed Jan 28, 2021
    Configuration menu
    Copy the full SHA
    728fee2 View commit details
    Browse the repository at this point in the history
  3. test: add tests for bound apply variants of varargs primordials

    PR-URL: #37005
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    ExE-Boss authored and aduh95 committed Jan 28, 2021
    Configuration menu
    Copy the full SHA
    742342f View commit details
    Browse the repository at this point in the history
  4. doc: update BUILDING.md previous versions links

    Remove links to End-of-Life versions of the BUILDING.md document.
    Add a link to the version for Node.js 14.x.
    
    PR-URL: #37082
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Beth Griggs <bgriggs@redhat.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    richardlau authored and aduh95 committed Jan 28, 2021
    Configuration menu
    Copy the full SHA
    b9dfda9 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2021

  1. tools: remove commented code from stability.js

    PR-URL: #37092
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and Lxxyx committed Jan 29, 2021
    Configuration menu
    Copy the full SHA
    1b222f9 View commit details
    Browse the repository at this point in the history
  2. readline: check for null input in question()

    question() checks for objects passed as the recently added options
    argument. This commit improves that logic to also check for null.
    
    PR-URL: #37089
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    cjihrig authored and Lxxyx committed Jan 29, 2021
    Configuration menu
    Copy the full SHA
    b02030d View commit details
    Browse the repository at this point in the history
  3. readline: replace _questionCancel with a symbol

    This commit avoids exposing a new underscored property on
    readline Interface instances.
    
    PR-URL: #37094
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and Lxxyx committed Jan 29, 2021
    Configuration menu
    Copy the full SHA
    fec093b View commit details
    Browse the repository at this point in the history
  4. util: add internal createDeferredPromise()

    The pattern of resolving/rejecting a Promise from outside of its
    executor happens numerous times throughout the codebase (more than
    what is updated here in fact). This commit abstracts that logic
    into an internal utility function.
    
    PR-URL: #37095
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig committed Jan 29, 2021
    Configuration menu
    Copy the full SHA
    17467d1 View commit details
    Browse the repository at this point in the history
  5. src: fix dead code in RandomPrimeTraits

    PR-URL: #37083
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    tniessen committed Jan 29, 2021
    Configuration menu
    Copy the full SHA
    0a993e1 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2021

  1. deps: upgrade npm to 7.5.0

    PR-URL: #37117
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    ruyadorno committed Jan 30, 2021
    Configuration menu
    Copy the full SHA
    d3906ae View commit details
    Browse the repository at this point in the history
  2. doc: update Buffer encoding option count

    #36952 added the `base64url`
    encoding option.
    
    Easier to just remove the count of options so it doesn’t need to be
    updated to four, five, etc. in the future.
    
    PR-URL: #37102
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Harshitha K P <harshitha014@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    davecardwell authored and RaisinTen committed Jan 30, 2021
    Configuration menu
    Copy the full SHA
    fd02dac View commit details
    Browse the repository at this point in the history
  3. esm: deprecate legacy main lookup for modules

    PR-URL: #36918
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    guybedford committed Jan 30, 2021
    Configuration menu
    Copy the full SHA
    255d633 View commit details
    Browse the repository at this point in the history
  4. Revert "deps: update patch and docs for openssl update"

    This reverts commit 548790a.
    
    PR-URL: #37067
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    jasnell committed Jan 30, 2021
    Configuration menu
    Copy the full SHA
    1c52ce8 View commit details
    Browse the repository at this point in the history
  5. Revert "deps: re-enable OPENSSL_NO_QUIC guards"

    This reverts commit b0d5bfe.
    
    PR-URL: #37067
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    jasnell committed Jan 30, 2021
    Configuration menu
    Copy the full SHA
    e63035c View commit details
    Browse the repository at this point in the history
  6. Revert "deps: various quic patches from akamai/openssl"

    This reverts commit 06c5b53.
    
    PR-URL: #37067
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    jasnell committed Jan 30, 2021
    Configuration menu
    Copy the full SHA
    f763a80 View commit details
    Browse the repository at this point in the history
  7. quic: remove quic

    PR-URL: #37067
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    jasnell committed Jan 30, 2021
    Configuration menu
    Copy the full SHA
    c3d6d50 View commit details
    Browse the repository at this point in the history
  8. deps: update openssl config

    PR-URL: #37067
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    jasnell committed Jan 30, 2021
    Configuration menu
    Copy the full SHA
    290ecb3 View commit details
    Browse the repository at this point in the history
  9. doc: add missing deprecation code

    PR-URL: #37147
    Refs: #36918
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig committed Jan 30, 2021
    Configuration menu
    Copy the full SHA
    71cb829 View commit details
    Browse the repository at this point in the history
  10. esm: update to correct deprecation code

    #36918 landed with references
    to DEP0150, which is already used for a different deprecation.
    This commit updates the code to use DEP0151.
    
    PR-URL: #37147
    Refs: #36918
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig committed Jan 30, 2021
    Configuration menu
    Copy the full SHA
    d0a92e2 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2021

  1. doc: remove TOC summary for pages with no TOC

    Remove the table of contents summary for pages with no table of
    contents. Currently, this affects at least index.html.
    
    PR-URL: #37043
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Trott committed Jan 31, 2021
    Configuration menu
    Copy the full SHA
    683754c View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2021

  1. doc: add example for test structure

    PR-URL: #35046
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    wjabbour authored and Lxxyx committed Feb 1, 2021
    Configuration menu
    Copy the full SHA
    c746c40 View commit details
    Browse the repository at this point in the history
  2. doc: clarify repl exception conditions

    The sample code demonstrating ERR_INVALID_REPL_INPUT is confusing, I
    think. This simplifies and clarifies it a bit, I hope.
    
    PR-URL: #37142
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott committed Feb 1, 2021
    Configuration menu
    Copy the full SHA
    e30e035 View commit details
    Browse the repository at this point in the history
  3. http: refactor to avoid unsafe array iteration

    PR-URL: #37124
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    aduh95 authored and Trott committed Feb 1, 2021
    Configuration menu
    Copy the full SHA
    4a113be View commit details
    Browse the repository at this point in the history
  4. doc: clarify ERR_INVALID_REPL_INPUT usage

    The REPL documentation does not list prohibited inputs, but it does
    explain the conditions under which ERR_INVALID_REPL_INPUT is used.
    Update the error doc to indicate that.
    
    PR-URL: #37143
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott committed Feb 1, 2021
    Configuration menu
    Copy the full SHA
    06d7495 View commit details
    Browse the repository at this point in the history
  5. doc: fix markup and alphabetization in errors.md

    Change `<a id"...` to `<a id="...` (missing equal sign) and move entry
    to correct location in alphabetical order.
    
    PR-URL: #37144
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Trott committed Feb 1, 2021
    Configuration menu
    Copy the full SHA
    e6fbe48 View commit details
    Browse the repository at this point in the history
  6. stream: refactor to use more primordials

    PR-URL: #36346
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    aduh95 committed Feb 1, 2021
    Configuration menu
    Copy the full SHA
    419686c View commit details
    Browse the repository at this point in the history
  7. stream: refactor to avoid unsafe array iteration

    PR-URL: #37126
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    aduh95 committed Feb 1, 2021
    Configuration menu
    Copy the full SHA
    4ad46e2 View commit details
    Browse the repository at this point in the history
  8. fs: only use Buffer.concat in promises.readFile when necessary

    PR-URL: #37127
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax committed Feb 1, 2021
    Configuration menu
    Copy the full SHA
    186feb4 View commit details
    Browse the repository at this point in the history
  9. fs: read full size if known in promises.readFile

    If we have an estimate of the file size available from the previous
    stat call, use that for the size of the first chunk to be read.
    This increases performance by reading more data (and, most likely,
    all data) at once without incurring memory overhead in most situations.
    
    PR-URL: #37127
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax committed Feb 1, 2021
    Configuration menu
    Copy the full SHA
    a126cb5 View commit details
    Browse the repository at this point in the history
  10. doc,test: fix prime generation description

    The previous description incorrectly explained the behavior of
    options.add and options.rem for primes that are not safe.
    
    PR-URL: #37085
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    tniessen authored and aduh95 committed Feb 1, 2021
    Configuration menu
    Copy the full SHA
    814f971 View commit details
    Browse the repository at this point in the history
  11. async_hooks: refactor to avoid unsafe array iteration

    PR-URL: #37125
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    aduh95 committed Feb 1, 2021
    Configuration menu
    Copy the full SHA
    f8853dd View commit details
    Browse the repository at this point in the history
  12. doc: fix list format in Developer's Certificate of Origin

    This corresponds to the format at https://developercertificate.org/.
    
    PR-URL: #37138
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Pooja D P <Pooja.D.P@ibm.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    NegiAkash890 authored and aduh95 committed Feb 1, 2021
    Configuration menu
    Copy the full SHA
    b5f5c46 View commit details
    Browse the repository at this point in the history
  13. src: expose BaseObject::kInternalFieldCount in post-mortem metadata

    So that the debugger does not have to hard-code the number of
    internal fields of BaseObjects.
    
    PR-URL: #37111
    Refs: #36943
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung committed Feb 1, 2021
    Configuration menu
    Copy the full SHA
    638fb48 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2021

  1. deps: upgrade npm to 7.5.1

    PR-URL: #37177
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    ruyadorno authored and targos committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    3c0672e View commit details
    Browse the repository at this point in the history
  2. test: remove outdated V8 flag

    The flag is going to be removed upstream in V8 9.0.
    
    Refs: v8/v8@0a480c3
    
    PR-URL: #37151
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    targos committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    501ae0e View commit details
    Browse the repository at this point in the history
  3. doc: improve promise terminology

    PR-URL: #37181
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    benjamingr committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    271e04f View commit details
    Browse the repository at this point in the history
  4. src: read exactly two tokens from Linux THP sysfs config

    There was an unexpected and hard-to-spot issue here:
    the /sys/kernel/mm/transparent_hugepage/enabled file contains three
    entries, and the std::ifstream reader was reading two values on each
    loop iteration, resulting in incorrect behaviour.
    
    Fixes: #37064
    
    PR-URL: #37065
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    jayaddison authored and RaisinTen committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    a0c0875 View commit details
    Browse the repository at this point in the history
  5. doc: fix color contrast on <kbd> elements

    PR-URL: #37185
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    aduh95 committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    b750f74 View commit details
    Browse the repository at this point in the history
  6. test: split heap snapshot limit tests

    test/parallel/test-heapsnapshot-near-heap-limit.js is timing out in CI
    on low-memory and slow-CPU devices. Split off the worker test to its own
    test file to allow the test to finish in time.
    
    Refs: #36961
    PR-URL: #37189
    Reviewed-By: Ash Cripps <acripps@redhat.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Trott committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    84e41d2 View commit details
    Browse the repository at this point in the history
  7. tls: add ability to get cert/peer cert as X509Certificate object

    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #37070
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    jasnell committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    c973d50 View commit details
    Browse the repository at this point in the history
  8. 2021-02-02, Version 15.8.0 (Current)

    Notable changes:
    
    crypto:
      * (SEMVER-MINOR) add generatePrime/checkPrime (James M Snell) #36997
      * (SEMVER-MINOR) experimental (Ed/X)25519/(Ed/X)448 support (James M Snell) #36879
    deps:
      * upgrade npm to 7.5.0 (Ruy Adorno) #37117
    dgram:
      * (SEMVER-MINOR) support AbortSignal in createSocket (Nitzan Uziely) #37026
    doc:
      * add Zijian Liu to collaborators (ZiJian Liu) #37075
    esm:
      * deprecate legacy main lookup for modules (Guy Bedford) #36918
    readline:
      * (SEMVER-MINOR) add history event and option to set initial history (Mattias Runge-Broberg) #33662
      * (SEMVER-MINOR) add support for the AbortController to the question method (Mattias Runge-Broberg) #33676
    
    PR-URL: #37183
    targos committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    211574b View commit details
    Browse the repository at this point in the history
  9. crypto: add keyObject.export() 'jwk' format option

    Adds [JWK](https://tools.ietf.org/html/rfc7517) keyObject.export format
    option.
    
    Supported key types: `ec`, `rsa`, `ed25519`, `ed448`, `x25519`, `x448`,
    and symmetric keys, resulting in JWK `kty` (Key Type) values `EC`,
    `RSA`, `OKP`, and `oct`.
    
    `rsa-pss` is not supported since the JWK format does not support
    PSS Parameters.
    
    `EC` JWK curves supported are `P-256`, `secp256k1`, `P-384`, and `P-521`
    
    PR-URL: #37081
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    panva committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    a8d7de1 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2021

  1. deps: upgrade npm to 7.5.2

    PR-URL: #37191
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    ruyadorno authored and Trott committed Feb 3, 2021
    Configuration menu
    Copy the full SHA
    861a396 View commit details
    Browse the repository at this point in the history
  2. stream: improve Readable.from error handling

    PR-URL: #37158
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    benjamingr committed Feb 3, 2021
    Configuration menu
    Copy the full SHA
    03380bc View commit details
    Browse the repository at this point in the history
  3. doc: fix 404 links in module.md

    PR-URL: #37202
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Beth Griggs <bgriggs@redhat.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    aduh95 authored and Lxxyx committed Feb 3, 2021
    Configuration menu
    Copy the full SHA
    3b40893 View commit details
    Browse the repository at this point in the history
  4. doc: fix pr-url for DEP0148

    PR-URL: #37205
    Reviewed-By: Beth Griggs <bgriggs@redhat.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Pooja D P <Pooja.D.P@ibm.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    aduh95 committed Feb 3, 2021
    Configuration menu
    Copy the full SHA
    b586c6a View commit details
    Browse the repository at this point in the history
  5. tools: update ESLint to 7.19.0

    Update ESLint to 7.19.0
    
    PR-URL: #37159
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    cjihrig authored and aduh95 committed Feb 3, 2021
    Configuration menu
    Copy the full SHA
    bc396c8 View commit details
    Browse the repository at this point in the history
  6. src: simplify calls to BN_bin2bn in prime gen

    PR-URL: #37169
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    tniessen committed Feb 3, 2021
    Configuration menu
    Copy the full SHA
    8b14046 View commit details
    Browse the repository at this point in the history
  7. timers: introduce setInterval async iterator

    Added setInterval async generator to timers\promises.
    Utilises async generators to provide an iterator compatible with
    `for await`.
    
    Co-Authored-By: Fabian Cook <hello@fabiancook.dev>
    
    fix message
    
    PR-URL: #37153
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Linkgoron authored and benjamingr committed Feb 3, 2021
    Configuration menu
    Copy the full SHA
    fefc639 View commit details
    Browse the repository at this point in the history
  8. test: remove flaky designation for test-http2-large-file

    This seems to have stopped happening, possibly because it only ever
    happened on win2008 and that went eol last year.
    
    Closes: #22327
    
    PR-URL: #37156
    Fixes: #22327
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott committed Feb 3, 2021
    Configuration menu
    Copy the full SHA
    4f44cad View commit details
    Browse the repository at this point in the history
  9. doc: fix typo in cli.md

    PR-URL: #37214
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    0xkalvin authored and aduh95 committed Feb 3, 2021
    Configuration menu
    Copy the full SHA
    bc89048 View commit details
    Browse the repository at this point in the history
  10. http: fix ClientRequest unhandled errors

    ClientRequest could someone cause an unhandled error
    from socket.
    
    Fixes: #36931
    
    PR-URL: #36970
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    ronag committed Feb 3, 2021
    Configuration menu
    Copy the full SHA
    fe43bd8 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2021

  1. src: fix warning in string_search.h

    Fixes: #37145
    
    PR-URL: #37146
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    RaisinTen authored and jasnell committed Feb 4, 2021
    Configuration menu
    Copy the full SHA
    c148c3a View commit details
    Browse the repository at this point in the history
  2. doc: fix typo in globals.md

    PR-URL: #37228
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    RaisinTen authored and jasnell committed Feb 4, 2021
    Configuration menu
    Copy the full SHA
    3b36320 View commit details
    Browse the repository at this point in the history
  3. timers: remove flaky setInterval test

    PR-URL: #37227
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Nitzan Uziely authored and benjamingr committed Feb 4, 2021
    Configuration menu
    Copy the full SHA
    cfb2e06 View commit details
    Browse the repository at this point in the history
  4. repl: refactor to avoid unsafe array iteration

    PR-URL: #37188
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    aduh95 committed Feb 4, 2021
    Configuration menu
    Copy the full SHA
    703e566 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2021

  1. doc: fix CHANGELOG_ARCHIVE table of contents

    PR-URL: #37232
    Refs: https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_ARCHIVE.md#0.8.0
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Beth Griggs <bgriggs@redhat.com>
    aduh95 committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    62cd0eb View commit details
    Browse the repository at this point in the history
  2. doc: fix version number for DEP006

    PR-URL: #37231
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Pooja D P <Pooja.D.P@ibm.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    aduh95 committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    6385340 View commit details
    Browse the repository at this point in the history
  3. fs: add AbortSignal support to watch

    PR-URL: #37190
    Refs: #37179
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    benjamingr authored and Benjamin Gruenbaum committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    664cce9 View commit details
    Browse the repository at this point in the history
  4. src: refactor bookkeeping of bootstrap status

    This patch
    
    1. Refactors the bootstrap routine of the main instance so that
      when --no-node-snapshot is used,
      Environment::InitializeMainContext() will only be called once
      (previously it would be called twice, which was harmless for now
      but not ideal).
    2. Mark the number of BaseObjects in RunBootstrapping() when creating
      the Environment from scratch and in InitializeMainContext() when
      the Environment is deserialized. Previously the marking was done in
      the Environment constructor and InitializeMainContext() respectively
      for the cctest which was incorrect because the cctest never uses
      an Environment that's not bootstrapped. Also renames the mark
      to base_object_created_after_bootstrap to reflect what it's
      intended for.
    
    PR-URL: #37113
    Refs: #36943
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    9aeb836 View commit details
    Browse the repository at this point in the history
  5. src: put (de)serialization code into node_snapshotable.h/cc

    So that it's easier to find the corresponding code.
    
    PR-URL: #37114
    Refs: #36943
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    joyeecheung committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    2e769a9 View commit details
    Browse the repository at this point in the history
  6. doc: fix accommodate typos

    PR-URL: #37229
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Pooja D P <Pooja.D.P@ibm.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    cjihrig authored and RaisinTen committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    a6de951 View commit details
    Browse the repository at this point in the history
  7. vm: add importModuleDynamically option to compileFunction

    This reverts commit 2d5d773.
    
    See: #32985
    See: #33364
    See: #33166
    Fixes: #31860
    
    PR-URL: #35431
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org>
    devsnek committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    bf2f2b7 View commit details
    Browse the repository at this point in the history
  8. fs: use a default callback for fs.close()

    The `fs.close()` function requires a callback. Most often the only thing
    that callback does is check and rethrow the error if one occurs. To
    eliminate common boilerplate, make the callback optional with a default
    that checks and rethrows the error as an uncaught exception.
    
    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #37174
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    jasnell committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    7d0f680 View commit details
    Browse the repository at this point in the history
  9. doc: fix webcrypto HMAC generateKey example

    PR-URL: #37197
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    panva committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    29789f7 View commit details
    Browse the repository at this point in the history
  10. doc: mention CryptoKey in port.postMessage()

    PR-URL: #37196
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    panva committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    88be944 View commit details
    Browse the repository at this point in the history
  11. doc: consistent webcrypto node.keyObject format

    PR-URL: #37200
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    panva committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    931c2d1 View commit details
    Browse the repository at this point in the history
  12. doc: mark Certificate methods as static, add missing KeyObject.from

    PR-URL: #37198
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    panva committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    e8286bb View commit details
    Browse the repository at this point in the history
  13. crypto: remove webcrypto "DSA" JWK Key Type operations

    "DSA" is not a registered JWK key type.
    
    https://www.iana.org/assignments/jose/jose.xhtml#web-key-types
    
    PR-URL: #37203
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    panva committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    2ff1c83 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2021

  1. test: rename n-api to node-api

    This renames the macros used in the tests from `NAPI_*` to
    `NODE_API_*`.
    
    PR-URL: #37217
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Beth Griggs <bgriggs@redhat.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Gabriel Schulhof authored and Trott committed Feb 6, 2021
    Configuration menu
    Copy the full SHA
    4b7f23f View commit details
    Browse the repository at this point in the history
  2. fs: allow passing negative zero fd

    Fixes: #37122
    
    PR-URL: #37123
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    RaisinTen authored and Trott committed Feb 6, 2021
    Configuration menu
    Copy the full SHA
    6b8b165 View commit details
    Browse the repository at this point in the history
  3. repl: add auto‑completion for dynamic import calls

    Refs: #33238
    Refs: #33282
    
    Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
    
    PR-URL: #37178
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    ExE-Boss authored and Trott committed Feb 6, 2021
    Configuration menu
    Copy the full SHA
    3aba6fe View commit details
    Browse the repository at this point in the history
  4. timers: fix unsafe array iteration

    Fixes: #37222
    
    PR-URL: #37223
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    RaisinTen authored and Trott committed Feb 6, 2021
    Configuration menu
    Copy the full SHA
    c0e66e3 View commit details
    Browse the repository at this point in the history