@types/node 20.5.6 → 20.5.8

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: Thu, 24 Aug 2023 22:03:16 GMT
11
+ * Last updated: Fri, 01 Sep 2023 20:33:24 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
14
14
 
node/inspector.d.ts CHANGED
@@ -5,7 +5,6 @@
5
5
  // Please see https://github.com/DefinitelyTyped/DefinitelyTyped/pull/19330
6
6
  // for more information.
7
7
 
8
- // tslint:disable:max-line-length
9
8
 
10
9
  /**
11
10
  * The `node:inspector` module provides an API for interacting with the V8
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "20.5.6",
3
+ "version": "20.5.8",
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": "388c88b629ed8230741d755cb5a27b192dcbfe96298b8de0939797b7aaaf2b78",
230
+ "typesPublisherContentHash": "052e69b2fc7bef54c95a0177aa5b5ca68a526de90fc86fa12048c32e143a1e5e",
231
231
  "typeScriptVersion": "4.3"
232
232
  }
node/test.d.ts CHANGED
@@ -256,7 +256,6 @@ declare module 'node:test' {
256
256
  type TestFn = (t: TestContext, done: (result?: any) => void) => void | Promise<void>;
257
257
  /**
258
258
  * The type of a function under Suite.
259
- * If the test uses callbacks, the callback function is passed as an argument
260
259
  */
261
260
  type SuiteFn = (s: SuiteContext) => void | Promise<void>;
262
261
  interface TestShard {
@@ -649,7 +648,7 @@ declare module 'node:test' {
649
648
  * The hook function. If the hook uses callbacks, the callback function is passed as the
650
649
  * second argument.
651
650
  */
652
- type HookFn = (done: (result?: any) => void) => any;
651
+ type HookFn = (s: SuiteContext, done: (result?: any) => void) => any;
653
652
  /**
654
653
  * Configuration options for hooks.
655
654
  * @since v18.8.0
node/ts4.8/inspector.d.ts CHANGED
@@ -5,7 +5,6 @@
5
5
  // Please see https://github.com/DefinitelyTyped/DefinitelyTyped/pull/19330
6
6
  // for more information.
7
7
 
8
- // tslint:disable:max-line-length
9
8
 
10
9
  /**
11
10
  * The `node:inspector` module provides an API for interacting with the V8
node/ts4.8/test.d.ts CHANGED
@@ -256,7 +256,6 @@ declare module 'node:test' {
256
256
  type TestFn = (t: TestContext, done: (result?: any) => void) => void | Promise<void>;
257
257
  /**
258
258
  * The type of a function under Suite.
259
- * If the test uses callbacks, the callback function is passed as an argument
260
259
  */
261
260
  type SuiteFn = (s: SuiteContext) => void | Promise<void>;
262
261
  interface TestShard {
@@ -649,7 +648,7 @@ declare module 'node:test' {
649
648
  * The hook function. If the hook uses callbacks, the callback function is passed as the
650
649
  * second argument.
651
650
  */
652
- type HookFn = (done: (result?: any) => void) => any;
651
+ type HookFn = (s: SuiteContext, done: (result?: any) => void) => any;
653
652
  /**
654
653
  * Configuration options for hooks.
655
654
  * @since v18.8.0