@types/node 16.18.17 → 16.18.19
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 v16.18/README.md +1 -1
- node v16.18/crypto.d.ts +3 -2
- node v16.18/dns.d.ts +1 -1
- node v16.18/package.json +2 -2
- node v16.18/ts4.8/dns.d.ts +1 -1
node v16.18/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/v16.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Thu, 23 Mar 2023 21:03:15 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
|
|
14
14
|
|
node v16.18/crypto.d.ts
CHANGED
|
@@ -3097,12 +3097,13 @@ declare module 'crypto' {
|
|
|
3097
3097
|
*/
|
|
3098
3098
|
disableEntropyCache?: boolean | undefined;
|
|
3099
3099
|
}
|
|
3100
|
+
type UUID = `${string}-${string}-${string}-${string}-${string}`;
|
|
3100
3101
|
/**
|
|
3101
3102
|
* Generates a random [RFC 4122](https://www.rfc-editor.org/rfc/rfc4122.txt) version 4 UUID. The UUID is generated using a
|
|
3102
3103
|
* cryptographic pseudorandom number generator.
|
|
3103
3104
|
* @since v15.6.0
|
|
3104
3105
|
*/
|
|
3105
|
-
function randomUUID(options?: RandomUUIDOptions):
|
|
3106
|
+
function randomUUID(options?: RandomUUIDOptions): UUID;
|
|
3106
3107
|
interface X509CheckOptions {
|
|
3107
3108
|
/**
|
|
3108
3109
|
* @default 'always'
|
|
@@ -3561,7 +3562,7 @@ declare module 'crypto' {
|
|
|
3561
3562
|
* The UUID is generated using a cryptographic pseudorandom number generator.
|
|
3562
3563
|
* @since v16.7.0
|
|
3563
3564
|
*/
|
|
3564
|
-
randomUUID():
|
|
3565
|
+
randomUUID(): UUID;
|
|
3565
3566
|
CryptoKey: CryptoKeyConstructor;
|
|
3566
3567
|
}
|
|
3567
3568
|
// This constructor throws ILLEGAL_CONSTRUCTOR so it should not be newable.
|
node v16.18/dns.d.ts
CHANGED
node v16.18/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "16.18.
|
|
3
|
+
"version": "16.18.19",
|
|
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": "c977f23c22c7f3764b67b4a55211c909afc8c0c4e7445973c0fc167eceb11c4c",
|
|
231
231
|
"typeScriptVersion": "4.3"
|
|
232
232
|
}
|
node v16.18/ts4.8/dns.d.ts
CHANGED