@types/node 8.10.64 → 9.4.0

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.
@@ -244,7 +244,7 @@ declare module "inspector" {
244
244
  */
245
245
  export interface CallArgument {
246
246
  /**
247
- * Primitive value or serializable javascript object.
247
+ * Primitive value.
248
248
  */
249
249
  value?: any;
250
250
  /**
@@ -416,7 +416,7 @@ declare module "inspector" {
416
416
  */
417
417
  userGesture?: boolean;
418
418
  /**
419
- * Whether execution should <code>await</code> for resulting value and return once awaited promise is resolved.
419
+ * Whether execution should wait for promise to be resolved. If the result of evaluation is not a Promise, it's considered to be an error.
420
420
  */
421
421
  awaitPromise?: boolean;
422
422
  }
@@ -468,7 +468,7 @@ declare module "inspector" {
468
468
  */
469
469
  userGesture?: boolean;
470
470
  /**
471
- * Whether execution should <code>await</code> for resulting value and return once awaited promise is resolved.
471
+ * Whether execution should wait for promise to be resolved. If the result of evaluation is not a Promise, it's considered to be an error.
472
472
  */
473
473
  awaitPromise?: boolean;
474
474
  }
@@ -561,18 +561,11 @@ declare module "inspector" {
561
561
  */
562
562
  generatePreview?: boolean;
563
563
  /**
564
- * Whether execution should <code>await</code> for resulting value and return once awaited promise is resolved.
564
+ * Whether execution should wait for promise to be resolved. If the result of evaluation is not a Promise, it's considered to be an error.
565
565
  */
566
566
  awaitPromise?: boolean;
567
567
  }
568
568
 
569
- export interface QueryObjectsParameterType {
570
- /**
571
- * Identifier of the prototype to return objects for.
572
- */
573
- prototypeObjectId: Runtime.RemoteObjectId;
574
- }
575
-
576
569
  export interface EvaluateReturnType {
577
570
  /**
578
571
  * Evaluation result.
@@ -643,13 +636,6 @@ declare module "inspector" {
643
636
  exceptionDetails?: Runtime.ExceptionDetails;
644
637
  }
645
638
 
646
- export interface QueryObjectsReturnType {
647
- /**
648
- * Array with objects.
649
- */
650
- objects: Runtime.RemoteObject;
651
- }
652
-
653
639
  export interface ExecutionContextCreatedEventDataType {
654
640
  /**
655
641
  * A newly created execution context.
@@ -1490,10 +1476,6 @@ declare module "inspector" {
1490
1476
  * Collect accurate call counts beyond simple 'covered' or 'not covered'.
1491
1477
  */
1492
1478
  callCount?: boolean;
1493
- /**
1494
- * Collect block-based coverage.
1495
- */
1496
- detailed?: boolean;
1497
1479
  }
1498
1480
 
1499
1481
  export interface StopReturnType {
@@ -1767,12 +1749,6 @@ declare module "inspector" {
1767
1749
  */
1768
1750
  post(method: "Runtime.runScript", params?: Runtime.RunScriptParameterType, callback?: (err: Error | null, params: Runtime.RunScriptReturnType) => void): void;
1769
1751
  post(method: "Runtime.runScript", callback?: (err: Error | null, params: Runtime.RunScriptReturnType) => void): void;
1770
-
1771
- /**
1772
- * @experimental
1773
- */
1774
- post(method: "Runtime.queryObjects", params?: Runtime.QueryObjectsParameterType, callback?: (err: Error | null, params: Runtime.QueryObjectsReturnType) => void): void;
1775
- post(method: "Runtime.queryObjects", callback?: (err: Error | null, params: Runtime.QueryObjectsReturnType) => void): void;
1776
1752
  /**
1777
1753
  * Enables debugger for the given page. Clients should not assume that the debugging has been enabled until the result for this command is received.
1778
1754
  */
@@ -2506,7 +2482,7 @@ declare module "inspector" {
2506
2482
  export function close(): void;
2507
2483
 
2508
2484
  /**
2509
- * Return the URL of the active inspector, or `undefined` if there is none.
2485
+ * Return the URL of the active inspector, or undefined if there is none.
2510
2486
  */
2511
- export function url(): string | undefined;
2487
+ export function url(): string;
2512
2488
  }
@@ -1,29 +1,37 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "8.10.64",
3
+ "version": "9.4.0",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
7
7
  {
8
8
  "name": "Microsoft TypeScript",
9
- "url": "https://github.com/Microsoft",
10
- "githubUsername": "Microsoft"
9
+ "url": "http://typescriptlang.org"
11
10
  },
12
11
  {
13
12
  "name": "DefinitelyTyped",
14
- "url": "https://github.com/DefinitelyTyped",
15
- "githubUsername": "DefinitelyTyped"
13
+ "url": "https://github.com/DefinitelyTyped/DefinitelyTyped"
16
14
  },
17
15
  {
18
16
  "name": "Parambir Singh",
19
17
  "url": "https://github.com/parambirs",
20
18
  "githubUsername": "parambirs"
21
19
  },
20
+ {
21
+ "name": "Christian Vaagland Tellnes",
22
+ "url": "https://github.com/tellnes",
23
+ "githubUsername": "tellnes"
24
+ },
22
25
  {
23
26
  "name": "Wilco Bakker",
24
27
  "url": "https://github.com/WilcoBakker",
25
28
  "githubUsername": "WilcoBakker"
26
29
  },
30
+ {
31
+ "name": "Nicolas Voigt",
32
+ "url": "https://github.com/octo-sniffle",
33
+ "githubUsername": "octo-sniffle"
34
+ },
27
35
  {
28
36
  "name": "Chigozirim C.",
29
37
  "url": "https://github.com/smac89",
@@ -59,6 +67,11 @@
59
67
  "url": "https://github.com/alvis",
60
68
  "githubUsername": "alvis"
61
69
  },
70
+ {
71
+ "name": "Oliver Joseph Ash",
72
+ "url": "https://github.com/OliverJAsh",
73
+ "githubUsername": "OliverJAsh"
74
+ },
62
75
  {
63
76
  "name": "Sebastian Silbermann",
64
77
  "url": "https://github.com/eps1lon",
@@ -75,60 +88,18 @@
75
88
  "githubUsername": "jkomyno"
76
89
  },
77
90
  {
78
- "name": "Huw",
79
- "url": "https://github.com/hoo29",
80
- "githubUsername": "hoo29"
81
- },
82
- {
83
- "name": "Nicolas Even",
84
- "url": "https://github.com/n-e",
85
- "githubUsername": "n-e"
86
- },
87
- {
88
- "name": "Nikita Galkin",
89
- "url": "https://github.com/galkin",
90
- "githubUsername": "galkin"
91
- },
92
- {
93
- "name": "Bruno Scheufler",
94
- "url": "https://github.com/brunoscheufler",
95
- "githubUsername": "brunoscheufler"
96
- },
97
- {
98
- "name": "Hoàng Văn Khải",
99
- "url": "https://github.com/KSXGitHub",
100
- "githubUsername": "KSXGitHub"
101
- },
102
- {
103
- "name": "Lishude",
104
- "url": "https://github.com/islishude",
105
- "githubUsername": "islishude"
106
- },
107
- {
108
- "name": "Andrew Makarov",
109
- "url": "https://github.com/r3nya",
110
- "githubUsername": "r3nya"
111
- },
112
- {
113
- "name": "Jordi Oliveras Rovira",
114
- "url": "https://github.com/j-oliveras",
115
- "githubUsername": "j-oliveras"
116
- },
117
- {
118
- "name": "Thanik Bhongbhibhat",
119
- "url": "https://github.com/bhongy",
120
- "githubUsername": "bhongy"
91
+ "name": "Klaus Meinhardt",
92
+ "url": "https://github.com/ajafff",
93
+ "githubUsername": "ajafff"
121
94
  }
122
95
  ],
123
96
  "main": "",
124
- "types": "index.d.ts",
125
97
  "repository": {
126
98
  "type": "git",
127
- "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
128
- "directory": "types/node"
99
+ "url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
129
100
  },
130
101
  "scripts": {},
131
102
  "dependencies": {},
132
- "typesPublisherContentHash": "412e01334b09346e8cc13518d0162441efd1b659b30362ab9e5c8947dbd2042b",
133
- "typeScriptVersion": "3.2"
103
+ "typesPublisherContentHash": "8efabc85034b89d04180d8e2fa19723f5d680c42f764c4832105412ec68a5d5e",
104
+ "typeScriptVersion": "2.0"
134
105
  }
node v8.10/README.md DELETED
@@ -1,16 +0,0 @@
1
- # Installation
2
- > `npm install --save @types/node`
3
-
4
- # Summary
5
- This package contains type definitions for Node.js (http://nodejs.org/).
6
-
7
- # Details
8
- Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v8.
9
-
10
- ### Additional Details
11
- * Last updated: Wed, 16 Sep 2020 21:16:10 GMT
12
- * Dependencies: none
13
- * Global values: `Buffer`, `NodeJS`, `SlowBuffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `require`, `setImmediate`, `setInterval`, `setTimeout`
14
-
15
- # Credits
16
- These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Parambir Singh](https://github.com/parambirs), [Wilco Bakker](https://github.com/WilcoBakker), [Chigozirim C.](https://github.com/smac89), [Flarna](https://github.com/Flarna), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [wwwy3y3](https://github.com/wwwy3y3), [Deividas Bakanas](https://github.com/DeividasBakanas), [Kelvin Jin](https://github.com/kjin), [Alvis HT Tang](https://github.com/alvis), [Sebastian Silbermann](https://github.com/eps1lon), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Alberto Schiabel](https://github.com/jkomyno), [Huw](https://github.com/hoo29), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Bruno Scheufler](https://github.com/brunoscheufler), [Hoàng Văn Khải](https://github.com/KSXGitHub), [Lishude](https://github.com/islishude), [Andrew Makarov](https://github.com/r3nya), [Jordi Oliveras Rovira](https://github.com/j-oliveras), and [Thanik Bhongbhibhat](https://github.com/bhongy).
node v8.10/index.d.ts DELETED
@@ -1,48 +0,0 @@
1
- // Type definitions for Node.js 8.10
2
- // Project: http://nodejs.org/
3
- // Definitions by: Microsoft TypeScript <https://github.com/Microsoft>
4
- // DefinitelyTyped <https://github.com/DefinitelyTyped>
5
- // Parambir Singh <https://github.com/parambirs>
6
- // Wilco Bakker <https://github.com/WilcoBakker>
7
- // Chigozirim C. <https://github.com/smac89>
8
- // Flarna <https://github.com/Flarna>
9
- // Mariusz Wiktorczyk <https://github.com/mwiktorczyk>
10
- // wwwy3y3 <https://github.com/wwwy3y3>
11
- // Deividas Bakanas <https://github.com/DeividasBakanas>
12
- // Kelvin Jin <https://github.com/kjin>
13
- // Alvis HT Tang <https://github.com/alvis>
14
- // Sebastian Silbermann <https://github.com/eps1lon>
15
- // Hannes Magnusson <https://github.com/Hannes-Magnusson-CK>
16
- // Alberto Schiabel <https://github.com/jkomyno>
17
- // Huw <https://github.com/hoo29>
18
- // Nicolas Even <https://github.com/n-e>
19
- // Nikita Galkin <https://github.com/galkin>
20
- // Bruno Scheufler <https://github.com/brunoscheufler>
21
- // Hoàng Văn Khải <https://github.com/KSXGitHub>
22
- // Lishude <https://github.com/islishude>
23
- // Andrew Makarov <https://github.com/r3nya>
24
- // Jordi Oliveras Rovira <https://github.com/j-oliveras>
25
- // Thanik Bhongbhibhat <https://github.com/bhongy>
26
- // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
27
- // NOTE: These definitions support NodeJS and TypeScript 3.2.
28
-
29
- // NOTE: TypeScript version-specific augmentations can be found in the following paths:
30
- // - ~/base.d.ts - Shared definitions common to all TypeScript versions
31
- // - ~/index.d.ts - Definitions specific to TypeScript 2.1
32
- // - ~/ts3.2/index.d.ts - Definitions specific to TypeScript 3.2
33
-
34
- // Reference required types from the default lib:
35
- /// <reference lib="es2017" />
36
-
37
- // Base definitions for all NodeJS modules that are not specific to any version of TypeScript:
38
- /// <reference path="base.d.ts" />
39
-
40
- // TypeScript 3.2-specific augmentations:
41
- declare module "util" {
42
- namespace inspect {
43
- const custom: unique symbol;
44
- }
45
- namespace promisify {
46
- const custom: unique symbol;
47
- }
48
- }