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

@types/node

Package Overview
Dependencies
Maintainers
1
Versions
1959
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.48 to 18.19.49

26

node v18.19/https.d.ts

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

},
"typesPublisherContentHash": "5ce9cffaeee72821d1d992438407df2493e219642e4b4d833ac5a9ef3b70161c",
"typesPublisherContentHash": "24d0a779b9e50f4a93468e6f68fe1dd999036f683818b114d727cd86ee1d0391",
"typeScriptVersion": "4.8"
}

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

### Additional Details
* Last updated: Sun, 01 Sep 2024 12:10:27 GMT
* Last updated: Wed, 04 Sep 2024 00:28:08 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