X Tutup
The Wayback Machine - https://web.archive.org/web/20201025231001/https://github.com/nodejs/node/commits/master
Skip to content
Permalink
master

Commits on Oct 25, 2020

  1. test: refactor coverage logic

    Cleanup logic in Makefile for coverage. Update BUILDING.md
    accordingly.
    
    PR-URL: #35767
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    bcoe committed Oct 25, 2020
  2. doc: fix header level in fs.md

    Indentation for #fs_fs_promises_api is level 2 but it should be level 3.
    
    PR-URL: #35771
    Reviewed-By: Rich Trott <rtrott@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: Gireesh Punathil <gpunathi@in.ibm.com>
    ax1 authored and Trott committed Oct 25, 2020
  3. doc: remove stability warning in v8 module doc

    Remove note indicating that the APIs can change at any time. This module
    migrated from Experimental to Stable 6 years ago (in io.js 1.4.2).
    
    PR-URL: #35774
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Trott committed Oct 25, 2020
  4. doc: mark optional parameters in timers.md

    PR-URL: #35764
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    vsemozhetbyt authored and gireeshpunathil committed Oct 25, 2020
  5. stream: remove redundant context from comments

    Using the variable name in the comment and justifying the type seems
    redundant to me and instead it should defined the entity which it is
    acting, like in our case it is acting as a flag to control the flow in
    streams.
    
    PR-URL: #35728
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    yashLadha authored and gireeshpunathil committed Oct 25, 2020
  6. timers: correct explanation in comment

    PR-URL: #35437
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    wjabbour authored and gireeshpunathil committed Oct 25, 2020
  7. doc: add a example code to API doc property

    example code added to the process.setgroups() API
    doc property in process.md
    
    PR-URL: #35738
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    PoojaDurgad authored and aduh95 committed Oct 25, 2020
  8. http2: fix reinjection check

    We reinject when the sockets has already waiting
    data, remarked by @mildsunrise
    
    Co-authored-by: Alba Mendez <me@alba.sh>
    
    PR-URL: #35678
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Alba Mendez <me@alba.sh>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
    mmomtchev authored and nodejs-github-bot committed Oct 25, 2020
  9. http2: reinject data received before http2 is attached

    Reinject the data already received from the TLS
    socket when the HTTP2 client is attached with a
    delay
    
    Fixes: #35475
    
    PR-URL: #35678
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Alba Mendez <me@alba.sh>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
    mmomtchev authored and nodejs-github-bot committed Oct 25, 2020
  10. http2: add updateSettings to both http2 servers

    Allow the user to update the server settings
    after using http2.createSecureServer() or
    after using http2.createServer().
    
    Fixes: #35353
    
    PR-URL: #35383
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
    Vboivin authored and nodejs-github-bot committed Oct 25, 2020
  11. doc: document changes for `*/promises` alias modules

    Fixes: #35740
    
    Refs: #31553
    Refs: #32953
    Refs: #33991
    Refs: #34001
    Refs: #34055
    Refs: #34962
    
    Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Co-authored-by: Trivikram Kamat <trivikr.dev@gmail.com>
    Co-authored-by: Rich Trott <rtrott@gmail.com>
    
    PR-URL: #34002
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: Pranshu Srivastava <rexagod@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    ExE-Boss authored and nodejs-github-bot committed Oct 25, 2020
  12. dns: add setLocalAddress to Resolver

    Fixes: #34818
    
    PR-URL: #34824
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    daguej authored and aduh95 committed Oct 25, 2020

