@types/node 17.0.0 → 17.0.4

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/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: Wed, 15 Dec 2021 21:31:06 GMT
11
+ * Last updated: Thu, 23 Dec 2021 09:01:22 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
14
14
 
node/http.d.ts CHANGED
@@ -778,7 +778,7 @@ declare module 'http' {
778
778
  * The `message.aborted` property will be `true` if the request has
779
779
  * been aborted.
780
780
  * @since v10.1.0
781
- * @deprecated Since v17.0.0 - Check `message.destroyed` from <a href="stream.html#class-streamreadable" class="type">stream.Readable</a>.
781
+ * @deprecated Since v17.0.0 - Check `message.destroyed` from [stream.Readable](https://nodejs.org/dist/latest-v17.x/docs/api/stream.html#class-streamreadable).
782
782
  */
783
783
  aborted: boolean;
784
784
  /**
node/http2.d.ts CHANGED
@@ -1349,7 +1349,7 @@ declare module 'http2' {
1349
1349
  * ```
1350
1350
  * @since v8.4.0
1351
1351
  */
1352
- readonly url: string;
1352
+ url: string;
1353
1353
  /**
1354
1354
  * Sets the `Http2Stream`'s timeout value to `msecs`. If a callback is
1355
1355
  * provided, then it is added as a listener on the `'timeout'` event on
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "17.0.0",
3
+ "version": "17.0.4",
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": "6a6a3a40242455c8b732c50c33bcbbd96f68ccf65d366fbd96a6773223877826",
228
+ "typesPublisherContentHash": "edb60173a3572a40d307973e0afbb4d28d38beead582cb803c690ecf3d9a9ab3",
229
229
  "typeScriptVersion": "3.8"
230
230
  }
node/path.d.ts CHANGED
@@ -170,3 +170,11 @@ declare module 'node:path' {
170
170
  import path = require('path');
171
171
  export = path;
172
172
  }
173
+ declare module 'node:path/posix' {
174
+ import path = require('path/posix');
175
+ export = path;
176
+ }
177
+ declare module 'node:path/win32' {
178
+ import path = require('path/win32');
179
+ export = path;
180
+ }
node/perf_hooks.d.ts CHANGED
@@ -397,9 +397,11 @@ declare module 'perf_hooks' {
397
397
  options:
398
398
  | {
399
399
  entryTypes: ReadonlyArray<EntryType>;
400
+ buffered?: boolean | undefined;
400
401
  }
401
402
  | {
402
403
  type: EntryType;
404
+ buffered?: boolean | undefined;
403
405
  }
404
406
  ): void;
405
407
  }