@tsonic/nodejs 10.0.38 → 10.0.40

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/bindings.json ADDED
@@ -0,0 +1,214 @@
1
+ {
2
+ "bindings": {
3
+ "node:assert": {
4
+ "kind": "module",
5
+ "assembly": "nodejs",
6
+ "type": "nodejs.assert"
7
+ },
8
+ "assert": {
9
+ "kind": "module",
10
+ "assembly": "nodejs",
11
+ "type": "nodejs.assert"
12
+ },
13
+ "node:buffer": {
14
+ "kind": "module",
15
+ "assembly": "nodejs",
16
+ "type": "nodejs.buffer"
17
+ },
18
+ "buffer": {
19
+ "kind": "module",
20
+ "assembly": "nodejs",
21
+ "type": "nodejs.buffer"
22
+ },
23
+ "node:child_process": {
24
+ "kind": "module",
25
+ "assembly": "nodejs",
26
+ "type": "nodejs.child_process"
27
+ },
28
+ "child_process": {
29
+ "kind": "module",
30
+ "assembly": "nodejs",
31
+ "type": "nodejs.child_process"
32
+ },
33
+ "node:crypto": {
34
+ "kind": "module",
35
+ "assembly": "nodejs",
36
+ "type": "nodejs.crypto"
37
+ },
38
+ "crypto": {
39
+ "kind": "module",
40
+ "assembly": "nodejs",
41
+ "type": "nodejs.crypto"
42
+ },
43
+ "node:dgram": {
44
+ "kind": "module",
45
+ "assembly": "nodejs",
46
+ "type": "nodejs.dgram"
47
+ },
48
+ "dgram": {
49
+ "kind": "module",
50
+ "assembly": "nodejs",
51
+ "type": "nodejs.dgram"
52
+ },
53
+ "node:dns": {
54
+ "kind": "module",
55
+ "assembly": "nodejs",
56
+ "type": "nodejs.dns"
57
+ },
58
+ "dns": {
59
+ "kind": "module",
60
+ "assembly": "nodejs",
61
+ "type": "nodejs.dns"
62
+ },
63
+ "node:events": {
64
+ "kind": "module",
65
+ "assembly": "nodejs",
66
+ "type": "nodejs.events"
67
+ },
68
+ "events": {
69
+ "kind": "module",
70
+ "assembly": "nodejs",
71
+ "type": "nodejs.events"
72
+ },
73
+ "node:http": {
74
+ "kind": "module",
75
+ "assembly": "nodejs",
76
+ "type": "nodejs.Http.http"
77
+ },
78
+ "http": {
79
+ "kind": "module",
80
+ "assembly": "nodejs",
81
+ "type": "nodejs.Http.http"
82
+ },
83
+ "node:fs": {
84
+ "kind": "module",
85
+ "assembly": "nodejs",
86
+ "type": "nodejs.fs"
87
+ },
88
+ "fs": {
89
+ "kind": "module",
90
+ "assembly": "nodejs",
91
+ "type": "nodejs.fs"
92
+ },
93
+ "node:net": {
94
+ "kind": "module",
95
+ "assembly": "nodejs",
96
+ "type": "nodejs.net"
97
+ },
98
+ "net": {
99
+ "kind": "module",
100
+ "assembly": "nodejs",
101
+ "type": "nodejs.net"
102
+ },
103
+ "node:os": {
104
+ "kind": "module",
105
+ "assembly": "nodejs",
106
+ "type": "nodejs.os"
107
+ },
108
+ "os": {
109
+ "kind": "module",
110
+ "assembly": "nodejs",
111
+ "type": "nodejs.os"
112
+ },
113
+ "node:path": {
114
+ "kind": "module",
115
+ "assembly": "nodejs",
116
+ "type": "nodejs.path"
117
+ },
118
+ "path": {
119
+ "kind": "module",
120
+ "assembly": "nodejs",
121
+ "type": "nodejs.path"
122
+ },
123
+ "node:process": {
124
+ "kind": "module",
125
+ "assembly": "nodejs",
126
+ "type": "nodejs.process"
127
+ },
128
+ "process": {
129
+ "kind": "module",
130
+ "assembly": "nodejs",
131
+ "type": "nodejs.process"
132
+ },
133
+ "node:querystring": {
134
+ "kind": "module",
135
+ "assembly": "nodejs",
136
+ "type": "nodejs.querystring"
137
+ },
138
+ "querystring": {
139
+ "kind": "module",
140
+ "assembly": "nodejs",
141
+ "type": "nodejs.querystring"
142
+ },
143
+ "node:readline": {
144
+ "kind": "module",
145
+ "assembly": "nodejs",
146
+ "type": "nodejs.readline"
147
+ },
148
+ "readline": {
149
+ "kind": "module",
150
+ "assembly": "nodejs",
151
+ "type": "nodejs.readline"
152
+ },
153
+ "node:stream": {
154
+ "kind": "module",
155
+ "assembly": "nodejs",
156
+ "type": "nodejs.stream"
157
+ },
158
+ "stream": {
159
+ "kind": "module",
160
+ "assembly": "nodejs",
161
+ "type": "nodejs.stream"
162
+ },
163
+ "node:timers": {
164
+ "kind": "module",
165
+ "assembly": "nodejs",
166
+ "type": "nodejs.timers"
167
+ },
168
+ "timers": {
169
+ "kind": "module",
170
+ "assembly": "nodejs",
171
+ "type": "nodejs.timers"
172
+ },
173
+ "node:tls": {
174
+ "kind": "module",
175
+ "assembly": "nodejs",
176
+ "type": "nodejs.tls"
177
+ },
178
+ "tls": {
179
+ "kind": "module",
180
+ "assembly": "nodejs",
181
+ "type": "nodejs.tls"
182
+ },
183
+ "node:url": {
184
+ "kind": "module",
185
+ "assembly": "nodejs",
186
+ "type": "nodejs.url"
187
+ },
188
+ "url": {
189
+ "kind": "module",
190
+ "assembly": "nodejs",
191
+ "type": "nodejs.url"
192
+ },
193
+ "node:util": {
194
+ "kind": "module",
195
+ "assembly": "nodejs",
196
+ "type": "nodejs.util"
197
+ },
198
+ "util": {
199
+ "kind": "module",
200
+ "assembly": "nodejs",
201
+ "type": "nodejs.util"
202
+ },
203
+ "node:zlib": {
204
+ "kind": "module",
205
+ "assembly": "nodejs",
206
+ "type": "nodejs.zlib"
207
+ },
208
+ "zlib": {
209
+ "kind": "module",
210
+ "assembly": "nodejs",
211
+ "type": "nodejs.zlib"
212
+ }
213
+ }
214
+ }
package/index.d.ts CHANGED
@@ -1,3 +1,6 @@
1
+ /// <reference types="@tsonic/js" />
2
+ /// <reference path="./node-aliases.d.ts" />
3
+
1
4
  // Generated by tsbindgen - Architecture
2
5
  // Namespace: nodejs
3
6
  // Facade - Public API Surface
@@ -0,0 +1,194 @@
1
+ declare module "node:assert" {
2
+ export { assert } from "@tsonic/nodejs/index.js";
3
+ }
4
+
5
+ declare module "assert" {
6
+ export { assert } from "@tsonic/nodejs/index.js";
7
+ }
8
+
9
+ declare module "node:buffer" {
10
+ export { buffer } from "@tsonic/nodejs/index.js";
11
+ }
12
+
13
+ declare module "buffer" {
14
+ export { buffer } from "@tsonic/nodejs/index.js";
15
+ }
16
+
17
+ declare module "node:child_process" {
18
+ export { child_process } from "@tsonic/nodejs/index.js";
19
+ }
20
+
21
+ declare module "child_process" {
22
+ export { child_process } from "@tsonic/nodejs/index.js";
23
+ }
24
+
25
+ declare module "node:fs" {
26
+ export { fs } from "@tsonic/nodejs/index.js";
27
+ export const existsSync: typeof import("@tsonic/nodejs/index.js").fs.existsSync;
28
+ export const readFileSync: typeof import("@tsonic/nodejs/index.js").fs.readFileSync;
29
+ export const readFile: typeof import("@tsonic/nodejs/index.js").fs.readFile;
30
+ export const readdir: typeof import("@tsonic/nodejs/index.js").fs.readdir;
31
+ export const mkdirSync: typeof import("@tsonic/nodejs/index.js").fs.mkdirSync;
32
+ }
33
+
34
+ declare module "fs" {
35
+ export { fs } from "@tsonic/nodejs/index.js";
36
+ }
37
+
38
+ declare module "node:path" {
39
+ export { path } from "@tsonic/nodejs/index.js";
40
+ export const join: typeof import("@tsonic/nodejs/index.js").path.join;
41
+ export const extname: typeof import("@tsonic/nodejs/index.js").path.extname;
42
+ export const basename: typeof import("@tsonic/nodejs/index.js").path.basename;
43
+ export const dirname: typeof import("@tsonic/nodejs/index.js").path.dirname;
44
+ export const parse: typeof import("@tsonic/nodejs/index.js").path.parse;
45
+ export const resolve: typeof import("@tsonic/nodejs/index.js").path.resolve;
46
+ }
47
+
48
+ declare module "path" {
49
+ export { path } from "@tsonic/nodejs/index.js";
50
+ }
51
+
52
+ declare module "node:crypto" {
53
+ export { crypto } from "@tsonic/nodejs/index.js";
54
+ export const randomUUID: typeof import("@tsonic/nodejs/index.js").crypto.randomUUID;
55
+ }
56
+
57
+ declare module "crypto" {
58
+ export { crypto } from "@tsonic/nodejs/index.js";
59
+ }
60
+
61
+ declare module "node:dgram" {
62
+ export { dgram } from "@tsonic/nodejs/index.js";
63
+ }
64
+
65
+ declare module "dgram" {
66
+ export { dgram } from "@tsonic/nodejs/index.js";
67
+ }
68
+
69
+ declare module "node:dns" {
70
+ export { dns } from "@tsonic/nodejs/index.js";
71
+ }
72
+
73
+ declare module "dns" {
74
+ export { dns } from "@tsonic/nodejs/index.js";
75
+ }
76
+
77
+ declare module "node:events" {
78
+ export { events } from "@tsonic/nodejs/index.js";
79
+ }
80
+
81
+ declare module "events" {
82
+ export { events } from "@tsonic/nodejs/index.js";
83
+ }
84
+
85
+ declare module "node:net" {
86
+ export { net } from "@tsonic/nodejs/index.js";
87
+ }
88
+
89
+ declare module "net" {
90
+ export { net } from "@tsonic/nodejs/index.js";
91
+ }
92
+
93
+ declare module "node:os" {
94
+ export { os } from "@tsonic/nodejs/index.js";
95
+ export const homedir: typeof import("@tsonic/nodejs/index.js").os.homedir;
96
+ export const tmpdir: typeof import("@tsonic/nodejs/index.js").os.tmpdir;
97
+ }
98
+
99
+ declare module "os" {
100
+ export { os } from "@tsonic/nodejs/index.js";
101
+ }
102
+
103
+ declare module "node:process" {
104
+ export { process } from "@tsonic/nodejs/index.js";
105
+ export const arch: typeof import("@tsonic/nodejs/index.js").process.arch;
106
+ export const cwd: typeof import("@tsonic/nodejs/index.js").process.cwd;
107
+ export const pid: typeof import("@tsonic/nodejs/index.js").process.pid;
108
+ export const platform: typeof import("@tsonic/nodejs/index.js").process.platform;
109
+ export const version: typeof import("@tsonic/nodejs/index.js").process.version;
110
+ }
111
+
112
+ declare module "process" {
113
+ export { process } from "@tsonic/nodejs/index.js";
114
+ }
115
+
116
+ declare module "node:querystring" {
117
+ export { querystring } from "@tsonic/nodejs/index.js";
118
+ }
119
+
120
+ declare module "querystring" {
121
+ export { querystring } from "@tsonic/nodejs/index.js";
122
+ }
123
+
124
+ declare module "node:readline" {
125
+ export { readline } from "@tsonic/nodejs/index.js";
126
+ }
127
+
128
+ declare module "readline" {
129
+ export { readline } from "@tsonic/nodejs/index.js";
130
+ }
131
+
132
+ declare module "node:stream" {
133
+ export { stream } from "@tsonic/nodejs/index.js";
134
+ }
135
+
136
+ declare module "stream" {
137
+ export { stream } from "@tsonic/nodejs/index.js";
138
+ }
139
+
140
+ declare module "node:timers" {
141
+ export { timers } from "@tsonic/nodejs/index.js";
142
+ }
143
+
144
+ declare module "timers" {
145
+ export { timers } from "@tsonic/nodejs/index.js";
146
+ }
147
+
148
+ declare module "node:tls" {
149
+ export { tls } from "@tsonic/nodejs/index.js";
150
+ }
151
+
152
+ declare module "tls" {
153
+ export { tls } from "@tsonic/nodejs/index.js";
154
+ }
155
+
156
+ declare module "node:url" {
157
+ export { url } from "@tsonic/nodejs/index.js";
158
+ }
159
+
160
+ declare module "url" {
161
+ export { url } from "@tsonic/nodejs/index.js";
162
+ }
163
+
164
+ declare module "node:http" {
165
+ export { http } from "@tsonic/nodejs/nodejs.Http.js";
166
+ export type { AddressInfo, ClientRequest, IncomingMessage, RequestOptions, Server, ServerResponse } from "@tsonic/nodejs/nodejs.Http.js";
167
+ export const createServer: typeof import("@tsonic/nodejs/nodejs.Http.js").http.createServer;
168
+ export const get: typeof import("@tsonic/nodejs/nodejs.Http.js").http.get;
169
+ export const request: typeof import("@tsonic/nodejs/nodejs.Http.js").http.request;
170
+ }
171
+
172
+ declare module "http" {
173
+ export { http } from "@tsonic/nodejs/nodejs.Http.js";
174
+ export type { AddressInfo, ClientRequest, IncomingMessage, RequestOptions, Server, ServerResponse } from "@tsonic/nodejs/nodejs.Http.js";
175
+ export const createServer: typeof import("@tsonic/nodejs/nodejs.Http.js").http.createServer;
176
+ export const get: typeof import("@tsonic/nodejs/nodejs.Http.js").http.get;
177
+ export const request: typeof import("@tsonic/nodejs/nodejs.Http.js").http.request;
178
+ }
179
+
180
+ declare module "node:util" {
181
+ export { util } from "@tsonic/nodejs/index.js";
182
+ }
183
+
184
+ declare module "util" {
185
+ export { util } from "@tsonic/nodejs/index.js";
186
+ }
187
+
188
+ declare module "node:zlib" {
189
+ export { zlib } from "@tsonic/nodejs/index.js";
190
+ }
191
+
192
+ declare module "zlib" {
193
+ export { zlib } from "@tsonic/nodejs/index.js";
194
+ }
package/package.json CHANGED
@@ -1,7 +1,22 @@
1
1
  {
2
2
  "name": "@tsonic/nodejs",
3
- "version": "10.0.38",
3
+ "version": "10.0.40",
4
4
  "description": "TypeScript type definitions for Node.js CLR library",
5
+ "main": "index.d.ts",
6
+ "types": "index.d.ts",
7
+ "files": [
8
+ "index.d.ts",
9
+ "index.js",
10
+ "node-aliases.d.ts",
11
+ "nodejs.Http.d.ts",
12
+ "nodejs.Http.js",
13
+ "bindings.json",
14
+ "families.json",
15
+ "tsonic.bindings.json",
16
+ "tsonic.surface.json",
17
+ "README.md",
18
+ "LICENSE"
19
+ ],
5
20
  "type": "module",
6
21
  "keywords": [
7
22
  "nodejs",
@@ -18,8 +33,9 @@
18
33
  "type": "git",
19
34
  "url": "https://github.com/tsoniclang/nodejs.git"
20
35
  },
21
- "peerDependencies": {
22
- "@tsonic/dotnet": "10.0.35",
23
- "@tsonic/core": "10.0.35"
36
+ "dependencies": {
37
+ "@tsonic/js": "10.0.40",
38
+ "@tsonic/dotnet": "10.0.37",
39
+ "@tsonic/core": "10.0.37"
24
40
  }
25
41
  }
@@ -1,16 +1,23 @@
1
1
  {
2
2
  "bindingVersion": 1,
3
3
  "packageName": "@tsonic/nodejs",
4
- "surfaceMode": "nodejs",
4
+ "surfaceMode": "@tsonic/nodejs",
5
5
  "runtimePackages": [
6
6
  "@tsonic/nodejs"
7
7
  ],
8
8
  "dotnet": {
9
9
  "frameworkReferences": [
10
- { "id": "Microsoft.AspNetCore.App", "types": "@tsonic/aspnetcore" }
10
+ {
11
+ "id": "Microsoft.AspNetCore.App",
12
+ "types": "@tsonic/aspnetcore"
13
+ }
11
14
  ],
12
15
  "packageReferences": [
13
- { "id": "Tsonic.Nodejs", "version": "1.0.1", "types": "@tsonic/nodejs" }
16
+ {
17
+ "id": "Tsonic.Nodejs",
18
+ "version": "1.0.1",
19
+ "types": "@tsonic/nodejs"
20
+ }
14
21
  ]
15
22
  }
16
23
  }
@@ -0,0 +1,11 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "@tsonic/nodejs",
4
+ "extends": [
5
+ "@tsonic/js"
6
+ ],
7
+ "requiredTypeRoots": [
8
+ "."
9
+ ],
10
+ "useStandardLib": false
11
+ }