Skip to content

Commit

Permalink
Release 1.1.0 and update outdated dependencies (#96)
Browse files Browse the repository at this point in the history
* Release 1.1.0 and update outdated dependencies
  • Loading branch information
alexguan authored Sep 19, 2019
1 parent 0208a2e commit 0a7cb95
Show file tree
Hide file tree
Showing 5 changed files with 543 additions and 580 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ language: node_js

node_js:
- "node"
- "6"
- "8.10"

10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Change Log

## 1.1.0

1. [New: Add removeRecursive and listSubTreeBFS methods](https://github.com/alexguan/node-zookeeper-client/pull/88)
2. Upgrade eslint and mocha dependencies
3. Bump Node requirement to >=8.10.0

# 1.0.0

1. [Issue #92: Remove use of deprecated Buffer() constructor](https://github.com/alexguan/node-zookeeper-client/issues/92)

## 0.2.3

1. [Issue #64: Error when using from react](https://github.com/alexguan/node-zookeeper-client/issues/64)
Expand Down
10 changes: 5 additions & 5 deletions lib/ConnectionManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -492,10 +492,10 @@ ConnectionManager.prototype.onSocketData = function (buffer) {
// TODO, better error handling/logging need to bee done here.
// Need to clean up and do a reconnect.
// throw new Error(
// 'Xid out of order. Got xid: ' +
// responseHeader.xid + ' with error code: ' +
// responseHeader.err + ', expected xid: ' +
// pendingPacket.request.header.xid + '.'
// 'Xid out of order. Got xid: ' +
// responseHeader.xid + ' with error code: ' +
// responseHeader.err + ', expected xid: ' +
// pendingPacket.request.header.xid + '.'
// );
self.socket.destroy(); // this will trigger reconnect
return;
Expand Down Expand Up @@ -546,7 +546,7 @@ ConnectionManager.prototype.onSocketData = function (buffer) {
break;
default:
// throw new Error('Unknown request OP_CODE: ' +
// pendingPacket.request.header.type);
// pendingPacket.request.header.type);
self.socket.destroy(); // this will trigger reconnect
return;
}
Expand Down
Loading

0 comments on commit 0a7cb95

Please sign in to comment.