@types/node 11.15.3 → 11.15.7

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 v11 → node v11.15}/LICENSE +0 -0
  2. node v11.15/README.md +16 -0
  3. {node v11 → node v11.15}/assert.d.ts +0 -0
  4. {node v11 → node v11.15}/async_hooks.d.ts +0 -0
  5. {node v11 → node v11.15}/base.d.ts +0 -0
  6. {node v11 → node v11.15}/buffer.d.ts +0 -0
  7. {node v11 → node v11.15}/child_process.d.ts +0 -0
  8. {node v11 → node v11.15}/cluster.d.ts +0 -0
  9. {node v11 → node v11.15}/console.d.ts +0 -0
  10. {node v11 → node v11.15}/constants.d.ts +0 -0
  11. {node v11 → node v11.15}/crypto.d.ts +0 -0
  12. {node v11 → node v11.15}/dgram.d.ts +0 -0
  13. {node v11 → node v11.15}/dns.d.ts +0 -0
  14. {node v11 → node v11.15}/domain.d.ts +0 -0
  15. {node v11 → node v11.15}/events.d.ts +0 -0
  16. {node v11 → node v11.15}/fs.d.ts +0 -0
  17. {node v11 → node v11.15}/globals.d.ts +6 -0
  18. {node v11 → node v11.15}/http.d.ts +0 -0
  19. {node v11 → node v11.15}/http2.d.ts +0 -0
  20. {node v11 → node v11.15}/https.d.ts +0 -0
  21. {node v11 → node v11.15}/index.d.ts +2 -1
  22. {node v11 → node v11.15}/inspector.d.ts +0 -0
  23. {node v11 → node v11.15}/module.d.ts +0 -0
  24. {node v11 → node v11.15}/net.d.ts +0 -0
  25. {node v11 → node v11.15}/os.d.ts +0 -0
  26. {node v11 → node v11.15}/package.json +7 -2
  27. {node v11 → node v11.15}/path.d.ts +0 -0
  28. {node v11 → node v11.15}/perf_hooks.d.ts +0 -0
  29. {node v11 → node v11.15}/process.d.ts +0 -0
  30. {node v11 → node v11.15}/punycode.d.ts +0 -0
  31. {node v11 → node v11.15}/querystring.d.ts +0 -0
  32. {node v11 → node v11.15}/readline.d.ts +1 -0
  33. {node v11 → node v11.15}/repl.d.ts +0 -0
  34. {node v11 → node v11.15}/stream.d.ts +0 -0
  35. {node v11 → node v11.15}/string_decoder.d.ts +0 -0
  36. {node v11 → node v11.15}/timers.d.ts +0 -0
  37. {node v11 → node v11.15}/tls.d.ts +0 -0
  38. {node v11 → node v11.15}/trace_events.d.ts +0 -0
  39. {node v11 → node v11.15}/ts3.2/globals.d.ts +0 -0
  40. {node v11 → node v11.15}/ts3.2/index.d.ts +0 -0
  41. {node v11 → node v11.15}/ts3.2/util.d.ts +0 -0
  42. {node v11 → node v11.15}/tty.d.ts +0 -0
  43. {node v11 → node v11.15}/url.d.ts +0 -0
  44. {node v11 → node v11.15}/util.d.ts +0 -0
  45. {node v11 → node v11.15}/v8.d.ts +0 -0
  46. {node v11 → node v11.15}/vm.d.ts +1 -1
  47. {node v11 → node v11.15}/worker_threads.d.ts +0 -0
  48. {node v11 → node v11.15}/zlib.d.ts +0 -0
  49. node v11/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/v11.
