@types/node 14.18.11 → 14.18.12
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 v14.18/README.md +1 -1
- node v14.18/package.json +2 -2
- node v14.18/url.d.ts +10 -6
node v14.18/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v14.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Mon, 14 Feb 2022 19:31:28 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `Buffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
|
|
14
14
|
|
node v14.18/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "14.18.
|
|
3
|
+
"version": "14.18.12",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -220,6 +220,6 @@
|
|
|
220
220
|
},
|
|
221
221
|
"scripts": {},
|
|
222
222
|
"dependencies": {},
|
|
223
|
-
"typesPublisherContentHash": "
|
|
223
|
+
"typesPublisherContentHash": "757273e514d1d1b21dac64fec141cfb9376f836ab554e1062dd525c8e14d3c3c",
|
|
224
224
|
"typeScriptVersion": "3.8"
|
|
225
225
|
}
|
node v14.18/url.d.ts
CHANGED
|
@@ -127,17 +127,21 @@ declare module 'url' {
|
|
|
127
127
|
* https://nodejs.org/api/url.html#the-whatwg-url-api
|
|
128
128
|
* @since v10.0.0
|
|
129
129
|
*/
|
|
130
|
-
var URL:
|
|
130
|
+
var URL:
|
|
131
|
+
// For compatibility with "dom" and "webworker" URL declarations
|
|
132
|
+
typeof globalThis extends { onmessage: any, URL: infer URL }
|
|
133
|
+
? URL
|
|
134
|
+
: typeof _URL;
|
|
131
135
|
/**
|
|
132
136
|
* `URLSearchParams` class is a global reference for `require('url').URLSearchParams`.
|
|
133
137
|
* https://nodejs.org/api/url.html#class-urlsearchparams
|
|
134
138
|
* @since v10.0.0
|
|
135
139
|
*/
|
|
136
|
-
var URLSearchParams:
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
140
|
+
var URLSearchParams:
|
|
141
|
+
// For compatibility with "dom" and "webworker" URLSearchParams declarations
|
|
142
|
+
typeof globalThis extends { onmessage: any, URLSearchParams: infer URLSearchParams }
|
|
143
|
+
? URLSearchParams
|
|
144
|
+
: typeof _URLSearchParams;
|
|
141
145
|
}
|
|
142
146
|
}
|
|
143
147
|
declare module 'node:url' {
|