@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 +1 -1
- node v20.17/module.d.ts +1 -1
- node v20.17/package.json +2 -2
- node v20.17/perf_hooks.d.ts +2 -2
- node v20.17/worker_threads.d.ts +1 -1
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: 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:
|
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
|
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.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": "
|
218
|
+
"typesPublisherContentHash": "a43e3109c08d691a7dcf7ac27c3b5b6351fdc5e35b4b2527f8445c997a154aef",
|
219
219
|
"typeScriptVersion": "5.1"
|
220
220
|
}
|
node v20.17/perf_hooks.d.ts
CHANGED
@@ -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
|
-
|
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
|
-
|
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
|
node v20.17/worker_threads.d.ts
CHANGED
@@ -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
|
652
|
+
function setEnvironmentData(key: Serializable, value?: Serializable): void;
|
653
653
|
|
654
654
|
import {
|
655
655
|
BroadcastChannel as _BroadcastChannel,
|