@types/node 20.19.5 → 20.19.6

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 v20.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/v20.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 08 Jul 2025 17:03:33 GMT
11
+ * Last updated: Wed, 09 Jul 2025 00:04:35 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
node v20.19/buffer.d.ts CHANGED
@@ -1774,6 +1774,7 @@ declare module "buffer" {
1774
1774
  * @return The index of the first occurrence of `value` in `buf`, or `-1` if `buf` does not contain `value`.
1775
1775
  */
1776
1776
  indexOf(value: string | number | Uint8Array, byteOffset?: number, encoding?: BufferEncoding): number;
1777
+ indexOf(value: string | number | Uint8Array, encoding: BufferEncoding): number;
1777
1778
  /**
1778
1779
  * Identical to `buf.indexOf()`, except the last occurrence of `value` is found
1779
1780
  * rather than the first occurrence.
@@ -1842,6 +1843,7 @@ declare module "buffer" {
1842
1843
  * @return The index of the last occurrence of `value` in `buf`, or `-1` if `buf` does not contain `value`.
1843
1844
  */
1844
1845
  lastIndexOf(value: string | number | Uint8Array, byteOffset?: number, encoding?: BufferEncoding): number;
1846
+ lastIndexOf(value: string | number | Uint8Array, encoding: BufferEncoding): number;
1845
1847
  /**
1846
1848
  * Equivalent to `buf.indexOf() !== -1`.
1847
1849
  *
@@ -1872,6 +1874,7 @@ declare module "buffer" {
1872
1874
  * @return `true` if `value` was found in `buf`, `false` otherwise.
1873
1875
  */
1874
1876
  includes(value: string | number | Buffer, byteOffset?: number, encoding?: BufferEncoding): boolean;
1877
+ includes(value: string | number | Buffer, encoding: BufferEncoding): boolean;
1875
1878
  }
1876
1879
  var Buffer: BufferConstructor;
1877
1880
  /**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "20.19.5",
3
+ "version": "20.19.6",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -215,6 +215,6 @@
215
215
  "undici-types": "~6.21.0"
216
216
  },
217
217
  "peerDependencies": {},
218
- "typesPublisherContentHash": "72acc427f5057b12882d2b7c1b6bdab0371f5dc2f67c10e8b86542a3b70a9802",
218
+ "typesPublisherContentHash": "98d6d616065f01e65723da019074e8256e8df7f594d52355dfd9ffeaed556326",
219
219
  "typeScriptVersion": "5.1"
220
220
  }