@types/node 10.17.13 → 10.17.17

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.
Files changed (49) hide show
  1. {node v10 → node v10.17}/LICENSE +0 -0
  2. node v10.17/README.md +16 -0
  3. {node v10 → node v10.17}/assert.d.ts +0 -0
  4. {node v10 → node v10.17}/async_hooks.d.ts +0 -0
  5. {node v10 → node v10.17}/base.d.ts +0 -0
  6. {node v10 → node v10.17}/buffer.d.ts +0 -0
  7. {node v10 → node v10.17}/child_process.d.ts +0 -0
  8. {node v10 → node v10.17}/cluster.d.ts +0 -0
  9. {node v10 → node v10.17}/console.d.ts +0 -0
  10. {node v10 → node v10.17}/constants.d.ts +0 -0
  11. {node v10 → node v10.17}/crypto.d.ts +0 -0
  12. {node v10 → node v10.17}/dgram.d.ts +0 -0
  13. {node v10 → node v10.17}/dns.d.ts +0 -0
  14. {node v10 → node v10.17}/domain.d.ts +0 -0
  15. {node v10 → node v10.17}/events.d.ts +0 -0
  16. {node v10 → node v10.17}/fs.d.ts +0 -0
  17. {node v10 → node v10.17}/globals.d.ts +6 -0
  18. {node v10 → node v10.17}/http.d.ts +0 -0
  19. {node v10 → node v10.17}/http2.d.ts +0 -0
  20. {node v10 → node v10.17}/https.d.ts +0 -0
  21. {node v10 → node v10.17}/index.d.ts +1 -0
  22. {node v10 → node v10.17}/inspector.d.ts +0 -0
  23. {node v10 → node v10.17}/module.d.ts +0 -0
  24. {node v10 → node v10.17}/net.d.ts +0 -0
  25. {node v10 → node v10.17}/os.d.ts +0 -0
  26. {node v10 → node v10.17}/package.json +7 -2
  27. {node v10 → node v10.17}/path.d.ts +0 -0
  28. {node v10 → node v10.17}/perf_hooks.d.ts +0 -0
  29. {node v10 → node v10.17}/process.d.ts +0 -0
  30. {node v10 → node v10.17}/punycode.d.ts +0 -0
  31. {node v10 → node v10.17}/querystring.d.ts +0 -0
  32. {node v10 → node v10.17}/readline.d.ts +1 -0
  33. {node v10 → node v10.17}/repl.d.ts +0 -0
  34. {node v10 → node v10.17}/stream.d.ts +0 -0
  35. {node v10 → node v10.17}/string_decoder.d.ts +0 -0
  36. {node v10 → node v10.17}/timers.d.ts +0 -0
  37. {node v10 → node v10.17}/tls.d.ts +0 -0
  38. {node v10 → node v10.17}/trace_events.d.ts +0 -0
  39. {node v10 → node v10.17}/ts3.2/globals.d.ts +0 -0
  40. {node v10 → node v10.17}/ts3.2/index.d.ts +0 -0
  41. {node v10 → node v10.17}/ts3.2/util.d.ts +0 -0
  42. {node v10 → node v10.17}/tty.d.ts +1 -1
  43. {node v10 → node v10.17}/url.d.ts +0 -0
  44. {node v10 → node v10.17}/util.d.ts +0 -0
  45. {node v10 → node v10.17}/v8.d.ts +0 -0
  46. {node v10 → node v10.17}/vm.d.ts +1 -1
  47. {node v10 → node v10.17}/worker_threads.d.ts +0 -0
  48. {node v10 → node v10.17}/zlib.d.ts +0 -0
  49. node v10/README.md +0 -16
