@types/node 18.17.3 → 18.17.5

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.17/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/v18.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Sat, 05 Aug 2023 10:32:51 GMT
11
+ * Last updated: Fri, 11 Aug 2023 19:32:49 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
14
14
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "18.17.3",
3
+ "version": "18.17.5",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -232,6 +232,6 @@
232
232
  },
233
233
  "scripts": {},
234
234
  "dependencies": {},
235
- "typesPublisherContentHash": "fd8131de2838678dcddea2bb1d0c4954c584e4e1ca0ff7f65d775ba27d866b82",
235
+ "typesPublisherContentHash": "134b61f8d9c523fe410807fef906f553b8dce3dcc27e06d9f30d16b2d15f0872",
236
236
  "typeScriptVersion": "4.3"
237
237
  }
@@ -30,7 +30,7 @@
30
30
  */
31
31
  declare module 'perf_hooks' {
32
32
  import { AsyncResource } from 'node:async_hooks';
33
- type EntryType = 'node' | 'mark' | 'measure' | 'gc' | 'function' | 'http2' | 'http';
33
+ type EntryType = 'node' | 'mark' | 'measure' | 'gc' | 'function' | 'http2' | 'http' | 'dns';
34
34
  interface NodeGCPerformanceDetail {
35
35
  /**
36
36
  * When `performanceEntry.entryType` is equal to 'gc', `the performance.kind` property identifies
node v18.17/test.d.ts CHANGED
@@ -756,6 +756,11 @@ interface TestFail {
756
756
  * The error thrown by the test.
757
757
  */
758
758
  error: Error;
759
+ /**
760
+ * The type of the test, used to denote whether this is a suite.
761
+ * @since 18.17.0
762
+ */
763
+ type?: 'suite';
759
764
  };
760
765
  /**
761
766
  * The test name.
@@ -791,6 +796,11 @@ interface TestPass {
791
796
  * The duration of the test in milliseconds.
792
797
  */
793
798
  duration_ms: number;
799
+ /**
800
+ * The type of the test, used to denote whether this is a suite.
801
+ * @since 18.17.0
802
+ */
803
+ type?: 'suite';
794
804
  };
795
805
  /**
796
806
  * The test name.
@@ -742,6 +742,11 @@ interface TestFail {
742
742
  * The error thrown by the test.
743
743
  */
744
744
  error: Error;
745
+ /**
746
+ * The type of the test, used to denote whether this is a suite.
747
+ * @since 18.17.0
748
+ */
749
+ type?: 'suite';
745
750
  };
746
751
  /**
747
752
  * The test name.
@@ -777,6 +782,11 @@ interface TestPass {
777
782
  * The duration of the test in milliseconds.
778
783
  */
779
784
  duration_ms: number;
785
+ /**
786
+ * The type of the test, used to denote whether this is a suite.
787
+ * @since 18.17.0
788
+ */
789
+ type?: 'suite';
780
790
  };
781
791
  /**
782
792
  * The test name.