@types/ssh2-streams
Advanced tools
Comparing version 0.1.7 to 0.1.8
// Type definitions for ssh2-streams v0.1.9 | ||
// Project: https://github.com/mscdex/ssh2-streams | ||
// Definitions by: Ron Buckton <https://github.com/rbuckton> | ||
// Leo Toneff <https://github.com/bragle> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -1073,2 +1074,20 @@ | ||
* (Client-only) | ||
* Writes data to a file | ||
*/ | ||
writeFile(remotePath: string, data: string | Buffer, options: WriteFileOptions, callback?: (err: any) => void): void; | ||
/** | ||
* (Client-only) | ||
* Writes data to a file | ||
*/ | ||
writeFile(remotePath: string, data: string | Buffer, encoding: string, callback?: (err: any) => void): void; | ||
/** | ||
* (Client-only) | ||
* Writes data to a file | ||
*/ | ||
writeFile(remotePath: string, data: string | Buffer, callback?: (err: any) => void): void; | ||
/** | ||
* (Client-only) | ||
* Returns a new writable stream for `path`. | ||
@@ -1707,1 +1726,7 @@ */ | ||
} | ||
export interface WriteFileOptions { | ||
encoding?: string; | ||
mode?: number; | ||
flag?: string; | ||
} |
{ | ||
"name": "@types/ssh2-streams", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "TypeScript definitions for ssh2-streams", | ||
@@ -11,2 +11,7 @@ "license": "MIT", | ||
"githubUsername": "rbuckton" | ||
}, | ||
{ | ||
"name": "Leo Toneff", | ||
"url": "https://github.com/bragle", | ||
"githubUsername": "bragle" | ||
} | ||
@@ -25,4 +30,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "e06ce91e7c14f19b7940a4591473886e3053318deef887308f095a2081f45df3", | ||
"typeScriptVersion": "2.9" | ||
"typesPublisherContentHash": "d4fd8f93fc088069afb7bb95226437ff2e90468511b57b0558991f4985b0affd", | ||
"typeScriptVersion": "3.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 12 May 2020 15:40:03 GMT | ||
* Last updated: Thu, 03 Dec 2020 00:14:55 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by [Ron Buckton](https://github.com/rbuckton). | ||
These definitions were written by [Ron Buckton](https://github.com/rbuckton), and [Leo Toneff](https://github.com/bragle). |
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
57426
1481