File without changes
@@ -0,0 +1,16 @@
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/v10.
9
+
10
+ ### Additional Details
11
+ * Last updated: Fri, 28 Feb 2020 18:57:47 GMT
12
+ * Dependencies: none
13
+ * Global values: `Buffer`, `NodeJS`, `Symbol`, `__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), [Alberto Schiabel](https://github.com/jkomyno), [Alexander T.](https://github.com/a-tarasyuk), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Bruno Scheufler](https://github.com/brunoscheufler), [Chigozirim C.](https://github.com/smac89), [Christian Vaagland Tellnes](https://github.com/tellnes), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Flarna](https://github.com/Flarna), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Hoàng Văn Khải](https://github.com/KSXGitHub), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nicolas Voigt](https://github.com/octo-sniffle), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Zane Hannan AU](https://github.com/ZaneHannanAU), [Jeremie Rodriguez](https://github.com/jeremiergz), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Jordi Oliveras Rovira](https://github.com/j-oliveras), [Thanik Bhongbhibhat](https://github.com/bhongy), [Minh Son Nguyen](https://github.com/nguymin4), and [ExE Boss](https://github.com/ExE-Boss).
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -350,6 +350,12 @@ declare const Buffer: {
350
350
  */
351
351
  from(data: any[]): Buffer;
352
352
  from(data: Uint8Array): Buffer;
353
+ /**
354
+ * Creates a new buffer containing the coerced value of an object
355
+ * A `TypeError` will be thrown if {obj} has not mentioned methods or is not of other type appropriate for `Buffer.from()` variants.
356
+ * @param obj An object supporting `Symbol.toPrimitive` or `valueOf()`.
357
+ */
358
+ from(obj: { valueOf(): string | object } | { [Symbol.toPrimitive](hint: 'string'): string }, byteOffset?: number, length?: number): Buffer;
353
359
  /**
354
360
  * Creates a new Buffer containing the given JavaScript string {str}.
355
361
  * If provided, the {encoding} parameter identifies the character encoding.
File without changes
File without changes
File without changes
@@ -36,6 +36,7 @@
36
36
  // Jordi Oliveras Rovira <https://github.com/j-oliveras>
37
37
  // Thanik Bhongbhibhat <https://github.com/bhongy>
38
38
  // Minh Son Nguyen <https://github.com/nguymin4>
39
+ // ExE Boss <https://github.com/ExE-Boss>
39
40
  // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
40
41
 
41
42
  // NOTE: These definitions support NodeJS and TypeScript 3.1.
File without changes
File without changes
File without changes
File without changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "10.17.13",
3
+ "version": "10.17.17",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -183,6 +183,11 @@
183
183
  "name": "Minh Son Nguyen",
184
184
  "url": "https://github.com/nguymin4",
185
185
  "githubUsername": "nguymin4"
186
+ },
187
+ {
188
+ "name": "ExE Boss",
189
+ "url": "https://github.com/ExE-Boss",
190
+ "githubUsername": "ExE-Boss"
186
191
  }
187
192
  ],
188
193
  "main": "",
@@ -201,6 +206,6 @@
201
206
  },
202
207
  "scripts": {},
203
208
  "dependencies": {},
204
- "typesPublisherContentHash": "ab366056b7549388af23a01e59a9938550aa9d5546ee808aca44dec4d4d923ea",
209
+ "typesPublisherContentHash": "7d6f8290882f920a2741c956fc45883d6dadecf068551d535b85eb4e687d72ed",
205
210
  "typeScriptVersion": "2.8"
206
211
  }
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -129,6 +129,7 @@ declare module "readline" {
129
129
  prompt?: string;
130
130
  crlfDelay?: number;
131
131
  removeHistoryDuplicates?: boolean;
132
+ escapeCodeTimeout?: number;
132
133
  }
133
134
 
134
135
  function createInterface(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer | AsyncCompleter, terminal?: boolean): Interface;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -5,7 +5,7 @@ declare module "tty" {
5
5
  class ReadStream extends net.Socket {
6
6
  constructor(fd: number, options?: net.SocketConstructorOpts);
7
7
  isRaw: boolean;
8
- setRawMode(mode: boolean): void;
8
+ setRawMode(mode: boolean): this;
9
9
  isTTY: boolean;
10
10
  }
11
11
  class WriteStream extends net.Socket {
File without changes
File without changes
File without changes
@@ -75,5 +75,5 @@ declare module "vm" {
75
75
  function runInContext(code: string, contextifiedSandbox: Context, options?: RunningScriptOptions | string): any;
76
76
  function runInNewContext(code: string, sandbox?: Context, options?: RunningScriptOptions | string): any;
77
77
  function runInThisContext(code: string, options?: RunningScriptOptions | string): any;
78
- function compileFunction(code: string, params: string[], options: CompileFunctionOptions): Function;
78
+ function compileFunction(code: string, params?: string[], options?: CompileFunctionOptions): Function;
79
79
  }
File without changes
File without changes
node v10/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/v10.
9
-
10
- ### Additional Details
11
- * Last updated: Thu, 26 Dec 2019 17:07:04 GMT
12
- * Dependencies: none
13
- * Global values: `Buffer`, `NodeJS`, `Symbol`, `__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), Alberto Schiabel (https://github.com/jkomyno), Alexander T. (https://github.com/a-tarasyuk), Alvis HT Tang (https://github.com/alvis), Andrew Makarov (https://github.com/r3nya), Bruno Scheufler (https://github.com/brunoscheufler), Chigozirim C. (https://github.com/smac89), Christian Vaagland Tellnes (https://github.com/tellnes), Deividas Bakanas (https://github.com/DeividasBakanas), Eugene Y. Q. Shen (https://github.com/eyqs), Flarna (https://github.com/Flarna), Hannes Magnusson (https://github.com/Hannes-Magnusson-CK), Hoàng Văn Khải (https://github.com/KSXGitHub), Huw (https://github.com/hoo29), Kelvin Jin (https://github.com/kjin), Klaus Meinhardt (https://github.com/ajafff), Lishude (https://github.com/islishude), Mariusz Wiktorczyk (https://github.com/mwiktorczyk), Mohsen Azimi (https://github.com/mohsen1), Nicolas Even (https://github.com/n-e), Nicolas Voigt (https://github.com/octo-sniffle), Nikita Galkin (https://github.com/galkin), Parambir Singh (https://github.com/parambirs), Sebastian Silbermann (https://github.com/eps1lon), Simon Schick (https://github.com/SimonSchick), Thomas den Hollander (https://github.com/ThomasdenH), Wilco Bakker (https://github.com/WilcoBakker), wwwy3y3 (https://github.com/wwwy3y3), Zane Hannan AU (https://github.com/ZaneHannanAU), Jeremie Rodriguez (https://github.com/jeremiergz), Samuel Ainsworth (https://github.com/samuela), Kyle Uehlein (https://github.com/kuehlein), Jordi Oliveras Rovira (https://github.com/j-oliveras), Thanik Bhongbhibhat (https://github.com/bhongy), and Minh Son Nguyen (https://github.com/nguymin4).