@types/ssh2-streams
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -1049,2 +1049,20 @@ // Type definitions for ssh2-streams v0.1.9 | ||
* (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`. | ||
@@ -1684,2 +1702,7 @@ */ | ||
privateMAC?: string; | ||
} | ||
export interface ReadFileOptions { | ||
encoding?: string; | ||
flag?: string; | ||
} |
{ | ||
"name": "@types/ssh2-streams", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "TypeScript definitions for ssh2-streams", | ||
@@ -23,4 +23,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "d66e9511155c35a35ffaa33a6929d3898fa6d3379d9d2272b9b441aecbc17170", | ||
"typesPublisherContentHash": "90c98f67911b3828168c2811271add0eb83c1ffca495117a34c87529fcd196a4", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,4 +11,4 @@ # Installation | ||
Additional Details | ||
* Last updated: Tue, 20 Nov 2018 17:03:30 GMT | ||
* Dependencies: node | ||
* Last updated: Tue, 04 Dec 2018 19:28:12 GMT | ||
* Dependencies: @types/node | ||
* Global values: none | ||
@@ -15,0 +15,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
56472
1461