9
+
10
+ ### Additional Details
11
+ * Last updated: Wed, 19 Feb 2020 19:24:25 GMT
12
+ * Dependencies: none
13
+ * Global values: `Buffer`, `NodeJS`, `Symbol`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `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), [Benjamin Toueg](https://github.com/btoueg), [Bruno Scheufler](https://github.com/brunoscheufler), [Chigozirim C.](https://github.com/smac89), [Christian Vaagland Tellnes](https://github.com/tellnes), [David Junger](https://github.com/touffy), [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), [Ivan Sieder](https://github.com/ivansieder), [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
@@ -362,6 +362,12 @@ declare const Buffer: {
362
362
  */
363
363
  from(data: number[]): Buffer;
364
364
  from(data: Uint8Array): Buffer;
365
+ /**
366
+ * Creates a new buffer containing the coerced value of an object
367
+ * A `TypeError` will be thrown if {obj} has not mentioned methods or is not of other type appropriate for `Buffer.from()` variants.
368
+ * @param obj An object supporting `Symbol.toPrimitive` or `valueOf()`.
369
+ */
370
+ from(obj: { valueOf(): string | object } | { [Symbol.toPrimitive](hint: 'string'): string }, byteOffset?: number, length?: number): Buffer;
365
371
  /**
366
372
  * Creates a new Buffer containing the given JavaScript string {str}.
367
373
  * If provided, the {encoding} parameter identifies the character encoding.
File without changes
File without changes
File without changes
@@ -39,6 +39,7 @@
39
39
  // Thanik Bhongbhibhat <https://github.com/bhongy>
40
40
  // Ivan Sieder <https://github.com/ivansieder>
41
41
  // Minh Son Nguyen <https://github.com/nguymin4>
42
+ // ExE Boss <https://github.com/ExE-Boss>
42
43
  // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
43
44
 
44
45
  // NOTE: These definitions support NodeJS and TypeScript 3.2.
@@ -59,7 +60,7 @@
59
60
 
60
61
  // Forward-declarations for needed types from es2015 and later (in case users are using `--lib es5`)
61
62
  // Empty interfaces are used here which merge fine with the real declarations in the lib XXX files
62
- // just to ensure the names are known and node typings can be sued without importing these libs.
63
+ // just to ensure the names are known and node typings can be used without importing these libs.
63
64
  // if someone really needs these types the libs need to be added via --lib or in tsconfig.json
64
65
  interface MapConstructor { }
65
66
  interface WeakMapConstructor { }
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": "11.15.3",
3
+ "version": "11.15.7",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -198,6 +198,11 @@
198
198
  "name": "Minh Son Nguyen",
199
199
  "url": "https://github.com/nguymin4",
200
200
  "githubUsername": "nguymin4"
201
+ },
202
+ {
203
+ "name": "ExE Boss",
204
+ "url": "https://github.com/ExE-Boss",
205
+ "githubUsername": "ExE-Boss"
201
206
  }
202
207
  ],
203
208
  "main": "",
@@ -216,6 +221,6 @@
216
221
  },
217
222
  "scripts": {},
218
223
  "dependencies": {},
219
- "typesPublisherContentHash": "0510b77886cf8745dfae67bea2c89cabfea1b3944f6700f254e0012cc9364495",
224
+ "typesPublisherContentHash": "f7dd2a714312abd021f571954256573484ad4e43fc554efb0cd73159617ce7ce",
220
225
  "typeScriptVersion": "2.8"
221
226
  }
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -123,6 +123,7 @@ declare module "readline" {
123
123
  prompt?: string;
124
124
  crlfDelay?: number;
125
125
  removeHistoryDuplicates?: boolean;
126
+ escapeCodeTimeout?: number;
126
127
  }
127
128
 
128
129
  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
File without changes
File without changes
File without changes
File without changes
@@ -60,5 +60,5 @@ declare module "vm" {
60
60
  function runInContext(code: string, contextifiedSandbox: Context, options?: RunningScriptOptions | string): any;
61
61
  function runInNewContext(code: string, sandbox?: Context, options?: RunningScriptOptions | string): any;
62
62
  function runInThisContext(code: string, options?: RunningScriptOptions | string): any;
63
- function compileFunction(code: string, params: string[], options: CompileFunctionOptions): Function;
63
+ function compileFunction(code: string, params?: string[], options?: CompileFunctionOptions): Function;
64
64
  }
File without changes
File without changes
node v11/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/v11.
9
-
10
- ### Additional Details
11
- * Last updated: Mon, 25 Nov 2019 22:05:13 GMT
12
- * Dependencies: none
13
- * Global values: `Buffer`, `NodeJS`, `Symbol`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `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), Benjamin Toueg (https://github.com/btoueg), Bruno Scheufler (https://github.com/brunoscheufler), Chigozirim C. (https://github.com/smac89), Christian Vaagland Tellnes (https://github.com/tellnes), David Junger (https://github.com/touffy), 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), Ivan Sieder (https://github.com/ivansieder), and Minh Son Nguyen (https://github.com/nguymin4).