@types/node 10.17.55 → 10.17.59

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 v10.17/LICENSE CHANGED
File without changes
node v10.17/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/v10.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Sun, 07 Mar 2021 17:06:20 GMT
11
+ * Last updated: Tue, 27 Apr 2021 14:31:33 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Buffer`, `NodeJS`, `__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](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), [Bruno Scheufler](https://github.com/brunoscheufler), [Chigozirim C.](https://github.com/smac89), [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), [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), [Thanik Bhongbhibhat](https://github.com/bhongy), [Minh Son Nguyen](https://github.com/nguymin4), and [ExE Boss](https://github.com/ExE-Boss).
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), [Chigozirim C.](https://github.com/smac89), [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), [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), [Thanik Bhongbhibhat](https://github.com/bhongy), [Minh Son Nguyen](https://github.com/nguymin4), and [ExE Boss](https://github.com/ExE-Boss).
node v10.17/assert.d.ts CHANGED
File without changes
@@ -129,7 +129,7 @@ declare module "async_hooks" {
129
129
  /**
130
130
  * Call AsyncHooks destroy callbacks.
131
131
  */
132
- emitDestroy(): void;
132
+ emitDestroy(): this;
133
133
 
134
134
  /**
135
135
  * @return the unique ID assigned to this AsyncResource instance.
node v10.17/base.d.ts CHANGED
File without changes
node v10.17/buffer.d.ts CHANGED
File without changes
File without changes
node v10.17/cluster.d.ts CHANGED
File without changes
node v10.17/console.d.ts CHANGED
File without changes
File without changes
node v10.17/crypto.d.ts CHANGED
File without changes
node v10.17/dgram.d.ts CHANGED
File without changes
node v10.17/dns.d.ts CHANGED
File without changes
node v10.17/domain.d.ts CHANGED
File without changes
node v10.17/events.d.ts CHANGED
File without changes
node v10.17/fs.d.ts CHANGED
File without changes
@@ -712,6 +712,32 @@ declare namespace NodeJS {
712
712
  bigint(): bigint;
713
713
  }
714
714
 
715
+ interface EmitWarningOptions {
716
+ /**
717
+ * When `warning` is a `string`, `type` is the name to use for the _type_ of warning being emitted.
718
+ *
719
+ * @default 'Warning'
720
+ */
721
+ type?: string;
722
+
723
+ /**
724
+ * A unique identifier for the warning instance being emitted.
725
+ */
726
+ code?: string;
727
+
728
+ /**
729
+ * When `warning` is a `string`, `ctor` is an optional function used to limit the generated stack trace.
730
+ *
731
+ * @default process.emitWarning
732
+ */
733
+ ctor?: Function;
734
+
735
+ /**
736
+ * Additional text to include with the error.
737
+ */
738
+ detail?: string;
739
+ }
740
+
715
741
  interface Process extends EventEmitter {
716
742
  stdout: WriteStream;
717
743
  stderr: WriteStream;
@@ -725,7 +751,22 @@ declare namespace NodeJS {
725
751
  chdir(directory: string): void;
726
752
  cwd(): string;
727
753
  debugPort: number;
728
- emitWarning(warning: string | Error, name?: string, ctor?: Function): void;
754
+
755
+ /**
756
+ * The `process.emitWarning()` method can be used to emit custom or application specific process warnings.
757
+ *
758
+ * These can be listened for by adding a handler to the `'warning'` event.
759
+ *
760
+ * @param warning The warning to emit.
761
+ * @param type When `warning` is a `string`, `type` is the name to use for the _type_ of warning being emitted. Default: `'Warning'`.
762
+ * @param code A unique identifier for the warning instance being emitted.
763
+ * @param ctor When `warning` is a `string`, `ctor` is an optional function used to limit the generated stack trace. Default: `process.emitWarning`.
764
+ */
765
+ emitWarning(warning: string | Error, ctor?: Function): void;
766
+ emitWarning(warning: string | Error, type?: string, ctor?: Function): void;
767
+ emitWarning(warning: string | Error, type?: string, code?: string, ctor?: Function): void;
768
+ emitWarning(warning: string | Error, options?: EmitWarningOptions): void;
769
+
729
770
  env: ProcessEnv;
730
771
  exit(code?: number): never;
731
772
  exitCode?: number;
node v10.17/http.d.ts CHANGED
@@ -32,6 +32,7 @@ declare module "http" {
32
32
  'content-type'?: string;
33
33
  'cookie'?: string;
34
34
  'date'?: string;
35
+ 'etag'?: string;
35
36
  'expect'?: string;
36
37
  'expires'?: string;
37
38
  'forwarded'?: string;
node v10.17/http2.d.ts CHANGED
File without changes
node v10.17/https.d.ts CHANGED
File without changes
node v10.17/index.d.ts CHANGED
@@ -5,7 +5,6 @@
5
5
  // Alberto Schiabel <https://github.com/jkomyno>
6
6
  // Alvis HT Tang <https://github.com/alvis>
7
7
  // Andrew Makarov <https://github.com/r3nya>
8
- // Bruno Scheufler <https://github.com/brunoscheufler>
9
8
  // Chigozirim C. <https://github.com/smac89>
10
9
  // Deividas Bakanas <https://github.com/DeividasBakanas>
11
10
  // Eugene Y. Q. Shen <https://github.com/eyqs>
File without changes
node v10.17/module.d.ts CHANGED
File without changes
node v10.17/net.d.ts CHANGED
File without changes
node v10.17/os.d.ts CHANGED
File without changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "10.17.55",
3
+ "version": "10.17.59",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -29,11 +29,6 @@
29
29
  "url": "https://github.com/r3nya",
30
30
  "githubUsername": "r3nya"
31
31
  },
32
- {
33
- "name": "Bruno Scheufler",
34
- "url": "https://github.com/brunoscheufler",
35
- "githubUsername": "brunoscheufler"
36
- },
37
32
  {
38
33
  "name": "Chigozirim C.",
39
34
  "url": "https://github.com/smac89",
@@ -181,6 +176,6 @@
181
176
  },
182
177
  "scripts": {},
183
178
  "dependencies": {},
184
- "typesPublisherContentHash": "88d1baf4c3f6cf957a52601c8f35795f90a949034e8b6ba32f5b19639615f2c8",
179
+ "typesPublisherContentHash": "dcdf5cd05bd975353c40217852c7ffb115cd0a318714dfa886fcd53db95e74a4",
185
180
  "typeScriptVersion": "3.5"
186
181
  }
node v10.17/path.d.ts CHANGED
File without changes
File without changes
node v10.17/process.d.ts CHANGED
File without changes
node v10.17/punycode.d.ts CHANGED
File without changes
File without changes
node v10.17/readline.d.ts CHANGED
File without changes
node v10.17/repl.d.ts CHANGED
File without changes
node v10.17/stream.d.ts CHANGED
File without changes
File without changes
node v10.17/timers.d.ts CHANGED
File without changes
node v10.17/tls.d.ts CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
node v10.17/tty.d.ts CHANGED
File without changes
node v10.17/url.d.ts CHANGED
File without changes
node v10.17/util.d.ts CHANGED
File without changes
node v10.17/v8.d.ts CHANGED
File without changes
node v10.17/vm.d.ts CHANGED
File without changes
File without changes
node v10.17/zlib.d.ts CHANGED
File without changes