Commits on Oct 24, 2020

  1. http2: remove unsupported %.* specifier

    The debug sprintf doesn't support %.* specifiers
    
    Fixes: #35688
    
    PR-URL: #35694
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    mmomtchev authored and nodejs-github-bot committed Oct 24, 2020
  2. test: add additional deprecation warning tests for rmdir recursive

    PR-URL: #35683
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ben Coe <bencoe@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    iansu authored and aduh95 committed Oct 24, 2020
  3. doc: update console.error example

    Signed-off-by: Lee, Bonggi <iyabong@gmail.com>
    
    PR-URL: #34964
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    iyabong authored and aduh95 committed Oct 24, 2020
  4. doc: add missing link in Node.js 14 Changelog

    Refs: #35525
    
    PR-URL: #35782
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    aduh95 authored and Trott committed Oct 24, 2020
  5. doc: improve text for breakOnSigint

    * Make the 7 instances of breakOnSigint text blocks consistent.
    * Use present tense.
    * Use kbd element for keystrokes.
    * Minor style edits.
    
    PR-URL: #35692
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott committed Oct 24, 2020
  6. doc: this prints replaced with this is printed

    PR-URL: #35515
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Christian Clauss <cclauss@me.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    PoojaDurgad authored and gireeshpunathil committed Oct 24, 2020
  7. stream: fix duplicate logic in stream destroy

    Fix duplicate logic in stream destroy as the same logic is being shared
    across methods and thus can be encapsulated into a single method.
    
    PR-URL: #35727
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
    yashLadha authored and gireeshpunathil committed Oct 24, 2020
  8. deps: update to cjs-module-lexer@0.4.3

    PR-URL: #35745
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    guybedford committed Oct 24, 2020

Commits on Oct 23, 2020

  1. doc: update package.json field definitions

    Only imports has the experimental status right now but technically all
    ESM related features are currently experimental. The list also doesn't
    appear to be in any specific order so I've grouped the experimental
    features together.
    
    PR-URL: #35741
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org>
    MylesBorins committed Oct 23, 2020
  2. tools: refloat 7 Node.js patches to cpplint.py

    Cherry-pick 12c8b4d
    Original commit message:
        This commit is a suggestion for adding a rule for NULL usages in the
        code base. This will currently report a number of errors which could be
        ignored using // NOLINT (readability/null_usage)
    
        PR-URL: #17373
        Reviewed-By: Jon Moss <me@jonathanmoss.me>
        Reviewed-By: Anna Henningsen <anna@addaleax.net>
        Reviewed-By: Timothy Gu <timothygu99@gmail.com>
        Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
        Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
        Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
        Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    
    Refs: 12c8b4d
    
    Cherry-pick fc81e80
    Original commit message:
    
        Update cpplint.py to check for inline headers when the corresponding
        header is already included.
    
        PR-URL: #21521
        Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
        Reviewed-By: James M Snell <jasnell@gmail.com>
    
    Refs: fc81e80
    
    Cherry-pick cbc3dd9
    Original commit message:
    
        src, tools: add check for left leaning pointers
    
        This commit adds a rule to cpplint to check that pointers in the code
        base lean to the left and not right, and also fixes the violations
        reported.
    
        PR-URL: #21010
        Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
        Reviewed-By: Anna Henningsen <anna@addaleax.net>
        Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
        Reviewed-By: James M Snell <jasnell@gmail.com>
    
    Refs: cbc3dd9
    
    Cherry-pick 9029981
    Original commit message:
    
        tools: fix cpplint.py header rules
    
        THIS COMMIT SHOULD GO WITH THE NEXT. IT WILL FIND NEW LINT.
    
        PR-URL: #26306
        Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    
    Refs: 9029981
    
    Cherry-pick 0a25ace
    Original commit message:
    
        tools: move cpplint configuration to .cpplint
    
        PR-URL: #27098
        Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
        Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    
    Refs: 0a25ace
    
    Cherry-pick afa9a72
    Original commit message:
    
        tools: refloat update link to google styleguide for cpplint
    
        This commit updates two old links to Google's C++ styleguide which
        currently result in a 404 when accessed.
    
        PR-URL: #30876
        Reviewed-By: Michaël Zasso <targos@protonmail.com>
        Reviewed-By: David Carlier <devnexen@gmail.com>
        Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
        Reviewed-By: Richard Lau <riclau@uk.ibm.com>
        Reviewed-By: Rich Trott <rtrott@gmail.com>
    
    Refs: afa9a72
    
    Cherry-pick e23bf8f
    Original commit message:
    
        tools,src: refloat forbid usage of v8::Persistent
    
        `v8::Persistent` comes with the surprising catch that it requires
        manual cleanup. `v8::Global` doesn’t, making it easier to use,
        and additionally provides move semantics. New code should always
        use `v8::Global`.
    
        PR-URL: #31018
        Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
        Reviewed-By: Richard Lau <riclau@uk.ibm.com>
        Reviewed-By: James M Snell <jasnell@gmail.com>
        Reviewed-By: David Carlier <devnexen@gmail.com>
        Reviewed-By: Rich Trott <rtrott@gmail.com>
        Reviewed-By: Gus Caplan <me@gus.host>
        Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
        Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
        Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    
    PR-URL: #35569
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    
    PR-URL: #35719
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Trott committed Oct 23, 2020
  3. tools: bump cpplint to 1.5.0

    https://github.com/cpplint/cpplint/releases/tag/1.5.0
    
    PR-URL: #35719
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Trott committed Oct 23, 2020
  4. doc,src,test: revise C++ code for linter update

    PR-URL: #35719
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Trott committed Oct 23, 2020

