@types/node 14.14.12 → 14.14.13
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/assert.d.ts +4 -2
- node/package.json +2 -2
- node/ts3.4/assert.d.ts +4 -2
node/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.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Sat, 12 Dec 2020 17:18:07 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/assert.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ declare module 'assert' {
|
|
|
21
21
|
/** The `operator` property on the error instance. */
|
|
22
22
|
operator?: string;
|
|
23
23
|
/** If provided, the generated stack trace omits frames before this function. */
|
|
24
|
+
// tslint:disable-next-line:ban-types
|
|
24
25
|
stackStartFn?: Function;
|
|
25
26
|
});
|
|
26
27
|
}
|
|
@@ -52,6 +53,7 @@ declare module 'assert' {
|
|
|
52
53
|
expected: any,
|
|
53
54
|
message?: string | Error,
|
|
54
55
|
operator?: string,
|
|
56
|
+
// tslint:disable-next-line:ban-types
|
|
55
57
|
stackStartFn?: Function,
|
|
56
58
|
): never;
|
|
57
59
|
function ok(value: any, message?: string | Error): asserts value;
|
|
@@ -71,7 +73,7 @@ declare module 'assert' {
|
|
|
71
73
|
function throws(block: () => any, message?: string | Error): void;
|
|
72
74
|
function throws(block: () => any, error: AssertPredicate, message?: string | Error): void;
|
|
73
75
|
function doesNotThrow(block: () => any, message?: string | Error): void;
|
|
74
|
-
function doesNotThrow(block: () => any, error:
|
|
76
|
+
function doesNotThrow(block: () => any, error: AssertPredicate, message?: string | Error): void;
|
|
75
77
|
|
|
76
78
|
function ifError(value: any): asserts value is null | undefined;
|
|
77
79
|
|
|
@@ -84,7 +86,7 @@ declare module 'assert' {
|
|
|
84
86
|
function doesNotReject(block: (() => Promise<any>) | Promise<any>, message?: string | Error): Promise<void>;
|
|
85
87
|
function doesNotReject(
|
|
86
88
|
block: (() => Promise<any>) | Promise<any>,
|
|
87
|
-
error:
|
|
89
|
+
error: AssertPredicate,
|
|
88
90
|
message?: string | Error,
|
|
89
91
|
): Promise<void>;
|
|
90
92
|
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "14.14.
|
|
3
|
+
"version": "14.14.13",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -246,6 +246,6 @@
|
|
|
246
246
|
},
|
|
247
247
|
"scripts": {},
|
|
248
248
|
"dependencies": {},
|
|
249
|
-
"typesPublisherContentHash": "
|
|
249
|
+
"typesPublisherContentHash": "2d2baa6ba176af581ab0526fbd1ecf8426794040c566cca82cf3f03d6778229f",
|
|
250
250
|
"typeScriptVersion": "3.3"
|
|
251
251
|
}
|
node/ts3.4/assert.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ declare module 'assert' {
|
|
|
21
21
|
/** The `operator` property on the error instance. */
|
|
22
22
|
operator?: string;
|
|
23
23
|
/** If provided, the generated stack trace omits frames before this function. */
|
|
24
|
+
// tslint:disable-next-line:ban-types
|
|
24
25
|
stackStartFn?: Function;
|
|
25
26
|
});
|
|
26
27
|
}
|
|
@@ -52,6 +53,7 @@ declare module 'assert' {
|
|
|
52
53
|
expected: any,
|
|
53
54
|
message?: string | Error,
|
|
54
55
|
operator?: string,
|
|
56
|
+
// tslint:disable-next-line:ban-types
|
|
55
57
|
stackStartFn?: Function,
|
|
56
58
|
): never;
|
|
57
59
|
function ok(value: any, message?: string | Error): void;
|
|
@@ -71,7 +73,7 @@ declare module 'assert' {
|
|
|
71
73
|
function throws(block: () => any, message?: string | Error): void;
|
|
72
74
|
function throws(block: () => any, error: AssertPredicate, message?: string | Error): void;
|
|
73
75
|
function doesNotThrow(block: () => any, message?: string | Error): void;
|
|
74
|
-
function doesNotThrow(block: () => any, error:
|
|
76
|
+
function doesNotThrow(block: () => any, error: AssertPredicate, message?: string | Error): void;
|
|
75
77
|
|
|
76
78
|
function ifError(value: any): void;
|
|
77
79
|
|
|
@@ -84,7 +86,7 @@ declare module 'assert' {
|
|
|
84
86
|
function doesNotReject(block: (() => Promise<any>) | Promise<any>, message?: string | Error): Promise<void>;
|
|
85
87
|
function doesNotReject(
|
|
86
88
|
block: (() => Promise<any>) | Promise<any>,
|
|
87
|
-
error:
|
|
89
|
+
error: AssertPredicate,
|
|
88
90
|
message?: string | Error,
|
|
89
91
|
): Promise<void>;
|
|
90
92
|
|