@types/node 18.19.100 → 18.19.102

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 v18.19/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/v18.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 08 May 2025 14:02:18 GMT
11
+ * Last updated: Tue, 20 May 2025 17:35:34 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
@@ -196,7 +196,7 @@ declare global {
196
196
  unpipe(destination?: WritableStream): this;
197
197
  unshift(chunk: string | Uint8Array, encoding?: BufferEncoding): void;
198
198
  wrap(oldStream: ReadableStream): this;
199
- [Symbol.asyncIterator](): NodeJS.AsyncIterator<string | Buffer>;
199
+ [Symbol.asyncIterator](): AsyncIterableIterator<string | Buffer>;
200
200
  }
201
201
 
202
202
  interface WritableStream extends EventEmitter {
node v18.19/net.d.ts CHANGED
@@ -594,7 +594,7 @@ declare module "net" {
594
594
  * Callback should take two arguments `err` and `count`.
595
595
  * @since v0.9.7
596
596
  */
597
- getConnections(cb: (error: Error | null, count: number) => void): void;
597
+ getConnections(cb: (error: Error | null, count: number) => void): this;
598
598
  /**
599
599
  * Opposite of `unref()`, calling `ref()` on a previously `unref`ed server will _not_ let the program exit if it's the only server left (the default behavior).
600
600
  * If the server is `ref`ed calling `ref()` again will have no effect.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "18.19.100",
3
+ "version": "18.19.102",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -220,6 +220,6 @@
220
220
  "undici-types": "~5.26.4"
221
221
  },
222
222
  "peerDependencies": {},
223
- "typesPublisherContentHash": "c2c89277b89281701299e1bef4e65a6116787b51e9671db9ff4854ac16b14148",
223
+ "typesPublisherContentHash": "321ca6ca36f083d471c0b4b2d550e0caa49c34ce6634f635aeb1beab8db5702c",
224
224
  "typeScriptVersion": "5.1"
225
225
  }