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

v11.14.0 proposal #27163

Merged
merged 133 commits into from Apr 11, 2019
Merged

v11.14.0 proposal #27163

merged 133 commits into from Apr 11, 2019

Commits on Mar 28, 2019

  1. src: refactor node options parsers to mitigate MSVC bug

    Backport-PR-URL: #26649
    PR-URL: #26280
    Fixes: #25593
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    refack authored and targos committed Mar 28, 2019
    Configuration menu
    Copy the full SHA
    62f9049 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2019

  1. src: fix warnings around node_options

    * header explicit usage, order, and reduce use of `*-inl.h`
    * pointer -> const reference when possible
    * no variable recyclicng
    * `std::begin/end` prefered over `instance.begin/end`
    * `USE` for explicit unused resaults
    
    Backport-PR-URL: #26649
    PR-URL: #26280
    Fixes: #25593
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    refack authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    e6c1ad5 View commit details
    Browse the repository at this point in the history
  2. src: forbid access to CLI options before bootstrapping is done

    PR-URL: #26476
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    joyeecheung authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    63e7cc7 View commit details
    Browse the repository at this point in the history
  3. src: refactor coverage connection

    - Refactor the C++ class to be resuable for other types of profiles
    - Move the try-catch block around coverage collection callback
      to be inside the callback to silence potential JSON or write
      errors.
    - Use Function::Call instead of MakeCallback to call the coverage
      message callback since it does not actually need async hook
      handling. This way we no longer needs to disable the async
      hooks when writing the coverage results.
    - Renames `lib/internal/coverage-gen/with_profiler.js` to
      `lib/internal/profiler.js` because it is now the only way
      to generate coverage.
    
    PR-URL: #26513
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Coe <bencoe@gmail.com>
    joyeecheung authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    ab70c96 View commit details
    Browse the repository at this point in the history
  4. test: show stderr on v8 coverage test failures

    PR-URL: #26513
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Coe <bencoe@gmail.com>
    joyeecheung authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    03bd649 View commit details
    Browse the repository at this point in the history
  5. process: delay process.argv[0] and process.argv0 handling

    Since these depends on process runtime states, delay them until
    pre-execution.
    
    PR-URL: #26517
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    joyeecheung authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    d4f9509 View commit details
    Browse the repository at this point in the history
  6. process: create legacy process properties during pre-execution

    Shim legacy process object properties of CLI options during
    pre-execution instead of serializing them during bootstrap.
    
    PR-URL: #26517
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    joyeecheung authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    75c5d9c View commit details
    Browse the repository at this point in the history
  7. http: reduce usage of public util

    Backport-PR-URL: #26650
    PR-URL: #26548
    Refs: #26546
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    ZYSzys authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    5a29a94 View commit details
    Browse the repository at this point in the history
  8. src: apply clang-tidy rule modernize-make-unique

    PR-URL: #26493
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    gengjiawen authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    c51cc9e View commit details
    Browse the repository at this point in the history
  9. embedding: refactor public ArrayBufferAllocator API

    Use a RAII approach by default, and make it possible for embedders
    to use the `ArrayBufferAllocator` directly as a V8
    `ArrayBuffer::Allocator`, e.g. when passing to `Isolate::CreateParams`
    manually.
    
    PR-URL: #26525
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    addaleax authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    7671a65 View commit details
    Browse the repository at this point in the history
  10. embedding: make NewIsolate() API more flexible

    Split the API up into its essential parts, namely setting up
    the creation parameters for the Isolate, creating it, and performing
    Node.js-specific customization afterwards.
    
    PR-URL: #26525
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    addaleax authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    5e64acd View commit details
    Browse the repository at this point in the history
  11. inspector: patch C++ debug options instead of process._breakFirstLine

    Instead of patching process._breakFirstLine to inform the JS land
    to wait for the debugger, check that the JS land has not yet
    serialized the options and then patch the debug options from C++.
    The changes will be carried into JS later during option serialization.
    
    PR-URL: #26602
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    joyeecheung authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    1b45704 View commit details
    Browse the repository at this point in the history
  12. util: require isNativeError from internalBinding

    PR-URL: #23081
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    ZYSzys authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    169f3f7 View commit details
    Browse the repository at this point in the history
  13. util: extract uncurryThis function for reuse

    PR-URL: #23081
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    ZYSzys authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    21486e5 View commit details
    Browse the repository at this point in the history
  14. child_process: reduce internal usage of public require of util

    PR-URL: #26769
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    toshi1127 authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    4defe47 View commit details
    Browse the repository at this point in the history
  15. worker: remove usage of require('util')

    PR-URL: #26810
    Refs: #26546
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    toshi1127 authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    44450ef View commit details
    Browse the repository at this point in the history
  16. timers: deprecate active() and _unrefActive()

    Another nail in the coffin here, farewell ye ol C-style apis.
    
    These apis caused numerous other issues that required far too many
    safeguards. This gets us one step closer to not having to worry about
    those issues anymore.
    
    Refs: #18066
    Refs: #20298
    
    PR-URL: #26760
    
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Fishrock123 authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    b24e45a View commit details
    Browse the repository at this point in the history
  17. worker: remove usage of require('util') in worker_thread.js

    PR-URL: #26814
    Refs: #26546
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    toshi1127 authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    5d9f819 View commit details
    Browse the repository at this point in the history
  18. fs: reduce usage of require('util')

    PR-URL: #26783
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    toshi1127 authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    bb9f1cc View commit details
    Browse the repository at this point in the history
  19. process: handle --expose-internals during pre-execution

    Instead of relying on the value of the CLI option when
    executing bootstrap/loaders.js.
    
    PR-URL: #26759
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    joyeecheung authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    a03552d View commit details
    Browse the repository at this point in the history
  20. console: remove unreachable code

    In the current code, line 497 checks if `item` is `null` or `undefined`.
    However, `item` is guaranteed to be a non-null object or function at
    that point.
    
    * Lines 484/485 set `primitive` to `true` if `item` is null or
      undefined.
    * Line 486 skips line 497 if `primitive` is true (which it will always
      be if `item` is null or undefined) and `properties` is undefined. So
      the only way to get to line 497 when `item` is null or undefined is if
      `properties` is specified.
    * Line 494 skips line 497 if `primitive` is true (which it will always
      be if `item` is null or undefined) and `properties` are specified
      (which will always be the case or else this `else` block is skipped.)
    
    Here are the current lines 484 through 497:
    
          const primitive = item === null ||
              (typeof item !== 'function' && typeof item !== 'object');
          if (properties === undefined && primitive) {
            hasPrimitives = true;
            valuesKeyArray[i] = _inspect(item);
          } else {
            const keys = properties || ObjectKeys(item);
            for (const key of keys) {
              if (map[key] === undefined)
                map[key] = [];
              if ((primitive && properties) || !hasOwnProperty(item, key))
                map[key][i] = '';
              else
                map[key][i] = item == null ? item : _inspect(item[key]);
    
    This change removes the unnecessary ternary in that final line,
    simplifying it to:
    
                map[key][i] = _inspect(item[key]);
    
    PR-URL: #26906
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Trott authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    e43dbaa View commit details
    Browse the repository at this point in the history
  21. test: add test about unencrypted PKCS#8 private key for RSA

    PR-URL: #26898
    Refs: #24928
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    sasurau4 authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    80e845e View commit details
    Browse the repository at this point in the history
  22. src: delete unreachable code in heap_utils.cc

    PR-URL: #26815
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    gengjiawen authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    c1def07 View commit details
    Browse the repository at this point in the history
  23. src: tidy up include headers in env.cc

    PR-URL: #26815
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    gengjiawen authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    ea7e2c0 View commit details
    Browse the repository at this point in the history
  24. src: delete unused field in class ModuleWrap

    PR-URL: #26815
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    gengjiawen authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    c824127 View commit details
    Browse the repository at this point in the history
  25. src: use deleted function for class BaseObject

    PR-URL: #26815
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    gengjiawen authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    c969731 View commit details
    Browse the repository at this point in the history
  26. src: fix task release in cares_wrap.cc

    PR-URL: #26815
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    gengjiawen authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    6bfb17f View commit details
    Browse the repository at this point in the history
  27. src: delete useless code in cares_wrap.cc

    PR-URL: #26815
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    gengjiawen authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    0427354 View commit details
    Browse the repository at this point in the history
  28. test: refactor path parse test

    Use destructuring and arrow functions and make one test stricter.
    Also inline the error object as there's only a sinlge error that can
    currently be thrown in the path module.
    
    PR-URL: #26912
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    BridgeAR authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    a1cf745 View commit details
    Browse the repository at this point in the history
  29. path: fix win32 parse regression

    This fixes the parse function for single character input that are not
    a path separator.
    
    PR-URL: #26912
    Fixes: #26911
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    BridgeAR authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    bd006e1 View commit details
    Browse the repository at this point in the history
  30. util: improve proxy inspection

    This makes sure the brace is actually handled as any other brace.
    It was handled differently so far than any other brace and that had
    an impact on how the output would be formatted.
    
    PR-URL: #26919
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    1b08e62 View commit details
    Browse the repository at this point in the history
  31. worker: allow execArgv and eval in combination

    It was likely an oversight that `execArgv` was only read when
    no filename/URL was provided.
    
    PR-URL: #26533
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    682b410 View commit details
    Browse the repository at this point in the history
  32. errors: make range mandatory in ERR_OUT_OF_RANGE

    So far the range argument was allowed to be undefined. This is not
    used in the codebase anymore and therefore it is best to make it
    mandatory for the best user experience.
    
    PR-URL: #26924
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    BridgeAR authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    c756b84 View commit details
    Browse the repository at this point in the history
  33. doc: remove reference to "credentials object"

    The reference is confusing because the object is actually of class
    SecureContext. There is no object with class "credentials".
    
    See: #20432 (comment)
    
    PR-URL: #26908
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    sam-github authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    17bff5c View commit details
    Browse the repository at this point in the history
  34. doc: correct typo: cert.issuerCertificate

    - docs incorrectly mention issuerCert, should be issuerCertificate
    
    Fix for Commit:
    a856406c2dc#diff-f6e3a86962eaf0897ab59e88b418e64fR678
    
    Fix for PR: #24358
    srl295 authored and targos committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    a821a96 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2019

  1. crypto: allow undefined for saltLength and padding

    PR-URL: #26921
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    tniessen authored and BethGriggs committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    98552f3 View commit details
    Browse the repository at this point in the history
  2. benchmark: remove unused field in class BenchmarkProgress

    PR-URL: #26925
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    gengjiawen authored and BethGriggs committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    de93737 View commit details
    Browse the repository at this point in the history
  3. doc: change links to https in benchmark guide

    PR-URL: #26925
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    gengjiawen authored and BethGriggs committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    25d5198 View commit details
    Browse the repository at this point in the history
  4. benchmark: tidy up eslint ignore in foreach-bench.js

    PR-URL: #26925
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    gengjiawen authored and BethGriggs committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    5512ecb View commit details
    Browse the repository at this point in the history
  5. test: do not require flags when executing a file

    Instead of throwing an error in case a flag is missing, just start
    a `child_process` that includes all flags. This improves the situation
    for all developers in case they want to just plainly run a test.
    
    Co-authored-by: Rich Trott <rtrott@gmail.com>
    
    PR-URL: #26858
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    BridgeAR authored and BethGriggs committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    2ef1bd9 View commit details
    Browse the repository at this point in the history
  6. test: move hasCrypto check

    The hasCrypto check should be checked before anything else to
    prevent overhead in case it's not falsy. Otherwise the file would
    be read without any further benefit.
    
    PR-URL: #26858
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    BridgeAR authored and BethGriggs committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    edad9af View commit details
    Browse the repository at this point in the history
  7. test: remove test-path-parse-6229.js from known issues

    This test precedented the official documentation that states that
    this is an expected behavior.
    
    PR-URL: #26913
    Refs: #6229
    Refs: #12181
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    BridgeAR authored and BethGriggs committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    fd6381b View commit details
    Browse the repository at this point in the history
  8. util: fix map entries inspection

    This makes sure the arrays returned by Map#entries() are handled as
    any other array instead of just visualizing the entries as array.
    Therefore options should have an impact on the arrays.
    
    PR-URL: #26918
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    BridgeAR authored and BethGriggs committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    1aa6e99 View commit details
    Browse the repository at this point in the history
  9. path: remove dead code

    A couple of code parts could not be reached due to resolving the path
    in the beginning. That "normalizes" the path in a way that some code
    branches became obsolete.
    
    PR-URL: #26916
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    BridgeAR authored and BethGriggs committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    b62739c View commit details
    Browse the repository at this point in the history
  10. dns: remove dns.promises experimental warning

    PR-URL: #26592
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    cjihrig authored and BethGriggs committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    d3c1de3 View commit details
    Browse the repository at this point in the history
  11. dns: make dns.promises enumerable

    PR-URL: #26592
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    cjihrig authored and BethGriggs committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    ac12109 View commit details
    Browse the repository at this point in the history
  12. doc: move dns.promises to stable status

    PR-URL: #26592
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    cjihrig authored and BethGriggs committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    4a7a84a View commit details
    Browse the repository at this point in the history
  13. doc: add note about mkdtemp() platform differences

    PR-URL: #26944
    Fixes: #26435
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    cjihrig authored and BethGriggs committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    d76c30c View commit details
    Browse the repository at this point in the history
  14. test: add known_issues test for fs.copyFile()

    On macOS, fs.copyFile() may not respect file permissions. There is a PR
    for libuv that should fix this, but until it lands and we can either
    float a patch or upgrade libuv, have a known_issues test.
    
    Ref: #26936
    Ref: libuv/libuv#2233
    
    PR-URL: #26939
    Refs: #26936
    Refs: libuv/libuv#2233
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Trott authored and BethGriggs committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    9330d7e View commit details
    Browse the repository at this point in the history
  15. build: add a Prepare ccache job in Travis

    Combined compile and test of Node.js where lots of files need to be
    compiled (e.g. after a V8 update) is exceeding the time limit for
    Travis jobs (50 minutes).
    
    Add a job to Travis that compiles Node.js but doesnt run any tests to
    populate the ccache. Introduce staging and move the `Test Suite` job
    into a later stage so that it can use the populated ccache.
    
    PR-URL: #27002
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    richardlau authored and BethGriggs committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    769d12c View commit details
    Browse the repository at this point in the history
  16. build: fix skipping of flaky tests on Travis

    `PARALLEL_ARGS` is overwritten in the Makefile if `JOBS` is set. Use
    `CI_JS_SUITES` instead.
    
    PR-URL: #27002
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    richardlau authored and BethGriggs committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    6cbd6b5 View commit details
    Browse the repository at this point in the history
  17. src: do not call into JS in the maxAsyncCallStackDepthChanged interrupt

    If Debugger.setAsyncCallStackDepth is sent during bootstrap,
    we cannot immediately call into JS to enable the hooks, which could
    interrupt the JS execution of bootstrap. So instead we save the
    notification in the inspector agent if it's sent in the middle of
    bootstrap, and process the notification later here.
    
    Refs: #26798
    
    PR-URL: #26935
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    joyeecheung authored and BethGriggs committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    e776b01 View commit details
    Browse the repository at this point in the history
  18. inspector: display error when ToggleAsyncHook fails

    This patch refactors `AppendExceptionLine` and `PrintSyncTrace`
    to reuse the error formatting logic and use them to print
    uncaught error in ``ToggleAsyncHook`
    
    PR-URL: #26859
    Refs: #26798
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    joyeecheung authored and BethGriggs committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    760d089 View commit details
    Browse the repository at this point in the history
  19. doc: remove "How is an LTS release cut?" section

    The release process is in the Release plan, linked earlier in the doc.
    Don't include information here because duplicated information is likely
    to drift apart, resulting in contradictions and a lack of clarity about
    which document is correct. (I think the text removed is already
    out-of-date. I could be wrong, and it doesn't much matter, as it should
    be removed anyway.) It's also not entirely clear what the
    utility/relevance of this information is in this particular document.
    
    PR-URL: #26955
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Trott authored and BethGriggs committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    28efecc View commit details
    Browse the repository at this point in the history
  20. url: add ws: and wss: to slashedProtocol set

    Fix cases where the pathname is incorrectly parsed as `null`.
    
    PR-URL: #26941
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    lpinca authored and BethGriggs committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    8798db3 View commit details
    Browse the repository at this point in the history
  21. doc: update changelog for v10.x LTS

    PR-URL: #26931
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    BethGriggs committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    17cc117 View commit details
    Browse the repository at this point in the history
  22. util: add subclass and null prototype support for errors in inspect

    This adds support to visualize the difference between errors with
    null prototype or subclassed errors. This has a couple safeguards
    to be sure that the output is not intrusive.
    
    PR-URL: #26923
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    BridgeAR authored and BethGriggs committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    0f615d4 View commit details
    Browse the repository at this point in the history
  23. benchmark,lib: change var to const

    Refs: #26679
    
    PR-URL: #26915
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    BridgeAR authored and BethGriggs committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    0aea4d1 View commit details
    Browse the repository at this point in the history
  24. build: remove unused label from vcbuild.bat

    Remove the :wix-not-found label and harmonize the spelling of "WiX".
    
    PR-URL: #26901
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    bnoordhuis authored and BethGriggs committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    7fe43bd View commit details
    Browse the repository at this point in the history
  25. tools: update dependencies in lint-md-cli-rollup

    Summary
    + Update `@zeit/ncc` to `^0.16.1` from `^0.15.2`
    + Update `unified-engine` to `^6.0.1` from `^5.1.0`
    + Run `npm audit fix`
    + Run `npm run build-node`
    
    Refs:
    + https://github.com/unifiedjs/unified-engine/releases/tag/6.0.0
    + https://github.com/unifiedjs/unified-engine/releases/tag/6.0.1
    + https://github.com/zeit/ncc/releases/tag/0.16.0
    + https://github.com/zeit/ncc/releases/tag/0.16.1
    
    PR-URL: #26889
    Refs: https://github.com/unifiedjs/unified-engine/releases/tag/6.0.0
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    watilde authored and BethGriggs committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    dc9ce86 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2019

  1. test: simplify for loop in test-buffer-zero-fill-cli.js

    PR-URL: #26799
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    juanarbol authored and BethGriggs committed Apr 9, 2019
    Configuration menu
    Copy the full SHA
    e5181f8 View commit details
    Browse the repository at this point in the history
  2. readline: replace quadratic regex with linear one

    Simplify regular expression in _wordLeft and _deleteWordLeft readline
    methods.
    
    PR-URL: #26778
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Hakerh400 authored and BethGriggs committed Apr 9, 2019
    Configuration menu
    Copy the full SHA
    78fad32 View commit details
    Browse the repository at this point in the history
  3. src: allow per-Environment set of env vars

    Abstract the `process.env` backing mechanism in C++ to allow
    different kinds of backing stores for `process.env` for different
    Environments.
    
    PR-URL: #26544
    Fixes: #24947
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    addaleax authored and BethGriggs committed Apr 9, 2019
    Configuration menu
    Copy the full SHA
    d3840bc View commit details
    Browse the repository at this point in the history
  4. src: implement generic backend for process.env

    Allow a generic string-based backing store, with no significance
    to the remainder of the process, as a store for `process.env`.
    
    PR-URL: #26544
    Fixes: #24947
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    addaleax authored and BethGriggs committed Apr 9, 2019
    Configuration menu
    Copy the full SHA
    729e2f2 View commit details
    Browse the repository at this point in the history
  5. worker: use copy of process.env

    Instead of sharing the OS-backed store for all `process.env` instances,
    create a copy of `process.env` for every worker that is created.
    
    The copies do not interact. Native-addons do not see modifications to
    `process.env` from Worker threads, but child processes started from
    Workers do default to the Worker’s copy of `process.env`.
    
    This makes Workers behave like child processes as far as `process.env`
    is concerned, and an option corresponding to the `child_process`
    module’s `env` option is added to the constructor.
    
    Fixes: #24947
    
    PR-URL: #26544
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    addaleax authored and BethGriggs committed Apr 9, 2019
    Configuration menu
    Copy the full SHA
    8bd7909 View commit details
    Browse the repository at this point in the history
  6. module: simpler esm loading

    This simplifies loading the experimental modules. Instead of always
    checking for them we should eagerly load the functions in case the
    experimental modules flag is passed through.
    
    PR-URL: #26974
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    BridgeAR authored and BethGriggs committed Apr 9, 2019
    Configuration menu
    Copy the full SHA
    3c92926 View commit details
    Browse the repository at this point in the history
  7. stream: do not unconditionally call _read() on resume()

    `readable.resume()` calls `.read(0)`, which in turn previously set
    `needReadable = true`, and so a subsequent `.read()` call would
    call `_read()` even though enough data was already available.
    
    This can lead to elevated memory usage, because calling `_read()`
    when enough data is in the readable buffer means that backpressure
    is not being honoured.
    
    Fixes: #26957
    
    PR-URL: #26965
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    addaleax authored and BethGriggs committed Apr 9, 2019
    Configuration menu
    Copy the full SHA
    ea47189 View commit details
    Browse the repository at this point in the history
  8. build,win: silence MSVC warning C4129 for V8

    Currently we get 13,799 of those per build
    
    PR-URL: #27017
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    refack authored and BethGriggs committed Apr 9, 2019
    Configuration menu
    Copy the full SHA
    b64b223 View commit details
    Browse the repository at this point in the history
  9. child_process: doc deprecate ChildProcess._channel

    This was eligible to begin deprecation in Node 8.
    
    PR-URL: #26982
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    cjihrig authored and BethGriggs committed Apr 9, 2019
    Configuration menu
    Copy the full SHA
    2396743 View commit details
    Browse the repository at this point in the history
  10. doc: change code lang and update it with latest Node.js

    PR-URL: #26987
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    gengjiawen authored and BethGriggs committed Apr 9, 2019
    Configuration menu
    Copy the full SHA
    7a39196 View commit details
    Browse the repository at this point in the history
  11. src: add missing uv_fs_req_cleanup()

    This cleans up after the uv_fs_realpath() call a few lines up.
    
    PR-URL: #27004
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    cjihrig authored and BethGriggs committed Apr 9, 2019
    Configuration menu
    Copy the full SHA
    fbdead7 View commit details
    Browse the repository at this point in the history
  12. test: fix error code typo

    PR-URL: #27024
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    cjihrig authored and BethGriggs committed Apr 9, 2019
    Configuration menu
    Copy the full SHA
    06dce39 View commit details
    Browse the repository at this point in the history
  13. src: fix warning on mismatched fn signature

    Add the missing `void* priv` to node_report's Initialize().
    
    PR-URL: #26950
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    sam-github authored and BethGriggs committed Apr 9, 2019
    Configuration menu
    Copy the full SHA
    d0ee1a3 View commit details
    Browse the repository at this point in the history
  14. test: remove unused triggerAsyncId param in test

    PR-URL: #26800
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    juanarbol authored and BethGriggs committed Apr 9, 2019
    Configuration menu
    Copy the full SHA
    8258f07 View commit details
    Browse the repository at this point in the history
  15. tools: update ESLint to 5.16.0

    Update ESLint to 5.16.0
    
    PR-URL: #27005
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    cjihrig authored and BethGriggs committed Apr 9, 2019
    Configuration menu
    Copy the full SHA
    7cbe121 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2019

  1. doc: list when promiseResolve hook was added to async_hooks

    PR-URL: #26978
    Refs: #15296
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    watson authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    57207e7 View commit details
    Browse the repository at this point in the history
  2. doc: add information about modules cache behavior

    This publicly documents that adding native module names will resolve
    the added entry instead of the native module.
    
    It also updates the description why extensions are deprecated.
    
    PR-URL: #26971
    Refs: #25362
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    BridgeAR authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    0b94aec View commit details
    Browse the repository at this point in the history
  3. doc: move "Prints: ..." under the code

    PR-URL: #27035
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    simon300000 authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    64a74d5 View commit details
    Browse the repository at this point in the history
  4. dns: refactor lib/internal/dns/utils.js

    * alphabetize contenst of `resolverKeys` array
    * less line-wrapping for increased code clarity
    
    PR-URL: #27006
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Trott authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    96e429a View commit details
    Browse the repository at this point in the history
  5. test: add IPv6 brackets but no port to test-dns

    Add a test case to test-dns to check that supply an IPv6 host with
    brackets but no explicit port to `dns.setServers()` yields expected
    results. This is the final bit of test coverage missing for
    lib/internal/dns/utils.js.
    
    PR-URL: #27006
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Trott authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    a0b0e42 View commit details
    Browse the repository at this point in the history
  6. build,meta: tweak Travis config

    * Add `lint-py-build` to get `lint-ci` to lint python
    * Add compile V8 job
    * Make compilation verbose
    * Test with `test-ci`
    
    PR-URL: #26969
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    refack authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    b766c06 View commit details
    Browse the repository at this point in the history
  7. src: remove internal includes from node_crypto.h

    Remove headers used by node_crypto.cc that were included in
    node_crypto.h. The header file should only include what it uses itself.
    
    PR-URL: #26966
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    sam-github authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    5102d69 View commit details
    Browse the repository at this point in the history
  8. doc: improve the doc of the 'information' event

    - Add missing argument
    - Reword a sentence
    - Rename the `res` argument to `info` in the example to avoid confusion
    
    PR-URL: #27009
    Fixes: #26905
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    lpinca authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    4c96ef7 View commit details
    Browse the repository at this point in the history
  9. test: move test that creates 1Gb file to pummel

    Fixes: #16601
    
    PR-URL: #27053
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Trott authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    687348a View commit details
    Browse the repository at this point in the history
  10. fs: remove experimental warning for fs.promises

    This has been warning for long enough, without any API changes
    in the last few months.
    
    PR-URL: #26581
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    addaleax authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    ccd3b74 View commit details
    Browse the repository at this point in the history
  11. tools: fix test.py --time

    PR-URL: #27007
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    richardlau authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    5945cf0 View commit details
    Browse the repository at this point in the history
  12. test: remove test-trace-events-api-worker-disabled from flaky

    PR-URL: #27020
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Trott authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    38da9be View commit details
    Browse the repository at this point in the history
  13. src: replace c-style cast

    PR-URL: #26888
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    gengjiawen authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    054cf7b View commit details
    Browse the repository at this point in the history
  14. doc: remove description duplication in buffer.md

    PR-URL: #27030
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    vsemozhetbyt authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    5fdee11 View commit details
    Browse the repository at this point in the history
  15. doc: fix possible typo in buffer.md

    PR-URL: #27030
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    vsemozhetbyt authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    fd3b031 View commit details
    Browse the repository at this point in the history
  16. doc: add missing types in buffer.md

    PR-URL: #27030
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    vsemozhetbyt authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    944ce7b View commit details
    Browse the repository at this point in the history
  17. doc: unify number/integer types in buffer.md

    PR-URL: #27030
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    vsemozhetbyt authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    5fd4053 View commit details
    Browse the repository at this point in the history
  18. doc: fix error notes in Buffer.from() variants

    Make notes about `TypeError` conditions in `Buffer.from()` variants
    more accurate.
    
    PR-URL: #27030
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    vsemozhetbyt authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    3a35d8a View commit details
    Browse the repository at this point in the history
  19. doc: add note about Buffer octets integer coercion

    PR-URL: #27030
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    vsemozhetbyt authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    f9ef9eb View commit details
    Browse the repository at this point in the history
  20. doc: mark optional parameters in buffer.md

    PR-URL: #27030
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    vsemozhetbyt authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    ea75d43 View commit details
    Browse the repository at this point in the history
  21. doc: add notes about negative offsets in buffer.md

    PR-URL: #27030
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    vsemozhetbyt authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    19ccee0 View commit details
    Browse the repository at this point in the history
  22. doc: unify periods in comments in buffer.md

    "Prints: ..." comments were excepted to avoid confusion.
    
    PR-URL: #27030
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    vsemozhetbyt authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    221bcfb View commit details
    Browse the repository at this point in the history
  23. doc: unify link formatting in buffer.md

    PR-URL: #27030
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    vsemozhetbyt authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    00eef26 View commit details
    Browse the repository at this point in the history
  24. util: inspect() should not exceed breakLength

    Using `util.inspect()` with the `compact` option set to a number
    could result in output that exceeded the `breakLength` option. This
    change makes sure that limit is taken into account.
    
    PR-URL: #26914
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    BridgeAR authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    e40bfd8 View commit details
    Browse the repository at this point in the history
  25. src: elevate v8::Task namespace

    PR-URL: #26909
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    juanarbol authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    a318cbc View commit details
    Browse the repository at this point in the history
  26. path: refactor for less indentation

    This just switches the statements in a way that it reduces the
    overall indentation. The function has a very deep indentation in
    general and this should improve the readability.
    
    PR-URL: #26917
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    BridgeAR authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    addc73a View commit details
    Browse the repository at this point in the history
  27. doc: remove old system_errors

    Remove old errors_system_errors, any useful information
    in it moved into the SystemError class docs.
    
    Fixes: #26861
    PR-URL: #27037
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    JungMinu authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    316372c View commit details
    Browse the repository at this point in the history
  28. process: run RunBootstrapping in CreateEnvironment

    Also creates `CreateMainEnvironment` to encapsulate the code
    creating the main environment from the provided Isolate data
    and arguments.
    
    PR-URL: #26788
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    joyeecheung authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    fec9f76 View commit details
    Browse the repository at this point in the history
  29. report: add cwd to report

    The diagnostic report currently contains command line
    information, and the environment, which contains the PWD
    environment variable. This combination covers the majority
    of cases, but it would be useful to have the result of
    uv_cwd() as an additional data point. This commit adds that
    information.
    
    PR-URL: #27022
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    cjihrig authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    d3c1481 View commit details
    Browse the repository at this point in the history
  30. doc: remove unnecessary intro in governance doc

    The introductory paragraph in GOVERNANCE.md does not add anything that
    isn't obvious from the document itself. Remove it.
    
    PR-URL: #27036
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Trott authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    0fc5dcc View commit details
    Browse the repository at this point in the history
  31. doc: document the 'pause' and 'resume' events

    PR-URL: #26999
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    lpinca authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    26af6fb View commit details
    Browse the repository at this point in the history
  32. stream: make Symbol.asyncIterator support stable

    PR-URL: #26989
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    mcollina authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    0ac41fc View commit details
    Browse the repository at this point in the history
  33. readline: make Symbol.asyncIterator support stable

    PR-URL: #26989
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    mcollina authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    6d39460 View commit details
    Browse the repository at this point in the history
  34. module: fix repl require calling the same file again

    This makes sure multiple require calls will not fail in case a file
    was created after the first attempt.
    
    PR-URL: #26928
    Fixes: #26926
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    BridgeAR authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    58da879 View commit details
    Browse the repository at this point in the history
  35. test: make module test pass with NODE_PENDING_DEPRECATION

    Some people set the `NODE_PENDING_DEPRECATION` environment variable
    globally. This makes the test added in 115f0f5
    pass when that is the case.
    
    Refs: #26823
    
    PR-URL: #27019
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    addaleax authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    3fce303 View commit details
    Browse the repository at this point in the history
  36. deps: update nghttp2 to 1.37.0

    PR-URL: #26990
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    gengjiawen authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    3e4c03d View commit details
    Browse the repository at this point in the history
  37. src: apply clang-tidy rule bugprone-incorrect-roundings

    PR-URL: #26885
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    gengjiawen authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    438bc52 View commit details
    Browse the repository at this point in the history
  38. process: store argv in Environment

    This gets rid of Environment::ExecutionMode as well now that
    we use the original arguments to determine execution mode.
    
    PR-URL: #26945
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    joyeecheung authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    1bbe5b3 View commit details
    Browse the repository at this point in the history
  39. build: only emit download ICU warnings once

    The check that the user specified `icu` in `--download` only needs to be
    done once and not for each entry in `tools/icu/current_ver.dep`.
    
    Fixes: #26860
    
    PR-URL: #27031
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    richardlau authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    a58437d View commit details
    Browse the repository at this point in the history
  40. doc: fix default maxBuffer size

    Correctly document the default maxBuffer size for execSync,
    execFileSync, and spawnSync. It is 200 * 1024, not Infinity.
    Add tests to verify behaviour is as documented.
    
    PR-URL: #22894
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    koh110 authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    7547d8e View commit details
    Browse the repository at this point in the history
  41. meta: move ofrobots to TSC emeritus

    PR-URL: #27076
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    ofrobots authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    2f1da92 View commit details
    Browse the repository at this point in the history
  42. src: use sizeof(var) instead of sizeof(type)

    Change `memset(&s, 0, sizeof(type))` to `memset(&s, 0, sizeof(s))`.
    The former is dangerous when the type of `s` changes.
    
    PR-URL: #27038
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    bnoordhuis authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    a21bee7 View commit details
    Browse the repository at this point in the history
  43. benchmark: add new module loading benchmarks

    PR-URL: #26970
    Refs: #25362
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    BridgeAR authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    c62b1a2 View commit details
    Browse the repository at this point in the history
  44. benchmark: improve module-loader benchmark

    Add more benchmark options to properly verify the gains.
    
    This makes sure the benchmark also tests requiring the same module
    again instead of only loading each module only once.
    
    PR-URL: #26970
    Refs: #25362
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    BridgeAR authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    4c7a2f1 View commit details
    Browse the repository at this point in the history
  45. module: inline try catch

    Moving `try / catch` into separate functions is not necessary
    anymore due to V8 optimizations.
    
    PR-URL: #26970
    Refs: #25362
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    BridgeAR authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    cdb0d84 View commit details
    Browse the repository at this point in the history
  46. module: add path to the module object

    This adds the `path` property to the module object. It contains the
    current directory as path. That is necessary to add an extra caching
    layer.
    
    It also makes sure the `id` uses a default in case it's not set.
    Otherwise the `path.dirname(id)` command could fail.
    
    PR-URL: #26970
    Refs: #25362
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    BridgeAR authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    8f6921e View commit details
    Browse the repository at this point in the history
  47. module: add extra caching layer

    This adds an extra modules caching layer that operates on the parent's
    `path` property and the current require argument. That together can
    be used as unique identifier to speed up loading the same module more
    than once. It is a cache on top of the current modules cache.
    
    It has the nice feature that this cache does not only work in the same
    file but it works for the whole current directory. So if the same file
    is loaded in any other file from the same directory, it will also hit
    this cache instead of having to resolve the file again.
    
    To keep it backwards compatible with the old modules cache, it detects
    invalidation of that cache.
    
    PR-URL: #26970
    Refs: #25362
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    BridgeAR authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    5917f4d View commit details
    Browse the repository at this point in the history
  48. buffer: fix concat error message

    The list argument may only be of type array, not of any other type
    as it actually suggests.
    
    PR-URL: #27050
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    BridgeAR authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    36714e1 View commit details
    Browse the repository at this point in the history
  49. deps: add ARM64 Windows support in openssl

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

    This change adds the generated files required for building OpenSSL for
    Node.js for ARM64 Windows. I did this on a VM running Ubuntu 18.04. The
    basic workflow is to cd to deps/openssl/config and run `make`,
    installing any needed packages until all architectures build correctly.
    
    Note that OpenSSL 1.1.1 does not support ASM on ARM64 Windows, so this
    change also supports only no-asm on ARM64 Windows.
    
    PR-URL: #26001
    Fixes: #25998
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    jkunkee authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    ddf7477 View commit details
    Browse the repository at this point in the history
  51. querystring: simplify stringify method

    PR-URL: #26591
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    ZYSzys authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    038b778 View commit details
    Browse the repository at this point in the history
  52. src: prevent crash in TTYWrap::Initialize

    When console.log is called for the first time it initializes
    TTYWrap object. However, if there is not enough space on the
    V8 stack, creating function template fails and triggers
    empty maybe local exception.
    
    PR-URL: #26832
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Hakerh400 authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    70d9f32 View commit details
    Browse the repository at this point in the history
  53. crypto: fix crash of encrypted private key export without cipher

    PR-URL: #27041
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    panva authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    066cd60 View commit details
    Browse the repository at this point in the history
  54. async_hooks: minor cleanup and improvements

    Cleanup some code and make the emit hooks very slightly faster.
    
    PR-URL: #27034
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    apapirovski authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    d688a93 View commit details
    Browse the repository at this point in the history
  55. build: fix inspector dependency resolution

    It was reported that parallel builds on Windows sometimes error because
    of missing intermediate files.
    
    On closer inspection I noticed that some files are copied from src/ to
    the intermediate build directory in a way where they don't participate
    in dependency resolution. Put another way, the build system doesn't
    know to wait for the copy to complete because we don't tell it to.
    
    Fix that by not copying around files but instead making the script that
    processes them a little smarter about where to find them and where to
    store the results.
    
    PR-URL: #27026
    Fixes: #27025
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    bnoordhuis authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    b502873 View commit details
    Browse the repository at this point in the history
  56. crypto: fix crash of encrypted private key export without cipher

    PR-URL: #27041
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    panva authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    a00d840 View commit details
    Browse the repository at this point in the history
  57. doc: assign missed deprecation code

    Refs: #26982
    
    PR-URL: #27164
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    richardlau authored and BethGriggs committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    75e8377 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2019

  1. 2019-04-11, Version 11.14.0 (Current)

    Notable changes:
    
    - child_process: doc deprecate ChildProcess.\_channel (cjihrig)
      [#26982](#26982)
    - deps: update nghttp2 to 1.37.0 (gengjiawen)
      [#26990](#26990)
    - dns:
      - make dns.promises enumerable (cjihrig)
        [#26592](#26592)
      - remove dns.promises experimental warning (cjihrig)
        [#26592](#26592)
    - fs: remove experimental warning for fs.promises (Anna Henningsen)
      [#26581] (#26581)
    - stream: make Symbol.asyncIterator support stable (Matteo Collina)
      [#26989](#26989)
    - worker: use copy of process.env (Anna Henningsen)
      [#26544](#26544)
    
    PR-URL: #27163
    BethGriggs committed Apr 11, 2019
    Configuration menu
    Copy the full SHA
    cd026f8 View commit details
    Browse the repository at this point in the history