@types/node 10.17.53 → 10.17.57
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 +0 -0
- node v10.17/README.md +2 -2
- node v10.17/assert.d.ts +0 -0
- node v10.17/async_hooks.d.ts +1 -1
- node v10.17/base.d.ts +0 -0
- node v10.17/buffer.d.ts +0 -0
- node v10.17/child_process.d.ts +0 -0
- node v10.17/cluster.d.ts +0 -0
- node v10.17/console.d.ts +0 -0
- node v10.17/constants.d.ts +0 -0
- node v10.17/crypto.d.ts +0 -0
- node v10.17/dgram.d.ts +0 -0
- node v10.17/dns.d.ts +0 -0
- node v10.17/domain.d.ts +0 -0
- node v10.17/events.d.ts +0 -0
- node v10.17/fs.d.ts +0 -0
- node v10.17/globals.d.ts +42 -1
- node v10.17/http.d.ts +0 -0
- node v10.17/http2.d.ts +0 -0
- node v10.17/https.d.ts +0 -0
- node v10.17/index.d.ts +0 -2
- node v10.17/inspector.d.ts +0 -0
- node v10.17/module.d.ts +0 -0
- node v10.17/net.d.ts +0 -0
- node v10.17/os.d.ts +0 -0
- node v10.17/package.json +3 -13
- node v10.17/path.d.ts +0 -0
- node v10.17/perf_hooks.d.ts +0 -0
- node v10.17/process.d.ts +0 -0
- node v10.17/punycode.d.ts +0 -0
- node v10.17/querystring.d.ts +0 -0
- node v10.17/readline.d.ts +1 -1
- node v10.17/repl.d.ts +0 -0
- node v10.17/stream.d.ts +0 -0
- node v10.17/string_decoder.d.ts +0 -0
- node v10.17/timers.d.ts +0 -0
- node v10.17/tls.d.ts +0 -0
- node v10.17/trace_events.d.ts +0 -0
- node v10.17/ts3.6/assert.d.ts +0 -0
- node v10.17/ts3.6/base.d.ts +0 -0
- node v10.17/ts3.6/index.d.ts +0 -0
- node v10.17/tty.d.ts +0 -0
- node v10.17/url.d.ts +0 -0
- node v10.17/util.d.ts +0 -0
- node v10.17/v8.d.ts +0 -0
- node v10.17/vm.d.ts +0 -0
- node v10.17/worker_threads.d.ts +0 -0
- node v10.17/zlib.d.ts +0 -0
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:
|
|
11
|
+
* Last updated: Wed, 14 Apr 2021 20:31:29 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), [
|
|
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).
|
node v10.17/assert.d.ts
CHANGED
|
File without changes
|
node v10.17/async_hooks.d.ts
CHANGED
node v10.17/base.d.ts
CHANGED
|
File without changes
|
node v10.17/buffer.d.ts
CHANGED
|
File without changes
|
node v10.17/child_process.d.ts
CHANGED
|
File without changes
|
node v10.17/cluster.d.ts
CHANGED
|
File without changes
|
node v10.17/console.d.ts
CHANGED
|
File without changes
|
node v10.17/constants.d.ts
CHANGED
|
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
|
node v10.17/globals.d.ts
CHANGED
|
@@ -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
|
-
|
|
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
|
File without changes
|
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
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
// Definitions by: Microsoft TypeScript <https://github.com/Microsoft>
|
|
4
4
|
// DefinitelyTyped <https://github.com/DefinitelyTyped>
|
|
5
5
|
// Alberto Schiabel <https://github.com/jkomyno>
|
|
6
|
-
// Alexander T. <https://github.com/a-tarasyuk>
|
|
7
6
|
// Alvis HT Tang <https://github.com/alvis>
|
|
8
7
|
// Andrew Makarov <https://github.com/r3nya>
|
|
9
8
|
// Bruno Scheufler <https://github.com/brunoscheufler>
|
|
@@ -30,7 +29,6 @@
|
|
|
30
29
|
// Jeremie Rodriguez <https://github.com/jeremiergz>
|
|
31
30
|
// Samuel Ainsworth <https://github.com/samuela>
|
|
32
31
|
// Kyle Uehlein <https://github.com/kuehlein>
|
|
33
|
-
// Jordi Oliveras Rovira <https://github.com/j-oliveras>
|
|
34
32
|
// Thanik Bhongbhibhat <https://github.com/bhongy>
|
|
35
33
|
// Minh Son Nguyen <https://github.com/nguymin4>
|
|
36
34
|
// ExE Boss <https://github.com/ExE-Boss>
|
node v10.17/inspector.d.ts
CHANGED
|
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
|
node v10.17/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "10.17.
|
|
3
|
+
"version": "10.17.57",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -19,11 +19,6 @@
|
|
|
19
19
|
"url": "https://github.com/jkomyno",
|
|
20
20
|
"githubUsername": "jkomyno"
|
|
21
21
|
},
|
|
22
|
-
{
|
|
23
|
-
"name": "Alexander T.",
|
|
24
|
-
"url": "https://github.com/a-tarasyuk",
|
|
25
|
-
"githubUsername": "a-tarasyuk"
|
|
26
|
-
},
|
|
27
22
|
{
|
|
28
23
|
"name": "Alvis HT Tang",
|
|
29
24
|
"url": "https://github.com/alvis",
|
|
@@ -154,11 +149,6 @@
|
|
|
154
149
|
"url": "https://github.com/kuehlein",
|
|
155
150
|
"githubUsername": "kuehlein"
|
|
156
151
|
},
|
|
157
|
-
{
|
|
158
|
-
"name": "Jordi Oliveras Rovira",
|
|
159
|
-
"url": "https://github.com/j-oliveras",
|
|
160
|
-
"githubUsername": "j-oliveras"
|
|
161
|
-
},
|
|
162
152
|
{
|
|
163
153
|
"name": "Thanik Bhongbhibhat",
|
|
164
154
|
"url": "https://github.com/bhongy",
|
|
@@ -191,6 +181,6 @@
|
|
|
191
181
|
},
|
|
192
182
|
"scripts": {},
|
|
193
183
|
"dependencies": {},
|
|
194
|
-
"typesPublisherContentHash": "
|
|
195
|
-
"typeScriptVersion": "3.
|
|
184
|
+
"typesPublisherContentHash": "21ee547edeb934c544246f7992ac1d586dc35cb00655e944da076cdf56589314",
|
|
185
|
+
"typeScriptVersion": "3.5"
|
|
196
186
|
}
|
node v10.17/path.d.ts
CHANGED
|
File without changes
|
node v10.17/perf_hooks.d.ts
CHANGED
|
File without changes
|
node v10.17/process.d.ts
CHANGED
|
File without changes
|
node v10.17/punycode.d.ts
CHANGED
|
File without changes
|
node v10.17/querystring.d.ts
CHANGED
|
File without changes
|
node v10.17/readline.d.ts
CHANGED
|
@@ -136,7 +136,7 @@ declare module "readline" {
|
|
|
136
136
|
function createInterface(options: ReadLineOptions): Interface;
|
|
137
137
|
|
|
138
138
|
function cursorTo(stream: NodeJS.WritableStream, x: number, y?: number): void;
|
|
139
|
-
function emitKeypressEvents(stream: NodeJS.ReadableStream,
|
|
139
|
+
function emitKeypressEvents(stream: NodeJS.ReadableStream, readlineInterface?: Interface): void;
|
|
140
140
|
function moveCursor(stream: NodeJS.WritableStream, dx: number | string, dy: number | string): void;
|
|
141
141
|
function clearLine(stream: NodeJS.WritableStream, dir: number): void;
|
|
142
142
|
function clearScreenDown(stream: NodeJS.WritableStream): void;
|
node v10.17/repl.d.ts
CHANGED
|
File without changes
|
node v10.17/stream.d.ts
CHANGED
|
File without changes
|
node v10.17/string_decoder.d.ts
CHANGED
|
File without changes
|
node v10.17/timers.d.ts
CHANGED
|
File without changes
|
node v10.17/tls.d.ts
CHANGED
|
File without changes
|
node v10.17/trace_events.d.ts
CHANGED
|
File without changes
|
node v10.17/ts3.6/assert.d.ts
CHANGED
|
File without changes
|
node v10.17/ts3.6/base.d.ts
CHANGED
|
File without changes
|
node v10.17/ts3.6/index.d.ts
CHANGED
|
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
|
node v10.17/worker_threads.d.ts
CHANGED
|
File without changes
|
node v10.17/zlib.d.ts
CHANGED
|
File without changes
|