@types/node 8.10.35 → 8.10.39

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 v8/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) Microsoft Corporation. All rights reserved.
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation. All rights reserved.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE
node v8/README.md CHANGED
@@ -8,9 +8,9 @@ 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/v8
9
9
 
10
10
  Additional Details
11
- * Last updated: Mon, 08 Oct 2018 22:12:11 GMT
11
+ * Last updated: Tue, 18 Dec 2018 21:35:10 GMT
12
12
  * Dependencies: none
13
13
  * Global values: Buffer, NodeJS, SlowBuffer, Symbol, __dirname, __filename, clearImmediate, clearInterval, clearTimeout, console, exports, global, module, process, require, setImmediate, setInterval, setTimeout
14
14
 
15
15
  # Credits
16
- These definitions were written by Microsoft TypeScript <http://typescriptlang.org>, DefinitelyTyped <https://github.com/DefinitelyTyped/DefinitelyTyped>, Parambir Singh <https://github.com/parambirs>, Christian Vaagland Tellnes <https://github.com/tellnes>, Wilco Bakker <https://github.com/WilcoBakker>, Nicolas Voigt <https://github.com/octo-sniffle>, 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>, 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>.
16
+ These definitions were written by Microsoft TypeScript <https://github.com/Microsoft>, DefinitelyTyped <https://github.com/DefinitelyTyped>, Parambir Singh <https://github.com/parambirs>, Christian Vaagland Tellnes <https://github.com/tellnes>, Wilco Bakker <https://github.com/WilcoBakker>, Nicolas Voigt <https://github.com/octo-sniffle>, 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>, 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>.
node v8/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- // Type definitions for Node.js 8.10.x
1
+ // Type definitions for Node.js 8.10
2
2
  // Project: http://nodejs.org/
3
- // Definitions by: Microsoft TypeScript <http://typescriptlang.org>
4
- // DefinitelyTyped <https://github.com/DefinitelyTyped/DefinitelyTyped>
3
+ // Definitions by: Microsoft TypeScript <https://github.com/Microsoft>
4
+ // DefinitelyTyped <https://github.com/DefinitelyTyped>
5
5
  // Parambir Singh <https://github.com/parambirs>
6
6
  // Christian Vaagland Tellnes <https://github.com/tellnes>
7
7
  // Wilco Bakker <https://github.com/WilcoBakker>
@@ -32,15 +32,32 @@
32
32
  interface Console {
33
33
  Console: NodeJS.ConsoleConstructor;
34
34
  assert(value: any, message?: string, ...optionalParams: any[]): void;
35
- dir(obj: any, options?: NodeJS.InspectOptions): void;
35
+ clear(): void;
36
+ count(label?: string): void;
37
+ countReset(label?: string): void;
36
38
  debug(message?: any, ...optionalParams: any[]): void;
39
+ dir(obj: any, options?: NodeJS.InspectOptions): void;
37
40
  error(message?: any, ...optionalParams: any[]): void;
41
+ group(...label: any[]): void;
42
+ groupCollapsed(): void;
43
+ groupEnd(): void;
38
44
  info(message?: any, ...optionalParams: any[]): void;
39
45
  log(message?: any, ...optionalParams: any[]): void;
40
46
  time(label: string): void;
41
47
  timeEnd(label: string): void;
42
48
  trace(message?: any, ...optionalParams: any[]): void;
43
49
  warn(message?: any, ...optionalParams: any[]): void;
50
+
51
+ // --- Inspector mode only ---
52
+ /** @deprecated Use console.timeStamp() instead. */
53
+ markTimeline(label?: string): void;
54
+ profile(label?: string): void;
55
+ profileEnd(label?: string): void;
56
+ timeStamp(label?: string): void;
57
+ /** @deprecated Use console.time() instead. */
58
+ timeline(label?: string): void;
59
+ /** @deprecated Use console.timeEnd() instead. */
60
+ timelineEnd(label?: string): void;
44
61
  }
45
62
 
46
63
  interface Error {
@@ -4770,7 +4787,7 @@ declare module "path" {
4770
4787
  /**
4771
4788
  * The right-most parameter is considered {to}. Other parameters are considered an array of {from}.
4772
4789
  *
4773
- * Starting from leftmost {from} paramter, resolves {to} to an absolute path.
4790
+ * Starting from leftmost {from} parameter, resolves {to} to an absolute path.
4774
4791
  *
4775
4792
  * If {to} isn't already absolute, {from} arguments are prepended in right to left order, until an absolute path is found. If after using all {from} paths still no absolute path is found, the current working directory is used as well. The resulting path is normalized, and trailing slashes are removed unless the path gets resolved to the root directory.
4776
4793
  *
@@ -5327,8 +5344,8 @@ declare module "crypto" {
5327
5344
  export interface Signer extends NodeJS.WritableStream {
5328
5345
  update(data: string | Buffer | DataView): Signer;
5329
5346
  update(data: string | Buffer | DataView, input_encoding: Utf8AsciiLatin1Encoding): Signer;
5330
- sign(private_key: string | { key: string; passphrase: string }): Buffer;
5331
- sign(private_key: string | { key: string; passphrase: string }, output_format: HexBase64Latin1Encoding): string;
5347
+ sign(private_key: string | { key: string; passphrase?: string }): Buffer;
5348
+ sign(private_key: string | { key: string; passphrase?: string }, output_format: HexBase64Latin1Encoding): string;
5332
5349
  }
5333
5350
  export function createVerify(algorith: string): Verify;
5334
5351
  export interface Verify extends NodeJS.WritableStream {
node v8/package.json CHANGED
@@ -1,16 +1,18 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "8.10.35",
3
+ "version": "8.10.39",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
7
7
  {
8
8
  "name": "Microsoft TypeScript",
9
- "url": "http://typescriptlang.org"
9
+ "url": "https://github.com/Microsoft",
10
+ "githubUsername": "Microsoft"
10
11
  },
11
12
  {
12
13
  "name": "DefinitelyTyped",
13
- "url": "https://github.com/DefinitelyTyped/DefinitelyTyped"
14
+ "url": "https://github.com/DefinitelyTyped",
15
+ "githubUsername": "DefinitelyTyped"
14
16
  },
15
17
  {
16
18
  "name": "Parambir Singh",
@@ -114,12 +116,13 @@
114
116
  }
115
117
  ],
116
118
  "main": "",
119
+ "types": "index",
117
120
  "repository": {
118
121
  "type": "git",
119
122
  "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
120
123
  },
121
124
  "scripts": {},
122
125
  "dependencies": {},
123
- "typesPublisherContentHash": "a46bc617c9c13a18b4b5912c765166795444ffdc18d86191bcfed661148b729a",
126
+ "typesPublisherContentHash": "d055b62a5bb5517a995893a449706ba24e92c4413d1a5d59c0a744c2bfb3d4de",
124
127
  "typeScriptVersion": "2.1"
125
128
  }