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.3 to 0.1.4

23

ssh2-streams/index.d.ts

@@ -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;
}

4

ssh2-streams/package.json
{
"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 @@

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