@types/node 20.17.43 → 20.17.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- node v20.17/README.md +1 -1
- node v20.17/package.json +2 -2
- node v20.17/vm.d.ts +8 -2
node v20.17/README.md
CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for node (https://nodejs.org/).
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v20.
|
9
9
|
|
10
10
|
### Additional Details
|
11
|
-
* Last updated:
|
11
|
+
* Last updated: Wed, 07 May 2025 15:38:50 GMT
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
13
13
|
|
14
14
|
# Credits
|
node v20.17/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/node",
|
3
|
-
"version": "20.17.
|
3
|
+
"version": "20.17.44",
|
4
4
|
"description": "TypeScript definitions for node",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
6
6
|
"license": "MIT",
|
@@ -215,6 +215,6 @@
|
|
215
215
|
"undici-types": "~6.19.2"
|
216
216
|
},
|
217
217
|
"peerDependencies": {},
|
218
|
-
"typesPublisherContentHash": "
|
218
|
+
"typesPublisherContentHash": "900a8c271fd24b350144089d8e9cf45e24621097252d1f952b88dd2aef4c17aa",
|
219
219
|
"typeScriptVersion": "5.1"
|
220
220
|
}
|
node v20.17/vm.d.ts
CHANGED
@@ -69,7 +69,7 @@ declare module "vm" {
|
|
69
69
|
* [Support of dynamic `import()` in compilation APIs](https://nodejs.org/docs/latest-v20.x/api/vm.html#support-of-dynamic-import-in-compilation-apis).
|
70
70
|
*/
|
71
71
|
importModuleDynamically?:
|
72
|
-
| ((specifier: string, script: Script, importAttributes: ImportAttributes) => Module)
|
72
|
+
| ((specifier: string, script: Script, importAttributes: ImportAttributes) => Module | Promise<Module>)
|
73
73
|
| typeof constants.USE_MAIN_CONTEXT_DEFAULT_LOADER
|
74
74
|
| undefined;
|
75
75
|
}
|
@@ -815,7 +815,13 @@ declare module "vm" {
|
|
815
815
|
* Called during evaluation of this module to initialize the `import.meta`.
|
816
816
|
*/
|
817
817
|
initializeImportMeta?: ((meta: ImportMeta, module: SourceTextModule) => void) | undefined;
|
818
|
-
importModuleDynamically?:
|
818
|
+
importModuleDynamically?:
|
819
|
+
| ((
|
820
|
+
specifier: string,
|
821
|
+
referrer: SourceTextModule,
|
822
|
+
importAttributes: ImportAttributes,
|
823
|
+
) => Module | Promise<Module>)
|
824
|
+
| undefined;
|
819
825
|
}
|
820
826
|
/**
|
821
827
|
* This feature is only available with the `--experimental-vm-modules` command
|