@tsonic/nodejs 10.0.40 → 10.0.42
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/README.md +29 -16
- package/Tsonic.Runtime/bindings.json +4729 -0
- package/Tsonic.Runtime/internal/index.d.ts +362 -0
- package/Tsonic.Runtime.d.ts +43 -0
- package/Tsonic.Runtime.js +9 -0
- package/families.json +9 -1
- package/index/bindings.json +30490 -0
- package/index/internal/index.d.ts +3191 -0
- package/index.d.ts +1 -3
- package/node-aliases.d.ts +85 -0
- package/nodejs.Http/bindings.json +1883 -0
- package/nodejs.Http/internal/index.d.ts +205 -0
- package/nodejs.Http.d.ts +2 -2
- package/package.json +7 -11
- package/tsonic.bindings.json +5 -2
- package/tsonic.surface.json +0 -11
package/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="@tsonic/js" />
|
|
2
1
|
/// <reference path="./node-aliases.d.ts" />
|
|
3
2
|
|
|
4
3
|
// Generated by tsbindgen - Architecture
|
|
@@ -17,6 +16,7 @@ import type { SslProtocols } from '@tsonic/dotnet/System.Security.Authentication
|
|
|
17
16
|
import type { X509Certificate2, X509Certificate2Collection } from '@tsonic/dotnet/System.Security.Cryptography.X509Certificates.js';
|
|
18
17
|
import type { Regex } from '@tsonic/dotnet/System.Text.RegularExpressions.js';
|
|
19
18
|
import type { Task } from '@tsonic/dotnet/System.Threading.Tasks.js';
|
|
19
|
+
import type { Date } from '@tsonic/js/Tsonic.JSRuntime.js';
|
|
20
20
|
|
|
21
21
|
// Public API exports (curated - no internal $instance/$views leakage)
|
|
22
22
|
export { assert$instance as assert } from './index/internal/index.js';
|
|
@@ -28,8 +28,6 @@ export { ChildProcess as ChildProcess } from './index/internal/index.js';
|
|
|
28
28
|
export { ExecOptions as ExecOptions } from './index/internal/index.js';
|
|
29
29
|
export { child_process$instance as child_process } from './index/internal/index.js';
|
|
30
30
|
export { SpawnSyncReturns_1 as SpawnSyncReturns } from './index/internal/index.js';
|
|
31
|
-
export { console$instance as console } from './index/internal/index.js';
|
|
32
|
-
export { ConsoleConstructor as ConsoleConstructor } from './index/internal/index.js';
|
|
33
31
|
export { Certificate$instance as Certificate } from './index/internal/index.js';
|
|
34
32
|
export { X509CertificateExtensions$instance as X509CertificateExtensions } from './index/internal/index.js';
|
|
35
33
|
export { X509CertificateInfo as X509CertificateInfo } from './index/internal/index.js';
|
package/node-aliases.d.ts
CHANGED
|
@@ -8,10 +8,12 @@ declare module "assert" {
|
|
|
8
8
|
|
|
9
9
|
declare module "node:buffer" {
|
|
10
10
|
export { buffer } from "@tsonic/nodejs/index.js";
|
|
11
|
+
export { Buffer } from "@tsonic/nodejs/index.js";
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
declare module "buffer" {
|
|
14
15
|
export { buffer } from "@tsonic/nodejs/index.js";
|
|
16
|
+
export { Buffer } from "@tsonic/nodejs/index.js";
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
declare module "node:child_process" {
|
|
@@ -27,12 +29,33 @@ declare module "node:fs" {
|
|
|
27
29
|
export const existsSync: typeof import("@tsonic/nodejs/index.js").fs.existsSync;
|
|
28
30
|
export const readFileSync: typeof import("@tsonic/nodejs/index.js").fs.readFileSync;
|
|
29
31
|
export const readFile: typeof import("@tsonic/nodejs/index.js").fs.readFile;
|
|
32
|
+
export const readFileSyncBytes: typeof import("@tsonic/nodejs/index.js").fs.readFileSyncBytes;
|
|
33
|
+
export const readdirSync: typeof import("@tsonic/nodejs/index.js").fs.readdirSync;
|
|
30
34
|
export const readdir: typeof import("@tsonic/nodejs/index.js").fs.readdir;
|
|
35
|
+
export const copyFileSync: typeof import("@tsonic/nodejs/index.js").fs.copyFileSync;
|
|
31
36
|
export const mkdirSync: typeof import("@tsonic/nodejs/index.js").fs.mkdirSync;
|
|
37
|
+
export const realpathSync: typeof import("@tsonic/nodejs/index.js").fs.realpathSync;
|
|
38
|
+
export const rmSync: typeof import("@tsonic/nodejs/index.js").fs.rmSync;
|
|
39
|
+
export const statSync: typeof import("@tsonic/nodejs/index.js").fs.statSync;
|
|
40
|
+
export const writeFileSync: typeof import("@tsonic/nodejs/index.js").fs.writeFileSync;
|
|
41
|
+
export const writeFileSyncBytes: typeof import("@tsonic/nodejs/index.js").fs.writeFileSyncBytes;
|
|
32
42
|
}
|
|
33
43
|
|
|
34
44
|
declare module "fs" {
|
|
35
45
|
export { fs } from "@tsonic/nodejs/index.js";
|
|
46
|
+
export const existsSync: typeof import("@tsonic/nodejs/index.js").fs.existsSync;
|
|
47
|
+
export const readFileSync: typeof import("@tsonic/nodejs/index.js").fs.readFileSync;
|
|
48
|
+
export const readFile: typeof import("@tsonic/nodejs/index.js").fs.readFile;
|
|
49
|
+
export const readFileSyncBytes: typeof import("@tsonic/nodejs/index.js").fs.readFileSyncBytes;
|
|
50
|
+
export const readdirSync: typeof import("@tsonic/nodejs/index.js").fs.readdirSync;
|
|
51
|
+
export const readdir: typeof import("@tsonic/nodejs/index.js").fs.readdir;
|
|
52
|
+
export const copyFileSync: typeof import("@tsonic/nodejs/index.js").fs.copyFileSync;
|
|
53
|
+
export const mkdirSync: typeof import("@tsonic/nodejs/index.js").fs.mkdirSync;
|
|
54
|
+
export const realpathSync: typeof import("@tsonic/nodejs/index.js").fs.realpathSync;
|
|
55
|
+
export const rmSync: typeof import("@tsonic/nodejs/index.js").fs.rmSync;
|
|
56
|
+
export const statSync: typeof import("@tsonic/nodejs/index.js").fs.statSync;
|
|
57
|
+
export const writeFileSync: typeof import("@tsonic/nodejs/index.js").fs.writeFileSync;
|
|
58
|
+
export const writeFileSyncBytes: typeof import("@tsonic/nodejs/index.js").fs.writeFileSyncBytes;
|
|
36
59
|
}
|
|
37
60
|
|
|
38
61
|
declare module "node:path" {
|
|
@@ -42,20 +65,39 @@ declare module "node:path" {
|
|
|
42
65
|
export const basename: typeof import("@tsonic/nodejs/index.js").path.basename;
|
|
43
66
|
export const dirname: typeof import("@tsonic/nodejs/index.js").path.dirname;
|
|
44
67
|
export const parse: typeof import("@tsonic/nodejs/index.js").path.parse;
|
|
68
|
+
export const isAbsolute: typeof import("@tsonic/nodejs/index.js").path.isAbsolute;
|
|
69
|
+
export const normalize: typeof import("@tsonic/nodejs/index.js").path.normalize;
|
|
70
|
+
export const relative: typeof import("@tsonic/nodejs/index.js").path.relative;
|
|
45
71
|
export const resolve: typeof import("@tsonic/nodejs/index.js").path.resolve;
|
|
72
|
+
export const sep: typeof import("@tsonic/nodejs/index.js").path.sep;
|
|
73
|
+
export const delimiter: typeof import("@tsonic/nodejs/index.js").path.delimiter;
|
|
46
74
|
}
|
|
47
75
|
|
|
48
76
|
declare module "path" {
|
|
49
77
|
export { path } from "@tsonic/nodejs/index.js";
|
|
78
|
+
export const join: typeof import("@tsonic/nodejs/index.js").path.join;
|
|
79
|
+
export const extname: typeof import("@tsonic/nodejs/index.js").path.extname;
|
|
80
|
+
export const basename: typeof import("@tsonic/nodejs/index.js").path.basename;
|
|
81
|
+
export const dirname: typeof import("@tsonic/nodejs/index.js").path.dirname;
|
|
82
|
+
export const parse: typeof import("@tsonic/nodejs/index.js").path.parse;
|
|
83
|
+
export const isAbsolute: typeof import("@tsonic/nodejs/index.js").path.isAbsolute;
|
|
84
|
+
export const normalize: typeof import("@tsonic/nodejs/index.js").path.normalize;
|
|
85
|
+
export const relative: typeof import("@tsonic/nodejs/index.js").path.relative;
|
|
86
|
+
export const resolve: typeof import("@tsonic/nodejs/index.js").path.resolve;
|
|
87
|
+
export const sep: typeof import("@tsonic/nodejs/index.js").path.sep;
|
|
88
|
+
export const delimiter: typeof import("@tsonic/nodejs/index.js").path.delimiter;
|
|
50
89
|
}
|
|
51
90
|
|
|
52
91
|
declare module "node:crypto" {
|
|
53
92
|
export { crypto } from "@tsonic/nodejs/index.js";
|
|
93
|
+
export const createHash: typeof import("@tsonic/nodejs/index.js").crypto.createHash;
|
|
54
94
|
export const randomUUID: typeof import("@tsonic/nodejs/index.js").crypto.randomUUID;
|
|
55
95
|
}
|
|
56
96
|
|
|
57
97
|
declare module "crypto" {
|
|
58
98
|
export { crypto } from "@tsonic/nodejs/index.js";
|
|
99
|
+
export const createHash: typeof import("@tsonic/nodejs/index.js").crypto.createHash;
|
|
100
|
+
export const randomUUID: typeof import("@tsonic/nodejs/index.js").crypto.randomUUID;
|
|
59
101
|
}
|
|
60
102
|
|
|
61
103
|
declare module "node:dgram" {
|
|
@@ -98,19 +140,44 @@ declare module "node:os" {
|
|
|
98
140
|
|
|
99
141
|
declare module "os" {
|
|
100
142
|
export { os } from "@tsonic/nodejs/index.js";
|
|
143
|
+
export const homedir: typeof import("@tsonic/nodejs/index.js").os.homedir;
|
|
144
|
+
export const tmpdir: typeof import("@tsonic/nodejs/index.js").os.tmpdir;
|
|
101
145
|
}
|
|
102
146
|
|
|
103
147
|
declare module "node:process" {
|
|
104
148
|
export { process } from "@tsonic/nodejs/index.js";
|
|
149
|
+
export const argv: typeof import("@tsonic/nodejs/index.js").process.argv;
|
|
150
|
+
export const argv0: typeof import("@tsonic/nodejs/index.js").process.argv0;
|
|
105
151
|
export const arch: typeof import("@tsonic/nodejs/index.js").process.arch;
|
|
106
152
|
export const cwd: typeof import("@tsonic/nodejs/index.js").process.cwd;
|
|
153
|
+
export const chdir: typeof import("@tsonic/nodejs/index.js").process.chdir;
|
|
154
|
+
export const env: typeof import("@tsonic/nodejs/index.js").process.env;
|
|
155
|
+
export const execPath: typeof import("@tsonic/nodejs/index.js").process.execPath;
|
|
156
|
+
export const exit: typeof import("@tsonic/nodejs/index.js").process.exit;
|
|
157
|
+
export const exitCode: typeof import("@tsonic/nodejs/index.js").process.exitCode;
|
|
158
|
+
export const kill: typeof import("@tsonic/nodejs/index.js").process.kill;
|
|
107
159
|
export const pid: typeof import("@tsonic/nodejs/index.js").process.pid;
|
|
160
|
+
export const ppid: typeof import("@tsonic/nodejs/index.js").process.ppid;
|
|
108
161
|
export const platform: typeof import("@tsonic/nodejs/index.js").process.platform;
|
|
109
162
|
export const version: typeof import("@tsonic/nodejs/index.js").process.version;
|
|
110
163
|
}
|
|
111
164
|
|
|
112
165
|
declare module "process" {
|
|
113
166
|
export { process } from "@tsonic/nodejs/index.js";
|
|
167
|
+
export const argv: typeof import("@tsonic/nodejs/index.js").process.argv;
|
|
168
|
+
export const argv0: typeof import("@tsonic/nodejs/index.js").process.argv0;
|
|
169
|
+
export const arch: typeof import("@tsonic/nodejs/index.js").process.arch;
|
|
170
|
+
export const cwd: typeof import("@tsonic/nodejs/index.js").process.cwd;
|
|
171
|
+
export const chdir: typeof import("@tsonic/nodejs/index.js").process.chdir;
|
|
172
|
+
export const env: typeof import("@tsonic/nodejs/index.js").process.env;
|
|
173
|
+
export const execPath: typeof import("@tsonic/nodejs/index.js").process.execPath;
|
|
174
|
+
export const exit: typeof import("@tsonic/nodejs/index.js").process.exit;
|
|
175
|
+
export const exitCode: typeof import("@tsonic/nodejs/index.js").process.exitCode;
|
|
176
|
+
export const kill: typeof import("@tsonic/nodejs/index.js").process.kill;
|
|
177
|
+
export const pid: typeof import("@tsonic/nodejs/index.js").process.pid;
|
|
178
|
+
export const ppid: typeof import("@tsonic/nodejs/index.js").process.ppid;
|
|
179
|
+
export const platform: typeof import("@tsonic/nodejs/index.js").process.platform;
|
|
180
|
+
export const version: typeof import("@tsonic/nodejs/index.js").process.version;
|
|
114
181
|
}
|
|
115
182
|
|
|
116
183
|
declare module "node:querystring" {
|
|
@@ -139,10 +206,22 @@ declare module "stream" {
|
|
|
139
206
|
|
|
140
207
|
declare module "node:timers" {
|
|
141
208
|
export { timers } from "@tsonic/nodejs/index.js";
|
|
209
|
+
export const clearImmediate: typeof import("@tsonic/nodejs/index.js").timers.clearImmediate;
|
|
210
|
+
export const clearInterval: typeof import("@tsonic/nodejs/index.js").timers.clearInterval;
|
|
211
|
+
export const clearTimeout: typeof import("@tsonic/nodejs/index.js").timers.clearTimeout;
|
|
212
|
+
export const setImmediate: typeof import("@tsonic/nodejs/index.js").timers.setImmediate;
|
|
213
|
+
export const setInterval: typeof import("@tsonic/nodejs/index.js").timers.setInterval;
|
|
214
|
+
export const setTimeout: typeof import("@tsonic/nodejs/index.js").timers.setTimeout;
|
|
142
215
|
}
|
|
143
216
|
|
|
144
217
|
declare module "timers" {
|
|
145
218
|
export { timers } from "@tsonic/nodejs/index.js";
|
|
219
|
+
export const clearImmediate: typeof import("@tsonic/nodejs/index.js").timers.clearImmediate;
|
|
220
|
+
export const clearInterval: typeof import("@tsonic/nodejs/index.js").timers.clearInterval;
|
|
221
|
+
export const clearTimeout: typeof import("@tsonic/nodejs/index.js").timers.clearTimeout;
|
|
222
|
+
export const setImmediate: typeof import("@tsonic/nodejs/index.js").timers.setImmediate;
|
|
223
|
+
export const setInterval: typeof import("@tsonic/nodejs/index.js").timers.setInterval;
|
|
224
|
+
export const setTimeout: typeof import("@tsonic/nodejs/index.js").timers.setTimeout;
|
|
146
225
|
}
|
|
147
226
|
|
|
148
227
|
declare module "node:tls" {
|
|
@@ -155,10 +234,16 @@ declare module "tls" {
|
|
|
155
234
|
|
|
156
235
|
declare module "node:url" {
|
|
157
236
|
export { url } from "@tsonic/nodejs/index.js";
|
|
237
|
+
export { URL, URLSearchParams } from "@tsonic/nodejs/index.js";
|
|
238
|
+
export const fileURLToPath: typeof import("@tsonic/nodejs/index.js").url.fileURLToPath;
|
|
239
|
+
export const pathToFileURL: typeof import("@tsonic/nodejs/index.js").url.pathToFileURL;
|
|
158
240
|
}
|
|
159
241
|
|
|
160
242
|
declare module "url" {
|
|
161
243
|
export { url } from "@tsonic/nodejs/index.js";
|
|
244
|
+
export { URL, URLSearchParams } from "@tsonic/nodejs/index.js";
|
|
245
|
+
export const fileURLToPath: typeof import("@tsonic/nodejs/index.js").url.fileURLToPath;
|
|
246
|
+
export const pathToFileURL: typeof import("@tsonic/nodejs/index.js").url.pathToFileURL;
|
|
162
247
|
}
|
|
163
248
|
|
|
164
249
|
declare module "node:http" {
|