@types/node 20.11.26 → 20.11.28

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 (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: Mon, 11 Mar 2024 22:06:43 GMT
11
+ * Last updated: Fri, 15 Mar 2024 07:35:57 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
node/crypto.d.ts CHANGED
@@ -106,7 +106,7 @@ declare module "crypto" {
106
106
  const SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION: number;
107
107
  /** Attempts to use the server's preferences instead of the client's when selecting a cipher. See https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html. */
108
108
  const SSL_OP_CIPHER_SERVER_PREFERENCE: number;
109
- /** Instructs OpenSSL to use Cisco's "speshul" version of DTLS_BAD_VER. */
109
+ /** Instructs OpenSSL to use Cisco's version identifier of DTLS_BAD_VER. */
110
110
  const SSL_OP_CISCO_ANYCONNECT: number;
111
111
  /** Instructs OpenSSL to turn on cookie exchange. */
112
112
  const SSL_OP_COOKIE_EXCHANGE: number;
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "20.11.26",
3
+ "version": "20.11.28",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -212,6 +212,6 @@
212
212
  "dependencies": {
213
213
  "undici-types": "~5.26.4"
214
214
  },
215
- "typesPublisherContentHash": "9b3b3458b87d11d9c61fca99966320a6a0b1e0b7f7f8a4d54e69202006c304fe",
215
+ "typesPublisherContentHash": "7900e0785e353d745686ab0f8c416d180dda643bd51b6a43e09c772a1d845f55",
216
216
  "typeScriptVersion": "4.7"
217
217
  }
node/stream/web.d.ts CHANGED
@@ -156,6 +156,7 @@ declare module "stream/web" {
156
156
  }
157
157
  const ReadableStream: {
158
158
  prototype: ReadableStream;
159
+ from<T>(iterable: Iterable<T> | AsyncIterable<T>): ReadableStream<T>;
159
160
  new(underlyingSource: UnderlyingByteSource, strategy?: QueuingStrategy<Uint8Array>): ReadableStream<Uint8Array>;
160
161
  new<R = any>(underlyingSource?: UnderlyingSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;
161
162
  };