@types/node 13.13.28 → 13.13.32

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: Wed, 21 Oct 2020 21:01:44 GMT
11
+ * Last updated: Thu, 19 Nov 2020 21:27:25 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
@@ -69,26 +69,30 @@ declare module 'assert' {
69
69
 
70
70
  const strict: Omit<
71
71
  typeof assert,
72
- | 'strict'
73
- | 'deepEqual'
74
- | 'notDeepEqual'
75
72
  | 'equal'
76
73
  | 'notEqual'
74
+ | 'deepEqual'
75
+ | 'notDeepEqual'
77
76
  | 'ok'
78
77
  | 'strictEqual'
79
78
  | 'deepStrictEqual'
80
79
  | 'ifError'
80
+ | 'strict'
81
81
  > & {
82
82
  (value: any, message?: string | Error): asserts value;
83
- strict: typeof strict;
84
- deepEqual: typeof deepStrictEqual;
85
- notDeepEqual: typeof notDeepStrictEqual;
86
83
  equal: typeof strictEqual;
87
84
  notEqual: typeof notStrictEqual;
88
- ok(value: any, message?: string | Error): asserts value;
89
- strictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T;
90
- deepStrictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T;
91
- ifError(value: any): asserts value is null | undefined;
85
+ deepEqual: typeof deepStrictEqual;
86
+ notDeepEqual: typeof notDeepStrictEqual;
87
+
88
+ // Mapped types and assertion functions are incompatible?
89
+ // TS2775: Assertions require every name in the call target
90
+ // to be declared with an explicit type annotation.
91
+ ok: typeof ok;
92
+ strictEqual: typeof strictEqual;
93
+ deepStrictEqual: typeof deepStrictEqual;
94
+ ifError: typeof ifError;
95
+ strict: typeof strict;
92
96
  };
93
97
  }
94
98
 
node v13.13/base.d.ts CHANGED
@@ -13,7 +13,6 @@
13
13
  /// <reference lib="esnext.bigint" />
14
14
 
15
15
  // Base definitions for all NodeJS modules that are not specific to any version of TypeScript:
16
- // tslint:disable-next-line:no-bad-reference
17
16
  /// <reference path="ts3.6/base.d.ts" />
18
17
 
19
18
  // TypeScript 3.7-specific augmentations:
@@ -798,7 +798,7 @@ declare namespace NodeJS {
798
798
  argv0: string;
799
799
  execArgv: string[];
800
800
  execPath: string;
801
- abort(): void;
801
+ abort(): never;
802
802
  chdir(directory: string): void;
803
803
  cwd(): string;
804
804
  debugPort: number;
@@ -1089,7 +1089,6 @@ declare namespace NodeJS {
1089
1089
  type ArrayBufferView = TypedArray | DataView;
1090
1090
 
1091
1091
  interface Require {
1092
- /* tslint:disable-next-line:callable-types */
1093
1092
  (id: string): any;
1094
1093
  resolve: RequireResolve;
1095
1094
  cache: Dict<NodeModule>;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "13.13.28",
3
+ "version": "13.13.32",
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": "4668fedc7fe11e66f93ee7bfcc7286741b15a7a9b611ece3f4b922b53bfb878f",
244
+ "typesPublisherContentHash": "37601682e7fd5cb0bcb474d6233f3ea733f7ef309a087c7bc7b2fbf644de9420",
245
245
  "typeScriptVersion": "3.2"
246
246
  }
node v13.13/repl.d.ts CHANGED
@@ -136,13 +136,21 @@ declare module "repl" {
136
136
  */
137
137
  readonly context: Context;
138
138
  /**
139
- * The `Readable` stream from which REPL input will be read.
139
+ * Outdated alias for `input`.
140
140
  */
141
141
  readonly inputStream: NodeJS.ReadableStream;
142
142
  /**
143
- * The `Writable` stream to which REPL output will be written.
143
+ * Outdated alias for `output`.
144
144
  */
145
145
  readonly outputStream: NodeJS.WritableStream;
146
+ /**
147
+ * The `Readable` stream from which REPL input will be read.
148
+ */
149
+ readonly input: NodeJS.ReadableStream;
150
+ /**
151
+ * The `Writable` stream to which REPL output will be written.
152
+ */
153
+ readonly output: NodeJS.WritableStream;
146
154
  /**
147
155
  * The commands registered via `replServer.defineCommand()`.
148
156
  */
@@ -13,7 +13,6 @@
13
13
  /// <reference lib="esnext.bigint" />
14
14
 
15
15
  // Base definitions for all NodeJS modules that are not specific to any version of TypeScript:
16
- // tslint:disable-next-line:no-bad-reference
17
16
  /// <reference path="../ts3.4/base.d.ts" />
18
17
 
19
18
  // TypeScript 3.4-specific augmentations:
@@ -4,5 +4,4 @@
4
4
 
5
5
  /// <reference path="base.d.ts" />
6
6
 
7
- // tslint:disable-next-line:no-bad-reference
8
7
  /// <reference path="../ts3.4/assert.d.ts" />