@types/node 13.13.47 → 13.13.51

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 (50) hide show
  1. node v13.13/LICENSE +0 -0
  2. node v13.13/README.md +2 -2
  3. node v13.13/assert.d.ts +0 -0
  4. node v13.13/async_hooks.d.ts +1 -1
  5. node v13.13/base.d.ts +0 -0
  6. node v13.13/buffer.d.ts +0 -0
  7. node v13.13/child_process.d.ts +0 -0
  8. node v13.13/cluster.d.ts +0 -0
  9. node v13.13/console.d.ts +0 -0
  10. node v13.13/constants.d.ts +0 -0
  11. node v13.13/crypto.d.ts +0 -0
  12. node v13.13/dgram.d.ts +0 -0
  13. node v13.13/dns.d.ts +0 -0
  14. node v13.13/domain.d.ts +0 -0
  15. node v13.13/events.d.ts +0 -0
  16. node v13.13/fs.d.ts +0 -0
  17. node v13.13/globals.d.ts +42 -1
  18. node v13.13/globals.global.d.ts +0 -0
  19. node v13.13/http.d.ts +1 -0
  20. node v13.13/http2.d.ts +0 -0
  21. node v13.13/https.d.ts +0 -0
  22. node v13.13/index.d.ts +0 -1
  23. node v13.13/inspector.d.ts +0 -0
  24. node v13.13/module.d.ts +0 -0
  25. node v13.13/net.d.ts +0 -0
  26. node v13.13/os.d.ts +0 -0
  27. node v13.13/package.json +2 -7
  28. node v13.13/path.d.ts +0 -0
  29. node v13.13/perf_hooks.d.ts +0 -0
  30. node v13.13/process.d.ts +0 -0
  31. node v13.13/punycode.d.ts +0 -0
  32. node v13.13/querystring.d.ts +0 -0
  33. node v13.13/readline.d.ts +0 -0
  34. node v13.13/repl.d.ts +0 -0
  35. node v13.13/stream.d.ts +0 -0
  36. node v13.13/string_decoder.d.ts +0 -0
  37. node v13.13/timers.d.ts +0 -0
  38. node v13.13/tls.d.ts +0 -0
  39. node v13.13/trace_events.d.ts +0 -0
  40. node v13.13/ts3.6/assert.d.ts +0 -0
  41. node v13.13/ts3.6/base.d.ts +0 -0
  42. node v13.13/ts3.6/index.d.ts +0 -0
  43. node v13.13/tty.d.ts +0 -0
  44. node v13.13/url.d.ts +0 -0
  45. node v13.13/util.d.ts +0 -0
  46. node v13.13/v8.d.ts +0 -0
  47. node v13.13/vm.d.ts +0 -0
  48. node v13.13/wasi.d.ts +0 -0
  49. node v13.13/worker_threads.d.ts +0 -0
  50. node v13.13/zlib.d.ts +0 -0
node v13.13/LICENSE CHANGED
File without changes
node v13.13/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/v13.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 15 Mar 2021 18:54:36 GMT
11
+ * Last updated: Tue, 27 Apr 2021 14:31:28 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Buffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
14
14
 
