@types/node 14.14.2 → 14.14.6

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 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: Wed, 21 Oct 2020 21:01:39 GMT
11
+ * Last updated: Wed, 28 Oct 2020 18:55:35 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/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:
node/globals.d.ts CHANGED
@@ -559,7 +559,6 @@ declare namespace NodeJS {
559
559
  type ArrayBufferView = TypedArray | DataView;
560
560
 
561
561
  interface Require {
562
- /* tslint:disable-next-line:callable-types */
563
562
  (id: string): any;
564
563
  resolve: RequireResolve;
565
564
  cache: Dict<NodeModule>;
node/http.d.ts CHANGED
@@ -51,6 +51,11 @@ declare module "http" {
51
51
  'range'?: string;
52
52
  'referer'?: string;
53
53
  'retry-after'?: string;
54
+ 'sec-websocket-accept'?: string;
55
+ 'sec-websocket-extensions'?: string;
56
+ 'sec-websocket-key'?: string;
57
+ 'sec-websocket-protocol'?: string;
58
+ 'sec-websocket-version'?: string;
54
59
  'set-cookie'?: string[];
55
60
  'strict-transport-security'?: string;
56
61
  'tk'?: string;
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "14.14.2",
3
+ "version": "14.14.6",
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": "62f78f9df1f7c9ffe432964d2b1c5f35197a03ed078462d1b663de35f91bd3c4",
249
+ "typesPublisherContentHash": "1d51f247935976ab4813ff9000f53f55476586bb3594e4b964bd47728da00a20",
250
250
  "typeScriptVersion": "3.2"
251
251
  }
node/process.d.ts CHANGED
@@ -295,6 +295,8 @@ declare module "process" {
295
295
 
296
296
  resourceUsage(): ResourceUsage;
297
297
 
298
+ traceDeprecation: boolean;
299
+
298
300
  /* EventEmitter */
299
301
  addListener(event: "beforeExit", listener: BeforeExitListener): this;
300
302
  addListener(event: "disconnect", listener: DisconnectListener): this;
node/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
+ * @deprecated since v14.3.0 - Use `input` instead.
140
140
  */
141
141
  readonly inputStream: NodeJS.ReadableStream;
142
142
  /**
143
- * The `Writable` stream to which REPL output will be written.
143
+ * @deprecated since v14.3.0 - Use `output` instead.
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
  */
node/ts3.6/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.4/base.d.ts" />
18
17
 
19
18
  // TypeScript 3.5-specific augmentations:
node/ts3.6/index.d.ts CHANGED
@@ -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" />
node/zlib.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /* tslint:enable: unified-signatures */
2
1
  declare module "zlib" {
3
2
  import * as stream from "stream";
4
3