@types/node 13.13.35 → 13.13.36

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 v13.13/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/v13.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 08 Dec 2020 16:56:27 GMT
11
+ * Last updated: Sat, 12 Dec 2020 17:18:16 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 v13.13/assert.d.ts CHANGED
@@ -15,6 +15,7 @@ declare module 'assert' {
15
15
  actual?: any;
16
16
  expected?: any;
17
17
  operator?: string;
18
+ // tslint:disable-next-line:ban-types
18
19
  stackStartFn?: Function;
19
20
  });
20
21
  }
@@ -28,6 +29,7 @@ declare module 'assert' {
28
29
  expected: any,
29
30
  message?: string | Error,
30
31
  operator?: string,
32
+ // tslint:disable-next-line:ban-types
31
33
  stackStartFn?: Function,
32
34
  ): never;
33
35
  function ok(value: any, message?: string | Error): asserts value;
@@ -47,7 +49,7 @@ declare module 'assert' {
47
49
  function throws(block: () => any, message?: string | Error): void;
48
50
  function throws(block: () => any, error: AssertPredicate, message?: string | Error): void;
49
51
  function doesNotThrow(block: () => any, message?: string | Error): void;
50
- function doesNotThrow(block: () => any, error: RegExp | Function, message?: string | Error): void;
52
+ function doesNotThrow(block: () => any, error: AssertPredicate, message?: string | Error): void;
51
53
 
52
54
  function ifError(value: any): asserts value is null | undefined;
53
55
 
@@ -60,7 +62,7 @@ declare module 'assert' {
60
62
  function doesNotReject(block: (() => Promise<any>) | Promise<any>, message?: string | Error): Promise<void>;
61
63
  function doesNotReject(
62
64
  block: (() => Promise<any>) | Promise<any>,
63
- error: RegExp | Function,
65
+ error: AssertPredicate,
64
66
  message?: string | Error,
65
67
  ): Promise<void>;
66
68
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "13.13.35",
3
+ "version": "13.13.36",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -241,6 +241,6 @@
241
241
  },
242
242
  "scripts": {},
243
243
  "dependencies": {},
244
- "typesPublisherContentHash": "eb4667f716c2f1ff652d701ddb90bfe5f77bd7bf14e8c56ce4157328b255f4f1",
244
+ "typesPublisherContentHash": "9a04e5f9544dbce1df105b2218f8c7f60800b7c59be3b02981b3cabb236c1694",
245
245
  "typeScriptVersion": "3.3"
246
246
  }
@@ -15,6 +15,7 @@ declare module 'assert' {
15
15
  actual?: any;
16
16
  expected?: any;
17
17
  operator?: string;
18
+ // tslint:disable-next-line:ban-types
18
19
  stackStartFn?: Function;
19
20
  });
20
21
  }
@@ -28,6 +29,7 @@ declare module 'assert' {
28
29
  expected: any,
29
30
  message?: string | Error,
30
31
  operator?: string,
32
+ // tslint:disable-next-line:ban-types
31
33
  stackStartFn?: Function,
32
34
  ): never;
33
35
  function ok(value: any, message?: string | Error): void;
@@ -47,7 +49,7 @@ declare module 'assert' {
47
49
  function throws(block: () => any, message?: string | Error): void;
48
50
  function throws(block: () => any, error: AssertPredicate, message?: string | Error): void;
49
51
  function doesNotThrow(block: () => any, message?: string | Error): void;
50
- function doesNotThrow(block: () => any, error: RegExp | Function, message?: string | Error): void;
52
+ function doesNotThrow(block: () => any, error: AssertPredicate, message?: string | Error): void;
51
53
 
52
54
  function ifError(value: any): void;
53
55
 
@@ -60,7 +62,7 @@ declare module 'assert' {
60
62
  function doesNotReject(block: (() => Promise<any>) | Promise<any>, message?: string | Error): Promise<void>;
61
63
  function doesNotReject(
62
64
  block: (() => Promise<any>) | Promise<any>,
63
- error: RegExp | Function,
65
+ error: AssertPredicate,
64
66
  message?: string | Error,
65
67
  ): Promise<void>;
66
68