@types/node 22.13.0 → 22.13.2

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: Fri, 31 Jan 2025 20:02:26 GMT
11
+ * Last updated: Thu, 13 Feb 2025 04:35:29 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
node/assert.d.ts CHANGED
@@ -1068,6 +1068,7 @@ declare module "assert" {
1068
1068
  | "deepStrictEqual"
1069
1069
  | "ifError"
1070
1070
  | "strict"
1071
+ | "AssertionError"
1071
1072
  >
1072
1073
  & {
1073
1074
  (value: unknown, message?: string | Error): asserts value;
@@ -1083,6 +1084,7 @@ declare module "assert" {
1083
1084
  deepStrictEqual: typeof deepStrictEqual;
1084
1085
  ifError: typeof ifError;
1085
1086
  strict: typeof strict;
1087
+ AssertionError: typeof AssertionError;
1086
1088
  };
1087
1089
  }
1088
1090
  export = assert;
node/fs/promises.d.ts CHANGED
@@ -112,7 +112,7 @@ declare module "fs/promises" {
112
112
  appendFile(
113
113
  data: string | Uint8Array,
114
114
  options?:
115
- | (ObjectEncodingOptions & FlagAndOpenMode & { flush?: boolean | undefined })
115
+ | (ObjectEncodingOptions & Abortable)
116
116
  | BufferEncoding
117
117
  | null,
118
118
  ): Promise<void>;
@@ -402,7 +402,7 @@ declare module "fs/promises" {
402
402
  writeFile(
403
403
  data: string | Uint8Array,
404
404
  options?:
405
- | (ObjectEncodingOptions & FlagAndOpenMode & Abortable & { flush?: boolean | undefined })
405
+ | (ObjectEncodingOptions & Abortable)
406
406
  | BufferEncoding
407
407
  | null,
408
408
  ): Promise<void>;
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "22.13.0",
3
+ "version": "22.13.2",
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.20.0"
216
216
  },
217
217
  "peerDependencies": {},
218
- "typesPublisherContentHash": "cd9e00a55264d2d3f1c6f5656282dac0031f1492460f59d56baa12fabccf6631",
218
+ "typesPublisherContentHash": "8f76b84da333a4c284b6ca2d01420553eea2aa3051743db8e776b50e4342f5c1",
219
219
  "typeScriptVersion": "5.0"
220
220
  }