@types/node 22.13.1 → 22.13.3
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 +1 -1
- node/assert.d.ts +2 -0
- node/module.d.ts +7 -0
- node/package.json +2 -2
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:
|
11
|
+
* Last updated: Thu, 13 Feb 2025 22:02:08 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/module.d.ts
CHANGED
@@ -127,6 +127,13 @@ declare module "module" {
|
|
127
127
|
* directory if it is enabled, or `undefined` otherwise.
|
128
128
|
*/
|
129
129
|
function getCompileCacheDir(): string | undefined;
|
130
|
+
/**
|
131
|
+
* @since v23.2.0, v22.14.0
|
132
|
+
*/
|
133
|
+
function findPackageJSON(
|
134
|
+
specifier: string | URL,
|
135
|
+
base?: string | URL,
|
136
|
+
): undefined | string;
|
130
137
|
/**
|
131
138
|
* @since v18.6.0, v16.17.0
|
132
139
|
*/
|
node/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/node",
|
3
|
-
"version": "22.13.
|
3
|
+
"version": "22.13.3",
|
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": "
|
218
|
+
"typesPublisherContentHash": "97d67b6286095976de947e1c1d1cd078c30b46c7aa77e51311e632d84ee5f46b",
|
219
219
|
"typeScriptVersion": "5.0"
|
220
220
|
}
|