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.9 to 0.1.10

116

ssh2-streams/index.d.ts

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

/**

@@ -185,3 +184,7 @@ * (Client-only)

*/
authPK(username: string, pubKey: ParsedKey, cbSign?: (blob: Buffer, callback: (signedBlob: Buffer) => void) => void): boolean;
authPK(
username: string,
pubKey: ParsedKey,
cbSign?: (blob: Buffer, callback: (signedBlob: Buffer) => void) => void,
): boolean;

@@ -197,3 +200,9 @@ /**

*/
authHostBased(username: string, pubKey: ParsedKey, localHostname: string, localUsername: string, cbSign?: (blob: Buffer, callback: (signedBlob: Buffer) => void) => void): boolean;
authHostBased(
username: string,
pubKey: ParsedKey,
localHostname: string,
localUsername: string,
cbSign?: (blob: Buffer, callback: (signedBlob: Buffer) => void) => void,
): boolean;

@@ -266,3 +275,12 @@ /**

*/
pty(channel: number, rows: number, cols: number, height: number, width: number, terminalType?: string, terminalModes?: any, wantReply?: boolean): boolean;
pty(
channel: number,
rows: number,
cols: number,
height: number,
width: number,
terminalType?: string,
terminalModes?: any,
wantReply?: boolean,
): boolean;

@@ -351,5 +369,9 @@ /**

*/
openssh_directStreamLocal(channel: number, initWindow: number, maxPacket: number, config: SocketForwardingConfig): boolean;
openssh_directStreamLocal(
channel: number,
initWindow: number,
maxPacket: number,
config: SocketForwardingConfig,
): boolean;
/**

@@ -420,3 +442,8 @@ * (Server-only)

*/
openssh_forwardedStreamLocal(channel: number, initWindow: number, maxPacket: number, info: ForwardedSocket): boolean;
openssh_forwardedStreamLocal(
channel: number,
initWindow: number,
maxPacket: number,
info: ForwardedSocket,
): boolean;

@@ -439,3 +466,2 @@ /**

/**

@@ -450,3 +476,6 @@ * (Client/Server)

*/
on(event: "GLOBAL_REQUEST", listener: (reqName: string, wantReply: boolean, request: GlobalRequest | Buffer | undefined) => void): this;
on(
event: "GLOBAL_REQUEST",
listener: (reqName: string, wantReply: boolean, request: GlobalRequest | Buffer | undefined) => void,
): this;

@@ -533,3 +562,2 @@ /**

/**

@@ -557,3 +585,6 @@ * (Client-only)

*/
on(event: "USERAUTH_INFO_REQUEST", listener: (name: string, instructions: string, lang: string, prompts: Prompt[]) => void): this;
on(
event: "USERAUTH_INFO_REQUEST",
listener: (name: string, instructions: string, lang: string, prompts: Prompt[]) => void,
): this;

@@ -588,3 +619,6 @@ /**

*/
on(event: "USERAUTH_REQUEST", listener: (username: string, serviceName: string, authMethod: string, authMethodData: AuthMethodData) => void): this;
on(
event: "USERAUTH_REQUEST",
listener: (username: string, serviceName: string, authMethod: string, authMethodData: AuthMethodData) => void,
): this;

@@ -827,3 +861,10 @@ /**

export type ChannelOpenInfo = X11ChannelInfo | ForwardedTcpipChannelInfo | openssh_ForwardedStreamLocalChannelInfo | openssh_AuthAgentChannelInfo | DirectTcpipChannelInfo | openssh_DirectStreamLocalChannelInfo | SessionChannelInfo;
export type ChannelOpenInfo =
| X11ChannelInfo
| ForwardedTcpipChannelInfo
| openssh_ForwardedStreamLocalChannelInfo
| openssh_AuthAgentChannelInfo
| DirectTcpipChannelInfo
| openssh_DirectStreamLocalChannelInfo
| SessionChannelInfo;

@@ -920,3 +961,14 @@ export interface ExitStatusChannelRequest {

export type ChannelRequest = ExitStatusChannelRequest | ExitSignalChannelRequest | PseudoTtyChannelRequest | WindowChangeChannelRequest | X11ChannelRequest | EnvChannelRequest | ShellChannelRequest | ExecChannelRequest | SubsystemChannelRequest | SignalChannelRequest | FlowControlChannelRequest;
export type ChannelRequest =
| ExitStatusChannelRequest
| ExitSignalChannelRequest
| PseudoTtyChannelRequest
| WindowChangeChannelRequest
| X11ChannelRequest
| EnvChannelRequest
| ShellChannelRequest
| ExecChannelRequest
| SubsystemChannelRequest
| SignalChannelRequest
| FlowControlChannelRequest;

@@ -1089,3 +1141,8 @@ export interface PublicKeyAuthMethodData {

*/
writeFile(remotePath: string, data: string | Buffer, options: WriteFileOptions, callback?: (err: any) => void): void;
writeFile(
remotePath: string,
data: string | Buffer,
options: WriteFileOptions,
callback?: (err: any) => void,
): void;

@@ -1116,3 +1173,8 @@ /**

*/
open(filename: string, mode: string, attributes: InputAttributes, callback: (err: any, handle: Buffer) => void): boolean;
open(
filename: string,
mode: string,
attributes: InputAttributes,
callback: (err: any, handle: Buffer) => void,
): boolean;

@@ -1142,3 +1204,10 @@ /**

*/
readData(handle: Buffer, buffer: Buffer, offset: number, length: number, position: number, callback: (err: any, bytesRead: number, buffer: Buffer, position: number) => void): boolean;
readData(
handle: Buffer,
buffer: Buffer,
offset: number,
length: number,
position: number,
callback: (err: any, bytesRead: number, buffer: Buffer, position: number) => void,
): boolean;

@@ -1149,3 +1218,10 @@ /**

*/
writeData(handle: Buffer, buffer: Buffer, offset: number, length: number, position: number, callback: (err: any) => void): boolean;
writeData(
handle: Buffer,
buffer: Buffer,
offset: number,
length: number,
position: number,
callback: (err: any) => void,
): boolean;

@@ -1619,3 +1695,3 @@ /**

CONNECTION_LOST = 7,
OP_UNSUPPORTED = 8
OP_UNSUPPORTED = 8,
}

@@ -1632,3 +1708,3 @@

TRUNC = 0x00000010,
EXCL = 0x00000020
EXCL = 0x00000020,
}

@@ -1635,0 +1711,0 @@ }

6

ssh2-streams/package.json
{
"name": "@types/ssh2-streams",
"version": "0.1.9",
"version": "0.1.10",
"description": "TypeScript definitions for ssh2-streams",

@@ -30,4 +30,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ssh2-streams",

},
"typesPublisherContentHash": "d0d907e2df9e06a5602d9c24bbc4fdf7e14d1941aa70db21046fc79aba2993ea",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "6ef4d20b555998fcd29b45605582464373f666db02fa6b1219dcf82c3d4cc06c",
"typeScriptVersion": "4.5"
}

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

### Additional Details
* Last updated: Tue, 06 Jul 2021 16:35:14 GMT
* Last updated: Mon, 25 Sep 2023 13:39:06 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