@types/node 16.11.24 → 16.11.25
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 v16.11/README.md +1 -1
- node v16.11/package.json +2 -2
- node v16.11/url.d.ts +10 -6
node v16.11/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/v16.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Mon, 14 Feb 2022 19:31:27 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
|
|
14
14
|
|
node v16.11/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "16.11.
|
|
3
|
+
"version": "16.11.25",
|
|
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": "81b53b1d7f371f994592a87c3675bb00c9d5a724650aa2cd5ef3f7797f233245",
|
|
224
224
|
"typeScriptVersion": "3.8"
|
|
225
225
|
}
|
node v16.11/url.d.ts
CHANGED
|
@@ -829,17 +829,21 @@ declare module 'url' {
|
|
|
829
829
|
* https://nodejs.org/api/url.html#the-whatwg-url-api
|
|
830
830
|
* @since v10.0.0
|
|
831
831
|
*/
|
|
832
|
-
var URL:
|
|
832
|
+
var URL:
|
|
833
|
+
// For compatibility with "dom" and "webworker" URL declarations
|
|
834
|
+
typeof globalThis extends { onmessage: any, URL: infer URL }
|
|
835
|
+
? URL
|
|
836
|
+
: typeof _URL;
|
|
833
837
|
/**
|
|
834
838
|
* `URLSearchParams` class is a global reference for `require('url').URLSearchParams`.
|
|
835
839
|
* https://nodejs.org/api/url.html#class-urlsearchparams
|
|
836
840
|
* @since v10.0.0
|
|
837
841
|
*/
|
|
838
|
-
var URLSearchParams:
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
842
|
+
var URLSearchParams:
|
|
843
|
+
// For compatibility with "dom" and "webworker" URLSearchParams declarations
|
|
844
|
+
typeof globalThis extends { onmessage: any, URLSearchParams: infer URLSearchParams }
|
|
845
|
+
? URLSearchParams
|
|
846
|
+
: typeof _URLSearchParams;
|
|
843
847
|
}
|
|
844
848
|
}
|
|
845
849
|
declare module 'node:url' {
|