Socket
Socket
Sign inDemoInstall

@types/node

Package Overview
Dependencies
Maintainers
1
Versions
1895
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/node - npm Package Compare versions

Comparing version 22.5.3 to 22.5.4

32

node/https.d.ts

@@ -13,5 +13,3 @@ /**

Request extends typeof http.IncomingMessage = typeof http.IncomingMessage,
Response extends typeof http.ServerResponse<InstanceType<Request>> = typeof http.ServerResponse<
InstanceType<Request>
>,
Response extends typeof http.ServerResponse = typeof http.ServerResponse,
> = tls.SecureContextOptions & tls.TlsOptions & http.ServerOptions<Request, Response>;

@@ -40,5 +38,3 @@ type RequestOptions =

Request extends typeof http.IncomingMessage = typeof http.IncomingMessage,
Response extends typeof http.ServerResponse<InstanceType<Request>> = typeof http.ServerResponse<
InstanceType<Request>
>,
Response extends typeof http.ServerResponse = typeof http.ServerResponse,
> extends http.Server<Request, Response> {}

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

Request extends typeof http.IncomingMessage = typeof http.IncomingMessage,
Response extends typeof http.ServerResponse<InstanceType<Request>> = typeof http.ServerResponse<
InstanceType<Request>
>,
Response extends typeof http.ServerResponse = typeof http.ServerResponse,
> extends tls.Server {

@@ -131,3 +125,5 @@ constructor(requestListener?: http.RequestListener<Request, Response>);

req: InstanceType<Request>,
res: InstanceType<Response>,
res: InstanceType<Response> & {
req: InstanceType<Request>;
},
): boolean;

@@ -137,3 +133,5 @@ emit(

req: InstanceType<Request>,
res: InstanceType<Response>,
res: InstanceType<Response> & {
req: InstanceType<Request>;
},
): boolean;

@@ -145,3 +143,5 @@ emit(event: "clientError", err: Error, socket: Duplex): boolean;

req: InstanceType<Request>,
res: InstanceType<Response>,
res: InstanceType<Response> & {
req: InstanceType<Request>;
},
): boolean;

@@ -321,11 +321,7 @@ emit(event: "upgrade", req: InstanceType<Request>, socket: Duplex, head: Buffer): boolean;

Request extends typeof http.IncomingMessage = typeof http.IncomingMessage,
Response extends typeof http.ServerResponse<InstanceType<Request>> = typeof http.ServerResponse<
InstanceType<Request>
>,
Response extends typeof http.ServerResponse = typeof http.ServerResponse,
>(requestListener?: http.RequestListener<Request, Response>): Server<Request, Response>;
function createServer<
Request extends typeof http.IncomingMessage = typeof http.IncomingMessage,
Response extends typeof http.ServerResponse<InstanceType<Request>> = typeof http.ServerResponse<
InstanceType<Request>
>,
Response extends typeof http.ServerResponse = typeof http.ServerResponse,
>(

@@ -332,0 +328,0 @@ options: ServerOptions<Request, Response>,

{
"name": "@types/node",
"version": "22.5.3",
"version": "22.5.4",
"description": "TypeScript definitions for node",

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

},
"typesPublisherContentHash": "b838738b923117466b69f5c6125cb6df5c4b74969e34cc7a05ba64931ea00574",
"typesPublisherContentHash": "6ee9a11eba834031423800320320aa873d6bf2b6f33603c13a2aa9d90b3803ee",
"typeScriptVersion": "4.8"
}

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

### Additional Details
* Last updated: Wed, 04 Sep 2024 00:28:08 GMT
* Last updated: Wed, 04 Sep 2024 21:35:57 GMT
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)

@@ -14,0 +14,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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