You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@types/node

Package Overview
Dependencies
Maintainers
1
Versions
2315
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.15.22
to
22.15.23
+18
-2
node/module.d.ts

@@ -228,3 +228,3 @@ /**

*/
load?: LoadHook | undefined;
load?: LoadHookSync | undefined;
/**

@@ -234,3 +234,3 @@ * See [resolve hook](https://nodejs.org/docs/latest-v22.x/api/module.html#resolvespecifier-context-nextresolve).

*/
resolve?: ResolveHook | undefined;
resolve?: ResolveHookSync | undefined;
}

@@ -434,2 +434,10 @@ interface ModuleHooks {

) => ResolveFnOutput | Promise<ResolveFnOutput>;
type ResolveHookSync = (
specifier: string,
context: ResolveHookContext,
nextResolve: (
specifier: string,
context?: Partial<ResolveHookContext>,
) => ResolveFnOutput,
) => ResolveFnOutput;
interface LoadHookContext {

@@ -474,2 +482,10 @@ /**

) => LoadFnOutput | Promise<LoadFnOutput>;
type LoadHookSync = (
url: string,
context: LoadHookContext,
nextLoad: (
url: string,
context?: Partial<LoadHookContext>,
) => LoadFnOutput,
) => LoadFnOutput;
/**

@@ -476,0 +492,0 @@ * `path` is the resolved path for the file for which a corresponding source map

+2
-2
{
"name": "@types/node",
"version": "22.15.22",
"version": "22.15.23",
"description": "TypeScript definitions for node",

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

"peerDependencies": {},
"typesPublisherContentHash": "9dfe7a25be073d9a58330259517f55bb6e2172c83e0a85a82cbb2753c16d93f9",
"typesPublisherContentHash": "3844c0b84003a1c9382712245a57b4124212f8132db577606add964efd038ea4",
"typeScriptVersion": "5.1"
}

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

### Additional Details
* Last updated: Tue, 27 May 2025 17:34:27 GMT
* Last updated: Tue, 27 May 2025 18:40:40 GMT
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)

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