Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/websocket

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/websocket - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

60

websocket/index.d.ts

@@ -29,3 +29,3 @@ // Type definitions for websocket 1.0

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

@@ -36,3 +36,3 @@ /**

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

@@ -44,3 +44,3 @@ /**

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

@@ -51,3 +51,3 @@ /**

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

@@ -62,3 +62,3 @@ /**

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

@@ -70,3 +70,3 @@ /**

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

@@ -79,3 +79,3 @@ /**

*/
disableNagleAlgorithm?: boolean;
disableNagleAlgorithm?: boolean | undefined;
}

@@ -92,3 +92,3 @@

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

@@ -99,3 +99,3 @@ /**

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

@@ -108,3 +108,3 @@ /**

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

@@ -115,3 +115,3 @@ /**

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

@@ -124,3 +124,3 @@ /**

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

@@ -134,3 +134,3 @@ /**

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

@@ -147,3 +147,3 @@ /**

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

@@ -156,3 +156,3 @@ /**

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

@@ -169,7 +169,7 @@ /**

*/
ignoreXForwardedFor?: boolean;
ignoreXForwardedFor?: boolean | undefined;
}
export class server extends events.EventEmitter {
config?: IServerConfig;
config?: IServerConfig | undefined;
connections: connection[];

@@ -218,8 +218,8 @@ pendingRequests: request[];

value: string;
path?: string;
domain?: string;
expires?: Date;
maxage?: number;
secure?: boolean;
httponly?: boolean;
path?: string | undefined;
domain?: string | undefined;
expires?: Date | undefined;
maxage?: number | undefined;
secure?: boolean | undefined;
httponly?: boolean | undefined;
}

@@ -320,4 +320,4 @@

type: string;
utf8Data?: string;
binaryData?: Buffer;
utf8Data?: string | undefined;
binaryData?: Buffer | undefined;
}

@@ -617,3 +617,3 @@

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

@@ -624,3 +624,3 @@ /**

*/
tlsOptions?: https.RequestOptions;
tlsOptions?: https.RequestOptions | undefined;
}

@@ -776,7 +776,7 @@

_readyState: number;
_protocol?: string;
_protocol?: string | undefined;
_extensions: IExtension[];
_bufferedAmount: number;
_binaryType: 'arraybuffer';
_connection?: connection;
_connection?: connection | undefined;
_client: client;

@@ -786,3 +786,3 @@

readyState: number;
protocol?: string;
protocol?: string | undefined;
extensions: IExtension[];

@@ -789,0 +789,0 @@ bufferedAmount: number;

{
"name": "@types/websocket",
"version": "1.0.2",
"version": "1.0.3",
"description": "TypeScript definitions for websocket",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/websocket",
"license": "MIT",

@@ -44,4 +45,4 @@ "contributors": [

},
"typesPublisherContentHash": "f77e59a1b8df91d979276a7ea30ed3ab0dfff6dc65e4801f43fced28b785737e",
"typeScriptVersion": "3.5"
"typesPublisherContentHash": "3dc14ce50d8295e8c501297f08102e2cc0fcfca201e11a8344f8b2dd2b04a796",
"typeScriptVersion": "3.6"
}

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

### Additional Details
* Last updated: Sun, 07 Mar 2021 14:02:13 GMT
* Last updated: Fri, 02 Jul 2021 18:05:34 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