@types/node 16.7.8 → 16.7.9

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.
Files changed (3) hide show
  1. node/README.md +1 -1
  2. node/package.json +2 -2
  3. node/tls.d.ts +3 -2
node/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.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 30 Aug 2021 19:31:20 GMT
11
+ * Last updated: Tue, 31 Aug 2021 17:01:26 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
14
14
 
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "16.7.8",
3
+ "version": "16.7.9",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -225,6 +225,6 @@
225
225
  },
226
226
  "scripts": {},
227
227
  "dependencies": {},
228
- "typesPublisherContentHash": "39f9c49f6a970a57080fc8c4d55e25baf9da3bff3415a32ea548454d6f5b85a3",
228
+ "typesPublisherContentHash": "99d4d16c1290c51297a1ce826becf8f1271f8ddbeb981ab3241ed7c24796fb2f",
229
229
  "typeScriptVersion": "3.7"
230
230
  }
node/tls.d.ts CHANGED
@@ -160,9 +160,10 @@ declare module 'tls' {
160
160
  encrypted: boolean;
161
161
  /**
162
162
  * String containing the selected ALPN protocol.
163
- * When ALPN has no selected protocol, tlsSocket.alpnProtocol equals false.
163
+ * Before a handshake has completed, this value is always null.
164
+ * When a handshake is completed but not ALPN protocol was selected, tlsSocket.alpnProtocol equals false.
164
165
  */
165
- alpnProtocol?: string | undefined;
166
+ alpnProtocol: string | false | null;
166
167
  /**
167
168
  * Returns an object representing the local certificate. The returned object has
168
169
  * some properties corresponding to the fields of the certificate.