@types/node 22.15.14 → 22.15.15

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.
Files changed (3) hide show
  1. node/README.md +1 -1
  2. node/package.json +2 -2
  3. node/vm.d.ts +7 -1
node/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.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 06 May 2025 18:02:39 GMT
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "22.15.14",
3
+ "version": "22.15.15",
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": "~6.21.0"
221
221
  },
222
222
  "peerDependencies": {},
223
- "typesPublisherContentHash": "ffc2a6547f97ecddd3c3a0571777c7a02a04de14e127c1a7e02d89c998e27371",
223
+ "typesPublisherContentHash": "b146701cf123607334c953e05ff2160554ad05758ef53d79cbed2506e7c4b1fa",
224
224
  "typeScriptVersion": "5.1"
225
225
  }
node/vm.d.ts CHANGED
@@ -856,7 +856,13 @@ declare module "vm" {
856
856
  * Called during evaluation of this module to initialize the `import.meta`.
857
857
  */
858
858
  initializeImportMeta?: ((meta: ImportMeta, module: SourceTextModule) => void) | undefined;
859
- importModuleDynamically?: ScriptOptions["importModuleDynamically"] | undefined;
859
+ importModuleDynamically?:
860
+ | ((
861
+ specifier: string,
862
+ referrer: SourceTextModule,
863
+ importAttributes: ImportAttributes,
864
+ ) => Module | Promise<Module>)
865
+ | undefined;
860
866
  }
861
867
  /**
862
868
  * This feature is only available with the `--experimental-vm-modules` command