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.5 to 0.1.6

18

ssh2-streams/index.d.ts

@@ -1689,19 +1689,13 @@ // Type definitions for ssh2-streams v0.1.9

export namespace utils {
export function parseKey(keyData: string | Buffer): ParsedKey | Error;
export function genPublicKey(privKeyInfo: ParsedKey): ParsedKey;
export function decryptKey(privKeyInfo: ParsedKey, passphrase: string): void;
export function parseKey(keyData: string | Buffer, passphrase?: string): ParsedKey | {}[];
}
export interface ParsedKey {
fulltype: string;
type: string;
extra: string;
comment: string;
encryption: string;
private: Buffer;
privateOrig: Buffer;
public: Buffer;
publicOrig: Buffer;
ppk?: boolean;
privateMAC?: string;
getPrivatePEM(): string;
getPublicPEM(): string;
getPublicSSH(): string;
sign(data: string | Buffer): Buffer | Error;
verify(data: string | Buffer, signature: Buffer): boolean | Error;
}

@@ -1708,0 +1702,0 @@

{
"name": "@types/ssh2-streams",
"version": "0.1.5",
"version": "0.1.6",
"description": "TypeScript definitions for ssh2-streams",

@@ -17,3 +17,4 @@ "license": "MIT",

"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/ssh2-streams"
},

@@ -24,4 +25,4 @@ "scripts": {},

},
"typesPublisherContentHash": "9d7d507c2bedadeb076cd659243d982c2e434b14d313edb9a00888352f30c621",
"typesPublisherContentHash": "e69f555e4cd61f8f5e1ad69c181485b84be7d95df735e2a46ea18e97f754c590",
"typeScriptVersion": "2.0"
}

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

Additional Details
* Last updated: Mon, 28 Jan 2019 16:52:30 GMT
* Last updated: Tue, 05 Mar 2019 15:28:29 GMT
* Dependencies: @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