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

v12.7.0 release proposal #28816

Closed
wants to merge 161 commits into from
Closed

v12.7.0 release proposal #28816

wants to merge 161 commits into from

Commits on Jul 20, 2019

  1. build: change ASM compiler url to https

    PR-URL: #28189
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    gengjiawen authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    e4fae24 View commit details
    Browse the repository at this point in the history
  2. src: remove redundant return

    PR-URL: #28189
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    gengjiawen authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    e610c45 View commit details
    Browse the repository at this point in the history
  3. doc: address missing paren

    The closing paren was missing. Move to using commas instead.
    
    PR-URL: #28483
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    cjihrig authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    0a0832f View commit details
    Browse the repository at this point in the history
  4. doc: remove unnecessary stability specifiers

    If a top level module is listed as Stable, there is no need to
    call out individual components of that module as Stable. The
    extra text is just distracting.
    
    PR-URL: #28485
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    cjihrig authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    ec9ba4b View commit details
    Browse the repository at this point in the history
  5. doc: format try...catch consistently

    PR-URL: #28481
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    cjihrig authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    59aaee4 View commit details
    Browse the repository at this point in the history
  6. doc: fix link from bootstrap README to BUILDING

    PR-URL: #28504
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    rvagg authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    68ed32f View commit details
    Browse the repository at this point in the history
  7. src: use thread_local to declare modpending

    The pointer used to hold an incoming dynamically loaded module's
    `node::node_module` structure needs to be thread-local. So far this was
    done with `uv_key_set()` and `uv_key_get()`. The language now supports
    the `thread_local` keyword which makes implementing this a lot cleaner.
    
    PR-URL: #28456
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Gabriel Schulhof authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    f3f51e4 View commit details
    Browse the repository at this point in the history
  8. test: increase test-resource-usage.js validation

    This commit adds an assertion checking the exact field names
    returned by process.resourceUsage(). This ensures that no new
    fields accidentally slip into the returned object in the future.
    
    PR-URL: #28498
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    cjihrig authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    e4f1e90 View commit details
    Browse the repository at this point in the history
  9. src: configure v8 isolate with uv_get_constrained_memory

    This change adds the ability to set the memory ceiling for a Node.js
    process according to a memory limit set by cgroups (via
    uv_get_constrained_memory), which is used by docker containers to set
    resource constraints. Previously we would use the physical memory size
    to estimate the necessary V8 heap sizes, but the physical memory size is
    not necessarily the correct limit, e.g. if the process is running inside
    a docker container or is otherwise constrained.
    
    Non-Linux systems shouldn't be affected.
    
    PR-URL: #27508
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    kjin authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    6fbad8b View commit details
    Browse the repository at this point in the history
  10. readline: fix position computation

    The implementation of _getDisplayPos, used to compute the cursor
    position and to find out how many lines to clear up when re-rendering
    the readline output, was counting each line (except the last one) from
    the input as one row, even if they were wraping.  This caused some
    rendering issues when the 'prompt' have at least one wide line ending
    with a newline char, duplicating the lines at the top of the prompt when
    calling _refreshLine (ex: when the user hits backspace).
    
    This patch fixes the issue by computing the real rows count for each new
    line in the input string.
    
    PR-URL: #28272
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    BenoitZugmeyer authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    e6e98af View commit details
    Browse the repository at this point in the history
  11. worker: assign missing deprecation code

    PR-URL: #28395
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    jasnell authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    cbf5401 View commit details
    Browse the repository at this point in the history
  12. test: fix assertion argument order in test-https-agent.js

    PR-URL: #28383
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    JulianAlexis authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    49c5339 View commit details
    Browse the repository at this point in the history
  13. doc: provide an example to fs.stat()

    Provided a small example along its output using fs.stat() to check the
    stats on two different paths, one a directory and the other a txt file.
    
    PR-URL: #28381
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    fev4 authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    c177a68 View commit details
    Browse the repository at this point in the history
  14. doc: add example for chmod in fs.md

    PR-URL: #28365
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    roadev authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    e83b256 View commit details
    Browse the repository at this point in the history
  15. test: switch the argument order for the assertion

    PR-URL: #28356
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    IvanVilla1585 authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    f0c436f View commit details
    Browse the repository at this point in the history
  16. build: remove --code-cache-path help option

    This commit removes the now obsolete option.
    
    PR-URL: #28446
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    danbev authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    7d3ddfe View commit details
    Browse the repository at this point in the history
  17. test: skip stringbytes-external-exceed-max on AIX

    Add SKIP status for more tests in stringbytes-external-exceed-max that
    are failing on AIX.
    
    PR-URL: #28516
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    sam-github authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    33ab37f View commit details
    Browse the repository at this point in the history
  18. test: skip pseudo-tty tests on AIX

    See: nodejs/build#1820
    
    PR-URL: #28541
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    sam-github authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    b7731eb View commit details
    Browse the repository at this point in the history
  19. doc: simplify process.resourceUsage() section

    Merge options list with its description to reduce redundancy
    (some possible typos were also fixed and some periods added).
    
    PR-URL: #28499
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    vsemozhetbyt authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    29d2076 View commit details
    Browse the repository at this point in the history
  20. test: unmark test-gc-http-client-onerror flaky

    The test has not failed on FreeBSD in the last 100 runs and appears to
    perhaps not be an issue anymore.
    
    Closes: #23089
    test-gc-http-client-onerror: PASS,FLAKY
    
    PR-URL: #28429
    Fixes: #23089
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    13f1393 View commit details
    Browse the repository at this point in the history
  21. test: create home for test-npm-install

    This test currently fails if run as root:
    npm ERR! makeDirectory homeless?
    npm WARN install-dir No description
    npm WARN install-dir No repository field.
    npm WARN install-dir No license field.
    
    npm ERR! path /root/node/test/.tmp.0/npm-sandbox/home
    npm ERR! code ENOENT
    npm ERR! errno -2
    npm ERR! syscall stat
    npm ERR! enoent ENOENT:
    no such file or directory,
      stat '/root/node/test/.tmp.0/npm-sandbox/home'
    npm ERR! enoent This is related to npm not being able to find a file.
    npm ERR! enoent
    
    assert.js:89
      throw new AssertionError(obj);
      ^
    
    AssertionError [ERR_ASSERTION]: npm install got error code 254
        at handleExit (/root/node/test/parallel/test-npm-install.js:60:10)
        at /root/node/test/common/index.js:371:15
        at ChildProcess.exithandler (child_process.js:304:5)
        at ChildProcess.emit (events.js:203:13)
        at maybeClose (internal/child_process.js:1028:16)
        at Process.ChildProcess._handle.onexit
          (internal/child_process.js:283:5) {
           generatedMessage: false,
           code: 'ERR_ASSERTION',
           actual: 254,
           expected: 0,
           operator: 'strictEqual'
        }
    
    The home directory will be created as expected by npm in the npmSandbox
    when run as non-root, but when run as root this directory has to exist.
    
    This commit creates the home directory to allow the test to pass also
    when run as the root user.
    
    Refs:https://github.com/npm/cli/blob/
    31718e72cb5a03cee7127fc36843e4b55c868d93/
    lib/utils/correct-mkdir.js#L82-L105
    
    PR-URL: #28510
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    danbev authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    e854bfa View commit details
    Browse the repository at this point in the history
  22. src: remove unused using declarations in src/api

    PR-URL: #28506
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    danbev authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    8d41b07 View commit details
    Browse the repository at this point in the history
  23. test: don't use deprecated crypto.fips property

    `crypto.fips` was deprecated in commit 6e7992e ("crypto: docs-only
    deprecate crypto.fips, replace") but its usage in `common.hasFipsCrypto`
    seems to have been overlooked.
    
    PR-URL: #28509
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    bnoordhuis authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    4941d47 View commit details
    Browse the repository at this point in the history
  24. doc: fix family default value in socket.connect

    PR-URL: #28521
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    fanatid authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    0777e09 View commit details
    Browse the repository at this point in the history
  25. http: improve parser error messages

    Include the library-provided reason in the Error’s `message`.
    
    Fixes: #28468
    
    PR-URL: #28487
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    addaleax authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    38f8cd5 View commit details
    Browse the repository at this point in the history
  26. test: generate des rsa_cert.pfx

    My node distribution uses a shared openssl library with some ciphers
    disabled, including RC2.
    
    These tests (which use `rsa_cert.pfx`) fail with `unknown cipher`:
     - parallel/test-crypto-binary-default
     - parallel/test-https-pfx
     - parallel/test-crypto
    
    The other fixture .pfx's use the `-descert` option, I don't know if
    rsa_cert.pfx was generated without `-descert` intentionally or not but
    none of the tests reference RC2, and the tests pass with a des cert.
    
    I'm not an ssl/crypto expert, so I would appreciate any insight.
    
    Old key:
    ```
    openssl pkcs12 -info -in test/fixtures/keys/rsa_cert.pfx -noout -passin
    pass:sample
    MAC Iteration 2048
    MAC verified OK
    PKCS7 Encrypted data: pbeWithSHA1And40BitRC2-CBC, Iteration 2048
    Certificate bag
    PKCS7 Data
    Shrouded Keybag: pbeWithSHA1And3-KeyTripleDES-CBC, Iteration 2048
    ```
    
    New
    ```
    openssl pkcs12 -info -in test/fixtures/keys/rsa_cert.pfx -noout -passin
    pass:sample
    MAC Iteration 2048
    MAC verified OK
    PKCS7 Encrypted data: pbeWithSHA1And3-KeyTripleDES-CBC, Iteration 2048
    Certificate bag
    PKCS7 Data
    Shrouded Keybag: pbeWithSHA1And3-KeyTripleDES-CBC, Iteration 2048
    ```
    
    PR-URL: #28471
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Caleb ツ Everett authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    c3311c2 View commit details
    Browse the repository at this point in the history
  27. src: correct json writer placement in process.report

    PR-URL: #28433
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    himself65 authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    48c369b View commit details
    Browse the repository at this point in the history
  28. test: check writeReport when error with one line stack

    PR-URL: #28433
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    himself65 authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    793163e View commit details
    Browse the repository at this point in the history
  29. test: check getReport when error with one line stack

    PR-URL: #28433
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    himself65 authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    5980373 View commit details
    Browse the repository at this point in the history
  30. test: change the repeat Buffer.from('blerg'); statments

    PR-URL: #28372
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    themiken authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    4c333f4 View commit details
    Browse the repository at this point in the history
  31. doc: add description for the listener argument

    Clarify that `listener` is registered as a one-time listener of the
    `'connect'` event.
    
    PR-URL: #28500
    Fixes: #28217
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    lpinca authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    24a77ae View commit details
    Browse the repository at this point in the history
  32. doc: fix link in build instructions

    The right one is #prerequisites.
    
    PR-URL: #28572
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    GauthamBanasandra authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    d2ba454 View commit details
    Browse the repository at this point in the history
  33. lib: use class ... extends in perf_hooks.js

    Don’t unnecessarily set the protoype afterwards.
    
    PR-URL: #28495
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    75c6281 View commit details
    Browse the repository at this point in the history
  34. inspector: reduce InspectorIo API surface

    This is a cleanup, allowing for a better separation of concerns.
    
    PR-URL: #28526
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Aleksei Koziatinskii <ak239spb@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    eugeneo authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    66382ab View commit details
    Browse the repository at this point in the history
  35. src: block SIGTTOU before calling tcsetattr()

    We might be a background job that doesn't own the TTY so block SIGTTOU
    before making the tcsetattr() call, otherwise that signal suspends us.
    
    This is a better fix than PR #28490 for issue #28479.
    
    Fixes: #28530
    Fixes: #28479
    Refs: #28490
    
    PR-URL: #28535
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    bnoordhuis authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    d4113f9 View commit details
    Browse the repository at this point in the history
  36. test: refactor test-fs-write-sync

    Refactor the code for the test-fs-write-sync to avoid code repetition
    and to make it simpler.
    
    PR-URL: #28371
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    gabynr authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    e2adfb7 View commit details
    Browse the repository at this point in the history
  37. process: refactor unhandledRejection logic

    This commit prevents a deprecation warning from being emitted
    if the unhandledRejection event was actually handled.
    
    PR-URL: #28540
    Fixes: #28539
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    cjihrig authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    4cb0fc3 View commit details
    Browse the repository at this point in the history
  38. src: allow fatal exceptions to be enhanced

    This commit allows fatal exceptions to be enhanced so that
    exceptions thrown from an unhandledException handler have
    the stack attached properly.
    
    PR-URL: #28562
    Fixes: #28550
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    cjihrig authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    a24ab56 View commit details
    Browse the repository at this point in the history
  39. doc: document family:0 behavior in socket.connect

    Now that family:0 is documented in socket.connect(), add an
    explanation of what it means since 0 is not an IP family.
    
    PR-URL: #28574
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    cjihrig authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    643d099 View commit details
    Browse the repository at this point in the history
  40. doc: format Unix consistently

    Update the API docs to always spell as Unix.
    
    PR-URL: #28576
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    cjihrig authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    2205818 View commit details
    Browse the repository at this point in the history
  41. doc: clarify http2 server.close() behavior

    This commit is an attempt to clarify the behavior of HTTP2's
    server.close() method. Specifically, this makes it more clear
    that the server stops allowing new sessions although the
    callback may not be invoked for some time due to previously
    existing sessions.
    
    PR-URL: #28581
    Fixes: #28214
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    cjihrig authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    6f3ebb8 View commit details
    Browse the repository at this point in the history
  42. doc: make tls links more readable

    This commit replaces two long URLs in the TLS documentation
    with linked text.
    
    PR-URL: #28580
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    cjihrig authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    a6d50a7 View commit details
    Browse the repository at this point in the history
  43. doc: remove URLs from zlib docs

    This commit removes two URLs from the zlib documentation. One
    of the URLs is already linked to in the previous sentence, so
    it is removed completely. The other is changed to more human
    friendly link text.
    
    PR-URL: #28580
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    cjihrig authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    f0e4bf9 View commit details
    Browse the repository at this point in the history
  44. doc: mention markdown linting in BUILDING.md

    BUILDING.md mentioned JS and C++ linting were performed
    in the 'make lint' command, but 'make lint' also
    performs markdown linting. This commit updates the docs
    to include markdown as one of the things being linted.
    
    PR-URL: #28578
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    srcmake authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    70c3116 View commit details
    Browse the repository at this point in the history
  45. worker: fix passing multiple SharedArrayBuffers at once

    V8 has a handle scope below each `GetSharedArrayBufferId()` call,
    so using a `v8::Local` that outlives that handle scope to store
    references to `SharedArrayBuffer`s is invalid and may cause accidental
    de-duplication of passed `SharedArrayBuffer`s.
    
    Use a persistent handle instead to address this issue.
    
    Fixes: #28559
    
    PR-URL: #28582
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    0e2cbe6 View commit details
    Browse the repository at this point in the history
  46. src: implement runtime option --no-node-snapshot for debugging

    PR-URL: #28567
    Refs: #28558
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    joyeecheung authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    4f035e4 View commit details
    Browse the repository at this point in the history
  47. build: update Windows icon to Feb 2016 rebrand

    PR-URL: #28524
    Fixes: #27934
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    mikemaccana authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    608d6ed View commit details
    Browse the repository at this point in the history
  48. src: simplify DEP0062 logic

    This commit simplifies the DEP0062 error logic. Instead of
    looking for certain combinations of flags, just show an error
    for any usage of --debug or --debug-brk.
    
    PR-URL: #28589
    Fixes: #28588
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    cjihrig authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    c432ab1 View commit details
    Browse the repository at this point in the history
  49. src: implement special member functions for classes in env.h

    The classes in env.h were not adhering to the rule of five.
    As per the rule of five, if a class implements any of five
    special member functions, it must implement all the
    five special member functions for enabling the compiler for
    better optimization.
    
    Refs: https://en.cppreference.com/w/cpp/language/rule_of_three
    
    PR-URL: #28579
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    GauthamBanasandra authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    a8b094c View commit details
    Browse the repository at this point in the history
  50. doc: move Usage and Example to same header level

    Having Example under Usage in synopsis.md is misleading. That suggests
    that the examples will be examples of the CLI usage, but the example
    section is mostly about writing a simple web server. Ideally, the Usage
    section should be moved to cli.md and the Example section should
    constitute a Getting Started or Quick Start page. But for now, make them
    equals under a combined header so that the Table of Contents and the
    header/layout of the page is not confusing or misleading.
    
    PR-URL: #28570
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    9be1111 View commit details
    Browse the repository at this point in the history
  51. http2: override authority with options

    Make `options.host` and `options.port` take precedence over
    `authority.host` and `authority.port` respectively.
    
    PR-URL: #28584
    Fixes: #28182
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    lpinca authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    5b9c227 View commit details
    Browse the repository at this point in the history
  52. n-api: make thread-safe-function calls properly

    Use `NapiCallIntoModuleThrow()` to execute the call into JavaScript and
    the finalizer for consistency with the rest of the calls into the N-API
    addon.
    
    PR-URL: #28606
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Gabriel Schulhof authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    44de431 View commit details
    Browse the repository at this point in the history
  53. gyp: pull Python 3 changes from node/node-gyp

    PR-URL: #28573
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    cclauss authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    b1db810 View commit details
    Browse the repository at this point in the history
  54. test: add test-fs-writeFileSync-invalid-windows

    Add a known_issues test for the Windows returning ENOTFOUND where EINVAL
    is more appropriate. This happens with various functions in the `fs`
    module when an invalid path is used.
    
    Refs: #8987
    
    PR-URL: #28569
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    b4643dd View commit details
    Browse the repository at this point in the history
  55. doc: update stream.md "Organization of this Document"

    Revise the text of "Organization of this Document" in stream.md for
    simplicity.
    
    PR-URL: #28601
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    ac9908f View commit details
    Browse the repository at this point in the history
  56. doc: mention unit for event loop delay measurements

    PR-URL: #28629
    Reviewed-By: Ben Coe <bencoe@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    jkrems authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    0aca527 View commit details
    Browse the repository at this point in the history
  57. perf_hooks: add HttpRequest statistics monitoring #28445

    ```js
    const { PerformanceObserver, performance } = require('perf_hooks');
    const http = require('http');
    
    const obs = new PerformanceObserver((items) => {
      const entry = items.getEntries()[0];
      console.log(entry.name, entry.duration);
    });
    obs.observe({ entryTypes: ['http'] });
    
    const server = http.Server(function(req, res) {
      server.close();
      res.writeHead(200);
      res.end('hello world\n');
    });
    
    server.listen(0, function() {
      const req = http.request({
        port: this.address().port,
        path: '/',
        method: 'POST'
      }).end();
    });
    ```
    
    PR-URL: #28486
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    vmarchaud authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    9975311 View commit details
    Browse the repository at this point in the history
  58. doc: add line for inspect host:port invocation

    PR-URL: #28405
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Tim Baverstock authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    74af944 View commit details
    Browse the repository at this point in the history
  59. doc: change 'unix' to 'Unix' in ninja guide

    A recent PR converted all instances of 'unix' and 'UNIX' to 'Unix'
    in the API docs. This commit fixes one instance in the guides in
    preparation for a relevant lint rule.
    
    PR-URL: #28619
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    729b232 View commit details
    Browse the repository at this point in the history
  60. tools: add markdown lint rule for 'Unix'

    A recent PR standardized on 'Unix' rather than 'UNIX' or 'unix'. This
    change adds a markdown linting rule to enforce it going forward.
    
    PR-URL: #28619
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    ccb54f7 View commit details
    Browse the repository at this point in the history
  61. doc: edit stream module introduction

    Edit the stream module introduction for concision and simplicity.
    
    PR-URL: #28595
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    0380a55 View commit details
    Browse the repository at this point in the history
  62. doc: fix nits in stream.md

    * Unify periods and upper case in comments.
    * Add missing parentheses for methods.
    * Add missing backticks.
    * Fix sorting position of `writable.writableFinished` section.
    * Replace a one-letter variable with a more readable one.
    * `catch(console.log)` -> `catch(console.error)`.
    * Document missing `emitClose` option in `new stream.Readable()` section
      mentioned in https://nodejs.org/api/stream.html#stream_event_close_1
      and https://nodejs.org/api/stream.html#stream_readable_destroy_error
      copying from the `new stream.Writable()` section.
      Refs: https://github.com/nodejs/node/blob/36fdf1aa6c87ccfaebabb8f9c8004baab0549b0b/lib/_stream_readable.js#L121
    
    PR-URL: #28591
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    vsemozhetbyt authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    871a60c View commit details
    Browse the repository at this point in the history
  63. src: clang build warning fix

    fix UB with string concatenations. += operator makes things
    clearer for compiler's perspective.
    
    PR-URL: #28480
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    devnexen authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    22daf95 View commit details
    Browse the repository at this point in the history
  64. src: manage MakeContext() pointer with unique_ptr

    PR-URL: #28616
    Refs: #28452
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    cjihrig authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    3c418d9 View commit details
    Browse the repository at this point in the history
  65. build: do not always build the default V8 snapshot

    It should be skipped if Node.js is built with the --without-snapshot
    configure flag.
    
    PR-URL: #28467
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    171c8f4 View commit details
    Browse the repository at this point in the history
  66. doc: add a link to the throw-deprecations flag

    Motivation:  On the deprecated api's doc, the --pending-deprecation flag
    is a clickable link to the command line docs.
    
    This makes the --throw-deprecation flag, which is described in the next
    paragraph also a link to keep things consistent
    
    PR-URL: #28625
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    lholmquist authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    bf2d5a7 View commit details
    Browse the repository at this point in the history
  67. doc: relax requirements for setAAD in CCM mode

    This was fixed in OpenSSL 1.1.1c (openssl/openssl@b48e3be947). The
    authentication tag can now be specified after setAAD was called,
    matching the behavior of the other supported AEAD modes (GCM, OCB).
    
    Refs: openssl/openssl#7243
    
    PR-URL: #28624
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    tniessen authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    f7a13e5 View commit details
    Browse the repository at this point in the history
  68. doc: add missing types

    Document the types returned by the `readable.readableObjectMode`,
    `writable.writableLength`, and `writable.writableObjectMode` getters.
    
    PR-URL: #28623
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    lpinca authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    ebc3876 View commit details
    Browse the repository at this point in the history
  69. report: modify getReport() to return an Object

    It's likely that anyone using `process.report.getReport()` will be
    processing the return value thereafter (e.g., filtering fields or
    redacting secrets). This change eliminates boilerplate by calling
    `JSON.parse()` on the return value.
    
    Also modified the `validateContent()` and `validate()` test helpers in
    `test/common/report.js` to be somewhat more obvious and helpful. Of
    note, a report failing validation will now be easier (though still not
    _easy_) to read when prepended to the stack trace.
    
    - Refs: nodejs/diagnostics#315
    
    PR-URL: #28630
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    boneskull authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    35e3f1f View commit details
    Browse the repository at this point in the history
  70. src: replace already elevated Object, Local v8 namespace

    PR-URL: #28611
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    juanarbol authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    c50e235 View commit details
    Browse the repository at this point in the history
  71. src, tools: replace raw ptr with smart ptr

    NodeMainInstance::Create will now returrn
    an instance of NodeMainInstance in a
    unique_ptr.
    
    PR-URL: #28577
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    GauthamBanasandra authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    d34c256 View commit details
    Browse the repository at this point in the history
  72. doc: add example on how to create __filename, __dirname for esm

    PR-URL: #28282
    Fixes: #28114
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    GrosSacASac authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    d7c7023 View commit details
    Browse the repository at this point in the history
  73. src: simplify --debug flags

    Any use of --debug, --debug=, --debug-brk, or --debug-brk=
    now triggers an error. That means we can eliminate their
    aliases with --inspect counterparts and simplify the code.
    
    PR-URL: #28615
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    cjihrig authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    29fda66 View commit details
    Browse the repository at this point in the history
  74. doc: drop 'for more details' in deprecations

    The deprecations documentation links to the GitHub issue
    tracker in several places. This commit makes the text
    around those links consistent.
    
    PR-URL: #28617
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    cjihrig authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    f688122 View commit details
    Browse the repository at this point in the history
  75. readline: use named constant for surrogate checks

    This commit defines a named constant instead of using a mix of
    2 ** 16 and 0x10000 throughout the code.
    
    PR-URL: #28638
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    cjihrig authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    e0c5e7a View commit details
    Browse the repository at this point in the history
  76. readline: remove IIFE in SIGCONT handler

    This commit removes an IIFE in the readline SIGCONT handler
    that was previously being used to bind `this`.
    
    PR-URL: #28639
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    cjihrig authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    dc73403 View commit details
    Browse the repository at this point in the history
  77. readline: simplify isFullWidthCodePoint()

    The non-ICU-based isFullWidthCodePoint() can be simplified to
    a single `return` statement. This commit removes the extra
    branching logic.
    
    PR-URL: #28640
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    cjihrig authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    0383947 View commit details
    Browse the repository at this point in the history
  78. doc: remove superfluous MDN link in assert.md

    PR-URL: #28246
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    3f65b91 View commit details
    Browse the repository at this point in the history
  79. readline: expose stream API in clearScreenDown()

    This commit adds an optional callback to clearScreenDown(),
    which is passed to the stream's write() method. It also
    exposes the return value of write().
    
    PR-URL: #28641
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    cjihrig authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    17df75f View commit details
    Browse the repository at this point in the history
  80. path: using .relative() should not return a trailing slash

    Resolving a path against root with `path.relative()` should not
    include a trailing slash.
    
    Fixes: #28549
    
    PR-URL: #28556
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    BridgeAR authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    18c56df View commit details
    Browse the repository at this point in the history
  81. path: move branch to the correct location

    This code branch only makes sense when i === length. Otherwise it'll
    already be handled.
    
    PR-URL: #28556
    Fixes: #28549
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    BridgeAR authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    5b5c819 View commit details
    Browse the repository at this point in the history
  82. doc: mark process.report as experimental

    Everything under process.report is experimental. This commit
    adds the missing stability index entries.
    
    PR-URL: #28653
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    cjihrig authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    7a4062a View commit details
    Browse the repository at this point in the history
  83. doc: mark N-API thread-safe function stable

    The various TSFN APIs are marked as stable, but the TSFN heading itself
    is still marked as experimental.
    
    PR-URL: #28643
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Gabriel Schulhof authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    aee8694 View commit details
    Browse the repository at this point in the history
  84. zlib: do not coalesce multiple .flush() calls

    This is an approach to address the issue linked below. Previously,
    when `.write()` and `.flush()` calls to a zlib stream were interleaved
    synchronously (i.e. without waiting for these operations to finish),
    multiple flush calls would have been coalesced into a single flushing
    operation.
    
    This patch changes behaviour so that each `.flush()` all corresponds
    to one flushing operation on the underlying zlib resource, and the
    order of operations is as if the `.flush()` call were a `.write()`
    call.
    
    One test had to be removed because it specifically tested the previous
    behaviour.
    
    As a drive-by fix, this also makes sure that all flush callbacks are
    called. Previously, that was not the case.
    
    Fixes: #28478
    
    PR-URL: #28520
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    addaleax authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    03de306 View commit details
    Browse the repository at this point in the history
  85. src: add cleanup hook for ContextifyContext

    Otherwise there’s a memory leak left by the context when the Isolate
    tears down without having run the weak callback.
    
    PR-URL: #28631
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    addaleax authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    5c1d595 View commit details
    Browse the repository at this point in the history
  86. deps: update acorn to 6.2.0

    Includes support for bigint syntax so we can remove the acorn-bigint
    plugin.
    
    PR-URL: #28649
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    c7cb70c View commit details
    Browse the repository at this point in the history
  87. http2: report memory allocated by nghttp2 to V8

    This helps the JS engine have a better understanding of the memory
    situation in HTTP/2-heavy applications, and avoids situations that
    behave like memory leaks due to previous underestimation of memory
    usage which is tied to JS objects.
    
    Refs: #28088 (comment)
    
    PR-URL: #28645
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    addaleax authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    62f3682 View commit details
    Browse the repository at this point in the history
  88. tools: add coverage to ignored files

    This adds the coverage directory to the .gitignore file.
    
    PR-URL: #28626
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    lholmquist authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    9ffa5fb View commit details
    Browse the repository at this point in the history
  89. build,v8: support IBM i

    Some libraries do not exist on IBM i (OS400).
    Commit 417c18e introduces these missing libraries.
    Need to differentiate `AIX` and `OS400`(IBM i).
    
    PR-URL: #28607
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    dmabupt authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    209b353 View commit details
    Browse the repository at this point in the history
  90. test: fix pty test hangs on aix

    Some pty tests persistently hung on the AIX CI buildbots. Fix that by
    adding a helper script that properly sets up the pty before spawning
    the script under test.
    
    On investigation I discovered that the test runner hung when it tried
    to close the slave pty's file descriptor, probably due to a bug in
    AIX's pty implementation. I could reproduce it with a short C program.
    The test runner also leaked file descriptors to the child process.
    
    I couldn't convince python's `subprocess.Popen()` to do what I wanted
    it to do so I opted to move the logic to a helper script that can do
    fork/setsid/etc. without having to worry about stomping on state in
    tools/test.py.
    
    In the process I also uncovered some bugs in the pty module of the
    python distro that ships with macOS 10.14, leading me to reimplement
    a sizable chunk of the functionality of that module.
    
    And last but not least, of course there are differences between ptys
    on different platforms and the helper script has to paper over that.
    Of course.
    
    Really, this commit took me longer to put together than I care to admit.
    
    Caveat emptor: this commit takes the hacky ^D feeding to the slave out
    of tools/test.py and puts it in the *.in input files. You can also feed
    other control characters to tests, like ^C or ^Z, simply by inserting
    them into the corresponding input file. I think that's nice.
    
    Fixes: nodejs/build#1820
    Fixes: #28489
    
    PR-URL: #28600
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    bnoordhuis authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    9f6600a View commit details
    Browse the repository at this point in the history
  91. src: lint #defines in src/node.h

    A few #defines in src/node.h had inconsistent spacing
    and tabbing. This commit changes the spacing to be
    the same style as the rest of the project.
    
    PR-URL: #28547
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    srcmake authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    4b9d419 View commit details
    Browse the repository at this point in the history
  92. build: remove broken intel vtune support

    Support for VTune profiling was added in commit a881b53 from November
    2015 but has since bitrotted. Remove it.
    
    Fixes: #28310
    Refs: #3785
    
    PR-URL: #28522
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    bnoordhuis authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    b4aa7d3 View commit details
    Browse the repository at this point in the history
  93. src: add missing option parser template for the DebugOptionsParser

    This allows embedders to run `node::options_parser::Parse` for a
    `node::DebugOptions`.
    
    PR-URL: #28543
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    MarshallOfSound authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    1f0fd1b View commit details
    Browse the repository at this point in the history
  94. test: increase limit for network space overhead test

    This test imposes a limit on the average bytes of space per chunk
    for network traffic. However this number depends on VM
    implementation details, and upcoming changes to V8's
    array buffer management require a small bump to this
    limit in this test.
    
    PR-URL: #28492
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Ben L. Titzer authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    499969d View commit details
    Browse the repository at this point in the history
  95. stream: use readableEncoding public api for child_process

    PR-URL: #28548
    Refs: #445
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    ZYSzys authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    00b2200 View commit details
    Browse the repository at this point in the history
  96. doc: add documentation for createDiffieHellmanGroup

    PR-URL: #28585
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Ojasvi Monga authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    5614e08 View commit details
    Browse the repository at this point in the history
  97. deps: cherry-pick 13a04aba from V8 upstream

    Original commit message:
      fix: move V8_EXPORT_PRIVATE marks to prevent unresolvable references
    
      This change fixes missing symbol errors in the Windows 10 on ARM build
      of Node.js.
    
      When a whole class is marked for export, all of its members are marked
      as well. This can be a problem when inline members call undefined yet
      inline members of other classes: the exported function will contain a
      reference to the undefined inline function that should be satisfied at
      link time, but because the other function is inline no symbol will be
      produced that will satisfy that reference.
    
      Clang gets around this by masking inlined class members from export
      using /Fc:dllexportInlines-. This is why b0a2a567 worked.
    
      Node.js' Windows builds use MSVC and so do not have access to this
      flag. This results in unresolved symbols at link time.
    
      Bug: v8:9465
      Change-Id: Ief9c7ab6ba35d22f995939eb62a64d6f1992ed85
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1696771
      Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
      Reviewed-by: Jakob Gruber <jgruber@chromium.org>
      Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#62660}
    
    Refs: v8/v8@13a04ab
    PR-URL: #28602
    Reviewed-By: João Reis <reis@janeasystems.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    jkunkee authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    9e9bfb6 View commit details
    Browse the repository at this point in the history
  98. deps: cherry-pick 721dc7d from node-gyp upstream

    This change cherry-picks a small set of node-gyp v5.0.0 changes needed
    to enable Node.js ARM64 Windows builds.
    
    Original commit message:
      Add ARM64 to MSBuild /Platform logic
    
      PR-URL: nodejs/node-gyp#1655
      Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
      Reviewed-By: João Reis <reis@janeasystems.com>
    
    Refs: nodejs/node-gyp@721dc7d
    PR-URL: #28604
    Reviewed-By: Christian Clauss <cclauss@me.com>
    Reviewed-By: João Reis <reis@janeasystems.com>
    jkunkee authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    7fa982e View commit details
    Browse the repository at this point in the history
  99. deps: cherry-pick 91744bf from node-gyp upstream

    This change cherry-picks a small set of node-gyp v5.0.0 changes needed
    to enable Node.js ARM64 Windows builds.
    
    Original commit message:
      gyp: add support for Windows on Arm
    
      Cherry-pick of refack/GYP3#33, supersedes
      nodejs/node-gyp#1678 until GYP3 is merged.
    
      `npm test` passes
    
      Change-Id: I2b1e1e03e378b4812d34afa527087793864d1576
    
      PR-URL: nodejs/node-gyp#1739
      Reviewed-By: Refael Ackermann <refack@gmail.com>
      Reviewed-By: João Reis <reis@janeasystems.com>
    
    Refs: nodejs/node-gyp@91744bf
    PR-URL: #28604
    Reviewed-By: Christian Clauss <cclauss@me.com>
    Reviewed-By: João Reis <reis@janeasystems.com>
    jkunkee authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    df0f42a View commit details
    Browse the repository at this point in the history
  100. doc: small grammar correction

    This commit improves the grammar of one sentence in the ESM
    documentation.
    
    PR-URL: #28669
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    638c8a3 View commit details
    Browse the repository at this point in the history
  101. inspector: do not change async call stack depth if the worker is done

    Fixes: #28528
    PR-URL: #28613
    Reviewed-By: Aleksei Koziatinskii <ak239spb@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    eugeneo authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    aba0cf3 View commit details
    Browse the repository at this point in the history
  102. doc: add missing version metadata for Readable.from

    Fixes: #28693
    
    PR-URL: #28695
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    addaleax authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    8ddf86b View commit details
    Browse the repository at this point in the history
  103. doc: update js-native-api example

    Update example that shows how to separate N-API code which is not
    Node.js-specific from code which defines a Node.js N-API addon. In its
    existing state the example uses the pattern
    
    ```C
    assert(napi_*() == napi_ok);
    ```
    
    However, this would result in no N-API calls when building with
    `-DNDEBUG`.
    
    This change moves away from assert and uses a macro `NAPI_CALL()` which
    throws the string corresponding to the non-`napi_ok` status as a JS
    exception and short-circuits the binding by returning `NULL`.
    
    PR-URL: #28657
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Gabriel Schulhof authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    4321cb2 View commit details
    Browse the repository at this point in the history
  104. doc: fix minor typo

    PR-URL: #28148
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    shajanjp authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    3a4a236 View commit details
    Browse the repository at this point in the history
  105. deps: V8: backport d2ccc59

    Original commit message:
    
        [snapshot] print reference stack for JSFunctions in the isolate snapshot
    
        This helps debugging incorrect usage of the SnapshotCreator API in
        debug mode.
    
        Change-Id: Ibd9db76a5f460cdf7ea6d14e865592ebaf69aeef
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1648240
        Reviewed-by: Yang Guo <yangguo@chromium.org>
        Commit-Queue: Yang Guo <yangguo@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#62095}
    
    Refs: v8/v8@d2ccc59
    
    PR-URL: #28648
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    312f949 View commit details
    Browse the repository at this point in the history
  106. src: large pages option: FreeBSD support proposal

    Enabling on amd64 and as Linux, are 2MB large.
    The ELF section linkage script is compatible only with GNU ld.
    
    PR-URL: #28331
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    devnexen authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    0b7feca View commit details
    Browse the repository at this point in the history
  107. module: increase code coverage of cjs loader

    Add test cases to cover uncovered wrap and wrapper getters.
    
    Refs: https://coverage.nodejs.org/coverage-99268b1e996d13a0/lib/internal/modules/cjs/loader.js.html#L153
    
    PR-URL: #27898
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    melikhov-dev authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    1770bc8 View commit details
    Browse the repository at this point in the history
  108. test: use openssl_is_fips instead of hasFipsCrypto

    Currently, when dynamically linking against a FIPS enabled OpenSSL
    library test-process-env-allowed-flags-are-documented will fail with
    the following error:
    assert.js:89
    throw new AssertionError(obj);
    ^
    
    AssertionError [ERR_ASSERTION]:
    The following options are not documented as allowed in NODE_OPTIONS in
    /root/node/doc/api/cli.md: --enable-fips --force-fips
    at Object.<anonymous>
    (/test/parallel/test-process-env-allowed-flags-are-documented.js:82:8)
    at Module._compile (internal/modules/cjs/loader.js:779:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:790:10)
    at Module.load (internal/modules/cjs/loader.js:642:32)
    at Function.Module._load (internal/modules/cjs/loader.js:555:12)
    at Function.Module.runMain (internal/modules/cjs/loader.js:842:10)
    at internal/main/run_main_module.js:17:11 {
    generatedMessage: false,
    code: 'ERR_ASSERTION',
    actual: 2,
    expected: 0,
    operator: 'strictEqual'
    }
    
    This commit updates the test to use
    process.config.variables.openssl_is_fips instead of common.hasFipsCrypto
    as hasFipsCrypto only returns true if the OpenSSL library that is
    shipped with node was configured with FIPS enabled.
    
    PR-URL: #28507
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    danbev authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    d3f5145 View commit details
    Browse the repository at this point in the history
  109. test: update hasFipsCrypto in test/common/README

    PR-URL: #28507
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    danbev authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    9b2eee1 View commit details
    Browse the repository at this point in the history
  110. http: expose headers on an http.ClientRequest "information" event

    1xx intermediate status responses are allowed to have headers; so
    expose the "httpVersion", "httpVersionMajor", "httpVersionMinor",
    "headers", "rawHeaders", and "statusMessage" properties on this
    event.
    
    PR-URL: #28459
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    awwright authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    2308c74 View commit details
    Browse the repository at this point in the history
  111. readline: expose stream API in clearLine()

    This commit adds an optional callback to clearLine(), which
    is passed to the stream's write() method. It also exposes the
    return value of write().
    
    PR-URL: #28674
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    cjihrig authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    0f5af44 View commit details
    Browse the repository at this point in the history
  112. readline: expose stream API in moveCursor()

    This commit adds an optional callback to moveCursor(), which is
    passed to the stream's write() method. It also exposes the
    return value of write().
    
    PR-URL: #28674
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    cjihrig authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    4a7e20f View commit details
    Browse the repository at this point in the history
  113. readline: expose stream API in cursorTo()

    This commit adds an optional callback to cursorTo(), which is
    passed to the stream's write() method. It also exposes the
    return value of write().
    
    PR-URL: #28674
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    cjihrig authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    caee910 View commit details
    Browse the repository at this point in the history
  114. http: add response.writableFinished

    response.writableFinished is true if all data has been flushed to the
    underlying system.
    
    PR-URL: #28681
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    ronag authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    06d0abe View commit details
    Browse the repository at this point in the history
  115. gyp: cherrypick more Python3 changes from node-gyp

    PR-URL: #28563
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    cclauss authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    d630cc0 View commit details
    Browse the repository at this point in the history
  116. n-api: correct bug in napi_get_last_error

    napi_get_last_error returns incorrect napi_status.
    
    PR-URL: #28702
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Octavian Soldea authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    9c6791e View commit details
    Browse the repository at this point in the history
  117. build: specify Python version once for all tests

    Extracted from #28537 for shorter review cycle.  This makes it easier to
    experiment with new versions of Python as they become available on the
    Travis CI platform.
    
    PR-URL: #28694
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    cclauss authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    72f9229 View commit details
    Browse the repository at this point in the history
  118. test: improve variable names in pty_helper.py

    Using names like `parent_fd` and `child_fd` is more accurate here,
    and doesn’t come with unnecessary negative connotations, even if
    the previous naming is somewhat common terminology here.
    
    PR-URL: #28688
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    addaleax authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    af6608c View commit details
    Browse the repository at this point in the history
  119. test: make repl tests more resilient

    This refactors two tests to ignore line numbers in stack traces. That
    way changed line numbers do not have any impact on the test outcome
    anymore.
    
    PR-URL: #28608
    Fixes: #28546
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Lance Ball <lball@redhat.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    BridgeAR authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    506b50a View commit details
    Browse the repository at this point in the history
  120. repl: fix autocomplete while using .load

    This makes sure that complete functions work as expected after using
    the REPL's `.load` command.
    
    It also fixes the corresponding test. So far the assertion where
    swallowed and the test passed even though it should not have.
    
    Fixes: #28546
    PR-URL: #28608
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Lance Ball <lball@redhat.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    BridgeAR authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    cbd586a View commit details
    Browse the repository at this point in the history
  121. repl: fix some repl context issues

    This partially fixes contexts like `{} instanceof Object === false`
    in the REPL. This does not fix all cases, since it's something
    fundamental from the REPL's design that things like these can happen.
    
    Refs: #27859
    
    PR-URL: #28561
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    d611f5a View commit details
    Browse the repository at this point in the history
  122. doc: add examples at assert.strictEqual

    PR-URL: #28092
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    himself65 authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    3f78a51 View commit details
    Browse the repository at this point in the history
  123. doc: improve os.homedir() docs

    PR-URL: #28401
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    juanarbol authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    4a78fe5 View commit details
    Browse the repository at this point in the history
  124. doc: add example for zlib.createGzip()

    PR-URL: #28136
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    RamirezAlex authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    44acec5 View commit details
    Browse the repository at this point in the history
  125. doc: add example for beforeExit event

    PR-URL: #28430
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Vickodev authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    ca83b27 View commit details
    Browse the repository at this point in the history
  126. test: use consistent test naming

    To conform with other test names, move
    test/async-hooks/test-httparser-reuse.js to
    test/async-hooks/test-httpparser-reuse.js.
    
    PR-URL: #28744
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    61db987 View commit details
    Browse the repository at this point in the history
  127. test: propagate napi_status to JS

    Re: #27945 (comment)
    
    This commit regards reporting to the JS level an actual event
    that happens when using suspected improper null arguments. It is better
    to report the exact reason from N-API to the JS level.
    
    PR-URL: #28505
    Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Octavian Soldea authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    88809a4 View commit details
    Browse the repository at this point in the history
  128. tty: expose stream API from readline methods

    This commit exposes the return value and callback of the
    underlying readline APIs from the tty module.
    
    PR-URL: #28721
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    cjihrig authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    487a417 View commit details
    Browse the repository at this point in the history
  129. test,win: cleanup exec-timeout processes

    When CMD is used to launch a process and CMD is killed too quickly,
    the process can stay behind running in suspended state, never
    completing. This only happens in Windows Server 2008R2.
    
    Refs: nodejs/build#1829
    
    PR-URL: #28723
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    joaocgreis authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    ff432c8 View commit details
    Browse the repository at this point in the history
  130. esm: implement "pkg-exports" proposal

    Refs: jkrems/proposal-pkg-exports#36
    
    PR-URL: #28568
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    guybedford authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    b379c0e View commit details
    Browse the repository at this point in the history
  131. deps: upgrade npm to 6.10.0

    PR-URL: #28525
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    isaacs authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    1ce2b5e View commit details
    Browse the repository at this point in the history
  132. http: avoid extra listener

    PR-URL: #28705
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    ronag authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    ed85043 View commit details
    Browse the repository at this point in the history
  133. vm: remove usage of public util module

    PR-URL: #28460
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    baekrxnn authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    a0e8a25 View commit details
    Browse the repository at this point in the history
  134. zlib: remove usage of public util module

    PR-URL: #28454
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    baekrxnn authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    b8079f5 View commit details
    Browse the repository at this point in the history
  135. build: fix building with d8

    PR-URL: #28733
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    be32bec View commit details
    Browse the repository at this point in the history
  136. test: changed function to arrow function

    Convert callback functions that are anonymous
    to arrow functions for better readability.
    Also adjusted the `this` object in places
    where that was required.
    
    PR-URL: #28726
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    HarshithaKP authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    7989d5c View commit details
    Browse the repository at this point in the history
  137. build: update of the large page option error

    Now large pages is also supported by FreeBSD.
    
    PR-URL: #28729
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    devnexen authored and targos committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    5d09c15 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2019

  1. build: skip test-ci doc targets if no crypto

    PR-URL: #28747
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    rvagg authored and targos committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    632d7d5 View commit details
    Browse the repository at this point in the history
  2. lib: rename lib/internal/readline.js

    This commit moves lib/internal/readline.js to
    lib/internal/readline/utils.js. This is in preparation of
    adding a readline.promises implementation.
    
    PR-URL: #28753
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    cjihrig authored and targos committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    5c10007 View commit details
    Browse the repository at this point in the history
  3. doc: amplify warning for execute callback

    Add specific recommendation not to use the
    to the napi-env parameter in napi_async_execute_callback
    
    PR-URL: #28738
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    mhdawson authored and targos committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    8fe9ca4 View commit details
    Browse the repository at this point in the history
  4. doc: add information for heap snapshot flag

    It's nice to have usage examples, especially since the flag requires the
    `SIG` version of the signal name, unlike `kill`.
    
    PR-URL: #28754
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    tstirrat15 authored and targos committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    06991cd View commit details
    Browse the repository at this point in the history
  5. doc: add code example to subprocess.stdout

    PR-URL: #28402
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    juanarbol authored and targos committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    cf811ec View commit details
    Browse the repository at this point in the history
  6. policy: add policy-integrity to mitigate policy tampering

    PR-URL: #28734
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    bmeck authored and targos committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    2eeb44f View commit details
    Browse the repository at this point in the history
  7. inspector: do not spin-wait while waiting for the initial connection

    Fixes: #28741
    
    PR-URL: #28756
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Aleksei Koziatinskii <ak239spb@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>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    eugeneo authored and targos committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    7b0b06d View commit details
    Browse the repository at this point in the history
  8. src: add public virtual destructor for KVStore

    As KVStore has derived classes, it is essential to
    declare a public virtual destructor in the base
    KVStore class. Otherwise, deleting derived class
    instances using base class pointers would
    potentially cause undefined behaviour.
    
    Additionally, since we are implementing a non-default
    destructor, the special member functions have also
    been implemented in order to abide by the rule of five.
    
    PR-URL: #28737
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    GauthamBanasandra authored and targos committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    74243da View commit details
    Browse the repository at this point in the history
  9. http2: compat req.complete

    PR-URL: #28627
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    ronag authored and targos committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    49e4d72 View commit details
    Browse the repository at this point in the history
  10. inspector: add inspector.waitForDebugger()

    This method blocks current node process until a client sends
    Runtime.runifWaitingForDebugger.
    
    It can be useful when we need to report inspector.url() before
    waiting for connection:
    ```
    inspector.open(0, undefined, false);
    fs.writeFileSync(someFileName, inspector.url());
    inspector.waitForDebugger();
    ```
    
    PR-URL: #28453
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    alexkozy authored and targos committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    77bdbc5 View commit details
    Browse the repository at this point in the history
  11. stream: add null push transform in async_iterator

    when the readable side of a transform ends any for await
    loop on that transform stream should also complete. This
    fix prevents for await loop on a transform stream
    from hanging indefinitely.
    
    PR-URL: #28566
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    David Mark Clements authored and targos committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    0793398 View commit details
    Browse the repository at this point in the history
  12. test: fix assertion argument order in test-esm-namespace

    PR-URL: #28474
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    RamirezAlex authored and targos committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    af6fe5f View commit details
    Browse the repository at this point in the history
  13. src: expose TraceEventHelper with NODE_EXTERN

    As node requires a tracing controller to be initialized embedders need
    access to the TraceEventHelper so that we can actually set the tracing
    controller.
    
    Refs: https://github.com/electron/electron/commit/0e5b6f93000e4718c9e35332ddbd0f6b76cdd585/#diff-89b287b2edd0a02dddae60cb26157f47
    
    PR-URL: #28724
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    MarshallOfSound authored and targos committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    2839298 View commit details
    Browse the repository at this point in the history
  14. deps: update nghttp2 to 1.39.1

    PR-URL: #28448
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    gengjiawen authored and targos committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    9f47242 View commit details
    Browse the repository at this point in the history
  15. src: silence compiler warning

    This commit fixes the following warning:
    
    warning: missing field 'exports' initializer
    
    PR-URL: #28764
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    cjihrig authored and targos committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    7df5498 View commit details
    Browse the repository at this point in the history
  16. doc: update env default on child_process functions

    PR-URL: #28776
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    h3knix authored and targos committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    2a82d54 View commit details
    Browse the repository at this point in the history
  17. tools: remove unused pkgsrc directory

    The pkgsrc Makefile target was removed in 2015
    
    Refs: #1938
    
    PR-URL: #28783
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    targos committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    5eb37cc View commit details
    Browse the repository at this point in the history
  18. doc: claim NODE_MODULE_VERSION=75 for Electron 7

    PR-URL: #28774
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    MarshallOfSound authored and targos committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    8586294 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2019

  1. deps: V8: backport b33af60

    Original commit message:
    
        [api] Get ScriptOrModule from CompileFunctionInContext
    
        Adds a new out param which allows accessing the ScriptOrModule
        of a function, which allows an embedder such as Node.js to use
        the function's i::Script lifetime.
    
        Refs: nodejs/node-v8#111
        Change-Id: I34346d94d76e8f9b8377c97d948673f4b95eb9d5
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1699698
        Reviewed-by: Yang Guo <yangguo@chromium.org>
        Commit-Queue: Yang Guo <yangguo@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#62830}
    
    Refs: v8/v8@b33af60
    
    Backport-PR-URL: #28779
    PR-URL: #28671
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    devsnek authored and targos committed Jul 23, 2019
    Configuration menu
    Copy the full SHA
    674d33c View commit details
    Browse the repository at this point in the history
  2. vm: fix gc bug with modules and compiled functions

    Backport-PR-URL: #28779
    PR-URL: #28671
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    devsnek authored and targos committed Jul 23, 2019
    Configuration menu
    Copy the full SHA
    7b4638c View commit details
    Browse the repository at this point in the history
  3. src: make CompiledFnEntry a BaseObject

    In particular:
    
    - Move the class definition to the relevant header file,
      i.e. `node_contextify.h`.
    - Make sure that class instances are destroyed on
      `Environment` teardown.
    - Make instances of the key object traceable in heap dumps. This is
      particularly relevant here because our C++ script → map key mapping
      could introduce memory leaks when the import function metadata refers
      back to the script in some way.
    
    Refs: #28671
    
    PR-URL: #28782
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    addaleax authored and targos committed Jul 23, 2019
    Configuration menu
    Copy the full SHA
    c0f24be View commit details
    Browse the repository at this point in the history
  4. src: do not include partial AsyncWrap instances in heap dump

    Heap dumps can be taken either through the inspector or the public API
    for it during an async_hooks init() hook, but at that point the
    AsyncWrap in question is not done initializing yet and virtual methods
    cannot be called on it.
    
    Address this issue (somewhat hackily) by excluding `AsyncWrap`
    instances which have not yet executed their `init()` hook fully
    from heap dumps.
    
    Fixes: #28786
    
    PR-URL: #28789
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    addaleax authored and targos committed Jul 23, 2019
    Configuration menu
    Copy the full SHA
    302865e View commit details
    Browse the repository at this point in the history
  5. tools: update ESLint to 6.1.0

    Update ESLint to 6.1.0
    
    PR-URL: #28793
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    cjihrig authored and targos committed Jul 23, 2019
    Configuration menu
    Copy the full SHA
    ed43880 View commit details
    Browse the repository at this point in the history
  6. dns: fix unsigned record values

    Fixes: #28790
    
    PR-URL: #28792
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    mscdex authored and targos committed Jul 23, 2019
    Configuration menu
    Copy the full SHA
    0ee1298 View commit details
    Browse the repository at this point in the history