15
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), [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), [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), [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), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Minh Son Nguyen](https://github.com/nguymin4), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Surasak Chaisurin](https://github.com/Ryan-Willpower), [Piotr Błażejewicz](https://github.com/peterblazejewicz), and [Jason Kwok](https://github.com/JasonHK).
16
+ These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [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), [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), [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), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Minh Son Nguyen](https://github.com/nguymin4), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Surasak Chaisurin](https://github.com/Ryan-Willpower), [Piotr Błażejewicz](https://github.com/peterblazejewicz), and [Jason Kwok](https://github.com/JasonHK).
node v13.13/assert.d.ts CHANGED
File without changes
@@ -131,7 +131,7 @@ declare module "async_hooks" {
131
131
  /**
132
132
  * Call AsyncHooks destroy callbacks.
133
133
  */
134
- emitDestroy(): void;
134
+ emitDestroy(): this;
135
135
 
136
136
  /**
137
137
  * @return the unique ID assigned to this AsyncResource instance.
node v13.13/base.d.ts CHANGED
File without changes
node v13.13/buffer.d.ts CHANGED
File without changes
File without changes
node v13.13/cluster.d.ts CHANGED
File without changes
node v13.13/console.d.ts CHANGED
File without changes
File without changes
node v13.13/crypto.d.ts CHANGED
File without changes
node v13.13/dgram.d.ts CHANGED
File without changes
node v13.13/dns.d.ts CHANGED
File without changes
node v13.13/domain.d.ts CHANGED
File without changes
node v13.13/events.d.ts CHANGED
File without changes
node v13.13/fs.d.ts CHANGED
File without changes
@@ -783,6 +783,32 @@ declare namespace NodeJS {
783
783
  voluntaryContextSwitches: number;
784
784
  }
785
785
 
786
+ interface EmitWarningOptions {
787
+ /**
788
+ * When `warning` is a `string`, `type` is the name to use for the _type_ of warning being emitted.
789
+ *
790
+ * @default 'Warning'
791
+ */
792
+ type?: string;
793
+
794
+ /**
795
+ * A unique identifier for the warning instance being emitted.
796
+ */
797
+ code?: string;
798
+
799
+ /**
800
+ * When `warning` is a `string`, `ctor` is an optional function used to limit the generated stack trace.
801
+ *
802
+ * @default process.emitWarning
803
+ */
804
+ ctor?: Function;
805
+
806
+ /**
807
+ * Additional text to include with the error.
808
+ */
809
+ detail?: string;
810
+ }
811
+
786
812
  interface Process extends EventEmitter {
787
813
  /**
788
814
  * Can also be a tty.WriteStream, not typed due to limitation.s
@@ -802,7 +828,22 @@ declare namespace NodeJS {
802
828
  chdir(directory: string): void;
803
829
  cwd(): string;
804
830
  debugPort: number;
805
- emitWarning(warning: string | Error, name?: string, ctor?: Function): void;
831
+
832
+ /**
833
+ * The `process.emitWarning()` method can be used to emit custom or application specific process warnings.
834
+ *
835
+ * These can be listened for by adding a handler to the `'warning'` event.
836
+ *
837
+ * @param warning The warning to emit.
838
+ * @param type When `warning` is a `string`, `type` is the name to use for the _type_ of warning being emitted. Default: `'Warning'`.
839
+ * @param code A unique identifier for the warning instance being emitted.
840
+ * @param ctor When `warning` is a `string`, `ctor` is an optional function used to limit the generated stack trace. Default: `process.emitWarning`.
841
+ */
842
+ emitWarning(warning: string | Error, ctor?: Function): void;
843
+ emitWarning(warning: string | Error, type?: string, ctor?: Function): void;
844
+ emitWarning(warning: string | Error, type?: string, code?: string, ctor?: Function): void;
845
+ emitWarning(warning: string | Error, options?: EmitWarningOptions): void;
846
+
806
847
  env: ProcessEnv;
807
848
  exit(code?: number): never;
808
849
  exitCode?: number;
File without changes
node v13.13/http.d.ts CHANGED
@@ -33,6 +33,7 @@ declare module "http" {
33
33
  'content-type'?: string;
34
34
  'cookie'?: string;
35
35
  'date'?: string;
36
+ 'etag'?: string;
36
37
  'expect'?: string;
37
38
  'expires'?: string;
38
39
  'forwarded'?: string;
node v13.13/http2.d.ts CHANGED
File without changes
node v13.13/https.d.ts CHANGED
File without changes
node v13.13/index.d.ts CHANGED
@@ -6,7 +6,6 @@
6
6
  // Alvis HT Tang <https://github.com/alvis>
7
7
  // Andrew Makarov <https://github.com/r3nya>
8
8
  // Benjamin Toueg <https://github.com/btoueg>
9
- // Bruno Scheufler <https://github.com/brunoscheufler>
10
9
  // Chigozirim C. <https://github.com/smac89>
11
10
  // Christian Vaagland Tellnes <https://github.com/tellnes>
12
11
  // David Junger <https://github.com/touffy>
File without changes
node v13.13/module.d.ts CHANGED
File without changes
node v13.13/net.d.ts CHANGED
File without changes
node v13.13/os.d.ts CHANGED
File without changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "13.13.47",
3
+ "version": "13.13.51",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -34,11 +34,6 @@
34
34
  "url": "https://github.com/btoueg",
35
35
  "githubUsername": "btoueg"
36
36
  },
37
- {
38
- "name": "Bruno Scheufler",
39
- "url": "https://github.com/brunoscheufler",
40
- "githubUsername": "brunoscheufler"
41
- },
42
37
  {
43
38
  "name": "Chigozirim C.",
44
39
  "url": "https://github.com/smac89",
@@ -221,6 +216,6 @@
221
216
  },
222
217
  "scripts": {},
223
218
  "dependencies": {},
224
- "typesPublisherContentHash": "fd3c9994bf4716eeafdedea9a0ce6357d4ccfe3c9a6baf76c368923ac5ccafbc",
219
+ "typesPublisherContentHash": "8ab00ac611eef491b979179fe0f6b9f4dc514cc338925b97cd6e849bf8739a0f",
225
220
  "typeScriptVersion": "3.5"
226
221
  }
node v13.13/path.d.ts CHANGED
File without changes
File without changes
node v13.13/process.d.ts CHANGED
File without changes
node v13.13/punycode.d.ts CHANGED
File without changes
File without changes
node v13.13/readline.d.ts CHANGED
File without changes
node v13.13/repl.d.ts CHANGED
File without changes
node v13.13/stream.d.ts CHANGED
File without changes
File without changes
node v13.13/timers.d.ts CHANGED
File without changes
node v13.13/tls.d.ts CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
node v13.13/tty.d.ts CHANGED
File without changes
node v13.13/url.d.ts CHANGED
File without changes
node v13.13/util.d.ts CHANGED
File without changes
node v13.13/v8.d.ts CHANGED
File without changes
node v13.13/vm.d.ts CHANGED
File without changes
node v13.13/wasi.d.ts CHANGED
File without changes
File without changes
node v13.13/zlib.d.ts CHANGED
File without changes