Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pythoner2019/node
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v11.x
Choose a base ref
...
head repository: pythoner2019/node
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 17 commits
  • 114 files changed
  • 10 contributors

Commits on Aug 10, 2018

  1. build: extract common parts from addon .buildstamp

    This commit extracts common parts from the targets
    test/addons/.buildstamp, and test/addons-napi/.buildstamp to reduce some
    duplication.
    
    PR-URL: nodejs#22171
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    danbev committed Aug 10, 2018
    Configuration menu
    Copy the full SHA
    d3d54aa View commit details
    Browse the repository at this point in the history
  2. build: add crypto check to build targets

    Currently when configured without-ssl the build will fail when trying
    to run the tools/doc/node_modules, and .docbuildstamp make targets:
    
    internal/util.js:97
        throw new ERR_NO_CRYPTO();
        ^
    Error [ERR_NO_CRYPTO]: Node.js is not compiled with OpenSSL crypto
                           support
        at assertCrypto (internal/util.js:97:11)
        at crypto.js:31:1
        ...
        at Object.<anonymous>
           (/node/deps/npm/node_modules/uuid/lib/rng.js:4:14)
        at Module._compile (internal/modules/cjs/loader.js:689:30)
        ...
    make[1]: *** [tools/doc/node_modules] Error 1
    
    This commit adds crypto check to these targets to allow the build to
    pass.
    
    PR-URL: nodejs#22148
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    danbev committed Aug 10, 2018
    Configuration menu
    Copy the full SHA
    77da6d9 View commit details
    Browse the repository at this point in the history
  3. test: move require of http2 to after crypto check

    Currently when configured without-ssl test-heapdump-http2.js will fail
    with a missing crypto message.
    This commit moves the require of http2 to after the crypto check.
    
    PR-URL: nodejs#22148
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    danbev committed Aug 10, 2018
    Configuration menu
    Copy the full SHA
    94840fd View commit details
    Browse the repository at this point in the history
  4. test: move require of https to after crypto check

    Currently when configured without-ssl test-request-arguments.js will
    fail with a missing crypto message.
    This commit moves the require of https to after the crypto check.
    
    PR-URL: nodejs#22148
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    danbev committed Aug 10, 2018
    Configuration menu
    Copy the full SHA
    346f2a7 View commit details
    Browse the repository at this point in the history
  5. test: fix crypto test case

    PR-URL: nodejs#22126
    Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    tniessen committed Aug 10, 2018
    Configuration menu
    Copy the full SHA
    34f56e2 View commit details
    Browse the repository at this point in the history
  6. crypto: deprecate useless crypto APIs

    The APIs were probably exposed by accident. getAuthTag and setAuthTag
    are not a usual getter/setter pair: Getting the authentication tag
    only makes sense in the context of encryption, setting it only makes
    sense in the context of decryption. Currently, both functions throw.
    Neither has been documented publicly.
    
    PR-URL: nodejs#22126
    Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    tniessen committed Aug 10, 2018
    Configuration menu
    Copy the full SHA
    39dd3a4 View commit details
    Browse the repository at this point in the history
  7. build: make tools/doc/node_modules non-phony

    This commit makes the target tools/doc/node_modules a non-phony target
    and also adds tools/doc/package.json as a prerequisite to it to avoid
    running it unnecessary. This is currently causing the target
    test/addons/.docbuildstamp to be always be executed as it has
    tools/doc/node_modules as a prerequisite.
    
    PR-URL: nodejs#22189
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Sam Ruby <rubys@intertwingly.net>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    danbev committed Aug 10, 2018
    Configuration menu
    Copy the full SHA
    88bff82 View commit details
    Browse the repository at this point in the history
  8. trace_events,async_hooks: use intrinsic trace

    Switch to using the intrinsic trace event method for async_hooks.
    
    This is a breaking change because of the switch to a nested data
    argument for exec id and trigger id values.
    
    PR-URL: nodejs#22127
    Reviewed-By: Andreas Madsen <amwebdk@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    jasnell committed Aug 10, 2018
    Configuration menu
    Copy the full SHA
    c85933c View commit details
    Browse the repository at this point in the history
  9. src: remove old process.binding('trace_events').emit

    Remove the older emit and categoryGroupEnabled bindings in
    favor of the new intrinsics
    
    PR-URL: nodejs#22127
    Reviewed-By: Andreas Madsen <amwebdk@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    jasnell committed Aug 10, 2018
    Configuration menu
    Copy the full SHA
    b854604 View commit details
    Browse the repository at this point in the history
  10. stream: fix readable behavior for highWaterMark === 0

    Avoid trying to emit 'readable' due to the fact that
    state.length is always >= state.highWaterMark if highWaterMark is 0.
    Therefore upon .read(0) call (through .on('readable')) stream assumed
    that it has enough data to emit 'readable' even though
    state.length === 0 instead of issuing _read(). Which led to the TTY
    not recognizing that someone is waiting for the input.
    
    Fixes: nodejs#20503
    Refs: nodejs#18372
    
    PR-URL: nodejs#21690
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    lundibundi authored and mcollina committed Aug 10, 2018
    Configuration menu
    Copy the full SHA
    fe47b8b View commit details
    Browse the repository at this point in the history
  11. doc: add gdams to collaborators

    PR-URL: nodejs#22236
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    George Adams
    George Adams committed Aug 10, 2018
    Configuration menu
    Copy the full SHA
    91e897a View commit details
    Browse the repository at this point in the history
  12. test: remove second arg from assert.ifError()

    `test/parallel/test-fs-readfile.js` has a call to
    `assert.ifError()` that receives two arguments.
    
    There is no second argument used in `assert.ifError()`.
    This PR removes this argument.
    
    PR-URL: nodejs#22190
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mhamwala authored and jasnell committed Aug 10, 2018
    Configuration menu
    Copy the full SHA
    dcfd323 View commit details
    Browse the repository at this point in the history
  13. doc: add subprocess.ref() and subprocess.unref()

    PR-URL: nodejs#22220
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Bryan English <bryan@bryanenglish.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    tlhunter authored and vsemozhetbyt committed Aug 10, 2018
    Configuration menu
    Copy the full SHA
    7b1f3a4 View commit details
    Browse the repository at this point in the history
  14. dgram: remove unnecessary fd property from Socket

    It seems the property socket.fd is used long before for the
    compatibility reason but it's not used anymore. It's also
    not documented in docs so that it's not a public api/property.
    Keep the property also make the code a bit confusing as
    socket._handle.fd is the actual property representing fd.
    
    PR-URL: nodejs#21684
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    oyyd authored and maclover7 committed Aug 10, 2018
    Configuration menu
    Copy the full SHA
    3ce6bc3 View commit details
    Browse the repository at this point in the history
  15. test: handle errors correctly in GC http test

    In test-gc-http-client-timeout.js, res.resume is not a function if error
    occurs. Remove the error handler.
    
    PR-URL: nodejs#22185
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    oyyd authored and Trott committed Aug 10, 2018
    Configuration menu
    Copy the full SHA
    2e37d0f View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2018

  1. inspector: add inspector_protocol as a direct dependency

    Currently, node.js depends on inspector_protocol indirectly through the
    dependency on v8.
    
    This is a dependency violation that will make it hard to roll V8 into
    Node if V8 gets a newer inspector protocol version with incompatible
    API. In fact, this surfaced on one of our bots when we tried to roll new
    inspector_protocol into V8.
    
    This patch adds inspector protocol and its required dependencies to node
    deps:
    - jinja2
    - markupsafe
    
    PR-URL: nodejs#21975
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Aleksei Koziatinskii <ak239spb@gmail.com>
    aslushnikov authored and alexkozy committed Aug 11, 2018
    Configuration menu
    Copy the full SHA
    e039524 View commit details
    Browse the repository at this point in the history
  2. fs: implement mkdir recursive (mkdirp)

    Implements mkdirp functionality in node_file.cc. The Benefit
    of implementing in C++ layer is that the logic is more easily
    shared between the Promise and callback implementation and
    there are notable performance improvements.
    
    This commit is part of the Tooling Group Initiative.
    
    Refs: nodejs/user-feedback#70
    
    PR-URL: nodejs#21875
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Ron Korving <ron@ronkorving.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Sam Ruby <rubys@intertwingly.net>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Benjamin Coe
    Benjamin Coe committed Aug 11, 2018
    Configuration menu
    Copy the full SHA
    bdef1b1 View commit details
    Browse the repository at this point in the history
Loading