@types/node 22.10.5 → 22.10.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/README.md +1 -1
- node/module.d.ts +2 -2
- 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: Mon, 13 Jan 2025 19:02:16 GMT
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
13
13
|
|
14
14
|
# Credits
|
node/module.d.ts
CHANGED
@@ -203,7 +203,7 @@ declare module "module" {
|
|
203
203
|
context: ResolveHookContext,
|
204
204
|
nextResolve: (
|
205
205
|
specifier: string,
|
206
|
-
context?: ResolveHookContext
|
206
|
+
context?: Partial<ResolveHookContext>,
|
207
207
|
) => ResolveFnOutput | Promise<ResolveFnOutput>,
|
208
208
|
) => ResolveFnOutput | Promise<ResolveFnOutput>;
|
209
209
|
interface LoadHookContext {
|
@@ -243,7 +243,7 @@ declare module "module" {
|
|
243
243
|
type LoadHook = (
|
244
244
|
url: string,
|
245
245
|
context: LoadHookContext,
|
246
|
-
nextLoad: (url: string, context?: LoadHookContext) => LoadFnOutput | Promise<LoadFnOutput>,
|
246
|
+
nextLoad: (url: string, context?: Partial<LoadHookContext>) => LoadFnOutput | Promise<LoadFnOutput>,
|
247
247
|
) => LoadFnOutput | Promise<LoadFnOutput>;
|
248
248
|
namespace constants {
|
249
249
|
/**
|
node/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/node",
|
3
|
-
"version": "22.10.
|
3
|
+
"version": "22.10.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.20.0"
|
216
216
|
},
|
217
217
|
"peerDependencies": {},
|
218
|
-
"typesPublisherContentHash": "
|
218
|
+
"typesPublisherContentHash": "064b408cecf149e1d2fad422d32eb2883b56a19a971364443456d1c3b3ddc467",
|
219
219
|
"typeScriptVersion": "5.0"
|
220
220
|
}
|