@types/node 24.6.1 → 24.6.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 +1 -1
- node/package.json +2 -2
- node/url.d.ts +6 -1
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, 02 Oct 2025 02:06:47 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "24.6.
|
|
3
|
+
"version": "24.6.2",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -150,6 +150,6 @@
|
|
|
150
150
|
"undici-types": "~7.13.0"
|
|
151
151
|
},
|
|
152
152
|
"peerDependencies": {},
|
|
153
|
-
"typesPublisherContentHash": "
|
|
153
|
+
"typesPublisherContentHash": "e7bb75f8d0111245a28651af05ef0fef9a30a5eeafcb3bbe9f3bd4c13ad7adde",
|
|
154
154
|
"typeScriptVersion": "5.2"
|
|
155
155
|
}
|
node/url.d.ts
CHANGED
|
@@ -1020,7 +1020,12 @@ declare module "url" {
|
|
|
1020
1020
|
interface URLPatternInit extends _URLPatternInit {}
|
|
1021
1021
|
interface URLPatternResult extends _URLPatternResult {}
|
|
1022
1022
|
interface URLPattern extends _URLPattern {}
|
|
1023
|
-
var URLPattern: typeof
|
|
1023
|
+
var URLPattern: typeof globalThis extends {
|
|
1024
|
+
onmessage: any;
|
|
1025
|
+
scheduler: any; // Must be a var introduced at the same time as URLPattern.
|
|
1026
|
+
URLPattern: infer T;
|
|
1027
|
+
} ? T
|
|
1028
|
+
: typeof _URLPattern;
|
|
1024
1029
|
}
|
|
1025
1030
|
}
|
|
1026
1031
|
declare module "node:url" {
|