@types/node 22.19.10 → 22.19.11

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 v22.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/v22.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Sun, 08 Feb 2026 00:09:19 GMT
11
+ * Last updated: Tue, 10 Feb 2026 14:48:58 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "22.19.10",
3
+ "version": "22.19.11",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -140,6 +140,6 @@
140
140
  "undici-types": "~6.21.0"
141
141
  },
142
142
  "peerDependencies": {},
143
- "typesPublisherContentHash": "e63411f5f6cd7f031d357855c9af33b48610e8560b439a7a784ed5886e25db49",
143
+ "typesPublisherContentHash": "fef4b2a2c689572dea6fc34da762614a4a4b8221878f76391300da0367348418",
144
144
  "typeScriptVersion": "5.2"
145
145
  }
node v22.19/test.d.ts CHANGED
@@ -81,6 +81,7 @@
81
81
  declare module "node:test" {
82
82
  import { AssertMethodNames } from "node:assert";
83
83
  import { Readable } from "node:stream";
84
+ import { URL } from "node:url";
84
85
  import TestFn = test.TestFn;
85
86
  import TestOptions = test.TestOptions;
86
87
  /**
@@ -1638,7 +1639,7 @@ declare module "node:test" {
1638
1639
  * @param specifier A string identifying the module to mock.
1639
1640
  * @param options Optional configuration options for the mock module.
1640
1641
  */
1641
- module(specifier: string, options?: MockModuleOptions): MockModuleContext;
1642
+ module(specifier: string | URL, options?: MockModuleOptions): MockModuleContext;
1642
1643
  /**
1643
1644
  * This function restores the default behavior of all mocks that were previously
1644
1645
  * created by this `MockTracker` and disassociates the mocks from the `MockTracker` instance. Once disassociated, the mocks can still be used, but the `MockTracker` instance can no longer be