New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@types/node

Package Overview
Dependencies
Maintainers
1
Versions
2323
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
20.17.55
to
20.17.56
+2
-2
node v20.17/package.json
{
"name": "@types/node",
"version": "20.17.55",
"version": "20.17.56",
"description": "TypeScript definitions for node",

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

"peerDependencies": {},
"typesPublisherContentHash": "8377a6ccbf5fad0efaa72f70c7f393873f3c595e12fc670a3e6044febf2c3660",
"typesPublisherContentHash": "ddf7418b1f0caba5f31ee191d962a78ad585fe35743479485c976575872c2305",
"typeScriptVersion": "5.1"
}

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

### Additional Details
* Last updated: Fri, 30 May 2025 05:02:50 GMT
* Last updated: Fri, 30 May 2025 15:02:22 GMT
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)

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

@@ -59,2 +59,7 @@ /**

}
type DynamicModuleLoader<T> = (
specifier: string,
referrer: T,
importAttributes: ImportAttributes,
) => Module | Promise<Module>;
interface ScriptOptions extends BaseOptions {

@@ -73,3 +78,3 @@ /**

importModuleDynamically?:
| ((specifier: string, script: Script, importAttributes: ImportAttributes) => Module | Promise<Module>)
| DynamicModuleLoader<Script>
| typeof constants.USE_MAIN_CONTEXT_DEFAULT_LOADER

@@ -119,3 +124,11 @@ | undefined;

cachedData?: ScriptOptions["cachedData"] | undefined;
importModuleDynamically?: ScriptOptions["importModuleDynamically"];
/**
* Used to specify how the modules should be loaded during the evaluation of this script when `import()` is called. This option is
* part of the experimental modules API. We do not recommend using it in a production environment. For detailed information, see
* [Support of dynamic `import()` in compilation APIs](https://nodejs.org/docs/latest-v22.x/api/vm.html#support-of-dynamic-import-in-compilation-apis).
*/
importModuleDynamically?:
| DynamicModuleLoader<Script>
| typeof constants.USE_MAIN_CONTEXT_DEFAULT_LOADER
| undefined;
}

@@ -127,3 +140,11 @@ interface RunningCodeInNewContextOptions extends RunningScriptInNewContextOptions {

cachedData?: ScriptOptions["cachedData"] | undefined;
importModuleDynamically?: ScriptOptions["importModuleDynamically"];
/**
* Used to specify how the modules should be loaded during the evaluation of this script when `import()` is called. This option is
* part of the experimental modules API. We do not recommend using it in a production environment. For detailed information, see
* [Support of dynamic `import()` in compilation APIs](https://nodejs.org/docs/latest-v22.x/api/vm.html#support-of-dynamic-import-in-compilation-apis).
*/
importModuleDynamically?:
| DynamicModuleLoader<Script>
| typeof constants.USE_MAIN_CONTEXT_DEFAULT_LOADER
| undefined;
}

@@ -148,2 +169,11 @@ interface CompileFunctionOptions extends BaseOptions {

contextExtensions?: Object[] | undefined;
/**
* Used to specify how the modules should be loaded during the evaluation of this script when `import()` is called. This option is
* part of the experimental modules API. We do not recommend using it in a production environment. For detailed information, see
* [Support of dynamic `import()` in compilation APIs](https://nodejs.org/docs/latest-v22.x/api/vm.html#support-of-dynamic-import-in-compilation-apis).
*/
importModuleDynamically?:
| DynamicModuleLoader<ReturnType<typeof compileFunction>>
| typeof constants.USE_MAIN_CONTEXT_DEFAULT_LOADER
| undefined;
}

@@ -183,2 +213,11 @@ interface CreateContextOptions {

microtaskMode?: "afterEvaluate" | undefined;
/**
* Used to specify how the modules should be loaded during the evaluation of this script when `import()` is called. This option is
* part of the experimental modules API. We do not recommend using it in a production environment. For detailed information, see
* [Support of dynamic `import()` in compilation APIs](https://nodejs.org/docs/latest-v22.x/api/vm.html#support-of-dynamic-import-in-compilation-apis).
*/
importModuleDynamically?:
| DynamicModuleLoader<Context>
| typeof constants.USE_MAIN_CONTEXT_DEFAULT_LOADER
| undefined;
}

@@ -833,9 +872,8 @@ type MeasureMemoryMode = "summary" | "detailed";

initializeImportMeta?: ((meta: ImportMeta, module: SourceTextModule) => void) | undefined;
importModuleDynamically?:
| ((
specifier: string,
referrer: SourceTextModule,
importAttributes: ImportAttributes,
) => Module | Promise<Module>)
| undefined;
/**
* Used to specify how the modules should be loaded during the evaluation of this script when `import()` is called. This option is
* part of the experimental modules API. We do not recommend using it in a production environment. For detailed information, see
* [Support of dynamic `import()` in compilation APIs](https://nodejs.org/docs/latest-v22.x/api/vm.html#support-of-dynamic-import-in-compilation-apis).
*/
importModuleDynamically?: DynamicModuleLoader<SourceTextModule> | undefined;
}

@@ -842,0 +880,0 @@ /**