@types/node 12.12.50 → 12.12.54
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 v12.12/README.md +2 -2
- node v12.12/child_process.d.ts +1 -0
- node v12.12/events.d.ts +13 -1
- node v12.12/globals.d.ts +6 -3
- node v12.12/index.d.ts +0 -1
- node v12.12/package.json +2 -7
- node v12.12/querystring.d.ts +1 -1
node v12.12/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/v12.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Thu, 06 Aug 2020 00:38:41 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Buffer`, `NodeJS`, `Symbol`, `__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), [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), [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), [
|
|
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), [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), [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), [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), [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), and [Jason Kwok](https://github.com/JasonHK).
|
node v12.12/child_process.d.ts
CHANGED
|
@@ -409,6 +409,7 @@ declare module "child_process" {
|
|
|
409
409
|
detached?: boolean;
|
|
410
410
|
windowsVerbatimArguments?: boolean;
|
|
411
411
|
}
|
|
412
|
+
function fork(modulePath: string, options?: ForkOptions): ChildProcess;
|
|
412
413
|
function fork(modulePath: string, args?: ReadonlyArray<string>, options?: ForkOptions): ChildProcess;
|
|
413
414
|
|
|
414
415
|
interface SpawnSyncOptions extends CommonOptions {
|
node v12.12/events.d.ts
CHANGED
|
@@ -12,7 +12,19 @@ declare module "events" {
|
|
|
12
12
|
namespace internal {
|
|
13
13
|
function once(emitter: NodeEventTarget, event: string | symbol): Promise<any[]>;
|
|
14
14
|
function once(emitter: DOMEventTarget, event: string): Promise<any[]>;
|
|
15
|
-
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* This symbol shall be used to install a listener for only monitoring `'error'`
|
|
18
|
+
* events. Listeners installed using this symbol are called before the regular
|
|
19
|
+
* `'error'` listeners are called.
|
|
20
|
+
*
|
|
21
|
+
* Installing a listener using this symbol does not change the behavior once an
|
|
22
|
+
* `'error'` event is emitted, therefore the process will still crash if no
|
|
23
|
+
* regular `'error'` listener is installed.
|
|
24
|
+
*/
|
|
25
|
+
const errorMonitor: unique symbol;
|
|
26
|
+
|
|
27
|
+
class EventEmitter extends internal {
|
|
16
28
|
/** @deprecated since v4.0.0 */
|
|
17
29
|
static listenerCount(emitter: EventEmitter, event: string | symbol): number;
|
|
18
30
|
static defaultMaxListeners: number;
|
node v12.12/globals.d.ts
CHANGED
|
@@ -1176,7 +1176,10 @@ declare namespace NodeJS {
|
|
|
1176
1176
|
type TypedArray = Uint8Array | Uint8ClampedArray | Uint16Array | Uint32Array | Int8Array | Int16Array | Int32Array | Float32Array | Float64Array;
|
|
1177
1177
|
type ArrayBufferView = TypedArray | DataView;
|
|
1178
1178
|
|
|
1179
|
-
// The value type here is a
|
|
1180
|
-
// 3.0+, we can
|
|
1181
|
-
type
|
|
1179
|
+
// TODO: The value type here is a version of `unknown` with an acceptably lossy amount of accuracy.
|
|
1180
|
+
// Now that TypeScript's DT support is 3.0+, we can look into replacing this with `unknown`.
|
|
1181
|
+
type UnknownFacade = {} | null | undefined;
|
|
1182
|
+
|
|
1183
|
+
/** @deprecated - Use `UnknownFacade` instead. It is a better classifier for the type */
|
|
1184
|
+
type PoorMansUnknown = UnknownFacade;
|
|
1182
1185
|
}
|
node v12.12/index.d.ts
CHANGED
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
// Mariusz Wiktorczyk <https://github.com/mwiktorczyk>
|
|
23
23
|
// Mohsen Azimi <https://github.com/mohsen1>
|
|
24
24
|
// Nicolas Even <https://github.com/n-e>
|
|
25
|
-
// Nicolas Voigt <https://github.com/octo-sniffle>
|
|
26
25
|
// Nikita Galkin <https://github.com/galkin>
|
|
27
26
|
// Parambir Singh <https://github.com/parambirs>
|
|
28
27
|
// Sebastian Silbermann <https://github.com/eps1lon>
|
node v12.12/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "12.12.
|
|
3
|
+
"version": "12.12.54",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -114,11 +114,6 @@
|
|
|
114
114
|
"url": "https://github.com/n-e",
|
|
115
115
|
"githubUsername": "n-e"
|
|
116
116
|
},
|
|
117
|
-
{
|
|
118
|
-
"name": "Nicolas Voigt",
|
|
119
|
-
"url": "https://github.com/octo-sniffle",
|
|
120
|
-
"githubUsername": "octo-sniffle"
|
|
121
|
-
},
|
|
122
117
|
{
|
|
123
118
|
"name": "Nikita Galkin",
|
|
124
119
|
"url": "https://github.com/galkin",
|
|
@@ -241,6 +236,6 @@
|
|
|
241
236
|
},
|
|
242
237
|
"scripts": {},
|
|
243
238
|
"dependencies": {},
|
|
244
|
-
"typesPublisherContentHash": "
|
|
239
|
+
"typesPublisherContentHash": "44371bce86b89f0d4c708801a9c233a4beb99f88402e710b536c15a10814ab81",
|
|
245
240
|
"typeScriptVersion": "3.0"
|
|
246
241
|
}
|
node v12.12/querystring.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ declare module "querystring" {
|
|
|
11
11
|
interface ParsedUrlQuery { [key: string]: string | string[]; }
|
|
12
12
|
|
|
13
13
|
interface ParsedUrlQueryInput {
|
|
14
|
-
[key: string]: string | number | boolean | string
|
|
14
|
+
[key: string]: string | number | boolean | ReadonlyArray<string> | ReadonlyArray<number> | ReadonlyArray<boolean> | undefined | null;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
function stringify(obj?: ParsedUrlQueryInput, sep?: string, eq?: string, options?: StringifyOptions): string;
|