@types/node 12.20.21 → 12.20.22

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
@@ -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/v12.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 26 Aug 2021 01:01:31 GMT
11
+ * Last updated: Tue, 31 Aug 2021 17:01:29 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
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "12.20.21",
3
+ "version": "12.20.22",
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": "e3ce2c0b981ced70858e78c2e8bbb567c70ad22adbc518d9de3ec39d2bdea2f6",
204
204
  "typeScriptVersion": "3.7"
205
205
  }
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