Skip to content

Conversation

@mistic
Copy link
Collaborator

@mistic mistic commented Dec 13, 2018

This is a revisit for #36
I just merged the branch present in the mentioned PR, applied the suggested review by @evilebottnawi and then made some more changes to update this package:

  • bump all dependencies to the last versions.
  • upgrade webpack config on example to support webpack 4
  • declare dependencies for example on its own folder
  • downgrade the node version to version 6 for canarium when running on travis
  • remove the outdated package nsp and replace it by the npm audit
  • upgrade the used npm on travis for 6.x

kevinburke and others added 4 commits October 5, 2018 10:07
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
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.
…bpack on example to version 4. chore(NA): declare dependencies for example on example package.json. fix(NA): canarium node version when run on travis. fix(NA): remove nsp and just use the new npm audit.
@jsf-clabot
Copy link

jsf-clabot commented Dec 13, 2018

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ mistic
❌ kevinburke

@alexander-akait
Copy link
Member

@mistic please don't do this in one PR, hard to review and catch mistake like breaking change and etc

@alexander-akait
Copy link
Member

Do:

  1. Send new PR with fix (Listen for end events #36) using own account
  2. Send a PR with updating deps.
  3. Send a PR with updating CI (maybe first if problem exists).
  4. Send a PR with updating docs.

@mistic mistic closed this Dec 13, 2018
@mistic mistic deleted the listen-end-events branch December 13, 2018 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants