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.13.2 proposal #30865

Closed
wants to merge 226 commits into from
Closed

v12.13.2 proposal #30865

wants to merge 226 commits into from

Commits on Dec 1, 2019

  1. tools: check-imports using utf-8

    PR-URL: #30220
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    cclauss authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    051e27b View commit details
    Browse the repository at this point in the history
  2. tools: update certdata.txt

    This is the certdata.txt[0] from NSS 3.47, released on 2019-10-21.
    
    This is the version of NSS that will ship in Firefox 71 on
    2019-12-10.
    
    [0] https://hg.mozilla.org/projects/nss/raw-file/NSS_3_47_RTM/lib/ckfw/builtins/certdata.txt
    
    PR-URL: #30195
    Reviewed-By: Sam Roberts <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Beth Griggs <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    AshCripps authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    a209d41 View commit details
    Browse the repository at this point in the history
  3. crypto: update root certificates

    Update the list of root certificates in src/node_root_certs.h with
    tools/mk-ca-bundle.pl.
    
    Certificates added:
    
    Certificates removed:
    - Certplus Class 2 Primary CA
    - Deutsche Telekom Root CA 2
    
    PR-URL: #30195
    Reviewed-By: Sam Roberts <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Beth Griggs <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    AshCripps authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    b1f4507 View commit details
    Browse the repository at this point in the history
  4. v8: inspect unserializable objects

    This would otherwise sometimes just print relatively useless
    information about the value in question, such as `[object Object]`.
    
    PR-URL: #30167
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gus Caplan <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    addaleax authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    2b162a8 View commit details
    Browse the repository at this point in the history
  5. encoding: make TextDecoder handle BOM correctly

    Do not accept the BOM if it comes from a different encoding, and
    only discard the BOM after it has actually been read (including
    when it is spread over multiple chunks in streaming mode).
    
    Fixes: #25315
    
    PR-URL: #30132
    Reviewed-By: Gus Caplan <[email protected]>
    addaleax authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    3be9b22 View commit details
    Browse the repository at this point in the history
  6. src: remove unimplemented method from node.h

    This function was not actually available during any part
    of the Node 12 release line because it had been removed
    earlier (likely accidentally).
    
    Refs: #27220
    
    PR-URL: #30098
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Yongsheng Zhang <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    addaleax authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    bca0e0f View commit details
    Browse the repository at this point in the history
  7. src: make AtExit() callbacks run in reverse order

    This makes the actual behaviour match the documented (and arguably
    the correct) behaviour.
    
    PR-URL: #30230
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    addaleax authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    338d216 View commit details
    Browse the repository at this point in the history
  8. process: make source map getter resistant against prototype tampering

    Since this code runs during process and Worker shutdown, it should not
    call user-provided code and thereby e.g. provide a way to break out of
    `worker.terminate()`.
    
    PR-URL: #30228
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Ben Coe <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    5cbe7c2 View commit details
    Browse the repository at this point in the history
  9. doc: update examples in writing-tests.md

    `writing-tests.md` states to use arrow functions when appropriate.
    This updates the examples to do that.
    
    Further, this syncs the docs with what's found in
    [`test/parallel/test-http-agent-null.js`](https://github.com/nodejs/node/blob/master/test/parallel/test-http-agent-null.js)
    
    PR-URL: #30126
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    GaryGSC authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    63f937d View commit details
    Browse the repository at this point in the history
  10. v8: mark serdes API as stable

    This has been around for a long time, and the underlying V8 API has
    become stable as well a while ago.
    
    PR-URL: #30234
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gus Caplan <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    5342f53 View commit details
    Browse the repository at this point in the history
  11. tools: make doctool work if no internet available

    Allow doctool to fallback to use local files if not building a release
    build.
    
    PR-URL: #30214
    Fixes: #29918
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Gus Caplan <[email protected]>
    Reviewed-By: Chengzhong Wu <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    richardlau authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    ebaa738 View commit details
    Browse the repository at this point in the history
  12. doc: move inactive Collaborators to emeriti

    Move a handful of inactive Collaborators to emeriti.
    
    PR-URL: #30243
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Trott authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    557ad1a View commit details
    Browse the repository at this point in the history
  13. http,async_hooks: keep resource object alive from socket

    If `asyncReset()` is used to specify an alternative resource object
    to mark a re-used socket in the HTTP Agent implementation,
    store that object and keep it alive, because domains rely on GC tracking
    for resource objects to manage their own lifetimes, and previously that
    resource object might have been garbage-collected too early, leading to
    crashes.
    
    Fixes: #30122
    
    PR-URL: #30196
    Reviewed-By: Vladimir de Turckheim <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    addaleax authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    2bd32a8 View commit details
    Browse the repository at this point in the history
  14. src: track no of active JS signal handlers

    This makes it possible to tell whether a signal is being tracked in JS.
    
    PR-URL: #30229
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Shelley Vohr <[email protected]>
    addaleax authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    5ec3573 View commit details
    Browse the repository at this point in the history
  15. src: make EndStartedProfilers an exit hook

    Run `EndStartedProfilers` on Environment teardown.
    
    This is part of a series of changes to make embedding easier, by
    requiring fewer internal methods to build a fully functioning
    Node.js instance.
    
    PR-URL: #30229
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Shelley Vohr <[email protected]>
    addaleax authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    619b718 View commit details
    Browse the repository at this point in the history
  16. src: make WaitForInspectorDisconnect an exit hook

    Run inspector cleanup code on Environment teardown.
    
    This is part of a series of changes to make embedding easier, by
    requiring fewer internal methods to build a fully functioning
    Node.js instance.
    
    PR-URL: #30229
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Shelley Vohr <[email protected]>
    addaleax authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    79713ed View commit details
    Browse the repository at this point in the history
  17. src: use unique_ptr for InitializeInspector()

    This makes more sense than releasing and re-wrapping the raw pointer.
    
    PR-URL: #30229
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Shelley Vohr <[email protected]>
    addaleax authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    b40eede View commit details
    Browse the repository at this point in the history
  18. src: run RunBeforeExitCallbacks as part of EmitBeforeExit

    This is part of a series of changes to make embedding easier, by
    requiring fewer internal methods to build a fully functioning
    Node.js instance.
    
    This also aligns the worker_threads code with the main thread code.
    
    PR-URL: #30229
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Shelley Vohr <[email protected]>
    addaleax authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    f97f1ca View commit details
    Browse the repository at this point in the history
  19. dgram: reset bind state before emitting error

    This was previously done inconsistently, sometimes before, sometimes
    after emitting the event.
    
    PR-URL: #30210
    Fixes: #30209
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    aa30eb5 View commit details
    Browse the repository at this point in the history
  20. dgram: remove listeners on bind error

    This avoids piling up `'listening'` event listeners if
    `.bind()` fails repeatedly.
    
    Fixes: #30209
    
    PR-URL: #30210
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    29c8199 View commit details
    Browse the repository at this point in the history
  21. doc: update GOVERNANCE.md

    This consists of some hopefully-uncontroversial
    simplifications/clarifications to the text. The one substantial change
    is to update Node.js Board of Directors to be the OpenJS Board of
    Directors.
    
    PR-URL: #30259
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Christian Clauss <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Trott authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    cf89100 View commit details
    Browse the repository at this point in the history
  22. test: deflake test-tls-close-notify.js

    This test occasionally fails on macOS with the following error
    
    ```
    events.js:187
          throw er; // Unhandled 'error' event
          ^
    
    Error: read ECONNRESET
        at TLSWrap.onStreamRead (internal/stream_base_commons.js:201:27)
    Emitted 'error' event on TLSSocket instance at:
        at emitErrorNT (internal/streams/destroy.js:84:8)
        at processTicksAndRejections (internal/process/task_queues.js:80:21) {
      errno: -54,
      code: 'ECONNRESET',
      syscall: 'read'
    }
    ```
    
    Fix it by making the client send the close_notify alert instead of the
    server.
    
    PR-URL: #30202
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    lpinca authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    f6498d7 View commit details
    Browse the repository at this point in the history
  23. tls: refactor tls_wrap.cc

    Store the result of excetuting the function in variable. Instead of
    excetuting it for multiple times.
    
    PR-URL: #30303
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    artmaks authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    62e7cf0 View commit details
    Browse the repository at this point in the history
  24. module: fix for empty object in InternalModuleReadJSON

    Fixes: #30245
    PR-URL: #30256
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Jan Krems <[email protected]>
    guybedford authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    ec227c9 View commit details
    Browse the repository at this point in the history
  25. tls: replace var with let and const

    PR-URL: #30299
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Nolik authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    a3369b2 View commit details
    Browse the repository at this point in the history
  26. http: replace vars with lets and consts in lib/_http_agent.js

    PR-URL: #30301
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    palmires authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    f0994c6 View commit details
    Browse the repository at this point in the history
  27. src: persist strings that are used multiple times in the environment

    PR-URL: #30321
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    bmsdave authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    7267396 View commit details
    Browse the repository at this point in the history
  28. https: change var to let in lib/https.js

    Changed a variable declaration.
    
    PR-URL: #30320
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    galinaprokofeva authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    52604fd View commit details
    Browse the repository at this point in the history
  29. fs: change var to let

    PR-URL: #30318
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    nadinTs authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    c01a7fb View commit details
    Browse the repository at this point in the history
  30. assert: replace var with let in lib/assert.js

    Refs: nodejs/code-and-learn#97
    
    PR-URL: #30261
    Reviewed-By: Yongsheng Zhang <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    PerfectPan authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    0e105bd View commit details
    Browse the repository at this point in the history
  31. cluster: destruct primordials in lib/internal/cluster/worker.js

    Refs: nodejs/code-and-learn#97
    
    PR-URL: #30246
    Refs: nodejs/code-and-learn#97
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Khaidi Chu <[email protected]>
    Reviewed-By: Yongsheng Zhang <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    peze authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    5c72cc3 View commit details
    Browse the repository at this point in the history
  32. buffer: change var to let

    PR-URL: #30292
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    darky authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    4ec0b74 View commit details
    Browse the repository at this point in the history
  33. lib: change var to let in lib/_stream_duplex.js

    PR-URL: #30297
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Anto Aravinth <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    vabole authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    0d8c58f View commit details
    Browse the repository at this point in the history
  34. dns: switch var to const/let

    Simple exchange var to const/let.
    
    PR-URL: #30302
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Dmitriy Kikinskiy authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    0828154 View commit details
    Browse the repository at this point in the history
  35. process: add coverage tests for sourceMapFromDataUrl method

    PR-URL: #30319
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ben Coe <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Masashi Hirano <[email protected]>
    Nolik authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    75cb026 View commit details
    Browse the repository at this point in the history
  36. path: replace var with let in lib/path.js

    PR-URL: #30260
    Refs: nodejs/code-and-learn#97
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    peze authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    2f2a8aa View commit details
    Browse the repository at this point in the history
  37. test: fix test-benchmark-cluster

    test-benchmark-cluster needs to account for an option added in 973f324.
    
    PR-URL: #30342
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Yongsheng Zhang <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    4acd3c3 View commit details
    Browse the repository at this point in the history
  38. doc,meta: remove wait period for npm pull requests

    Treat npm pull requests like all other pull requests. Remove special
    extended wait period for landing.
    
    PR-URL: #30329
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Sam Roberts <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Beth Griggs <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    fa5c7e5 View commit details
    Browse the repository at this point in the history
  39. deps: update npm to 6.13.0

    PR-URL: #30271
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    ruyadorno authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    5b2e0f5 View commit details
    Browse the repository at this point in the history
  40. doc,meta: allow Travis results for doc/comment changes

    Permit the use of Travis CI results for pull requests that only change
    documentation or comments. This also removes
    node-test-pull-request-lite-pipeline from the documentation. Efforts to
    move all CI jobs to pipelines have stalled and it's not clear that our
    current Jenkins admins are enthusiastic about pipelines.
    
    PR-URL: #30330
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    879f57d View commit details
    Browse the repository at this point in the history
  41. test: mark test-http-dump-req-when-res-ends as flaky on windows

    PR-URL: #30316
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Sam Roberts <[email protected]>
    Reviewed-By: Beth Griggs <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    AshCripps authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    4f91459 View commit details
    Browse the repository at this point in the history
  42. test: fix Python unittests in ./test and ./tools

    Co-authored-by: @patrickhousley
    
    Fixes to Python tests to ensure that the following all pass:
    1. __python2 -m pytest ./test ./tools__  # 30 tests pass
    2. __python3 -m pytest ./test ./tools__  # 30 tests pass
    3. __python2 -m unittest discover -s ./test/tools__  # 1 test passes
    4. __python3 -m unittest discover -s ./test/tools__  # 1 test passes
    5. __PYTHON=python2 make tooltest__   # 1 test passes
    6. __PYTHON=python3 make tooltest__   # 1 test passes
    
    This is a subset of #30033
    
    PR-URL: #30340
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    cclauss authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    deb1824 View commit details
    Browse the repository at this point in the history
  43. doc: add link to node-code-ide-configs in testing

    Refs: https://github.com/orgs/nodejs/teams/collaborators/discussions/58
    
    This config will help contributors to run/debug tests on VSCode
    
    PR-URL: #24012
    Reviewed-By: James M Snell <[email protected]>
    trivikr authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    60a0f1e View commit details
    Browse the repository at this point in the history
  44. stream: increase MAX_HWM

    MAX_HWM was added in 9208c89 where the highwatermark was changed to
    always increase in steps of highest power of 2 to prevent increasing
    hwm excessivly in tiny amounts.
    
    Why a limit was added on the highwatermark is unclear but breaks
    existing usage where a larger read size is used. The invariant for
    read(n) is that a buffer of size n is always returned. Considering
    a maximum ceiling on the buffer size breaks this invariant.
    
    This PR significantly increases the limit to make it less likely to
    break the previous invariant and also documents the limit.
    
    Fixes: #29933
    
    PR-URL: #29938
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    ronag authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    b5625f6 View commit details
    Browse the repository at this point in the history
  45. http: http_incoming rename var to let and const

    PR-URL: #30285
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    telenord authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    70cf4d2 View commit details
    Browse the repository at this point in the history
  46. net: replaced vars to lets and consts

    PR-URL: #30287
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Anto Aravinth <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    alexahdp authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    c199570 View commit details
    Browse the repository at this point in the history
  47. http: http_common rename var to let and const

    PR-URL: #30288
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    telenord authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    2ece4fe View commit details
    Browse the repository at this point in the history
  48. lib: replaced var to let in lib/v8.js

    PR-URL: #30305
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    bmsdave authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    7faa7d1 View commit details
    Browse the repository at this point in the history
  49. tls: replace var with let

    PR-URL: #30308
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    dividead authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    67e9985 View commit details
    Browse the repository at this point in the history
  50. doc: fix up N-API doc

    * Add missing N-API version info
    * Fix N-API version info for napi_extended_error_info
    
    PR-URL: #30254
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    mhdawson authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    8274875 View commit details
    Browse the repository at this point in the history
  51. test: replace Object.assign with object spread

    Replaces Object.assign with spread where object is simply cloned
    
    PR-URL: #30306
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Grigoriy Levanov authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    d2ab2bb View commit details
    Browse the repository at this point in the history
  52. doc, console: remove non-existant methods from docs

    PR-URL: #30346
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    SimonSchick authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    77abcad View commit details
    Browse the repository at this point in the history
  53. doc: add lookup to http.request() options

    Add documentation for the `lookup` option.
    
    PR-URL: #30353
    Fixes: #30171
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Anto Aravinth <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    lpinca authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    671e028 View commit details
    Browse the repository at this point in the history
  54. crypto: fix key requirements in asymmetric cipher

    PR-URL: #30249
    Fixes: #30237
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    tniessen authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    be0b53d View commit details
    Browse the repository at this point in the history
  55. doc: remove "maintenance is supported by" text in BUILDING.md

    The "maintenance is supported by" stuff in BUILDING.md is unclear. It
    seems unnecessary so I propose removing it.
    
    I don't understand what it means to, in this context, support
    maintenance. Does it mean that you simply do the maintenance? Does that
    mean it really just means "maintain"? Do we really mean that we mantain
    support, rather than support maintenance?
    
    That information does not seem necessary to include. I'm not sure it's
    meaningful. With (for example) Windows, is it accurate to say that the
    Node.js core team maintains support for it? Or is it accurate to say
    that support is maintaned by smaller groups or individuals within the
    Node.js core team?  Both could be considered accurate. So is the
    difference meaningful?
    
    I think the more important elements of determinig tier support are the
    other listed elements.
    
    PR-URL: #30365
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Trott authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    a7d552c View commit details
    Browse the repository at this point in the history
  56. doc: remove "multiple variants" from BUILDING.md

    The statement that tests for tier 1 platforms are run on multiple
    variants is not true. We usually only run on one variant of macOS.
    Remove "multiple", which simplifies and clarifies the statements anyway.
    
    PR-URL: #30366
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Denys Otrishko <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Trott authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    5c88500 View commit details
    Browse the repository at this point in the history
  57. doc: simplify text in pull-requests.md

    Mostly, this replaces "It is recommended to do X" with "Do X."
    
    PR-URL: #30458
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Denys Otrishko <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Trott authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    04ffa49 View commit details
    Browse the repository at this point in the history
  58. test: change var to const in parallel/test-stream-transform-final*

    PR-URL: #30448
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    khoumani authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    2b52a3f View commit details
    Browse the repository at this point in the history
  59. doc: add entry to url.parse() changes metadata

    Document that returned `pathname` is now `/` when the URL to parse has
    no path and the protocol scheme is`ws:` or `wss:`.
    
    PR-URL: #30348
    Fixes: #30154
    Refs: #26941
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Yongsheng Zhang <[email protected]>
    Reviewed-By: Masashi Hirano <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    lpinca authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    1ef1f4f View commit details
    Browse the repository at this point in the history
  60. test: deflake test-http-dump-req-when-res-ends.js

    On some platforms the `'end'` event might not be emitted because the
    socket could be destroyed by the other peer while the client is still
    sending the data triggering an error. Use the `'close'` event instead.
    
    PR-URL: #30360
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Anto Aravinth <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    lpinca authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    b685d7d View commit details
    Browse the repository at this point in the history
  61. lib: change var to let in string_decoder

    PR-URL: #30393
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    mkdorff authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    47fa164 View commit details
    Browse the repository at this point in the history
  62. doc: createRequire can take import.meta.url directly

    PR-URL: #30495
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Guy Bedford <[email protected]>
    GeoffreyBooth authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    9d6c293 View commit details
    Browse the repository at this point in the history
  63. url: replace var with let in lib/url.js

    PR-URL: #30281
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    xefimx authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    1413377 View commit details
    Browse the repository at this point in the history
  64. doc: update 8.x to 10.x in backporting guide

    PR-URL: #30481
    Refs: #22879
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    GaryGSC authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    c722421 View commit details
    Browse the repository at this point in the history
  65. lib: replace var with let/const

    PR-URL: #30440
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    khoumani authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    56c57d8 View commit details
    Browse the repository at this point in the history
  66. util: replace var with let

    PR-URL: #30439
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    ssncferreira authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    98235d8 View commit details
    Browse the repository at this point in the history
  67. benchmark: use let instead of var in assert

    PR-URL: #30450
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    dnlup authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    7d113af View commit details
    Browse the repository at this point in the history
  68. tls: change loop var to let

    PR-URL: #30445
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Xavier-Redondo authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    58016e0 View commit details
    Browse the repository at this point in the history
  69. doc: replace const / var with let

    PR-URL: #30446
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    duncanhealy authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    325dc23 View commit details
    Browse the repository at this point in the history
  70. test: var to const in test-repl-multiline.js

    PR-URL: #30433
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    soulmonk authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    fe8c46a View commit details
    Browse the repository at this point in the history
  71. test: changed var to const in test

    Changed outdated var to const in the test file
    repl-unexpected-token-recoverable.js
    
    PR-URL: #30434
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    bassgeta authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    2eec51a View commit details
    Browse the repository at this point in the history
  72. test: change var to let

    PR-URL: #30444
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    nath1as authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    881de0e View commit details
    Browse the repository at this point in the history
  73. src: lib/internal/timers.js var -> let/const

    PR-URL: #30314
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    nikolaykrashnikov authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    56b3205 View commit details
    Browse the repository at this point in the history
  74. test: improve test-fs-open

    If there is a file 'path' in the root dir, the test
    will fail with the 'ENOTDIR' instead of 'ENOENT'.
    Change path to something more unlikely.
    
    PR-URL: #30280
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    artmaks authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    1f54cf5 View commit details
    Browse the repository at this point in the history
  75. build: store cache on timed out builds on Travis

    Building Node.js without a ccache cache takes longer than the 50 minute
    Travis time limit for jobs for public repositories. To mitigate this we
    added a job to compile V8 on the basis that in the worst case it would
    complete within 50 minutes and provide a cache that could be used by a
    restarted `Compile Node.js` job.
    
    Recent PRs have exceeded the 50 minute time limit for the `Compile V8`
    job. When Travis times out a build the cache is not stored.
    
    This commit drops the `Compile V8` job and adds a manual timeout to the
    `Compile Node.js` job which will allow the cache to be stored and used
    in restarts of the job.
    
    PR-URL: #30469
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Denys Otrishko <[email protected]>
    richardlau authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    e8b06e4 View commit details
    Browse the repository at this point in the history
  76. doc: document timed out Travis CI builds

    PR-URL: #30469
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Denys Otrishko <[email protected]>
    richardlau authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    833cb00 View commit details
    Browse the repository at this point in the history
  77. src: enhance feature access CHECKs during bootstrap

    This adds `CHECK`s verifying that bootstrapping has finished
    before environment variables are accessed or handles/requests
    are created. The latter complements a pair of existent checks,
    but fails earlier and thus gives information about the call
    site, effectively addressing the TODO comment there.
    
    PR-URL: #30452
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    e0982f7 View commit details
    Browse the repository at this point in the history
  78. stream: replace var with let

    PR-URL: #30379
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    daern91 authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    f212dd9 View commit details
    Browse the repository at this point in the history
  79. test: changed var to let in test-repl-editor

    PR-URL: #30443
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    jlPhillips-rms authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    6defe54 View commit details
    Browse the repository at this point in the history
  80. test: Change from var to const

    PR-URL: #30431
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Jure Stepisnik authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    34b136b View commit details
    Browse the repository at this point in the history
  81. querystring: replace var with let/const

    PR-URL: #30429
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Raoul Jaeckel authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    8d9080a View commit details
    Browse the repository at this point in the history
  82. lib: change var to let in internal/streams

    PR-URL: #30430
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Denys Otrishko <[email protected]>
    marquicodes authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    6908a84 View commit details
    Browse the repository at this point in the history
  83. benchmark: use let instead of var in async_hooks

    PR-URL: #30470
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    dnlup authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    2ad7003 View commit details
    Browse the repository at this point in the history
  84. deps: update nghttp2 to 1.40.0

    PR-URL: #30493
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Yongsheng Zhang <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    gengjiawen authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    2960ef1 View commit details
    Browse the repository at this point in the history
  85. doc: adds NO_COLOR to assert doc page

    Co-Authored-By: Vse Mozhet Byt <[email protected]>
    
    PR-URL: #30483
    Refs: #30484
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Denys Otrishko <[email protected]>
    shobhitchittora authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    8bb232f View commit details
    Browse the repository at this point in the history
  86. test: handle undefined default_configuration

    PR-URL: #30465
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    codebytere authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    376ec01 View commit details
    Browse the repository at this point in the history
  87. http: revise _http_server.js

    * replace var with const
    * eliminate unnecessary bytesParsed variable
    
    http: remove bytesParsed var
    
    PR-URL: #30279
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Yorkie Liu <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    telenord authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    98963f2 View commit details
    Browse the repository at this point in the history
  88. tools: fix build at non-English windows

    PR-URL: #30492
    Fixes: #25885
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    pd4d10 authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    47ee0be View commit details
    Browse the repository at this point in the history
  89. lib: change var to let/const in internal/querystring.js

    PR-URL: #30286
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Anto Aravinth <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    artmaks authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    a2df87c View commit details
    Browse the repository at this point in the history
  90. net: destructure primordials

    Refs: #29766
    PR-URL: #30447
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Denys Otrishko <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Guilherme Goncalves authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    6894703 View commit details
    Browse the repository at this point in the history
  91. src: add file name to 'Module did not self-register' error

    PR-URL: #30125
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    nornagon authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    65af836 View commit details
    Browse the repository at this point in the history
  92. lib: replace var with let and const in readline.js

    PR-URL: #30377
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    VinceOPS authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    7aa999b View commit details
    Browse the repository at this point in the history
  93. lib: replace var with let

    PR-URL: #30381
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    David OLIVIER authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    e75498b View commit details
    Browse the repository at this point in the history
  94. test: clean up http-set-trailers

    * remove shared state of request counting from each listener by using
      callbacks to report test finish. This also fixes slight race condition
      where one of the request could finish before the other was taken into
      account resulting in ECONNREFUSED due to premature server.close()
    * slightly move code for better cohesion
    * fix error comment in testHttp10 'Trailer ...' -> 'No trailer ...'
    
    PR-URL: #30522
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Yongsheng Zhang <[email protected]>
    lundibundi authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    2bcd3a6 View commit details
    Browse the repository at this point in the history
  95. deps: upgrade npm to 6.13.1

    PR-URL: #30533
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    claudiahdz authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    746c67d View commit details
    Browse the repository at this point in the history
  96. doc: fix overriding of prefix option

    Make the example in the "Building a debug build" section work as
    intended.
    
    Fixes: #30477
    
    PR-URL: #30518
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    lpinca authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    a992135 View commit details
    Browse the repository at this point in the history
  97. doc: explain GIT_REMOTE_REF in COLLABORATOR_GUIDE

    PR-URL: #30371
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    lundibundi authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    89f28cc View commit details
    Browse the repository at this point in the history
  98. doc: add mention for using promisify on class methods

    Fixes: #30344
    
    PR-URL: #30355
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    lundibundi authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    51a92b9 View commit details
    Browse the repository at this point in the history
  99. test: add test for options validation of createServer

    PR-URL: #30541
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    ZYSzys authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    a8e40a9 View commit details
    Browse the repository at this point in the history
  100. http2: remove duplicated assertIsObject

    PR-URL: #30541
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    ZYSzys authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    984b3c9 View commit details
    Browse the repository at this point in the history
  101. domain: rename var to let and const

    PR-URL: #30312
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    marystogova authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    6e9a1b2 View commit details
    Browse the repository at this point in the history
  102. test: improve assertion message in internet dgram test

    When an error occurs unexpectedly, let the user know what the error is.
    
    PR-URL: #30545
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    36b6b05 View commit details
    Browse the repository at this point in the history
  103. test: use reserved .invalid TLD for invalid address in test

    RFC 2606 reserves ithe .invalid top-level-domain for use in "domain
    names that are sure to be invalid and which it is obvious at a glance
    are invalid." Replace `dne.example.com` which actually isn't guaranteed
    to not exist. (example.com is for examples, but at least one address
    does in fact exist in that TLD.)
    
    PR-URL: #30545
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    7f3aec7 View commit details
    Browse the repository at this point in the history
  104. test: move test not requiring internet from internet to parallel

    test-dgram-send-cb-quelches-error works with or without a network. Move
    to `parallel` directory.
    
    PR-URL: #30545
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    aaee981 View commit details
    Browse the repository at this point in the history
  105. crypto: remove redundant validateUint32 argument

    The third parameter should be a boolean indicating whether the number
    must be positive. Passing zero works, but is unnecessary, misleading
    and inconsistent with other uses of the same function.
    
    PR-URL: #30579
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    tniessen authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    18db451 View commit details
    Browse the repository at this point in the history
  106. test: refactor test-dgram-multicast-set-interface-lo.js

    Convert functions to arrow functions. Remove unused param('signal') from
    function.
    
    PR-URL: #30536
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Taylor Gagne authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    4441121 View commit details
    Browse the repository at this point in the history
  107. src: fix signal handler crash on close

    PR-URL: #30582
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Beth Griggs <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Denys Otrishko <[email protected]>
    codebytere authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    bf43bf5 View commit details
    Browse the repository at this point in the history
  108. test: replace setTimeout with setImmediate in stream test

    Replace setTimeout() with setImmediate() in
    test-stream-writable-clear-buffer. The test still fails in Node.js 8.6.0
    (if you comment out the `common` module, since it uses BigInts and those
    aren't supported in 8.6.0).
    
    PR-URL: #30561
    Reviewed-By: Denys Otrishko <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Trott authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    0ce9a9c View commit details
    Browse the repository at this point in the history
  109. test: use arrow function for callback in stream test

    PR-URL: #30561
    Reviewed-By: Denys Otrishko <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Trott authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    dd07ad4 View commit details
    Browse the repository at this point in the history
  110. test: remove string literal as message in strictEqual() in stream test

    This reveals the values that cause the assertion error, should it
    happen.
    
    PR-URL: #30561
    Reviewed-By: Denys Otrishko <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Trott authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    33de2c6 View commit details
    Browse the repository at this point in the history
  111. test: move stream test to parallel

    I don't believe there's a reason test-stream-writable-clear-buffer needs
    to be in sequential. Move it to parallel.
    
    PR-URL: #30561
    Reviewed-By: Denys Otrishko <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Trott authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    b38740d View commit details
    Browse the repository at this point in the history
  112. test: move explanatory comment to expected location in file

    Refs: #30561 (review)
    
    PR-URL: #30561
    Reviewed-By: Denys Otrishko <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Trott authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    4dd0f5a View commit details
    Browse the repository at this point in the history
  113. test: add common.mustCall() to stream test

    Refs: https://github.com/nodejs/node/pull/30561/files#r348667256
    
    PR-URL: #30561
    Reviewed-By: Denys Otrishko <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Trott authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    c2a5da1 View commit details
    Browse the repository at this point in the history
  114. src,doc: add C++ internals documentation

    This aims to help explain some of the internal patterns and utilities
    that we use. It is by no means exhaustive, and suggestions for
    additions are welcome.
    
    Some of this is based on the existing work from #26929.
    
    Refs: #26929
    
    PR-URL: #30552
    Reviewed-By: Sam Roberts <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Denys Otrishko <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    addaleax authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    72aecd7 View commit details
    Browse the repository at this point in the history
  115. http: destructure primordials in lib/_http_server.js

    PR-URL: #30315
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    artmaks authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    d0d8913 View commit details
    Browse the repository at this point in the history
  116. repl: change var to let

    PR-URL: #30428
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    obelaifa authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    6078d23 View commit details
    Browse the repository at this point in the history
  117. events: improve performance caused by primordials

    PR-URL: #30577
    Refs: nodejs/code-and-learn#97
    Refs: #29766
    Refs: #29633
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Yongsheng Zhang <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    antimonyGu authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    447c7a1 View commit details
    Browse the repository at this point in the history
  118. fs: cover fs.opendir ERR_INVALID_CALLBACK

    PR-URL: #30307
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    darky authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    d7d4fe1 View commit details
    Browse the repository at this point in the history
  119. readline: change var to let

    PR-URL: #30435
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Denys Otrishko <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    dnlup authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    b10b72e View commit details
    Browse the repository at this point in the history
  120. http2: replace var with let/const

    PR-URL: #30417
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    pc3b3r authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    2a44ff5 View commit details
    Browse the repository at this point in the history
  121. test: switch to object spread in common/benchmark.js

    PR-URL: #30309
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    palmires authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    2f32456 View commit details
    Browse the repository at this point in the history
  122. lib: replace var to let in cli_table.js

    PR-URL: #30400
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Jing19 authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    0654054 View commit details
    Browse the repository at this point in the history
  123. net: replaced vars to lets and consts

    PR-URL: #30401
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    nath1as authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    78b2d86 View commit details
    Browse the repository at this point in the history
  124. test: test cover cases when trace is empty

    cover prepare_stack_trace in case when trace is empty
    PR-URL: #30311
    Reviewed-By: Gireesh Punathil <[email protected]>
    telenord authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    99770a0 View commit details
    Browse the repository at this point in the history
  125. cluster: replace var by let in shared_handle.js

    PR-URL: #30402
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    putxe authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    863f772 View commit details
    Browse the repository at this point in the history
  126. test: dns utils replace var

    PR-URL: #30405
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    ovhemert authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    69b1e68 View commit details
    Browse the repository at this point in the history
  127. lib: replace var with let/const

    PR-URL: #30404
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Tembrechts authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    17db4e3 View commit details
    Browse the repository at this point in the history
  128. test: change var to let in test-trace-events

    PR-URL: #30406
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    jonchurch authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    a628fdc View commit details
    Browse the repository at this point in the history
  129. fs: change var to let

    PR-URL: #30407
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    alvarp authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    0000859 View commit details
    Browse the repository at this point in the history
  130. http2: core.js replace var with let

    const has to be used in for in loop
    
    PR-URL: #30403
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    DanielSchuech authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    f1569f3 View commit details
    Browse the repository at this point in the history
  131. lib: change var to let

    change var to let in test-tick-processor-unknown.js
    PR-URL: #30408
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    dktistakis authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    b540ee0 View commit details
    Browse the repository at this point in the history
  132. lib: replace var with let/const

    PR-URL: #30409
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Driesss authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    1d6ee8b View commit details
    Browse the repository at this point in the history
  133. test: replace var with let in pre_execution.js

    PR-URL: #30411
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Vunovati authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    b22a946 View commit details
    Browse the repository at this point in the history
  134. test: use spread instead of object.assign

    PR-URL: #30412
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    19shubham11 authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    6c7e491 View commit details
    Browse the repository at this point in the history
  135. test: changed var to let in module-errors

    PR-URL: #30413
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    jrizza88 authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    0b47d82 View commit details
    Browse the repository at this point in the history
  136. child_process: replace var with const/let in internal/child_process.js

    PR-URL: #30414
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    lcamargof authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    938b894 View commit details
    Browse the repository at this point in the history
  137. lib: changed var to let

    PR-URL: #30427
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    obelaifa authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    640cde1 View commit details
    Browse the repository at this point in the history
  138. test: use spread instead of Object.assign

    PR-URL: #30419
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    dnlup authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    eead424 View commit details
    Browse the repository at this point in the history
  139. http: replace var with let

    PR-URL: #30421
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Guilherme Goncalves authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    c8df932 View commit details
    Browse the repository at this point in the history
  140. test: change object assign to spread object

    change object assign to spread object in test-npm-install.js
    PR-URL: #30422
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    putxe authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    8a0d1cb View commit details
    Browse the repository at this point in the history
  141. doc: add note about debugging worker_threads

    PR-URL: #30594
    Fixes: #30197
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    lundibundi authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    77cbf09 View commit details
    Browse the repository at this point in the history
  142. cluster: replace var with let

    replace var with let in lib/internal/cluster/utils.js
    PR-URL: #30425
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Herrmann, Rene R. (656) authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    bd78c4f View commit details
    Browse the repository at this point in the history
  143. lib: use let instead of var

    use let instead of var for lib/internal/policy/manifest.js
    PR-URL: #30424
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    edspace authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    68e8cd3 View commit details
    Browse the repository at this point in the history
  144. lib: change var to let in stream_base_commons

    PR-URL: #30426
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    marquicodes authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    ff9adef View commit details
    Browse the repository at this point in the history
  145. lib: main_thread_only change var to let

    PR-URL: #30398
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    matijagaspar authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    06251a4 View commit details
    Browse the repository at this point in the history
  146. src: replaced var with let

    replaced var with let in lib/internal/cluter/master.js
    PR-URL: #30397
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Aldo Ambrosioni authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    aa65e4b View commit details
    Browse the repository at this point in the history
  147. test: code&learn var to let update

    PR-URL: #30436
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Nazaroni authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    2244479 View commit details
    Browse the repository at this point in the history
  148. lib: replace var with let

    PR-URL: #30396
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Dennis Saenger authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    6d63b56 View commit details
    Browse the repository at this point in the history
  149. tools: update ESLint to 6.7.1

    Update ESLint to 6.7.1
    
    PR-URL: #30598
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    cjihrig authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    701a1d5 View commit details
    Browse the repository at this point in the history
  150. tools: enable more eslint rules

    This commit enables these new in ESLint 6.7.0 rules:
    
    - no-constructor-return
    - no-dupe-else-if
    - no-setter-return
    
    PR-URL: #30598
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    cjihrig authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    d9d6da4 View commit details
    Browse the repository at this point in the history
  151. doc: add note of caution about non-conforming streams

    PR-URL: #29895
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Denys Otrishko <[email protected]>
    Reviewed-By: Yorkie Liu <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    ronag authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    2eaa940 View commit details
    Browse the repository at this point in the history
  152. doc: document "Resume Build" limitation

    Compiled binaries for fanned CI builds on Windows and ARM are only kept
    for seven days.
    
    PR-URL: #30604
    Reviewed-By: Beth Griggs <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    richardlau authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    2acf653 View commit details
    Browse the repository at this point in the history
  153. test: test for minimum ICU version consistency

    The minimum ICU version for Node.js must be at least the minimum ICU
    version for V8.
    
    PR-URL: #30608
    Refs: #30607
    Reviewed-By: Steven R Loomis <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    richardlau authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    c50e4f9 View commit details
    Browse the repository at this point in the history
  154. test: use useful message argument in test function

    The message argument of two test functions in
    test-inspector-async-call-stack is useful but unused. Use it!
    
    PR-URL: #30618
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Yongsheng Zhang <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Trott authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    8a63ea1 View commit details
    Browse the repository at this point in the history
  155. lib: adding perf notes js_stream_socket.js

    Leaving var in place of let for performance optimization
    in short loops in hot paths. Added comments explaining why.
    
    PR-URL: #30415
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Denys Otrishko <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    ryanj authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    ab25a82 View commit details
    Browse the repository at this point in the history
  156. test: change object assign by spread operator

    change object assign by spread operator in test-require-symlink.js
    PR-URL: #30438
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    putxe authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    aad324d View commit details
    Browse the repository at this point in the history
  157. http2: change var to let compact.js

    PR-URL: #30392
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    MariaEmma authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    49f3558 View commit details
    Browse the repository at this point in the history
  158. lib: replace var with let/const

    PR-URL: #30390
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Tijl5 authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    a353179 View commit details
    Browse the repository at this point in the history
  159. child_process: replace var with let/const

    PR-URL: #30389
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    dnlup authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    a7a71d4 View commit details
    Browse the repository at this point in the history
  160. process: replace vars in per_thread.js

    PR-URL: #30385
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    EmaSuriano authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    38d5fea View commit details
    Browse the repository at this point in the history
  161. lib: replace var w/ let

    replace var w/ let in lib/internal/error-serdes.js
    
    PR-URL: #30386
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    IAmEddieDean authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    ef3ab37 View commit details
    Browse the repository at this point in the history
  162. cluster: replace vars in child.js

    PR-URL: #30383
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Beth Griggs <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Denys Otrishko <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    EmaSuriano authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    a31ace5 View commit details
    Browse the repository at this point in the history
  163. process: replace var with let/const

    PR-URL: #30382
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Beth Griggs <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    deadbeef84 authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    2c29db1 View commit details
    Browse the repository at this point in the history
  164. util: use let instead of var for util/inspect.js

    PR-URL: #30399
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    lmammino authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    a4c404c View commit details
    Browse the repository at this point in the history
  165. lib: replace var with let/const

    PR-URL: #30391
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    jens-cappelle authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    6ff34a5 View commit details
    Browse the repository at this point in the history
  166. lib: use let instead of var

    this commit uses let instead of var for util.js & warning.js
    PR-URL: #30375
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Beth Griggs <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    19shubham11 authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    363391e View commit details
    Browse the repository at this point in the history
  167. doc: add explanation why keep var with for loop

    This comment will help contributors to understand why keeping var
    PR-URL: #30380
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    lrecknagel authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    5be20b4 View commit details
    Browse the repository at this point in the history
  168. test: dir class initialisation w/o handler

    Covering the case when init Dir class without passing
    handle paramd to constructor.
    
    PR-URL: #30313
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Dmitriy Kikinskiy authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    c5e3816 View commit details
    Browse the repository at this point in the history
  169. test: move test-worker-prof to sequential

    Refs: #26401 (comment)
    
    PR-URL: #30628
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Trott authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    5fd943a View commit details
    Browse the repository at this point in the history
  170. doc: update AUTHORS list

    PR-URL: #30672
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Beth Griggs <[email protected]>
    devsnek authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    89f6ead View commit details
    Browse the repository at this point in the history
  171. doc: add 13 and 12 to previous versions

    Remove Node.js 6 and add Node.js 12 and Node.js 13 to the previous
    versions of this document section
    
    PR-URL: #30590
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Beth Griggs <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    andrewhughes101 authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    ec504e3 View commit details
    Browse the repository at this point in the history
  172. doc: minor updates to releases.md

    PR-URL: #30636
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Anto Aravinth <[email protected]>
    Reviewed-By: Yorkie Liu <[email protected]>
    BethGriggs authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    857669f View commit details
    Browse the repository at this point in the history
  173. doc: remove "this API is unstable" note for v8 serdes API

    As #30234 marked this as stable I think this line
    should be removed as well?
    
    Refs: #30234
    PR-URL: #30631
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Anto Aravinth <[email protected]>
    bruce-one authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    74e8902 View commit details
    Browse the repository at this point in the history
  174. tty: truecolor check moved before 256 check

    256 color would be return instead of 16m if both env variables were set
    
    * tty: improve color check order highest spec first
    * tty: add test for TERM and COLORTERM set
    * tty: move COLORTERM check outside TERM closure
    * tty: remove extra if check for COLORTERM
    
    Refs: #27609
    
    PR-URL: #30474
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    duncanhealy authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    dcbe376 View commit details
    Browse the repository at this point in the history
  175. n-api: add missed nullptr check in napi_has_own_property

    PR-URL: #30626
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Chengzhong Wu <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    lundibundi authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    36f7f88 View commit details
    Browse the repository at this point in the history
  176. test: add regression test for signal handler removal in exit

    Refs: #30581
    Refs: #30582
    
    PR-URL: #30589
    Refs: #30581
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Beth Griggs <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    addaleax authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    cac77dd View commit details
    Browse the repository at this point in the history
  177. test: add mustCall() to test-inspector-contexts

    In test-inspector-contexts, if mainContextPromise is modified such that
    the `method` argument is changed to something invalid, the test still
    passes and the second part of the test never runs. Use
    `common.mustCall()` to cause the test to fail if the second part of the
    test does not run.
    
    Refs: #30519 (comment)
    
    PR-URL: #30649
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Anto Aravinth <[email protected]>
    Reviewed-By: Denys Otrishko <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    23ad927 View commit details
    Browse the repository at this point in the history
  178. test: check for session.post() errors in test-insepctor-context

    If session.post() generates an error, it is currently ignored. Add check
    for error by adding a callback to session.post() invocation.
    
    PR-URL: #30649
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Anto Aravinth <[email protected]>
    Reviewed-By: Denys Otrishko <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    39c5f94 View commit details
    Browse the repository at this point in the history
  179. test: remove destructuring from test-inspector-contexts

    As I'm working with this test, I'm finding the destructuring of assert
    and vm to make this test harder to read/understand. So I'm taking the
    liberty of removing them.
    
    PR-URL: #30649
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Anto Aravinth <[email protected]>
    Reviewed-By: Denys Otrishko <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    95dd550 View commit details
    Browse the repository at this point in the history
  180. test: add logging in case of infinite loop

    test-inspector-contexts may be entering an infinite loop (or very
    long-running loop) in CI, resulting in flakiness. Or maybe not. Add
    logging to find out.
    
    PR-URL: #30649
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Anto Aravinth <[email protected]>
    Reviewed-By: Denys Otrishko <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    d191acc View commit details
    Browse the repository at this point in the history
  181. src,doc: fix broken links

    PR-URL: #30662
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    cjihrig authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    9de7196 View commit details
    Browse the repository at this point in the history
  182. src: cleanup unused headers

    Node codebase has evolved a lot in the more than 10 years of its
    existence. As more features (and code) have been added, changed,
    removed, it's sometimes hard to keep track of what gets used and what
    not.
    
    This commits attempts to clean some of those potentially left-over
    headers using suggestions from  include-what-you-use
    
    Refs: #27531
    
    PR-URL: #30328
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    alferpal authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    43545f3 View commit details
    Browse the repository at this point in the history
  183. inspector: properly shut down uv_async_t

    Closing in the Agent destructor is too late, because that happens
    when the Environment is destroyed, not when libuv handles are closed.
    
    This fixes a situation in which the same libuv loop is re-used for
    multiple Environment instances sequentially, e.g. in our cctest.
    
    PR-URL: #30612
    Reviewed-By: Eugene Ostroukhov <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    addaleax authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    61fc754 View commit details
    Browse the repository at this point in the history
  184. tls: allow empty subject even with altNames defined

    Behavior described in #11771
    is still true even though the issue is closed.
    
    This PR is to allow DNS and URI names, even when there is not a subject.
    
    Refs: #11771
    
    PR-URL: #22906
    Reviewed-By: James M Snell <[email protected]>
    jasonmacgowan authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    92c6fa4 View commit details
    Browse the repository at this point in the history
  185. test: remove unused function argument from http test

    Remove unused `res` from test-http-server-consumed-timeout.
    
    PR-URL: #30677
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    a596a5d View commit details
    Browse the repository at this point in the history
  186. test: do not skip test-http-server-consumed-timeout

    test-http-server-consumed-timeout has code to that causes it to be
    skipped on busy machines. Instead, use an exponential backoff for the
    timeout if the machine is busy.
    
    PR-URL: #30677
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    9d4a854 View commit details
    Browse the repository at this point in the history
  187. test: remove unnecessary common.platformTimeout() call

    Applying platformTimeout() to the interval is counterproductive. It
    should be applied to the request timeout duration only.
    
    PR-URL: #30677
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    e0bfa43 View commit details
    Browse the repository at this point in the history
  188. test: move test-https-server-consumed-timeout to parallel

    Change the test to be robust in slow environments and move to parallel.
    The previous version of the test failed for me in parallel with just two
    or four simultaneous versions running. This version passes 96
    simultaneous versions running, but still fails as designed if the
    request writes fail to prevent the request timeout from occurring.
    
    PR-URL: #30677
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and targos committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    a2f3f60 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2019

  1. deps: update llhttp to 2.0.1

    Changelog:
    
    * Optional SSE4.2 support (at compile time)
    * Lenient mode of operation
    
    PR-URL: #30553
    Reviewed-By: Gus Caplan <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    indutny authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    8a92830 View commit details
    Browse the repository at this point in the history
  2. http: set socket.server unconditionally

    This is useful for situations in which the socket was not
    created for HTTP, e.g. when using arbitrary `Duplex` streams.
    
    (The added test fails because previously, `socket.server.emit()`
    would not work for emitting the `clientError` event, as
    `socket.server` was `undefined`.)
    
    PR-URL: #30571
    Reviewed-By: Yongsheng Zhang <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    addaleax authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    e2f8d23 View commit details
    Browse the repository at this point in the history
  3. child_process: document kill() return value

    This commit documents the return value from subprocess.kill().
    
    PR-URL: #30669
    Refs: #30668
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    cjihrig authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    a2ef669 View commit details
    Browse the repository at this point in the history
  4. doc: revise socket.connect() note

    Edit note in about `onread` option to `socket.connect()` for clarity.
    
    PR-URL: #30691
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Trott authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    44b474d View commit details
    Browse the repository at this point in the history
  5. doc: address nits for src/README.md

    Refs: #30552 (review)
    
    PR-URL: #30693
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    addaleax authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    5340a2d View commit details
    Browse the repository at this point in the history
  6. doc: add missing 'added' versions to module.builtinModules

    PR-URL: #30562
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Beth Griggs <[email protected]>
    watson authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    5677235 View commit details
    Browse the repository at this point in the history
  7. n-api: detach external ArrayBuffers on env exit

    Make sure that `ArrayBuffer`s created using
    `napi_create_external_arraybuffer` are rendered unusable
    after its memory has been released.
    
    PR-URL: #30551
    Reviewed-By: Gabriel Schulhof <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Denys Otrishko <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    addaleax authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    499fb42 View commit details
    Browse the repository at this point in the history
  8. test: port worker + buffer test to N-API

    This ports `test/addons/worker-buffer-callback` to N-API,
    with the small exception of using external `ArrayBuffer`s rather
    than external Node.js `Buffer`s.
    
    PR-URL: #30551
    Reviewed-By: Gabriel Schulhof <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Denys Otrishko <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    addaleax authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    d6c211d View commit details
    Browse the repository at this point in the history
  9. dns: use length for building TXT string

    Rely on the length reported by C-Ares rather than `\0`-termination
    for creating the JS string for a dns TXT response.
    
    Fixes: #30688
    
    PR-URL: #30690
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    053c179 View commit details
    Browse the repository at this point in the history
  10. buffer: fix 6-byte writeUIntBE() range check

    Fixes: #30420
    
    PR-URL: #30459
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mscdex authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    f0d4392 View commit details
    Browse the repository at this point in the history
  11. test:refactor createHook test

    PR-URL: #30568
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    JenyMzo authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    c4c5912 View commit details
    Browse the repository at this point in the history
  12. src: remove unused variable in node_dir.cc

    PR-URL: #30267
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    gengjiawen authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    43f9137 View commit details
    Browse the repository at this point in the history
  13. http2: fix session memory accounting after pausing

    The ability to pause input processing was added in 8a4a193 but
    introduced a session memory accounting mismatch leading to potential
    NGHTTP2_ENHANCE_YOUR_CALM errors.
    
    After pausing
    (https://github.com/nodejs/node/blob/f36331c1bfa4c4c202346b05dc3bd672f653e4df/src/node_http2.cc#L871),
    the early return on line 873 skips the
    DecrementCurrentSessionMemory(stream_buf_.len) call below (line 878).
    
    When we later finished processing the input chunk
    (https://github.com/nodejs/node/blob/f36331c1bfa4c4c202346b05dc3bd672f653e4df/src/node_http2.cc#L1858),
    we were calling DecrementCurrentSessionMemory(stream_buf_offset_) [line
    1875] which was a no-op since we just set stream_buf_offset_ to 0 [line
    1873].
    
    The correct amount to decrement by is still stream_buf_.len, since
    that's the amount we skipped previously (line 878).
    
    Fixes: #29223
    Refs: 164ac5b
    
    PR-URL: #30684
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Denys Otrishko <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Michael Lehenbauer authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    e1b6b33 View commit details
    Browse the repository at this point in the history
  14. doc: documenting a bit more FreeBSD case

    FreeBSD provides more up to date compilers than
    the one provided by the system.
    
    PR-URL: #30325
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Rod Vagg <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    devnexen authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    a396a5a View commit details
    Browse the repository at this point in the history
  15. doc: fixed a typo in process.md

    If the process was not spawned with an IPC channel, `process.send`
    will be undefined and calling it as `process.send()` would throw error
    
    PR-URL: #30277
    Reviewed-By: Anna Henningsen <[email protected]>
    Harendra Singh authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    fcae355 View commit details
    Browse the repository at this point in the history
  16. doc: clarify IncomingMessage.destroy() description

    State that the 'error' event is emitted on the underlying socket, not
    the IncomingMessage object.
    
    PR-URL: #30255
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Denys Otrishko <[email protected]>
    XMB5 authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    54cf114 View commit details
    Browse the repository at this point in the history
  17. tools: add unified plugin changing links for html docs

    This commit introduces additional stage in the process of generating
    html docs from markdown files. Plugin transforms links to *.md files
    in the respository to links to *.html files in the online documentation.
    
    Fixes: #28689
    
    PR-URL: #29946
    Reviewed-By: Anna Henningsen <[email protected]>
    Marek Łabuz authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    27f7f89 View commit details
    Browse the repository at this point in the history
  18. doc: note that buf.buffer's contents might differ

    This bit me in a personal project since I had no reason to read the
    `buf.byteOffset` docs, so point readers there explicitly.
    
    PR-URL: #29651
    Reviewed-By: Anna Henningsen <[email protected]>
    strugee authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    1818d9c View commit details
    Browse the repository at this point in the history
  19. benchmark,doc,lib,test: prepare for padding lint rule

    Upcoming lint rule will require a blank line between consecutive
    functions. Add it in the places where we don't have it already.
    
    PR-URL: #30696
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Gus Caplan <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Denys Otrishko <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    3e58871 View commit details
    Browse the repository at this point in the history
  20. tools: enforce blank line between functions

    Refs: #21128 (comment)
    
    PR-URL: #30696
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Gus Caplan <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Denys Otrishko <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    81712c9 View commit details
    Browse the repository at this point in the history
  21. test: increase coverage for trace_events.js

    Add a test case to increase the test coverage for lib/trace_events.js.
    
    Refs: https://codecov.io/gh/nodejs/node/src/ea7a6f9dbd05654fff3f8c474ac0f5126bc87376/lib/trace_events.js#L70...75
    
    PR-URL: #30705
    Refs: https://coverage.nodejs.org/coverage-ea7a6f9dbd05654f/lib/trace_events.js.html#L70
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Trott authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    5ea10a7 View commit details
    Browse the repository at this point in the history
  22. stream: improve performance for sync write finishes

    Improve performance and reduce memory usage when a writable stream
    is written to with the same callback (which is the most common case)
    and when the write operation finishes synchronously (which is also
    often the case).
    
                                                             confidence improvement accuracy (*)    (**)   (***)
        streams/writable-manywrites.js sync='no' n=2000000                  0.99 %       ±3.20%  ±4.28%  ±5.61%
        streams/writable-manywrites.js sync='yes' n=2000000        ***    710.69 %      ±19.65% ±26.47% ±35.09%
    
    Refs: #18013
    Refs: #18367
    
    PR-URL: #30710
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    b042e7f View commit details
    Browse the repository at this point in the history
  23. test: remove unused callback argument

    PR-URL: #30712
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    804e6e4 View commit details
    Browse the repository at this point in the history
  24. test: simplify forEach() usage

    Use an array literal instead of using split() on a very short string.
    
    PR-URL: #30712
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    ce11088 View commit details
    Browse the repository at this point in the history
  25. test: remove unused callback argument

    PR-URL: #30712
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    e3c9e08 View commit details
    Browse the repository at this point in the history
  26. test: correct header length subtraction

    In test-http-max-http-headers, a comment asks why we are subtracting 32
    from the length of the invalid-length-by-1 headers instead of just 1.
    Subtracting 1 seems to be correct and works.
    
    PR-URL: #30712
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    489d333 View commit details
    Browse the repository at this point in the history
  27. doc: update socket.bufferSize text

    Edit text for clarity and readability.
    
    PR-URL: #30723
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    898f236 View commit details
    Browse the repository at this point in the history
  28. doc: update README.md to fix active/maint times

    Update REAMDE.md to be consistent with the
    active/maintenance times (12/18) outlined in
    https://github.com/nodejs/Release#release-plan. This was missed
    when the times were swapped in the Node.js 12 timeframe.
    
    PR-URL: #30707
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    mhdawson authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    0433ed4 View commit details
    Browse the repository at this point in the history
  29. doc: update signature algorithm in release doc

    Updated doc to reflect what is now done in tools/release.sh
    
    PR-URL: #30673
    Reviewed-By: Rod Vagg <[email protected]>
    MylesBorins authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    8eecd8a View commit details
    Browse the repository at this point in the history
  30. doc: revise REPL uncaught exception text

    Simplify the text about uncaught exceptions in the REPL.
    
    PR-URL: #30729
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Anto Aravinth <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Beth Griggs <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Trott authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    d7f1b0c View commit details
    Browse the repository at this point in the history
  31. test: fix test-benchmark-streams

    test-benchmark-streams is currently failing because the `sync` option is
    not specified in the test, resulting in too many benchmarks running.
    
    PR-URL: #30757
    Reviewed-By: Beth Griggs <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Trott authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    b802d51 View commit details
    Browse the repository at this point in the history
  32. test: use arrow functions in async-hooks tests

    Convert all anonymous callback functions in `test/async-hooks/*.js`
    to use arrow functions.
    
    `writing-tests.md` states to use arrow functions when appropriate.
    
    PR-URL: #30137
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    GaryGSC authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    ed7dd93 View commit details
    Browse the repository at this point in the history
  33. doc: fix typographical error

    Insert missing word.
    
    PR-URL: #30735
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    98799d4 View commit details
    Browse the repository at this point in the history
  34. build,win: add test-ci-native and test-ci-js

    PR-URL: #30724
    Refs: nodejs/build#1996
    Reviewed-By: Rod Vagg <[email protected]>
    Reviewed-By: Sam Roberts <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    joaocgreis authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    8dd5eec View commit details
    Browse the repository at this point in the history
  35. build,win: propagate error codes in vcbuild

    Don't exit vcbuild with error code 0 when cctest fails.
    
    PR-URL: #30724
    Refs: nodejs/build#1996
    Reviewed-By: Rod Vagg <[email protected]>
    Reviewed-By: Sam Roberts <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    joaocgreis authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    b18c8d3 View commit details
    Browse the repository at this point in the history
  36. test: add an indicator isIBMi

    We have to skip some test cases on IBM i.
    On IBM i, process.platform and os.platform() both return aix,
    It is not enough to differentiate between IBM i and real AIX system.
    Also updated parallel/test-cluster-bind-privileged-port.js for test.
    
    PR-URL: #30714
    Reviewed-By: Sam Roberts <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    dmabupt authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    8204a74 View commit details
    Browse the repository at this point in the history
  37. test: add coverage for ERR_TLS_INVALID_PROTOCOL_VERSION

    There is currently no test that confirms that an invalid TLS protocol
    results in ERR_TLS_INVALID_PROTOCOL_VERSION. Add tests to check this for
    the `minVersion` and `maxVersion` options in `createSecureContext()`.
    
    Refs: https://codecov.io/gh/nodejs/node/src/c14c476614e3134867ddb997bdfe5a41ba668175/lib/_tls_common.js#L56
    Refs: https://coverage.nodejs.org/coverage-c14c476614e31348/lib/_tls_common.js.html#L56
    
    PR-URL: #30741
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Sam Roberts <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and targos committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    ac6ff77 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2019

  1. 2019-12-17, Version 12.13.2 'Erbium' (LTS)

    Notable changes:
    
    - crypto: fix key requirements in asymmetric cipher (Tobias Nießen)
      #30249
    - deps:
        - update llhttp to 2.0.1 (Fedor Indutny)
          #30553
        - upgrade npm to 6.13.1 (claudiahdz)
          #30533
        - update nghttp2 to 1.40.0 (gengjiawen)
          #30493
    - v8: mark serdes API as stable (Anna Henningsen)
      #30234
    
    PR-URL: #30865
    BethGriggs committed Dec 9, 2019
    Configuration menu
    Copy the full SHA
    d02ac1c View commit details
    Browse the repository at this point in the history