@types/ssh2
Advanced tools
Comparing version 0.5.36 to 0.5.37
@@ -6,2 +6,3 @@ // Type definitions for ssh2 v0.5.x | ||
// Will Boyce <https://github.com/wrboyce> | ||
// Lucas Motta <https://github.com/lucasmotta> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -25,2 +26,3 @@ | ||
TransferOptions, | ||
ReadFileOptions, | ||
ReadStreamOptions, | ||
@@ -1280,2 +1282,20 @@ WriteStreamOptions, | ||
* (Client-only) | ||
* Reads a file in memory and returns its contents | ||
*/ | ||
readFile(remotePath: string, options: ReadFileOptions, callback: (err: any, handle: Buffer) => void): void; | ||
/** | ||
* (Client-only) | ||
* Reads a file in memory and returns its contents | ||
*/ | ||
readFile(remotePath: string, encoding: string, callback: (err: any, handle: Buffer) => void): void; | ||
/** | ||
* (Client-only) | ||
* Reads a file in memory and returns its contents | ||
*/ | ||
readFile(remotePath: string, callback: (err: any, handle: Buffer) => void): void; | ||
/** | ||
* (Client-only) | ||
* Returns a new readable stream for `path`. | ||
@@ -1282,0 +1302,0 @@ */ |
{ | ||
"name": "@types/ssh2", | ||
"version": "0.5.36", | ||
"version": "0.5.37", | ||
"description": "TypeScript definitions for ssh2", | ||
@@ -21,5 +21,11 @@ "license": "MIT", | ||
"githubUsername": "wrboyce" | ||
}, | ||
{ | ||
"name": "Lucas Motta", | ||
"url": "https://github.com/lucasmotta", | ||
"githubUsername": "lucasmotta" | ||
} | ||
], | ||
"main": "", | ||
"types": "index", | ||
"repository": { | ||
@@ -31,8 +37,7 @@ "type": "git", | ||
"dependencies": { | ||
"@types/events": "*", | ||
"@types/ssh2-streams": "*", | ||
"@types/node": "*" | ||
"@types/node": "*", | ||
"@types/ssh2-streams": "*" | ||
}, | ||
"typesPublisherContentHash": "6754185071ef2b91b7eed54d761b1341f4b90a6e42f682d536d7a87bedb70428", | ||
"typesPublisherContentHash": "4d82397ee21bbe9d525f4cae2cc2263f02f0adc77e9bb973534a69a1bb820099", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,7 +11,7 @@ # Installation | ||
Additional Details | ||
* Last updated: Thu, 27 Sep 2018 12:34:29 GMT | ||
* Dependencies: stream, events, net, ssh2-streams, node | ||
* Last updated: Tue, 04 Dec 2018 19:28:12 GMT | ||
* Dependencies: @types/ssh2-streams, @types/node | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Qubo <https://github.com/tkQubo>, Ron Buckton <https://github.com/rbuckton>, Will Boyce <https://github.com/wrboyce>. | ||
These definitions were written by Qubo <https://github.com/tkQubo>, Ron Buckton <https://github.com/rbuckton>, Will Boyce <https://github.com/wrboyce>, Lucas Motta <https://github.com/lucasmotta>. |
2
1380
62543
- Removed@types/events@*
- Removed@types/events@3.0.3(transitive)