@types/node 16.11.1 → 16.11.2

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/net.d.ts +2 -2
  3. node/package.json +2 -2
node/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.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Sun, 17 Oct 2021 04:01:18 GMT
11
+ * Last updated: Thu, 21 Oct 2021 11:01:21 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
14
14
 
node/net.d.ts CHANGED
@@ -255,12 +255,12 @@ declare module 'net' {
255
255
  * connects on `'192.168.1.1'`, the value of `socket.localAddress` would be`'192.168.1.1'`.
256
256
  * @since v0.9.6
257
257
  */
258
- readonly localAddress: string;
258
+ readonly localAddress?: string;
259
259
  /**
260
260
  * The numeric representation of the local port. For example, `80` or `21`.
261
261
  * @since v0.9.6
262
262
  */
263
- readonly localPort: number;
263
+ readonly localPort?: number;
264
264
  /**
265
265
  * The string representation of the remote IP address. For example,`'74.125.127.100'` or `'2001:4860:a005::68'`. Value may be `undefined` if
266
266
  * the socket is destroyed (for example, if the client disconnected).
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "16.11.1",
3
+ "version": "16.11.2",
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": "ff17ac1347ef82ac3f00b3e6266533bf928948b2bdb61a2c5dfe7751c2b729f9",
228
+ "typesPublisherContentHash": "c5efc44a208806af5f092170cc1fecd2c65728472e73dd2fe3660b9c23bf1799",
229
229
  "typeScriptVersion": "3.7"
230
230
  }