Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/ssh2-streams

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/ssh2-streams - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

25

ssh2-streams/index.d.ts
// 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;
}

11

ssh2-streams/package.json
{
"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).
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc