@types/node 14.0.10 → 14.0.14

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: Thu, 04 Jun 2020 01:03:29 GMT
11
+ * Last updated: Wed, 24 Jun 2020 08:56:20 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Buffer`, `Symbol`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
14
14
 
node/base.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // base definnitions for all NodeJS modules that are not specific to any version of TypeScript
1
+ // base definitions for all NodeJS modules that are not specific to any version of TypeScript
2
2
  /// <reference path="globals.d.ts" />
3
3
  /// <reference path="async_hooks.d.ts" />
4
4
  /// <reference path="buffer.d.ts" />
node/globals.d.ts CHANGED
@@ -768,11 +768,11 @@ declare namespace NodeJS {
768
768
 
769
769
  interface Process extends EventEmitter {
770
770
  /**
771
- * Can also be a tty.WriteStream, not typed due to limitation.s
771
+ * Can also be a tty.WriteStream, not typed due to limitations.
772
772
  */
773
773
  stdout: WriteStream;
774
774
  /**
775
- * Can also be a tty.WriteStream, not typed due to limitation.s
775
+ * Can also be a tty.WriteStream, not typed due to limitations.
776
776
  */
777
777
  stderr: WriteStream;
778
778
  stdin: ReadStream;
node/http.d.ts CHANGED
@@ -16,6 +16,8 @@ declare module "http" {
16
16
  'access-control-allow-origin'?: string;
17
17
  'access-control-expose-headers'?: string;
18
18
  'access-control-max-age'?: string;
19
+ 'access-control-request-headers'?: string;
20
+ 'access-control-request-method'?: string;
19
21
  'age'?: string;
20
22
  'allow'?: string;
21
23
  'alt-svc'?: string;
@@ -42,6 +44,7 @@ declare module "http" {
42
44
  'if-unmodified-since'?: string;
43
45
  'last-modified'?: string;
44
46
  'location'?: string;
47
+ 'origin'?: string;
45
48
  'pragma'?: string;
46
49
  'proxy-authenticate'?: string;
47
50
  'proxy-authorization'?: string;
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "14.0.10",
3
+ "version": "14.0.14",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -251,6 +251,6 @@
251
251
  },
252
252
  "scripts": {},
253
253
  "dependencies": {},
254
- "typesPublisherContentHash": "e9a971db937637af2caef8c0c374aa8cd71a192036ba26b738b2dae1109e62ee",
254
+ "typesPublisherContentHash": "8cd461b1ef1172c83468acd55faa2e179945580cb68adf361b406fd41eed66df",
255
255
  "typeScriptVersion": "3.0"
256
256
  }
node/stream.d.ts CHANGED
@@ -26,6 +26,8 @@ declare module "stream" {
26
26
  static from(iterable: Iterable<any> | AsyncIterable<any>, options?: ReadableOptions): Readable;
27
27
 
28
28
  readable: boolean;
29
+ readonly readableEncoding: BufferEncoding | null;
30
+ readonly readableEnded: boolean;
29
31
  readonly readableHighWaterMark: number;
30
32
  readonly readableLength: number;
31
33
  readonly readableObjectMode: boolean;