@types/node 14.14.7 → 14.14.8
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 +14 -10
- node/package.json +2 -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: Tue, 17 Nov 2020 23:36:37 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
|
@@ -93,26 +93,30 @@ declare module 'assert' {
|
|
|
93
93
|
|
|
94
94
|
const strict: Omit<
|
|
95
95
|
typeof assert,
|
|
96
|
-
| 'strict'
|
|
97
|
-
| 'deepEqual'
|
|
98
|
-
| 'notDeepEqual'
|
|
99
96
|
| 'equal'
|
|
100
97
|
| 'notEqual'
|
|
98
|
+
| 'deepEqual'
|
|
99
|
+
| 'notDeepEqual'
|
|
101
100
|
| 'ok'
|
|
102
101
|
| 'strictEqual'
|
|
103
102
|
| 'deepStrictEqual'
|
|
104
103
|
| 'ifError'
|
|
104
|
+
| 'strict'
|
|
105
105
|
> & {
|
|
106
106
|
(value: any, message?: string | Error): asserts value;
|
|
107
|
-
strict: typeof strict;
|
|
108
|
-
deepEqual: typeof deepStrictEqual;
|
|
109
|
-
notDeepEqual: typeof notDeepStrictEqual;
|
|
110
107
|
equal: typeof strictEqual;
|
|
111
108
|
notEqual: typeof notStrictEqual;
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
109
|
+
deepEqual: typeof deepStrictEqual;
|
|
110
|
+
notDeepEqual: typeof notDeepStrictEqual;
|
|
111
|
+
|
|
112
|
+
// Mapped types and assertion functions are incompatible?
|
|
113
|
+
// TS2775: Assertions require every name in the call target
|
|
114
|
+
// to be declared with an explicit type annotation.
|
|
115
|
+
ok: typeof ok;
|
|
116
|
+
strictEqual: typeof strictEqual;
|
|
117
|
+
deepStrictEqual: typeof deepStrictEqual;
|
|
118
|
+
ifError: typeof ifError;
|
|
119
|
+
strict: typeof strict;
|
|
116
120
|
};
|
|
117
121
|
}
|
|
118
122
|
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "14.14.
|
|
3
|
+
"version": "14.14.8",
|
|
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": "351a3980d44f8de8267e6560cbd5f2a372142ba442b2aeae8142aaf092950a7a",
|
|
250
250
|
"typeScriptVersion": "3.2"
|
|
251
251
|
}
|