@types/node 16.11.38 → 16.11.41

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 v16.11/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/v16.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 31 May 2022 20:31:34 GMT
11
+ * Last updated: Wed, 15 Jun 2022 15:01:36 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
14
14
 
node v16.11/domain.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * **This module is pending deprecation.** Once a replacement API has been
3
- * finalized, this module will be fully deprecated. Most developers should**not** have cause to use this module. Users who absolutely must have
3
+ * finalized, this module will be fully deprecated. Most developers should
4
+ * **not** have cause to use this module. Users who absolutely must have
4
5
  * the functionality that domains provide may rely on it for the time being
5
6
  * but should expect to have to migrate to a different solution
6
7
  * in the future.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "16.11.38",
3
+ "version": "16.11.41",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -220,6 +220,6 @@
220
220
  },
221
221
  "scripts": {},
222
222
  "dependencies": {},
223
- "typesPublisherContentHash": "673df50b346518019faa5142a6fe475ef1555b73885c3847da738e1ae6d942ab",
224
- "typeScriptVersion": "3.9"
223
+ "typesPublisherContentHash": "95828e23ba64894eb36f82e28fc498cf4660bb259599c4cc83bd04c6f0ad195a",
224
+ "typeScriptVersion": "4.0"
225
225
  }
node v16.11/tls.d.ts CHANGED
@@ -157,7 +157,7 @@ declare module 'tls' {
157
157
  * Always returns `true`. This may be used to distinguish TLS sockets from regular`net.Socket` instances.
158
158
  * @since v0.11.4
159
159
  */
160
- encrypted: boolean;
160
+ encrypted: true;
161
161
  /**
162
162
  * String containing the selected ALPN protocol.
163
163
  * Before a handshake has completed, this value is always null.
node v16.11/url.d.ts CHANGED
@@ -59,8 +59,12 @@ declare module 'url' {
59
59
  * lenient, non-standard algorithm for parsing URL strings, security
60
60
  * issues can be introduced. Specifically, issues with [host name spoofing](https://hackerone.com/reports/678487) and
61
61
  * incorrect handling of usernames and passwords have been identified.
62
+ *
63
+ * Deprecation of this API has been shelved for now primarily due to the the
64
+ * inability of the [WHATWG API to parse relative URLs](https://github.com/nodejs/node/issues/12682#issuecomment-1154492373).
65
+ * [Discussions are ongoing](https://github.com/whatwg/url/issues/531) for the best way to resolve this.
66
+ *
62
67
  * @since v0.1.25
63
- * @deprecated Legacy: Use the WHATWG URL API instead.
64
68
  * @param urlString The URL string to parse.
65
69
  * @param [parseQueryString=false] If `true`, the `query` property will always be set to an object returned by the {@link querystring} module's `parse()` method. If `false`, the `query` property
66
70
  * on the returned URL object will be an unparsed, undecoded string.