@tsonic/nodejs 10.0.46 → 10.0.48
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.
- package/index/bindings.json +485 -485
- package/index/internal/index.d.ts +131 -131
- package/nodejs.Http/bindings.json +109 -109
- package/nodejs.Http/internal/index.d.ts +19 -19
- package/nodejs.Http.d.ts +1 -1
- package/package.json +4 -4
- package/tsonic.bindings.json +1 -1
|
@@ -255,10 +255,10 @@ export interface BindOptions$instance {
|
|
|
255
255
|
get address(): string | undefined;
|
|
256
256
|
set address(value: string | undefined);
|
|
257
257
|
exclusive: boolean;
|
|
258
|
-
get fd():
|
|
259
|
-
set fd(value:
|
|
260
|
-
get port():
|
|
261
|
-
set port(value:
|
|
258
|
+
get fd(): int | undefined;
|
|
259
|
+
set fd(value: int | undefined | int);
|
|
260
|
+
get port(): int | undefined;
|
|
261
|
+
set port(value: int | undefined | int);
|
|
262
262
|
}
|
|
263
263
|
|
|
264
264
|
|
|
@@ -290,12 +290,12 @@ export type BlockList = BlockList$instance;
|
|
|
290
290
|
export interface BrotliOptions$instance {
|
|
291
291
|
readonly __tsonic_type_nodejs_BrotliOptions: never;
|
|
292
292
|
|
|
293
|
-
get chunkSize():
|
|
294
|
-
set chunkSize(value:
|
|
295
|
-
get maxOutputLength():
|
|
296
|
-
set maxOutputLength(value:
|
|
297
|
-
get quality():
|
|
298
|
-
set quality(value:
|
|
293
|
+
get chunkSize(): int | undefined;
|
|
294
|
+
set chunkSize(value: int | undefined | int);
|
|
295
|
+
get maxOutputLength(): int | undefined;
|
|
296
|
+
set maxOutputLength(value: int | undefined | int);
|
|
297
|
+
get quality(): int | undefined;
|
|
298
|
+
set quality(value: int | undefined | int);
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
|
|
@@ -310,13 +310,13 @@ export interface Buffer$instance {
|
|
|
310
310
|
readonly __tsonic_type_nodejs_Buffer: never;
|
|
311
311
|
|
|
312
312
|
readonly length: int;
|
|
313
|
-
compare(target: Buffer, targetStart?:
|
|
314
|
-
copy(target: Buffer, targetStart?: int, sourceStart?:
|
|
313
|
+
compare(target: Buffer, targetStart?: int | undefined, targetEnd?: int | undefined, sourceStart?: int | undefined, sourceEnd?: int | undefined): int;
|
|
314
|
+
copy(target: Buffer, targetStart?: int, sourceStart?: int | undefined, sourceEnd?: int | undefined): int;
|
|
315
315
|
equals(otherBuffer: Buffer): boolean;
|
|
316
|
-
fill(value: unknown, offset?: int, end?:
|
|
316
|
+
fill(value: unknown, offset?: int, end?: int | undefined, encoding?: string): Buffer;
|
|
317
317
|
includes(value: unknown, byteOffset?: int, encoding?: string): boolean;
|
|
318
318
|
indexOf(value: unknown, byteOffset?: int, encoding?: string): int;
|
|
319
|
-
lastIndexOf(value: unknown, byteOffset?:
|
|
319
|
+
lastIndexOf(value: unknown, byteOffset?: int | undefined, encoding?: string): int;
|
|
320
320
|
readBigInt64BE(offset?: int): long;
|
|
321
321
|
readBigInt64LE(offset?: int): long;
|
|
322
322
|
readBigUint64BE(offset?: int): ulong;
|
|
@@ -349,14 +349,14 @@ export interface Buffer$instance {
|
|
|
349
349
|
readUintLE(offset: int, byteLength: int): ulong;
|
|
350
350
|
readUIntLE(offset: int, byteLength: int): ulong;
|
|
351
351
|
reverse(): Buffer;
|
|
352
|
-
slice(start?:
|
|
353
|
-
subarray(start?:
|
|
352
|
+
slice(start?: int | undefined, end?: int | undefined): Buffer;
|
|
353
|
+
subarray(start?: int | undefined, end?: int | undefined): Buffer;
|
|
354
354
|
swap16(): Buffer;
|
|
355
355
|
swap32(): Buffer;
|
|
356
356
|
swap64(): Buffer;
|
|
357
357
|
toJSON(): unknown;
|
|
358
|
-
toString(encoding?: string, start?: int, end?:
|
|
359
|
-
write(str: string, offset?: int, length?:
|
|
358
|
+
toString(encoding?: string, start?: int, end?: int | undefined): string;
|
|
359
|
+
write(str: string, offset?: int, length?: int | undefined, encoding?: string): int;
|
|
360
360
|
writeBigInt64BE(value: long, offset?: int): int;
|
|
361
361
|
writeBigInt64LE(value: long, offset?: int): int;
|
|
362
362
|
writeBigUint64BE(value: ulong, offset?: int): int;
|
|
@@ -398,7 +398,7 @@ export const Buffer: {
|
|
|
398
398
|
allocUnsafeSlow(size: int): Buffer;
|
|
399
399
|
byteLength(str: string, encoding?: string): int;
|
|
400
400
|
compare(buf1: Buffer, buf2: Buffer): int;
|
|
401
|
-
concat(list: Buffer[], totalLength?:
|
|
401
|
+
concat(list: Buffer[], totalLength?: int | undefined): Buffer;
|
|
402
402
|
from(buffer: Buffer): Buffer;
|
|
403
403
|
from(array: byte[]): Buffer;
|
|
404
404
|
from(array: int[]): Buffer;
|
|
@@ -454,8 +454,8 @@ export interface ChildProcess$instance extends EventEmitter {
|
|
|
454
454
|
readonly __tsonic_type_nodejs_ChildProcess: never;
|
|
455
455
|
|
|
456
456
|
connected: boolean;
|
|
457
|
-
get exitCode():
|
|
458
|
-
set exitCode(value:
|
|
457
|
+
get exitCode(): int | undefined;
|
|
458
|
+
set exitCode(value: int | undefined | int);
|
|
459
459
|
readonly killed: boolean;
|
|
460
460
|
readonly pid: int;
|
|
461
461
|
referenced: boolean;
|
|
@@ -556,12 +556,12 @@ export interface ConnectionOptions$instance extends CommonConnectionOptions {
|
|
|
556
556
|
set key(value: unknown | undefined);
|
|
557
557
|
get passphrase(): string | undefined;
|
|
558
558
|
set passphrase(value: string | undefined);
|
|
559
|
-
get port():
|
|
560
|
-
set port(value:
|
|
559
|
+
get port(): int | undefined;
|
|
560
|
+
set port(value: int | undefined | int);
|
|
561
561
|
get servername(): string | undefined;
|
|
562
562
|
set servername(value: string | undefined);
|
|
563
|
-
get timeout():
|
|
564
|
-
set timeout(value:
|
|
563
|
+
get timeout(): int | undefined;
|
|
564
|
+
set timeout(value: int | undefined | int);
|
|
565
565
|
}
|
|
566
566
|
|
|
567
567
|
|
|
@@ -601,7 +601,7 @@ export interface ConsoleConstructor$instance {
|
|
|
601
601
|
|
|
602
602
|
|
|
603
603
|
export const ConsoleConstructor: {
|
|
604
|
-
new(stdout: unknown, stderr: unknown, ignoreErrors: boolean, colorMode: unknown, inspectOptions:
|
|
604
|
+
new(stdout: unknown, stderr: unknown, ignoreErrors: boolean, colorMode: unknown, inspectOptions: int | undefined, groupIndentation: boolean): ConsoleConstructor;
|
|
605
605
|
};
|
|
606
606
|
|
|
607
607
|
|
|
@@ -713,15 +713,15 @@ export interface DgramSocket$instance extends EventEmitter {
|
|
|
713
713
|
getSendQueueSize(): int;
|
|
714
714
|
ref(): DgramSocket;
|
|
715
715
|
remoteAddress(): AddressInfo;
|
|
716
|
-
send(msg: byte[], port?:
|
|
717
|
-
send(msg: string, port?:
|
|
718
|
-
send(msg: byte[], port: int, callback: Action_2<Exception,
|
|
719
|
-
send(msg: string, port: int, callback: Action_2<Exception,
|
|
720
|
-
send(msg: byte[], callback: Action_2<Exception,
|
|
721
|
-
send(msg: string, callback: Action_2<Exception,
|
|
722
|
-
send(msg: byte[], offset: int, length: int, port?:
|
|
723
|
-
send(msg: byte[], offset: int, length: int, port: int, callback: Action_2<Exception,
|
|
724
|
-
send(msg: byte[], offset: int, length: int, callback: Action_2<Exception,
|
|
716
|
+
send(msg: byte[], port?: int | undefined, address?: string, callback?: Action_2<Exception, int>): void;
|
|
717
|
+
send(msg: string, port?: int | undefined, address?: string, callback?: Action_2<Exception, int>): void;
|
|
718
|
+
send(msg: byte[], port: int, callback: Action_2<Exception, int>): void;
|
|
719
|
+
send(msg: string, port: int, callback: Action_2<Exception, int>): void;
|
|
720
|
+
send(msg: byte[], callback: Action_2<Exception, int>): void;
|
|
721
|
+
send(msg: string, callback: Action_2<Exception, int>): void;
|
|
722
|
+
send(msg: byte[], offset: int, length: int, port?: int | undefined, address?: string, callback?: Action_2<Exception, int>): void;
|
|
723
|
+
send(msg: byte[], offset: int, length: int, port: int, callback: Action_2<Exception, int>): void;
|
|
724
|
+
send(msg: byte[], offset: int, length: int, callback: Action_2<Exception, int>): void;
|
|
725
725
|
setBroadcast(flag: boolean): void;
|
|
726
726
|
setMulticastInterface(multicastInterface: string): void;
|
|
727
727
|
setMulticastLoopback(flag: boolean): boolean;
|
|
@@ -817,7 +817,7 @@ export interface DSAPrivateKeyObject$instance extends KeyObject {
|
|
|
817
817
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
818
818
|
|
|
819
819
|
readonly asymmetricKeyType: string | undefined;
|
|
820
|
-
readonly symmetricKeySize:
|
|
820
|
+
readonly symmetricKeySize: int | undefined;
|
|
821
821
|
readonly type: string;
|
|
822
822
|
Dispose(): void;
|
|
823
823
|
export(options?: unknown): unknown;
|
|
@@ -836,7 +836,7 @@ export interface DSAPublicKeyObject$instance extends KeyObject {
|
|
|
836
836
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
837
837
|
|
|
838
838
|
readonly asymmetricKeyType: string | undefined;
|
|
839
|
-
readonly symmetricKeySize:
|
|
839
|
+
readonly symmetricKeySize: int | undefined;
|
|
840
840
|
readonly type: string;
|
|
841
841
|
Dispose(): void;
|
|
842
842
|
export(options?: unknown): unknown;
|
|
@@ -907,7 +907,7 @@ export interface EdDSAPrivateKeyObject$instance extends KeyObject {
|
|
|
907
907
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
908
908
|
|
|
909
909
|
readonly asymmetricKeyType: string | undefined;
|
|
910
|
-
readonly symmetricKeySize:
|
|
910
|
+
readonly symmetricKeySize: int | undefined;
|
|
911
911
|
readonly type: string;
|
|
912
912
|
Dispose(): void;
|
|
913
913
|
export(options?: unknown): unknown;
|
|
@@ -926,7 +926,7 @@ export interface EdDSAPublicKeyObject$instance extends KeyObject {
|
|
|
926
926
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
927
927
|
|
|
928
928
|
readonly asymmetricKeyType: string | undefined;
|
|
929
|
-
readonly symmetricKeySize:
|
|
929
|
+
readonly symmetricKeySize: int | undefined;
|
|
930
930
|
readonly type: string;
|
|
931
931
|
Dispose(): void;
|
|
932
932
|
export(options?: unknown): unknown;
|
|
@@ -998,8 +998,8 @@ export interface ExecOptions$instance {
|
|
|
998
998
|
set encoding(value: string | undefined);
|
|
999
999
|
get env(): unknown | undefined;
|
|
1000
1000
|
set env(value: unknown | undefined);
|
|
1001
|
-
get gid():
|
|
1002
|
-
set gid(value:
|
|
1001
|
+
get gid(): int | undefined;
|
|
1002
|
+
set gid(value: int | undefined | int);
|
|
1003
1003
|
get input(): string | undefined;
|
|
1004
1004
|
set input(value: string | undefined);
|
|
1005
1005
|
get killSignal(): string | undefined;
|
|
@@ -1010,8 +1010,8 @@ export interface ExecOptions$instance {
|
|
|
1010
1010
|
get stdio(): string | undefined;
|
|
1011
1011
|
set stdio(value: string | undefined);
|
|
1012
1012
|
timeout: int;
|
|
1013
|
-
get uid():
|
|
1014
|
-
set uid(value:
|
|
1013
|
+
get uid(): int | undefined;
|
|
1014
|
+
set uid(value: int | undefined | int);
|
|
1015
1015
|
windowsHide: boolean;
|
|
1016
1016
|
windowsVerbatimArguments: boolean;
|
|
1017
1017
|
}
|
|
@@ -1037,8 +1037,8 @@ export interface FsPromises$instance {
|
|
|
1037
1037
|
mkdir(path: string, recursive?: boolean): Task;
|
|
1038
1038
|
mkdir(path: string, options: MkdirOptions): Task;
|
|
1039
1039
|
mkdir(path: string, options: unknown): Task;
|
|
1040
|
-
open(path: string, flags: string, mode?:
|
|
1041
|
-
read(fd: int, buffer: byte[], offset: int, length: int, position:
|
|
1040
|
+
open(path: string, flags: string, mode?: int | undefined): Task_1<int>;
|
|
1041
|
+
read(fd: int, buffer: byte[], offset: int, length: int, position: int | undefined): Task_1<int>;
|
|
1042
1042
|
readdir(path: string, withFileTypes?: boolean): Task_1<string[]>;
|
|
1043
1043
|
readFile(path: string, encoding?: string): Task_1<System_Internal.String>;
|
|
1044
1044
|
readFileBytes(path: string): Task_1<byte[]>;
|
|
@@ -1051,8 +1051,8 @@ export interface FsPromises$instance {
|
|
|
1051
1051
|
symlink(target: string, path: string, type?: string): Task;
|
|
1052
1052
|
truncate(path: string, len?: long): Task;
|
|
1053
1053
|
unlink(path: string): Task;
|
|
1054
|
-
write(fd: int, buffer: byte[], offset: int, length: int, position:
|
|
1055
|
-
write(fd: int, data: string, position?:
|
|
1054
|
+
write(fd: int, buffer: byte[], offset: int, length: int, position: int | undefined): Task_1<int>;
|
|
1055
|
+
write(fd: int, data: string, position?: int | undefined, encoding?: string): Task_1<int>;
|
|
1056
1056
|
writeFile(path: string, data: string, encoding?: string): Task;
|
|
1057
1057
|
writeFileBytes(path: string, data: byte[]): Task;
|
|
1058
1058
|
}
|
|
@@ -1148,12 +1148,12 @@ export type Interface = Interface$instance;
|
|
|
1148
1148
|
export interface InterfaceOptions$instance {
|
|
1149
1149
|
readonly __tsonic_type_nodejs_InterfaceOptions: never;
|
|
1150
1150
|
|
|
1151
|
-
get escapeCodeTimeout():
|
|
1152
|
-
set escapeCodeTimeout(value:
|
|
1151
|
+
get escapeCodeTimeout(): int | undefined;
|
|
1152
|
+
set escapeCodeTimeout(value: int | undefined | int);
|
|
1153
1153
|
get history(): string[] | undefined;
|
|
1154
1154
|
set history(value: string[] | undefined);
|
|
1155
|
-
get historySize():
|
|
1156
|
-
set historySize(value:
|
|
1155
|
+
get historySize(): int | undefined;
|
|
1156
|
+
set historySize(value: int | undefined | int);
|
|
1157
1157
|
get input(): Readable | undefined;
|
|
1158
1158
|
set input(value: Readable | undefined);
|
|
1159
1159
|
get output(): Writable | undefined;
|
|
@@ -1162,8 +1162,8 @@ export interface InterfaceOptions$instance {
|
|
|
1162
1162
|
set prompt(value: string | undefined);
|
|
1163
1163
|
get removeHistoryDuplicates(): Nullable_1<System_Internal.Boolean>;
|
|
1164
1164
|
set removeHistoryDuplicates(value: Nullable_1<System_Internal.Boolean> | boolean);
|
|
1165
|
-
get tabSize():
|
|
1166
|
-
set tabSize(value:
|
|
1165
|
+
get tabSize(): int | undefined;
|
|
1166
|
+
set tabSize(value: int | undefined | int);
|
|
1167
1167
|
get terminal(): Nullable_1<System_Internal.Boolean>;
|
|
1168
1168
|
set terminal(value: Nullable_1<System_Internal.Boolean> | boolean);
|
|
1169
1169
|
}
|
|
@@ -1196,7 +1196,7 @@ export interface KeyObject$instance {
|
|
|
1196
1196
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
1197
1197
|
|
|
1198
1198
|
readonly asymmetricKeyType: string | undefined;
|
|
1199
|
-
readonly symmetricKeySize:
|
|
1199
|
+
readonly symmetricKeySize: int | undefined;
|
|
1200
1200
|
readonly type: string;
|
|
1201
1201
|
Dispose(): void;
|
|
1202
1202
|
export(options?: unknown): unknown;
|
|
@@ -1212,16 +1212,16 @@ export type KeyObject = KeyObject$instance;
|
|
|
1212
1212
|
export interface ListenOptions$instance {
|
|
1213
1213
|
readonly __tsonic_type_nodejs_ListenOptions: never;
|
|
1214
1214
|
|
|
1215
|
-
get backlog():
|
|
1216
|
-
set backlog(value:
|
|
1215
|
+
get backlog(): int | undefined;
|
|
1216
|
+
set backlog(value: int | undefined | int);
|
|
1217
1217
|
get host(): string | undefined;
|
|
1218
1218
|
set host(value: string | undefined);
|
|
1219
1219
|
get ipv6Only(): Nullable_1<System_Internal.Boolean>;
|
|
1220
1220
|
set ipv6Only(value: Nullable_1<System_Internal.Boolean> | boolean);
|
|
1221
1221
|
get path(): string | undefined;
|
|
1222
1222
|
set path(value: string | undefined);
|
|
1223
|
-
get port():
|
|
1224
|
-
set port(value:
|
|
1223
|
+
get port(): int | undefined;
|
|
1224
|
+
set port(value: int | undefined | int);
|
|
1225
1225
|
}
|
|
1226
1226
|
|
|
1227
1227
|
|
|
@@ -1254,8 +1254,8 @@ export interface LookupOptions$instance {
|
|
|
1254
1254
|
set all(value: Nullable_1<System_Internal.Boolean> | boolean);
|
|
1255
1255
|
get family(): unknown | undefined;
|
|
1256
1256
|
set family(value: unknown | undefined);
|
|
1257
|
-
get hints():
|
|
1258
|
-
set hints(value:
|
|
1257
|
+
get hints(): int | undefined;
|
|
1258
|
+
set hints(value: int | undefined | int);
|
|
1259
1259
|
get order(): string | undefined;
|
|
1260
1260
|
set order(value: string | undefined);
|
|
1261
1261
|
get verbatim(): Nullable_1<System_Internal.Boolean>;
|
|
@@ -1328,8 +1328,8 @@ export type MeasureOptions = MeasureOptions$instance;
|
|
|
1328
1328
|
export interface MkdirOptions$instance {
|
|
1329
1329
|
readonly __tsonic_type_nodejs_MkdirOptions: never;
|
|
1330
1330
|
|
|
1331
|
-
get mode():
|
|
1332
|
-
set mode(value:
|
|
1331
|
+
get mode(): int | undefined;
|
|
1332
|
+
set mode(value: int | undefined | int);
|
|
1333
1333
|
get recursive(): Nullable_1<System_Internal.Boolean>;
|
|
1334
1334
|
set recursive(value: Nullable_1<System_Internal.Boolean> | boolean);
|
|
1335
1335
|
}
|
|
@@ -1564,7 +1564,7 @@ export interface PrivateKeyObject$instance extends KeyObject {
|
|
|
1564
1564
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
1565
1565
|
|
|
1566
1566
|
readonly asymmetricKeyType: string | undefined;
|
|
1567
|
-
readonly symmetricKeySize:
|
|
1567
|
+
readonly symmetricKeySize: int | undefined;
|
|
1568
1568
|
readonly type: string;
|
|
1569
1569
|
Dispose(): void;
|
|
1570
1570
|
export(options?: unknown): unknown;
|
|
@@ -1633,7 +1633,7 @@ export interface PublicKeyObject$instance extends KeyObject {
|
|
|
1633
1633
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
1634
1634
|
|
|
1635
1635
|
readonly asymmetricKeyType: string | undefined;
|
|
1636
|
-
readonly symmetricKeySize:
|
|
1636
|
+
readonly symmetricKeySize: int | undefined;
|
|
1637
1637
|
readonly type: string;
|
|
1638
1638
|
Dispose(): void;
|
|
1639
1639
|
export(options?: unknown): unknown;
|
|
@@ -1660,7 +1660,7 @@ export interface Readable$instance extends Stream {
|
|
|
1660
1660
|
isPaused(): boolean;
|
|
1661
1661
|
pause(): Readable;
|
|
1662
1662
|
push(chunk: unknown, encoding?: string): boolean;
|
|
1663
|
-
read(size?:
|
|
1663
|
+
read(size?: int | undefined): unknown | undefined;
|
|
1664
1664
|
resume(): Readable;
|
|
1665
1665
|
setEncoding(encoding: string): Readable;
|
|
1666
1666
|
unpipe(destination?: Stream): Readable;
|
|
@@ -1776,12 +1776,12 @@ export type Resolver = Resolver$instance;
|
|
|
1776
1776
|
export interface ResolverOptions$instance {
|
|
1777
1777
|
readonly __tsonic_type_nodejs_ResolverOptions: never;
|
|
1778
1778
|
|
|
1779
|
-
get maxTimeout():
|
|
1780
|
-
set maxTimeout(value:
|
|
1781
|
-
get timeout():
|
|
1782
|
-
set timeout(value:
|
|
1783
|
-
get tries():
|
|
1784
|
-
set tries(value:
|
|
1779
|
+
get maxTimeout(): int | undefined;
|
|
1780
|
+
set maxTimeout(value: int | undefined | int);
|
|
1781
|
+
get timeout(): int | undefined;
|
|
1782
|
+
set timeout(value: int | undefined | int);
|
|
1783
|
+
get tries(): int | undefined;
|
|
1784
|
+
set tries(value: int | undefined | int);
|
|
1785
1785
|
}
|
|
1786
1786
|
|
|
1787
1787
|
|
|
@@ -1798,7 +1798,7 @@ export interface SecretKeyObject$instance extends KeyObject {
|
|
|
1798
1798
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
1799
1799
|
|
|
1800
1800
|
readonly asymmetricKeyType: string | undefined;
|
|
1801
|
-
readonly symmetricKeySize:
|
|
1801
|
+
readonly symmetricKeySize: int | undefined;
|
|
1802
1802
|
readonly type: string;
|
|
1803
1803
|
Dispose(): void;
|
|
1804
1804
|
export(options?: unknown): unknown;
|
|
@@ -1869,7 +1869,7 @@ export interface Server$instance extends EventEmitter {
|
|
|
1869
1869
|
maxConnections: int;
|
|
1870
1870
|
address(): unknown | undefined;
|
|
1871
1871
|
close(callback?: Action_1<Exception>): Server;
|
|
1872
|
-
getConnections(callback: Action_2<Exception,
|
|
1872
|
+
getConnections(callback: Action_2<Exception, int>): void;
|
|
1873
1873
|
listen(port: int, hostname: string, backlog: int, listeningListener?: Action): Server;
|
|
1874
1874
|
listen(port: int, hostname: string, listeningListener?: Action): Server;
|
|
1875
1875
|
listen(port: int, backlog: int, listeningListener?: Action): Server;
|
|
@@ -1957,15 +1957,15 @@ export interface Socket$instance extends Stream {
|
|
|
1957
1957
|
set localAddress(value: string | undefined);
|
|
1958
1958
|
get localFamily(): string | undefined;
|
|
1959
1959
|
set localFamily(value: string | undefined);
|
|
1960
|
-
get localPort():
|
|
1961
|
-
set localPort(value:
|
|
1960
|
+
get localPort(): int | undefined;
|
|
1961
|
+
set localPort(value: int | undefined | int);
|
|
1962
1962
|
readonly readyState: string;
|
|
1963
1963
|
get remoteAddress(): string | undefined;
|
|
1964
1964
|
set remoteAddress(value: string | undefined);
|
|
1965
1965
|
get remoteFamily(): string | undefined;
|
|
1966
1966
|
set remoteFamily(value: string | undefined);
|
|
1967
|
-
get remotePort():
|
|
1968
|
-
set remotePort(value:
|
|
1967
|
+
get remotePort(): int | undefined;
|
|
1968
|
+
set remotePort(value: int | undefined | int);
|
|
1969
1969
|
address(): unknown;
|
|
1970
1970
|
connect(port: int, host?: string, connectionListener?: Action): Socket;
|
|
1971
1971
|
connect(options: TcpSocketConnectOpts, connectionListener?: Action): Socket;
|
|
@@ -2003,8 +2003,8 @@ export interface SocketAddress$instance {
|
|
|
2003
2003
|
|
|
2004
2004
|
address: string;
|
|
2005
2005
|
family: string;
|
|
2006
|
-
get flowlabel():
|
|
2007
|
-
set flowlabel(value:
|
|
2006
|
+
get flowlabel(): int | undefined;
|
|
2007
|
+
set flowlabel(value: int | undefined | int);
|
|
2008
2008
|
port: int;
|
|
2009
2009
|
}
|
|
2010
2010
|
|
|
@@ -2023,10 +2023,10 @@ export interface SocketAddressInitOptions$instance {
|
|
|
2023
2023
|
set address(value: string | undefined);
|
|
2024
2024
|
get family(): string | undefined;
|
|
2025
2025
|
set family(value: string | undefined);
|
|
2026
|
-
get flowlabel():
|
|
2027
|
-
set flowlabel(value:
|
|
2028
|
-
get port():
|
|
2029
|
-
set port(value:
|
|
2026
|
+
get flowlabel(): int | undefined;
|
|
2027
|
+
set flowlabel(value: int | undefined | int);
|
|
2028
|
+
get port(): int | undefined;
|
|
2029
|
+
set port(value: int | undefined | int);
|
|
2030
2030
|
}
|
|
2031
2031
|
|
|
2032
2032
|
|
|
@@ -2042,8 +2042,8 @@ export interface SocketConstructorOpts$instance {
|
|
|
2042
2042
|
|
|
2043
2043
|
get allowHalfOpen(): Nullable_1<System_Internal.Boolean>;
|
|
2044
2044
|
set allowHalfOpen(value: Nullable_1<System_Internal.Boolean> | boolean);
|
|
2045
|
-
get fd():
|
|
2046
|
-
set fd(value:
|
|
2045
|
+
get fd(): int | undefined;
|
|
2046
|
+
set fd(value: int | undefined | int);
|
|
2047
2047
|
get readable(): Nullable_1<System_Internal.Boolean>;
|
|
2048
2048
|
set readable(value: Nullable_1<System_Internal.Boolean> | boolean);
|
|
2049
2049
|
get writable(): Nullable_1<System_Internal.Boolean>;
|
|
@@ -2062,12 +2062,12 @@ export interface SocketOptions$instance {
|
|
|
2062
2062
|
readonly __tsonic_type_nodejs_SocketOptions: never;
|
|
2063
2063
|
|
|
2064
2064
|
ipv6Only: boolean;
|
|
2065
|
-
get recvBufferSize():
|
|
2066
|
-
set recvBufferSize(value:
|
|
2065
|
+
get recvBufferSize(): int | undefined;
|
|
2066
|
+
set recvBufferSize(value: int | undefined | int);
|
|
2067
2067
|
reuseAddr: boolean;
|
|
2068
2068
|
reusePort: boolean;
|
|
2069
|
-
get sendBufferSize():
|
|
2070
|
-
set sendBufferSize(value:
|
|
2069
|
+
get sendBufferSize(): int | undefined;
|
|
2070
|
+
set sendBufferSize(value: int | undefined | int);
|
|
2071
2071
|
type: string;
|
|
2072
2072
|
}
|
|
2073
2073
|
|
|
@@ -2088,8 +2088,8 @@ export interface SpawnSyncReturns_1$instance<T> {
|
|
|
2088
2088
|
pid: int;
|
|
2089
2089
|
get signal(): string | undefined;
|
|
2090
2090
|
set signal(value: string | undefined);
|
|
2091
|
-
get status():
|
|
2092
|
-
set status(value:
|
|
2091
|
+
get status(): int | undefined;
|
|
2092
|
+
set status(value: int | undefined | int);
|
|
2093
2093
|
stderr: T;
|
|
2094
2094
|
stdout: T;
|
|
2095
2095
|
}
|
|
@@ -2199,20 +2199,20 @@ export type StringDecoder = StringDecoder$instance;
|
|
|
2199
2199
|
export interface TcpSocketConnectOpts$instance {
|
|
2200
2200
|
readonly __tsonic_type_nodejs_TcpSocketConnectOpts: never;
|
|
2201
2201
|
|
|
2202
|
-
get family():
|
|
2203
|
-
set family(value:
|
|
2204
|
-
get hints():
|
|
2205
|
-
set hints(value:
|
|
2202
|
+
get family(): int | undefined;
|
|
2203
|
+
set family(value: int | undefined | int);
|
|
2204
|
+
get hints(): int | undefined;
|
|
2205
|
+
set hints(value: int | undefined | int);
|
|
2206
2206
|
get host(): string | undefined;
|
|
2207
2207
|
set host(value: string | undefined);
|
|
2208
2208
|
get keepAlive(): Nullable_1<System_Internal.Boolean>;
|
|
2209
2209
|
set keepAlive(value: Nullable_1<System_Internal.Boolean> | boolean);
|
|
2210
|
-
get keepAliveInitialDelay():
|
|
2211
|
-
set keepAliveInitialDelay(value:
|
|
2210
|
+
get keepAliveInitialDelay(): int | undefined;
|
|
2211
|
+
set keepAliveInitialDelay(value: int | undefined | int);
|
|
2212
2212
|
get localAddress(): string | undefined;
|
|
2213
2213
|
set localAddress(value: string | undefined);
|
|
2214
|
-
get localPort():
|
|
2215
|
-
set localPort(value:
|
|
2214
|
+
get localPort(): int | undefined;
|
|
2215
|
+
set localPort(value: int | undefined | int);
|
|
2216
2216
|
get noDelay(): Nullable_1<System_Internal.Boolean>;
|
|
2217
2217
|
set noDelay(value: Nullable_1<System_Internal.Boolean> | boolean);
|
|
2218
2218
|
port: int;
|
|
@@ -2323,16 +2323,16 @@ export interface TlsOptions$instance extends CommonConnectionOptions {
|
|
|
2323
2323
|
set ca(value: unknown | undefined);
|
|
2324
2324
|
get cert(): unknown | undefined;
|
|
2325
2325
|
set cert(value: unknown | undefined);
|
|
2326
|
-
get handshakeTimeout():
|
|
2327
|
-
set handshakeTimeout(value:
|
|
2326
|
+
get handshakeTimeout(): int | undefined;
|
|
2327
|
+
set handshakeTimeout(value: int | undefined | int);
|
|
2328
2328
|
get key(): unknown | undefined;
|
|
2329
2329
|
set key(value: unknown | undefined);
|
|
2330
2330
|
get passphrase(): string | undefined;
|
|
2331
2331
|
set passphrase(value: string | undefined);
|
|
2332
2332
|
get pauseOnConnect(): Nullable_1<System_Internal.Boolean>;
|
|
2333
2333
|
set pauseOnConnect(value: Nullable_1<System_Internal.Boolean> | boolean);
|
|
2334
|
-
get sessionTimeout():
|
|
2335
|
-
set sessionTimeout(value:
|
|
2334
|
+
get sessionTimeout(): int | undefined;
|
|
2335
|
+
set sessionTimeout(value: int | undefined | int);
|
|
2336
2336
|
}
|
|
2337
2337
|
|
|
2338
2338
|
|
|
@@ -2609,18 +2609,18 @@ export type X509CertificateInfo = X509CertificateInfo$instance;
|
|
|
2609
2609
|
export interface ZlibOptions$instance {
|
|
2610
2610
|
readonly __tsonic_type_nodejs_ZlibOptions: never;
|
|
2611
2611
|
|
|
2612
|
-
get chunkSize():
|
|
2613
|
-
set chunkSize(value:
|
|
2614
|
-
get level():
|
|
2615
|
-
set level(value:
|
|
2616
|
-
get maxOutputLength():
|
|
2617
|
-
set maxOutputLength(value:
|
|
2618
|
-
get memLevel():
|
|
2619
|
-
set memLevel(value:
|
|
2620
|
-
get strategy():
|
|
2621
|
-
set strategy(value:
|
|
2622
|
-
get windowBits():
|
|
2623
|
-
set windowBits(value:
|
|
2612
|
+
get chunkSize(): int | undefined;
|
|
2613
|
+
set chunkSize(value: int | undefined | int);
|
|
2614
|
+
get level(): int | undefined;
|
|
2615
|
+
set level(value: int | undefined | int);
|
|
2616
|
+
get maxOutputLength(): int | undefined;
|
|
2617
|
+
set maxOutputLength(value: int | undefined | int);
|
|
2618
|
+
get memLevel(): int | undefined;
|
|
2619
|
+
set memLevel(value: int | undefined | int);
|
|
2620
|
+
get strategy(): int | undefined;
|
|
2621
|
+
set strategy(value: int | undefined | int);
|
|
2622
|
+
get windowBits(): int | undefined;
|
|
2623
|
+
set windowBits(value: int | undefined | int);
|
|
2624
2624
|
}
|
|
2625
2625
|
|
|
2626
2626
|
|
|
@@ -2781,7 +2781,7 @@ export abstract class crypto$instance {
|
|
|
2781
2781
|
static randomBytes(size: int, callback: Action_2<Exception, byte[]>): void;
|
|
2782
2782
|
static randomBytes(size: int): byte[];
|
|
2783
2783
|
static randomFill(buffer: byte[], offset: int, size: int, callback: Action_2<Exception, byte[]>): void;
|
|
2784
|
-
static randomFillSync(buffer: byte[], offset?: int, size?:
|
|
2784
|
+
static randomFillSync(buffer: byte[], offset?: int, size?: int | undefined): byte[];
|
|
2785
2785
|
static randomInt(min: int, max: int): int;
|
|
2786
2786
|
static randomInt(max: int): int;
|
|
2787
2787
|
static randomUUID(): string;
|
|
@@ -2840,9 +2840,9 @@ export abstract class dns$instance {
|
|
|
2840
2840
|
static getDefaultResultOrder(): string;
|
|
2841
2841
|
static getServers(): string[];
|
|
2842
2842
|
static lookup(hostname: string, options: LookupOptions, callback: Action_2<Exception, LookupAddress[]>): void;
|
|
2843
|
-
static lookup(hostname: string, options: LookupOptions, callback: Action_3<Exception, System_Internal.String,
|
|
2844
|
-
static lookup(hostname: string, callback: Action_3<Exception, System_Internal.String,
|
|
2845
|
-
static lookup(hostname: string, family: int, callback: Action_3<Exception, System_Internal.String,
|
|
2843
|
+
static lookup(hostname: string, options: LookupOptions, callback: Action_3<Exception, System_Internal.String, int>): void;
|
|
2844
|
+
static lookup(hostname: string, callback: Action_3<Exception, System_Internal.String, int>): void;
|
|
2845
|
+
static lookup(hostname: string, family: int, callback: Action_3<Exception, System_Internal.String, int>): void;
|
|
2846
2846
|
static lookupService(address: string, port: int, callback: Action_3<Exception, System_Internal.String, System_Internal.String>): void;
|
|
2847
2847
|
static resolve(hostname: string, callback: Action_2<Exception, string[]>): void;
|
|
2848
2848
|
static resolve(hostname: string, rrtype: string, callback: Action_2<Exception, unknown>): void;
|
|
@@ -2909,9 +2909,9 @@ export abstract class fs$instance {
|
|
|
2909
2909
|
static mkdirSync(path: string, options: MkdirOptions): void;
|
|
2910
2910
|
static mkdirSync(path: string, recursive?: boolean): void;
|
|
2911
2911
|
static mkdirSync(path: string, options: unknown): void;
|
|
2912
|
-
static open(path: string, flags: string, mode?:
|
|
2913
|
-
static openSync(path: string, flags: string, mode?:
|
|
2914
|
-
static read(fd: int, buffer: byte[], offset: int, length: int, position:
|
|
2912
|
+
static open(path: string, flags: string, mode?: int | undefined): Task_1<int>;
|
|
2913
|
+
static openSync(path: string, flags: string, mode?: int | undefined): int;
|
|
2914
|
+
static read(fd: int, buffer: byte[], offset: int, length: int, position: int | undefined): Task_1<int>;
|
|
2915
2915
|
static readdir(path: string, withFileTypes?: boolean): Task_1<string[]>;
|
|
2916
2916
|
static readdirSync(path: string, withFileTypes?: boolean): string[];
|
|
2917
2917
|
static readFile(path: string, encoding: string): Task_1<System_Internal.String>;
|
|
@@ -2922,7 +2922,7 @@ export abstract class fs$instance {
|
|
|
2922
2922
|
static readFileSyncBytes(path: string): byte[];
|
|
2923
2923
|
static readlink(path: string): Task_1<System_Internal.String>;
|
|
2924
2924
|
static readlinkSync(path: string): string;
|
|
2925
|
-
static readSync(fd: int, buffer: byte[], offset: int, length: int, position:
|
|
2925
|
+
static readSync(fd: int, buffer: byte[], offset: int, length: int, position: int | undefined): int;
|
|
2926
2926
|
static realpath(path: string): Task_1<System_Internal.String>;
|
|
2927
2927
|
static realpathSync(path: string): string;
|
|
2928
2928
|
static rename(oldPath: string, newPath: string): Task;
|
|
@@ -2939,14 +2939,14 @@ export abstract class fs$instance {
|
|
|
2939
2939
|
static truncateSync(path: string, len?: long): void;
|
|
2940
2940
|
static unlink(path: string): Task;
|
|
2941
2941
|
static unlinkSync(path: string): void;
|
|
2942
|
-
static write(fd: int, buffer: byte[], offset: int, length: int, position:
|
|
2943
|
-
static write(fd: int, data: string, position?:
|
|
2942
|
+
static write(fd: int, buffer: byte[], offset: int, length: int, position: int | undefined): Task_1<int>;
|
|
2943
|
+
static write(fd: int, data: string, position?: int | undefined, encoding?: string): Task_1<int>;
|
|
2944
2944
|
static writeFile(path: string, data: string, encoding?: string): Task;
|
|
2945
2945
|
static writeFileBytes(path: string, data: byte[]): Task;
|
|
2946
2946
|
static writeFileSync(path: string, data: string, encoding?: string): void;
|
|
2947
2947
|
static writeFileSyncBytes(path: string, data: byte[]): void;
|
|
2948
|
-
static writeSync(fd: int, buffer: byte[], offset: int, length: int, position:
|
|
2949
|
-
static writeSync(fd: int, data: string, position?:
|
|
2948
|
+
static writeSync(fd: int, buffer: byte[], offset: int, length: int, position: int | undefined): int;
|
|
2949
|
+
static writeSync(fd: int, data: string, position?: int | undefined, encoding?: string): int;
|
|
2950
2950
|
}
|
|
2951
2951
|
|
|
2952
2952
|
|
|
@@ -3040,8 +3040,8 @@ export abstract class process$instance {
|
|
|
3040
3040
|
static argv0: string;
|
|
3041
3041
|
static readonly env: ProcessEnv;
|
|
3042
3042
|
static readonly execPath: string;
|
|
3043
|
-
static get exitCode():
|
|
3044
|
-
static set exitCode(value:
|
|
3043
|
+
static get exitCode(): int | undefined;
|
|
3044
|
+
static set exitCode(value: int | undefined | int);
|
|
3045
3045
|
static readonly pid: int;
|
|
3046
3046
|
static readonly ppid: int;
|
|
3047
3047
|
static readonly platform: string;
|
|
@@ -3049,7 +3049,7 @@ export abstract class process$instance {
|
|
|
3049
3049
|
static readonly versions: ProcessVersions;
|
|
3050
3050
|
static chdir(directory: string): void;
|
|
3051
3051
|
static cwd(): string;
|
|
3052
|
-
static exit(code?:
|
|
3052
|
+
static exit(code?: int | undefined): void;
|
|
3053
3053
|
static kill(pid: int, signal?: unknown): boolean;
|
|
3054
3054
|
}
|
|
3055
3055
|
|
|
@@ -3075,7 +3075,7 @@ export abstract class readline$instance {
|
|
|
3075
3075
|
static createAsyncIterator(input: Readable, options?: InterfaceOptions): IAsyncEnumerable_1<System_Internal.String>;
|
|
3076
3076
|
static createInterface(options: InterfaceOptions): Interface;
|
|
3077
3077
|
static createInterface(input: Readable, output?: Writable): Interface;
|
|
3078
|
-
static cursorTo(stream: Writable, x: int, y?:
|
|
3078
|
+
static cursorTo(stream: Writable, x: int, y?: int | undefined, callback?: Action): boolean;
|
|
3079
3079
|
static emitKeypressEvents(stream: Readable, rl?: Interface): void;
|
|
3080
3080
|
static moveCursor(stream: Writable, dx: int, dy: int, callback?: Action): boolean;
|
|
3081
3081
|
}
|