@types/node 14.17.14 → 14.17.18
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 v14.17/README.md +2 -2
- node v14.17/child_process.d.ts +12 -11
- node v14.17/globals.d.ts +0 -1
- node v14.17/index.d.ts +1 -1
- node v14.17/package.json +2 -2
- node v14.17/url.d.ts +1 -1
node v14.17/README.md
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
> `npm install --save @types/node`
|
|
3
3
|
|
|
4
4
|
# Summary
|
|
5
|
-
This package contains type definitions for Node.js (
|
|
5
|
+
This package contains type definitions for Node.js (https://nodejs.org/).
|
|
6
6
|
|
|
7
7
|
# Details
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v14.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated: Tue,
|
|
11
|
+
* Last updated: Tue, 21 Sep 2021 18:31:41 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
|
|
node v14.17/child_process.d.ts
CHANGED
|
@@ -462,10 +462,10 @@ declare module 'child_process' {
|
|
|
462
462
|
function spawnSync(command: string): SpawnSyncReturns<Buffer>;
|
|
463
463
|
function spawnSync(command: string, options?: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns<string>;
|
|
464
464
|
function spawnSync(command: string, options?: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns<Buffer>;
|
|
465
|
-
function spawnSync(command: string, options?: SpawnSyncOptions): SpawnSyncReturns<Buffer>;
|
|
465
|
+
function spawnSync(command: string, options?: SpawnSyncOptions): SpawnSyncReturns<string | Buffer>;
|
|
466
466
|
function spawnSync(command: string, args?: ReadonlyArray<string>, options?: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns<string>;
|
|
467
467
|
function spawnSync(command: string, args?: ReadonlyArray<string>, options?: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns<Buffer>;
|
|
468
|
-
function spawnSync(command: string, args?: ReadonlyArray<string>, options?: SpawnSyncOptions): SpawnSyncReturns<Buffer>;
|
|
468
|
+
function spawnSync(command: string, args?: ReadonlyArray<string>, options?: SpawnSyncOptions): SpawnSyncReturns<string | Buffer>;
|
|
469
469
|
|
|
470
470
|
interface ExecSyncOptions extends CommonOptions {
|
|
471
471
|
input?: string | Uint8Array | undefined;
|
|
@@ -482,9 +482,9 @@ declare module 'child_process' {
|
|
|
482
482
|
encoding?: 'buffer' | null | undefined;
|
|
483
483
|
}
|
|
484
484
|
function execSync(command: string): Buffer;
|
|
485
|
-
function execSync(command: string, options
|
|
486
|
-
function execSync(command: string, options
|
|
487
|
-
function execSync(command: string, options?: ExecSyncOptions): Buffer;
|
|
485
|
+
function execSync(command: string, options: ExecSyncOptionsWithStringEncoding): string;
|
|
486
|
+
function execSync(command: string, options: ExecSyncOptionsWithBufferEncoding): Buffer;
|
|
487
|
+
function execSync(command: string, options?: ExecSyncOptions): string | Buffer;
|
|
488
488
|
|
|
489
489
|
interface ExecFileSyncOptions extends CommonOptions {
|
|
490
490
|
input?: string | NodeJS.ArrayBufferView | undefined;
|
|
@@ -501,10 +501,11 @@ declare module 'child_process' {
|
|
|
501
501
|
encoding: BufferEncoding; // specify `null`.
|
|
502
502
|
}
|
|
503
503
|
function execFileSync(command: string): Buffer;
|
|
504
|
-
function execFileSync(command: string, options
|
|
505
|
-
function execFileSync(command: string, options
|
|
506
|
-
function execFileSync(command: string, options?: ExecFileSyncOptions): Buffer;
|
|
507
|
-
function execFileSync(command: string, args
|
|
508
|
-
function execFileSync(command: string, args
|
|
509
|
-
function execFileSync(command: string, args
|
|
504
|
+
function execFileSync(command: string, options: ExecFileSyncOptionsWithStringEncoding): string;
|
|
505
|
+
function execFileSync(command: string, options: ExecFileSyncOptionsWithBufferEncoding): Buffer;
|
|
506
|
+
function execFileSync(command: string, options?: ExecFileSyncOptions): string | Buffer;
|
|
507
|
+
function execFileSync(command: string, args: ReadonlyArray<string>): Buffer;
|
|
508
|
+
function execFileSync(command: string, args: ReadonlyArray<string>, options: ExecFileSyncOptionsWithStringEncoding): string;
|
|
509
|
+
function execFileSync(command: string, args: ReadonlyArray<string>, options: ExecFileSyncOptionsWithBufferEncoding): Buffer;
|
|
510
|
+
function execFileSync(command: string, args?: ReadonlyArray<string>, options?: ExecFileSyncOptions): string | Buffer;
|
|
510
511
|
}
|
node v14.17/globals.d.ts
CHANGED
node v14.17/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Type definitions for non-npm package Node.js 14.17
|
|
2
|
-
// Project:
|
|
2
|
+
// Project: https://nodejs.org/
|
|
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>
|
node v14.17/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "14.17.
|
|
3
|
+
"version": "14.17.18",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -225,6 +225,6 @@
|
|
|
225
225
|
},
|
|
226
226
|
"scripts": {},
|
|
227
227
|
"dependencies": {},
|
|
228
|
-
"typesPublisherContentHash": "
|
|
228
|
+
"typesPublisherContentHash": "19a5e25760af39b2a4f09074501274e1630ca246521b14ae364a6ec44d04c69f",
|
|
229
229
|
"typeScriptVersion": "3.7"
|
|
230
230
|
}
|
node v14.17/url.d.ts
CHANGED
|
@@ -98,7 +98,7 @@ declare module 'url' {
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
class URLSearchParams implements Iterable<[string, string]> {
|
|
101
|
-
constructor(init?: URLSearchParams | string |
|
|
101
|
+
constructor(init?: URLSearchParams | string | Record<string, string | ReadonlyArray<string>> | Iterable<[string, string]> | ReadonlyArray<[string, string]>);
|
|
102
102
|
append(name: string, value: string): void;
|
|
103
103
|
delete(name: string): void;
|
|
104
104
|
entries(): IterableIterator<[string, string]>;
|