@types/node 20.4.8 → 20.4.10

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/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (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: Sat, 05 Aug 2023 10:32:49 GMT
11
+ * Last updated: Fri, 11 Aug 2023 19:32:47 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
14
14
 
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "20.4.8",
3
+ "version": "20.4.10",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -227,6 +227,6 @@
227
227
  },
228
228
  "scripts": {},
229
229
  "dependencies": {},
230
- "typesPublisherContentHash": "9acef897909a6e2f2e35b1241c4aee3acd41d6d87a7676afe8d21d5c84e063ad",
230
+ "typesPublisherContentHash": "ab8936d8ab7c8e19ee6116553fef5551d895d64cdaa027308b2a4f33e0c6c024",
231
231
  "typeScriptVersion": "4.3"
232
232
  }
node/perf_hooks.d.ts CHANGED
@@ -31,7 +31,7 @@
31
31
  */
32
32
  declare module 'perf_hooks' {
33
33
  import { AsyncResource } from 'node:async_hooks';
34
- type EntryType = 'node' | 'mark' | 'measure' | 'gc' | 'function' | 'http2' | 'http';
34
+ type EntryType = 'node' | 'mark' | 'measure' | 'gc' | 'function' | 'http2' | 'http' | 'dns';
35
35
  interface NodeGCPerformanceDetail {
36
36
  /**
37
37
  * When `performanceEntry.entryType` is equal to 'gc', `the performance.kind` property identifies
node/test.d.ts CHANGED
@@ -1241,6 +1241,11 @@ interface TestFail {
1241
1241
  * The error thrown by the test.
1242
1242
  */
1243
1243
  error: Error;
1244
+ /**
1245
+ * The type of the test, used to denote whether this is a suite.
1246
+ * @since 20.0.0, 19.9.0, 18.17.0
1247
+ */
1248
+ type?: 'suite';
1244
1249
  };
1245
1250
  /**
1246
1251
  * The test name.
@@ -1276,6 +1281,11 @@ interface TestPass {
1276
1281
  * The duration of the test in milliseconds.
1277
1282
  */
1278
1283
  duration_ms: number;
1284
+ /**
1285
+ * The type of the test, used to denote whether this is a suite.
1286
+ * @since 20.0.0, 19.9.0, 18.17.0
1287
+ */
1288
+ type?: 'suite';
1279
1289
  };
1280
1290
  /**
1281
1291
  * The test name.
node/ts4.8/test.d.ts CHANGED
@@ -1223,6 +1223,11 @@ interface TestFail {
1223
1223
  * The error thrown by the test.
1224
1224
  */
1225
1225
  error: Error;
1226
+ /**
1227
+ * The type of the test, used to denote whether this is a suite.
1228
+ * @since 20.0.0, 19.9.0, 18.17.0
1229
+ */
1230
+ type?: 'suite';
1226
1231
  };
1227
1232
  /**
1228
1233
  * The test name.
@@ -1258,6 +1263,11 @@ interface TestPass {
1258
1263
  * The duration of the test in milliseconds.
1259
1264
  */
1260
1265
  duration_ms: number;
1266
+ /**
1267
+ * The type of the test, used to denote whether this is a suite.
1268
+ * @since 20.0.0, 19.9.0, 18.17.0
1269
+ */
1270
+ type?: 'suite';
1261
1271
  };
1262
1272
  /**
1263
1273
  * The test name.