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

v10.16.0 proposal #27514

Merged
merged 353 commits into from May 28, 2019
Merged

v10.16.0 proposal #27514

merged 353 commits into from May 28, 2019
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Apr 16, 2019

  1. doc: fix misleading sentence in http.md

    Calling `response.end(data)` is not 100% equivalent to calling
    `response.write(data)` followed by `response.end()`.
    
    PR-URL: #26465
    Fixes: #26005
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    lpinca authored and BethGriggs committed Apr 16, 2019
    Copy the full SHA
    0a976ec View commit details
    Browse the repository at this point in the history
  2. repl: remove redundant escape

    PR-URL: #26496
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    gengjiawen authored and BethGriggs committed Apr 16, 2019
    Copy the full SHA
    1080a1a View commit details
    Browse the repository at this point in the history
  3. repl: simplify regex expression

    PR-URL: #26496
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    gengjiawen authored and BethGriggs committed Apr 16, 2019
    Copy the full SHA
    600929d View commit details
    Browse the repository at this point in the history
  4. repl: eliminate var in function _memory

    PR-URL: #26496
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    gengjiawen authored and BethGriggs committed Apr 16, 2019
    Copy the full SHA
    ef767a2 View commit details
    Browse the repository at this point in the history
  5. events: add once method to use promises with EventEmitter

    This change adds a EventEmitter.once() method that wraps ee.once in a
    promise.
    
    Co-authored-by: David Mark Clements <david.mark.clements@gmail.com>
    
    PR-URL: #26078
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    mcollina authored and BethGriggs committed Apr 16, 2019
    Copy the full SHA
    064511e View commit details
    Browse the repository at this point in the history
  6. tty: add hasColors function

    This adds a small wrapper around the `getColorDepth` function to check
    if the stream supports at least a specific amount of colors. This is
    convenient as the other API is not as straight forward and most use
    cases likely only want to know if a specific amount of colors is
    supported or not.
    
    PR-URL: #26247
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    BridgeAR authored and BethGriggs committed Apr 16, 2019
    Copy the full SHA
    4285b57 View commit details
    Browse the repository at this point in the history
  7. src: deprecate AddPromiseHook()

    This API was added to fill an use case that is served by `async_hooks`,
    since that has `Promise` support.
    
    Deprecate this, as the underlying `Isolate::SetPromiseHook()` may be
    removed in its current form in the future.
    
    Refs: https://docs.google.com/document/d/1g8OrG5lMIUhRn1zbkutgY83MiTSMx-0NHDs8Bf-nXxM/
    
    PR-URL: #26529
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and BethGriggs committed Apr 16, 2019
    Copy the full SHA
    4274542 View commit details
    Browse the repository at this point in the history
  8. doc: edit "Technical How-To" section of guide

    Edit the "Technical How-To" section of the Collaborator Guide. Keep
    wording simple and direct.
    
    PR-URL: #26601
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Trott authored and BethGriggs committed Apr 16, 2019
    Copy the full SHA
    07ded7c View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2019

  1. doc: add Gireesh to TSC

    TSC voted in Gireesh today. Add him to the TSC list in the README.
    
    Closes: #26186
    
    PR-URL: #26657
    Fixes: #26186
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Trott authored and BethGriggs committed Apr 17, 2019
    Copy the full SHA
    c07619d View commit details
    Browse the repository at this point in the history
  2. src: remove usage of deprecated IsNearDeath

    Refs: v8/v8@06193b0
    
    PR-URL: #26630
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    targos authored and BethGriggs committed Apr 17, 2019
    Copy the full SHA
    84db29c View commit details
    Browse the repository at this point in the history
  3. doc: update copy/paste error message in Troubleshooting

    In the Troubleshooting portion of the Collaborator Guide, there is a
    copy/pasted error message. The message is out of date. More recent git
    contains a more concise and clear message. Update the text to reflect
    the current git error message.
    
    PR-URL: #26652
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Trott authored and BethGriggs committed Apr 17, 2019
    Copy the full SHA
    983ea7f View commit details
    Browse the repository at this point in the history
  4. doc: simplify Troubleshooting text

    In the Troubleshooting section of the Collaborator Guide, there is one
    particularly lengthy and difficult-to-understand sentence. Make it
    shorter and more clear.
    
    PR-URL: #26652
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Trott authored and BethGriggs committed Apr 17, 2019
    Copy the full SHA
    fc35523 View commit details
    Browse the repository at this point in the history
  5. tools: tidy function arguments in eslint rules

    Remove unused arguments from function invocations in ESLint custom
    rules.
    
    PR-URL: #26668
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BethGriggs committed Apr 17, 2019
    Copy the full SHA
    3445080 View commit details
    Browse the repository at this point in the history
  6. test,console: add testing for monkeypatching of console stdio

    lib/internal/console/constructor.js contains setters for console._stdout
    and console._stderr but these setters are not used in our tests or in
    Node.js core. (This is confirmed by our nightly coverage reports.)
    
    Add a test to check monkeypatching _stdout and _stderr on a console
    object.
    
    PR-URL: #26561
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and BethGriggs committed Apr 17, 2019
    Copy the full SHA
    3eab58f View commit details
    Browse the repository at this point in the history
  7. doc: note about DNS ANY queries / RFC 8482

    PR-URL: #26695
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Bryan English <bryan@bryanenglish.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    tlhunter authored and BethGriggs committed Apr 17, 2019
    Copy the full SHA
    1e6faf9 View commit details
    Browse the repository at this point in the history
  8. child_process: ensure message sanity at source

    Error messages coming out of de-serialization at the send target
    is not consumable. So detect the scenario and fix it at the send source
    
    Ref: #20314
    
    PR-URL: #24787
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    gireeshpunathil authored and BethGriggs committed Apr 17, 2019
    Copy the full SHA
    fce822f View commit details
    Browse the repository at this point in the history
  9. src: remove unused variable in class InspectorSocketServer

    PR-URL: #26633
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    gengjiawen authored and BethGriggs committed Apr 17, 2019
    Copy the full SHA
    42c26a6 View commit details
    Browse the repository at this point in the history
  10. doc: simplify force-push guidelines

    Edit the guildelines for force-pushing in Collaborator Guide. There are
    no policy changes, but the material is simplified a bit and the
    sentences are now shorter.
    
    PR-URL: #26699
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BethGriggs committed Apr 17, 2019
    Copy the full SHA
    3002188 View commit details
    Browse the repository at this point in the history
  11. doc: add ZYSzys to collaborators

    Fixes: #26440
    
    PR-URL: #26730
    Fixes: #26440
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    ZYSzys authored and BethGriggs committed Apr 17, 2019
    Copy the full SHA
    621099e View commit details
    Browse the repository at this point in the history
  12. doc: update spawnSync() status value possibilities

    The object returned by `child_process.spawnSync()` can have the `status`
    property set to `null` if the process terminated due to a signal. We
    even test for this in
    test/parallel/test-child-process-spawnsync-kill-signal.js.
    
    Update the documentation to reflect this.
    
    PR-URL: #26680
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Trott authored and BethGriggs committed Apr 17, 2019
    Copy the full SHA
    83c2a14 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2019

  1. doc: add Note of options.stdio into child_process

    PR-URL: #26604
    Refs: #22892 (comment)
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
    koh110 authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    09f162b View commit details
    Browse the repository at this point in the history
  2. http2: delete unused enum in node_http2.h

    PR-URL: #26704
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    gengjiawen authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    91b1b2c View commit details
    Browse the repository at this point in the history
  3. doc: condense LTS material in Collaborator Guide

    Edit and condense the "What is LTS?" section of the Collaboroator Guide.
    
    PR-URL: #26722
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    a228254 View commit details
    Browse the repository at this point in the history
  4. doc: remove How Does LTS Work section from Collaborator Guide

    The How Does LTS Work section duplicates material in the release plan,
    to which there is already a link in the doc. Unfortunately, it has gone
    out of sync with the release plan, resulting in incorrect material being
    in the Collaborator Guide. (The Release WG needs to approve certain
    changes, not LTS WG as the guide currently says. It used to be the LTS
    WG, but that changed.)
    
    Instead of duplicating material in the Collaborator Guide and risking
    that the two documents contradict each other again, instruct the reader
    to refer to the release plan as the canonical source of information.
    
    PR-URL: #26723
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    ddfa756 View commit details
    Browse the repository at this point in the history
  5. test: optimize test-http2-large-file

    Optimize test-http2-large-file so it only allocates a single buffer.
    
    PR-URL: #26737
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Adrian Estrada <edsadr@gmail.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    44660c1 View commit details
    Browse the repository at this point in the history
  6. doc: remove discord community

    PR-URL: #26830
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Shelley Vohr <codebytere@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    aymen94 authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    889d68c View commit details
    Browse the repository at this point in the history
  7. benchmark: replace deprecated and eliminate var in buffer-from.js

    PR-URL: #26585
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    gengjiawen authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    a8cbe0e View commit details
    Browse the repository at this point in the history
  8. doc: fix comma of the list in worker_threads.md

    PR-URL: #26838
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    nodejh authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    6bd33dd View commit details
    Browse the repository at this point in the history
  9. build: use Xenial and gcc 6 on Travis

    PR-URL: #26720
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    richardlau authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    add5141 View commit details
    Browse the repository at this point in the history
  10. build: temporarily don't run tests on Travis

    We're hitting the Travis job timeout of 50mins if built with a new
    compiler (as there is no ccache). Temporarily disable the running
    of tests so the Travis job can complete within the timeout and
    populate the ccache.
    
    PR-URL: #26720
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    richardlau authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    9512f39 View commit details
    Browse the repository at this point in the history
  11. build: restore running tests on Travis

    Restore running tests on Travis once the ccache is populated.
    
    PR-URL: #26720
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    richardlau authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    513913c View commit details
    Browse the repository at this point in the history
  12. test: fix test-console-stdio-setters to test setters

    test-console-stdio-setters needs to test against the global console in
    order to test the setters for the lazy-loaded _stdout and _stderr
    properties.
    
    PR-URL: #26796
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    9ca4ce3 View commit details
    Browse the repository at this point in the history
  13. test: complete console.assert() coverage

    There is one condition in the `console.assert()` code that is not
    tested currently. Add a test to confirm that `console.assert(false)`
    does not include a `:` in its output.
    
    PR-URL: #26827
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    f015eec View commit details
    Browse the repository at this point in the history
  14. doc: change error message to 'not defined'

    PR-URL: #26857
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    MohammedEssehemy authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    f52160d View commit details
    Browse the repository at this point in the history
  15. doc: edit LTS material in Collaborator Guide

    * Rewrite some material for simplicity and directness.
    * Remove outdated LTS material in the Collaborator Guide. (For example,
      refers to LTS WG for things that are now handled by the Release WG.)
    * Minor change to text about force pushing (s/minimize/reduce/).
    
    PR-URL: #26845
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    09a97f2 View commit details
    Browse the repository at this point in the history
  16. trace_events: remove usage of require('util')

    Use `require('internal/util/inspect').format` instead of
    `require('util').format`.
    
    Refs: #26546
    
    PR-URL: #26822
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    dnlup authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    437a90c View commit details
    Browse the repository at this point in the history
  17. tools, icu: actually failover if there are multiple URLs

    Building on #23269, if multiple ICU download URLs are present, try the
    next one in case of error.
    
    Part of the ICU 63.1 bump, but independent code-wise.
    #23244
    
    PR-URL: #23715
    Fixes: #22344
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    srl295 authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    3ded3df View commit details
    Browse the repository at this point in the history
  18. deps: icu 63.1 bump (CLDR 34)

    - Full release notes: http://site.icu-project.org/download/63
    
    Fixes: #22344
    
    PR-URL: #23715
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    srl295 authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    e9a9c88 View commit details
    Browse the repository at this point in the history
  19. fs,net: standardize pending stream property

    Use the same property name as http2 does to indicate that
    the stream is in the state before the `ready` event is emitted.
    
    PR-URL: #24067
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    ae465f6 View commit details
    Browse the repository at this point in the history
  20. deps: upgrade to libuv 1.24.0

    PR-URL: #24332
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    cjihrig authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    74f4741 View commit details
    Browse the repository at this point in the history
  21. readline: add support for async iteration

    Co-authored-by: Ivan Filenko <ivan.filenko@protonmail.com>
    Fixes: #18603
    Refs: #18904
    PR-URL: #23916
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    2 people authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    d3f15b0 View commit details
    Browse the repository at this point in the history
  22. test: test TLS client authentication

    TLS client authentication should be tested, including failure scenarios.
    
    PR-URL: #24733
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    sam-github authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    20980a3 View commit details
    Browse the repository at this point in the history
  23. querystring: remove eslint-disable

    Remove the eslint-disable comments by using a strict comparison
    instead of a Boolean cast.
    
    PR-URL: #24995
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    cjihrig authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    45481bc View commit details
    Browse the repository at this point in the history
  24. build: add a space to clarify skipping crypto msg

    This commit adds a space to the message that is displayed for tests that
    are skipped when node was built --without-ssl. For example, this is what
    is currently displayed:
    "release test-https-agent-additional-optionsSkipping as node was
    compiled without crypto support"
    
    After this change this will be:
    "release test-https-agent-additional-options: Skipping as node was
    compiled without crypto support"
    
    PR-URL: #25011
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    danbev authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    5760e41 View commit details
    Browse the repository at this point in the history
  25. src: schedule destroy hooks in BeforeExit early during bootstrap

    Instead of doing it in the `internalBinding('async_wrap')`
    initialization whose first call is uncertain depending on how
    the native modules are loaded in JS land during bootstrap.
    
    PR-URL: #25020
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    joyeecheung authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    74b034f View commit details
    Browse the repository at this point in the history
  26. test: add signal check to test-esm-cjs-main

    PR-URL: #25073
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    1ff2f4b View commit details
    Browse the repository at this point in the history
  27. deps: upgrade to libuv 1.24.1

    PR-URL: #25078
    Fixes: #24521
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    cjihrig authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    4875e88 View commit details
    Browse the repository at this point in the history
  28. test: verify input flags

    This makes sure all required flags are passed through to the test.
    If that's not the case an error is thrown to inform the user what
    flag is missing.
    
    PR-URL: #24876
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    BridgeAR authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    ead4bb6 View commit details
    Browse the repository at this point in the history
  29. events: simplify stack compare function

    This simplifies the `longestSeqContainedIn()` logic by checking for
    the first identical occurance of at least three frames instead of
    the longest one.
    It also removes an unused argument.
    
    PR-URL: #24744
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    BridgeAR authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    aca5ed5 View commit details
    Browse the repository at this point in the history
  30. src: port GetLoadedLibraries for freebsd

    the dl_iterate_phdr and its associated data structure in Linux
    are fully available in freebsd as well, so opening it up for
    freebsd means just opening up the platform specific identifiers.
    
    Refs: #24825
    
    PR-URL: #25106
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    gireeshpunathil authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    870549b View commit details
    Browse the repository at this point in the history
  31. os: use uv_os_gethostname() in hostname()

    This commit changes the C++ implementation of os.hostname()
    to use uv_os_gethostname().
    
    PR-URL: #25111
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    d468848 View commit details
    Browse the repository at this point in the history
  32. build: correct fi indentation in Makefile

    PR-URL: #25107
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    danbev authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    ffd62b1 View commit details
    Browse the repository at this point in the history
  33. tools: update certdata.txt

    This is the certdata.txt[0] from NSS 3.41, released on 2018-12-03.
    
    This is the version of NSS that will ship in Firefox 65 on 2018-12-11.
    
    [0] https://hg.mozilla.org/projects/nss/raw-file/NSS_3_41_RTM/lib/ckfw/builtins/certdata.txt
    
    PR-URL: #25113
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    sam-github authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    6e329a8 View commit details
    Browse the repository at this point in the history
  34. crypto: update root certificates

    Update the list of root certificates in src/node_root_certs.h with
    tools/mk-ca-bundle.pl.
    
    Certificates added:
    - GlobalSign Root CA - R6
    - OISTE WISeKey Global Root GC CA
    - GTS Root R1
    - GTS Root R2
    - GTS Root R3
    - GTS Root R4
    - UCA Global G2 Root
    - UCA Extended Validation Root
    - Certigna Root CA
    
    Certificates removed:
    - Visa eCommerce Root
    - TÜRKTRUST Elektronik Sertifika Hizmet Sağlayıcısı H5
    - Certplus Root CA G1
    - Certplus Root CA G2
    - OpenTrust Root CA G1
    - OpenTrust Root CA G2
    - OpenTrust Root CA G3
    
    PR-URL: #25113
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    sam-github authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    a0dc65d View commit details
    Browse the repository at this point in the history
  35. doc: describe root cert update process

    PR-URL: #25113
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    sam-github authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    c571e9e View commit details
    Browse the repository at this point in the history
  36. doc: revise "Breaking Changes and Deprecations"

    Revise the "Breaking Changes and Deprecations" section of the
    Collaborator Guide. Simplify the text. Remove redundant text. The
    "Deprecations" section is thorough and linked to from this section.
    
    PR-URL: #25116
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    173e5fe View commit details
    Browse the repository at this point in the history
  37. test: add hasCrypto check to common flags check

    Currently, if node is configured --without-ssl there will be a number of
    test errors related to crypto flags:
    
    Error: Test has to be started with the flag: '--tls-v1.1'
    
    This commit adds a hasCrypto check to the flags checking similar to what
    is done for --without-intl.
    
    PR-URL: #25147
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    danbev authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    424f254 View commit details
    Browse the repository at this point in the history
  38. test: remove Files: comment processing from Python test runner

    We don't use any Files: comments in our tests so remove the Python code
    for it from test/testpy/__init__.py.
    
    PR-URL: #25183
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    8d791ab View commit details
    Browse the repository at this point in the history
  39. test: mark test-trace-events-api-worker-disabled flaky

    Refs: #24305
    
    PR-URL: #25197
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    facf36e View commit details
    Browse the repository at this point in the history
  40. tools: update ESLint to 5.11.0

    Update ESLint to 5.11.0.
    
    PR-URL: #25191
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    cjihrig authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    629fb36 View commit details
    Browse the repository at this point in the history
  41. test: fix test-tls-session-timeout

    Tests in pummel seem to break often and stay broken because they don't
    get run in CI. In preparation for running pummel tests in CI once a day,
    this fixes test-tls-session-timeout. `key` and `cert` are now the
    contents of the relevant files and not the paths.
    
    PR-URL: #25188
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    6014b47 View commit details
    Browse the repository at this point in the history
  42. deps: upgrade npm to 6.5.0

    PR-URL: #24734
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Audrey Eschright authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    391185e View commit details
    Browse the repository at this point in the history
  43. doc: fix NAPI typo

    PR-URL: #25216
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    DaAitch authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    b980fa3 View commit details
    Browse the repository at this point in the history
  44. test: refactor test-esm-namespace.mjs

    Remove unused `name` argument that is different from a subsequent `name`
    argument in a different but nearby function. This was mildly confusing
    to me at first, so hopefully this change clarifies things for others
    reading the test.
    
    PR-URL: #25117
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    5f72f39 View commit details
    Browse the repository at this point in the history
  45. net: check for close on stream, not parent

    'close' event isn't emitted on a TLS connection if it's been written to
    (but 'end' and 'finish' events are).
    
    PR-URL: #25026
    Fixes: #24984
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    davedoesdev authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    f17b61e View commit details
    Browse the repository at this point in the history
  46. dns: fix TTL value for AAAA replies to resolveAny()

    We were previously reading from the wrong offset, namely
    the one into the final results array, not the one for the
    AAAA results itself, which could have lead to reading
    uninitialized or out-of-bounds data.
    
    Also, adjust the test accordingly; TTL values are not
    modified by c-ares, but are only exposed for a subset
    of all DNS record types.
    
    PR-URL: #25187
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    4fcfa5a View commit details
    Browse the repository at this point in the history
  47. src: do not leak NodeTraceStateObserver

    This would otherwise be reported as a memory leak by automated tools.
    
    PR-URL: #25180
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    addaleax authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    5d5ac23 View commit details
    Browse the repository at this point in the history
  48. doc: revise "Breaking Changes to Internal Elements"

    Revise the "Breaking Changes to Internal Elements" section of
    COLLABORATOR_GUIDE.md. Simplify wording, shorten sentences, and remove
    redundant material.
    
    PR-URL: #25190
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    18e0a61 View commit details
    Browse the repository at this point in the history
  49. test: refactor stdio handling in test-esm-cjs-main

    Set encoding on the stderr/stdout streams instead of calling
    data.toString(). Don't assume the complete expected messages arrive in
    a single event.
    
    PR-URL: #25169
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    richardlau authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    19ed5c7 View commit details
    Browse the repository at this point in the history
  50. util: simplify code

    Simplify code by using return value of Object.defineProperty directly.
    
    PR-URL: #25162
    Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    kkty authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    5dd31bc View commit details
    Browse the repository at this point in the history
  51. doc: link and expand --tls-cipher-list docs

    Link to the cli docs for --tls-cipher-list, and link to and mention that
    NODE_OPTIONS can also be used.
    
    PR-URL: #25174
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    sam-github authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    c84b4fb View commit details
    Browse the repository at this point in the history
  52. doc: describe TLS session resumption

    PR-URL: #25174
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    sam-github authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    b76931b View commit details
    Browse the repository at this point in the history
  53. test: mark two tests as flaky in AIX

    sequential/test-inspector-debug-end and
    parallel/test-child-process-execfile
    
    Off late these have been failing in AIX. Debugging core dump
    suggested that this is a side effect of exit-race that is
    described in #25007
    Mart these  as flaky in AIX until that is resolved.
    
    Refs: #25047
    Refs: #25029
    
    PR-URL: #25126
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    gireeshpunathil authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    0fe72b8 View commit details
    Browse the repository at this point in the history
  54. child_process: simplify argument handling

    This commit simplifies the calling of normalizeSpawnArguments()
    and normalizeExecArguments(). Specifically, this commit replaces
    apply() and the use of arguments with a normal function call.
    
    PR-URL: #25194
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    274fc16 View commit details
    Browse the repository at this point in the history
  55. tools: update ESLint to 5.11.1

    Update ESLint to 5.11.1.
    
    PR-URL: #25236
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    0098cde View commit details
    Browse the repository at this point in the history
  56. tools: enable no-useless-catch lint rule

    This commit enables ESLint's no-useless-catch rule.
    
    PR-URL: #25236
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    b7095ba View commit details
    Browse the repository at this point in the history
  57. lib: simplify several debug() calls

    Avoid calling Array.prototype.join() in debug() calls. These
    are evaluated on every call, even if the debug() call is a
    no-op. This commit replaces the join() calls with the %j
    placeholder.
    
    PR-URL: #25241
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    ec90cef View commit details
    Browse the repository at this point in the history
  58. benchmark: fix net-wrap-js-stream-passthrough

    The net-wrap-js-stream-passthrough benchmark was inadvertently broken by
    00944c7. This fixes it.
    
    PR-URL: #25273
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    77ed1bb View commit details
    Browse the repository at this point in the history
  59. test: regression test for uv threadpool congestion

    Validate that massive dns lookups do not block filesytem I/O
    (or any fast I/O for that matter).
    Prior to libuv/libuv#1845 few back-to-back dns
    lookup were sufficient to engage libuv threadpool workers in a blocking
    manner, throttling other work items that need the pool. this test acts
    as a regression test for the same.
    
    Start slow and fast I/Os together, and make sure fast I/O can complete
    in at least in 1/100th of time for slow I/O.
    
    Refs: libuv/libuv#1845
    Refs: #8436
    
    PR-URL: #23099
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    gireeshpunathil authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    d44a93a View commit details
    Browse the repository at this point in the history
  60. util: fix util.inspect with proxied function

    PR-URL: #25244
    Fixes: #25212
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
    starkwang authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    4e2ceba View commit details
    Browse the repository at this point in the history
  61. test: remove try/catch in common.isMainThread

    Refactor common.isMainThread.
    
    PR-URL: #25249
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    fcc03c1 View commit details
    Browse the repository at this point in the history
  62. test: slightly refactor test-child-process-execsync

    * move `start` time to the point of execution (avoids counting 'throws'
      tests towards 'timeout' test case)
    * scope cmd/ret values where possible
    * use `filter` instead of manual if/return
    
    PR-URL: #25227
    Refs: #24921
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    lundibundi authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    9eb677b View commit details
    Browse the repository at this point in the history
  63. win, build: fix building addons on Windows

    Building addons would fail because addon-verify.js dependencies from
    tools\doc where not installed. This fixes this issue by installing
    those dependencies if addons are to be built.
    
    Fixes: #25096
    
    PR-URL: #25108
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    bzoz authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    91c4d28 View commit details
    Browse the repository at this point in the history
  64. tools: replace NULL with nullptr

    PR-URL: #25179
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    juanarbol authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    225dfed View commit details
    Browse the repository at this point in the history
  65. doc: include license for src/large_pages in LICENSE

    Include License for src/large_pages (MIT licensed by Intel), to the main
    LICENSE file and make required changes to the tools/license-builder.sh
    script.
    
    Fixes: #25238
    
    PR-URL: #25246
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    ryzokuken authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    fc5dc9c View commit details
    Browse the repository at this point in the history
  66. src: remove unused variable from string_search.h

    PR-URL: #25139
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    addaleax authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    f5e4a1e View commit details
    Browse the repository at this point in the history
  67. crypto: add crypto/keys to cannotUseCache

    Currently when configuring --without-ssl test-code-cache.js will fail
    with the following error:
    internal/bootstrap/loaders.js:151
          mod = bindingObj[module] = getInternalBinding(module);
                                     ^
    
    Error: No such module: crypto
        at internalBinding (internal/bootstrap/loaders.js:151:34)
        at internal/crypto/keys.js:14:5
        at NativeModule.compile (internal/bootstrap/loaders.js:342:5)
        at Function.NativeModule.require (internal/bootstrap/loaders.js:213:16)
        at Function.Module._load (internal/modules/cjs/loader.js:539:25)
        at Module.require (internal/modules/cjs/loader.js:654:17)
        at require (internal/modules/cjs/helpers.js:22:18)
        at Object.<anonymous> (/node/test/code-cache/test-code-cache.js:31:3)
        at Module._compile (internal/modules/cjs/loader.js:718:30)
        at Object.Module._extensions..js (internal/modules/cjs/loader.js:729:10)
    
    This commit adds internal/crypto/keys to the cannotUseCache array if
    compiled without crypto support.
    
    PR-URL: #25237
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    danbev authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    3a28143 View commit details
    Browse the repository at this point in the history
  68. test: mark test-util-callbackify flaky on AIX

    Refs: #25068
    
    PR-URL: #25284
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    5095d6c View commit details
    Browse the repository at this point in the history
  69. test: remove unused --expose-native-as V8 flag

    test-preload.js was using a V8 flag (`--expose-native-as`) that made
    an V8 internally used object available. As this test does not use this
    object, this commit removes the usage of this flag.
    
    In some distant past, this internally used object may have had some
    external use, but currently is essentially an empty object.
    
    In the near future, the V8 internal infrastructure (JS Natives)
    producing the object exposed by `--expose-native-as` will be phased out.
    For more details, visit:
    https://bugs.chromium.org/p/v8/issues/detail?id=7624
    
    PR-URL: #25275
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    peterwmwong authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    4155b74 View commit details
    Browse the repository at this point in the history
  70. repl: indicate if errors are thrown or not

    Currently an error is printed identical, no matter if it is just
    inspected or if the error is thrown inside of the REPL. This makes
    sure we are able to distinguish these cases.
    
    PR-URL: #25253
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    BridgeAR authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    b061a08 View commit details
    Browse the repository at this point in the history
  71. test: make sure tmpdir is created before using it

    Otherwise it throws ENOENT when the folder happens to be cleaned
    
    PR-URL: #25224
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    d9aa19f View commit details
    Browse the repository at this point in the history
  72. test: set umask explicitly

    Some tests which create files and check file permissions assume the
    umask is compatible with 022, and break when set to something like 007.
    Explicitly set umask to 022
    
    PR-URL: #25213
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    i8-pi authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    8a4fe98 View commit details
    Browse the repository at this point in the history
  73. build: fix Windows shared lib build

    PR-URL: #25166
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    richardlau authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    554a434 View commit details
    Browse the repository at this point in the history
  74. lib,test: remove lib/internal/test/unicode.js

    Remove lib/internal/test/unicode.js and associated test. When we added
    the file and test, only comments in lib had non-ASCII characters. Now,
    lib/internal/cli_table.js has non-ASCII characters. Tests that exercise
    the `console.table()` therefore fulfill the need to test non-ASCII
    characters in built-in modules.
    
    PR-URL: #25298
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    81cf2b4 View commit details
    Browse the repository at this point in the history
  75. doc: fs.mkdir('/') throws EPERM on Windows

    Fixes: #25110
    
    PR-URL: #25340
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ben Coe <bencoe@gmail.com>
    coreyfarrell authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    ef6e4f1 View commit details
    Browse the repository at this point in the history
  76. test: fix test-benchmark-zlib

    The addition of brotli to zlib benchmarks means that test-benchmark-zlib
    needs to be modified. This is that modification.
    
    PR-URL: #25365
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    acd6915 View commit details
    Browse the repository at this point in the history
  77. src: remove unused method declaration

    PR-URL: #25329
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bnoordhuis authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    7655253 View commit details
    Browse the repository at this point in the history
  78. test: http2 origin length ERR_HTTP2_ORIGIN_LENGTH

    PR-URL: #25296
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    fshaikh authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    374a07d View commit details
    Browse the repository at this point in the history
  79. tools: update ESLint to 5.12.0

    Update ESLint to 5.12.0.
    
    PR-URL: #25347
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    cjihrig authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    21dc7cc View commit details
    Browse the repository at this point in the history
  80. test: fix test-tls-securepair-client

    test-tls-securepair-client has been failing for over a year but no one
    noticed because pummel tests are almost never run.
    
    In preparation for running pummel tests once a day in CI, fix
    test-tls-securepair-client.
    
    PR-URL: #25222
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    26b69fd View commit details
    Browse the repository at this point in the history
  81. test: move test-tls-securepair-client out of pummel

    test-tls-securepair-client does not seem to need to be in the pummel
    directory. Move it to sequential. (It can't go into parallel because it
    uses common.PORT and therefore might conflict with another test that is
    using system-assigned available ports.)
    
    PR-URL: #25222
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    f58dbb3 View commit details
    Browse the repository at this point in the history
  82. lib: support overriding http\s.globalAgent

    Overriding `require('http[s]').globalAgent` is now respected by
    consequent requests.
    
    In order to achieve that, the following changes were made:
    
    1. Implmentation in `http`: `module.exports.globalAgent` is now defined
    through `Object.defineProperty`. Its getter and setter return \ set
    `require('_http_agent').globalAgent`.
    
    2. Implementation in `https`: the https `globalAgent` is not the same
    as `_http_agent`, and is defined in `https` module itself. Therefore,
    the fix here was to simply use `module.exports.globalAgent` to support
    mutation.
    
    3. According tests were added for both `http` and `https`, where in
    both we create a server, set the default agent to a newly created
    instance and make a request to that server. We then assert that the
    given instance was actually used by inspecting its sockets property.
    
    Fixes: #23281
    
    PR-URL: #25170
    Reviewed-By: James M Snell <jasnell@gmail.com>
    illBeRoy authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    73230cc View commit details
    Browse the repository at this point in the history
  83. doc: fix process.stdin example

    Fixes: #20503
    
    PR-URL: #25344
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    8d5ac6c View commit details
    Browse the repository at this point in the history
  84. src: trace_events: fix race with metadata events

    Multiple threads may be concurrently adding to the metadata_events list.
    Protect access with a mutex.
    
    Fixes: #24129
    
    PR-URL: #25235
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    ofrobots authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    883d61c View commit details
    Browse the repository at this point in the history
  85. test: remove redundant fchmod test

    PR-URL: #25282
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    ZYSzys authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    26165ac View commit details
    Browse the repository at this point in the history
  86. doc: fix heading in cpp style guide

    Names of c-like structs do not have to end with an underscore.
    
    PR-URL: #25303
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    kkty authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    0d3212a View commit details
    Browse the repository at this point in the history
  87. test: tune test-uv-threadpool-schedule

    test-uv-threadpool-schedule has been failing consistently in
    node-daily-master CI. It also fails consistently on my personal laptop.
    These changes make it pass consistently with current master but fail
    consistently with Node.js 10.11 (which was the last release in the 10.x
    line before the fix that the test is for). It succeeds/fails as expected
    whether or not I am connected to the network.
    
    Fixes: #25305
    
    PR-URL: #25358
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    4a22299 View commit details
    Browse the repository at this point in the history
  88. doc: use lowercase for zlib

    PR-URL: #25371
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    252a696 View commit details
    Browse the repository at this point in the history
  89. test: more tests for internal/util/types

    PR-URL: #25225
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    ZYSzys authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    c103e98 View commit details
    Browse the repository at this point in the history
  90. doc: update benchmark doc

    Benchmark for arrays no longer exists, but it was still referenced in
    documentation.
    
    Refs: #21831
    
    PR-URL: #25367
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    kkty authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    b68d47a View commit details
    Browse the repository at this point in the history
  91. tls: do not confuse TLSSocket and Socket

    Don't use "socket" to describe two different objects in the same
    function.
    
    PR-URL: #25153
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    sam-github authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    858a42e View commit details
    Browse the repository at this point in the history
  92. doc: clarify timing of socket.connecting

    Fixes: #25328
    
    PR-URL: #25333
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    sam-github authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    ce3cf0d View commit details
    Browse the repository at this point in the history
  93. doc: add clarification for exception behaviour

    Document current behaviour where some methods can be called
    when an exception is pending, while others cannot and explain
    the behaviour.
    
    PR-URL: #25339
    Refs: nodejs/abi-stable-node#356
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    mhdawson authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    66ab7e4 View commit details
    Browse the repository at this point in the history
  94. doc: add history to http.request.setTimeout()

    PR-URL: #25121
    Refs: #8895
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    jbunton-atlassian authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    487f653 View commit details
    Browse the repository at this point in the history
  95. test: fix test/pummel/test-fs-largefile.js

    test-fs-largefile.js calls `fs.close()` without a callback which results
    in an error as of Node.js 10.0.0. Add a `common.mustCall()` callback so
    the test passes again.
    
    PR-URL: #25372
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    95f311c View commit details
    Browse the repository at this point in the history
  96. test: fix test/pummel/test-fs-watch-file.js

    test-fs-watch-file.js fails for two reasons. First, there are cases
    where it is checking the error message for an error whose message has
    changed since the test was written. Change these instances to check for
    an error code instead.
    
    Second, there is an instance where it tries to remove a listener but
    fails because `common.mustNotCall()` returns a differnet instance of a
    function on each call. Store the function in a variable name so it can
    be removed as a listener on a file.
    
    PR-URL: #25384
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    af2d22a View commit details
    Browse the repository at this point in the history
  97. test: fix test/pummel/test-fs-watch-non-recursive.js

    test-fs-watch-non-recursive was loading the `common/tmpdir` module as if
    it were a built-in and was failing because of it. Fix the path. The test
    now works.
    
    PR-URL: #25386
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    82bc4ac View commit details
    Browse the repository at this point in the history
  98. test: refactor test-fs-watch-non-recursive

    The test was duplicating some functionality in the `tmpdir` module.
    
    PR-URL: #25386
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    82dd321 View commit details
    Browse the repository at this point in the history
  99. doc: make sure that calls to .read() are looped

    The 'readable' event assumes that calls to readable.read() happens
    within that event handler until readable.read() returns null.
    
    Fixes: #20503
    PR-URL: #25375
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    mcollina authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    530f005 View commit details
    Browse the repository at this point in the history
  100. test: remove test/pummel/test-http-client-reconnect-bug.js

    test-http-client-reconnect-bug depends on `http.createClient()` which
    was removed in Node.js 7.0.0. The test was added way back in commit
    30b0522 for a bug fixed in Node.js
    0.1.27 in early 2010. We've apparently been fine with it failing since
    at least Node.js 7.0.0 which at this time is more than 2 years ago.
    
    Remove this test.
    
    PR-URL: #25387
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    771213a View commit details
    Browse the repository at this point in the history
  101. test: fix test-net-connect-econnrefused

    test/pummel/test-net-connect-econnrefused.js was failing because
    `console.log()` resulted in an extra handle being returned by
    `process._getActiveHandles()`. Remove the unnecessary `console.log()`.
    
    PR-URL: #25389
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    05f9873 View commit details
    Browse the repository at this point in the history
  102. tools: add openssl-cli to macos-firewall.sh

    Currently, there is a new popup asking to accept incoming connections
    for openssl-cli when running tests on macos. I believe the reason
    for this not being noticed before is that test-tls-securepair-client.js
    was moved recently from the pummel directory to sequential.
    
    This commit adds openssl-cli to the firewall script.
    
    PR-URL: #25385
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    a254b93 View commit details
    Browse the repository at this point in the history
  103. test: move require('https') to after crypto check

    Currently, test-https-client-override-global-agent.js fails with the
    following error when configured --without-ssl:
    
    Error [ERR_NO_CRYPTO]:
    Node.js is not compiled with OpenSSL crypto support
      at Object.assertCrypto (internal/util.js:101:11)
      ...
      at Object.<anonymous>
      (/node/test/parallel/test-https-client-override-global-agent.js:5:15)
    
    This commit moves the require statement to after the crypto check.
    
    PR-URL: #25388
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    c8153ce View commit details
    Browse the repository at this point in the history
  104. build: add check for empty openssl-fips flag

    Currently, when specifying the --openssl-fips flag without any path
    , or an empty path, does not generate an error. If a path is specified
    then the following error is generated:
    
    ERROR: FIPS is not supported in this version of Node.js
    
    This commit adds a check so that the error is generated even if the
    path is empty.
    
    PR-URL: #25391
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    danbev authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    7ead9af View commit details
    Browse the repository at this point in the history
  105. url: return backslashes from fileURLToPath on win

    PR-URL: #25349
    Fixes: #25265
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
    Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
    Kevin Smith authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    3f51a60 View commit details
    Browse the repository at this point in the history
  106. tools: update crypo check rule

    This commit updates the custom crypto-check ESLint rule to
    detect require() calls that come before any hasCrypto
    checks.
    
    PR-URL: #25399
    Refs: #25388
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    cjihrig authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    21500a8 View commit details
    Browse the repository at this point in the history
  107. test: improve test coverage of native crypto code

    PR-URL: #25400
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    tniessen authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    9833bff View commit details
    Browse the repository at this point in the history
  108. doc: update os.networkInterfaces() example

    The os.networkInterfaces() example was outdated
    as the IPv6 interfaces did not include the scopeid property,
    now they do.
    
    PR-URL: #25417
    Fixes: #25408
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    jvelezpo authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    3a30c87 View commit details
    Browse the repository at this point in the history
  109. doc: fix the path to postMessage()

    PR-URL: #25332
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mitar authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    8f0fa61 View commit details
    Browse the repository at this point in the history
  110. tools: lint for use of internalBinding()

    Use of process.binding() has largely been replaced by
    internalBinding(). This commit updates the custom crypto
    check ESLint rule to check for both process.binding() and
    internalBinding().
    
    Refs: #24952
    PR-URL: #25395
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    cjihrig authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    e6d1eb3 View commit details
    Browse the repository at this point in the history
  111. test: remove unnecessary skipIfWorker()

    test-inspector-port-cluster passes in workers. Remove skipIfWorker()
    from the test.
    
    PR-URL: #25427
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    d2df34d View commit details
    Browse the repository at this point in the history
  112. doc: document that stream.on('close') was changed in Node 10

    See: #25373
    See: #18438
    
    PR-URL: #25413
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    mcollina authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    0c33ecb View commit details
    Browse the repository at this point in the history
  113. test: fix test-net-connect-econnrefused (again)

    test-net-connect-econnrefused was recently fixed, but only in certain
    circumstances. This change allows it to succeed whether it is invoked
    with `node` or `tools/test.py`. Makes sure no Socket handles are left,
    which is what the test is trying to determine, rather than failing if
    there are no handles of any kind left.
    
    PR-URL: #25438
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    8bebbd6 View commit details
    Browse the repository at this point in the history
  114. doc: fix napi_open_callback_scope description

    - parameter `resource_object` is mandatory
    
    PR-URL: #25366
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    DaAitch authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    9dffc2b View commit details
    Browse the repository at this point in the history
  115. doc: fix sorting in buffer.md

    This PR places
    `Buffer.from(object...)` section before
    `Buffer.from(string...)` section
    and upper-cased bottom references before backtick-started ones.
    
    PR-URL: #25477
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    vsemozhetbyt authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    07f878b View commit details
    Browse the repository at this point in the history
  116. http2: add test case for goaway

    PR-URL: #24054
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    antsmartian authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    ba6829d View commit details
    Browse the repository at this point in the history
  117. test: check for tls renegotiation errors

    Check that the return value and callback error for tls.renegotiate()
    does not indicate a failure. Also, remove unnecessary line wrapping and
    indentation.
    
    PR-URL: #25437
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    sam-github authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    266a07d View commit details
    Browse the repository at this point in the history
  118. test: rework ephemeralkeyinfo to run in parallel

    Remove:
    - use of tls global so tests can run in parallel
    - test counting in favour of common.mustCall()
    - limit of only one cipher suite per ephemeral key type tested
    
    The last change  will allow adding TLS 1.3 cipher suites and testing
    'ECDH' key info with them.
    
    PR-URL: #25409
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    sam-github authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    0a80e61 View commit details
    Browse the repository at this point in the history
  119. util: fixes type in argument type validation error

    PR-URL: #25103
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    aoberoi authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    65392be View commit details
    Browse the repository at this point in the history
  120. test: add test for fs.lchmod

    PR-URL: #25439
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ZYSzys authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    1b6dfac View commit details
    Browse the repository at this point in the history
  121. doc: add TLSSocket.isSessionReused() docs

    The API has existed forever and is used in our unit tests. It is
    supported for TLS1.3 as well as 1.2 and useful for troubleshooting, so
    it should be documented.
    
    PR-URL: #25423
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    sam-github authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    5c602da View commit details
    Browse the repository at this point in the history
  122. inspector, test: verify reported console message

    Many Inspector protocol clients rely on the top frame reported for the
    console messages. This test makes sure correct location is reported.
    
    PR-URL: #25455
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    eugeneo authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    cbc428c View commit details
    Browse the repository at this point in the history
  123. test: refactor pummel/test-keep-alive

    * Reduce concurrent and duration options by half so as to avoid
      interference with other tests. (Excessive TCP activity in this test
      resulted in throttling that caused subsequent tests to fail on my
      local setup.)
    * Use an OS-provided port rather than `common.PORT`. This possibly
      reduces side-effects on other tests (that may also be using
      `common.PORT`).
    * Add punctuation in comments.
    
    PR-URL: #25485
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    e343713 View commit details
    Browse the repository at this point in the history
  124. test: refactor pummel/test-net-connect-econnrefused

    * Reduce ROUNDS and ATTEMPTS_PER_ROUND by half to avoid spurious test
      failures as a result of side effects from other tests. (For my local
      setup, test-keep-alive seems to cause this test to fail with ETIMEDOUT
      and/or EADDRNOTAVAIL. It would seem to be a result of throttling.
      Reducing the pummel-iness of that test and this one seems to solve the
      problem.)
    * Apply capitalization and punctuation to comment.
    
    PR-URL: #25485
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    017b99a View commit details
    Browse the repository at this point in the history
  125. test: refactor pummel/test-net-many-clients

    * Use port 0 instead of `common.PORT`.
    * Reduce `concurrent` from 100 to 50 and `connections_per_client` from 5
      to 3. This is to avoid side effects from other tests. Prior to this
      change, running this along with test-keep-alive would result in
      failures on my local setup, apparently due to network throttling.
    * Remove unnecessary `console.log()` and improve remaining
      `console.log()` to provide clearer information.
    
    PR-URL: #25485
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    47cf1a2 View commit details
    Browse the repository at this point in the history
  126. test: refactor pummel/test-net-pingpong

    * Use port 0 instead of `common.PORT`.
    * Use `//` for comments, capitalize comments, and add punctuation.
    
    PR-URL: #25485
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    e5b305d View commit details
    Browse the repository at this point in the history
  127. doc: add metadata about ecdh curve options

    - DEFAULT_ECDH_CURVE default changed to 'auto' for 10.0.0
    - ecdhCurve parameter allowed multiple values and 'auto' from 9.0.0
    
    PR-URL: #25502
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    sam-github authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    5631d7a View commit details
    Browse the repository at this point in the history
  128. test: fix test-repl timeout and tmpdir refresh

    PR-URL: #25425
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    mscdex authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    3fcc44d View commit details
    Browse the repository at this point in the history
  129. doc: add Rich back to TSC list

    Fixes: nodejs/TSC#650
    
    PR-URL: #25535
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    mhdawson authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    37082bd View commit details
    Browse the repository at this point in the history
  130. test: add check for wrk to test-keep-alive

    test/pummel/test-keep-alive.js requires `wrk` to be installed. Check if
    it is, and skip the test if it isn't.
    
    This is yet another step in preparation for running pummel tests in CI
    daily.
    
    PR-URL: #25516
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    f4da641 View commit details
    Browse the repository at this point in the history
  131. test: refactor min() in test-hash-seed

    Replace min() function with Math.min(...).
    
    PR-URL: #25522
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    1592ebd View commit details
    Browse the repository at this point in the history
  132. test: prepare test-hash-seed for CI

    Reduce the time it takes to run test/pummel/test-hash-seed by switching
    from spawnSync() to spawn(). On my computer, this reduces the runtime
    from about 80 seconds to about 40 seconds. This test is not (yet) run
    regularly on CI, but when it was run recently, it timed out.
    
    PR-URL: #25522
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    3e9d992 View commit details
    Browse the repository at this point in the history
  133. doc: fix typo in Buffer API

    PR-URL: #25544
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    H1Gdev authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    92d0794 View commit details
    Browse the repository at this point in the history
  134. test: do not use uninitialized memory in common flags check

    Only use the amount of data that was actually read from the test file.
    Otherwise, there is a small risk of getting false positives, and
    generally reading uninitialized memory makes using automated
    memory error detection tools harder.
    
    PR-URL: #25475
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    48482b0 View commit details
    Browse the repository at this point in the history
  135. test: use fipsMode instead of common.hasFipsCrypto

    Currently, test-cli-node-print-help uses common.hasFipsCrypto to
    determine if the test should check for the existence of FIPS related
    options (--enable-fips, and --force-fips). The FIPS options are
    available when node has been compiled against an OpenSSL library with
    FIPS support in which case the test would verify that these  options
    are available. But by using crypto.fips (which uses crypto.getFips())
    this would only be checked when fips has been enabled, but these
    options are available regardless if FIPS is enabled or disabled.
    
    This commit updates the test to use fipsMode from config to determine
    if the FIPS options existence should be checked.
    
    PR-URL: #25510
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    d5316e0 View commit details
    Browse the repository at this point in the history
  136. test: improve code coverage for i18n

    Coverage report for src/node_i18n.cc shows that the
    Has() method is not covered. This test adds coverage
    for that method.
    
    PR-URL: #25428
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    mhdawson authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    6b6c628 View commit details
    Browse the repository at this point in the history
  137. doc: add a note to buf.fill() description

    PR-URL: #25547
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    vsemozhetbyt authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    12fe2d3 View commit details
    Browse the repository at this point in the history
  138. test: relax chunk count expectations

    In parallel/test-fs-read-stream-concurrent-reads.js the number
    of data chunks used is being tested when few concurrent reads
    are performed. The number of chunks can fluctuate based on the
    number of concurrent reads as well as the data that was read in
    one shot. Accommodate these variations in the test.
    
    Fixes: #22339
    
    PR-URL: #25415
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    gireeshpunathil authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    b4b4c11 View commit details
    Browse the repository at this point in the history
  139. tls: make tls.connect() accept a timeout option

    If specified, and only when a socket is created internally, the option
    will make `socket.setTimeout()` to be called on the created socket with
    the given timeout.
    
    This is consistent with the `timeout` option of `net.connect()` and
    prevents the `timeout` option of the `https.Agent` from being ignored
    when a socket is created.
    
    PR-URL: #25517
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    lpinca authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    2319bc5 View commit details
    Browse the repository at this point in the history
  140. doc: correct my wrong note about buf.fill()

    PR-URL: #25585
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    vsemozhetbyt authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    13205d5 View commit details
    Browse the repository at this point in the history
  141. http: reuse noop function in socketOnError()

    PR-URL: #25566
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    cjihrig authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    33a9d17 View commit details
    Browse the repository at this point in the history
  142. doc: reword stream docs to clarify that decodeStrings encodes strings

    I was implementing a Writable stream and misunderstood `decodeStrings`
    to mean 'will decode `Buffer`s into `string`s before calling `_write`'.
    This change adds a little more detail to the description of
    `decodeStrings` to clarify its effect on a Writable stream & what gets
    passed to `_write`.
    
    Changing the name of the option to `encodeStrings` would make it much
    easier to understand, but the name was chosen in 2012 and the option
    used in many projects (22k mentions of 'decodeStringsr in JS projects in
    GitHub). Deprecating the old name & rolling out a replacement is beyond
    my capabilities as a first-time contributor.
    
    PR-URL: #25468
    Fixes: #25464
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    dgholz authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    6ae41bd View commit details
    Browse the repository at this point in the history
  143. tools: update ESLint to 5.12.1

    Update ESLint to 5.12.1
    
    PR-URL: #25573
    Reviewed-By: Wyatt Preul <wpreul@gmail.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    cjihrig authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    b8b5853 View commit details
    Browse the repository at this point in the history
  144. test: use stronger curves for keygen

    This commit updates the named curves P-192 (prime192v1), and secp192k1
    to 256 bit versions.
    
    The motivation for this is that in Red Hat Enterprise Linux (RHEL) all
    ECC curves < 224 bits are removed from OpenSSL provided by the system.
    I'm not sure if other distributions do this but these 256 bit curves are
    availalbe in OpenSSL 1.1.0j (current version on master) and OpenSSL
    1.1.1 so as far as I can tell it should be safe change to make.
    
    PR-URL: #25564
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    danbev authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    7bae3d8 View commit details
    Browse the repository at this point in the history
  145. test: changed function to arrow function

    PR-URL: #25441
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    yathamravali authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    faf1a18 View commit details
    Browse the repository at this point in the history
  146. tools: improve valgrind support

    - Generate and use a list of suppressions that reduce noisiness for
      known (non-)issues.
    - Use `--zero-fill-buffers` for tests, as they sometimes use
      `Buffer.allocUnsafe()` and valgrind reports that as usage
      of uninitialized memory.
    
    PR-URL: #25498
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    f8800c9 View commit details
    Browse the repository at this point in the history
  147. http: make ClientRequest#setTimeout() noop at end

    Originally discovered and resolved by @szmarczak.
    
    PR-URL: #25536
    Fixes: #25499
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    timdp authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    ced7f67 View commit details
    Browse the repository at this point in the history
  148. build: do not lint python scripts under test/fixtures

    PR-URL: #25639
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    joyeecheung authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    6348d71 View commit details
    Browse the repository at this point in the history
  149. build: remove erroneous duplicate declaration from node_inspector.gypi

    PR-URL: #25586
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    refack authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    a575a41 View commit details
    Browse the repository at this point in the history
  150. test: replace common.PORT with 0 in https renegotiation test

    Repeated use of common.PORT was resulting in sporadic failures on some
    operating systems.
    
    PR-URL: #25599
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    b27e3c8 View commit details
    Browse the repository at this point in the history
  151. test: remove potential race condition in https renegotiation test

    In test/pummel/test-https-ci-reneg-attack.js, there is a boolean that is
    causing a race condition on some operating systems. It is unnecessary.
    Remove it.
    
    PR-URL: #25601
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    554b562 View commit details
    Browse the repository at this point in the history
  152. test: revoke flaky designation for tests

    A number of tests that were `flaked` recently are proved
    to have failing reason identified in
    #25007 and resolution
    identified in #25061
    
    Revoke flaky designation of all these tests as the said
    PR is landed.
    
    PR-URL: #25611
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    gireeshpunathil authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    fbf8e60 View commit details
    Browse the repository at this point in the history
  153. http2: allow fully synchronous _final()

    HTTP/2 streams do not use the fact that the native
    `StreamBase::Shutdown()` is asynchronous by default and
    always finish synchronously.
    
    Adding a status code for this scenario allows skipping an
    expensive `MakeCallback()` C++/JS boundary crossing.
    
    PR-URL: #25609
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    addaleax authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    decba1c View commit details
    Browse the repository at this point in the history
  154. events: show inspected error in uncaught 'error' message

    If there is no handler for `.emit('error', value)` and `value`
    is not an `Error` object, we currently just call `.toString()`
    on it.
    
    Almost always, using `util.inspect()` provides better information
    for diagnostic purposes, so prefer to use that instead.
    
    Refs: nodejs/help#1729
    
    PR-URL: #25621
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    addaleax authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    46a816f View commit details
    Browse the repository at this point in the history
  155. src: remove outdated Neuter() call in node_buffer.cc

    This call was introduced in 827ee49 to avoid a crash in a
    later `Neuter()` call that has later been removed in ebbbc5a,
    rendering the original call unnecessary.
    
    Refs: #3624
    Refs: #5204
    
    PR-URL: #25479
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    addaleax authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    cd4a932 View commit details
    Browse the repository at this point in the history
  156. build: remove AIX/ppc (32bit) dead code

    * also dedup OS400 detection
    
    PR-URL: #25523
    Refs: https://github.com/nodejs/node/pull/25447/files/36839defcfaf7c46435e16fb1f0da006f3ebe8ac#r247378894
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    refack authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    de26866 View commit details
    Browse the repository at this point in the history
  157. test: add stdio checks to cp-exec-maxBuffer

    Expands this test case to check what happens to stdout/stderr when
    maxBuffer is exceeded.
    
    Also changes how cases are checked so that assertion stacks are
    tracable to their test case, aka 'make it actually debuggable'.
    
    PR-URL: #24951
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Fishrock123 authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    710f650 View commit details
    Browse the repository at this point in the history
  158. child_process: truncate output when maxBuffer is exceeded

    Preserves truncated output for `child_process.exec()` when `maxBuffer`
    is exceeded.
    
    This is particularly useful for commands which have indistinguishable
    error codes for what output they produce.
    
    PR-URL: #24951
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Fishrock123 authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    16a92f6 View commit details
    Browse the repository at this point in the history
  159. crypto: add crypto modules to cannotUseCache

    Currently, when configured --without-ssl there are two failures like the
    following:
    
    internal/util.js:101
        throw new ERR_NO_CRYPTO();
        ^
    
    Error [ERR_NO_CRYPTO]:
    Node.js is not compiled with OpenSSL crypto support
      at assertCrypto (internal/util.js:101:11)
      at crypto.js:31:1
      at NativeModule.compile (internal/bootstrap/loaders.js:316:5)
      at NativeModule.require (internal/bootstrap/loaders.js:219:7)
      at internal/policy/manifest.js:10:16
      at NativeModule.compile (internal/bootstrap/loaders.js:316:5)
      at NativeModule.require (internal/bootstrap/loaders.js:219:7)
      at internal/process/policy.js:6:22
      at NativeModule.compile (internal/bootstrap/loaders.js:316:5)
      at Function.NativeModule.require (internal/bootstrap/loaders.js:219:7)
    
    This commit adds policy/manifest and process/policy to cannotUseCache.
    
    PR-URL: #25606
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    danbev authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    b8b23a3 View commit details
    Browse the repository at this point in the history
  160. test: fix pummel/test-exec

    Fix test/pummel/test-exec.js which broke as a result of
    e47f972
    (#24951).
    
    (Until very recently, pummel tests were not run at all in CI and
    currently only run nightly on master.)
    
    PR-URL: #25677
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    5d69e69 View commit details
    Browse the repository at this point in the history
  161. doc: add note regarding pushing release tags

    Tags shouldn't be pushed unless the remainder of release steps are able
    to be completed.
    
    PR-URL: #25569
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Shelley Vohr <codebytere@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    MylesBorins committed May 16, 2019
    Copy the full SHA
    b1a15ab View commit details
    Browse the repository at this point in the history
  162. test: remove known_issues/test-cluster-bind-privileged-port

    The test was added to check for a bug in macOS Mojave, but it turns out
    the issue is a macOS feature, not a bug.
    
    Refs: #21679 (comment)
    Fixes: #21679
    
    PR-URL: #25649
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    6ba4ac0 View commit details
    Browse the repository at this point in the history
  163. doc: simplify process.binding() deprecation message

    Keep the process.binding() deprecation message short and direct. In
    addition to the usual benefits of doing that, it also means the message
    is less likely to line-wrap once we move to a runtime deprecation.
    
    PR-URL: #25654
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    a382932 View commit details
    Browse the repository at this point in the history
  164. test: remove common.isOSXMojave

    common.isOSXMojave was added because it was believed that there was a
    bug in macOS Mojave that allowed unprivileged users to bind to
    privileged ports. As it turns out, that was a feature not a bug. It is
    likely to be in all future versions of macOS. Remove isOSXMojave and
    skip appropriate tests based on isOSX.
    
    Refs: https://news.ycombinator.com/item?id=18302380
    PR-URL: #25658
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    52d321d View commit details
    Browse the repository at this point in the history
  165. doc: clarify what dns.setResolvers() affects

    It does not affect dns.lookup().
    
    PR-URL: #25570
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    sam-github authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    bb96d79 View commit details
    Browse the repository at this point in the history
  166. repl: improve doc for disabling REPL history on Windows

    Environment variables with empty values are not permitted on Windows. As
    such, to disable persistent REPL history one or more spaces should be
    used. Node will trim whitespace from the variable, resulting in a blank
    variable at runtime and the desired behaviour.
    
    PR-URL: #25672
    Fixes: #25661
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
    ralish authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    2f1ad8e View commit details
    Browse the repository at this point in the history
  167. test: fix sequential/test-performance delay

    PR-URL: #25695
    Fixes: #23291
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    apapirovski authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    301f5fb View commit details
    Browse the repository at this point in the history
  168. doc: remove outdated s_client information in tls.md

    There is a description of how to use s_client for testing of
    renegotiation limits in the `tls` module documentation. The information
    is somewhat out of scope, but it also may be somewhat problematic due to
    changes/peculiarities (bugs?) in recent s_client. Remove the text.
    
    Refs: #25381 (comment)
    
    PR-URL: #25678
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    6a2d9d1 View commit details
    Browse the repository at this point in the history
  169. doc: fix file extension on ESM file example

    PR-URL: #25692
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    ewhitebloom authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    a040a73 View commit details
    Browse the repository at this point in the history
  170. test: remove unused uncaughtException handler

    This has been unused since cbc3ef6.
    
    Refs: #23053
    
    PR-URL: #25641
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    addaleax authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    48505d8 View commit details
    Browse the repository at this point in the history
  171. perf_hooks: clean up GC listeners

    Add Environment cleanup hooks to remove GC listeners when the
    `Environment` is torn down.
    
    PR-URL: #25647
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    ff3d977 View commit details
    Browse the repository at this point in the history
  172. src: fix macro duplicate declaration in env.h

    Signed-off-by: gengjiawen <technicalcute@gmail.com>
    
    PR-URL: #25703
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    gengjiawen authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    b31035d View commit details
    Browse the repository at this point in the history
  173. build: make configure.py compatible with python 3

    This patch replaces the following
    
    1. Usage of `filter` with `None` to remove falsy items.
    2. Usage of `map` to create lists. (Replaced with List comprehensions).
    3. Dictionary's `iteritems` which is removed in Python 3.
    
    PR-URL: #25580
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    thefourtheye authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    1c7f6a5 View commit details
    Browse the repository at this point in the history
  174. build: make compress_json python3 compatible

    This patch replaces a usage of `map` with list comprehension,
    which makes the script Python 3 compatiable.
    
    PR-URL: #25582
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    thefourtheye authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    99a653e View commit details
    Browse the repository at this point in the history
  175. tools: make mkssldef.py Python 3 compatible

    This patch replaces the usage of `map` in such a way that it will be
    compatible with Python 3.
    
    PR-URL: #25584
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    thefourtheye authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    40f5d15 View commit details
    Browse the repository at this point in the history
  176. doc: fix http.Agent timeout option description

    By default the agent options are passed to `net.createConnection()`
    which sets the timeout on the socket immediately after creating it.
    
    PR-URL: #25489
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    lpinca authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    498edfd View commit details
    Browse the repository at this point in the history
  177. test: rewrite fs {f}utimes test file

    Previously this test silently swallowed some errors.
    
    Refactored to use `common.mustCall()` & `assert()`s.
    
    Also, this adds a couple of extra error-checking cases.
    
    PR-URL: #25656
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Fishrock123 authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    1afd614 View commit details
    Browse the repository at this point in the history
  178. tools: make test.py Queue part Python 3 compatible

    Signed-off-by: gengjiawen <technicalcute@gmail.com>
    
    PR-URL: #25701
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    gengjiawen authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    c6a2be2 View commit details
    Browse the repository at this point in the history
  179. src: remove unnecessary call to SSL_get_mode

    SSL_set_mode() bit-ORs its argument into the current mode, its not
    necessary for to do it ourself (though it doesn't cause harm).
    
    See:
    - https://www.openssl.org/docs/man1.1.0/ssl/SSL_set_mode.html
    - https://github.com/nodejs/node/blob/0ce615c4af/deps/openssl/openssl/ssl/ssl_lib.c#L2176-L2177
    
    PR-URL: #25711
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    sam-github authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    550af6d View commit details
    Browse the repository at this point in the history
  180. doc: revise breaking changes material in COLLABORATOR_GUIDE

    * Remove unnecessary paragraph explaining why Current and LTS have
      stability guarantees that master branch does not. (Leave material
      explaining what those stability guarantees are.)
    * Upgrade advisory and passive "Collaborators should take significant
      care" to more direct "Take significant care".
    
    PR-URL: #25730
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    7ed29fc View commit details
    Browse the repository at this point in the history
  181. src: remove unused field in node_http2.h

    Signed-off-by: gengjiawen <technicalcute@gmail.com>
    
    PR-URL: #25727
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    gengjiawen authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    51ec21c View commit details
    Browse the repository at this point in the history
  182. module: use compileFunction over Module.wrap

    Use vm.compileFunction (which is a binding for
    v8::CompileFunctionInContext) instead of Module.wrap internally in
    Module._compile for the cjs loader.
    
    Fixes: #17396
    
    Backport-PR-URL: #27124
    PR-URL: #21573
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    ryzokuken authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    590e8d3 View commit details
    Browse the repository at this point in the history
  183. module: revert module._compile to original state if module is patched

    Backport-PR-URL: #27124
    PR-URL: #21573
    Fixes: #17396
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    ryzokuken authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    a49bd36 View commit details
    Browse the repository at this point in the history
  184. deps: update ICU to 64.2

    Update the version of the bundled ICU (deps/icu-small) to ICU version
    64.2 (Unicode 12, CLDR 35)
    
    Fixes: #26388
    
    PR-URL: #27361
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Steven R Loomis <srloomis@us.ibm.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    ryzokuken authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    c9d0b6a View commit details
    Browse the repository at this point in the history
  185. tools: update LICENSE and tools/icu/current_ver.dep

    Update the LICENSE file and tools/icu/current_ver.dep file in order to
    finalize the upgrade to ICU 64.2
    
    PR-URL: #27361
    Fixes: #26388
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Steven R Loomis <srloomis@us.ibm.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    ryzokuken authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    0fd4b35 View commit details
    Browse the repository at this point in the history
  186. deps: backport ICU-20558 to fix Intl crasher

    - Floating patch for ICU 63.x and 64.x
    - fixing crash in Intl when ICU data not found.
    - Regression test from refack included.
    
    Background:
    - ICU-13778 (landed in ICU 63.1) fixed a bug but
    added a regression.
    - a recent v8 land in Node v12 (which one?) exposes
    this bug to cause a crash when ICU data is not found.
    
    ICU Bug: https://unicode-org.atlassian.net/browse/ICU-20558
    Backport of: unicode-org/icu#632
    Fixes: #27379
    Co-authored-by: Refael Ackermann <refack@gmail.com>
    
    PR-URL: #27415
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
    srl295 authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    c7931e4 View commit details
    Browse the repository at this point in the history
  187. deps: backport ICU-20575 to fix err/crasher

    - Floating patch for ICU 64.x
    - includes test case
    
    ICU Bug: https://unicode-org.atlassian.net/browse/ICU-20575
    Backport of: unicode-org/icu#634
    Fixes: #27418
    
    PR-URL: #27435
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    srl295 authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    f91a818 View commit details
    Browse the repository at this point in the history
  188. deps: upgrade npm to v6.5.0

    PR-URL: #25234
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Lance Ball <lball@redhat.com>
    ljharb authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    e880904 View commit details
    Browse the repository at this point in the history
  189. deps: upgrade npm to 6.7.0

    PR-URL: #25804
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    zkat authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    d2413d6 View commit details
    Browse the repository at this point in the history
  190. deps: upgrade npm to 6.9.0

    Co-authored-by: Myles Borins <mylesborins@google.com>
    
    PR-URL: #26244
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    zkat authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    281b52d View commit details
    Browse the repository at this point in the history
  191. zlib: split JS code as prep for non-zlib-backed streams

    Split the `Zlib` class into `ZlibBase` and `Zlib` classes,
    to facilitate introduction of similar streams with minor
    implementation differences.
    
    Backport-PR-URL: #25228
    PR-URL: #24939
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    addaleax authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    dd8d1da View commit details
    Browse the repository at this point in the history
  192. deps: add brotli

    Co-authored-by: Anna Henningsen <anna@addaleax.net>
    
    Backport-PR-URL: #27681
    PR-URL: #24938
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Hackzzila authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    a9c68a0 View commit details
    Browse the repository at this point in the history
  193. deps,tools: update license-builder.sh and LICENSE

    Backport-PR-URL: #27681
    PR-URL: #24938
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Hackzzila authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    ce6fec5 View commit details
    Browse the repository at this point in the history
  194. zlib: add brotli support

    Refs: #20458
    
    Co-authored-by: Hackzzila <admin@hackzzila.com>
    
    Backport-PR-URL: #27681
    PR-URL: #24938
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    addaleax authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    53e9c85 View commit details
    Browse the repository at this point in the history
  195. benchmark,test: add brotli

    Co-authored-by: Hackzzila <admin@hackzzila.com>
    
    Backport-PR-URL: #27681
    PR-URL: #24938
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    addaleax authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    c670358 View commit details
    Browse the repository at this point in the history
  196. doc: add documentation for brotli support

    Backport-PR-URL: #27681
    PR-URL: #24938
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    addaleax authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    93edf90 View commit details
    Browse the repository at this point in the history
  197. test: fix zlib-brotli output assumptions

    On different architectures, it's possible for the compression algorithm
    to produce slightly different outputs. So, don't assume we will
    always get the same compressed output on all architectures. Instead,
    verify that the decompressing pre-compressed string functions
    correctly.
    
    Fixes: #25568
    
    Backport-PR-URL: #27681
    PR-URL: #25697
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    AdamMajer authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    3ca5f23 View commit details
    Browse the repository at this point in the history
  198. deps: update OpenSSL upgrade process

    Particularly, ensure that the commit messages are self-explanatory so
    that reviewers can understand that the large commits are the result of a
    simple repeatable process. This should make them easier to review.
    
    See: #26327 (comment)
    
    Backport-PR-URL: #27419
    PR-URL: #26378
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    sam-github authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    bbf5373 View commit details
    Browse the repository at this point in the history
  199. deps: upgrade openssl sources to 1.1.1b

    This updates all sources in deps/openssl/openssl with openssl-1.1.1b.
    
    Backport-PR-URL: #27419
    PR-URL: #26327
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    sam-github authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    ebe0b05 View commit details
    Browse the repository at this point in the history
  200. deps: openssl-1.1.1b no longer packages .gitignore

    Since its not packaged, we don't have to delete it, and the Makefile
    and update can become a (tiny) bit simpler.
    
    Backport-PR-URL: #27419
    PR-URL: #26327
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    sam-github authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    f270eee View commit details
    Browse the repository at this point in the history
  201. deps: add ARM64 Windows support in openssl

    This adds ARM64 Windows support in the OpenSSL build system.
    
    Since OpenSSL's ARM64 Windows support does not have support for ASM--
    that is, VC-WIN64-ARM inherits from VC-noCE-common which has no ASM
    files--`openssl_no_asm.gypi` is always used for building. This
    essentially forces the 'no-asm' Configure flag.
    
    Backport-PR-URL: #27419
    PR-URL: #26001
    Fixes: #25998
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    shigeki authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    5109c4f View commit details
    Browse the repository at this point in the history
  202. deps: add s390 asm rules for OpenSSL-1.1.1

    This is a floating patch against OpenSSL-1.1.1 to generate asm files
    with Makefile rules.
    
    Backport-PR-URL: #27419
    PR-URL: #25381
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Shigeki Ohtsu <ohtsu@ohtsu.org>
    Backport-PR-URL: #25688
    shigeki authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    6a6aa6f View commit details
    Browse the repository at this point in the history
  203. deps: update archs files for OpenSSL-1.1.1b

    `cd deps/openssl/config; make` updates all archs dependant files.
    
    Backport-PR-URL: #27419
    PR-URL: #26327
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    sam-github authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    be219bd View commit details
    Browse the repository at this point in the history
  204. tools: add 12.x to alternative docs versions

    PR-URL: #27658
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    richardlau authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    e01f3d3 View commit details
    Browse the repository at this point in the history
  205. doc,tools: updates for 6.x End-of-Life

    PR-URL: #27658
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    richardlau authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    98193d1 View commit details
    Browse the repository at this point in the history
  206. test: mark some known flakes

    PR-URL: #27225
    Refs: #26910
    Refs: #27219
    Refs: #26938
    Refs: #23089
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    refack authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    fe21dd3 View commit details
    Browse the repository at this point in the history
  207. test: move tick.js from test/async-hooks to test/common

    Backport-PR-URL: #23780
    PR-URL: #23551
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    arur authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    4733a56 View commit details
    Browse the repository at this point in the history
  208. doc: add "tick" function name and argument description

    Backport-PR-URL: #23780
    PR-URL: #23551
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    arur authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    2a98b9c View commit details
    Browse the repository at this point in the history
  209. deps: patch to fix *.onion MX query on c-ares

    c-ares rejects *.onion MX query but forgot to set `*bufp` to NULL. This
    will occur SegmentFault when free `*bufp`.
    
    I make this quick fix and then will make a PR for c-ares either.
    
    Backport-PR-URL: #27542
    PR-URL: #25840
    Fixes: #25839
    Refs: https://github.com/c-ares/c-ares/blob/955df98/ares_create_query.c#L97-L103
    Refs: https://github.com/c-ares/c-ares/blob/955df98/ares_query.c#L124
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    XadillaX authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    aceac05 View commit details
    Browse the repository at this point in the history
  210. fs: fix infinite loop with async recursive mkdir on Windows

    If `file` is a file then on Windows `mkdir` on `file/a` returns an
    `ENOENT` error while on POSIX the equivalent returns `ENOTDIR`. On the
    POSIX systems `ENOTDIR` would break out of the loop but on Windows the
    `ENOENT` would strip off the `a` and attempt to make `file` as a
    directory. This would return `EEXIST` but the code wasn't detecting
    that the existing path was a file and attempted to make `file/a` again.
    
    PR-URL: #27207
    Fixes: #27198
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Ben Coe <bencoe@gmail.com>
    richardlau authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    af301b2 View commit details
    Browse the repository at this point in the history
  211. test: use assert.rejects() and assert.throws()

    Replace try-catch blocks in tests with `assert.rejects()` and
    `assert.throws()`.
    
    PR-URL: #27207
    Fixes: #27198
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Ben Coe <bencoe@gmail.com>
    richardlau authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    38d8562 View commit details
    Browse the repository at this point in the history
  212. src: fix race condition in ~NodeTraceBuffer

    Libuv does not guarantee that handles have their close
    callbacks called in the order in which they were added
    (and in fact, currently calls them in reverse order).
    
    This patch ensures that the `flush_signal_` handle
    is no longer in use (i.e. its close callback has already
    been run) when we signal to the main thread that
    `~NodeTraceBuffer` may be destroyed.
    
    The same applies for `~NodeTraceWriter`.
    
    Credit for debugging goes to Gireesh Punathil.
    
    Fixes: #25512
    Co-authored-by: Gireesh Punathil <gpunathi@in.ibm.com>
    
    PR-URL: #25896
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    addaleax authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    bc5e04b View commit details
    Browse the repository at this point in the history
  213. src: extract common sockaddr creation code

    This commit extracts code to create sockaddr which is shared by both
    UDPWrap::DoBind and UDPWrap::DoSend.
    
    PR-URL: #26070
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    danbev authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    57469e6 View commit details
    Browse the repository at this point in the history
  214. test: add test about unencrypted PKCS#8 private key for RSA

    PR-URL: #26898
    Refs: #24928
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    sasurau4 authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    d22b913 View commit details
    Browse the repository at this point in the history
  215. test: add known_issues test for fs.copyFile()

    On macOS, fs.copyFile() may not respect file permissions. There is a PR
    for libuv that should fix this, but until it lands and we can either
    float a patch or upgrade libuv, have a known_issues test.
    
    Ref: #26936
    Ref: libuv/libuv#2233
    
    PR-URL: #26939
    Refs: #26936
    Refs: libuv/libuv#2233
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Trott authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    583dc5f View commit details
    Browse the repository at this point in the history
  216. test: fix expectation in test-bootstrap-modules

    Refs: #27124
    Refs: #25112
    
    PR-URL: #27727
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    MylesBorins committed May 16, 2019
    Copy the full SHA
    7b76acb View commit details
    Browse the repository at this point in the history
  217. deps: upgrade to libuv 1.25.0

    Backport-PR-URL: #27728
    PR-URL: #25571
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    cjihrig authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    e6275f9 View commit details
    Browse the repository at this point in the history
  218. deps: upgrade to libuv 1.26.0

    Notable changes:
    - A bug that could result in 100% CPU utilization in Node
      has been fixed (libuv/libuv#2162)
    - Node's report module will now include the entire Windows
      product name (libuv/libuv#2170)
    
    Backport-PR-URL: #27728
    PR-URL: #26037
    Fixes: #26013
    Fixes: #25875
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    cjihrig authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    8ea22bb View commit details
    Browse the repository at this point in the history
  219. test: update test for libuv update

    Starting in libuv 1.27.0, test-dgram-address.js should expect
    EBADF instead of EINVAL.
    
    Backport-PR-URL: #27728
    PR-URL: #26707
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    f76776b View commit details
    Browse the repository at this point in the history
  220. deps: upgrade to libuv 1.27.0

    Notable changes:
    - `statx()` is used to retrieve file birth times on
      supported platforms.
    - Improved support of running under Windows safe mode.
    - Add support for UDP connected sockets. Several functions
      can now return `UV_EBADF` instead of `UV_EINVAL`.
    - SunOS support is improved.
    
    Backport-PR-URL: #27728
    PR-URL: #26707
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    7e5ef4a View commit details
    Browse the repository at this point in the history
  221. os: implement os.release() using uv_os_uname()

    For non-Windows platforms, the happy path behavior should be
    identical. On Windows, uv_os_uname() attempts to use
    RtlGetVersion() before falling back to the deprecated
    GetVersionExW() that Node was previously using.
    
    Backport-PR-URL: #27728
    PR-URL: #25600
    Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    cjihrig authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    eef2deb View commit details
    Browse the repository at this point in the history
  222. test: add fs.watchFile() + worker.terminate() test

    Refs: #21093 (comment)
    
    PR-URL: #21179
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed May 16, 2019
    Copy the full SHA
    ec02117 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2019

  1. src: add WeakReference utility

    Add a simple `WeakReference` utility that we can use until the
    language provides something on its own.
    
    Backport-PR-URL: #27749
    PR-URL: #25993
    Fixes: #23862
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    addaleax authored and MylesBorins committed May 20, 2019
    Copy the full SHA
    b9ea23c View commit details
    Browse the repository at this point in the history
  2. domain: avoid circular memory references

    Avoid circular references that the JS engine cannot see through
    because it involves an `async id` ⇒ `domain` link.
    
    Using weak references is not a great solution, because it increases
    the domain module’s dependency on internals and the added calls into
    C++ may affect performance, but it seems like the least bad one.
    
    Backport-PR-URL: #27749
    PR-URL: #25993
    Fixes: #23862
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    addaleax authored and MylesBorins committed May 20, 2019
    Copy the full SHA
    25d73aa View commit details
    Browse the repository at this point in the history
  3. test: fix error code typo

    Backport-PR-URL: #27776
    PR-URL: #27024
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    cjihrig authored and MylesBorins committed May 20, 2019
    Copy the full SHA
    57eb6b2 View commit details
    Browse the repository at this point in the history
  4. deps: upgrade to libuv 1.28.0

    Notable changes:
    
    - uv_gettimeofday() has been added.
    - Streaming readdir() via the uv_fs_{open,read,close}dir() methods.
    - A macOS copyfile() permissions bug has been fixed.
    - A bug in uv_interface_addresses() on machines with multiple
      interfaces has been fixed.
    
    Fixes: #27273
    Backport-PR-URL: #27776
    PR-URL: #27241
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    cjihrig authored and MylesBorins committed May 20, 2019
    Copy the full SHA
    4c87c1b View commit details
    Browse the repository at this point in the history
  5. test: move known issue test to parallel

    As of libuv 1.28.0, this bug is fixed, and the test can be
    moved to parallel. This commit also updates an error code
    check to work on Windows.
    
    Backport-PR-URL: #27776
    PR-URL: #27241
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    cjihrig authored and MylesBorins committed May 20, 2019
    Copy the full SHA
    1fc2c5b View commit details
    Browse the repository at this point in the history
  6. test: unskip copyfile permission test

    This is no longer a flakey test, and should run everywhere.
    
    Backport-PR-URL: #27776
    PR-URL: #27241
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    cjihrig authored and MylesBorins committed May 20, 2019
    Copy the full SHA
    cda0d16 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2019

  1. doc,n-api: update matrix for N-API version 4

    The N-API version was bumped to 4 for Node.js 10 in
    #25633
    
    Refs: #25633
    
    PR-URL: #27832
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Shelley Vohr <codebytere@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    richardlau authored and BethGriggs committed May 28, 2019
    Copy the full SHA
    99e969e View commit details
    Browse the repository at this point in the history
  2. 2019-05-28, Version 10.16.0 'Dubnium' (LTS)

    Notable changes:
    
    - **deps**:
      - update ICU to 64.2 (Ujjwal Sharma)
        [#27361](#27361)
      - upgrade npm to 6.9.0 (Kat Marchán)
        [#26244](#26244)
      - upgrade openssl sources to 1.1.1b (Sam Roberts)
        [#26327](#26327)
      - upgrade to libuv 1.28.0 (cjihrig)
        [#27241](#27241)
    - **events**:
      - add once method to use promises with EventEmitter (Matteo Collina)
       [#26078](#26078)
    - **n-api**:
      - mark thread-safe function as stable (Gabriel Schulhof)
        [#25556](#25556)
    - **repl**:
      - support top-level for-await-of (Shelley Vohr)
        [#23841](#23841)
    - **zlib**:
      - add brotli support (Anna Henningsen)
        [#24938](#24938)
    
    PR-URL: #27514
    BethGriggs committed May 28, 2019
    Copy the full SHA
    308b8b9 View commit details
    Browse the repository at this point in the history