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

test: mark test-http2-settings-flood as flaky on Windows #25048

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

Commits on Nov 27, 2018

  1. doc: clarify symlink resolution for __filename

    Make it more explicit that symlinks are resolved in `__filename`.
    
    Refs: nodejs#22602 (comment)
    PR-URL: nodejs#24587
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott committed Nov 27, 2018
    Copy the full SHA
    bb04a8b View commit details
    Browse the repository at this point in the history
  2. lib: suppress crypto related env vars in help msg

    This commit adds a crypto check to suppress the crypto related
    environment variables introduced in Commit
    399bb3c ("doc: add NODE_DEBUG_NATIVE to API
    docs").
    
    Without this check, test/parallel/test-cli-node-print-help.js will fail
    when configured --without-ssl, as it some of the descriptions for these
    environment variables contain flags that the test is not expecting to find.
    
    PR-URL: nodejs#24556
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    danbev committed Nov 27, 2018
    Copy the full SHA
    567b9f8 View commit details
    Browse the repository at this point in the history
  3. src: simplify uptime and ppid return values

    This commit removes extraneous wrapping of return values
    in Uptime() and GetParentProcessId().
    
    PR-URL: nodejs#24562
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    cjihrig authored and danbev committed Nov 27, 2018
    Copy the full SHA
    11c17e4 View commit details
    Browse the repository at this point in the history
  4. lib: fix comment nits in bootstrap\loaders.js

    PR-URL: nodejs#24641
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    vsemozhetbyt committed Nov 27, 2018
    Copy the full SHA
    1db808c View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2018

  1. test: replace anonymous closure functions with arrow functions

    PR-URL: nodejs#24443
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    tpanthera authored and Trott committed Nov 28, 2018
    Copy the full SHA
    3ec8576 View commit details
    Browse the repository at this point in the history
  2. deps,http: http_parser set max header size to 8KB

    CVE-2018-12121
    
    PR-URL: nodejs-private/node-private#143
    Ref: nodejs-private/security#139
    Ref: nodejs-private/http-parser-private#2
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rod Vagg <rod@vagg.org>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    mcollina authored and rvagg committed Nov 28, 2018
    6
    Copy the full SHA
    1860352 View commit details
    Browse the repository at this point in the history
  3. deps,http: llhttp set max header size to 8KB

    CVE-2018-12121
    
    As per nodejs-private/node-private#149 for http_parse but for llhttp
    
    Ref: nodejs-private/node-private#143
    PR-URL: nodejs-private/node-private#149
    Reviewed-By: Matteo Collina <hello@matteocollina.com>
    rvagg committed Nov 28, 2018
    Copy the full SHA
    f413f7c View commit details
    Browse the repository at this point in the history
  4. http: fix header limit errors and test for llhttp

    Ref: nodejs-private/node-private#143
    PR-URL: nodejs-private/node-private#149
    Reviewed-By: Rod Vagg <rod@vagg.org>
    indutny authored and rvagg committed Nov 28, 2018
    Copy the full SHA
    af8d9e3 View commit details
    Browse the repository at this point in the history
  5. http: reset headers_nread_ on llhttp parser reuse

    PR-URL: nodejs-private/node-private#149
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
    rvagg committed Nov 28, 2018
    Copy the full SHA
    7bfcfc2 View commit details
    Browse the repository at this point in the history
  6. http,https: protect against slow headers attack

    CVE-2018-12122
    
    An attacker can send a char/s within headers and exahust the resources
    (file descriptors) of a system even with a tight max header length
    protection. This PR destroys a socket if it has not received the headers
    in 40s.
    
    PR-URL: nodejs-private/node-private#144
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mcollina authored and rvagg committed Nov 28, 2018
    Copy the full SHA
    ee618a7 View commit details
    Browse the repository at this point in the history
  7. url: avoid hostname spoofing w/ javascript protocol

    CVE-2018-12123
    
    Fixes: nodejs-private/security#205
    PR-URL: nodejs-private/node-private#145
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    mcollina authored and rvagg committed Nov 28, 2018
    Copy the full SHA
    b77f699 View commit details
    Browse the repository at this point in the history
  8. 2018-11-27, Version 6.15.0 'Boron' (LTS)

    This is a security release. All Node.js users should consult the security
    release summary at:
    
      https://nodejs.org/en/blog/vulnerability/november-2018-security-releases/
    
    for details on patched vulnerabilities.
    
    Fixes for the following CVEs are included in this release:
    
      * Node.js: Debugger port 5858 listens on any interface by default
        (CVE-2018-12120)
      * Node.js: Denial of Service with large HTTP headers (CVE-2018-12121)
      * Node.js: Slowloris HTTP Denial of Service (CVE-2018-12122 / Node.js)
      * Node.js: Hostname spoofing in URL parser for javascript protocol
        (CVE-2018-12123)
      * Node.js: HTTP request splitting (CVE-2018-12116)
      * OpenSSL: Timing vulnerability in DSA signature generation (CVE-2018-0734)
      * OpenSSL: Microarchitecture timing vulnerability in ECC scalar multiplication
        (CVE-2018-5407)
    
    Notable Changes:
    
    * debugger: Backport of nodejs#8106 to
      prevent the debugger from listening on `0.0.0.0`. It now defaults to
      `127.0.0.1`. Reported by Ben Noordhuis. (CVE-2018-12120 / Ben Noordhuis).
    * deps: Upgrade to OpenSSL 1.0.2q, fixing CVE-2018-0734 and CVE-2018-5407
    * http:
      * Headers received by HTTP servers must not exceed 8192 bytes in total to
        prevent possible Denial of Service attacks. Reported by Trevor Norris.
        (CVE-2018-12121 / Matteo Collina)
      * A timeout of 40 seconds now applies to servers receiving HTTP headers. This
        value can be adjusted with `server.headersTimeout`. Where headers are not
        completely received within this period, the socket is destroyed on the next
        received chunk. In conjunction with `server.setTimeout()`, this aids in
        protecting against excessive resource retention and possible Denial of
        Service. Reported by Jan Maybach (liebdich.com).
        (CVE-2018-12122 / Matteo Collina)
      * Two-byte characters are now strictly disallowed for the `path` option in
        HTTP client requests. Paths containing characters outside of the range
        `\u0021` - `\u00ff` will now be rejected with a `TypeError`. This behavior
        can be reverted if necessary by supplying the
        `--security-revert=CVE-2018-12116` command line argument (this is not
        recommended). Reported as security concern for Node.js 6 and 8 by
        Arkadiy Tetelman (lob.com), fixed by backporting a change by Benno
        Fünfstück applied to Node.js 10 and later.
        (CVE-2018-12116 / Matteo Collina)
    * url: Fix a bug that would allow a hostname being spoofed when parsing
      URLs with `url.parse()` with the `'javascript:'` protocol. Reported by
      Martin Bajanik (kenticocloud.com). (CVE-2018-12123 / Matteo Collina)
    
    PR-URL: nodejs-private/node-private#153
    rvagg committed Nov 28, 2018
    Copy the full SHA
    957aeba View commit details
    Browse the repository at this point in the history
  9. 2018-11-27, Version 8.14.0 'Carbon' (LTS)

    This is a security release. All Node.js users should consult the security
    release summary at:
    
      https://nodejs.org/en/blog/vulnerability/november-2018-security-releases/
    
    for details on patched vulnerabilities.
    
    Fixes for the following CVEs are included in this release:
    
      * Node.js: Denial of Service with large HTTP headers (CVE-2018-12121)
      * Node.js: Slowloris HTTP Denial of Service (CVE-2018-12122 / Node.js)
      * Node.js: Hostname spoofing in URL parser for javascript protocol
        (CVE-2018-12123)
      * Node.js: HTTP request splitting (CVE-2018-12116)
      * OpenSSL: Timing vulnerability in DSA signature generation (CVE-2018-0734)
      * OpenSSL: Microarchitecture timing vulnerability in ECC scalar multiplication
        (CVE-2018-5407)
    
    Notable Changes:
    
    * deps: Upgrade to OpenSSL 1.0.2q, fixing CVE-2018-0734 and CVE-2018-5407
    * http:
      * Headers received by HTTP servers must not exceed 8192 bytes in total to
        prevent possible Denial of Service attacks. Reported by Trevor Norris.
        (CVE-2018-12121 / Matteo Collina)
      * A timeout of 40 seconds now applies to servers receiving HTTP headers. This
        value can be adjusted with `server.headersTimeout`. Where headers are not
        completely received within this period, the socket is destroyed on the next
        received chunk. In conjunction with `server.setTimeout()`, this aids in
        protecting against excessive resource retention and possible Denial of
        Service. Reported by Jan Maybach (liebdich.com).
      * Two-byte characters are now strictly disallowed for the `path` option in
        HTTP client requests. Paths containing characters outside of the range
        `\u0021` - `\u00ff` will now be rejected with a `TypeError`. This behavior
        can be reverted if necessary by supplying the
        `--security-revert=CVE-2018-12116` command line argument (this is not
        recommended). Reported as security concern for Node.js 6 and 8 by
        Arkadiy Tetelman (lob.com), fixed by backporting a change by Benno
        Fünfstück applied to Node.js 10 and later.
        (CVE-2018-12116 / Matteo Collina)
    * url: Fix a bug that would allow a hostname being spoofed when parsing URLs
      with `url.parse()` with the `'javascript:'` protocol. Reported by
      Martin Bajanik (kenticocloud.com). (CVE-2018-12123 / Matteo Collina)
    
    PR-URL: nodejs-private/node-private#154
    rvagg committed Nov 28, 2018
    Copy the full SHA
    59fdaed View commit details
    Browse the repository at this point in the history
  10. 2018-11-27, Version 10.14.0 'Dubnium' (LTS)

    This is a security release. All Node.js users should consult the security
    release summary at:
    
      https://nodejs.org/en/blog/vulnerability/november-2018-security-releases/
    
    for details on patched vulnerabilities.
    
    Fixes for the following CVEs are included in this release:
    
      * Node.js: Denial of Service with large HTTP headers (CVE-2018-12121)
      * Node.js: Slowloris HTTP Denial of Service (CVE-2018-12122 / Node.js)
      * Node.js: Hostname spoofing in URL parser for javascript protocol
        (CVE-2018-12123)
      * OpenSSL: Timing vulnerability in DSA signature generation (CVE-2018-0734)
      * OpenSSL: Timing vulnerability in ECDSA signature generation (CVE-2019-0735)
    
    Notable Changes:
    
    * deps: Upgrade to OpenSSL 1.1.0j, fixing CVE-2018-0734 and CVE-2019-0735
    * http:
      * Headers received by HTTP servers must not exceed 8192 bytes in total to
        prevent possible Denial of Service attacks. Reported by Trevor Norris.
        (CVE-2018-12121 / Matteo Collina)
      * A timeout of 40 seconds now applies to servers receiving HTTP headers. This
        value can be adjusted with `server.headersTimeout`. Where headers are not
        completely received within this period, the socket is destroyed on the next
        received chunk. In conjunction with `server.setTimeout()`, this aids in
        protecting against excessive resource retention and possible Denial of
        Service. Reported by Jan Maybach (liebdich.com).
    * url: Fix a bug that would allow a hostname being spoofed when parsing URLs
      with `url.parse()` with the `'javascript:'` protocol. Reported by
      Martin Bajanik (kenticocloud.com). (CVE-2018-12123 / Matteo Collina)
    
    PR-URL: nodejs-private/node-private#155
    rvagg committed Nov 28, 2018
    Copy the full SHA
    9910cc2 View commit details
    Browse the repository at this point in the history
  11. 2018-11-27, Version 11.3.0 (Current)

    This is a security release. All Node.js users should consult the security
    release summary at:
    
    https://nodejs.org/en/blog/vulnerability/november-2018-security-releases/
    
    for details on patched vulnerabilities.
    
    Fixes for the following CVEs are included in this release:
    
      * Node.js: Denial of Service with large HTTP headers (CVE-2018-12121)
      * Node.js: Slowloris HTTP Denial of Service (CVE-2018-12122 / Node.js)
      * Node.js: Hostname spoofing in URL parser for javascript protocol
        (CVE-2018-12123)
      * OpenSSL: Timing vulnerability in DSA signature generation (CVE-2018-0734)
      * OpenSSL: Timing vulnerability in ECDSA signature generation (CVE-2019-0735)
    
    Notable Changes:
    
    * deps: Upgrade to OpenSSL 1.1.0j, fixing CVE-2018-0734 and CVE-2019-0735
    * http:
      * Headers received by HTTP servers must not exceed 8192 bytes in total to
        prevent possible Denial of Service attacks. Reported by Trevor Norris.
        (CVE-2018-12121 / Matteo Collina)
      * A timeout of 40 seconds now applies to servers receiving HTTP headers. This
        value can be adjusted with `server.headersTimeout`. Where headers are not
        completely received within this period, the socket is destroyed on the next
        received chunk. In conjunction with `server.setTimeout()`, this aids in
        protecting against excessive resource retention and possible Denial of
        Service. Reported by Jan Maybach (liebdich.com).
    * url: Fix a bug that would allow a hostname being spoofed when parsing URLs
      with `url.parse()` with the `'javascript:'` protocol. Reported by
      Martin Bajanik (kenticocloud.com). (CVE-2018-12123 / Matteo Collina)
    
    PR-URL: nodejs-private/node-private#156
    rvagg committed Nov 28, 2018
    Copy the full SHA
    cc399cf View commit details
    Browse the repository at this point in the history
  12. tools,doc: fix version picker bug in html.js

    The processing of strings like `8.x` into a major version number and a
    minor version number results in minor versions that are `NaN`. In that
    situation, since the picker will link to the latest docs in the
    major version, include the version in the version picker.
    
    Fixes: nodejs#23979
    PR-URL: nodejs#24638
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Trott committed Nov 28, 2018
    Copy the full SHA
    6f64cda View commit details
    Browse the repository at this point in the history
  13. doc: document fs.write limitation with TTY

    Fixes: nodejs#24550
    
    PR-URL: nodejs#24571
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
    mcollina authored and Trott committed Nov 28, 2018
    Copy the full SHA
    086482d View commit details
    Browse the repository at this point in the history
  14. test: add test for socket.end callback

    PR-URL: nodejs#24087
    Refs: nodejs#23937
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Ajido authored and Trott committed Nov 28, 2018
    Copy the full SHA
    628f955 View commit details
    Browse the repository at this point in the history
  15. test: fix argument order in assert.strictEqual

    PR-URL: nodejs#24594
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    feng jianmei authored and Trott committed Nov 28, 2018
    Copy the full SHA
    46094e4 View commit details
    Browse the repository at this point in the history
  16. stream: use arrow function for callback

    In lib/internal/streams/async_iterator.js, use arrow function for
    callback.
    
    PR-URL: nodejs#24609
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ron Korving <ron@ronkorving.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    DoiChris authored and Trott committed Nov 28, 2018
    Copy the full SHA
    7bc5300 View commit details
    Browse the repository at this point in the history
  17. test: update strictEqual argument order

    PR-URL: nodejs#24622
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    VeysonD authored and Trott committed Nov 28, 2018
    Copy the full SHA
    ec396e4 View commit details
    Browse the repository at this point in the history
  18. doc: revise accepting-modifications in guide

    Revise the "Accepting Modifications" section of the Collaborator Guide.
    
    PR-URL: nodejs#24650
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Trott committed Nov 28, 2018
    Copy the full SHA
    7d18e92 View commit details
    Browse the repository at this point in the history
  19. test: use arrow functions in callbacks

    PR-URL: nodejs#24441
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    apoorvanand authored and Trott committed Nov 28, 2018
    Copy the full SHA
    b5c5d20 View commit details
    Browse the repository at this point in the history
  20. process: emit unhandled warning immediately

    PR-URL: nodejs#24632
    Fixes: nodejs#24209
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    apapirovski authored and Trott committed Nov 28, 2018
    Copy the full SHA
    3ce9305 View commit details
    Browse the repository at this point in the history
  21. n-api,test: remove last argument in assert.strictEqual()

    PR-URL: nodejs#24584
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    susantruong authored and Trott committed Nov 28, 2018
    Copy the full SHA
    1066b68 View commit details
    Browse the repository at this point in the history
  22. test: fix arguments order in assert.strictEqual

    PR-URL: nodejs#24621
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    na9amura authored and gireeshpunathil committed Nov 28, 2018
    Copy the full SHA
    a6fdbaf View commit details
    Browse the repository at this point in the history
  23. lib: convert to Arrow Function

    convert to Arrow Function and test by `./tools/test.py tick-processor`
    PR-URL: nodejs#24615
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Daiki Arai authored and gireeshpunathil committed Nov 28, 2018
    Copy the full SHA
    b02cac5 View commit details
    Browse the repository at this point in the history
  24. test: use arrow function

    In `test/parallel/test-child-process-env.js`, callbacks use
    anonymous closure functions. It is safe to replace them with arrow
    functions since these callbacks don't contain references to `this`,
    `super` or `arguments`. This results in shorter functions.
    
    PR-URL: nodejs#24482
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@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: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    sagirk authored and gireeshpunathil committed Nov 28, 2018
    Copy the full SHA
    484ad3b View commit details
    Browse the repository at this point in the history
  25. doc: add antsmartian to collaborators

    Fixes: nodejs#24340
    
    PR-URL: nodejs#24655
    Refs: nodejs#24340
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    antsmartian committed Nov 28, 2018
    Copy the full SHA
    c3474f5 View commit details
    Browse the repository at this point in the history
  26. build: only check REPLACEME & DEP...X for releases

    PR-URL: nodejs#24575
    Refs: nodejs#24551
    Refs: nodejs#12958
    Refs: nodejs#12957
    Refs: nodejs#8325
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    rvagg committed Nov 28, 2018
    Copy the full SHA
    89e8fc4 View commit details
    Browse the repository at this point in the history
  27. test: make test-uv-binding-constant JS engine neutral

    The error message validation in test-uv-binding-constant depends on the
    JS engine. The text will be different in node-chakracore than in
    V8-based versions of Node.js. Remove the message validation. Test that
    it is a TypeError only. We should only validate error messages when we
    control the contents of that error message (and not even necessarily
    then, but that is a minimum requirement). V8 and other underlying
    engines can change the error message at any time and that should not
    require us to change our tests (as changing tests suggests a
    semver-major change).
    
    PR-URL: nodejs#24666
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott committed Nov 28, 2018
    Copy the full SHA
    51f07ff View commit details
    Browse the repository at this point in the history
  28. lib: convert to arrow function

    PR-URL: nodejs#24623
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    horihiro authored and gireeshpunathil committed Nov 28, 2018
    Copy the full SHA
    b8bd4b4 View commit details
    Browse the repository at this point in the history
  29. test: fix arguments order in assert.strictEqual

    PR-URL: nodejs#24608
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    grimrose authored and gireeshpunathil committed Nov 28, 2018
    Copy the full SHA
    6074363 View commit details
    Browse the repository at this point in the history
  30. test: fix arguments order in assert.strictEqual

    PR-URL: nodejs#24607
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    sota1235 authored and gireeshpunathil committed Nov 28, 2018
    Copy the full SHA
    f351c5d View commit details
    Browse the repository at this point in the history
  31. doc: remove trailing whitespace

    PR-URL: nodejs#24642
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    watilde authored and Trott committed Nov 28, 2018
    Copy the full SHA
    d0bf5ca View commit details
    Browse the repository at this point in the history
  32. tools: update remark-preset-lint-node to v1.3.1

    PR-URL: nodejs#24642
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    watilde authored and Trott committed Nov 28, 2018
    Copy the full SHA
    8ce0d4f View commit details
    Browse the repository at this point in the history
  33. console: lazy load process.stderr and process.stdout

    This patch:
    
    - Refactors the Console constructor: moves the property binding code
      into and the writable streams binding code into two methods defined
      on the Console.prototype with symbols.
    - Refactors the global console creation: we only need to share the
      property binding code from the Console constructor. To bind the
      streams we can lazy load `process.stdio` and `process.stderr`
      so that we don't create these streams when they are not used.
      This significantly reduces the number of modules loaded during
      bootstrap. Also, by calling the refactored-out method directly
      we can skip the unnecessary typechecks when creating the global
      console and there is no need to create a temporary Console
      anymore.
    - Refactors the error handler creation and the `write` method:
      use a `kUseStdout` symbol to tell the internals which stream
      should be loaded from the console instance. Also put the
      `write` method on the Console prototype so it just loads
      other properties directly off the console instance which simplifies
      the call sites.
    
    Also leaves a few TODOs for further refactoring of the console
    bootstrap.
    
    PR-URL: nodejs#24534
    Reviewed-By: Gus Caplan <me@gus.host>
    joyeecheung committed Nov 28, 2018
    Copy the full SHA
    3337836 View commit details
    Browse the repository at this point in the history
  34. doc: fix nits in http(s) server.headersTimeout

    * Fix sort orders of sections and bottom references.
    * Fix links.
    * Unify spelling.
    * Add missing YAML block.
    
    PR-URL: nodejs#24697
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    vsemozhetbyt committed Nov 28, 2018
    Copy the full SHA
    acedf1a View commit details
    Browse the repository at this point in the history
  35. lib: rearm pre-existing signal event registrations

    process.on('somesignal', ...) semantics expect the process to catch the
    signal and invoke the associated handler. `setupSignalHandlers` perform
    the additional task of preparing the libuv signal handler and associate
    it with the event handler. It is possible that by the time this is
    setup there could be pre-existing registrations that pre-date this setup
    in the boot sequence.
    
    So rearm pre-existing signal event registrations to get upto speed.
    
    Ref: nodejs#22712 (comment)
    
    PR-URL: nodejs#24651
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    gireeshpunathil authored and Trott committed Nov 28, 2018
    Copy the full SHA
    25ad8de View commit details
    Browse the repository at this point in the history
  36. src: use NativeModuleLoader to compile per_context.js

    This patch introduces a NativeModuleLoader::CompileAndCall that
    can run a JS script under `lib/` as a function called
    with a null receiver and arguments specified from the C++ layer.
    Since all our bootstrappers are wrapped in functions in the
    source to avoid leaking variables into the global scope anyway,
    this allows us to remove that extra indentation in the JS source code.
    
    As a start we move the compilation and execution of per_context.js
    to NativeModuleLoader::CompileAndCall(). This patch also changes the
    return value of NativeModuleLoader::LookupAndCompile() to a MaybeLocal
    since the caller has to take care of the result being empty
    anyway.
    
    This patch reverts the previous design of having the
    NativeModuleLoader::Compile() method magically know about the
    parameters of the function - until we have tooling
    in-place to guess the parameter names in the source with some
    annotation, it's more readable to allow the caller to specify
    the parameters along with the arguments values.
    
    PR-URL: nodejs#24660
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    joyeecheung authored and Trott committed Nov 28, 2018
    Copy the full SHA
    8041380 View commit details
    Browse the repository at this point in the history
  37. test: test and docs for detached fork process

    This tests child process fork component in detached mode
    by spawning a parent process that creates a child process.
    We kill the parent process and check if the child is still
    running.
    
    Fixes: nodejs#17592
    
    PR-URL: nodejs#24524
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    nanomosfet authored and Trott committed Nov 28, 2018
    Copy the full SHA
    f051737 View commit details
    Browse the repository at this point in the history
  38. doc: describe current HTTP header size limit

    Document that the limit was changed from 80KB to 8KB in 1860352.
    
    Fixes: nodejs#24693
    
    PR-URL: nodejs#24700
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    sam-github authored and Trott committed Nov 28, 2018
    Copy the full SHA
    063e8fb View commit details
    Browse the repository at this point in the history
  39. doc: sort bottom-of-file markdown links

    Reapply nodejs#12726
    
    It would be nice to have the sort check applied as part of doc testing,
    but this change doesn't implement that.
    
    PR-URL: nodejs#24679
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    sam-github authored and Trott committed Nov 28, 2018
    Copy the full SHA
    64cea5a View commit details
    Browse the repository at this point in the history
  40. test: validate fs.rename() when NODE_TEST_DIR on separate mount

    When testing fs.rename() of an non-existent file, use a destination path
    which is in the same directory. Otherwise we might trigger an `EXDEV`
    error if NODE_TEST_DIR is a separate device than the current working
    directory.
    
    Fixes: nodejs#21669
    
    PR-URL: nodejs#24707
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    drewfish authored and Trott committed Nov 28, 2018
    Copy the full SHA
    8344f24 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2018

  1. lib: chenged anonymous function to arrow function

    PR-URL: nodejs#24605
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    kojiGit55 authored and Trott committed Nov 29, 2018
    Copy the full SHA
    acfcd78 View commit details
    Browse the repository at this point in the history
  2. src: migrate to new V8 array API

    This change migrates the deprecated V8 Array API to new APIs.
    
    PR-URL: nodejs#24613
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    kt3k authored and Trott committed Nov 29, 2018
    Copy the full SHA
    27139fc View commit details
    Browse the repository at this point in the history
  3. lib: change callbacks to arrow function

    PR-URL: nodejs#24625
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Naturalclar authored and Trott committed Nov 29, 2018
    Copy the full SHA
    0f18a40 View commit details
    Browse the repository at this point in the history
  4. test: reach res._dump after abort ClientRequest

    PR-URL: nodejs#24191
    Reviewed-By: Ouyang Yadong <oyydoibh@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    tadhgcreedon authored and Trott committed Nov 29, 2018
    Copy the full SHA
    f5b8853 View commit details
    Browse the repository at this point in the history
  5. lib: convert to arrow function in fs.js

    PR-URL: nodejs#24604
    Reviewed-By: Ouyang Yadong <oyydoibh@gmail.com>
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    exoego authored and Trott committed Nov 29, 2018
    Copy the full SHA
    32b0958 View commit details
    Browse the repository at this point in the history
  6. src: replace create new Array

    PR-URL: nodejs#24618
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    koh110 authored and gireeshpunathil committed Nov 29, 2018
    Copy the full SHA
    1dfa1a2 View commit details
    Browse the repository at this point in the history
  7. src: simplify LibuvStreamWrap::DoWrite

    PR-URL: nodejs#24588
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and danbev committed Nov 29, 2018
    Copy the full SHA
    5e2ecd4 View commit details
    Browse the repository at this point in the history
  8. test: fix the arguments order in assert.strictEqual

    PR-URL: nodejs#24626
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    rt33 authored and Trott committed Nov 29, 2018
    Copy the full SHA
    c481799 View commit details
    Browse the repository at this point in the history
  9. test: fix the arguments order in assert.strictEqual

    I working at "Code and Learn" on Node fest 2018 in Japan.
    
    Refs: nodejs#24431
    
    PR-URL: nodejs#24624
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    sigwyg authored and Trott committed Nov 29, 2018
    Copy the full SHA
    d12d023 View commit details
    Browse the repository at this point in the history
  10. win, build: skip building cctest by default

    vcbuild will build cctest only if it will be run, or for CI and
    release builds
    
    PR-URL: nodejs#21408
    Reviewed-By: João Reis <reis@janeasystems.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    bzoz committed Nov 29, 2018
    Copy the full SHA
    2c473d6 View commit details
    Browse the repository at this point in the history
  11. build, tools, win: add .S files support to GYP

    Makes GYP properly handle .S files.
    
    Fixes: nodejs/node-v8#89
    
    PR-URL: nodejs#24553
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    bzoz committed Nov 29, 2018
    Copy the full SHA
    9920dbc View commit details
    Browse the repository at this point in the history
  12. test: mark test-vm-timeout-escape-nexttick flaky

    This is a known failure so mark it such, so that
    CI is green / amber while the issue is being progressed.
    
    PR-URL: nodejs#24712
    Refs: nodejs#24620
    Refs: nodejs#24120
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    gireeshpunathil authored and Trott committed Nov 29, 2018
    Copy the full SHA
    9e33e86 View commit details
    Browse the repository at this point in the history
  13. stream: make async iterator .next() always resolve

    See: nodejs/readable-stream#387
    
    PR-URL: nodejs#24668
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    mcollina committed Nov 29, 2018
    Copy the full SHA
    fa1535a View commit details
    Browse the repository at this point in the history
  14. 2018-11-29, Version 10.14.1 'Dubnium' (LTS)

    Notable Changes:
    
    * **win/msi**: Revert changes to installer causing issues on Windows systems.
    
    PR-URL: nodejs#24711
    MylesBorins committed Nov 29, 2018
    Copy the full SHA
    9efcfd3 View commit details
    Browse the repository at this point in the history
  15. process: fix omitting -- from process.execArgv

    This was essentially a typo that went unnoticed because we
    didn’t have tests for this particular situation.
    
    Fixes: nodejs#24647
    
    PR-URL: nodejs#24654
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    addaleax authored and Trott committed Nov 29, 2018
    Copy the full SHA
    83d6cb9 View commit details
    Browse the repository at this point in the history
  16. win, fs: detect if symlink target is a directory

    On Windows creating a symlink to a directory will not work unless extra
    'dir' parameter is passed. This adds a check if link target is a
    directory, and if so automatically use 'dir' when creating symlink.
    
    PR-URL: nodejs#23724
    Refs: nodejs#23691
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rod Vagg <rod@vagg.org>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    bzoz authored and Trott committed Nov 29, 2018
    Copy the full SHA
    cda6b20 View commit details
    Browse the repository at this point in the history
  17. test: fix the arguments order in assert.strictEqual

    PR-URL: nodejs#24620
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    pastak authored and Trott committed Nov 29, 2018
    Copy the full SHA
    97fedef View commit details
    Browse the repository at this point in the history
  18. http2: add compat support for nested array headers

    writeHead supports an array of arrays containing header name and values.
    Compatibility between http2 & http1 even though this is not documented.
    
    Fixes: nodejs#24466
    
    PR-URL: nodejs#24665
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    sebdeckers authored and Trott committed Nov 29, 2018
    Copy the full SHA
    5dacbf5 View commit details
    Browse the repository at this point in the history
  19. process: refactor the bootstrap mode branching for readability

    This patch refactors the branches for choosing the mode to run
    Node.js in `internal/bootstrap/node.js`. Instead of inlining the
    decision making all in `startup`, we create a `startExecution()`
    function which either detects and start the non-user-code mode,
    or prepares for user code execution (worker setup, preloading modules)
    and starts user code execution.
    We use early returns when we decide the mode to run Node.js in for fewer
    indentations and better readability.
    
    This patch also adds a few comments about the command-line switches
    and a few TODOs to remove underscore properties on `process` that
    are mainly used for bootstrap mode branching. It also includes
    a few other refactoring such as inlining functions/variables
    that are not reused and removing the default argument of
    `evalScript` for better clarity.
    
    PR-URL: nodejs#24673
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    joyeecheung authored and Trott committed Nov 29, 2018
    Copy the full SHA
    7b8058a View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2018

  1. src: remove unused variables in node_util.cc

    Currently two warnings are generated regarding unused variables.
    This commit removes the unused variables.
    
    PR-URL: nodejs#24717
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    danbev authored and Trott committed Nov 30, 2018
    Copy the full SHA
    171b810 View commit details
    Browse the repository at this point in the history
  2. test: use arrow syntax for anonymous callbacks

    PR-URL: nodejs#24691
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Shubhamurkade authored and Trott committed Nov 30, 2018
    Copy the full SHA
    01c5c16 View commit details
    Browse the repository at this point in the history
  3. lib: move setupAllowedFlags() into per_thread.js

    Because most of its code (the getter) has nothing to do with
    the actual bootstrapping and it is run per-thread.
    
    PR-URL: nodejs#24704
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Christopher Hiller <boneskull@boneskull.com>
    joyeecheung committed Nov 30, 2018
    Copy the full SHA
    36f483b View commit details
    Browse the repository at this point in the history
  4. test: cover path empty string case

    In path.toNamespacePath was a case when the path
    was empty string and it wasn't covered in the tests.
    
    I covered this case both in Windows and Unix environments.
    
    PR-URL: nodejs#24569
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    lakatostamas authored and jasnell committed Nov 30, 2018
    Copy the full SHA
    13920ef View commit details
    Browse the repository at this point in the history
  5. test: verify order of error in h2 server stream

    Currently the order of error / closing of an h2 stream is consistent
    in 10.x, 11.x, and master. There appears to be an unexpected behavior
    difference in 8.x. This test will be used to bisect the commit that will
    fix this behavior change and ensure there are no future regressions.
    
    PR-URL: nodejs#24685
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    MylesBorins committed Nov 30, 2018
    Copy the full SHA
    e03bcb1 View commit details
    Browse the repository at this point in the history
  6. esm: refactor dynamic modules

    This is a change from the ecmascript-modules fork.
    There is no change to behavior and we would like to
    upstream to reduce the delta between our repos.
    
    Refs: https://github.com/nodejs/ecmascript-modules#9
    
    PR-URL: nodejs#24560
    Refs: nodejs/ecmascript-modules#9
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    MylesBorins committed Nov 30, 2018
    Copy the full SHA
    2931c50 View commit details
    Browse the repository at this point in the history
  7. lib: do not register DOMException in a module

    Instead of registering it in a global scope of a native module
    and expecting that it only gets evaluated when the module is actually
    compiled and run and will not be evaluated because the module can
    be cached, directly register the DOMException constructor
    onto Environment during bootstrap for clarity, since this is
    a side effect that has to happen during bootstrap.
    
    PR-URL: nodejs#24708
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung committed Nov 30, 2018
    Copy the full SHA
    976065d View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2018

  1. src: move C++ binding/addon related code into node_binding{.h, .cc}

    This patch:
    
    - Moves the C++ binding/addon related code out of
      node_internals.h/node.cc and into dedicated files
      node_binding.h/node_binding.cc, and only puts the code resued
      by other files into the header.
    - Introduce a node::binding namespace so that code exposed to
      other files can be easily recognized.
    
    PR-URL: nodejs#24701
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    joyeecheung authored and Trott committed Dec 1, 2018
    Copy the full SHA
    3d66826 View commit details
    Browse the repository at this point in the history
  2. src: elevate v8 namespaces referenced

    PR-URL: nodejs#24657
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    juanarbol authored and Trott committed Dec 1, 2018
    Copy the full SHA
    d4273c4 View commit details
    Browse the repository at this point in the history
  3. test: mark test_threadsafe_function/test as flaky

    The test fails consistently on windows-fanned with vs2017.
    mark it as flaky while the issue is being progressed, and
    to keep CI green / amber.
    
    Ref: nodejs#23621
    PR-URL: nodejs#24714
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    gireeshpunathil committed Dec 1, 2018
    Copy the full SHA
    2b1dd6c View commit details
    Browse the repository at this point in the history
  4. src: remove unused context variable in node_serdes

    Currently the following compiler warnings is generated:
    ../src/node_serdes.cc:400:18:
    warning: unused variable 'context' [-Wunused-variable]
      Local<Context> context = ctx->env()->context();
                     ^
    1 warning generated.
    
    This commit removes the unused variable.
    
    PR-URL: nodejs#24713
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and Trott committed Dec 1, 2018
    Copy the full SHA
    9c01151 View commit details
    Browse the repository at this point in the history
  5. src: elevate v8 namespaces for node_process.cc

    Elevate namespace for repeated entities.
    Resolved conflicts.
    
    PR-URL: nodejs#24578
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Jayasankar-m authored and Trott committed Dec 1, 2018
    Copy the full SHA
    bbb9d37 View commit details
    Browse the repository at this point in the history
  6. tools: check for git tag before promoting release

    PR-URL: nodejs#24670
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    rvagg authored and Trott committed Dec 1, 2018
    Copy the full SHA
    84c2157 View commit details
    Browse the repository at this point in the history
  7. tools: only sign release if promotion successful

    Ref: nodejs/build#1596
    
    PR-URL: nodejs#24669
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    rvagg authored and Trott committed Dec 1, 2018
    Copy the full SHA
    f34ca9f View commit details
    Browse the repository at this point in the history
  8. tools: don't use GH API for commit message checks

    Fixes: nodejs#24567
    
    PR-URL: nodejs#24574
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    rvagg authored and Trott committed Dec 1, 2018
    Copy the full SHA
    76faccc View commit details
    Browse the repository at this point in the history
  9. url: use SafeSet to filter known special protocols

    Avoids a maintenance hazard when reviewers assume that
    `hostlessProtocol` and `slashedProtocol` are disjoint.
    
    The following may be counter-intuitive:
    
    ```js
    // These objects seem to have no keys in common
    const hostlessProtocol = { 'javascript': true };
    const slashedProtocol = { 'http': true };
    // A reasonable reviewer may assumes bothTrue is never truthy
    function bothTrue(lowerProto) {
      return hostlessProtocol[lowerProto] && slashedProtocol[lowerProto];
    }
    // But
    console.log(Boolean(bothTrue('constructor')));  // true
    ```
    
    This change uses SafeSet instead of plain-old objects.
    
    ----
    
    Rejected alternative:
    
    We could have used object with a `null` prototype as lookup tables
    so that `lowerProto` is never treated as a key into `Object.prototype`.
    
    ```js
    const hostlessProtocol = { __proto__: null, 'javascript': true };
    const slashedProtocol = { __proto__: null, 'http': true };
    
    function bothTrue(lowerProto) {
      return hostlessProtocol[lowerProto] && slashedProtocol[lowerProto];
    }
    
    console.log(Boolean(bothTrue('constructor')));  // false
    ```
    
    PR-URL: nodejs#24703
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mikesamuel authored and Trott committed Dec 1, 2018
    Copy the full SHA
    0d23118 View commit details
    Browse the repository at this point in the history
  10. build: fix c++ code coverage on macOS

    PR-URL: nodejs#24520
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    refack authored and Trott committed Dec 1, 2018
    Copy the full SHA
    eb6741b View commit details
    Browse the repository at this point in the history
  11. timers: fix setTimeout expiration logic

    Fix the timer logic to be the same as v10.30.0.
    
    Fixes: nodejs#24203
    
    PR-URL: nodejs#24214
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    suguru03 authored and Trott committed Dec 1, 2018
    Copy the full SHA
    e9de435 View commit details
    Browse the repository at this point in the history
  12. Revert "url: make the context non-enumerable"

    This reverts commit 5e1bf05, as it
    causes major performance regressions during object construction.
    
    Refs: nodejs#24218
    
    PR-URL: nodejs#24495
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    TimothyGu authored and Trott committed Dec 1, 2018
    Copy the full SHA
    e143802 View commit details
    Browse the repository at this point in the history
  13. src: set HAS_USERNAME/PASSWORD more strictly

    Fixes: nodejs#24211
    
    PR-URL: nodejs#24495
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    TimothyGu authored and Trott committed Dec 1, 2018
    Copy the full SHA
    639f641 View commit details
    Browse the repository at this point in the history
  14. url: reuse existing context in href setter

    Correctness-wise, this removes side effects in the href setter if
    parsing fails. Style-wise, this allows removing the parse() wrapper
    function around C++ _parse().
    
    Also fix an existing bug with whitespace trimming in C++ that was
    previously circumvented by additionally trimming the input in
    JavaScript.
    
    Fixes: nodejs#24345
    Refs: nodejs#24218 (comment)
    
    PR-URL: nodejs#24495
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    TimothyGu authored and Trott committed Dec 1, 2018
    Copy the full SHA
    f2be20b View commit details
    Browse the repository at this point in the history
  15. url: simplify native URL object construction

    Co-authored-by: Joyee Cheung <joyeec9h3@gmail.com>
    
    PR-URL: nodejs#24495
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    TimothyGu authored and Trott committed Dec 1, 2018
    Copy the full SHA
    f0b6b39 View commit details
    Browse the repository at this point in the history
  16. test: minor refactoring of onticketkeycallback

    The motivation for this commit is to make the the onticketkeycallback
    function more readable.
    
    PR-URL: nodejs#24718
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and Trott committed Dec 1, 2018
    Copy the full SHA
    82ceb5e View commit details
    Browse the repository at this point in the history
  17. src: use arraysize instead of hardcode number

    PR-URL: nodejs#24473
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    leeight authored and addaleax committed Dec 1, 2018
    Copy the full SHA
    adbf947 View commit details
    Browse the repository at this point in the history
  18. lib: move lib/console.js to lib/internal/console/constructor.js

    This is a broken commit: it's here so that git interpret this
    as a file move and preserve most of the history of the Console
    constructor.
    
    PR-URL: nodejs#24709
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung committed Dec 1, 2018
    Copy the full SHA
    ce8b0e1 View commit details
    Browse the repository at this point in the history
  19. console: split console into global.js and constructor.js

    Since we do not actually use the Console constructor to
    instantiate the global console, move the two piece of
    code into two different JS files for clarity, and make
    console.js a mere re-export of the global console.
    The hope is to make the global console, a namespace, more
    web-compatible while keeping the Console constructor
    available for backwards compatibility.
    
    PR-URL: nodejs#24709
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung committed Dec 1, 2018
    Copy the full SHA
    cfc2559 View commit details
    Browse the repository at this point in the history
  20. console: move the inspector console wrapping in a separate file

    Move the wrapping of the inspector console in a separate file
    for clarity. In addition, save the original console from the
    VM explicitly via an exported property
    `require('internal/console/inspector').consoleFromVM`
    that `require('inspector').console` can alias to it later,
    instead of hanging the original console onto `per_thread.js`
    during bootstrap and counting on that `per_thread.js`
    only gets evaluated once and gets cached.
    
    PR-URL: nodejs#24709
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung committed Dec 1, 2018
    Copy the full SHA
    edb8f22 View commit details
    Browse the repository at this point in the history
  21. doc: cookie is joined using '; '

    document that incoming cookie headers are joined using '; '.
    
    PR-URL: nodejs#24740
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Flarna authored and Trott committed Dec 1, 2018
    Copy the full SHA
    67d4123 View commit details
    Browse the repository at this point in the history
  22. test: show stdout and stderr in test-cli-syntax when it fails

    To help debugging the flake with the log from the CI.
    
    PR-URL: nodejs#24720
    Refs: nodejs#24403
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    joyeecheung authored and Trott committed Dec 1, 2018
    Copy the full SHA
    3fb627b View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2018

  1. http: fix error return in Finish()

    `http_parser_execute(..., nullptr, 0)` returns either `0` or `1`. The
    expectation is that no error must be returned if it is `0`, and if
    it is `1` - a `Error` object must be returned back to user.
    
    The introduction of `llhttp` and the refactor that happened during it
    accidentally removed the error-returning code. This commit reverts it
    back to its original state.
    
    Fix: nodejs#24585
    PR-URL: nodejs#24738
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    indutny committed Dec 2, 2018
    Copy the full SHA
    175164e View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2018

  1. http2: make compat writeHead not crash if the stream is destroyed

    Fixes: nodejs#24470
    
    PR-URL: nodejs#24723
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    mcollina authored and Trott committed Dec 3, 2018
    Copy the full SHA
    32fed93 View commit details
    Browse the repository at this point in the history
  2. build: fix line length off by one error

    While running the test suite the progress bar shows former line
    endings if the new line is shorter than the former line. The length
    was calculated without the line ending. It is now an empty string
    to prevent the off by one error instead of using extra whitespace.
    
    PR-URL: nodejs#24748
    Refs: nodejs#24486
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    BridgeAR authored and danbev committed Dec 3, 2018
    Copy the full SHA
    3099647 View commit details
    Browse the repository at this point in the history
  3. build: add line break as soon tests are done

    PR-URL: nodejs#24748
    Refs: nodejs#24486
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    BridgeAR authored and danbev committed Dec 3, 2018
    Copy the full SHA
    5b90902 View commit details
    Browse the repository at this point in the history
  4. crypto: harden bignum-to-binary conversions

    PR-URL: nodejs#24719
    Refs: nodejs#24645
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bnoordhuis authored and danbev committed Dec 3, 2018
    Copy the full SHA
    3513b0c View commit details
    Browse the repository at this point in the history
  5. tls: add code for ERR_TLS_INVALID_PROTOCOL_METHOD

    Add an error code property to invalid `secureProtocol` method
    exceptions.
    
    PR-URL: nodejs#24729
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    sam-github authored and danbev committed Dec 3, 2018
    Copy the full SHA
    b05b330 View commit details
    Browse the repository at this point in the history
  6. test: increase assert test coverage

    PR-URL: nodejs#24745
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    BridgeAR authored and danbev committed Dec 3, 2018
    Copy the full SHA
    15b0247 View commit details
    Browse the repository at this point in the history
  7. test: check invalid argument error for option

    This commit adds a test for the validateArguments function in
    TextDecoder.
    
    PR-URL: nodejs#24736
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    nanomosfet authored and danbev committed Dec 3, 2018
    Copy the full SHA
    f8f9601 View commit details
    Browse the repository at this point in the history
  8. util,console: handle symbols as defined in the spec

    The `console` functions rely on the `util.format()` behavior. It
    did not follow the whatwg spec when it comes to symbols in combination
    with the %d, %i and %f format specifiers. Using a symbol argument in
    combination with one of these specifiers resulted in an error instead
    of returning `'NaN'`. This is now fixed by this patch.
    
    PR-URL: nodejs#23708
    Refs: https://console.spec.whatwg.org/#formatter
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    BridgeAR committed Dec 3, 2018
    Copy the full SHA
    1fe824b View commit details
    Browse the repository at this point in the history
  9. util: improve internal isError() validation

    The current internal isError function checked the toString value
    instead of using the more precise `util.types.isNativeError()` check.
    The `instanceof` check is not removed due to possible errors that
    are not native but still an instance of Error.
    
    PR-URL: nodejs#24746
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    BridgeAR committed Dec 3, 2018
    Copy the full SHA
    2b5f2bc View commit details
    Browse the repository at this point in the history
  10. tools: fix eslint usage for Node.js 8 and before

    IDEs like vscode use older Node.js versions that do not yet support
    the new try catch syntax. This makes sure eslint continues to work
    in these IDEs as before.
    
    PR-URL: nodejs#24753
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    BridgeAR committed Dec 3, 2018
    Copy the full SHA
    5f18991 View commit details
    Browse the repository at this point in the history
  11. doc: add missing changes entry

    The `util.format()` behavior changed recently. Add the changes entry
    to document the new BigInt behavior.
    
    PR-URL: nodejs#24758
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    BridgeAR committed Dec 3, 2018
    Copy the full SHA
    e00639e View commit details
    Browse the repository at this point in the history
  12. assert: fix loose deepEqual map comparison

    Loose map comparison had an logic error. It will now be properly
    compared.
    
    PR-URL: nodejs#24749
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    BridgeAR committed Dec 3, 2018
    Copy the full SHA
    2eff120 View commit details
    Browse the repository at this point in the history
  13. assert,util: fix sparse array comparison

    Comparing sparse arrays did not work properly. That is fixed and
    tests were added to verify that everything works as expected.
    
    This had an impact on `util.isDeepStrictEqual()` and
    `assert.deepStrictEqual()` and their counterpart
    `assert.notDeepStrictEqual()`.
    
    PR-URL: nodejs#24749
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    BridgeAR committed Dec 3, 2018
    Copy the full SHA
    4dd56a3 View commit details
    Browse the repository at this point in the history
  14. test: improve comparison coverage to 100%

    PR-URL: nodejs#24749
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    BridgeAR committed Dec 3, 2018
    Copy the full SHA
    2f11fe3 View commit details
    Browse the repository at this point in the history
  15. 2018-12-03, Version 6.15.1 'Boron' (LTS)

    Notable Changes:
    
    This is a patch release to address a bad backport of the fix for "Slowloris
    HTTP Denial of Service" (CVE-2018-12122). Node.js 6.15.0 misapplies the headers
    timeout to an entire keep-alive HTTP session, resulting in prematurely
    disconnected sockets.
    
    PR-URL: nodejs#24803
    Refs: nodejs#24796
    Refs: nodejs#24760
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    rvagg committed Dec 3, 2018
    Copy the full SHA
    dbdc908 View commit details
    Browse the repository at this point in the history
  16. src: use custom TryCatch subclass

    PR-URL: nodejs#24751
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    devsnek committed Dec 3, 2018
    Copy the full SHA
    f084e06 View commit details
    Browse the repository at this point in the history
  17. doc: fix REPLACEME for tls min/max protocol option

    Fill in correct pr-url: value in the YAML changelog that was missing
    from f512f5e. The stanza was also sorted in the wrong order, most
    recent is supposed to be in the beginning of the changes, not the end.
    
    PR-URL: nodejs#24759
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    sam-github committed Dec 3, 2018
    Copy the full SHA
    5202b70 View commit details
    Browse the repository at this point in the history
  18. doc: make release README link be consistent with text

    PR-URL: nodejs#24783
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    ZYSzys authored and vsemozhetbyt committed Dec 3, 2018
    Copy the full SHA
    d7b8b7f View commit details
    Browse the repository at this point in the history
  19. doc: streamline Accepting Modifications in Collaborator Guide

    Editing a sentence I missed simplifying in the last pass on that
    section.
    
    PR-URL: nodejs#24807
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Trott committed Dec 3, 2018
    Copy the full SHA
    2e03b76 View commit details
    Browse the repository at this point in the history
  20. doc: fix added version of randomFill+randomFillSync

    PR-URL: nodejs#24812
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    watson committed Dec 3, 2018
    Copy the full SHA
    fa19ce9 View commit details
    Browse the repository at this point in the history
  21. src: use NativeModuleLoader to compile all the bootstrappers

    This patch moves all the bootstrapper compilation to use
    NativeModuleLoader::CompileAndCall(). With this we no longer
    need to mess with the error decoration and handling any more -
    there is no point in handling the JS error occurred during bootstrapping
    by ourselves, we should just crash or let the VM handle it.
    
    PR-URL: nodejs#24775
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    joyeecheung committed Dec 3, 2018
    Copy the full SHA
    edcb950 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2018

  1. doc: hide undocumented object artifacts in async_hooks

    The examples show `process.stdout.fd` as a means to use synchronous
    writes in async_hooks context. However this is an undocumented field,
    so showcase a file write example instead.
    
    Fixes: nodejs#22873
    
    PR-URL: nodejs#24741
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    gireeshpunathil authored and Trott committed Dec 4, 2018
    Copy the full SHA
    9159fb7 View commit details
    Browse the repository at this point in the history
  2. http: destroy the socket on parse error

    Destroy the socket if the `'clientError'` event is emitted and there is
    no listener for it.
    
    Fixes: nodejs#24586
    
    PR-URL: nodejs#24757
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    lpinca authored and Trott committed Dec 4, 2018
    Copy the full SHA
    ff7d053 View commit details
    Browse the repository at this point in the history
  3. src: move READONLY_* macros into util.h

    Move these macros to util.h so they can be shared among different
    C++ files.
    Also, renames `READONLY_BOOLEAN_PROPERTY` to `READONLY_TRUE_PROPERTY`
    (since it sets the property to true), and use `ToV8Value` in
    `READONLY_STRING_PROPERTY`.
    
    PR-URL: nodejs#24774
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    joyeecheung authored and Trott committed Dec 4, 2018
    Copy the full SHA
    7761881 View commit details
    Browse the repository at this point in the history
  4. src: move version metadata into node_metadata{.h, .cc}

    This patch moves the computation of version metadata from node.cc
    into node_metadata{.h, .cc}, and creates a macro that can be
    used to iterate over the available version keys (v8, uv, .etc).
    This makes the code clearer as now we no longer need to add
    all the headers in node.cc just to compute the versions, and
    makes it easier to reuse the version definitions.
    
    PR-URL: nodejs#24774
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    joyeecheung authored and Trott committed Dec 4, 2018
    Copy the full SHA
    d17d7bd View commit details
    Browse the repository at this point in the history
  5. test: add flag scenario in test-fs-write-file-sync

    fs.writeFileSync takes flag param to define the file opening
    semantics. Add a scenario that covers flags as well.
    
    PR-URL: nodejs#24766
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    gireeshpunathil authored and Trott committed Dec 4, 2018
    Copy the full SHA
    02cd706 View commit details
    Browse the repository at this point in the history
  6. src: fix type mismatch warnings from missing priv

    Registration initialization functions are expected to have a 4th
    argument, a void*, so add them where necessary to fix the warnings.
    
    PR-URL: nodejs#24737
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    sam-github committed Dec 4, 2018
    Copy the full SHA
    0c65314 View commit details
    Browse the repository at this point in the history
  7. lib: remove duplicated noop function

    PR-URL: nodejs#24770
    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: Weijia Wang <starkwang@126.com>
    ZYSzys authored and Trott committed Dec 4, 2018
    Copy the full SHA
    a89b873 View commit details
    Browse the repository at this point in the history
  8. test: check for the correct strict equal arguments order

    This activates a eslint rule to verify that the `assert.strictEqual()`
    arguments are in the correct order.
    
    PR-URL: nodejs#24752
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    BridgeAR authored and Trott committed Dec 4, 2018
    Copy the full SHA
    9e12409 View commit details
    Browse the repository at this point in the history
  9. test: use ES2017 syntax in test-fs-open-*

    Update test-fs-open-flags to take advantage of destructuring and default
    values.
    
    Update test-fs-open-mode-mask to use a ternary to make use of a
    constant possible.
    
    PR-URL: nodejs#23031
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    jy95 authored and Trott committed Dec 4, 2018
    Copy the full SHA
    841caef View commit details
    Browse the repository at this point in the history
  10. doc: add a note on usage scope of AliasedBuffer

    Explain usage context and scope of AliasedBuffer API and its
    function in the C++ style guide. Provide an example code.
    
    Fixes: nodejs#22977
    
    PR-URL: nodejs#24724
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    gireeshpunathil authored and Trott committed Dec 4, 2018
    Copy the full SHA
    447b390 View commit details
    Browse the repository at this point in the history
  11. test: fix common.mustNotCall() usage in HTTP test

    The argument to `common.mustNotCall()` is a message, not a function.
    
    PR-URL: nodejs#24750
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    addaleax authored and Trott committed Dec 4, 2018
    Copy the full SHA
    585380d View commit details
    Browse the repository at this point in the history
  12. fs: simplify fs.promises warning logic

    fs.promises is lazy loaded. Instead of using a seaparate
    Boolean flag to track whether or not it has been loaded, just
    inspect the state of the lazy loaded module itself.
    
    PR-URL: nodejs#24788
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    cjihrig authored and Trott committed Dec 4, 2018
    Copy the full SHA
    7ac939e View commit details
    Browse the repository at this point in the history
  13. dns: simplify dns.promises warning logic

    dns.promises is lazy loaded. Instead of using a seaparate
    Boolean flag to track whether or not it has been loaded, just
    inspect the state of the lazy loaded module itself.
    
    PR-URL: nodejs#24788
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    cjihrig authored and Trott committed Dec 4, 2018
    Copy the full SHA
    54f8453 View commit details
    Browse the repository at this point in the history
  14. process: provide dummy stdio for non-console Windows apps

    The only known condition where we could not provide appropriate
    stdio streams so far were non-console Windows applications.
    Since this issue has come up a few times in our issue tracker now,
    switch to providing dummy streams for these cases instead.
    
    If there are other valid cases in which `uv_guess_handle` fails,
    and where there is a more sensible way to provide stdio,
    we’ll probably still find out because the streams don’t work
    properly either way.
    
    Refs: nodejs/help#1251
    
    PR-URL: nodejs#20640
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    addaleax authored and Trott committed Dec 4, 2018
    Copy the full SHA
    ab6c09b View commit details
    Browse the repository at this point in the history
  15. doc: revise code review guidelines

    Revise the Code Reviews section of the Collaborator Guide to remove
    redundant statements, simplify text and structure for easier
    comprehension, and remove material that does not reflect current
    practices.
    
    PR-URL: nodejs#24790
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Trott committed Dec 4, 2018
    Copy the full SHA
    83ee137 View commit details
    Browse the repository at this point in the history
  16. test: partition N-API tests

    Partition test/addons-napi into test/js-native-api and test/node-api to
    isolate the Node.js-agnostic portion of the N-API tests from the
    Node.js-specific portion.
    
    PR-URL: nodejs#24557
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Gabriel Schulhof committed Dec 4, 2018
    Copy the full SHA
    938e118 View commit details
    Browse the repository at this point in the history
  17. build: make tar.xz creation opt-out, fail if no xz

    PR-URL: nodejs#24551
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    rvagg authored and Trott committed Dec 4, 2018
    Copy the full SHA
    5e80a9a View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2018

  1. doc: use author's titles for linked resources

    Update Collaborator Guide links to use the title of the item being
    linked.
    
    PR-URL: nodejs#24837
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Trott committed Dec 5, 2018
    Copy the full SHA
    e9a1fee View commit details
    Browse the repository at this point in the history
  2. doc: add triaging section to releases.md

    Add a section on triaging commits and PRs to land in releases.
    
    PR-URL: nodejs#20165
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    BethGriggs authored and Trott committed Dec 5, 2018
    Copy the full SHA
    a845d7a View commit details
    Browse the repository at this point in the history
  3. test: add .gitignore file for node-api

    Refs: nodejs#24557 (comment)
    
    PR-URL: nodejs#24839
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Trott committed Dec 5, 2018
    Copy the full SHA
    61e332b View commit details
    Browse the repository at this point in the history
  4. test: remove unused addons-napi directory

    Refs: nodejs#24557 (comment)
    
    PR-URL: nodejs#24839
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Trott committed Dec 5, 2018
    Copy the full SHA
    06e5afa View commit details
    Browse the repository at this point in the history
  5. build: fix check-xz for platforms defaulting to sh

    5e80a9a introduced check-xz, using `[[ .. ]]` syntax, but this is a
    bash builtin and some platforms default to `sh` when doing
    `$(shell ...)` in Makefiles.
    
    Fix is to make it sh friendly.
    
    Ref: nodejs#24551
    
    PR-URL: nodejs#24841
    Refs: nodejs#24551
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    rvagg authored and Trott committed Dec 5, 2018
    Copy the full SHA
    6ccc80c View commit details
    Browse the repository at this point in the history
  6. lib: remove inherits() usage

    This switches all `util.inherits()` calls to use
    `Object.setPrototypeOf()` instead. In fact, `util.inherits()` is
    mainly a small wrapper around exactly this function while adding
    the `_super` property on the object as well.
    
    Refs: nodejs#24395
    
    PR-URL: nodejs#24755
    Refs: nodejs#24395
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    BridgeAR authored and addaleax committed Dec 5, 2018
    Copy the full SHA
    dcc82b3 View commit details
    Browse the repository at this point in the history
  7. lib: use ES6 class inheritance style

    PR-URL: nodejs#24755
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    BridgeAR authored and addaleax committed Dec 5, 2018
    Copy the full SHA
    5925754 View commit details
    Browse the repository at this point in the history
  8. doc: add internal functionality details of util.inherits

    PR-URL: nodejs#24755
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    BridgeAR authored and addaleax committed Dec 5, 2018
    Copy the full SHA
    89740a4 View commit details
    Browse the repository at this point in the history
  9. src,lib: make process.binding('config') internal

    PR-URL: nodejs#23400
    Refs: nodejs#22160
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Masashi Hirano authored and Trott committed Dec 5, 2018
    Copy the full SHA
    63b0655 View commit details
    Browse the repository at this point in the history
  10. doc: add authority and scheme psuedo headers

    This pull request adds the request psuedo headers authority
    and scheme to the http2 documentation
    
    PR-URL: nodejs#24777
    Fixes: nodejs#23825
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    kenigbolo authored and vsemozhetbyt committed Dec 5, 2018
    Copy the full SHA
    bb01597 View commit details
    Browse the repository at this point in the history
  11. win: do not use Boxstarter to install tools

    Use Chocolatey directly in the tools installation script.
    
    PR-URL: nodejs#24677
    Fixes: nodejs#23838
    Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    joaocgreis committed Dec 5, 2018
    Copy the full SHA
    76afdff View commit details
    Browse the repository at this point in the history
  12. tools: replace rollup with ncc

    Replace rollup + plugins + config file with zeit/ncc package designed to
    do the particular task that we're leveraging rollup for but with
    zero-ish configuration. (rollup can do a whole lot more, but we're using
    a tiny portion of its functionality.)
    
    PR-URL: nodejs#24813
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott committed Dec 5, 2018
    Copy the full SHA
    630fed8 View commit details
    Browse the repository at this point in the history
  13. buffer: remove checkNumberType()

    checkNumberType() was a very thin wrapper around validateNumber().
    This commit removes checkNumberType() and used validateNumber()
    directly instead.
    
    PR-URL: nodejs#24815
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    cjihrig authored and Trott committed Dec 5, 2018
    Copy the full SHA
    adbdaf9 View commit details
    Browse the repository at this point in the history
  14. doc: list all versions WHATWG URL api was added

    PR-URL: nodejs#24847
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    watson authored and Trott committed Dec 5, 2018
    Copy the full SHA
    7868b6a View commit details
    Browse the repository at this point in the history
  15. doc: mention util depth default change

    This was missed when reverting a former commit. To make sure the
    history is kept in place, this just adds a new entry to state the
    revert.
    
    PR-URL: nodejs#24805
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    BridgeAR authored and Trott committed Dec 5, 2018
    Copy the full SHA
    2a55e71 View commit details
    Browse the repository at this point in the history
  16. url: support LF, CR and TAB in pathToFileURL

    Fixes: nodejs#23696
    
    PR-URL: nodejs#23720
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    demurgos authored and Trott committed Dec 5, 2018
    Copy the full SHA
    ef0c178 View commit details
    Browse the repository at this point in the history
  17. lib: remove some useless assignments

    PR-URL: nodejs#23199
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    devsnek authored and Trott committed Dec 5, 2018
    Copy the full SHA
    366aaf5 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2018

  1. build,win: pack the install-tools scripts for dist

    PR-URL: nodejs#24233
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: João Reis <reis@janeasystems.com>
    refack authored and Trott committed Dec 6, 2018
    Copy the full SHA
    2fab5d5 View commit details
    Browse the repository at this point in the history
  2. build: add '.git' to 'make lint-py' exclude list

    When run locally [flake8](http://flake8.pycqa.org) was creating false positives by scanning the __.git__ directory.  This PR prevents that behavior.
    
    PR-URL: nodejs#24802
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    cclauss authored and Trott committed Dec 6, 2018
    Copy the full SHA
    7bcbf04 View commit details
    Browse the repository at this point in the history
  3. http: make parser choice a runtime flag

    Add a `--http-parser=llhttp` vs `--http-parser=traditional`
    command line switch, to make testing and comparing the new
    llhttp-based implementation easier.
    
    PR-URL: nodejs#24739
    Refs: nodejs#24730
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    addaleax authored and danbev committed Dec 6, 2018
    Copy the full SHA
    aa943d0 View commit details
    Browse the repository at this point in the history
  4. Revert "repl: handle buffered string logic on finish"

    This reverts commit eb42c1e.
    
    PR-URL: nodejs#24804
    Refs: nodejs#24231
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    BridgeAR authored and Trott committed Dec 6, 2018
    Copy the full SHA
    fd2467a View commit details
    Browse the repository at this point in the history
  5. Revert "lib: repl multiline history support"

    This reverts commit dd7a3d2.
    
    PR-URL: nodejs#24804
    Refs: nodejs#24231
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    BridgeAR authored and Trott committed Dec 6, 2018
    Copy the full SHA
    b1ada6c View commit details
    Browse the repository at this point in the history
  6. tools: prepare tools/install.py for Python 3

    PR-URL: nodejs#24800
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    cclauss authored and addaleax committed Dec 6, 2018
    Copy the full SHA
    b8fbe69 View commit details
    Browse the repository at this point in the history
  7. deps: update V8 to 7.1.302.28

    PR-URL: nodejs#23423
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    targos committed Dec 6, 2018
    Copy the full SHA
    9b4bf7d View commit details
    Browse the repository at this point in the history
  8. build: reset embedder string to "-node.0"

    PR-URL: nodejs#23423
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    targos committed Dec 6, 2018
    Copy the full SHA
    3c332ab View commit details
    Browse the repository at this point in the history
  9. src: update NODE_MODULE_VERSION to 68

    Major V8 updates are usually API/ABI incompatible with previous
    versions. This commit adapts NODE_MODULE_VERSION for V8 7.1.
    
    Refs: https://github.com/nodejs/CTC/blob/master/meetings/2016-09-28.md
    
    PR-URL: nodejs#23423
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    targos committed Dec 6, 2018
    Copy the full SHA
    2360344 View commit details
    Browse the repository at this point in the history
  10. deps: sync V8 gypfiles with 7.1

    Enable v8_enable_embedded_builtins.
    Reorder conditions proccessing for `run_mksnapshot`.
    
    deps,v8: link with `atomic` for platforms lacking CAS
    Fixes: nodejs/node-v8#81
    
    Co-authored-by: Michaël Zasso <targos@protonmail.com>
    PR-URL: nodejs#23423
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    refack and targos committed Dec 6, 2018
    Copy the full SHA
    5620727 View commit details
    Browse the repository at this point in the history
  11. deps: cherry-pick 0483e9a from upstream V8

    Original commit message:
    
        [api] Allow embedder to construct an Array from Local<Value>*
    
        Currently to obtain a v8::Array out of a C array or a std::vector,
        one needs to loop through the elements and call array->Set() multiple
        times, and these calls go into v8::Object::Set() which can be slow.
        This patch adds a new Array::New overload that converts a
        Local<Value>* with known size into a Local<Array>.
    
        Change-Id: I0a768f0e18eec51e78d58be455482ec6425ca188
        Reviewed-on: https://chromium-review.googlesource.com/c/1317049
        Reviewed-by: Yang Guo <yangguo@chromium.org>
        Reviewed-by: Adam Klein <adamk@chromium.org>
        Commit-Queue: Joyee Cheung <joyee@igalia.com>
        Cr-Commit-Position: refs/heads/master@{#57261}
    
    Refs: v8/v8@0483e9a
    
    PR-URL: nodejs#24125
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Yang Guo <yangguo@chromium.org>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    joyeecheung authored and targos committed Dec 6, 2018
    Copy the full SHA
    0e09076 View commit details
    Browse the repository at this point in the history
  12. deps: cherry-pick b87d408 from upstream V8

    Original commit message:
    
        [heap-profiler] Fix a use-after-free when snapshots are deleted
    
        If a caller starts the sampling heap profiler and takes a snapshot,
        and then deletes the snapshot before the sampling has completed, a
        use-after-free will occur on the StringsStorage pointer.
    
        The same issue applies for StartTrackingHeapObjects which shares the
        same StringsStorage object.
    
        Bug: v8:8373
        Change-Id: I5d69d60d3f9465f9dd3b3bef107c204e0fda0643
        Reviewed-on: https://chromium-review.googlesource.com/c/1301477
        Commit-Queue: Peter Marshall <petermarshall@chromium.org>
        Reviewed-by: Alexei Filippov <alph@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#57114}
    
    PR-URL: nodejs#24272
    Refs:
    v8/v8@b87d408
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    psmarshall authored and targos committed Dec 6, 2018
    Copy the full SHA
    e36e9dd View commit details
    Browse the repository at this point in the history
  13. deps: cherry-pick 073073b from upstream V8

    Original commit message:
    
        [profiler] introduce API to enable detailed source positions
    
        This allows Node.js to enable detailed source positions for optimized code
        early on, without having to pass a flag string.
    
        R=petermarshall@chromium.org
    
        Change-Id: Ie74ea41f600cf6e31acbe802116df4976ccf1c75
        Reviewed-on: https://chromium-review.googlesource.com/c/1319757
        Commit-Queue: Yang Guo <yangguo@chromium.org>
        Reviewed-by: Peter Marshall <petermarshall@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#57380}
    
    Refs: v8/v8@073073b
    
    PR-URL: nodejs#24515
    Refs: nodejs#24274
    Refs: nodejs#24394
    Refs: nodejs#24393
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Peter Marshall <petermarshall@chromium.org>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    hashseed authored and targos committed Dec 6, 2018
    Copy the full SHA
    d088007 View commit details
    Browse the repository at this point in the history
  14. deps: cherry-pick 88f8fe1 from upstream V8

    Original commit message:
    
        Fix collection iterator preview with deleted entries
    
        We used to assume that we know the remaining entries returned by the
        iterator based on the current index. However, that is not accurate,
        since entries skipped by the current index could be deleted.
    
        In the new approach, we allocate conservatively and shrink the result.
    
        R=neis@chromium.org
    
        Bug: v8:8433
        Change-Id: I38a3004dc3af292daabb454bb76f38d65ef437e8
        Reviewed-on: https://chromium-review.googlesource.com/c/1325966
        Commit-Queue: Yang Guo <yangguo@chromium.org>
        Reviewed-by: Georg Neis <neis@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#57360}
    
    Refs: v8/v8@88f8fe1
    
    PR-URL: nodejs#24514
    Refs: nodejs#24053
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    hashseed authored and targos committed Dec 6, 2018
    Copy the full SHA
    3d6d974 View commit details
    Browse the repository at this point in the history
  15. test: update postmortem metadata test for V8 7.1

    The V8 7.1 update requires the following adjustments to the
    postmortem debugging metadata constants:
    
    - v8dbg_class_JSArrayBuffer__byte_length__Object
      Use: v8dbg_class_JSArrayBuffer__byte_length__size_t
    
    - v8dbg_class_JSArrayBufferView__raw_byte_length__Object
      Use: v8dbg_class_JSArrayBufferView__byte_length__size_t
    
    - v8dbg_class_JSArrayBufferView__raw_byte_offset__Object
      Use: v8dbg_class_JSArrayBufferView__byte_offset__size_t
    
    - v8dbg_class_String__length__SMI
      Use: v8dbg_class_String__length__int32_t
    
    Refs: v8/v8@5cfe1a6
    Refs: v8/v8@c7a0049
    
    PR-URL: nodejs#23423
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    cjihrig authored and targos committed Dec 6, 2018
    Copy the full SHA
    379bf1a View commit details
    Browse the repository at this point in the history
  16. src: update postmortem constant

    Update a postmortem constant used by the ustack helper which
    changed while moving to V8 7.1.
    
    PR-URL: nodejs#23423
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    cjihrig authored and targos committed Dec 6, 2018
    Copy the full SHA
    3d25544 View commit details
    Browse the repository at this point in the history
  17. src: explicitly allow JS in ReadHostObject

    PR-URL: nodejs#23423
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    hashseed authored and targos committed Dec 6, 2018
    Copy the full SHA
    a6f69eb View commit details
    Browse the repository at this point in the history
  18. tools: prepare tools/genv8constants.py for Python 3

    PR-URL: nodejs#24801
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    cclauss authored and Trott committed Dec 6, 2018
    Copy the full SHA
    ae3ee28 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2018

  1. test: prepare test/message/testcfg.py for Python 3

    PR-URL: nodejs#24793
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    cclauss authored and Trott committed Dec 7, 2018
    Copy the full SHA
    87592d1 View commit details
    Browse the repository at this point in the history
  2. test: refactor test-fs-write-file-sync.js

    This commit reduces shared state by introducing scopes and
    block scoped variables. It also makes the monkey patching used
    by the test more robust.
    
    PR-URL: nodejs#24834
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    cjihrig authored and Trott committed Dec 7, 2018
    Copy the full SHA
    df19b07 View commit details
    Browse the repository at this point in the history
  3. process: simplify check in previousValueIsValid()

    This commit replaces a call to Number.isFinite() with a
    cheaper typeof check. The subsequent range checks ensure that
    the checked value is finite.
    
    PR-URL: nodejs#24836
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    cjihrig authored and Trott committed Dec 7, 2018
    Copy the full SHA
    4ebb3f3 View commit details
    Browse the repository at this point in the history
  4. path: replace assertPath() with validator

    The path module's assertPath() does exactly what the
    validateString() validator does, so this commit updates
    path to use validateString() instead. A couple drive by
    updates to validateString() outside of assertPath() are
    also included.
    
    PR-URL: nodejs#24840
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    cjihrig authored and Trott committed Dec 7, 2018
    Copy the full SHA
    f962f97 View commit details
    Browse the repository at this point in the history
  5. src: remove unused env variables in node_util

    Currently the following compiler warnings are generated:
    ../src/node_util.cc:59:16:
    warning: unused variable 'env' [-Wunused-variable]
      Environment* env = Environment::GetCurrent(args);
                   ^
    ../src/node_util.cc:78:16:
    warning: unused variable 'env' [-Wunused-variable]
      Environment* env = Environment::GetCurrent(args);
                   ^
    2 warnings generated.
    
    This commit removes the two unused variables.
    
    PR-URL: nodejs#24820
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    danbev committed Dec 7, 2018
    Copy the full SHA
    59b46a4 View commit details
    Browse the repository at this point in the history
  6. src: remove finalized_ member from Hash class

    This commit removes the finalized_ member from the Hash class as it does
    not seem to be used in any valuable way. Commit c75f87c ("crypto:
    refactor the crypto module") removed the check where it was previously
    used.
    
    PR-URL: nodejs#24822
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    danbev committed Dec 7, 2018
    Copy the full SHA
    cbf0e5a View commit details
    Browse the repository at this point in the history
  7. doc: revise Waiting for Approvals documentation

    Revise the Waiting for Approvals section of the Collaborator Guide. Keep
    sentences short and clear. Split long paragraphs into shorter
    paragraphs.
    
    PR-URL: nodejs#24845
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Trott committed Dec 7, 2018
    Copy the full SHA
    07018b7 View commit details
    Browse the repository at this point in the history
  8. tools: prepare tools/test.py for Python 3

    PR-URL: nodejs#24799
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    cclauss authored and danbev committed Dec 7, 2018
    Copy the full SHA
    29204f4 View commit details
    Browse the repository at this point in the history
  9. test: prepare test/pseudo-tty/testcfg.py for Python 3

    PR-URL: nodejs#24791
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    cclauss authored and Trott committed Dec 7, 2018
    Copy the full SHA
    6028f70 View commit details
    Browse the repository at this point in the history
  10. tools: prepare tools/specialize_node_d.py for Python 3

    PR-URL: nodejs#24797
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    cclauss authored and Trott committed Dec 7, 2018
    Copy the full SHA
    7468c56 View commit details
    Browse the repository at this point in the history
  11. tools: prepare tools/js2c.py for Python 3

    PR-URL: nodejs#24798
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    cclauss authored and addaleax committed Dec 7, 2018
    Copy the full SHA
    26b58ea View commit details
    Browse the repository at this point in the history
  12. zlib: make “bare” constants un-enumerable

    We prefer for users to use `zlib.constants.XXX` instead of `zlib.XXX`.
    Having both enumerable means that inspecting the `zlib` module
    shows both variants, making the output significantly longer and
    redundant.
    
    PR-URL: nodejs#24824
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax committed Dec 7, 2018
    Copy the full SHA
    4eee55d View commit details
    Browse the repository at this point in the history
  13. 2018-12-07, Version 11.4.0 (Current)

    Notable Changes:
    
    * console,util:
      * `console` functions now handle symbols as defined in the spec.
        nodejs#23708
      * The inspection `depth` default is now back at 2.
        nodejs#24326
    * dgram,net:
      * Added ipv6Only option for `net` and `dgram`.
        nodejs#23798
    * http:
      * Chosing between the http parser is now possible per runtime flag.
        nodejs#24739
    * readline:
      * The `readline` module now supports async iterators.
        nodejs#23916
    * repl:
      * The multiline history feature is removed.
        nodejs#24804
    * tls:
      * Added min/max protocol version options.
        nodejs#24405
      * The X.509 public key info now includes the RSA bit size and the
        elliptic curve. nodejs#24358
    * url:
      * `pathToFileURL()` now supports LF, CR and TAB.
        nodejs#23720
    * Windows:
      * Tools are not installed using Boxstarter anymore.
        nodejs#24677
      * The install-tools scripts or now included in the dist.
        nodejs#24233
    * Added new collaborator:
      * [antsmartian](https://github.com/antsmartian) - Anto Aravinth.
        nodejs#24655
    
    PR-URL: nodejs#24854
    BridgeAR committed Dec 7, 2018
    Copy the full SHA
    bcef949 View commit details
    Browse the repository at this point in the history
  14. src: fix warning for potential snprintf truncation

    gcc 8+ recognizes that space has not been left for the pid and that the
    return value of snprintf() isn't checked. Leave a little space for the
    pid to prevent `-Wformat-truncation`.
    
    PR-URL: nodejs#24810
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    sam-github committed Dec 7, 2018
    Copy the full SHA
    a9a5956 View commit details
    Browse the repository at this point in the history
  15. src: do not alias new and old signal masks

    In recent gcc, -Wrestrict warns when an argument passed to a
    restrict-qualified parameter aliases with another argument.
    
    PR-URL: nodejs#24810
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    sam-github committed Dec 7, 2018
    Copy the full SHA
    c49d87e View commit details
    Browse the repository at this point in the history
  16. doc: update LICENSE file

    Update the `LICENSE` file by running `tools/license-builder.sh`.
    
    PR-URL: nodejs#24898
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    addaleax committed Dec 7, 2018
    Copy the full SHA
    b5e9086 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2018

  1. doc: fix order of events when request is aborted

    PR-URL: nodejs#24779
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    lpinca committed Dec 8, 2018
    Copy the full SHA
    63469ed View commit details
    Browse the repository at this point in the history
  2. test: improve test-net-socket-timeout

    * Check for custom Node.js code rather than constructor in
      assert.throws().
    * Use arrow functions consistently.
    
    PR-URL: nodejs#24859
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott committed Dec 8, 2018
    Copy the full SHA
    6780683 View commit details
    Browse the repository at this point in the history
  3. test: fix wrong parameter

    PR-URL: nodejs#24844
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    zhmushan authored and Trott committed Dec 8, 2018
    Copy the full SHA
    008b904 View commit details
    Browse the repository at this point in the history
  4. test: make http2 timeout test robust

    Instead of using magic values for the server timeout in
    test-http2-session-timeout, measure the duration of the first request
    (which should be longer than subsequent requests) and use that value.
    
    Fixes: nodejs#20628
    
    PR-URL: nodejs#24877
    Fixes: nodejs#20628
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott committed Dec 8, 2018
    Copy the full SHA
    3fe00ef View commit details
    Browse the repository at this point in the history
  5. test: move http2 test to parallel

    A fix to test-http2-session-timeout makes it sufficiently robust that it
    can be moved to the parallel directory.
    
    PR-URL: nodejs#24877
    Fixes: nodejs#20628
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott committed Dec 8, 2018
    Copy the full SHA
    9df18ad View commit details
    Browse the repository at this point in the history
  6. test: move test-cli-syntax to sequential

    It is unreliable under load and the CI failures are getting a bit out of
    hand. Let's move it to sequential.
    
    Refs: nodejs#24403
    
    PR-URL: nodejs#24907
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott committed Dec 8, 2018
    Copy the full SHA
    5011dfe View commit details
    Browse the repository at this point in the history
  7. doc: update http doc for new Agent()/support options in socket.connect()

    For new Agent() signature in http doc, list the supported options in
    socket.connect().
    
    Refs: nodejs#24098
    
    PR-URL: nodejs#24846
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    BeniCheni authored and Trott committed Dec 8, 2018
    Copy the full SHA
    22564b9 View commit details
    Browse the repository at this point in the history
  8. inspector: split the HostPort being used and the one parsed from CLI

    Instead of using a shared pointer of the entire debug option set,
    pass the parsed debug option to inspector classes by value because
    they are set once the CLI argument parsing is done. Add another shared
    pointer to HostPort being used by the inspector server, which is copied
    from the one in the debug options initially. The port of the shared
    HostPort is 9229 by default and can be specified as 0 initially but
    will be set to the actual port of the server once it starts listening.
    
    This makes the shared state clearer and makes it possible to use
    `require('internal/options')` in JS land to query the CLI options
    instead of using `process._breakFirstLine` and other underscored
    properties of `process` since we are now certain that these
    values should not be altered once the parsing is done and can be
    passed around in copies without locks.
    
    PR-URL: nodejs#24772
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    joyeecheung committed Dec 8, 2018
    Copy the full SHA
    61a8963 View commit details
    Browse the repository at this point in the history
  9. build: fix compiler version detection

    Compiler version tuples should be numeric for tuple comparisons
    to work.
    
    Also correct check for AIX where the minimum supported GCC is 6.3.0
    
    PR-URL: nodejs#24879
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    richardlau authored and Trott committed Dec 8, 2018
    Copy the full SHA
    c3dd0d0 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2018

  1. lib: improve error creation performance

    In case of an error where we only care about a cleaned up stack
    trace it is cheaper to reset the stack trace limit for the error
    that is created. That way the stack frames do not have to be
    computed twice.
    
    PR-URL: nodejs#24747
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    BridgeAR authored and Trott committed Dec 9, 2018
    Copy the full SHA
    a1a5c04 View commit details
    Browse the repository at this point in the history
  2. module: use validateString in modules/cjs

    PR-URL: nodejs#24863
    Refs: nodejs#22101
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    ZYSzys authored and Trott committed Dec 9, 2018
    Copy the full SHA
    4dc10ac View commit details
    Browse the repository at this point in the history
  3. src: use isolate version of BooleanValue()

    This fixes deprecation warnings.
    
    PR-URL: nodejs#24883
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    cjihrig authored and Trott committed Dec 9, 2018
    Copy the full SHA
    24e6b70 View commit details
    Browse the repository at this point in the history
  4. doc: update "Testing and CI" in Collaborator Guide

    Update "Testing and CI" in the Collaborator Guide. Remove redundant
    material. Shorten sentences. Remove incorrect material. (Specifically,
    we don't require test cases to be included in all pull requests that
    modify exectuable code. For example, if code is refactored, then passing
    existing tests is sufficient.)
    
    PR-URL: nodejs#24884
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott committed Dec 9, 2018
    Copy the full SHA
    951b1c3 View commit details
    Browse the repository at this point in the history
  5. http: switch default parser to llhttp

    Refs: nodejs#24739
    Fixes: nodejs#24730
    
    PR-URL: nodejs#24870
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    addaleax committed Dec 9, 2018
    Copy the full SHA
    2cb8f24 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2018

  1. tools: do not lint tools/inspector_protocol or tools/markupsafe

    PR-URL: nodejs#24882
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    cclauss authored and Trott committed Dec 10, 2018
    Copy the full SHA
    5652cb0 View commit details
    Browse the repository at this point in the history
  2. doc: simplify author ready

    The label should be applied early on. Otherwise there is little
    benefit using this label at all.
    
    PR-URL: nodejs#24893
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    BridgeAR authored and Trott committed Dec 10, 2018
    Copy the full SHA
    4aabd7e View commit details
    Browse the repository at this point in the history
  3. tools: update ESLint to 5.10.0

    Update ESLint to 5.10.0.
    
    PR-URL: nodejs#24903
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    cjihrig committed Dec 10, 2018
    Copy the full SHA
    cc8250f View commit details
    Browse the repository at this point in the history
  4. tools: capitalize sentences

    This adds the `capitalized-comments` eslint rule to verify that
    actual sentences use capital letters as starting letters. It ignores
    special words and all lines below 62 characters.
    
    PR-URL: nodejs#24808
    Reviewed-By: Sam Ruby <rubys@intertwingly.net>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    BridgeAR committed Dec 10, 2018
    Copy the full SHA
    1f85ea9 View commit details
    Browse the repository at this point in the history
  5. tools: prepare tools/icu/icutrim.py for Python 3

    PR-URL: nodejs#24888
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    cclauss authored and Trott committed Dec 10, 2018
    Copy the full SHA
    a91293d View commit details
    Browse the repository at this point in the history
  6. module: use validateString in modules/esm

    PR-URL: nodejs#24868
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    ZYSzys authored and Trott committed Dec 10, 2018
    Copy the full SHA
    d695a01 View commit details
    Browse the repository at this point in the history
  7. assert,util: harden comparison

    The former algorithm used checks which were unsafe. Most of these
    have been replaced with alternatives that can not be manipulated or
    fooled that easily.
    
    PR-URL: nodejs#24831
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
    BridgeAR authored and Trott committed Dec 10, 2018
    Copy the full SHA
    9fb4fa8 View commit details
    Browse the repository at this point in the history
  8. process: specialize building and storage of process.config

    Instead of treating config.gypi as a JavaScript file, specialize
    the processing in js2c and make the serialized result a real JSON
    string (with 'true' and 'false' converted to boolean values) so
    we don't have to use a custom deserializer during bootstrap.
    
    In addition, store the JSON string separately in NativeModuleLoader,
    and keep it separate from the map of the builtin source code, so
    we don't have to put it onto `NativeModule._source` and delete it
    later, though we still preserve it in `process.binding('natives')`,
    which we don't use anymore.
    
    This patch also makes the map of builtin source code and the
    config.gypi string available through side-effect-free getters
    in C++.
    
    PR-URL: nodejs#24816
    Reviewed-By: Gus Caplan <me@gus.host>
    joyeecheung committed Dec 10, 2018
    Copy the full SHA
    44a5fe1 View commit details
    Browse the repository at this point in the history
  9. tools: prepare tools/testp.py for Python 3

    PR-URL: nodejs#24890
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    cclauss authored and Trott committed Dec 10, 2018
    Copy the full SHA
    5906530 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2018

  1. tools: prepare ./tools/compress_json.py for Python 3

    PR-URL: nodejs#24889
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    cclauss authored and Trott committed Dec 11, 2018
    Copy the full SHA
    ad7ddfb View commit details
    Browse the repository at this point in the history
  2. lib: remove unused NativeModule/NativeModule wraps

    We now compile the native modules in C++ so these are no longer
    used.
    
    PR-URL: nodejs#24904
    Refs:https://github.com/joyeecheung/node/commit/
    bd765d6
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    joyeecheung authored and danbev committed Dec 11, 2018
    Copy the full SHA
    083b31d View commit details
    Browse the repository at this point in the history
  3. module: don't search in require.resolve.paths

    The paths used by require.resolve() should be treated as
    starting points for module resolution, and not actually
    searched.
    
    PR-URL: nodejs#23683
    Fixes: nodejs#18408
    Refs: nodejs#23643
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    cjihrig committed Dec 11, 2018
    Copy the full SHA
    60ce2fd View commit details
    Browse the repository at this point in the history
  4. test: prepare test/pseudo-tty/testcfg.py Python 3

    PR-URL: nodejs#24887
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    cclauss authored and danbev committed Dec 11, 2018
    Copy the full SHA
    b337b58 View commit details
    Browse the repository at this point in the history
  5. test: do not lint macros files (again)

    PR-URL: nodejs#24886
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    cclauss authored and danbev committed Dec 11, 2018
    Copy the full SHA
    50cf6e7 View commit details
    Browse the repository at this point in the history
  6. lib: move DEP0120 to end of life

    This deprecation applies to undocumented, rather useless
    Windows Performance Counter support.
    
    PR-URL: nodejs#24862
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    cjihrig committed Dec 11, 2018
    Copy the full SHA
    b416daf View commit details
    Browse the repository at this point in the history
  7. test: mark test-cli-syntax as flaky/unreliable

    Refs: nodejs#24403
    
    PR-URL: nodejs#24957
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Trott committed Dec 11, 2018
    Copy the full SHA
    73ebfc2 View commit details
    Browse the repository at this point in the history
  8. doc: remove bad link to irc info

    Remove a link that no longer appears to point to information about
    Node.js IRC channels.
    
    PR-URL: nodejs#24967
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    richardlau authored and Trott committed Dec 11, 2018
    Copy the full SHA
    8c290fd View commit details
    Browse the repository at this point in the history
  9. 2018-12-11, Version 10.14.2 'Dubnium' (LTS)

    Notable changes:
    
    * deps:
      * upgrade to c-ares v1.15.0 (Ben Noordhuis)
        nodejs#23854
    * Windows:
      * A crashing process will now show the names of stack frames if the node.pdb
        file is available. (Refael Ackermann)
        nodejs#23822
    * Added new collaborators:
      * Peter Marshall. nodejs#24170
      * Masashi Hirano. nodejs#24136
    
    PR-URL: nodejs#24727
    codebytere authored and MylesBorins committed Dec 11, 2018
    Copy the full SHA
    6c6c563 View commit details
    Browse the repository at this point in the history
  10. src: use Local version of ToBoolean()

    This fixes a deprecation warning.
    
    PR-URL: nodejs#24924
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig committed Dec 11, 2018
    Copy the full SHA
    91c1f8a View commit details
    Browse the repository at this point in the history
  11. doc: add class worker documentation

    Add documentation about Worker class inherits from EventEmitter.
    
    PR-URL: nodejs#24849
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    yoshimoto8 authored and vsemozhetbyt committed Dec 11, 2018
    Copy the full SHA
    9fc0b7b View commit details
    Browse the repository at this point in the history
  12. test: replace callback with arrows

    PR-URL: nodejs#24866
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Shubhamurkade authored and Trott committed Dec 11, 2018
    Copy the full SHA
    91c0a37 View commit details
    Browse the repository at this point in the history
  13. src: remove use of CallOnForegroundThread()

    The V8 platform's CallOnForegroundThread() method is deprecated.
    This commit replaces its use with GetForegroundTaskRunner()
    functionality instead.
    
    PR-URL: nodejs#24925
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and Trott committed Dec 11, 2018
    Copy the full SHA
    40767a6 View commit details
    Browse the repository at this point in the history
  14. doc: update Useful CI Jobs section of Collaborator Guide

    Revise the Useful CI Jobs section of the Collaborator Guide to be more
    clear and concise.
    
    PR-URL: nodejs#24916
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Trott committed Dec 11, 2018
    Copy the full SHA
    2f75eed View commit details
    Browse the repository at this point in the history
  15. stream: fix end-of-stream for HTTP/2

    HTTP/2 streams call `.end()` on themselves from their
    `.destroy()` method, which might be queued (e.g. due to network
    congestion) and not processed before the stream itself is destroyed.
    
    In that case, the `_writableState.ended` property could be set before
    the stream emits its `'close'` event, and never actually emits the
    `'finished'` event, confusing the end-of-stream implementation so
    that it wouldn’t call its callback.
    
    This can be fixed by watching for the end events themselves using the
    existing `'finish'` and `'end'` listeners rather than relying on the
    `.ended` properties of the `_...State` objects.
    
    These properties still need to be checked to know whether stream
    closure was premature – My understanding is that ideally, streams
    should not emit `'close'` before `'end'` and/or `'finished'`, so this
    might be another bug, but changing this would require modifying tests
    and almost certainly be a breaking change.
    
    Fixes: nodejs#24456
    
    PR-URL: nodejs#24926
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    addaleax authored and Trott committed Dec 11, 2018
    Copy the full SHA
    83ec33b View commit details
    Browse the repository at this point in the history
  16. test: test TLS client authentication

    TLS client authentication should be tested, including failure scenarios.
    
    PR-URL: nodejs#24733
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    sam-github committed Dec 11, 2018
    Copy the full SHA
    e5878ea View commit details
    Browse the repository at this point in the history
  17. tls: support "BEGIN TRUSTED CERTIFICATE" for ca:

    Support the same PEM certificate formats for the ca: option to
    tls.createSecureContext() that are supported by openssl when loading a
    CAfile.
    
    Fixes: nodejs#24761
    
    PR-URL: nodejs#24733
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    sam-github committed Dec 11, 2018
    Copy the full SHA
    2e4a163 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2018

  1. util: add inspection getter option

    Currently it is not possible to inspect getters. To prevent any side
    effects this should not become a default but under lots of
    circumstances it would still be useful to inspect getters. This way
    it is possible to actively opt into inspecting those.
    
    PR-URL: nodejs#24852
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    BridgeAR authored and danbev committed Dec 12, 2018
    Copy the full SHA
    f194b7f View commit details
    Browse the repository at this point in the history
  2. test: improve internet/test-dns

    * change 'for' loop to 'for of' loop
    * remove unused parameters passed to functions
    * remove unnecessary 'assert.ok'
    
    PR-URL: nodejs#24927
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    IlarionHalushka authored and Trott committed Dec 12, 2018
    Copy the full SHA
    a0bdeb5 View commit details
    Browse the repository at this point in the history
  3. zlib: throw TypeError if callback is missing

    Get a proper stack trace when no callback is passed.
    
    PR-URL: nodejs#24929
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax committed Dec 12, 2018
    Copy the full SHA
    9a26546 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2018

  1. src: create env->inspector_console_api_object earlier

    Previously we create env->inspector_console_api_object() when
    `process.binding('inspector')` is called, which may be too late
    if the inspector console is used before the first call to
    `process.binding('inspector')` - that is possible when
    using `--inspect-brk-node`. Setting a breakpoint and using the
    inspector console before that would crash the process.
    
    This patch moves the initialization of the console API object to
    the point when Environment is initialized so that
    `installAdditionalCommandLineAPI()` can be essentially a noop
    if we use the inspector console before the inspector binding
    is initialized instead of crashing on an empty object.
    
    PR-URL: nodejs#24906
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    joyeecheung authored and Trott committed Dec 13, 2018
    Copy the full SHA
    a1b283c View commit details
    Browse the repository at this point in the history
  2. inspector: move process.binding to internalBinding

    In places of process.binding('inspector'), migrate code to adapt
    internalBinding.
    
    PR-URL: nodejs#24931
    Refs: nodejs#22160
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    BeniCheni authored and danbev committed Dec 13, 2018
    Copy the full SHA
    0500237 View commit details
    Browse the repository at this point in the history
  3. src: include node_internals.h in node_metadata.cc

    Currently, if configured --without-ssl the following compiler error will
    be generated:
    ../src/node_metadata.cc:29:12:
    error: use of undeclared identifier 'llhttp_version'
      llhttp = llhttp_version;
               ^
    ../src/node_metadata.cc:30:17:
    error: use of undeclared identifier 'http_parser_version'
      http_parser = http_parser_version;
    
    This commit includes the node_internals.h header so that
    llhttp_version and http_parser_versions are always available.
    
    PR-URL: nodejs#24933
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    danbev committed Dec 13, 2018
    Copy the full SHA
    549761e View commit details
    Browse the repository at this point in the history
  4. worker: drain messages from internal message port

    When the worker thread exits, drain the messages also from the internal
    message port so that the call to 'kDispose' will occur only after all
    the messages from the worker were processed in the parent, so stdio
    messages from the worker will be successfully pushed to their target
    streams in the parent.
    
    PR-URL: nodejs#24932
    Fixes: nodejs#24636
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    yaelhe authored and danbev committed Dec 13, 2018
    Copy the full SHA
    c61327d View commit details
    Browse the repository at this point in the history
  5. test: split test-cli-syntax into multiple tests

    Split test-cli-syntax into multiple files to improve reliability and/or
    isolate unreliable test cases.
    
    Move test cases back to parallel as appropriate.
    
    PR-URL: nodejs#24922
    Reviewed-By: Bryan English <bryan@bryanenglish.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Trott committed Dec 13, 2018
    Copy the full SHA
    a3801e9 View commit details
    Browse the repository at this point in the history
  6. bootstrap: make Buffer and process non-enumerable

    This makes sure these two properties are non-enumerable. This aligns
    them with all other globals that are not enumerable by spec.
    
    Refs: nodejs#20565
    
    PR-URL: nodejs#24874
    Refs: nodejs#20565
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    BridgeAR committed Dec 13, 2018
    Copy the full SHA
    c992639 View commit details
    Browse the repository at this point in the history
  7. doc: fix author-ready conflict

    The onboarding docs still contained an outdated description of the
    `author-ready` label. Now it references the main description to
    prevent any future conflicts.
    
    PR-URL: nodejs#25015
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    BridgeAR authored and Trott committed Dec 13, 2018
    Copy the full SHA
    afeb56a View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2018

  1. test: from functools import reduce in test/testpy/__init__.py

    $ __make lint-py__  # When run on Python 3
    ```
    PYTHONPATH=tools/pip python -m flake8 . \
    		--count --show-source --statistics --select=E901,E999,F821,F822,F823 \
    		--exclude=.git,deps,lib,src,tools/*_macros.py,tools/gyp,tools/inspector_protocol,tools/jinja2,tools/markupsafe,tools/pip
    ./test/testpy/__init__.py:119:37: F821 undefined name 'reduce'
            file_path = join(self.root, reduce(join, test[1:], ""))
                                        ^
    ./test/testpy/__init__.py:161:37: F821 undefined name 'reduce'
            file_path = join(self.root, reduce(join, test[1:], "") + ".js")
                                        ^
    2     F821 undefined name 'reduce'
    2
    make: *** [lint-py] Error 1
    ```
    
    PR-URL: nodejs#24954
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    cclauss authored and Trott committed Dec 14, 2018
    Copy the full SHA
    7ee61fb View commit details
    Browse the repository at this point in the history
  2. src: remove internalBinding('config').warningFile

    Instead use `require('internal/options')` lazily. Also refactor the
    call site a bit so that the option is queried only once since it's
    synchronous anyway.
    
    PR-URL: nodejs#24959
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    joyeecheung authored and Trott committed Dec 14, 2018
    Copy the full SHA
    e989269 View commit details
    Browse the repository at this point in the history
  3. lib: refactor argument validation using validateString

    PR-URL: nodejs#24960
    Refs: nodejs#22101
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    ZYSzys authored and Trott committed Dec 14, 2018
    Copy the full SHA
    a35bd62 View commit details
    Browse the repository at this point in the history
  4. doc: update a link of npm repository

    PR-URL: nodejs#24969
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    watilde authored and Trott committed Dec 14, 2018
    Copy the full SHA
    450ab14 View commit details
    Browse the repository at this point in the history
  5. doc: revise internal vs. public API in Collaborator Guide

    Make the Collaborator Guide section "Internal vs. Public API" more
    concise and clear. Remove repetition. Clarify some ambiguity.
    wordy, repetitive, and somewhat
    
    PR-URL: nodejs#24975
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Trott committed Dec 14, 2018
    Copy the full SHA
    9f37f9c View commit details
    Browse the repository at this point in the history
  6. test: refactor test-enable-in-init

    Remove unused function arguments. Convert to ES6 arrow syntax.
    
    PR-URL: nodejs#24976
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Mitch Hankins authored and Trott committed Dec 14, 2018
    Copy the full SHA
    848ae89 View commit details
    Browse the repository at this point in the history
  7. doc: add codebytere's info to release team

    PR-URL: nodejs#25022
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    codebytere authored and Trott committed Dec 14, 2018
    Copy the full SHA
    69a7a04 View commit details
    Browse the repository at this point in the history
  8. src: add GetLoadedLibraries routine

    Add a static function GetLoadedLibraries under
    NativeSymbolDebuggingContext abstraction that provides a list of
    shared objects - either the current process depended on or loaded.
    
    PR-URL: nodejs#24825
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    gireeshpunathil authored and danbev committed Dec 14, 2018
    Copy the full SHA
    1c52dcc View commit details
    Browse the repository at this point in the history
  9. src: emit 'params' instead of 'data' for NodeTracing.dataCollected

    PR-URL: nodejs#24949
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    kjin authored and Trott committed Dec 14, 2018
    Copy the full SHA
    49f1db4 View commit details
    Browse the repository at this point in the history
  10. process: properly close file descriptor on exit

    This makes sure the file descriptor is closed syncronously on exit
    instead of using the asyncronous version which should not be used
    on exit.
    
    PR-URL: nodejs#24972
    Refs: https://github.com/nodejs/node/pull/24965/files#r240770314
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    BridgeAR authored and Trott committed Dec 14, 2018
    Copy the full SHA
    80ab537 View commit details
    Browse the repository at this point in the history
  11. test: increase error information in test-cli-syntax-*

    If there is an error, but not the error code the test expects, display
    more information about the error.
    
    PR-URL: nodejs#25021
    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: Shelley Vohr <codebytere@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Trott committed Dec 14, 2018
    Copy the full SHA
    914c494 View commit details
    Browse the repository at this point in the history
  12. test: mark test-child-process-execsync flaky on AIX

    Refs: nodejs#24921
    
    PR-URL: nodejs#25031
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Trott committed Dec 14, 2018
    Copy the full SHA
    d0c240f View commit details
    Browse the repository at this point in the history
  13. util: improve format performance

    This simplifies the `format()` code and significantly improves the
    performance.
    
    PR-URL: nodejs#24981
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    BridgeAR committed Dec 14, 2018
    Copy the full SHA
    9752fce View commit details
    Browse the repository at this point in the history
  14. test: mark test-cli-node-options flaky on arm

    Refs: nodejs#25028
    
    PR-URL: nodejs#25032
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Trott committed Dec 14, 2018
    Copy the full SHA
    adf5083 View commit details
    Browse the repository at this point in the history
  15. lib: ensure readable stream flows to end

    If a readable stream was set up with `highWaterMark 0`, the while-loop
    in `maybeReadMore_` function would never execute.
    
    The while loop now has an extra or-condition for the case where the
    stream is flowing and there are no items. The or-condition is adapted
    from the emit-condition of the `addChunk` function.
    
    The `addChunk` also contains a check for `state.sync`. However that part
    of the check was omitted here because the `maybeReadMore_` is executed
    using `process.nextTick`. `state.sync` is set and then unset  within the
    `read()` function so it should never be in effect in `maybeReadMore_`.
    
    Fixes: nodejs#24915
    
    PR-URL: nodejs#24918
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Rantanen authored and Trott committed Dec 14, 2018
    Copy the full SHA
    37a5e01 View commit details
    Browse the repository at this point in the history
  16. querystring: remove eslint-disable

    Remove the eslint-disable comments by using a strict comparison
    instead of a Boolean cast.
    
    PR-URL: nodejs#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 committed Dec 14, 2018
    Copy the full SHA
    034ec64 View commit details
    Browse the repository at this point in the history
  17. url: remove an eslint-disable comment

    Remove an eslint-disable comment by using a strict comparison
    instead of a Boolean cast.
    
    PR-URL: nodejs#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 committed Dec 14, 2018
    Copy the full SHA
    8ac6c05 View commit details
    Browse the repository at this point in the history
  18. Copy the full SHA
    818a89c View commit details
    Browse the repository at this point in the history