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

Upgrade Node module dependencies #27

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

christianbundy
Copy link
Member

I noticed a security advisory regarding the ws module coming from this repo, so I went through and ensured that all of the npm dependencies were 100% up-to-date. It looks like the incompatibilities were caused by upgradeReq being removed, but the solution was pretty simple.

@@ -14,7 +13,7 @@ test('test error', function (t) {
pull.values(['x', 'y', 'z']),
pull.through(null, function (err) {
if(_err) {
t.strictEqual(err, _err);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also made this change. I think that err and _err are identical objects, but they were failing because {} !== {}. The actual error is stored in .error, so I've changed this test to compare that property instead.

@christianbundy christianbundy mentioned this pull request Sep 17, 2019
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.

1 participant