-
-
Notifications
You must be signed in to change notification settings - Fork 69
Listen end events #42
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
Conversation
In the event that the read stream terminates before all of the data has been read, the pipe will send an 'end' event. We should listen for this event and hit the callback with it, instead of hanging forever. Added tests to verify this. Verified the patch fixes the problem by running the tests without the patch, observing that they timeout, then running the tests with the patch and verifying you get an error back.
Attempting to run "npm install" on a new-ish Mac with Node v10.11 fails with a number of node-gyp compilation failures. Installing and using the latest versions of node-sass, nan, and fsevents resolves this failure, as each of those packages resolves the issues that led to problems. Update lodash to v4.17.11 to fix a security warning present in the Travis CI configuration. Add Node 10 to the build matrix so we can test for it. I am nervous about the number of changes to package-lock.json and I am not sure how to mitigate that - apparently NPM 6 changed the way requirements are stored in the file so we'll just have to do this at some point. npm/npm#20434
|
@mistic Looks good, remove |
Codecov Report
@@ Coverage Diff @@
## master #42 +/- ##
==========================================
+ Coverage 16.99% 17.26% +0.26%
==========================================
Files 7 7
Lines 353 365 +12
Branches 58 60 +2
==========================================
+ Hits 60 63 +3
- Misses 261 268 +7
- Partials 32 34 +2
Continue to review full report at Codecov.
|
|
@evilebottnawi done |
92a132f to
0d72660
Compare
This is a revisit for #36
I just merged the branch present in the mentioned PR, applied the suggested review by @evilebottnawi. I had to rebase and amend the commits in order to proceed with this PR forward.
This is the list of changes on this PR: