@types/node 14.18.52 → 14.18.54
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 v14.18/README.md +1 -1
- node v14.18/globals.d.ts +1 -1
- node v14.18/http2.d.ts +1 -1
- node v14.18/package.json +2 -2
- node v14.18/ts4.8/globals.d.ts +1 -1
- node v14.18/ts4.8/http2.d.ts +1 -1
node v14.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/v14.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Fri, 21 Jul 2023 22:02:49 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `Buffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
|
|
14
14
|
|
node v14.18/globals.d.ts
CHANGED
|
@@ -245,7 +245,7 @@ declare class Buffer extends Uint8Array {
|
|
|
245
245
|
* If parameter is omitted, buffer will be filled with zeros.
|
|
246
246
|
* @param encoding encoding used for call to buf.fill while initalizing
|
|
247
247
|
*/
|
|
248
|
-
static alloc(size: number, fill?: string |
|
|
248
|
+
static alloc(size: number, fill?: string | Uint8Array | number, encoding?: BufferEncoding): Buffer;
|
|
249
249
|
/**
|
|
250
250
|
* Allocates a new buffer of {size} octets, leaving memory not initialized, so the contents
|
|
251
251
|
* of the newly created Buffer are unknown and may contain sensitive data.
|
node v14.18/http2.d.ts
CHANGED
|
@@ -80,7 +80,7 @@ declare module 'http2' {
|
|
|
80
80
|
readonly sentHeaders: OutgoingHttpHeaders;
|
|
81
81
|
readonly sentInfoHeaders?: OutgoingHttpHeaders[] | undefined;
|
|
82
82
|
readonly sentTrailers?: OutgoingHttpHeaders | undefined;
|
|
83
|
-
readonly session: Http2Session;
|
|
83
|
+
readonly session: Http2Session | undefined;
|
|
84
84
|
readonly state: StreamState;
|
|
85
85
|
|
|
86
86
|
close(code?: number, callback?: () => void): void;
|
node v14.18/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "14.18.
|
|
3
|
+
"version": "14.18.54",
|
|
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": "a7507d7b54e9c5ec3472b27bbec4434a88a95a3cbc9ed57a4977cb9d8604e873",
|
|
231
231
|
"typeScriptVersion": "4.3"
|
|
232
232
|
}
|
node v14.18/ts4.8/globals.d.ts
CHANGED
|
@@ -243,7 +243,7 @@ declare class Buffer extends Uint8Array {
|
|
|
243
243
|
* If parameter is omitted, buffer will be filled with zeros.
|
|
244
244
|
* @param encoding encoding used for call to buf.fill while initalizing
|
|
245
245
|
*/
|
|
246
|
-
static alloc(size: number, fill?: string |
|
|
246
|
+
static alloc(size: number, fill?: string | Uint8Array | number, encoding?: BufferEncoding): Buffer;
|
|
247
247
|
/**
|
|
248
248
|
* Allocates a new buffer of {size} octets, leaving memory not initialized, so the contents
|
|
249
249
|
* of the newly created Buffer are unknown and may contain sensitive data.
|
node v14.18/ts4.8/http2.d.ts
CHANGED
|
@@ -80,7 +80,7 @@ declare module 'http2' {
|
|
|
80
80
|
readonly sentHeaders: OutgoingHttpHeaders;
|
|
81
81
|
readonly sentInfoHeaders?: OutgoingHttpHeaders[] | undefined;
|
|
82
82
|
readonly sentTrailers?: OutgoingHttpHeaders | undefined;
|
|
83
|
-
readonly session: Http2Session;
|
|
83
|
+
readonly session: Http2Session | undefined;
|
|
84
84
|
readonly state: StreamState;
|
|
85
85
|
|
|
86
86
|
close(code?: number, callback?: () => void): void;
|