@types/node 18.7.9 → 18.7.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 +1 -1
- node/crypto.d.ts +0 -3
- node/package.json +2 -2
- node/test.d.ts +14 -0
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, 22 Aug 2022 20:32:37 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
|
|
14
14
|
|
node/crypto.d.ts
CHANGED
|
@@ -556,9 +556,6 @@ declare module 'crypto' {
|
|
|
556
556
|
*/
|
|
557
557
|
namedCurve?: string | undefined;
|
|
558
558
|
}
|
|
559
|
-
interface JwkKeyExportOptions {
|
|
560
|
-
format: 'jwk';
|
|
561
|
-
}
|
|
562
559
|
/**
|
|
563
560
|
* Node.js uses a `KeyObject` class to represent a symmetric or asymmetric key,
|
|
564
561
|
* and each kind of key exposes different functions. The {@link createSecretKey}, {@link createPublicKey} and {@link createPrivateKey} methods are used to create `KeyObject`instances. `KeyObject`
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "18.7.
|
|
3
|
+
"version": "18.7.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",
|
|
@@ -220,6 +220,6 @@
|
|
|
220
220
|
},
|
|
221
221
|
"scripts": {},
|
|
222
222
|
"dependencies": {},
|
|
223
|
-
"typesPublisherContentHash": "
|
|
223
|
+
"typesPublisherContentHash": "2276f7706b7dc01b87e597a7f6d2139aef6178472539ee3b171167046b8c8182",
|
|
224
224
|
"typeScriptVersion": "4.0"
|
|
225
225
|
}
|
node/test.d.ts
CHANGED
|
@@ -157,6 +157,12 @@ declare module 'node:test' {
|
|
|
157
157
|
*/
|
|
158
158
|
only?: boolean;
|
|
159
159
|
|
|
160
|
+
/**
|
|
161
|
+
* Allows aborting an in-progress test.
|
|
162
|
+
* @since 8.7.0
|
|
163
|
+
*/
|
|
164
|
+
signal?: AbortSignal;
|
|
165
|
+
|
|
160
166
|
/**
|
|
161
167
|
* If truthy, the test is skipped. If a string is provided, that string is displayed in the
|
|
162
168
|
* test results as the reason for skipping the test.
|
|
@@ -164,6 +170,14 @@ declare module 'node:test' {
|
|
|
164
170
|
*/
|
|
165
171
|
skip?: boolean | string;
|
|
166
172
|
|
|
173
|
+
/**
|
|
174
|
+
* A number of milliseconds the test will fail after. If unspecified, subtests inherit this
|
|
175
|
+
* value from their parent.
|
|
176
|
+
* @default Infinity
|
|
177
|
+
* @since 8.7.0
|
|
178
|
+
*/
|
|
179
|
+
timeout?: number;
|
|
180
|
+
|
|
167
181
|
/**
|
|
168
182
|
* If truthy, the test marked as `TODO`. If a string is provided, that string is displayed in
|
|
169
183
|
* the test results as the reason why the test is `TODO`.
|