@types/node 18.19.97 → 18.19.98
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 v18.19/README.md +1 -1
- node v18.19/package.json +2 -2
- node v18.19/vm.d.ts +8 -2
node v18.19/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/v18.
|
|
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 v18.19/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "18.19.
|
|
3
|
+
"version": "18.19.98",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -220,6 +220,6 @@
|
|
|
220
220
|
"undici-types": "~5.26.4"
|
|
221
221
|
},
|
|
222
222
|
"peerDependencies": {},
|
|
223
|
-
"typesPublisherContentHash": "
|
|
223
|
+
"typesPublisherContentHash": "029c23eb928a31851c24fd26aa9e01b0366185dbe35dc87c3f500e8d7cedf869",
|
|
224
224
|
"typeScriptVersion": "5.1"
|
|
225
225
|
}
|
node v18.19/vm.d.ts
CHANGED
|
@@ -68,7 +68,7 @@ declare module "vm" {
|
|
|
68
68
|
* If this option is not specified, calls to `import()` will reject with `ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING`.
|
|
69
69
|
*/
|
|
70
70
|
importModuleDynamically?:
|
|
71
|
-
| ((specifier: string, script: Script, importAttributes: ImportAttributes) => Module)
|
|
71
|
+
| ((specifier: string, script: Script, importAttributes: ImportAttributes) => Module | Promise<Module>)
|
|
72
72
|
| undefined;
|
|
73
73
|
}
|
|
74
74
|
interface RunningScriptOptions extends BaseOptions {
|
|
@@ -620,7 +620,13 @@ declare module "vm" {
|
|
|
620
620
|
* Called during evaluation of this module to initialize the `import.meta`.
|
|
621
621
|
*/
|
|
622
622
|
initializeImportMeta?: ((meta: ImportMeta, module: SourceTextModule) => void) | undefined;
|
|
623
|
-
importModuleDynamically?:
|
|
623
|
+
importModuleDynamically?:
|
|
624
|
+
| ((
|
|
625
|
+
specifier: string,
|
|
626
|
+
referrer: SourceTextModule,
|
|
627
|
+
importAttributes: ImportAttributes,
|
|
628
|
+
) => Module | Promise<Module>)
|
|
629
|
+
| undefined;
|
|
624
630
|
}
|
|
625
631
|
class SourceTextModule extends Module {
|
|
626
632
|
/**
|