@types/node 20.17.52 → 20.17.54

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 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: Wed, 28 May 2025 17:35:19 GMT
11
+ * Last updated: Thu, 29 May 2025 23:02:21 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
node v20.17/module.d.ts CHANGED
@@ -200,7 +200,7 @@ declare module "module" {
200
200
  importAttributes: ImportAttributes;
201
201
  }
202
202
  interface LoadFnOutput {
203
- format: ModuleFormat;
203
+ format: string | null | undefined;
204
204
  /**
205
205
  * A signal that this hook intends to terminate the chain of `resolve` hooks.
206
206
  * @default false
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "20.17.52",
3
+ "version": "20.17.54",
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": "c2b09b4f2dc590a2a4330f1b75b6a4c2718e0683b50c11f2503f518f0723a9ee",
218
+ "typesPublisherContentHash": "a43e3109c08d691a7dcf7ac27c3b5b6351fdc5e35b4b2527f8445c997a154aef",
219
219
  "typeScriptVersion": "5.1"
220
220
  }
@@ -830,12 +830,12 @@ declare module "perf_hooks" {
830
830
  * The minimum recordable value. Must be an integer value greater than 0.
831
831
  * @default 1
832
832
  */
833
- min?: number | bigint | undefined;
833
+ lowest?: number | bigint | undefined;
834
834
  /**
835
835
  * The maximum recordable value. Must be an integer value greater than min.
836
836
  * @default Number.MAX_SAFE_INTEGER
837
837
  */
838
- max?: number | bigint | undefined;
838
+ highest?: number | bigint | undefined;
839
839
  /**
840
840
  * The number of accuracy digits. Must be a number between 1 and 5.
841
841
  * @default 3
@@ -649,7 +649,7 @@ declare module "worker_threads" {
649
649
  * @param value Any arbitrary, cloneable JavaScript value that will be cloned and passed automatically to all new `Worker` instances. If `value` is passed as `undefined`, any previously set value
650
650
  * for the `key` will be deleted.
651
651
  */
652
- function setEnvironmentData(key: Serializable, value: Serializable): void;
652
+ function setEnvironmentData(key: Serializable, value?: Serializable): void;
653
653
 
654
654
  import {
655
655
  BroadcastChannel as _BroadcastChannel,