@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.
Files changed (128) hide show
  1. package/ai-docs/package.json +2 -2
  2. package/ai-docs/tsconfig.json +2 -1
  3. package/dist/BunAddressResolver.d.ts +15 -0
  4. package/dist/BunAddressResolver.d.ts.map +1 -0
  5. package/dist/BunAddressResolver.js +15 -0
  6. package/dist/BunAddressResolver.js.map +1 -0
  7. package/dist/BunChildProcessSpawner.d.ts +1 -0
  8. package/dist/BunChildProcessSpawner.d.ts.map +1 -1
  9. package/dist/BunChildProcessSpawner.js +1 -0
  10. package/dist/BunChildProcessSpawner.js.map +1 -1
  11. package/dist/BunClusterHttp.d.ts +3 -0
  12. package/dist/BunClusterHttp.d.ts.map +1 -1
  13. package/dist/BunClusterHttp.js +4 -0
  14. package/dist/BunClusterHttp.js.map +1 -1
  15. package/dist/BunClusterSocket.d.ts +5 -0
  16. package/dist/BunClusterSocket.d.ts.map +1 -1
  17. package/dist/BunClusterSocket.js +5 -0
  18. package/dist/BunClusterSocket.js.map +1 -1
  19. package/dist/BunCrypto.d.ts +1 -0
  20. package/dist/BunCrypto.d.ts.map +1 -1
  21. package/dist/BunCrypto.js +2 -0
  22. package/dist/BunCrypto.js.map +1 -1
  23. package/dist/BunDatagramSocket.d.ts +227 -0
  24. package/dist/BunDatagramSocket.d.ts.map +1 -0
  25. package/dist/BunDatagramSocket.js +502 -0
  26. package/dist/BunDatagramSocket.js.map +1 -0
  27. package/dist/BunDns.d.ts +72 -0
  28. package/dist/BunDns.d.ts.map +1 -0
  29. package/dist/BunDns.js +66 -0
  30. package/dist/BunDns.js.map +1 -0
  31. package/dist/BunFileSystem.d.ts +1 -0
  32. package/dist/BunFileSystem.d.ts.map +1 -1
  33. package/dist/BunFileSystem.js +2 -0
  34. package/dist/BunFileSystem.js.map +1 -1
  35. package/dist/BunHttpClient.d.ts +1 -0
  36. package/dist/BunHttpClient.d.ts.map +1 -1
  37. package/dist/BunHttpClient.js +1 -0
  38. package/dist/BunHttpClient.js.map +1 -1
  39. package/dist/BunHttpPlatform.d.ts +1 -0
  40. package/dist/BunHttpPlatform.d.ts.map +1 -1
  41. package/dist/BunHttpPlatform.js +2 -0
  42. package/dist/BunHttpPlatform.js.map +1 -1
  43. package/dist/BunHttpServer.d.ts +10 -1
  44. package/dist/BunHttpServer.d.ts.map +1 -1
  45. package/dist/BunHttpServer.js +16 -2
  46. package/dist/BunHttpServer.js.map +1 -1
  47. package/dist/BunHttpServerRequest.d.ts +2 -0
  48. package/dist/BunHttpServerRequest.d.ts.map +1 -1
  49. package/dist/BunHttpServerRequest.js +1 -0
  50. package/dist/BunHttpServerRequest.js.map +1 -1
  51. package/dist/BunMultipart.d.ts +3 -0
  52. package/dist/BunMultipart.d.ts.map +1 -1
  53. package/dist/BunMultipart.js +2 -0
  54. package/dist/BunMultipart.js.map +1 -1
  55. package/dist/BunPath.d.ts +3 -0
  56. package/dist/BunPath.d.ts.map +1 -1
  57. package/dist/BunPath.js +4 -0
  58. package/dist/BunPath.js.map +1 -1
  59. package/dist/BunRuntime.d.ts +3 -0
  60. package/dist/BunRuntime.d.ts.map +1 -1
  61. package/dist/BunRuntime.js +2 -0
  62. package/dist/BunRuntime.js.map +1 -1
  63. package/dist/BunServices.d.ts +3 -0
  64. package/dist/BunServices.d.ts.map +1 -1
  65. package/dist/BunServices.js +1 -0
  66. package/dist/BunServices.js.map +1 -1
  67. package/dist/BunSink.d.ts +1 -0
  68. package/dist/BunSink.d.ts.map +1 -1
  69. package/dist/BunSink.js +1 -0
  70. package/dist/BunSink.js.map +1 -1
  71. package/dist/BunSocket.d.ts +7 -2
  72. package/dist/BunSocket.d.ts.map +1 -1
  73. package/dist/BunSocket.js +18 -6
  74. package/dist/BunSocket.js.map +1 -1
  75. package/dist/BunSocketServer.d.ts +1 -0
  76. package/dist/BunSocketServer.d.ts.map +1 -1
  77. package/dist/BunSocketServer.js +1 -0
  78. package/dist/BunSocketServer.js.map +1 -1
  79. package/dist/BunStdio.d.ts +1 -0
  80. package/dist/BunStdio.d.ts.map +1 -1
  81. package/dist/BunStdio.js +2 -0
  82. package/dist/BunStdio.js.map +1 -1
  83. package/dist/BunStream.d.ts +1 -0
  84. package/dist/BunStream.d.ts.map +1 -1
  85. package/dist/BunStream.js +2 -0
  86. package/dist/BunStream.js.map +1 -1
  87. package/dist/BunTerminal.d.ts +6 -3
  88. package/dist/BunTerminal.d.ts.map +1 -1
  89. package/dist/BunTerminal.js +7 -3
  90. package/dist/BunTerminal.js.map +1 -1
  91. package/dist/BunWorker.d.ts +2 -0
  92. package/dist/BunWorker.d.ts.map +1 -1
  93. package/dist/BunWorker.js +3 -0
  94. package/dist/BunWorker.js.map +1 -1
  95. package/dist/BunWorkerRunner.d.ts +1 -0
  96. package/dist/BunWorkerRunner.d.ts.map +1 -1
  97. package/dist/BunWorkerRunner.js +2 -1
  98. package/dist/BunWorkerRunner.js.map +1 -1
  99. package/dist/index.d.ts +37 -0
  100. package/dist/index.d.ts.map +1 -1
  101. package/dist/index.js +37 -0
  102. package/dist/index.js.map +1 -1
  103. package/package.json +7 -5
  104. package/src/BunAddressResolver.ts +15 -0
  105. package/src/BunChildProcessSpawner.ts +1 -0
  106. package/src/BunClusterHttp.ts +4 -0
  107. package/src/BunClusterSocket.ts +5 -0
  108. package/src/BunCrypto.ts +2 -0
  109. package/src/BunDatagramSocket.ts +666 -0
  110. package/src/BunDns.ts +82 -0
  111. package/src/BunFileSystem.ts +2 -0
  112. package/src/BunHttpClient.ts +1 -0
  113. package/src/BunHttpPlatform.ts +2 -0
  114. package/src/BunHttpServer.ts +19 -1
  115. package/src/BunHttpServerRequest.ts +2 -0
  116. package/src/BunMultipart.ts +3 -0
  117. package/src/BunPath.ts +4 -0
  118. package/src/BunRuntime.ts +4 -0
  119. package/src/BunServices.ts +3 -0
  120. package/src/BunSink.ts +1 -0
  121. package/src/BunSocket.ts +28 -6
  122. package/src/BunSocketServer.ts +1 -0
  123. package/src/BunStdio.ts +2 -0
  124. package/src/BunStream.ts +2 -0
  125. package/src/BunTerminal.ts +7 -3
  126. package/src/BunWorker.ts +3 -0
  127. package/src/BunWorkerRunner.ts +2 -1
  128. 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"