@types/node 18.19.116 → 18.19.117

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: 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 v18.19/buffer.d.ts CHANGED
@@ -1751,6 +1751,7 @@ declare module "buffer" {
1751
1751
  * @return The index of the first occurrence of `value` in `buf`, or `-1` if `buf` does not contain `value`.
1752
1752
  */
1753
1753
  indexOf(value: string | number | Uint8Array, byteOffset?: number, encoding?: BufferEncoding): number;
1754
+ indexOf(value: string | number | Uint8Array, encoding: BufferEncoding): number;
1754
1755
  /**
1755
1756
  * Identical to `buf.indexOf()`, except the last occurrence of `value` is found
1756
1757
  * rather than the first occurrence.
@@ -1819,6 +1820,7 @@ declare module "buffer" {
1819
1820
  * @return The index of the last occurrence of `value` in `buf`, or `-1` if `buf` does not contain `value`.
1820
1821
  */
1821
1822
  lastIndexOf(value: string | number | Uint8Array, byteOffset?: number, encoding?: BufferEncoding): number;
1823
+ lastIndexOf(value: string | number | Uint8Array, encoding: BufferEncoding): number;
1822
1824
  /**
1823
1825
  * Equivalent to `buf.indexOf() !== -1`.
1824
1826
  *
@@ -1849,6 +1851,7 @@ declare module "buffer" {
1849
1851
  * @return `true` if `value` was found in `buf`, `false` otherwise.
1850
1852
  */
1851
1853
  includes(value: string | number | Buffer, byteOffset?: number, encoding?: BufferEncoding): boolean;
1854
+ includes(value: string | number | Buffer, encoding: BufferEncoding): boolean;
1852
1855
  }
1853
1856
  var Buffer: BufferConstructor;
1854
1857
  /**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "18.19.116",
3
+ "version": "18.19.117",
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": "efd6a31dc3af88f6fc679acca9b7bde34c8e99ad0a09ee98caa5fa25197a7814",
223
+ "typesPublisherContentHash": "448ba4b9abcddf88b18dc3c8ca200ec3091505b81421f98c0aa9466c7a27b771",
224
224
  "typeScriptVersion": "5.1"
225
225
  }