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 16.18.107 to 16.18.108

26

node v16.18/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 {

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

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

@@ -127,3 +121,3 @@ emit(

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

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

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

@@ -311,11 +305,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,
>(

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

{
"name": "@types/node",
"version": "16.18.107",
"version": "16.18.108",
"description": "TypeScript definitions for node",

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

"dependencies": {},
"typesPublisherContentHash": "2e43ad1a49e4e03c340b7cddb756224a8aa3814562090f931c92dd3647a13e23",
"typesPublisherContentHash": "eefbc030a82672d0a58c0ef369e7bc503e92d6ff5124e24b8b49696e86460e6a",
"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: none

@@ -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