Skip to content
This repository has been archived by the owner on Jan 20, 2020. It is now read-only.

Upgrade and relax dependencies #241

Merged
merged 3 commits into from
Jan 20, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@
}
],
"dependencies": {
"bintrees": "1.0.1",
"num": "0.3.0",
"request": "2.81.0",
"ws": "3.0.0"
"bintrees": "^1.0.1",
"num": "^0.3.0",
"request": "^2.81.0",
"ws": "^4.0.0"
},
"description": "Client for the GDAX API",
"devDependencies": {
"eslint": "^4.0.0",
"husky": "^0.13.4",
"lint-staged": "^3.6.1",
"mocha": "3.4.2",
"nock": "9.0.13",
"mocha": "^5.0.0",
"nock": "^9.0.13",
"prettier": "^1.9.2"
},
"directories": {
Expand Down
3 changes: 3 additions & 0 deletions tests/websocket.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ suite('WebsocketClient', () => {
assert.deepEqual(msg.channels, ['user', 'ticker', 'heartbeat']);
assert(msg.timestamp);
assert(msg.signature);

server.close();
done();
});
Expand All @@ -157,6 +158,8 @@ suite('WebsocketClient', () => {
client.once('error', err => {
assert.equal(err.message, 'test error');
assert.equal(err.reason, 'because error');

server.close();
done();
});
});
Expand Down