Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v14.17.1 release proposal #38948

Merged
merged 253 commits into from
Jun 15, 2021
Merged

v14.17.1 release proposal #38948

merged 253 commits into from
Jun 15, 2021
This pull request is big! We’re only showing the most recent 250 commits.

Commits on May 16, 2021

  1. lib: use Object static properties from primordials

    PR-URL: #35380
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Gerhard Stöbich <[email protected]>
    Reviewed-By: Ricky Zhou <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    targos committed May 16, 2021
    Configuration menu
    Copy the full SHA
    e2395b0 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2021

  1. tools: add new ESLint rule: prefer-primordials

    I added a new custom ESLint rule to fix these problems.
    
    We have a lot of replaceable codes with primordials.
    Accessing built-in objects is restricted by existing rule
    (no-restricted-globals), but accessing property in the built-in objects
    is not restricted right now. We manually review codes that can be
    replaced by primordials, but there's a lot of code that actually needs
    to be fixed. We have often made pull requests to replace the primordials
    with.
    
    Restrict accessing global built-in objects such as `Promise`.
    Restrict calling static methods such as `Array.from` or `Symbol.for`.
    Don't restrict prototype methods to prevent false-positive.
    
    PR-URL: #35448
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: Ben Coe <[email protected]>
    Leko authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    c7751b4 View commit details
    Browse the repository at this point in the history
  2. tools,lib: tighten prefer-primordials rules for Error statics

    PR-URL: #36017
    Reviewed-By: Shingo Inoue <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    5f848a6 View commit details
    Browse the repository at this point in the history
  3. tools,lib: recommend using safe primordials

    Make the linter recommend replacing `globalThis.Map` by
    `primordials.SafeMap`, and similar for `Set`, `WeakSet`, and `WeakMap`.
    
    PR-URL: #36026
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Shingo Inoue <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    e19478a View commit details
    Browse the repository at this point in the history
  4. timers: cleanup abort listener on awaitable timers

    Co-authored-by: Benjamin Gruenbaum <[email protected]>
    Signed-off-by: James M Snell <[email protected]>
    
    PR-URL: #36006
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    jasnell authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    d84b05a View commit details
    Browse the repository at this point in the history
  5. lib: add %TypedArray% abstract constructor to primordials

    Refs: #35448
    Refs: #36003
    Refs: https://tc39.es/ecma262/#sec-%typedarray%-intrinsic-object
    
    Co-authored-by: Antoine du Hamel <[email protected]>
    
    PR-URL: #36016
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Shingo Inoue <[email protected]>
    ExE-Boss authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    24d4d63 View commit details
    Browse the repository at this point in the history
  6. module: refactor to use more primordials

    PR-URL: #36024
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    9e7f166 View commit details
    Browse the repository at this point in the history
  7. tools: update ESLint to 7.11.0

    Update ESLint to 7.11.0
    
    PR-URL: #35578
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    cjihrig authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    dcbd447 View commit details
    Browse the repository at this point in the history
  8. tools: update ESLint to 7.12.0

    Update ESLint to 7.12.0
    
    PR-URL: #35799
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    cjihrig authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    29d0840 View commit details
    Browse the repository at this point in the history
  9. tools: update ESLint to 7.12.1

    Update ESLint to 7.12.1
    
    PR-URL: #35799
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    cjihrig authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    937fc0a View commit details
    Browse the repository at this point in the history
  10. tools: update ESLint to 7.13.0

    Update ESLint to 7.13.0
    
    PR-URL: #36031
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    lpinca authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    55fc206 View commit details
    Browse the repository at this point in the history
  11. test: use .then(common.mustCall()) for all async IIFEs

    This makes sure that all async functions finish as expected.
    
    PR-URL: #34363
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    addaleax authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    89ee6ab View commit details
    Browse the repository at this point in the history
  12. tools: add linting rule for async IIFEs

    The result of an async IIFE should always be handled in our tests,
    typically by adding `.then(common.mustCall())` to verify that the
    async function actually finishes executing at some point.
    
    PR-URL: #34363
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    addaleax authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    9fa8d20 View commit details
    Browse the repository at this point in the history
  13. test: add Actions annotation output

    It's possible to annotate failures in Actions by printing
    "::error file={},line={},col={}::{message}". This methos is preferrable
    over using a problem matcher because problem matchers only allow
    single-line messages, whereas ::error allows multi-line messages.
    
    PR-URL: #34590
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    mmarchini authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    219ed0b View commit details
    Browse the repository at this point in the history
  14. stream: fix legacy pipe error handling

    Fixes: #35237
    
    PR-URL: #35257
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    ronag authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    c31e2f6 View commit details
    Browse the repository at this point in the history
  15. 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 <[email protected]>
    Co-authored-by: Trivikram Kamat <[email protected]>
    Co-authored-by: Rich Trott <[email protected]>
    
    PR-URL: #34002
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Masashi Hirano <[email protected]>
    Reviewed-By: Pranshu Srivastava <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    ExE-Boss authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    1d80f89 View commit details
    Browse the repository at this point in the history
  16. child_process: refactor to use more primordials

    PR-URL: #36003
    Reviewed-By: Rich Trott <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    8d7708b View commit details
    Browse the repository at this point in the history
  17. lib,tools: enforce access to prototype from primordials

    PR-URL: #36025
    Reviewed-By: Shingo Inoue <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    b3e22e1 View commit details
    Browse the repository at this point in the history
  18. timers: refactor to use more primordials

    PR-URL: #36132
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    dec3610 View commit details
    Browse the repository at this point in the history
  19. http2: add support for TypedArray to getUnpackedSettings

    PR-URL: #36141
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    74fe1d8 View commit details
    Browse the repository at this point in the history
  20. lib: refactor to use more primordials

    PR-URL: #36140
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    0fbe945 View commit details
    Browse the repository at this point in the history
  21. errors: refactor to use more primordials

    PR-URL: #36167
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    83d2837 View commit details
    Browse the repository at this point in the history
  22. src: fix label indentation

    In preparation for a cpplint version bump, move labels to be unindented.
    The one space indentation we use now is flagged in cpplint 1.5.2.
    
    Refs: https://softwareengineering.stackexchange.com/q/151806/26510
    
    PR-URL: #36213
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Trott authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    29c623e View commit details
    Browse the repository at this point in the history
  23. tools: update ESLint to 7.14.0

    Update ESLint to 7.14.0
    
    PR-URL: #36217
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    cjihrig authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    19d4eb1 View commit details
    Browse the repository at this point in the history
  24. tools: enable no-nonoctal-decimal-escape lint rule

    This rule is new in ESLint 7.14.0.
    
    PR-URL: #36217
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    cjihrig authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    24a81c7 View commit details
    Browse the repository at this point in the history
  25. lib: refactor primordials.uncurryThis

    This is done to avoid creating an array and gain performance.
    
    Co-authored-by: ExE Boss <[email protected]>
    
    PR-URL: #36221
    Refs: https://v8.dev/blog/v8-release-80#optimizing-higher-order-builtins
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    bb4900d View commit details
    Browse the repository at this point in the history
  26. deps: V8: cherry-pick 86991d0587a1

    Adds methods for fetching stack trace information about
    enclosing function.
    
    Refs #36042
    
    Original commit message:
    
        Reland "stack-trace-api: implement getEnclosingLine/Column"
    
        This reverts commit 5557a63beb5a53c93e9b590eaf2933e21bcb3768.
    
        Reason for revert: Sheriff's mistake, failing test was previously flaking.
    
        Original change's description:
        > Revert "stack-trace-api: implement getEnclosingLine/Column"
        >
        > This reverts commit c48ae2d96cbfdc2216706a5e9a79ae1dce5a638b.
        >
        > Reason for revert: Breaks a profiling test:
        > https://ci.chromium.org/p/v8/builders/ci/V8%20Win32/30010
        >
        > Original change's description:
        > > stack-trace-api: implement getEnclosingLine/Column
        > >
        > > Introduces getEnclosingColumn and getEnclosingLine on CallSite
        > > so that the position can be used to lookup the original symbol
        > > for function when source maps are used.
        > >
        > > BUG=v8:11157
        > >
        > > Change-Id: I06c4c374d172d206579abb170c7b7a2bd3bb159f
        > > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2547218
        > > Reviewed-by: Jakob Kummerow <[email protected]>
        > > Commit-Queue: Benjamin Coe <[email protected]>
        > > Cr-Commit-Position: refs/heads/master@{#71343}
        >
        > [email protected],[email protected],[email protected]
        >
        > Change-Id: Iab5c250c1c4fbdab86971f4a7e40abc8f87cf79c
        > No-Presubmit: true
        > No-Tree-Checks: true
        > No-Try: true
        > Bug: v8:11157
        > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2555384
        > Reviewed-by: Bill Budge <[email protected]>
        > Commit-Queue: Bill Budge <[email protected]>
        > Cr-Commit-Position: refs/heads/master@{#71345}
    
        [email protected],[email protected],[email protected],[email protected]
    
        # Not skipping CQ checks because this is a reland.
    
        Bug: v8:11157
        Change-Id: I8dba19ceb29a24594469d2cf79626f741dc4cad3
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2555499
        Reviewed-by: Bill Budge <[email protected]>
        Commit-Queue: Bill Budge <[email protected]>
        Cr-Commit-Position: refs/heads/master@{#71348}
    
    Refs: v8/v8@86991d0
    
    PR-URL: #36254
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    bcoe authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    acc9fad View commit details
    Browse the repository at this point in the history
  27. policy: refactor to use more primordials

    PR-URL: #36210
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Bradley Farias <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    bf9aa42 View commit details
    Browse the repository at this point in the history
  28. tty: refactor to use more primordials

    PR-URL: #36272
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Lxxyx authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    41d74a4 View commit details
    Browse the repository at this point in the history
  29. os: refactor to use more primordials

    PR-URL: #36284
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    c442d89 View commit details
    Browse the repository at this point in the history
  30. v8: refactor to use more primordials

    PR-URL: #36285
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    6c1bbb5 View commit details
    Browse the repository at this point in the history
  31. perf_hooks: refactor to use more primordials

    PR-URL: #36297
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    6adec63 View commit details
    Browse the repository at this point in the history
  32. errors: display original symbol name

    If symbol names array has been populated in source map, include
    original symbol name in error message.
    
    Fixes #35325
    
    PR-URL: #36042
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    bcoe authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    ee44447 View commit details
    Browse the repository at this point in the history
  33. buffer: refactor to use more primordials

    PR-URL: #36166
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    5acf0a5 View commit details
    Browse the repository at this point in the history
  34. timers: reject with AbortError on cancellation

    PR-URL: #36317
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Robert Nagy <[email protected]>
    benjamingr authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    6799738 View commit details
    Browse the repository at this point in the history
  35. worker: refactor to use more primordials

    PR-URL: #36267
    Reviewed-By: Rich Trott <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    3d4785c View commit details
    Browse the repository at this point in the history
  36. path: refactor to use more primordials

    PR-URL: #36302
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    c1364d1 View commit details
    Browse the repository at this point in the history
  37. src: use transferred consistently

    This commit updates usages of transfered to be transferred to make it
    consist in all comments.
    
    PR-URL: #36340
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    danbev authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    a1b4681 View commit details
    Browse the repository at this point in the history
  38. querystring: refactor to use more primordials

    PR-URL: #36315
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    0f6c3f7 View commit details
    Browse the repository at this point in the history
  39. module: refactor to use more primordials

    PR-URL: #36348
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Anto Aravinth <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    1aae572 View commit details
    Browse the repository at this point in the history
  40. zlib: refactor to use more primordials

    PR-URL: #36347
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    32e10f3 View commit details
    Browse the repository at this point in the history
  41. dgram: refactor to use more primordials

    PR-URL: #36286
    Reviewed-By: Rich Trott <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    f5b2115 View commit details
    Browse the repository at this point in the history
  42. readline: refactor to use more primordials

    PR-URL: #36296
    Reviewed-By: Rich Trott <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    b5b8a99 View commit details
    Browse the repository at this point in the history
  43. buffer: refactor to use primordials instead of Array#reduce

    PR-URL: #36392
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    ff546ff View commit details
    Browse the repository at this point in the history
  44. string_decoder: refactor to use more primordials

    PR-URL: #36358
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    0db9101 View commit details
    Browse the repository at this point in the history
  45. lib: add uncurried accessor properties to primordials

    Closes: #32127
    
    PR-URL: #36329
    Fixes: #32127
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    ExE-Boss authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    5daeac6 View commit details
    Browse the repository at this point in the history
  46. net: refactor to use more primordials

    PR-URL: #36303
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    52cbe89 View commit details
    Browse the repository at this point in the history
  47. tools: enable no-unused-expressions lint rule

    Fixes: #36246
    
    PR-URL: #36248
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Yongsheng Zhang <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    226a86c View commit details
    Browse the repository at this point in the history
  48. dns: refactor to use more primordials

    PR-URL: #36314
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    cd7cf05 View commit details
    Browse the repository at this point in the history
  49. doc: document ABORT_ERR code

    We added an `AbortError` with the same code and name as the web's as
    part of the consensus in #36084 but
    never actually documented the error in our error codes list.
    
    This PR adds the error code.
    
    PR-URL: #36319
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    benjamingr authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    b197a44 View commit details
    Browse the repository at this point in the history
  50. tools: update ESLint to 7.15.0

    Update ESLint to 7.15.0
    
    PR-URL: #36411
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    cjihrig authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    7d41192 View commit details
    Browse the repository at this point in the history
  51. tools: enable no-unsafe-optional-chaining lint rule

    This rule is new in ESLint 7.15.0.
    
    PR-URL: #36411
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    cjihrig authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    98806da View commit details
    Browse the repository at this point in the history
  52. inspector: refactor to use more primordials

    PR-URL: #36356
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    ba19313 View commit details
    Browse the repository at this point in the history
  53. util: simplify constructor retrieval in inspect()

    Instead of looping through a list of typed arrays, use
    TypedArrayPrototypeGetSymbolToStringTag.
    
    PR-URL: #36466
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    e113035 View commit details
    Browse the repository at this point in the history
  54. build: fix make test-npm

    Fixes running npm tests with `make test-npm`
    
    PR-URL: #36369
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    ruyadorno authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    5de7e64 View commit details
    Browse the repository at this point in the history
  55. tools: update ESLint to 7.16.0

    PR-URL: #36579
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    zhangyongsheng authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    e6d01f6 View commit details
    Browse the repository at this point in the history
  56. tools: update ESLint to 7.17.0

    Update ESLint to 7.17.0
    
    PR-URL: #36726
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Yash Ladha <[email protected]>
    cjihrig authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    613378d View commit details
    Browse the repository at this point in the history
  57. lib: refactor to use more primordials in internal/histogram.js

    Co-authored-by: Antoine du Hamel <[email protected]>
    PR-URL: #36455
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    2 people authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    e12dbc8 View commit details
    Browse the repository at this point in the history
  58. v8: refactor to use more primordials

    PR-URL: #36527
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Pooja D P <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    1551b40 View commit details
    Browse the repository at this point in the history
  59. doc: expand openssl instructions

    Refs: #36541
    
    Expand the instructions to cover what is needed when
    updates are required across all active release lines
    
    PR-URL: #36554
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    mhdawson authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    7efa020 View commit details
    Browse the repository at this point in the history
  60. deps: V8: cherry-pick dfcdf7837e23

    Original commit message:
    
        [coverage] fix greedy nullish coalescing
    
        The SourceRangeScope helper was consuming too many characters, instead
        explicitly create SourceRange, based on scanner position.
    
        Bug: v8:11231
        Change-Id: I852d211227abacf867e8f1ab3e3ab06dbdba2a9b
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2576006
        Reviewed-by: Toon Verwaest <[email protected]>
        Commit-Queue: Toon Verwaest <[email protected]>
        Cr-Commit-Position: refs/heads/master@{#71765}
    
    Refs: v8/v8@dfcdf78
    
    PR-URL: #36573
    Fixes: #36619
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    bcoe authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    a467125 View commit details
    Browse the repository at this point in the history
  61. events: refactor to use more primordials

    PR-URL: #36304
    Reviewed-By: Rich Trott <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    4fdcbae View commit details
    Browse the repository at this point in the history
  62. deps: V8: cherry-pick 035c305ce776

    Original commit message:
    
        [Intl] call new ListFormatter::createInstance
    
        The one we currently using is now marked as internal and to be removed
        for 68. Migrating to the style which already avaiable in ICU 67-1.
    
        Bug: v8:11031
        Change-Id: I668382a2e1b8602ddca02bf231c5008a6c92bf2d
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2477751
        Reviewed-by: Jakob Kummerow <[email protected]>
        Commit-Queue: Frank Tang <[email protected]>
        Cr-Commit-Position: refs/heads/master@{#70638}
    
    Refs: v8/v8@035c305
    
    PR-URL: #38497
    Reviewed-By: Jiawen Geng <[email protected]>
    targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    51dad8c View commit details
    Browse the repository at this point in the history
  63. deps: update ICU to 69.1

    Refs: https://github.com/unicode-org/icu/releases/tag/release-69-1
    
    Backport-PR-URL: #38397
    PR-URL: #38178
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    6035492 View commit details
    Browse the repository at this point in the history
  64. src: add check against non-weak BaseObjects at process exit

    When a process exits cleanly, i.e. because the event loop ends up
    without things to wait for, the Node.js objects that are left on
    the heap should be:
    
     1. weak, i.e. ready for garbage collection once no longer
        referenced, or
     2. detached, i.e. scheduled for destruction once no longer
        referenced, or
     3. an unrefed libuv handle, i.e. does not keep the event loop
        alive, or
     4. an inactive libuv handle (essentially the same here)
    
    There are a few exceptions to this rule, but generally,
    if there are C++-backed Node.js objects on the heap
    that do not fall into the above categories, we may be looking
    at a potential memory leak. Most likely, the cause is a missing
    `MakeWeak()` call on the corresponding object.
    
    In order to avoid this kind of problem, we check the list
    of BaseObjects for these criteria. In this commit, we only do so
    when explicitly instructed to or when in debug mode
    (where --verify-base-objects is always-on).
    
    In particular, this avoids the kinds of memory leak issues
    that were fixed in the PRs referenced below.
    
    Refs: #35488
    Refs: #35487
    Refs: #35481
    
    PR-URL: #35490
    Backport-PR-URL: #38786
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    addaleax authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    ea311a4 View commit details
    Browse the repository at this point in the history
  65. src: fix compiler warning in env.cc

         ../src/env.cc:1227:22: error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]
          ForEachBaseObject([this](BaseObject* obj) {
                         ^~~~
    
    PR-URL: #35547
    Backport-PR-URL: #38786
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Shelley Vohr <[email protected]>
    Reviewed-By: Gus Caplan <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    addaleax authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    78cde14 View commit details
    Browse the repository at this point in the history
  66. src: fix compiler warnings in node_buffer.cc

    The variables could be initialized to `0` to avoid the warnings from
    `-Wmaybe-uninitialized`.
    
    Fixes: #38718
    
    PR-URL: #38722
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    RaisinTen authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    8a60ae2 View commit details
    Browse the repository at this point in the history
  67. lib: make safe primordials safe to iterate

    PR-URL: #36391
    Backport-PR-URL: #38703
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    7ebc18f View commit details
    Browse the repository at this point in the history
  68. lib: make safe primordials safe to construct

    PR-URL: #36428
    Reviewed-By: Rich Trott <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    bf0738b View commit details
    Browse the repository at this point in the history
  69. lib: add primordials.SafeStringIterator

    PR-URL: #36526
    Reviewed-By: Rich Trott <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    6e3a2ff View commit details
    Browse the repository at this point in the history
  70. buffer: make FastBuffer safe to construct

    Using an explicit constructor is necessary to avoid relying on
    `Array.prototype[Symbol.iterator]` and `%ArrayIteratorPrototype%.next`,
    which can be mutated by users.
    
    PR-URL: #36587
    Refs: #36428
    Refs: #36532
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    9ae2a27 View commit details
    Browse the repository at this point in the history
  71. url: refactor to use more primordials

    PR-URL: #36316
    Reviewed-By: Rich Trott <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    c8b2218 View commit details
    Browse the repository at this point in the history
  72. lib: refactor to use primordials in internal/priority_queue.js

    PR-URL: #36560
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Pooja D P <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Lxxyx authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    e6c0877 View commit details
    Browse the repository at this point in the history
  73. tools: update gyp-next to v0.7.0

    Refs: https://github.com/nodejs/gyp-next/releases/tag/v0.7.0
    
    PR-URL: #36580
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Ujjwal Sharma <[email protected]>
    targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    4983ef2 View commit details
    Browse the repository at this point in the history
  74. lib: refactor to use more primordials in internal/encoding.js

    PR-URL: #36480
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Pooja D P <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    RaisinTen authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    01a71dd View commit details
    Browse the repository at this point in the history
  75. https: refactor to use more primordials

    PR-URL: #36195
    Reviewed-By: Andrey Pechkurov <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    c90f1db View commit details
    Browse the repository at this point in the history
  76. lib: remove unused code

    PR-URL: #36632
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Yongsheng Zhang <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    mscdex authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    c9861a3 View commit details
    Browse the repository at this point in the history
  77. stream: only use legacy close listeners if not willEmitClose

    Some streams that willEmitClose unecessarily fallback to legacy
    events.
    
    PR-URL: #36649
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    ronag authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    ab130e9 View commit details
    Browse the repository at this point in the history
  78. test: add test for reused AbortController with execfile()

    Test that reusing an aborted AbortController with execfile() results in
    immediate SIGTERM.
    
    PR-URL: #36644
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Trott authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    c3b1167 View commit details
    Browse the repository at this point in the history
  79. child_process: treat already-aborted controller as aborting

    If an AbortController passed to execfile() is already aborted, use the
    same behavior as if the controller was aborted after calling execfile().
    This mimics the behavior of fetch in the browser.
    
    PR-URL: #36644
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Trott authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    598d2bd View commit details
    Browse the repository at this point in the history
  80. child_process: reduce abort handler code duplication

    Move duplicate abort handler logic into a separate function.
    
    PR-URL: #36644
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Trott authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    e5fae63 View commit details
    Browse the repository at this point in the history
  81. test: add already-aborted-controller test for spawn()

    PR-URL: #36644
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Trott authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    3215a58 View commit details
    Browse the repository at this point in the history
  82. string_decoder: throw ERR_STRING_TOO_LONG for UTF-8

    String::NewFromUtf8 doesn't generate an exception in V8 when the string
    is too long but is guaranteed to return an empty MaybeLocal only in
    that case. Generate a Node.js exception when it happens.
    
    Fixes: #35676
    
    PR-URL: #36661
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    1dc4dea View commit details
    Browse the repository at this point in the history
  83. errors: refactor to use more primordials

    PR-URL: #36651
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Yash Ladha <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    dcd221c View commit details
    Browse the repository at this point in the history
  84. lib: remove v8_prof_polyfill from eslint ignore list

    PR-URL: #36537
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    9338759 View commit details
    Browse the repository at this point in the history
  85. perf_hooks: refactor to avoid unsafe array iteration

    PR-URL: #36723
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    4686f4f View commit details
    Browse the repository at this point in the history
  86. test: guard large string decoder allocation

    Use common.enoughTestMem to avoid "Array buffer allocation failed"
    error on low memory devices.
    
    Fixes: #36792
    
    PR-URL: #36795
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Pooja D P <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    c34de75 View commit details
    Browse the repository at this point in the history
  87. wasi: refactor to avoid unsafe array iteration

    PR-URL: #36724
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    0dea866 View commit details
    Browse the repository at this point in the history
  88. tty: refactor to avoid unsafe array iteration

    PR-URL: #36771
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Pooja D P <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    716076e View commit details
    Browse the repository at this point in the history
  89. zlib: refactor to use primordial instead of <string>.startsWith

    PR-URL: #36718
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Pooja D P <[email protected]>
    rchougule authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    740638d View commit details
    Browse the repository at this point in the history
  90. events: refactor to use optional chaining

    Co-authored-by: Antoine du Hamel <[email protected]>
    
    PR-URL: #36763
    Reviewed-By: Antoine du Hamel <[email protected]>
    Lxxyx authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    18e5c0f View commit details
    Browse the repository at this point in the history
  91. doc: clarify event.isTrusted text

    PR-URL: #36827
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    2907848 View commit details
    Browse the repository at this point in the history
  92. lib: simplify primordials.uncurryThis

    PR-URL: #36866
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Pooja D P <[email protected]>
    ExE-Boss authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    6eaf357 View commit details
    Browse the repository at this point in the history
  93. vm: refactor to avoid unsafe array iteration

    PR-URL: #36752
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    3aee77d View commit details
    Browse the repository at this point in the history
  94. lib: refactor source_map to avoid unsafe array iteration

    PR-URL: #36734
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Pooja D P <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    cf9556d View commit details
    Browse the repository at this point in the history
  95. zlib: refactor to avoid unsafe array iteration

    PR-URL: #36722
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Pooja D P <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    459fe68 View commit details
    Browse the repository at this point in the history
  96. lib: refactor source_map to use more primordials

    PR-URL: #36733
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    46c019b View commit details
    Browse the repository at this point in the history
  97. 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 <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    8912cab View commit details
    Browse the repository at this point in the history
  98. test: improve coverage at lib/internal/vm/module.js

    PR-URL: #36898
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    juanarbol authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    ec4d79e View commit details
    Browse the repository at this point in the history
  99. test: improve coverage on worker threads

    PR-URL: #36910
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    juanarbol authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    a45d280 View commit details
    Browse the repository at this point in the history
  100. test: improve coverage for Module getters

    PR-URL: #36950
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    juanarbol authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    f43fc6b View commit details
    Browse the repository at this point in the history
  101. tools: update ESLint to 7.18.0

    Update ESLint to 7.18.0
    
    PR-URL: #36955
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Yongsheng Zhang <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    cjihrig authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    25eb720 View commit details
    Browse the repository at this point in the history
  102. module: simplify tryStatSync with throwIfNoEntry option

    PR-URL: #36971
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    77c7d97 View commit details
    Browse the repository at this point in the history
  103. perf_hooks: throw ERR_INVALID_ARG_VALUE if histogram.percentile param…

    … is NaN
    
    Fixes: #36936
    
    PR-URL: #36937
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Lxxyx authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    726ef40 View commit details
    Browse the repository at this point in the history
  104. lib: support returning Safe collections from C++

    Co-authored-by: Antoine du Hamel <[email protected]>
    
    PR-URL: #36989
    Refs: #36652
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    ExE-Boss authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    346fc0a View commit details
    Browse the repository at this point in the history
  105. test: improve coverage of SourceTextModule getters

    PR-URL: #37013
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    juanarbol authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    836fba5 View commit details
    Browse the repository at this point in the history
  106. lib: refactor to use optional chaining in internal/options.js

    PR-URL: #36939
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    RaisinTen authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    47ed512 View commit details
    Browse the repository at this point in the history
  107. 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 <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    d85b70f View commit details
    Browse the repository at this point in the history
  108. async_hooks: refactor to avoid unsafe array iteration

    PR-URL: #37125
    Reviewed-By: Zijian Liu <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    dd18def View commit details
    Browse the repository at this point in the history
  109. tools: update ESLint to 7.19.0

    Update ESLint to 7.19.0
    
    PR-URL: #37159
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    cjihrig authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    42c1f98 View commit details
    Browse the repository at this point in the history
  110. tools: update ESLint to 7.20.0

    Update ESLint to 7.20.0
    
    PR-URL: #37339
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    cjihrig authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    955880d View commit details
    Browse the repository at this point in the history
  111. tools: update ESLint to 7.21.0

    PR-URL: #37546
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    lpinca authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    4af3906 View commit details
    Browse the repository at this point in the history
  112. test: increase fs promise coverage

    emilsivervik authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    d9eb8b3 View commit details
    Browse the repository at this point in the history
  113. timers: fix unsafe array iteration

    Fixes: #37222
    
    PR-URL: #37223
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    RaisinTen authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    1dc7fd2 View commit details
    Browse the repository at this point in the history
  114. lib: fix WebIDL object and dictionary type conversion

    PR-URL: #37047
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    ExE-Boss authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    16691be View commit details
    Browse the repository at this point in the history
  115. errors: align source-map stacks with spec

    Reformat stack traces when --enable-source-maps flag is set to format
    more likely to fit https://github.com/tc39/proposal-error-stacks
    
    PR-URL: #37252
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Ian Sutherland <[email protected]>
    Reviewed-By: Gus Caplan <[email protected]>
    Reviewed-By: Zeyu Yang <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    bcoe authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    9417fd0 View commit details
    Browse the repository at this point in the history
  116. worker: refactor to avoid unsafe array iteration

    PR-URL: #37346
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: Harshitha K P <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    698bffa View commit details
    Browse the repository at this point in the history
  117. tools: refactor prefer-primordials

    Use optional chaining to improve code readability and remove use of
    `Array.prototype.reduce`.
    
    PR-URL: #36018
    Reviewed-By: Shingo Inoue <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    a4dd50f View commit details
    Browse the repository at this point in the history
  118. lib: add URI handling functions to primordials

    PR-URL: #37394
    Reviewed-By: Zijian Liu <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    af39df6 View commit details
    Browse the repository at this point in the history
  119. src: avoid implicit type conversions (take 2)

    This fixes more C4244 MSVC warnings in the code base.
    
    Refs: #37149
    
    PR-URL: #37334
    Reviewed-By: James M Snell <[email protected]>
    targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    38afa3f View commit details
    Browse the repository at this point in the history
  120. src: disable unfixable MSVC warnings

    The following warnings are disabled:
    - C4065 in node_revert.h: there are no security reversions on the master
      branch.
    - C4003 in base64-inl.h: a macro is used four times, only once without
      parameters.
    
    PR-URL: #37334
    Reviewed-By: James M Snell <[email protected]>
    targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    6b1052d View commit details
    Browse the repository at this point in the history
  121. src: fix ETW_WRITE_EMPTY_EVENT macro

    A comment was written before the last line, hiding a check.
    
    PR-URL: #37334
    Reviewed-By: James M Snell <[email protected]>
    targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    f5541dd View commit details
    Browse the repository at this point in the history
  122. assert: refactor to avoid unsafe array iteration

    PR-URL: #37344
    Reviewed-By: Darshan Sen <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    cfff3b4 View commit details
    Browse the repository at this point in the history
  123. tools: run doctool tests on GitHub Actions CI

    PR-URL: #37398
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Zijian Liu <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    241e057 View commit details
    Browse the repository at this point in the history
  124. doc: document the NO_COLOR and FORCE_COLOR env vars

    Signed-off-by: James M Snell <[email protected]>
    Fixes: #37404
    
    PR-URL: #37477
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    jasnell authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    2168e95 View commit details
    Browse the repository at this point in the history
  125. doc: document how to register external bindings for snapshot

    PR-URL: #37463
    Refs: #35711
    Reviewed-By: Juan José Arboleda <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    joyeecheung authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    bc6ea63 View commit details
    Browse the repository at this point in the history
  126. doc: remove generated from dsaEncoding description

    remove term `generated` from `dsaEncoding` parameter's description -
    the parameter is used to specify the format of the signature,
    function dictates the signature 'action'
    
    PR-URL: #37459
    Fixes: #37454
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    kaznovac authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    a6c1233 View commit details
    Browse the repository at this point in the history
  127. doc: add document for http.OutgoingMessage

    OutgoingMessage is a very old feature which is exported
    to public in http module dated to v0.1.x. But
    it is not documented at all.
    
    This commit adds document for http.OutgogingMessage.
    
    Fixes: #33847
    
    PR-URL: #37265
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Robert Nagy <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Ayase-252 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    19e8ae4 View commit details
    Browse the repository at this point in the history
  128. doc: fix grammar errors in http document

    PR-URL: #37265
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Robert Nagy <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Ayase-252 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    9320000 View commit details
    Browse the repository at this point in the history
  129. module: refactor NativeModule to avoid unsafe array iteration

    PR-URL: #37656
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: Zijian Liu <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    0fdb5d5 View commit details
    Browse the repository at this point in the history
  130. tools: simplify eslint comma-dangle configuration

    Remove comma-dangle settings in benchmark/.eslintrc.yaml as they are the
    same as what is set in .eslintrc.js.
    
    PR-URL: #37850
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    f7c14e8 View commit details
    Browse the repository at this point in the history
  131. doc: fix wording in outgoingMessage.write

    PR-URL: #37894
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    tniessen authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    30c82b2 View commit details
    Browse the repository at this point in the history
  132. tools: simplify eslint comma-dangle configuration (tools)

    Remove the comma-dangle settings in tools/.eslintrc.yaml. They are
    duplicated in .eslintrc.js.
    
    PR-URL: #37883
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Trott authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    11ca018 View commit details
    Browse the repository at this point in the history
  133. src: indent long help text properly

    The previous code passed an ignored argument to StringPrototypeTrimLeft,
    and tried to trim a string that didn't start with whitespace. The trim
    makes more sense after the indentation has been added. Now wrapped lines
    actually show up with the rest of the help text.
    
    Doing this made an uncharacteristic trailing newline in the
    `--icu-data-dir` help text more obvious, so I removed that.
    
    PR-URL: #37911
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    glasser authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    006c7b7 View commit details
    Browse the repository at this point in the history
  134. path: refactor to use more primordials

    PR-URL: #37893
    Reviewed-By: Pooja D P <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Zijian Liu <[email protected]>
    marsonya authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    e2f531f View commit details
    Browse the repository at this point in the history
  135. doc: add missing events.on metadata

    This was missed in the original PR.
    
    Refs: #34912
    
    PR-URL: #37965
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: Anto Aravinth <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    0bb6fe3 View commit details
    Browse the repository at this point in the history
  136. doc: internal/test/binding for testing

    PR-URL: #38026
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    bmeck authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    c61f363 View commit details
    Browse the repository at this point in the history
  137. tls: fix session and keylog add listener segfault

    Fix an issue where adding a session or keylog listener on a tlsSocket
    after it was destroyed caused a segfault.
    
    fixes: #38133
    fixes: #38135
    
    PR-URL: #38180
    Fixes: #38133
    Fixes: #38135
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Linkgoron authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    661e980 View commit details
    Browse the repository at this point in the history
  138. module: clarify CJS global-like variables not defined error message

    Fixes: #33741
    
    PR-URL: #37852
    Reviewed-By: Guy Bedford <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    bd0d964 View commit details
    Browse the repository at this point in the history
  139. node-api: make reference weak parameter an indirect link to references

    As the cancellation of second pass callbacks are not reachable from the
    current v8 API, and the second pass callbacks are scheduled with
    NodePlatform's task runner, we have to ensure that the weak parameter
    holds indirect access to the v8impl::Reference object so that the object
    can be destroyed on addon env teardown before the whole node env is able
    to shutdown.
    
    PR-URL: #38000
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Gabriel Schulhof <[email protected]>
    legendecas authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    d8acec4 View commit details
    Browse the repository at this point in the history
  140. tools: fix type mismatch in test runner

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

    While it is extremely unlikely that `.fhqwhgads` will become a valid
    domain, we should, where possible, use one of the reserved domains for
    testing.
    
    Refs: https://tools.ietf.org/html/rfc2606
    
    PR-URL: #38286
    Refs: #38282
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    richardlau authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    c77abf5 View commit details
    Browse the repository at this point in the history
  142. doc: use foo.prototype.bar notation in buffer.md

    Most of the documentation uses `foo.prototype.bar` notation instead of
    `foo#bar` notation, this commit apply the former in `buffer.md`.
    
    PR-URL: #38032
    Reviewed-By: Derek Lewis <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    VoltrexKeyva authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    e994d6a View commit details
    Browse the repository at this point in the history
  143. test: replace function with arrow function and remove unused argument

    PR-URL: #38235
    Reviewed-By: Yash Ladha <[email protected]>
    Reviewed-By: Pooja D P <[email protected]>
    Reviewed-By: Harshitha K P <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    andresatencio authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    c9ce98c View commit details
    Browse the repository at this point in the history
  144. repl: display prompt once after error callback

    Do not call `.displayPrompt()` twice after the `eval` callback
    resulted in an error.
    
    (This does not affect the default eval because it doesn’t use
    the callback if an error occurs.)
    
    PR-URL: #38314
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    addaleax authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    a4eb557 View commit details
    Browse the repository at this point in the history
  145. doc: update TSC members list with three new members

    PR-URL: #38352
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: Beth Griggs <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Nitzan Uziely <[email protected]>
    Trott authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    5a532e4 View commit details
    Browse the repository at this point in the history
  146. doc: add nodejs-sec email template

    This commit adds a suggestion for a template to be used as part of the
    security release process. One step of this process is to create an email
    to nodejs-sec group and currently would contain a copy and pasted
    version of what is published on nodejs.org. This suggestion is to
    instead use a link to the blog post.
    
    PR-URL: #38290
    Refs: #38143
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    danbev authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    6b58f28 View commit details
    Browse the repository at this point in the history
  147. tls: validate ticket keys buffer

    Fixes: #38305
    
    PR-URL: #38308
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    f6e4dbb View commit details
    Browse the repository at this point in the history
  148. doc: fix typo in buffer.md

    'uint16arr' -> 'uint16array'
    
    PR-URL: #38323
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    theoludwig authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    2d96da8 View commit details
    Browse the repository at this point in the history
  149. test: add ancestor package.json checks for tmpdir

    Policy tests can fail if a `package.json` exists in any of the parent
    directories above the test. The existing checks are done for the
    ancestors of the test directory but some tests execute from the tmpdir.
    
    PR-URL: #38285
    Refs: #38088
    Refs: #35600
    Refs: #35633
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    richardlau authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    a9ff9c0 View commit details
    Browse the repository at this point in the history
  150. src: avoid deferred gc/cleanup for Buffer.from

    Previously, the code path would allocated a tracked ArrayBuffer
    that defers cleanup and deallocation of the underlying data with
    a SetImmediate. Avoid the unnecessary deferral by just allocating
    a `BackingStore` directly and writing into it.
    
    Fixes: #38300
    Refs: #38336
    
    PR-URL: #38337
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Khaidi Chu <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    jasnell authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    e279b02 View commit details
    Browse the repository at this point in the history
  151. src: fix setting Converter sub char length

    Signed-off-by: James M Snell <[email protected]>
    Fixes: #38330
    
    PR-URL: #38331
    Reviewed-By: Juan José Arboleda <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    jasnell authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    d177541 View commit details
    Browse the repository at this point in the history
  152. typings: add JSDoc typings for util

    PR-URL: #38213
    Refs: #38182
    Refs: https://twitter.com/bradleymeck/status/1380643627211354115
    Reviewed-By: Bradley Farias <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    rohit-gohri authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    e35a354 View commit details
    Browse the repository at this point in the history
  153. doc: fix package.json "imports" field history

    Refs: #34117
    
    PR-URL: #38356
    Reviewed-By: Guy Bedford <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Shingo Inoue <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    9702f22 View commit details
    Browse the repository at this point in the history
  154. doc: fix version history for "exports" patterns

    Refs: #34718
    
    PR-URL: #38355
    Reviewed-By: Guy Bedford <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Shingo Inoue <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    cede0c5 View commit details
    Browse the repository at this point in the history
  155. benchmark: use process.hrtime.bigint()

    PR-URL: #38369
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    9e4c1f2 View commit details
    Browse the repository at this point in the history
  156. doc: mark process.hrtime() as legacy

    PR-URL: #38371
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Bryan English <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    a9f7aee View commit details
    Browse the repository at this point in the history
  157. async_hooks,doc: replace process.stdout.fd with 1

    This stops "RangeError: Maximum call stack size exceeded".
    
    PR-URL: #38382
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    RaisinTen authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    5f3e96b View commit details
    Browse the repository at this point in the history
  158. lib: fix and improve os typings

    1. marked optional params as such
    2. assigned default values using jsdoc conventions.
    
    PR-URL: #38316
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Shingo Inoue <[email protected]>
    marsonya authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    490bc58 View commit details
    Browse the repository at this point in the history
  159. test: skip some pummel tests on slower machines

    Skipped the longest-running pummel tests on the Raspberry Pi devices in
    CI.
    
    Refs: #34289 (comment)
    
    PR-URL: #38394
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Filip Skokan <[email protected]>
    Trott authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    296b969 View commit details
    Browse the repository at this point in the history
  160. doc: request default snap track be updated for LTS

    PR-URL: #37708
    Refs: nodejs/snap#4
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Shelley Vohr <[email protected]>
    Reviewed-By: Ash Cripps <[email protected]>
    Reviewed-By: Beth Griggs <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    rvagg authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    c03f23e View commit details
    Browse the repository at this point in the history
  161. src: use %progbits instead of @progbits

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

    PR-URL: #38370
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Beth Griggs <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    f4cb8b8 View commit details
    Browse the repository at this point in the history
  163. test: move abort test from pummel to abort directory

    test-abort-fatal-error is not resource intensive and would be better in
    the abort directory than the pummel directory.
    
    PR-URL: #38396
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    25e5afe View commit details
    Browse the repository at this point in the history
  164. doc: update message to match actual output

    PR-URL: #35271
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Trott authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    fe8003e View commit details
    Browse the repository at this point in the history
  165. doc: do not mention TCP in the allowHalfOpen option description

    The `allowHalfOpen` option works in the same way for both TCP and IPC
    connections.
    
    PR-URL: #38360
    Fixes: #38307
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    lpinca authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    dcdbaff View commit details
    Browse the repository at this point in the history
  166. doc: document new TCP_KEEPCNT and TCP_KEEPINTVL socket option defaults

    PR #32204 introduced new defaults for
    the TCP keep-alive socket options (see deps/uv/src/unix/tcp.c):
    - "TCP_KEEPCNT" now defaults to 10 on all platforms
    - "TCP_KEEPINTVL" now defaults to 1 on all platforms
    
    Previously, "TCP_KEEPCNT" and "TCP_KEEPINTVL" were not set explicitly
    and OS-default values were used.
    
    Fixes: #38298
    Refs: #32204
    
    PR-URL: #38313
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    ArnoldZokas authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    ba117c2 View commit details
    Browse the repository at this point in the history
  167. doc: minor clarification to pathObject

    Signed-off-by: James M Snell <[email protected]>
    Fixes: #36582
    
    PR-URL: #38437
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    jasnell authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    cd54834 View commit details
    Browse the repository at this point in the history
  168. doc: note the system requirements for V8 tests

    The `test-v8` Makefile target still requires Python 2,
    and it requires a full Xcode install on macOS.
    
    Refs: #36691
    
    PR-URL: #38319
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    DeeDeeG authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    1f7cd71 View commit details
    Browse the repository at this point in the history
  169. tools: add _depot_tools to PATH (for V8 tests)

    Ensures the `_depot_tools` dir bootstrapped during this script
    is added to the PATH, before `ninja` is executed,
    as `_depot_tools` already has a copy of `ninja` in it.
    This means one less system requirement to be able to run this script.
    
    (It seems like this was already intended to be on the PATH?)
    
    Note: This script is used by the `test-v8` Makefile target.
    
    PR-URL: #38299
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    DeeDeeG authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    0172b11 View commit details
    Browse the repository at this point in the history
  170. tools: fix doc generation when version info is not available

    Fixes: #38391
    
    PR-URL: #38398
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    aec4b29 View commit details
    Browse the repository at this point in the history
  171. repl: document top level await limitation with const/let

    Fixes: #17669
    Signed-off-by: James M Snell <[email protected]>
    
    PR-URL: #38449
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: Yongsheng Zhang <[email protected]>
    jasnell authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    cd98180 View commit details
    Browse the repository at this point in the history
  172. tools: remove fixer for non-ascii-character ESLint custom rule

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

    Fixes: #24640
    Signed-off-by: James M Snell <[email protected]>
    
    PR-URL: #38421
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Nitzan Uziely <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    jasnell authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    378e0e7 View commit details
    Browse the repository at this point in the history
  174. doc: add try/catch in http2 respondWithFile example

    PR-URL: #38410
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Gerhard Stöbich <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mcollina authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    945450b View commit details
    Browse the repository at this point in the history
  175. doc: indicate that abort tests do not generate core files

    The key thing about the tests in `test/abort` is that tests in that
    directory do not generate core files (thanks to testcfg.py). Make a note
    of that in the test README.
    
    PR-URL: #38422
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Trott authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    cf0007e View commit details
    Browse the repository at this point in the history
  176. doc: add arguments for stream event of Http2Server and Http2SecureServer

    PR-URL: #37892
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Ayase-252 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    a75b7af View commit details
    Browse the repository at this point in the history
  177. doc: mark querystring api as legacy

    Signed-off-by: James M Snell <[email protected]>
    Fixes: #38231
    
    PR-URL: #38436
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    jasnell authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    839e8d1 View commit details
    Browse the repository at this point in the history
  178. deps: update to [email protected]

    PR-URL: #38450
    Reviewed-By: Bradley Farias <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Jan Krems <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    guybedford authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    b8c4d30 View commit details
    Browse the repository at this point in the history
  179. meta: post comment when pr labeled fast-track

    Signed-off-by: James M Snell <[email protected]>
    
    PR-URL: #38446
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Anto Aravinth <[email protected]>
    Reviewed-By: Mary Marchini <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    jasnell authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    fcc6a00 View commit details
    Browse the repository at this point in the history
  180. inspector: remove redundant method for connection check

    PR-URL: #37986
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    yashLadha authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    8258799 View commit details
    Browse the repository at this point in the history
  181. test: address deprecation warning

    fs.truncateSync() emits a deprecation warning when called with a file
    descriptor. Move to fs.ftruncateSync().
    
    PR-URL: #38448
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Trott authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    fdfb39e View commit details
    Browse the repository at this point in the history
  182. zlib: fix brotli flush range

    Fixes: #38407
    
    PR-URL: #38408
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Zijian Liu <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    XadillaX authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    8702b04 View commit details
    Browse the repository at this point in the history
  183. tools: use a shallow clone of the npm/cli repository

    Use a shallow clone instead of cloning the whole repository.
    
    PR-URL: #38463
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    lpinca authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    16a3e55 View commit details
    Browse the repository at this point in the history
  184. doc: document 'secureConnect' event limitation

    Fixes: #10555
    Signed-off-by: James M Snell <[email protected]>
    Refs: #10846
    
    PR-URL: #38447
    Reviewed-By: Alba Mendez <[email protected]>
    Reviewed-By: Adrian Estrada <[email protected]>
    jasnell authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    4c54d81 View commit details
    Browse the repository at this point in the history
  185. test: fix common.mustCall length and name properties

    Reassign `name` and `length` properties to the returned function to not
    break code that relies on it.
    
    PR-URL: #38464
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    52f3837 View commit details
    Browse the repository at this point in the history
  186. test,readline: improve tab completion coverage

    PR-URL: #38465
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    bfe02b8 View commit details
    Browse the repository at this point in the history
  187. stream: the position of _read() is wrong

    Fixes: #33940
    
    PR-URL: #38292
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Robert Nagy <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    helloyou2012 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    a18b1ff View commit details
    Browse the repository at this point in the history
  188. tools: use mktemp to create the workspace directory

    On some platforms, the TMPDIR environment variable is not set.
    
    PR-URL: #38432
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    lpinca authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    7021c31 View commit details
    Browse the repository at this point in the history
  189. test: move test-net-connect-econnrefused from pummel to sequential

    test-net-connect-econnrefused esems to run quickly on all platforms and
    does not appear to need to be in the pummel directory. Move to
    sequential.
    
    PR-URL: #38462
    Reviewed-By: Anto Aravinth <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    7938af6 View commit details
    Browse the repository at this point in the history
  190. doc: remove extraneous dash from flag prefix

    When rendered by `man node`, all flags have a dash prepended to them.
    Prior to this change, the man page would incorrectly read
    `---unhandled-rejections=mode`
    
    The three dashes is invalid syntax and rejected by the `node` command.
    
    PR-URL: #38532
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    rhcarvalho authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    dc67fec View commit details
    Browse the repository at this point in the history
  191. tools: make GH Actions workflows work if default branch is not master

    PR-URL: #38516
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: Mary Marchini <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    d13508d View commit details
    Browse the repository at this point in the history
  192. test: run message and pseudo-tty tests in parallel

    PR-URL: #38502
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    richardlau authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    d98b355 View commit details
    Browse the repository at this point in the history
  193. doc: use AIX instead of Aix in fs.md

    Both for consistency within the doc and to conform with IBM's usage
    regarding their on product, refer to the operating system as AIX rather
    than Aix.
    
    PR-URL: #38535
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Beth Griggs <[email protected]>
    Trott authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    e90c60b View commit details
    Browse the repository at this point in the history
  194. doc: clarify DiffieHellmanGroup class docs

    Make it clearer in the docs that DiffieHellmanGroup does
    not support changing the keys after creation.
    
    PR-URL: #38363
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Adrian Estrada <[email protected]>
    Linkgoron authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    4c67437 View commit details
    Browse the repository at this point in the history
  195. test: increase coverage for AbortController

    Refs: https://coverage.nodejs.org/coverage-68e6673224365120/lib/internal/abort_controller.js.html#L126
    
    PR-URL: #38514
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    Lxxyx authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    4f1ba79 View commit details
    Browse the repository at this point in the history
  196. test: complete coverage of querystring

    PR-URL: #38520
    Refs: https://coverage.nodejs.org/coverage-68e6673224365120/lib/querystring.js.html#L179
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Zijian Liu <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    pd4d10 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    726cb48 View commit details
    Browse the repository at this point in the history
  197. lib: make IterableWeakMap safe to iterate

    PR-URL: #38523
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    cea8b42 View commit details
    Browse the repository at this point in the history
  198. Revert "worker: remove ERR_CLOSED_MESSAGE_PORT"

    This reverts commit 73370b4.
    
    The unit test is preserved to make sure it does not break
    #26463 again.
    
    PR-URL: #38510
    Fixes: #38499
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    juanarbol authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    2c66305 View commit details
    Browse the repository at this point in the history
  199. src: make workers messaging more resilient

    PR-URL: #38510
    Fixes: #38499
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    juanarbol authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    bc2111c View commit details
    Browse the repository at this point in the history
  200. buffer: remove unreachable code

    PR-URL: #38537
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    pd4d10 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    c5b86f8 View commit details
    Browse the repository at this point in the history
  201. test: call functions internally

    All (or at least most) of the tests uses lambdas (or arrow functions
    if you will) to call these functions internally inside of directly
    calling them, this should also use this technique for consistency.
    
    PR-URL: #38560
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Zijian Liu <[email protected]>
    VoltrexKeyva authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    d7c6a3e View commit details
    Browse the repository at this point in the history
  202. meta: add v8 team

    PR-URL: #38566
    Reviewed-By: Ujjwal Sharma <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    gengjiawen authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    e94e0b4 View commit details
    Browse the repository at this point in the history
  203. buffer: remove TODOs in atob / btoa

    Refs: #38433 (comment)
    
    PR-URL: #38548
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Zijian Liu <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    XadillaX authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    3c886e0 View commit details
    Browse the repository at this point in the history
  204. dgram: extract cluster lazy loading method to make it testable

    PR-URL: #38563
    Refs: https://coverage.nodejs.org/coverage-26e318a321a872bc/lib/dgram.js.html#L202
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    pd4d10 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    bac9ba4 View commit details
    Browse the repository at this point in the history
  205. build: remove dependency on distutils.spawn

    Debian based packages of Python 3 do not include `distutils.spawn` and
    require an additional apt package to be installed (`python3-distutils`).
    Replace use of `distutils.spawn` with `shutil.which`, available in all
    versions of Python currently allowed by our configure scripts.
    
    For the `configure` script only, fall back to `distutils.spawn` to allow
    friendlier error messages when run on older unsupported versions of
    Python (e.g. 2.7).
    
    `configure.py` also uses `distutils.version` -- this appears to be
    available in Debian packaged Python 3 without installing
    `python3-distutils` so has been left as-is.
    
    PR-URL: #38600
    Refs: #30189
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Christian Clauss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    richardlau authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    754aa38 View commit details
    Browse the repository at this point in the history
  206. build: add workaround for V8 builds

    V8's build toolchain is not compatible with Python 3 and the CI job
    that tests V8 needs to be run with Python 2. Add a fallback to
    `find_executable` from `distutils.spawn` to allow the configure
    script to run in the V8 test job.
    
    PR-URL: #38632
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    richardlau authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    5df0f35 View commit details
    Browse the repository at this point in the history
  207. fs: fix error when writing buffers > INT32_MAX

    This reverts c380ee6.
    uv_fs_write returns an int, so it is not possible to ask
    it to write more than INT32_MAX.
    
    Instead, validate 'length' is an int32 in JS to avoid
    the assertion failure.
    
    PR-URL: #38546
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    zbjornson authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    c4e7dca View commit details
    Browse the repository at this point in the history
  208. path: inline conditions

    This condition can be inlined in the first `if` statement since
    if the `path`'s length is 0, it'll be a empty string so we can
    return that as there's no need for an extra `if` statement.
    
    PR-URL: #38613
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    VoltrexKeyva authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    daeb6fc View commit details
    Browse the repository at this point in the history
  209. test: improve coverage of lib/os.js

    PR-URL: #38653
    Refs: https://coverage.nodejs.org/coverage-52e4fb5b23157222/lib/os.js.html#L96
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    pd4d10 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    8a45b85 View commit details
    Browse the repository at this point in the history
  210. test: improve coverage of lib/_http_client.js

    PR-URL: #38599
    Refs: https://coverage.nodejs.org/coverage-f37c26b8a2e10d0a/lib/_http_client.js.html#L200
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    pd4d10 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    8a44ee4 View commit details
    Browse the repository at this point in the history
  211. doc: change color of doctag on night mode

    Fixes: #38641
    
    PR-URL: #38652
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Derek Lewis <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Zijian Liu <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Ayase-252 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    fa35c06 View commit details
    Browse the repository at this point in the history
  212. doc: update contact info

    Signed-off-by: Gabriel Schulhof <[email protected]>
    PR-URL: #38689
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    gabrielschulhof authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    212cd5c View commit details
    Browse the repository at this point in the history
  213. src: remove extra semi after member fn

    PR-URL: #38686
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    codebytere authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    d66f88c View commit details
    Browse the repository at this point in the history
  214. src: update cares_wrap OpenBSD defines

    Move the `#define`s back into `cares_wrap.cc`, as they are part of
    the implementation, not the declarations used in `cares_wrap.h`,
    and apply the suggestion from
    #38572 (comment)
    to make the defines a bit more generic and not check for OpenBSD
    specifically.
    
    Refs: #38572
    
    PR-URL: #38670
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    addaleax authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    8809ef9 View commit details
    Browse the repository at this point in the history
  215. doc: clarify synchronous blocking of Worker stdio

    Fixes: #25630
    Signed-off-by: James M Snell <[email protected]>
    
    PR-URL: #38658
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    jasnell authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    2e8dfee View commit details
    Browse the repository at this point in the history
  216. doc: document buffer.kStringMaxLength

    PR-URL: #38688
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Harshitha K P <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    tniessen authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    88055ab View commit details
    Browse the repository at this point in the history
  217. node-api: fix shutdown crashes

    Refs: nodejs/node-addon-api#906
    
    Ensure that finalization is not defered during shutdown.
    The env for the addon is deleted immediately after
    iterating the list of finalizers to be run. Defering
    causes crashes as the finalization uses the already
    deleted env.
    
    Signed-off-by: Michael Dawson <[email protected]>
    
    PR-URL: #38492
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Chengzhong Wu <[email protected]>
    Reviewed-By: Gabriel Schulhof <[email protected]>
    mhdawson authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    5995221 View commit details
    Browse the repository at this point in the history
  218. stream: fix multiple Writable.destroy() calls

    Calling Writable.destroy() multiple times in the same tick
    could cause an assertion error.
    
    Fixes: #38189
    
    PR-URL: #38221
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Nitzan Uziely <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Backport-PR-URL: #38473
    ronag authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    dbb0d26 View commit details
    Browse the repository at this point in the history
  219. node-api: faster threadsafe_function

    Invoke threadsafe_function during the same tick and avoid marshalling
    costs between threads and/or churning event loop if either:
    
    1. There's a queued call already
    2. `Push()` is called while the main thread was running
       threadsafe_function
    
    PR-URL: #38506
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    indutny authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    779ad54 View commit details
    Browse the repository at this point in the history
  220. doc: remove import.meta.resolve parent URL type

    Support for parent argument of type `URL` was added in #38587, which has
    not been backported to previous releases yet.
    
    Update docs for v14.x to remove the URL type for this argument.
    
    Signed-off-by: Kevin Locke <[email protected]>
    
    PR-URL: #38585
    Reviewed-By: Antoine du Hamel <[email protected]>
    kevinoid authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    2642657 View commit details
    Browse the repository at this point in the history
  221. 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 <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Trott authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    294b3e6 View commit details
    Browse the repository at this point in the history
  222. 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 <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Trott authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    f868fac View commit details
    Browse the repository at this point in the history
  223. tools: update eslint-plugin-markdown configuration

    This commit updates the linting setup to work with
    [email protected]. This also allows the update-eslint
    script to continue to function properly without changes.
    
    PR-URL: #37549
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    cjihrig authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    2463bd0 View commit details
    Browse the repository at this point in the history
  224. Configuration menu
    Copy the full SHA
    8399766 View commit details
    Browse the repository at this point in the history
  225. tools,doc: add support for several flavors of JS code snippets

    Enable code example using both modern ESM syntax and legacy CJS syntax.
    It adds a toggle on the web interface to let users switch from one
    JavaScript flavor to the other.
    
    PR-URL: #37162
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    9a5411a View commit details
    Browse the repository at this point in the history
  226. doc: use HEAD instead of master for links

    PR-URL: #38518
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    7c4748b View commit details
    Browse the repository at this point in the history
  227. tools: make update-eslint.sh work with npm@7

    Install `eslint-plugin-markdown` at the same level of `eslint` without
    cd'ing into `eslint` directory, otherwise the following error is raised:
    
    ```
    npm ERR! code ERESOLVE
    npm ERR! Cannot destructure property 'name' of 'node' as it is null.
    ```
    
    PR-URL: #37566
    Fixes: #37560
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ruy Adorno <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    lpinca authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    5de911e View commit details
    Browse the repository at this point in the history
  228. tools: update ESLint to 7.22.0

    Update ESLint to 7.22.0
    
    PR-URL: #37734
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    cjihrig authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    77f88e7 View commit details
    Browse the repository at this point in the history
  229. tools: update ESLint to 7.23.0

    PR-URL: #37979
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Beth Griggs <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    lpinca authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    6ce779c View commit details
    Browse the repository at this point in the history
  230. tools: update ESLint to 7.24.0

    Update ESLint to 7.24.0
    
    PR-URL: #38179
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    cjihrig authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    3fbabfa View commit details
    Browse the repository at this point in the history
  231. tools: update ESLint to 7.25.0

    Update ESLint to 7.25.0
    
    PR-URL: #38378
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    cjihrig authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    1098aec View commit details
    Browse the repository at this point in the history
  232. tools: update ESLint to 7.26.0

    Update ESLint to 7.26.0
    
    PR-URL: #38605
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Yongsheng Zhang <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    cjihrig authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    f8753b6 View commit details
    Browse the repository at this point in the history
  233. tools: update ESLint to 7.27.0

    PR-URL: #38764
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    lpinca authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    8a6c35d View commit details
    Browse the repository at this point in the history
  234. doc: fix JS flavor selection

    PR-URL: #37791
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    41cfe64 View commit details
    Browse the repository at this point in the history
  235. doc: cleanup events.md structure

    Signed-off-by: James M Snell <[email protected]>
    
    PR-URL: #36100
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    jasnell authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    9f67c08 View commit details
    Browse the repository at this point in the history
  236. assert: refactor to use more primordials

    PR-URL: #36234
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    87fa636 View commit details
    Browse the repository at this point in the history
  237. tools: bump cpplint.py to 1.5.2

    https://github.com/cpplint/cpplint/releases/tag/1.5.2
    
    PR-URL: #36213
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Trott authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    193b18e View commit details
    Browse the repository at this point in the history
  238. 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 <[email protected]>
        Reviewed-By: Anna Henningsen <[email protected]>
        Reviewed-By: Timothy Gu <[email protected]>
        Reviewed-By: Colin Ihrig <[email protected]>
        Reviewed-By: Michael Dawson <[email protected]>
        Reviewed-By: Sakthipriyan Vairamani <[email protected]>
        Reviewed-By: Tobias Nießen <[email protected]>
    
    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 <[email protected]>
        Reviewed-By: James M Snell <[email protected]>
    
    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 <[email protected]>
        Reviewed-By: Anna Henningsen <[email protected]>
        Reviewed-By: Ruben Bridgewater <[email protected]>
        Reviewed-By: James M Snell <[email protected]>
    
    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 <[email protected]>
    
    Refs: 9029981
    
    Cherry-pick 0a25ace
    Original commit message:
    
        tools: move cpplint configuration to .cpplint
    
        PR-URL: #27098
        Reviewed-By: Joyee Cheung <[email protected]>
        Reviewed-By: Daniel Bevenius <[email protected]>
    
    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 <[email protected]>
        Reviewed-By: David Carlier <[email protected]>
        Reviewed-By: Colin Ihrig <[email protected]>
        Reviewed-By: Richard Lau <[email protected]>
        Reviewed-By: Rich Trott <[email protected]>
    
    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 <[email protected]>
        Reviewed-By: Richard Lau <[email protected]>
        Reviewed-By: James M Snell <[email protected]>
        Reviewed-By: David Carlier <[email protected]>
        Reviewed-By: Rich Trott <[email protected]>
        Reviewed-By: Gus Caplan <[email protected]>
        Reviewed-By: Joyee Cheung <[email protected]>
        Reviewed-By: Ben Noordhuis <[email protected]>
        Reviewed-By: Stephen Belanger <[email protected]>
    
    PR-URL: #35569
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    
    PR-URL: #35719
    Reviewed-By: Antoine du Hamel <[email protected]>
    
    PR-URL: #35866
    
    PR-URL: #36213
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Trott authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    3351910 View commit details
    Browse the repository at this point in the history
  239. tools: bump cpplint to 1.5.3

    PR-URL: #36235
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Trott authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    fb2bb93 View commit details
    Browse the repository at this point in the history
  240. 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 <[email protected]>
        Reviewed-By: Anna Henningsen <[email protected]>
        Reviewed-By: Timothy Gu <[email protected]>
        Reviewed-By: Colin Ihrig <[email protected]>
        Reviewed-By: Michael Dawson <[email protected]>
        Reviewed-By: Sakthipriyan Vairamani <[email protected]>
        Reviewed-By: Tobias Nießen <[email protected]>
    
    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 <[email protected]>
        Reviewed-By: James M Snell <[email protected]>
    
    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 <[email protected]>
        Reviewed-By: Anna Henningsen <[email protected]>
        Reviewed-By: Ruben Bridgewater <[email protected]>
        Reviewed-By: James M Snell <[email protected]>
    
    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 <[email protected]>
    
    Refs: 9029981
    
    Cherry-pick 0a25ace
    Original commit message:
    
        tools: move cpplint configuration to .cpplint
    
        PR-URL: #27098
        Reviewed-By: Joyee Cheung <[email protected]>
        Reviewed-By: Daniel Bevenius <[email protected]>
    
    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 <[email protected]>
        Reviewed-By: David Carlier <[email protected]>
        Reviewed-By: Colin Ihrig <[email protected]>
        Reviewed-By: Richard Lau <[email protected]>
        Reviewed-By: Rich Trott <[email protected]>
    
    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 <[email protected]>
        Reviewed-By: Richard Lau <[email protected]>
        Reviewed-By: James M Snell <[email protected]>
        Reviewed-By: David Carlier <[email protected]>
        Reviewed-By: Rich Trott <[email protected]>
        Reviewed-By: Gus Caplan <[email protected]>
        Reviewed-By: Joyee Cheung <[email protected]>
        Reviewed-By: Ben Noordhuis <[email protected]>
        Reviewed-By: Stephen Belanger <[email protected]>
    
    PR-URL: #35569
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    
    PR-URL: #35719
    Reviewed-By: Antoine du Hamel <[email protected]>
    
    PR-URL: #35866
    
    PR-URL: #36213
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    
    PR-URL: #36235
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    84e9188 View commit details
    Browse the repository at this point in the history
  241. tools: bump cpplint to 1.5.4

    PR-URL: #36324
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Beth Griggs <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    37bc7d5 View commit details
    Browse the repository at this point in the history
  242. 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 <[email protected]>
        Reviewed-By: Anna Henningsen <[email protected]>
        Reviewed-By: Timothy Gu <[email protected]>
        Reviewed-By: Colin Ihrig <[email protected]>
        Reviewed-By: Michael Dawson <[email protected]>
        Reviewed-By: Sakthipriyan Vairamani <[email protected]>
        Reviewed-By: Tobias Nießen <[email protected]>
    
    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 <[email protected]>
        Reviewed-By: James M Snell <[email protected]>
    
    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 <[email protected]>
        Reviewed-By: Anna Henningsen <[email protected]>
        Reviewed-By: Ruben Bridgewater <[email protected]>
        Reviewed-By: James M Snell <[email protected]>
    
    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 <[email protected]>
    
    Refs: 9029981
    
    Cherry-pick 0a25ace
    Original commit message:
    
        tools: move cpplint configuration to .cpplint
    
        PR-URL: #27098
        Reviewed-By: Joyee Cheung <[email protected]>
        Reviewed-By: Daniel Bevenius <[email protected]>
    
    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 <[email protected]>
        Reviewed-By: David Carlier <[email protected]>
        Reviewed-By: Colin Ihrig <[email protected]>
        Reviewed-By: Richard Lau <[email protected]>
        Reviewed-By: Rich Trott <[email protected]>
    
    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 <[email protected]>
        Reviewed-By: Richard Lau <[email protected]>
        Reviewed-By: James M Snell <[email protected]>
        Reviewed-By: David Carlier <[email protected]>
        Reviewed-By: Rich Trott <[email protected]>
        Reviewed-By: Gus Caplan <[email protected]>
        Reviewed-By: Joyee Cheung <[email protected]>
        Reviewed-By: Ben Noordhuis <[email protected]>
        Reviewed-By: Stephen Belanger <[email protected]>
    
    PR-URL: #35569
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    
    PR-URL: #35719
    Reviewed-By: Antoine du Hamel <[email protected]>
    
    PR-URL: #35866
    
    PR-URL: #36213
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    
    PR-URL: #36235
    Reviewed-By: Luigi Pinca <[email protected]>
    
    PR-URL: #36324
    Reviewed-By: Beth Griggs <[email protected]>
    Trott authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    de44e90 View commit details
    Browse the repository at this point in the history
  243. build: work around bug in MSBuild v16.10.0

    This allows to build Node.js at the (temporary) cost of longer build
    times.
    
    Refs: #38872
    Refs: https://github.com/dotnet/msbuild/releases/tag/v16.10.0
    Refs: dotnet/msbuild#6465
    Refs: dotnet/msbuild#6373
    
    PR-URL: #38873
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Gerhard Stöbich <[email protected]>
    targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    52fd42e View commit details
    Browse the repository at this point in the history
  244. http2: fix setting options before handle exists

    Currently, when a JS Http2Session object is created, we have
    to handle the situation in which the native object corresponding
    to it does not yet exist. As part of that, we create a typed array
    for storing options that are passed through the `AliasedStruct`
    mechanism, and up until now, we copied that typed array over
    the native one once the native one was available.
    
    This was not good, because it was overwriting the defaults that
    were set during construction of the native typed array with zeroes.
    
    In order to fix this, create a wrapper for the JS-created typed array
    that keeps track of which fields were changed, which enables us to
    only overwrite fields that were intentionally changed on the JS side.
    
    It is surprising that this behavior was not tested (which is,
    guessing from the commit history around these features, my fault).
    The subseqeuent commit introduces a test that would fail without
    this change.
    
    PR-URL: #37875
    Backport-PR-URL: #38673
    Fixes: #37849
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    addaleax authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    c3bd0fd View commit details
    Browse the repository at this point in the history
  245. http2: treat non-EOF empty frames like other invalid frames

    Use the existing mechanism that we have to keep track of invalid frames
    for treating this specific kind of invalid frame.
    
    The commit that originally introduced this check was 695e38b,
    which was supposed to proected against CVE-2019-9518, which in turn
    was specifically about a *flood* of empty data frames. While these are
    still invalid frames either way, it makes sense to be forgiving here
    and just treat them like other invalid frames, i.e. to allow a small
    (configurable) number of them.
    
    Fixes: #37849
    
    PR-URL: #37875
    Backport-PR-URL: #38673
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    addaleax authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    d8da265 View commit details
    Browse the repository at this point in the history
  246. Revert "http: make HEAD method to work with keep-alive"

    This reverts commit 7afa533.
    
    The change breaks clients like cURL.
    
    Fixes: #38922
    
    PR-URL: #38949
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Mary Marchini <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Robert Nagy <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    07c55d2 View commit details
    Browse the repository at this point in the history
  247. lib: revert primordials in a hot path

    Evidence has shown that use of primordials have sometimes an impact of
    performance. This commit reverts the changes who are most likely to be
    responsible for performance regression in the HTTP response path.
    
    PR-URL: #38248
    Backport-PR-URL: #38972
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    eb8f7ee View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2021

  1. src: fix multiple AddLinkedBinding() calls

    Singly-linked lists are extended at their tail, not their head.
    This fixes using more than 2 linked addons at a time.
    
    PR-URL: #39012
    Reviewed-By: Shelley Vohr <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    addaleax authored and targos committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    163fcec View commit details
    Browse the repository at this point in the history
  2. 2021-06-15, Version 14.17.1 'Fermium' (LTS)

    Notable changes:
    
    deps:
      * update ICU to 69.1 (Michaël Zasso) #38178
    src:
      * align source-map stacks with spec (Benjamin Coe) #37252
    
    PR-URL: #38948
    targos committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    6c77fd3 View commit details
    Browse the repository at this point in the history