Socket
Socket
Sign inDemoInstall

@types/tunnel-ssh

Package Overview
Dependencies
2
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.1.0 to 4.1.1

70

tunnel-ssh/index.d.ts

@@ -17,39 +17,39 @@ // Type definitions for tunnel-ssh 4.1

interface Config {
dstHost?: string;
dstPort?: number;
localHost?: string;
keepAlive?: boolean;
host?: string;
port?: number;
localAddress?: string;
localPort?: number;
forceIPv4?: boolean;
forceIPv6?: boolean;
hostHast?: string;
hostVerifier?: (hashedKey: string, ...cb: Array<(doContinue: boolean) => void>) => boolean;
username?: string;
password?: string;
agent?: string;
agentForward?: boolean;
privateKey?: Buffer | string;
passphrase?: string;
localHostname?: string;
localUsername?: string;
tryKeyboard?: boolean;
authHandler?: (methodsLeft: null | string[], partialSuccess: null | boolean, cb: (nextMethod: string) => void) => string;
keepaliveInterval?: number;
keepaliveCountMax?: number;
readyTimeout?: number;
sock?: ReadableStream;
strictVendor?: boolean;
dstHost?: string | undefined;
dstPort?: number | undefined;
localHost?: string | undefined;
keepAlive?: boolean | undefined;
host?: string | undefined;
port?: number | undefined;
localAddress?: string | undefined;
localPort?: number | undefined;
forceIPv4?: boolean | undefined;
forceIPv6?: boolean | undefined;
hostHast?: string | undefined;
hostVerifier?: ((hashedKey: string, ...cb: Array<(doContinue: boolean) => void>) => boolean) | undefined;
username?: string | undefined;
password?: string | undefined;
agent?: string | undefined;
agentForward?: boolean | undefined;
privateKey?: Buffer | string | undefined;
passphrase?: string | undefined;
localHostname?: string | undefined;
localUsername?: string | undefined;
tryKeyboard?: boolean | undefined;
authHandler?: ((methodsLeft: null | string[], partialSuccess: null | boolean, cb: (nextMethod: string) => void) => string) | undefined;
keepaliveInterval?: number | undefined;
keepaliveCountMax?: number | undefined;
readyTimeout?: number | undefined;
sock?: ReadableStream | undefined;
strictVendor?: boolean | undefined;
algorithms?: {
key?: string[];
cipher?: string[];
serverHostKey?: string[];
hmac?: string[];
compress?: string[];
};
compress?: "force" | boolean;
debug?: (info: string) => void;
key?: string[] | undefined;
cipher?: string[] | undefined;
serverHostKey?: string[] | undefined;
hmac?: string[] | undefined;
compress?: string[] | undefined;
} | undefined;
compress?: "force" | boolean | undefined;
debug?: ((info: string) => void) | undefined;
}
}
{
"name": "@types/tunnel-ssh",
"version": "4.1.0",
"version": "4.1.1",
"description": "TypeScript definitions for tunnel-ssh",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tunnel-ssh",
"license": "MIT",

@@ -14,3 +15,3 @@ "contributors": [

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -25,4 +26,4 @@ "type": "git",

},
"typesPublisherContentHash": "0ae6ec921895e36faf5dab1bd22eee54fb2d6d3cfd3626b1ec107601d5c42836",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "a8d72ddc1180ded0ca8354ad4f79fafc45830460aa8a9bac514322fa8149760f",
"typeScriptVersion": "3.6"
}

@@ -5,13 +5,71 @@ # Installation

# Summary
This package contains type definitions for tunnel-ssh ( https://github.com/agebrock/tunnel-ssh ).
This package contains type definitions for tunnel-ssh (https://github.com/agebrock/tunnel-ssh).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tunnel-ssh
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tunnel-ssh.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tunnel-ssh/index.d.ts)
````ts
// Type definitions for tunnel-ssh 4.1
// Project: https://github.com/agebrock/tunnel-ssh
// Definitions by: Maz Ahmadi <https://github.com/cmdshepard>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node"/>
Additional Details
* Last updated: Tue, 14 May 2019 21:56:57 GMT
* Dependencies: @types/node
import { Server } from "net";
export = tunnel;
declare function tunnel(config?: tunnel.Config, cb?: (error: Error, server: Server) => void): Server;
declare namespace tunnel {
import ReadableStream = NodeJS.ReadableStream;
interface Config {
dstHost?: string | undefined;
dstPort?: number | undefined;
localHost?: string | undefined;
keepAlive?: boolean | undefined;
host?: string | undefined;
port?: number | undefined;
localAddress?: string | undefined;
localPort?: number | undefined;
forceIPv4?: boolean | undefined;
forceIPv6?: boolean | undefined;
hostHast?: string | undefined;
hostVerifier?: ((hashedKey: string, ...cb: Array<(doContinue: boolean) => void>) => boolean) | undefined;
username?: string | undefined;
password?: string | undefined;
agent?: string | undefined;
agentForward?: boolean | undefined;
privateKey?: Buffer | string | undefined;
passphrase?: string | undefined;
localHostname?: string | undefined;
localUsername?: string | undefined;
tryKeyboard?: boolean | undefined;
authHandler?: ((methodsLeft: null | string[], partialSuccess: null | boolean, cb: (nextMethod: string) => void) => string) | undefined;
keepaliveInterval?: number | undefined;
keepaliveCountMax?: number | undefined;
readyTimeout?: number | undefined;
sock?: ReadableStream | undefined;
strictVendor?: boolean | undefined;
algorithms?: {
key?: string[] | undefined;
cipher?: string[] | undefined;
serverHostKey?: string[] | undefined;
hmac?: string[] | undefined;
compress?: string[] | undefined;
} | undefined;
compress?: "force" | boolean | undefined;
debug?: ((info: string) => void) | undefined;
}
}
````
### Additional Details
* Last updated: Fri, 02 Jul 2021 19:37:21 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
* Global values: none
# Credits
These definitions were written by Maz Ahmadi <https://github.com/cmdshepard>.
These definitions were written by [ Maz Ahmadi](https://github.com/cmdshepard).

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc