@effect/platform-bun 4.0.1 → 4.0.3
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/ai-docs/package.json +2 -2
- package/ai-docs/tsconfig.json +2 -1
- package/dist/BunAddressResolver.d.ts +15 -0
- package/dist/BunAddressResolver.d.ts.map +1 -0
- package/dist/BunAddressResolver.js +15 -0
- package/dist/BunAddressResolver.js.map +1 -0
- package/dist/BunChildProcessSpawner.d.ts +1 -0
- package/dist/BunChildProcessSpawner.d.ts.map +1 -1
- package/dist/BunChildProcessSpawner.js +1 -0
- package/dist/BunChildProcessSpawner.js.map +1 -1
- package/dist/BunClusterHttp.d.ts +3 -0
- package/dist/BunClusterHttp.d.ts.map +1 -1
- package/dist/BunClusterHttp.js +4 -0
- package/dist/BunClusterHttp.js.map +1 -1
- package/dist/BunClusterSocket.d.ts +5 -0
- package/dist/BunClusterSocket.d.ts.map +1 -1
- package/dist/BunClusterSocket.js +5 -0
- package/dist/BunClusterSocket.js.map +1 -1
- package/dist/BunCrypto.d.ts +1 -0
- package/dist/BunCrypto.d.ts.map +1 -1
- package/dist/BunCrypto.js +2 -0
- package/dist/BunCrypto.js.map +1 -1
- package/dist/BunDatagramSocket.d.ts +227 -0
- package/dist/BunDatagramSocket.d.ts.map +1 -0
- package/dist/BunDatagramSocket.js +502 -0
- package/dist/BunDatagramSocket.js.map +1 -0
- package/dist/BunDns.d.ts +72 -0
- package/dist/BunDns.d.ts.map +1 -0
- package/dist/BunDns.js +66 -0
- package/dist/BunDns.js.map +1 -0
- package/dist/BunFileSystem.d.ts +1 -0
- package/dist/BunFileSystem.d.ts.map +1 -1
- package/dist/BunFileSystem.js +2 -0
- package/dist/BunFileSystem.js.map +1 -1
- package/dist/BunHttpClient.d.ts +1 -0
- package/dist/BunHttpClient.d.ts.map +1 -1
- package/dist/BunHttpClient.js +1 -0
- package/dist/BunHttpClient.js.map +1 -1
- package/dist/BunHttpPlatform.d.ts +1 -0
- package/dist/BunHttpPlatform.d.ts.map +1 -1
- package/dist/BunHttpPlatform.js +2 -0
- package/dist/BunHttpPlatform.js.map +1 -1
- package/dist/BunHttpServer.d.ts +10 -1
- package/dist/BunHttpServer.d.ts.map +1 -1
- package/dist/BunHttpServer.js +16 -2
- package/dist/BunHttpServer.js.map +1 -1
- package/dist/BunHttpServerRequest.d.ts +2 -0
- package/dist/BunHttpServerRequest.d.ts.map +1 -1
- package/dist/BunHttpServerRequest.js +1 -0
- package/dist/BunHttpServerRequest.js.map +1 -1
- package/dist/BunMultipart.d.ts +3 -0
- package/dist/BunMultipart.d.ts.map +1 -1
- package/dist/BunMultipart.js +2 -0
- package/dist/BunMultipart.js.map +1 -1
- package/dist/BunPath.d.ts +3 -0
- package/dist/BunPath.d.ts.map +1 -1
- package/dist/BunPath.js +4 -0
- package/dist/BunPath.js.map +1 -1
- package/dist/BunRuntime.d.ts +3 -0
- package/dist/BunRuntime.d.ts.map +1 -1
- package/dist/BunRuntime.js +2 -0
- package/dist/BunRuntime.js.map +1 -1
- package/dist/BunServices.d.ts +3 -0
- package/dist/BunServices.d.ts.map +1 -1
- package/dist/BunServices.js +1 -0
- package/dist/BunServices.js.map +1 -1
- package/dist/BunSink.d.ts +1 -0
- package/dist/BunSink.d.ts.map +1 -1
- package/dist/BunSink.js +1 -0
- package/dist/BunSink.js.map +1 -1
- package/dist/BunSocket.d.ts +7 -2
- package/dist/BunSocket.d.ts.map +1 -1
- package/dist/BunSocket.js +18 -6
- package/dist/BunSocket.js.map +1 -1
- package/dist/BunSocketServer.d.ts +1 -0
- package/dist/BunSocketServer.d.ts.map +1 -1
- package/dist/BunSocketServer.js +1 -0
- package/dist/BunSocketServer.js.map +1 -1
- package/dist/BunStdio.d.ts +1 -0
- package/dist/BunStdio.d.ts.map +1 -1
- package/dist/BunStdio.js +2 -0
- package/dist/BunStdio.js.map +1 -1
- package/dist/BunStream.d.ts +1 -0
- package/dist/BunStream.d.ts.map +1 -1
- package/dist/BunStream.js +2 -0
- package/dist/BunStream.js.map +1 -1
- package/dist/BunTerminal.d.ts +6 -3
- package/dist/BunTerminal.d.ts.map +1 -1
- package/dist/BunTerminal.js +7 -3
- package/dist/BunTerminal.js.map +1 -1
- package/dist/BunWorker.d.ts +2 -0
- package/dist/BunWorker.d.ts.map +1 -1
- package/dist/BunWorker.js +3 -0
- package/dist/BunWorker.js.map +1 -1
- package/dist/BunWorkerRunner.d.ts +1 -0
- package/dist/BunWorkerRunner.d.ts.map +1 -1
- package/dist/BunWorkerRunner.js +2 -1
- package/dist/BunWorkerRunner.js.map +1 -1
- package/dist/index.d.ts +37 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +37 -0
- package/dist/index.js.map +1 -1
- package/package.json +7 -5
- package/src/BunAddressResolver.ts +15 -0
- package/src/BunChildProcessSpawner.ts +1 -0
- package/src/BunClusterHttp.ts +4 -0
- package/src/BunClusterSocket.ts +5 -0
- package/src/BunCrypto.ts +2 -0
- package/src/BunDatagramSocket.ts +666 -0
- package/src/BunDns.ts +82 -0
- package/src/BunFileSystem.ts +2 -0
- package/src/BunHttpClient.ts +1 -0
- package/src/BunHttpPlatform.ts +2 -0
- package/src/BunHttpServer.ts +19 -1
- package/src/BunHttpServerRequest.ts +2 -0
- package/src/BunMultipart.ts +3 -0
- package/src/BunPath.ts +4 -0
- package/src/BunRuntime.ts +4 -0
- package/src/BunServices.ts +3 -0
- package/src/BunSink.ts +1 -0
- package/src/BunSocket.ts +28 -6
- package/src/BunSocketServer.ts +1 -0
- package/src/BunStdio.ts +2 -0
- package/src/BunStream.ts +2 -0
- package/src/BunTerminal.ts +7 -3
- package/src/BunWorker.ts +3 -0
- package/src/BunWorkerRunner.ts +2 -1
- package/src/index.ts +40 -0
package/src/index.ts
CHANGED
|
@@ -1,60 +1,90 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* @stability unstable
|
|
2
3
|
* @since 4.0.0
|
|
3
4
|
*/
|
|
4
5
|
|
|
5
6
|
// @barrel: Auto-generated exports. Do not edit manually.
|
|
6
7
|
|
|
7
8
|
/**
|
|
9
|
+
* @stability experimental
|
|
10
|
+
* @since 4.0.0
|
|
11
|
+
*/
|
|
12
|
+
export * as BunAddressResolver from "./BunAddressResolver.ts"
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* @stability unstable
|
|
8
16
|
* @since 4.0.0
|
|
9
17
|
*/
|
|
10
18
|
export * as BunChildProcessSpawner from "./BunChildProcessSpawner.ts"
|
|
11
19
|
|
|
12
20
|
/**
|
|
21
|
+
* @stability unstable
|
|
13
22
|
* @since 4.0.0
|
|
14
23
|
*/
|
|
15
24
|
export * as BunClusterHttp from "./BunClusterHttp.ts"
|
|
16
25
|
|
|
17
26
|
/**
|
|
27
|
+
* @stability unstable
|
|
18
28
|
* @since 4.0.0
|
|
19
29
|
*/
|
|
20
30
|
export * as BunClusterSocket from "./BunClusterSocket.ts"
|
|
21
31
|
|
|
22
32
|
/**
|
|
33
|
+
* @stability unstable
|
|
23
34
|
* @since 1.0.0
|
|
24
35
|
*/
|
|
25
36
|
export * as BunCrypto from "./BunCrypto.ts"
|
|
26
37
|
|
|
27
38
|
/**
|
|
39
|
+
* @stability experimental
|
|
40
|
+
* @since 4.0.0
|
|
41
|
+
*/
|
|
42
|
+
export * as BunDatagramSocket from "./BunDatagramSocket.ts"
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @stability experimental
|
|
46
|
+
* @since 4.0.0
|
|
47
|
+
*/
|
|
48
|
+
export * as BunDns from "./BunDns.ts"
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @stability unstable
|
|
28
52
|
* @since 4.0.0
|
|
29
53
|
*/
|
|
30
54
|
export * as BunFileSystem from "./BunFileSystem.ts"
|
|
31
55
|
|
|
32
56
|
/**
|
|
57
|
+
* @stability unstable
|
|
33
58
|
* @since 4.0.0
|
|
34
59
|
*/
|
|
35
60
|
export * as BunHttpClient from "./BunHttpClient.ts"
|
|
36
61
|
|
|
37
62
|
/**
|
|
63
|
+
* @stability unstable
|
|
38
64
|
* @since 4.0.0
|
|
39
65
|
*/
|
|
40
66
|
export * as BunHttpPlatform from "./BunHttpPlatform.ts"
|
|
41
67
|
|
|
42
68
|
/**
|
|
69
|
+
* @stability unstable
|
|
43
70
|
* @since 4.0.0
|
|
44
71
|
*/
|
|
45
72
|
export * as BunHttpServer from "./BunHttpServer.ts"
|
|
46
73
|
|
|
47
74
|
/**
|
|
75
|
+
* @stability unstable
|
|
48
76
|
* @since 4.0.0
|
|
49
77
|
*/
|
|
50
78
|
export * as BunHttpServerRequest from "./BunHttpServerRequest.ts"
|
|
51
79
|
|
|
52
80
|
/**
|
|
81
|
+
* @stability unstable
|
|
53
82
|
* @since 4.0.0
|
|
54
83
|
*/
|
|
55
84
|
export * as BunMultipart from "./BunMultipart.ts"
|
|
56
85
|
|
|
57
86
|
/**
|
|
87
|
+
* @stability unstable
|
|
58
88
|
* @since 4.0.0
|
|
59
89
|
*/
|
|
60
90
|
export * as BunPath from "./BunPath.ts"
|
|
@@ -66,51 +96,61 @@ export * as BunPath from "./BunPath.ts"
|
|
|
66
96
|
export * as BunRedis from "./BunRedis.ts"
|
|
67
97
|
|
|
68
98
|
/**
|
|
99
|
+
* @stability unstable
|
|
69
100
|
* @since 4.0.0
|
|
70
101
|
*/
|
|
71
102
|
export * as BunRuntime from "./BunRuntime.ts"
|
|
72
103
|
|
|
73
104
|
/**
|
|
105
|
+
* @stability unstable
|
|
74
106
|
* @since 4.0.0
|
|
75
107
|
*/
|
|
76
108
|
export * as BunServices from "./BunServices.ts"
|
|
77
109
|
|
|
78
110
|
/**
|
|
111
|
+
* @stability unstable
|
|
79
112
|
* @since 4.0.0
|
|
80
113
|
*/
|
|
81
114
|
export * as BunSink from "./BunSink.ts"
|
|
82
115
|
|
|
83
116
|
/**
|
|
117
|
+
* @stability unstable
|
|
84
118
|
* @since 4.0.0
|
|
85
119
|
*/
|
|
86
120
|
export * as BunSocket from "./BunSocket.ts"
|
|
87
121
|
|
|
88
122
|
/**
|
|
123
|
+
* @stability unstable
|
|
89
124
|
* @since 4.0.0
|
|
90
125
|
*/
|
|
91
126
|
export * as BunSocketServer from "./BunSocketServer.ts"
|
|
92
127
|
|
|
93
128
|
/**
|
|
129
|
+
* @stability unstable
|
|
94
130
|
* @since 4.0.0
|
|
95
131
|
*/
|
|
96
132
|
export * as BunStdio from "./BunStdio.ts"
|
|
97
133
|
|
|
98
134
|
/**
|
|
135
|
+
* @stability unstable
|
|
99
136
|
* @since 4.0.0
|
|
100
137
|
*/
|
|
101
138
|
export * as BunStream from "./BunStream.ts"
|
|
102
139
|
|
|
103
140
|
/**
|
|
141
|
+
* @stability unstable
|
|
104
142
|
* @since 4.0.0
|
|
105
143
|
*/
|
|
106
144
|
export * as BunTerminal from "./BunTerminal.ts"
|
|
107
145
|
|
|
108
146
|
/**
|
|
147
|
+
* @stability unstable
|
|
109
148
|
* @since 4.0.0
|
|
110
149
|
*/
|
|
111
150
|
export * as BunWorker from "./BunWorker.ts"
|
|
112
151
|
|
|
113
152
|
/**
|
|
153
|
+
* @stability unstable
|
|
114
154
|
* @since 4.0.0
|
|
115
155
|
*/
|
|
116
156
|
export * as BunWorkerRunner from "./BunWorkerRunner.ts"
|