@types/node 14.17.26 → 14.17.27
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/package.json +2 -2
- node v14.17/util.d.ts +7 -1
node v14.17/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: Thu, 14 Oct 2021 18:01:23 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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "14.17.
|
|
3
|
+
"version": "14.17.27",
|
|
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": "389a0a89575214587f817f0203b04bb13e318861b29654a4afb056249a7785a2",
|
|
224
224
|
"typeScriptVersion": "3.7"
|
|
225
225
|
}
|
node v14.17/util.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ declare module 'util' {
|
|
|
7
7
|
}
|
|
8
8
|
function format(format?: any, ...param: any[]): string;
|
|
9
9
|
function formatWithOptions(inspectOptions: InspectOptions, format?: any, ...param: any[]): string;
|
|
10
|
+
function getSystemErrorName(err: number): string;
|
|
10
11
|
/** @deprecated since v0.11.3 - use a third party module instead. */
|
|
11
12
|
function log(string: string): void;
|
|
12
13
|
function inspect(object: any, showHidden?: boolean, depth?: number | null, color?: boolean): string;
|
|
@@ -32,7 +33,12 @@ declare module 'util' {
|
|
|
32
33
|
/** @deprecated since v4.0.0 - use `util.types.isNativeError()` instead. */
|
|
33
34
|
function isError(object: any): object is Error;
|
|
34
35
|
function inherits(constructor: any, superConstructor: any): void;
|
|
35
|
-
|
|
36
|
+
type DebugLoggerFunction = (msg: string, ...param: any[]) => void;
|
|
37
|
+
interface DebugLogger extends DebugLoggerFunction {
|
|
38
|
+
enabled: boolean;
|
|
39
|
+
}
|
|
40
|
+
function debuglog(key: string, callback?: (fn: DebugLoggerFunction) => void): DebugLogger;
|
|
41
|
+
const debug: typeof debuglog;
|
|
36
42
|
/** @deprecated since v4.0.0 - use `typeof value === 'boolean'` instead. */
|
|
37
43
|
function isBoolean(object: any): object is boolean;
|
|
38
44
|
/** @deprecated since v4.0.0 - use `Buffer.isBuffer()` instead. */
|