@types/node 18.16.13 → 18.16.15

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.16/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: Thu, 18 May 2023 13:32:53 GMT
11
+ * Last updated: Thu, 25 May 2023 20:34:28 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
14
14
 
node v18.16/assert.d.ts CHANGED
@@ -82,7 +82,7 @@ declare module 'assert' {
82
82
  * ```
83
83
  *
84
84
  * @since v18.8.0, v16.18.0
85
- * @params fn
85
+ * @param fn
86
86
  * @returns An Array with the calls to a tracked function.
87
87
  */
88
88
  getCalls(fn: Function): CallTrackerCall[];
node v18.16/buffer.d.ts CHANGED
@@ -202,6 +202,9 @@ declare module 'buffer' {
202
202
  // the copy below in a Node environment.
203
203
  type __Blob = typeof globalThis extends { onmessage: any; Blob: infer T } ? T : NodeBlob;
204
204
  global {
205
+ namespace NodeJS {
206
+ export { BufferEncoding };
207
+ }
205
208
  // Buffer class
206
209
  type BufferEncoding =
207
210
  | 'ascii'
node v18.16/crypto.d.ts CHANGED
@@ -1293,7 +1293,7 @@ declare module 'crypto' {
1293
1293
  type DSAEncoding = 'der' | 'ieee-p1363';
1294
1294
  interface SigningOptions {
1295
1295
  /**
1296
- * @See crypto.constants.RSA_PKCS1_PADDING
1296
+ * @see crypto.constants.RSA_PKCS1_PADDING
1297
1297
  */
1298
1298
  padding?: number | undefined;
1299
1299
  saltLength?: number | undefined;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "18.16.13",
3
+ "version": "18.16.15",
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": "8595b21cc6f908c566e0da0164012a96ed2937cdb4a2f5d395e0874a03ec819d",
235
+ "typesPublisherContentHash": "a20ed2398880e4e7e024254f1b95f0eaddfef77e66eea9a67db62766d4ebe4e9",
236
236
  "typeScriptVersion": "4.3"
237
237
  }
@@ -82,7 +82,7 @@ declare module 'assert' {
82
82
  * ```
83
83
  *
84
84
  * @since v18.8.0, v16.18.0
85
- * @params fn
85
+ * @param fn
86
86
  * @returns An Array with the calls to a tracked function.
87
87
  */
88
88
  getCalls(fn: Function): CallTrackerCall[];
@@ -202,6 +202,9 @@ declare module 'buffer' {
202
202
  // the copy below in a Node environment.
203
203
  type __Blob = typeof globalThis extends { onmessage: any; Blob: infer T } ? T : NodeBlob;
204
204
  global {
205
+ namespace NodeJS {
206
+ export { BufferEncoding };
207
+ }
205
208
  // Buffer class
206
209
  type BufferEncoding =
207
210
  | 'ascii'
@@ -1293,7 +1293,7 @@ declare module 'crypto' {
1293
1293
  type DSAEncoding = 'der' | 'ieee-p1363';
1294
1294
  interface SigningOptions {
1295
1295
  /**
1296
- * @See crypto.constants.RSA_PKCS1_PADDING
1296
+ * @see crypto.constants.RSA_PKCS1_PADDING
1297
1297
  */
1298
1298
  padding?: number | undefined;
1299
1299
  saltLength?: number | undefined;