@types/node 12.20.21 → 12.20.25

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 v12.20/README.md CHANGED
@@ -2,13 +2,13 @@
2
2
  > `npm install --save @types/node`
3
3
 
4
4
  # Summary
5
- This package contains type definitions for Node.js (http://nodejs.org/).
5
+ This package contains type definitions for Node.js (https://nodejs.org/).
6
6
 
7
7
  # Details
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v12.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 26 Aug 2021 01:01:31 GMT
11
+ * Last updated: Tue, 14 Sep 2021 21:01:33 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Buffer`, `NodeJS`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
14
14
 
@@ -629,7 +629,6 @@ declare namespace NodeJS {
629
629
  code?: string | undefined;
630
630
  path?: string | undefined;
631
631
  syscall?: string | undefined;
632
- stack?: string | undefined;
633
632
  }
634
633
 
635
634
  class EventEmitter {
node v12.20/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  // Type definitions for non-npm package Node.js 12.20
2
- // Project: http://nodejs.org/
2
+ // Project: https://nodejs.org/
3
3
  // Definitions by: Microsoft TypeScript <https://github.com/Microsoft>
4
4
  // DefinitelyTyped <https://github.com/DefinitelyTyped>
5
5
  // Alberto Schiabel <https://github.com/jkomyno>
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "12.20.21",
3
+ "version": "12.20.25",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -200,6 +200,6 @@
200
200
  },
201
201
  "scripts": {},
202
202
  "dependencies": {},
203
- "typesPublisherContentHash": "74fc1d2f9e8a754147339a44e5e614913a0a70a9ccf498c0b73b5d311310f8d0",
203
+ "typesPublisherContentHash": "420290b8095a82d9f6bfd5c199f4093624f6188cbee242ea5fb4d500109c18e6",
204
204
  "typeScriptVersion": "3.7"
205
205
  }
node v12.20/stream.d.ts CHANGED
@@ -230,6 +230,7 @@ declare module 'stream' {
230
230
  readonly writableHighWaterMark: number;
231
231
  readonly writableLength: number;
232
232
  readonly writableObjectMode: boolean;
233
+ allowHalfOpen: boolean;
233
234
  constructor(opts?: DuplexOptions);
234
235
  _write(chunk: any, encoding: string, callback: (error?: Error | null) => void): void;
235
236
  _writev?(chunks: Array<{ chunk: any, encoding: string }>, callback: (error?: Error | null) => void): void;
node v12.20/tls.d.ts CHANGED
@@ -145,9 +145,10 @@ declare module 'tls' {
145
145
 
146
146
  /**
147
147
  * String containing the selected ALPN protocol.
148
- * When ALPN has no selected protocol, tlsSocket.alpnProtocol equals false.
148
+ * Before a handshake has completed, this value is always null.
149
+ * When a handshake is completed but not ALPN protocol was selected, tlsSocket.alpnProtocol equals false.
149
150
  */
150
- alpnProtocol?: string | undefined;
151
+ alpnProtocol: string | false | null;
151
152
 
152
153
  /**
153
154
  * Returns an object representing the local certificate. The returned