@types/node 15.14.1 → 15.14.5

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 v15.14/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (http://nodejs.org/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v15.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Sat, 03 Jul 2021 00:31:28 GMT
11
+ * Last updated: Sun, 01 Aug 2021 11:31:24 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
 
@@ -488,7 +488,7 @@ declare module 'child_process' {
488
488
  function spawnSync(command: string, args?: ReadonlyArray<string>, options?: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns<Buffer>;
489
489
  function spawnSync(command: string, args?: ReadonlyArray<string>, options?: SpawnSyncOptions): SpawnSyncReturns<Buffer>;
490
490
 
491
- interface CommonExecOptions extends ProcessEnvOptions {
491
+ interface CommonExecOptions extends CommonOptions {
492
492
  input?: string | NodeJS.ArrayBufferView;
493
493
  stdio?: StdioOptions;
494
494
  killSignal?: NodeJS.Signals | number;
node v15.14/http.d.ts CHANGED
@@ -198,7 +198,7 @@ declare module 'http' {
198
198
  // https://github.com/nodejs/node/blob/master/test/parallel/test-http-write-callbacks.js#L53
199
199
  // no args in writeContinue callback
200
200
  writeContinue(callback?: () => void): void;
201
- writeHead(statusCode: number, reasonPhrase?: string, headers?: OutgoingHttpHeaders | OutgoingHttpHeader[]): this;
201
+ writeHead(statusCode: number, statusMessage?: string, headers?: OutgoingHttpHeaders | OutgoingHttpHeader[]): this;
202
202
  writeHead(statusCode: number, headers?: OutgoingHttpHeaders | OutgoingHttpHeader[]): this;
203
203
  writeProcessing(): void;
204
204
  }
node v15.14/http2.d.ts CHANGED
@@ -666,6 +666,7 @@ declare module 'http2' {
666
666
  readonly connection: net.Socket | tls.TLSSocket;
667
667
  readonly finished: boolean;
668
668
  readonly headersSent: boolean;
669
+ readonly req: Http2ServerRequest;
669
670
  readonly socket: net.Socket | tls.TLSSocket;
670
671
  readonly stream: ServerHttp2Stream;
671
672
  sendDate: boolean;
node v15.14/net.d.ts CHANGED
@@ -115,6 +115,7 @@ declare module 'net' {
115
115
  addListener(event: "end", listener: () => void): this;
116
116
  addListener(event: "error", listener: (err: Error) => void): this;
117
117
  addListener(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this;
118
+ addListener(event: "ready", listener: () => void): this;
118
119
  addListener(event: "timeout", listener: () => void): this;
119
120
 
120
121
  emit(event: string | symbol, ...args: any[]): boolean;
@@ -125,6 +126,7 @@ declare module 'net' {
125
126
  emit(event: "end"): boolean;
126
127
  emit(event: "error", err: Error): boolean;
127
128
  emit(event: "lookup", err: Error, address: string, family: string | number, host: string): boolean;
129
+ emit(event: "ready"): boolean;
128
130
  emit(event: "timeout"): boolean;
129
131
 
130
132
  on(event: string, listener: (...args: any[]) => void): this;
@@ -135,6 +137,7 @@ declare module 'net' {
135
137
  on(event: "end", listener: () => void): this;
136
138
  on(event: "error", listener: (err: Error) => void): this;
137
139
  on(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this;
140
+ on(event: "ready", listener: () => void): this;
138
141
  on(event: "timeout", listener: () => void): this;
139
142
 
140
143
  once(event: string, listener: (...args: any[]) => void): this;
@@ -145,6 +148,7 @@ declare module 'net' {
145
148
  once(event: "end", listener: () => void): this;
146
149
  once(event: "error", listener: (err: Error) => void): this;
147
150
  once(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this;
151
+ once(event: "ready", listener: () => void): this;
148
152
  once(event: "timeout", listener: () => void): this;
149
153
 
150
154
  prependListener(event: string, listener: (...args: any[]) => void): this;
@@ -155,6 +159,7 @@ declare module 'net' {
155
159
  prependListener(event: "end", listener: () => void): this;
156
160
  prependListener(event: "error", listener: (err: Error) => void): this;
157
161
  prependListener(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this;
162
+ prependListener(event: "ready", listener: () => void): this;
158
163
  prependListener(event: "timeout", listener: () => void): this;
159
164
 
160
165
  prependOnceListener(event: string, listener: (...args: any[]) => void): this;
@@ -165,6 +170,7 @@ declare module 'net' {
165
170
  prependOnceListener(event: "end", listener: () => void): this;
166
171
  prependOnceListener(event: "error", listener: (err: Error) => void): this;
167
172
  prependOnceListener(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this;
173
+ prependOnceListener(event: "ready", listener: () => void): this;
168
174
  prependOnceListener(event: "timeout", listener: () => void): this;
169
175
  }
170
176
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "15.14.1",
3
+ "version": "15.14.5",
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": "36f4b12e20bfd803c3928a80a92d9f84669d669379b13fae76dd876731392a68",
230
+ "typesPublisherContentHash": "25b2ff6484e2b1cb4e1a5e1a4e6d115314147825544ad8dd494bd5bddf906ceb",
231
231
  "typeScriptVersion": "3.6"
232
232
  }