New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/stompjs

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/stompjs - npm Package Compare versions

Comparing version 2.3.5 to 2.3.6

28

stompjs/index.d.ts

@@ -10,6 +10,6 @@ // Type definitions for stompjs 2.3

export const VERSIONS: {
V1_0: string,
V1_1: string,
V1_2: string,
supportedVersions: () => string[]
V1_0: string;
V1_1: string;
V1_2: string;
supportedVersions: () => string[];
};

@@ -21,4 +21,4 @@

heartbeat: {
incoming: number,
outgoing: number
incoming: number;
outgoing: number;
};

@@ -31,5 +31,15 @@ maxWebSocketFrameSize: number;

connect(headers: { login: string, passcode: string, host?: string | undefined }, connectCallback: (frame?: Frame) => any, errorCallback?: (error: Frame | string) => any): any;
connect(headers: { }, connectCallback: (frame?: Frame) => any, errorCallback?: (error: Frame | string) => any): any;
connect(login: string, passcode: string, connectCallback: (frame?: Frame) => any, errorCallback?: (error: Frame | string) => any, host?: string): any;
connect(
headers: { login: string; passcode: string; host?: string | undefined },
connectCallback: (frame?: Frame) => any,
errorCallback?: (error: Frame | string) => any,
): any;
connect(headers: {}, connectCallback: (frame?: Frame) => any, errorCallback?: (error: Frame | string) => any): any;
connect(
login: string,
passcode: string,
connectCallback: (frame?: Frame) => any,
errorCallback?: (error: Frame | string) => any,
host?: string,
): any;
disconnect(disconnectCallback: () => any, headers?: {}): any;

@@ -36,0 +46,0 @@

{
"name": "@types/stompjs",
"version": "2.3.5",
"version": "2.3.6",
"description": "TypeScript definitions for stompjs",

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

},
"typesPublisherContentHash": "43d22795abfd90fc882a70ad2b7ba23366178303aa605c74150a045aea5a565b",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "257c36ff9937a1592d22a04c4a587bf0edac7fb2279df2b97924faffa2206509",
"typeScriptVersion": "4.5"
}

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

### Additional Details
* Last updated: Fri, 02 Jul 2021 22:32:57 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