@types/node 14.17.0 → 14.17.4
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.17/README.md +1 -1
- node v14.17/console.d.ts +9 -9
- node v14.17/http.d.ts +2 -1
- node v14.17/package.json +4 -3
- node v14.17/perf_hooks.d.ts +1 -1
node v14.17/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (http://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: Wed, 23 Jun 2021 08:31:22 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Buffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
|
|
14
14
|
|
node v14.17/console.d.ts
CHANGED
|
@@ -25,16 +25,16 @@ declare module 'console' {
|
|
|
25
25
|
*/
|
|
26
26
|
countReset(label?: string): void;
|
|
27
27
|
/**
|
|
28
|
-
* The `console.debug()` function is an alias for {@link console.log
|
|
28
|
+
* The `console.debug()` function is an alias for {@link console.log}.
|
|
29
29
|
*/
|
|
30
30
|
debug(message?: any, ...optionalParams: any[]): void;
|
|
31
31
|
/**
|
|
32
|
-
* Uses {@link util.inspect
|
|
32
|
+
* Uses {@link util.inspect} on `obj` and prints the resulting string to `stdout`.
|
|
33
33
|
* This function bypasses any custom `inspect()` function defined on `obj`.
|
|
34
34
|
*/
|
|
35
35
|
dir(obj: any, options?: InspectOptions): void;
|
|
36
36
|
/**
|
|
37
|
-
* This method calls {@link console.log
|
|
37
|
+
* This method calls {@link console.log} passing it the arguments received. Please note that this method does not produce any XML formatting
|
|
38
38
|
*/
|
|
39
39
|
dirxml(...data: any[]): void;
|
|
40
40
|
/**
|
|
@@ -47,7 +47,7 @@ declare module 'console' {
|
|
|
47
47
|
*/
|
|
48
48
|
group(...label: any[]): void;
|
|
49
49
|
/**
|
|
50
|
-
* The `console.groupCollapsed()` function is an alias for {@link console.group
|
|
50
|
+
* The `console.groupCollapsed()` function is an alias for {@link console.group}.
|
|
51
51
|
*/
|
|
52
52
|
groupCollapsed(...label: any[]): void;
|
|
53
53
|
/**
|
|
@@ -55,7 +55,7 @@ declare module 'console' {
|
|
|
55
55
|
*/
|
|
56
56
|
groupEnd(): void;
|
|
57
57
|
/**
|
|
58
|
-
* The {@link console.info
|
|
58
|
+
* The {@link console.info} function is an alias for {@link console.log}.
|
|
59
59
|
*/
|
|
60
60
|
info(message?: any, ...optionalParams: any[]): void;
|
|
61
61
|
/**
|
|
@@ -72,19 +72,19 @@ declare module 'console' {
|
|
|
72
72
|
*/
|
|
73
73
|
time(label?: string): void;
|
|
74
74
|
/**
|
|
75
|
-
* Stops a timer that was previously started by calling {@link console.time
|
|
75
|
+
* Stops a timer that was previously started by calling {@link console.time} and prints the result to `stdout`.
|
|
76
76
|
*/
|
|
77
77
|
timeEnd(label?: string): void;
|
|
78
78
|
/**
|
|
79
|
-
* For a timer that was previously started by calling {@link console.time
|
|
79
|
+
* For a timer that was previously started by calling {@link console.time}, prints the elapsed time and other `data` arguments to `stdout`.
|
|
80
80
|
*/
|
|
81
81
|
timeLog(label?: string, ...data: any[]): void;
|
|
82
82
|
/**
|
|
83
|
-
* Prints to `stderr` the string 'Trace :', followed by the {@link util.format
|
|
83
|
+
* Prints to `stderr` the string 'Trace :', followed by the {@link util.format} formatted message and stack trace to the current position in the code.
|
|
84
84
|
*/
|
|
85
85
|
trace(message?: any, ...optionalParams: any[]): void;
|
|
86
86
|
/**
|
|
87
|
-
* The {@link console.warn
|
|
87
|
+
* The {@link console.warn} function is an alias for {@link console.error}.
|
|
88
88
|
*/
|
|
89
89
|
warn(message?: any, ...optionalParams: any[]): void;
|
|
90
90
|
|
node v14.17/http.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ declare module 'http' {
|
|
|
32
32
|
'content-type'?: string;
|
|
33
33
|
'cookie'?: string;
|
|
34
34
|
'date'?: string;
|
|
35
|
+
'etag'?: string;
|
|
35
36
|
'expect'?: string;
|
|
36
37
|
'expires'?: string;
|
|
37
38
|
'forwarded'?: string;
|
|
@@ -165,7 +166,7 @@ declare module 'http' {
|
|
|
165
166
|
finished: boolean;
|
|
166
167
|
headersSent: boolean;
|
|
167
168
|
/**
|
|
168
|
-
* @
|
|
169
|
+
* @deprecated Use `socket` instead.
|
|
169
170
|
*/
|
|
170
171
|
connection: Socket | null;
|
|
171
172
|
socket: Socket | null;
|
node v14.17/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "14.17.
|
|
3
|
+
"version": "14.17.4",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
|
+
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
5
6
|
"license": "MIT",
|
|
6
7
|
"contributors": [
|
|
7
8
|
{
|
|
@@ -231,6 +232,6 @@
|
|
|
231
232
|
},
|
|
232
233
|
"scripts": {},
|
|
233
234
|
"dependencies": {},
|
|
234
|
-
"typesPublisherContentHash": "
|
|
235
|
-
"typeScriptVersion": "3.
|
|
235
|
+
"typesPublisherContentHash": "bc5822215f24582b295f0d55e4a48cce34a69b65c20b690c5e29309611604a8e",
|
|
236
|
+
"typeScriptVersion": "3.6"
|
|
236
237
|
}
|
node v14.17/perf_hooks.d.ts
CHANGED
|
@@ -116,7 +116,7 @@ declare module 'perf_hooks' {
|
|
|
116
116
|
* @param startMark
|
|
117
117
|
* @param endMark
|
|
118
118
|
*/
|
|
119
|
-
measure(name: string, startMark
|
|
119
|
+
measure(name: string, startMark?: string, endMark?: string): void;
|
|
120
120
|
|
|
121
121
|
/**
|
|
122
122
|
* An instance of the PerformanceNodeTiming class that provides performance metrics for specific Node.js operational milestones.
|