Commits on Oct 22, 2020

  1. doc,esm: document experimental warning removal

    PR-URL: #35750
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    aduh95 committed Oct 22, 2020
  2. doc: add Installing Node.js header in BUILDING.md

    PR-URL: #35710
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    PoojaDurgad authored and Trott committed Oct 22, 2020
  3. build: add license-builder GitHub Action

    PR-URL: #35712
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    bnb authored and Trott committed Oct 22, 2020
  4. v8: implement v8.stopCoverage()

    Add a v8.stopCoverage() API to stop the coverage collection
    started by NODE_V8_COVERAGE - this would be useful in
    conjunction with v8.takeCoverage() if the user don't want
    to emit the coverage at the process exit but still want
    to collect it on demand at some point.
    
    PR-URL: #33807
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Ben Coe <bencoe@gmail.com>
    joyeecheung authored and gengjiawen committed Oct 22, 2020
  5. v8: implement v8.takeCoverage()

    Add an v8.takeCoverage() API that allows the user to write the
    coverage started by NODE_V8_COVERAGE to disk on demand.
    The coverage can be written multiple times during the lifetime
    of the process, each time the execution counter will be reset.
    When the process is about to exit, one last coverage will
    still be written to disk.
    
    Also refactors the internal profiler connection code
    so that we use the inspector response id to identify
    the profile response instead of using an ad-hoc flag in C++.
    
    PR-URL: #33807
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Ben Coe <bencoe@gmail.com>
    joyeecheung authored and gengjiawen committed Oct 22, 2020
  6. test: add windows and C++ coverage

    Collect Windows and C++ coverage. Configure codecov so that
    comments are more concise and are only left when coverage
    varies.
    
    PR-URL: #35670
    Fixes: #35696
    Refs: #35653
    Refs: #35646
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    bcoe committed Oct 22, 2020

Commits on Oct 21, 2020

  1. deps: V8: backport 4263f8a5e8e0

    Original commit message:
    
        parser: better error message for await+tla
    
        Bug: v8:9344, v8:6513
        Change-Id: I1854e483515e7da99192367b6764a0ec7c8b41d9
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2411687
        Reviewed-by: Marja Hölttä <marja@chromium.org>
        Commit-Queue: Gus Caplan <snek@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#70099}
    
    Refs: v8/v8@4263f8a
    
    PR-URL: #35650
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    bdougie authored and MylesBorins committed Oct 21, 2020
  2. 2020-10-21, Version 15.0.1 (Current)

    Notable changes:
    
    - **crypto**: fix regression on randomFillSync (James M Snell)
      (#35723)
      - This fixes issue #35722.
    - **deps**: upgrade npm to 7.0.3 (Ruy Adorno)
      (#35724)
    - **doc**: add release key for Danielle Adams (Danielle Adams)
      (#35545)
    
    PR-URL: #35736
    BethGriggs committed Oct 21, 2020
  3. src: add --heapsnapshot-near-heap-limit option

    This patch adds a --heapsnapshot-near-heap-limit CLI option
    that takes heap snapshots when the V8 heap is approaching
    the heap size limit. It will try to write the snapshots
    to disk before the program crashes due to OOM.
    
    PR-URL: #33010
    Refs: #27552
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    joyeecheung committed Oct 21, 2020
  4. deps: upgrade npm to 7.0.3

    PR-URL: #35724
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    ruyadorno authored and MylesBorins committed Oct 21, 2020
  5. deps: V8: set correct V8 version patch number

    The update to V8 8.6 already included the changes from that version,
    but it wasn't tagged yet. Having the wrong version in tree breaks
    node-core-utils.
    
    PR-URL: #35732
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Beth Griggs <bgriggs@redhat.com>
    targos authored and nodejs-github-bot committed Oct 21, 2020
Older
You can’t perform that action at this time.
X Tutup