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.8 to 0.1.9

94

ssh2-streams/index.d.ts

@@ -617,3 +617,3 @@ // Type definitions for ssh2-streams v0.1.9

*/
server?: boolean;
server?: boolean | undefined;

@@ -623,3 +623,3 @@ /**

*/
hostKeys?: HostKeys;
hostKeys?: HostKeys | undefined;

@@ -629,3 +629,3 @@ /**

*/
banner?: string;
banner?: string | undefined;

@@ -636,3 +636,3 @@ /**

*/
ident?: string;
ident?: string | undefined;

@@ -643,3 +643,3 @@ /**

*/
maxPacketSize?: number;
maxPacketSize?: number | undefined;

@@ -650,3 +650,3 @@ /**

*/
highWaterMark?: number;
highWaterMark?: number | undefined;

@@ -656,3 +656,3 @@ /**

*/
algorithms?: Algorithms;
algorithms?: Algorithms | undefined;

@@ -662,3 +662,3 @@ /**

*/
debug?: (information: string) => any;
debug?: ((information: string) => any) | undefined;
}

@@ -681,7 +681,7 @@

export interface Algorithms {
kex?: string[];
cipher?: string[];
serverHostKey?: string[];
hmac?: string[];
compress?: string[];
kex?: string[] | undefined;
cipher?: string[] | undefined;
serverHostKey?: string[] | undefined;
hmac?: string[] | undefined;
compress?: string[] | undefined;
}

@@ -693,3 +693,3 @@

*/
greeting?: string;
greeting?: string | undefined;

@@ -923,4 +923,4 @@ /**

key: Buffer;
signature?: Buffer;
blob?: Buffer;
signature?: Buffer | undefined;
blob?: Buffer | undefined;
}

@@ -931,4 +931,4 @@

key: Buffer;
signature?: Buffer;
blob?: Buffer;
signature?: Buffer | undefined;
blob?: Buffer | undefined;
localHostname: string;

@@ -990,3 +990,3 @@ localUsername: string;

prompt: string;
echo?: boolean;
echo?: boolean | undefined;
}

@@ -1635,3 +1635,3 @@

*/
server?: boolean;
server?: boolean | undefined;

@@ -1641,3 +1641,3 @@ /**

*/
highWaterMark?: number;
highWaterMark?: number | undefined;

@@ -1647,3 +1647,3 @@ /**

*/
debug?: (information: string) => any;
debug?: ((information: string) => any) | undefined;
}

@@ -1655,3 +1655,3 @@

*/
concurrency?: number;
concurrency?: number | undefined;

@@ -1661,3 +1661,3 @@ /**

*/
chunkSize?: number;
chunkSize?: number | undefined;

@@ -1667,3 +1667,3 @@ /**

*/
step?: (total_transferred: number, chunk: number, total: number) => void;
step?: ((total_transferred: number, chunk: number, total: number) => void) | undefined;

@@ -1673,19 +1673,19 @@ /**

*/
mode?: number | string;
mode?: number | string | undefined;
}
export interface ReadStreamOptions {
flags?: string;
encoding?: string;
handle?: Buffer;
mode?: number;
autoClose?: boolean;
start?: number;
end?: number;
flags?: string | undefined;
encoding?: string | undefined;
handle?: Buffer | undefined;
mode?: number | undefined;
autoClose?: boolean | undefined;
start?: number | undefined;
end?: number | undefined;
}
export interface WriteStreamOptions {
flags?: string;
encoding?: string;
mode?: number;
flags?: string | undefined;
encoding?: string | undefined;
mode?: number | undefined;
}

@@ -1700,8 +1700,8 @@

export interface InputAttributes {
mode?: number | string;
uid?: number;
gid?: number;
size?: number;
atime?: number | Date;
mtime?: number | Date;
mode?: number | string | undefined;
uid?: number | undefined;
gid?: number | undefined;
size?: number | undefined;
atime?: number | Date | undefined;
mtime?: number | Date | undefined;
}

@@ -1743,10 +1743,10 @@

export interface ReadFileOptions {
encoding?: string;
flag?: string;
encoding?: string | undefined;
flag?: string | undefined;
}
export interface WriteFileOptions {
encoding?: string;
mode?: number;
flag?: string;
encoding?: string | undefined;
mode?: number | undefined;
flag?: string | undefined;
}
{
"name": "@types/ssh2-streams",
"version": "0.1.8",
"version": "0.1.9",
"description": "TypeScript definitions for ssh2-streams",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ssh2-streams",
"license": "MIT",

@@ -29,4 +30,4 @@ "contributors": [

},
"typesPublisherContentHash": "d4fd8f93fc088069afb7bb95226437ff2e90468511b57b0558991f4985b0affd",
"typeScriptVersion": "3.3"
"typesPublisherContentHash": "d0d907e2df9e06a5602d9c24bbc4fdf7e14d1941aa70db21046fc79aba2993ea",
"typeScriptVersion": "3.6"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Thu, 03 Dec 2020 00:14:55 GMT
* Last updated: Tue, 06 Jul 2021 16:35:14 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)

@@ -14,0 +14,0 @@ * Global values: none

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