@types/node 10.17.23 → 10.17.27

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 v10.17/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/v10.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 19 May 2020 18:08:54 GMT
11
+ * Last updated: Fri, 10 Jul 2020 13:13:52 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Buffer`, `NodeJS`, `Symbol`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `require`, `setImmediate`, `setInterval`, `setTimeout`
14
14
 
node v10.17/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" />
@@ -692,6 +692,7 @@ declare namespace NodeJS {
692
692
  destroy(error?: Error): void;
693
693
  }
694
694
  interface ReadStream extends Socket {
695
+ readonly readableFlowing: boolean | null;
695
696
  readonly readableHighWaterMark: number;
696
697
  readonly readableLength: number;
697
698
  isRaw?: boolean;
node v10.17/http.d.ts CHANGED
@@ -15,6 +15,8 @@ declare module "http" {
15
15
  'access-control-allow-origin'?: string;
16
16
  'access-control-expose-headers'?: string;
17
17
  'access-control-max-age'?: string;
18
+ 'access-control-request-headers'?: string;
19
+ 'access-control-request-method'?: string;
18
20
  'age'?: string;
19
21
  'allow'?: string;
20
22
  'alt-svc'?: string;
@@ -41,6 +43,7 @@ declare module "http" {
41
43
  'if-unmodified-since'?: string;
42
44
  'last-modified'?: string;
43
45
  'location'?: string;
46
+ 'origin'?: string;
44
47
  'pragma'?: string;
45
48
  'proxy-authenticate'?: string;
46
49
  'proxy-authorization'?: string;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "10.17.23",
3
+ "version": "10.17.27",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -206,6 +206,6 @@
206
206
  },
207
207
  "scripts": {},
208
208
  "dependencies": {},
209
- "typesPublisherContentHash": "bef1559c7e87bb376972ad0b2461221809600f991c6be3940465e3c11104b925",
209
+ "typesPublisherContentHash": "79c3ba02c81185a8656269d0ec3f984c7839521d32b55e8dea46ce228ed18b27",
210
210
  "typeScriptVersion": "3.0"
211
211
  }
node v10.17/stream.d.ts CHANGED
@@ -18,6 +18,7 @@ declare module "stream" {
18
18
 
19
19
  class Readable extends Stream implements NodeJS.ReadableStream {
20
20
  readable: boolean;
21
+ readonly readableFlowing: boolean | null;
21
22
  readonly readableHighWaterMark: number;
22
23
  readonly readableLength: number;
23
24
  constructor(opts?: ReadableOptions);
node v10.17/util.d.ts CHANGED
@@ -112,6 +112,7 @@ declare module "util" {
112
112
  function isAnyArrayBuffer(object: any): boolean;
113
113
  function isArgumentsObject(object: any): object is IArguments;
114
114
  function isArrayBuffer(object: any): object is ArrayBuffer;
115
+ function isArrayBufferView(object: any): object is ArrayBufferView;
115
116
  function isAsyncFunction(object: any): boolean;
116
117
  function isBooleanObject(object: any): object is Boolean;
117
118
  function isBoxedPrimitive(object: any): object is (Number | Boolean | String | Symbol /* | Object(BigInt) | Object(Symbol) */);