@tsonic/nodejs 10.0.40 → 10.0.41

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.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';
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,8 +29,16 @@ 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" {
@@ -42,7 +52,12 @@ declare module "node:path" {
42
52
  export const basename: typeof import("@tsonic/nodejs/index.js").path.basename;
43
53
  export const dirname: typeof import("@tsonic/nodejs/index.js").path.dirname;
44
54
  export const parse: typeof import("@tsonic/nodejs/index.js").path.parse;
55
+ export const isAbsolute: typeof import("@tsonic/nodejs/index.js").path.isAbsolute;
56
+ export const normalize: typeof import("@tsonic/nodejs/index.js").path.normalize;
57
+ export const relative: typeof import("@tsonic/nodejs/index.js").path.relative;
45
58
  export const resolve: typeof import("@tsonic/nodejs/index.js").path.resolve;
59
+ export const sep: typeof import("@tsonic/nodejs/index.js").path.sep;
60
+ export const delimiter: typeof import("@tsonic/nodejs/index.js").path.delimiter;
46
61
  }
47
62
 
48
63
  declare module "path" {
@@ -102,9 +117,18 @@ declare module "os" {
102
117
 
103
118
  declare module "node:process" {
104
119
  export { process } from "@tsonic/nodejs/index.js";
120
+ export const argv: typeof import("@tsonic/nodejs/index.js").process.argv;
121
+ export const argv0: typeof import("@tsonic/nodejs/index.js").process.argv0;
105
122
  export const arch: typeof import("@tsonic/nodejs/index.js").process.arch;
106
123
  export const cwd: typeof import("@tsonic/nodejs/index.js").process.cwd;
124
+ export const chdir: typeof import("@tsonic/nodejs/index.js").process.chdir;
125
+ export const env: typeof import("@tsonic/nodejs/index.js").process.env;
126
+ export const execPath: typeof import("@tsonic/nodejs/index.js").process.execPath;
127
+ export const exit: typeof import("@tsonic/nodejs/index.js").process.exit;
128
+ export const exitCode: typeof import("@tsonic/nodejs/index.js").process.exitCode;
129
+ export const kill: typeof import("@tsonic/nodejs/index.js").process.kill;
107
130
  export const pid: typeof import("@tsonic/nodejs/index.js").process.pid;
131
+ export const ppid: typeof import("@tsonic/nodejs/index.js").process.ppid;
108
132
  export const platform: typeof import("@tsonic/nodejs/index.js").process.platform;
109
133
  export const version: typeof import("@tsonic/nodejs/index.js").process.version;
110
134
  }
@@ -155,10 +179,14 @@ declare module "tls" {
155
179
 
156
180
  declare module "node:url" {
157
181
  export { url } from "@tsonic/nodejs/index.js";
182
+ export { URL, URLSearchParams } from "@tsonic/nodejs/index.js";
183
+ export const fileURLToPath: typeof import("@tsonic/nodejs/index.js").url.fileURLToPath;
184
+ export const pathToFileURL: typeof import("@tsonic/nodejs/index.js").url.pathToFileURL;
158
185
  }
159
186
 
160
187
  declare module "url" {
161
188
  export { url } from "@tsonic/nodejs/index.js";
189
+ export { URL, URLSearchParams } from "@tsonic/nodejs/index.js";
162
190
  }
163
191
 
164
192
  declare module "node:http" {