@types/node 20.5.6 → 20.5.7
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 +1 -1
- node/package.json +2 -2
- node/test.d.ts +1 -2
- node/ts4.8/test.d.ts +1 -2
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:
|
|
11
|
+
* Last updated: Mon, 28 Aug 2023 00:33:00 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.5.
|
|
3
|
+
"version": "20.5.7",
|
|
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": "
|
|
230
|
+
"typesPublisherContentHash": "3c31754d724881876a0bd7b216ddce3840ec052e1944538329b9271e525d425c",
|
|
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/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
|