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 18.19.49 to 18.19.50

26

node v18.19/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,3 @@ constructor(requestListener?: http.RequestListener<Request, Response>);

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

@@ -137,3 +131,3 @@ emit(

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

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

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

@@ -321,11 +315,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 +322,0 @@ options: ServerOptions<Request, Response>,

{
"name": "@types/node",
"version": "18.19.49",
"version": "18.19.50",
"description": "TypeScript definitions for node",

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

},
"typesPublisherContentHash": "24d0a779b9e50f4a93468e6f68fe1dd999036f683818b114d727cd86ee1d0391",
"typesPublisherContentHash": "5ce9cffaeee72821d1d992438407df2493e219642e4b4d833ac5a9ef3b70161c",
"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