Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Multivit4min committed Mar 25, 2020
1 parent 6d643d9 commit cd1795c
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 26 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

### 2.4.2 - 25.03.2020
* update dependencies

### 2.4.1 - 22.02.2020
* made the duration till a keepalive is being sent configurable with `keepAliveTimeout`

Expand Down
54 changes: 34 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts3-nodejs-library",
"version": "2.4.1",
"version": "2.4.2",
"description": "TeamSpeak Server Query API",
"main": "lib/index.js",
"homepage": "https://github.com/Multivit4min/TS3-NodeJS-Library",
Expand Down Expand Up @@ -28,19 +28,19 @@
"license": "MIT",
"devDependencies": {
"@types/jest": "^24.9.1",
"@types/node": "^12.12.25",
"@types/ssh2": "^0.5.39",
"@types/node": "^12.12.31",
"@types/ssh2": "^0.5.41",
"@typescript-eslint/eslint-plugin": "^1.13.0",
"@typescript-eslint/parser": "^1.13.0",
"coveralls": "^3.0.9",
"coveralls": "^3.0.11",
"crc-32": "^1.2.0",
"eslint": "^6.8.0",
"jest": "^24.9.0",
"ts-jest": "^24.3.0",
"typedoc": "^0.15.8",
"typescript": "^3.7.5"
"typescript": "^3.8.3"
},
"dependencies": {
"ssh2": "^0.8.7"
"ssh2": "^0.8.9"
}
}
1 change: 1 addition & 0 deletions src/transport/protocols/ssh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export class ProtocolSSH extends EventEmitter implements TeamSpeakQuery.QueryPro
private handleReady() {
this.client.shell(false, (err, stream) => {
if (err) return this.emit("error", err)
if (!stream) return this.emit("error", new Error(`could not create stream`))
this.stream = stream
this.stream.setEncoding("utf8")
this.stream.on("data", (chunk: string) => this.handleData(chunk))
Expand Down

0 comments on commit cd1795c

Please sign in to comment.