@effect/platform-bun 0.7.2 → 0.7.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 (325) hide show
  1. package/BunContext/dist/effect-platform-bun-BunContext.cjs.d.mts +2 -0
  2. package/BunContext/dist/effect-platform-bun-BunContext.cjs.d.mts.map +1 -0
  3. package/BunContext/dist/effect-platform-bun-BunContext.cjs.d.ts +2 -0
  4. package/BunContext/dist/effect-platform-bun-BunContext.cjs.d.ts.map +1 -0
  5. package/BunContext/dist/effect-platform-bun-BunContext.cjs.dev.js +14 -0
  6. package/BunContext/dist/effect-platform-bun-BunContext.cjs.js +7 -0
  7. package/BunContext/dist/effect-platform-bun-BunContext.cjs.mjs +3 -0
  8. package/BunContext/dist/effect-platform-bun-BunContext.cjs.prod.js +14 -0
  9. package/BunContext/dist/effect-platform-bun-BunContext.esm.js +22 -0
  10. package/BunContext/package.json +4 -0
  11. package/Command/dist/effect-platform-bun-Command.cjs.d.mts +2 -0
  12. package/Command/dist/effect-platform-bun-Command.cjs.d.mts.map +1 -0
  13. package/Command/dist/effect-platform-bun-Command.cjs.d.ts +2 -0
  14. package/Command/dist/effect-platform-bun-Command.cjs.d.ts.map +1 -0
  15. package/Command/dist/effect-platform-bun-Command.cjs.dev.js +72 -0
  16. package/Command/dist/effect-platform-bun-Command.cjs.js +7 -0
  17. package/Command/dist/effect-platform-bun-Command.cjs.mjs +18 -0
  18. package/Command/dist/effect-platform-bun-Command.cjs.prod.js +72 -0
  19. package/Command/dist/effect-platform-bun-Command.esm.js +5 -0
  20. package/Command/package.json +4 -0
  21. package/CommandExecutor/dist/effect-platform-bun-CommandExecutor.cjs.d.mts +2 -0
  22. package/CommandExecutor/dist/effect-platform-bun-CommandExecutor.cjs.d.mts.map +1 -0
  23. package/CommandExecutor/dist/effect-platform-bun-CommandExecutor.cjs.d.ts +2 -0
  24. package/CommandExecutor/dist/effect-platform-bun-CommandExecutor.cjs.d.ts.map +1 -0
  25. package/CommandExecutor/dist/effect-platform-bun-CommandExecutor.cjs.dev.js +16 -0
  26. package/CommandExecutor/dist/effect-platform-bun-CommandExecutor.cjs.js +7 -0
  27. package/CommandExecutor/dist/effect-platform-bun-CommandExecutor.cjs.mjs +4 -0
  28. package/CommandExecutor/dist/effect-platform-bun-CommandExecutor.cjs.prod.js +16 -0
  29. package/CommandExecutor/dist/effect-platform-bun-CommandExecutor.esm.js +5 -0
  30. package/CommandExecutor/package.json +4 -0
  31. package/Effectify/dist/effect-platform-bun-Effectify.cjs.d.mts +2 -0
  32. package/Effectify/dist/effect-platform-bun-Effectify.cjs.d.mts.map +1 -0
  33. package/Effectify/dist/effect-platform-bun-Effectify.cjs.d.ts +2 -0
  34. package/Effectify/dist/effect-platform-bun-Effectify.cjs.d.ts.map +1 -0
  35. package/Effectify/dist/effect-platform-bun-Effectify.cjs.dev.js +12 -0
  36. package/Effectify/dist/effect-platform-bun-Effectify.cjs.js +7 -0
  37. package/Effectify/dist/effect-platform-bun-Effectify.cjs.mjs +3 -0
  38. package/Effectify/dist/effect-platform-bun-Effectify.cjs.prod.js +12 -0
  39. package/Effectify/dist/effect-platform-bun-Effectify.esm.js +5 -0
  40. package/Effectify/package.json +4 -0
  41. package/Error/dist/effect-platform-bun-Error.cjs.d.mts +2 -0
  42. package/Error/dist/effect-platform-bun-Error.cjs.d.mts.map +1 -0
  43. package/Error/dist/effect-platform-bun-Error.cjs.d.ts +2 -0
  44. package/Error/dist/effect-platform-bun-Error.cjs.d.ts.map +1 -0
  45. package/Error/dist/effect-platform-bun-Error.cjs.dev.js +28 -0
  46. package/Error/dist/effect-platform-bun-Error.cjs.js +7 -0
  47. package/Error/dist/effect-platform-bun-Error.cjs.mjs +7 -0
  48. package/Error/dist/effect-platform-bun-Error.cjs.prod.js +28 -0
  49. package/Error/dist/effect-platform-bun-Error.esm.js +5 -0
  50. package/Error/package.json +4 -0
  51. package/FileSystem/dist/effect-platform-bun-FileSystem.cjs.d.mts +2 -0
  52. package/FileSystem/dist/effect-platform-bun-FileSystem.cjs.d.mts.map +1 -0
  53. package/FileSystem/dist/effect-platform-bun-FileSystem.cjs.d.ts +2 -0
  54. package/FileSystem/dist/effect-platform-bun-FileSystem.cjs.d.ts.map +1 -0
  55. package/FileSystem/dist/effect-platform-bun-FileSystem.cjs.dev.js +20 -0
  56. package/FileSystem/dist/effect-platform-bun-FileSystem.cjs.js +7 -0
  57. package/FileSystem/dist/effect-platform-bun-FileSystem.cjs.mjs +5 -0
  58. package/FileSystem/dist/effect-platform-bun-FileSystem.cjs.prod.js +20 -0
  59. package/FileSystem/dist/effect-platform-bun-FileSystem.esm.js +5 -0
  60. package/FileSystem/package.json +4 -0
  61. package/Http/Http/Platform/dist/effect-platform-bun-Http-Platform.esm.js +22 -0
  62. package/Http/Http/Server/dist/effect-platform-bun-Http-Server.esm.js +29 -0
  63. package/Http/Platform/dist/effect-platform-bun-Http-Platform.cjs.d.mts +2 -0
  64. package/Http/Platform/dist/effect-platform-bun-Http-Platform.cjs.d.mts.map +1 -0
  65. package/Http/Platform/dist/effect-platform-bun-Http-Platform.cjs.d.ts +2 -0
  66. package/Http/Platform/dist/effect-platform-bun-Http-Platform.cjs.d.ts.map +1 -0
  67. package/Http/Platform/dist/effect-platform-bun-Http-Platform.cjs.dev.js +85 -0
  68. package/Http/Platform/dist/effect-platform-bun-Http-Platform.cjs.js +7 -0
  69. package/Http/Platform/dist/effect-platform-bun-Http-Platform.cjs.mjs +1 -0
  70. package/Http/Platform/dist/effect-platform-bun-Http-Platform.cjs.prod.js +85 -0
  71. package/Http/Platform/package.json +4 -0
  72. package/Http/Server/dist/effect-platform-bun-Http-Server.cjs.d.mts +2 -0
  73. package/Http/Server/dist/effect-platform-bun-Http-Server.cjs.d.mts.map +1 -0
  74. package/Http/Server/dist/effect-platform-bun-Http-Server.cjs.d.ts +2 -0
  75. package/Http/Server/dist/effect-platform-bun-Http-Server.cjs.d.ts.map +1 -0
  76. package/Http/Server/dist/effect-platform-bun-Http-Server.cjs.dev.js +39 -0
  77. package/Http/Server/dist/effect-platform-bun-Http-Server.cjs.js +7 -0
  78. package/Http/Server/dist/effect-platform-bun-Http-Server.cjs.mjs +1 -0
  79. package/Http/Server/dist/effect-platform-bun-Http-Server.cjs.prod.js +39 -0
  80. package/Http/Server/package.json +4 -0
  81. package/HttpClient/dist/effect-platform-bun-HttpClient.cjs.d.mts +2 -0
  82. package/HttpClient/dist/effect-platform-bun-HttpClient.cjs.d.mts.map +1 -0
  83. package/HttpClient/dist/effect-platform-bun-HttpClient.cjs.d.ts +2 -0
  84. package/HttpClient/dist/effect-platform-bun-HttpClient.cjs.d.ts.map +1 -0
  85. package/HttpClient/dist/effect-platform-bun-HttpClient.cjs.dev.js +47 -0
  86. package/HttpClient/dist/effect-platform-bun-HttpClient.cjs.js +7 -0
  87. package/HttpClient/dist/effect-platform-bun-HttpClient.cjs.mjs +9 -0
  88. package/HttpClient/dist/effect-platform-bun-HttpClient.cjs.prod.js +47 -0
  89. package/HttpClient/dist/effect-platform-bun-HttpClient.esm.js +18 -0
  90. package/HttpClient/package.json +4 -0
  91. package/HttpServer/dist/effect-platform-bun-HttpServer.cjs.d.mts +2 -0
  92. package/HttpServer/dist/effect-platform-bun-HttpServer.cjs.d.mts.map +1 -0
  93. package/HttpServer/dist/effect-platform-bun-HttpServer.cjs.d.ts +2 -0
  94. package/HttpServer/dist/effect-platform-bun-HttpServer.cjs.d.ts.map +1 -0
  95. package/HttpServer/dist/effect-platform-bun-HttpServer.cjs.dev.js +75 -0
  96. package/HttpServer/dist/effect-platform-bun-HttpServer.cjs.js +7 -0
  97. package/HttpServer/dist/effect-platform-bun-HttpServer.cjs.mjs +14 -0
  98. package/HttpServer/dist/effect-platform-bun-HttpServer.cjs.prod.js +75 -0
  99. package/HttpServer/dist/effect-platform-bun-HttpServer.esm.js +28 -0
  100. package/HttpServer/package.json +4 -0
  101. package/KeyValueStore/dist/effect-platform-bun-KeyValueStore.cjs.d.mts +2 -0
  102. package/KeyValueStore/dist/effect-platform-bun-KeyValueStore.cjs.d.mts.map +1 -0
  103. package/KeyValueStore/dist/effect-platform-bun-KeyValueStore.cjs.d.ts +2 -0
  104. package/KeyValueStore/dist/effect-platform-bun-KeyValueStore.cjs.d.ts.map +1 -0
  105. package/KeyValueStore/dist/effect-platform-bun-KeyValueStore.cjs.dev.js +19 -0
  106. package/KeyValueStore/dist/effect-platform-bun-KeyValueStore.cjs.js +7 -0
  107. package/KeyValueStore/dist/effect-platform-bun-KeyValueStore.cjs.mjs +1 -0
  108. package/KeyValueStore/dist/effect-platform-bun-KeyValueStore.cjs.prod.js +19 -0
  109. package/KeyValueStore/dist/effect-platform-bun-KeyValueStore.esm.js +9 -0
  110. package/KeyValueStore/package.json +4 -0
  111. package/Path/dist/effect-platform-bun-Path.cjs.d.mts +2 -0
  112. package/Path/dist/effect-platform-bun-Path.cjs.d.mts.map +1 -0
  113. package/Path/dist/effect-platform-bun-Path.cjs.d.ts +2 -0
  114. package/Path/dist/effect-platform-bun-Path.cjs.d.ts.map +1 -0
  115. package/Path/dist/effect-platform-bun-Path.cjs.dev.js +24 -0
  116. package/Path/dist/effect-platform-bun-Path.cjs.js +7 -0
  117. package/Path/dist/effect-platform-bun-Path.cjs.mjs +6 -0
  118. package/Path/dist/effect-platform-bun-Path.cjs.prod.js +24 -0
  119. package/Path/dist/effect-platform-bun-Path.esm.js +5 -0
  120. package/Path/package.json +4 -0
  121. package/Runtime/dist/effect-platform-bun-Runtime.cjs.d.mts +2 -0
  122. package/Runtime/dist/effect-platform-bun-Runtime.cjs.d.mts.map +1 -0
  123. package/Runtime/dist/effect-platform-bun-Runtime.cjs.d.ts +2 -0
  124. package/Runtime/dist/effect-platform-bun-Runtime.cjs.d.ts.map +1 -0
  125. package/Runtime/dist/effect-platform-bun-Runtime.cjs.dev.js +16 -0
  126. package/Runtime/dist/effect-platform-bun-Runtime.cjs.js +7 -0
  127. package/Runtime/dist/effect-platform-bun-Runtime.cjs.mjs +4 -0
  128. package/Runtime/dist/effect-platform-bun-Runtime.cjs.prod.js +16 -0
  129. package/Runtime/dist/effect-platform-bun-Runtime.esm.js +5 -0
  130. package/Runtime/package.json +4 -0
  131. package/Sink/dist/effect-platform-bun-Sink.cjs.d.mts +2 -0
  132. package/Sink/dist/effect-platform-bun-Sink.cjs.d.mts.map +1 -0
  133. package/Sink/dist/effect-platform-bun-Sink.cjs.d.ts +2 -0
  134. package/Sink/dist/effect-platform-bun-Sink.cjs.d.ts.map +1 -0
  135. package/Sink/dist/effect-platform-bun-Sink.cjs.dev.js +12 -0
  136. package/Sink/dist/effect-platform-bun-Sink.cjs.js +7 -0
  137. package/Sink/dist/effect-platform-bun-Sink.cjs.mjs +3 -0
  138. package/Sink/dist/effect-platform-bun-Sink.cjs.prod.js +12 -0
  139. package/Sink/dist/effect-platform-bun-Sink.esm.js +5 -0
  140. package/Sink/package.json +4 -0
  141. package/Stream/dist/effect-platform-bun-Stream.cjs.d.mts +2 -0
  142. package/Stream/dist/effect-platform-bun-Stream.cjs.d.mts.map +1 -0
  143. package/Stream/dist/effect-platform-bun-Stream.cjs.d.ts +2 -0
  144. package/Stream/dist/effect-platform-bun-Stream.cjs.d.ts.map +1 -0
  145. package/Stream/dist/effect-platform-bun-Stream.cjs.dev.js +20 -0
  146. package/Stream/dist/effect-platform-bun-Stream.cjs.js +7 -0
  147. package/Stream/dist/effect-platform-bun-Stream.cjs.mjs +5 -0
  148. package/Stream/dist/effect-platform-bun-Stream.cjs.prod.js +20 -0
  149. package/Stream/dist/effect-platform-bun-Stream.esm.js +5 -0
  150. package/Stream/package.json +4 -0
  151. package/dist/BunContext-3aacfc41.cjs.dev.js +50 -0
  152. package/dist/BunContext-af359ac7.cjs.prod.js +50 -0
  153. package/dist/Command-073352c2.cjs.dev.js +29 -0
  154. package/dist/Command-86aff121.cjs.prod.js +29 -0
  155. package/dist/CommandExecutor-79029a6f.cjs.prod.js +15 -0
  156. package/dist/CommandExecutor-9fdee39f.cjs.dev.js +15 -0
  157. package/dist/Effectify-1e2cf960.cjs.dev.js +14 -0
  158. package/dist/Effectify-583bea25.cjs.prod.js +14 -0
  159. package/dist/Error-06928f75.cjs.dev.js +18 -0
  160. package/dist/Error-77b41701.cjs.prod.js +18 -0
  161. package/dist/FileSystem-0f2d7096.cjs.prod.js +16 -0
  162. package/dist/FileSystem-3eb9e057.cjs.dev.js +16 -0
  163. package/dist/HttpClient-91ed29d7.cjs.dev.js +52 -0
  164. package/dist/HttpClient-a34271de.cjs.prod.js +52 -0
  165. package/dist/HttpServer-93d1b5e2.cjs.prod.js +66 -0
  166. package/dist/HttpServer-ae717a37.cjs.dev.js +66 -0
  167. package/dist/KeyValueStore-9e969cb3.cjs.dev.js +52 -0
  168. package/dist/KeyValueStore-ddd3d960.cjs.prod.js +52 -0
  169. package/dist/Path-49561a01.cjs.dev.js +17 -0
  170. package/dist/Path-9c4bff86.cjs.prod.js +17 -0
  171. package/dist/Runtime-399be72e.cjs.prod.js +15 -0
  172. package/dist/Runtime-ad8dde5f.cjs.dev.js +15 -0
  173. package/dist/Server-3766cdb3.cjs.dev.js +314 -0
  174. package/dist/Server-4fe393ab.cjs.prod.js +314 -0
  175. package/dist/Sink-0100d655.cjs.prod.js +14 -0
  176. package/dist/Sink-59df5de5.cjs.dev.js +14 -0
  177. package/dist/Stream-a7a516a8.cjs.dev.js +16 -0
  178. package/dist/Stream-d0a08460.cjs.prod.js +16 -0
  179. package/{BunContext.d.ts → dist/declarations/src/BunContext.d.ts} +3 -6
  180. package/dist/declarations/src/BunContext.d.ts.map +1 -0
  181. package/dist/declarations/src/Command.d.ts.map +1 -0
  182. package/dist/declarations/src/CommandExecutor.d.ts.map +1 -0
  183. package/dist/declarations/src/Effectify.d.ts.map +1 -0
  184. package/dist/declarations/src/Error.d.ts.map +1 -0
  185. package/dist/declarations/src/FileSystem.d.ts.map +1 -0
  186. package/{Http → dist/declarations/src/Http}/Platform.d.ts +1 -1
  187. package/dist/declarations/src/Http/Platform.d.ts.map +1 -0
  188. package/{Http → dist/declarations/src/Http}/Server.d.ts +1 -1
  189. package/dist/declarations/src/Http/Server.d.ts.map +1 -0
  190. package/dist/declarations/src/HttpClient.d.ts.map +1 -0
  191. package/{HttpServer.d.ts → dist/declarations/src/HttpServer.d.ts} +1 -1
  192. package/dist/declarations/src/HttpServer.d.ts.map +1 -0
  193. package/dist/declarations/src/KeyValueStore.d.ts.map +1 -0
  194. package/dist/declarations/src/Path.d.ts.map +1 -0
  195. package/dist/declarations/src/Runtime.d.ts.map +1 -0
  196. package/dist/declarations/src/Sink.d.ts.map +1 -0
  197. package/dist/declarations/src/Stream.d.ts.map +1 -0
  198. package/dist/declarations/src/index.d.ts +55 -0
  199. package/dist/declarations/src/index.d.ts.map +1 -0
  200. package/dist/effect-platform-bun.cjs.d.mts +2 -0
  201. package/dist/effect-platform-bun.cjs.d.mts.map +1 -0
  202. package/dist/effect-platform-bun.cjs.d.ts +2 -0
  203. package/dist/effect-platform-bun.cjs.d.ts.map +1 -0
  204. package/dist/effect-platform-bun.cjs.dev.js +73 -0
  205. package/dist/effect-platform-bun.cjs.js +7 -0
  206. package/dist/effect-platform-bun.cjs.mjs +15 -0
  207. package/dist/effect-platform-bun.cjs.prod.js +73 -0
  208. package/dist/effect-platform-bun.esm.js +26 -0
  209. package/internal/http/platform.esm.js +33 -0
  210. package/{mjs/internal/http/server.mjs → internal/http/server.esm.js} +26 -25
  211. package/package.json +152 -31
  212. package/src/BunContext.ts +3 -3
  213. package/src/Http/Platform.ts +2 -2
  214. package/src/Http/Server.ts +2 -2
  215. package/src/HttpServer.ts +1 -1
  216. package/src/index.ts +13 -13
  217. package/src/internal/http/platform.ts +1 -1
  218. package/src/internal/http/server.ts +3 -3
  219. package/BunContext.d.ts.map +0 -1
  220. package/BunContext.js +0 -23
  221. package/BunContext.js.map +0 -1
  222. package/Command.d.ts.map +0 -1
  223. package/Command.js +0 -103
  224. package/Command.js.map +0 -1
  225. package/CommandExecutor.d.ts.map +0 -1
  226. package/CommandExecutor.js +0 -19
  227. package/CommandExecutor.js.map +0 -1
  228. package/Effectify.d.ts.map +0 -1
  229. package/Effectify.js +0 -13
  230. package/Effectify.js.map +0 -1
  231. package/Error.d.ts.map +0 -1
  232. package/Error.js +0 -25
  233. package/Error.js.map +0 -1
  234. package/FileSystem.d.ts.map +0 -1
  235. package/FileSystem.js +0 -25
  236. package/FileSystem.js.map +0 -1
  237. package/Http/Platform.d.ts.map +0 -1
  238. package/Http/Platform.js +0 -40
  239. package/Http/Platform.js.map +0 -1
  240. package/Http/Server.d.ts.map +0 -1
  241. package/Http/Server.js +0 -46
  242. package/Http/Server.js.map +0 -1
  243. package/HttpClient.d.ts.map +0 -1
  244. package/HttpClient.js +0 -23
  245. package/HttpClient.js.map +0 -1
  246. package/HttpServer.d.ts.map +0 -1
  247. package/HttpServer.js +0 -33
  248. package/HttpServer.js.map +0 -1
  249. package/KeyValueStore.d.ts.map +0 -1
  250. package/KeyValueStore.js +0 -28
  251. package/KeyValueStore.js.map +0 -1
  252. package/Path.d.ts.map +0 -1
  253. package/Path.js +0 -31
  254. package/Path.js.map +0 -1
  255. package/Runtime.d.ts.map +0 -1
  256. package/Runtime.js +0 -19
  257. package/Runtime.js.map +0 -1
  258. package/Sink.d.ts.map +0 -1
  259. package/Sink.js +0 -13
  260. package/Sink.js.map +0 -1
  261. package/Stream.d.ts.map +0 -1
  262. package/Stream.js +0 -25
  263. package/Stream.js.map +0 -1
  264. package/index.d.ts +0 -55
  265. package/index.d.ts.map +0 -1
  266. package/index.js +0 -35
  267. package/index.js.map +0 -1
  268. package/internal/http/platform.d.ts +0 -2
  269. package/internal/http/platform.d.ts.map +0 -1
  270. package/internal/http/platform.js +0 -38
  271. package/internal/http/platform.js.map +0 -1
  272. package/internal/http/server.d.ts +0 -2
  273. package/internal/http/server.d.ts.map +0 -1
  274. package/internal/http/server.js +0 -239
  275. package/internal/http/server.js.map +0 -1
  276. package/mjs/BunContext.mjs +0 -14
  277. package/mjs/BunContext.mjs.map +0 -1
  278. package/mjs/Command.mjs +0 -85
  279. package/mjs/Command.mjs.map +0 -1
  280. package/mjs/CommandExecutor.mjs +0 -15
  281. package/mjs/CommandExecutor.mjs.map +0 -1
  282. package/mjs/Effectify.mjs +0 -10
  283. package/mjs/Effectify.mjs.map +0 -1
  284. package/mjs/Error.mjs +0 -20
  285. package/mjs/Error.mjs.map +0 -1
  286. package/mjs/FileSystem.mjs +0 -20
  287. package/mjs/FileSystem.mjs.map +0 -1
  288. package/mjs/Http/Platform.mjs +0 -16
  289. package/mjs/Http/Platform.mjs.map +0 -1
  290. package/mjs/Http/Server.mjs +0 -21
  291. package/mjs/Http/Server.mjs.map +0 -1
  292. package/mjs/HttpClient.mjs +0 -61
  293. package/mjs/HttpClient.mjs.map +0 -1
  294. package/mjs/HttpServer.mjs +0 -101
  295. package/mjs/HttpServer.mjs.map +0 -1
  296. package/mjs/KeyValueStore.mjs +0 -13
  297. package/mjs/KeyValueStore.mjs.map +0 -1
  298. package/mjs/Path.mjs +0 -25
  299. package/mjs/Path.mjs.map +0 -1
  300. package/mjs/Runtime.mjs +0 -15
  301. package/mjs/Runtime.mjs.map +0 -1
  302. package/mjs/Sink.mjs +0 -10
  303. package/mjs/Sink.mjs.map +0 -1
  304. package/mjs/Stream.mjs +0 -20
  305. package/mjs/Stream.mjs.map +0 -1
  306. package/mjs/index.mjs +0 -27
  307. package/mjs/index.mjs.map +0 -1
  308. package/mjs/internal/http/platform.mjs +0 -30
  309. package/mjs/internal/http/platform.mjs.map +0 -1
  310. package/mjs/internal/http/server.mjs.map +0 -1
  311. package/tsconfig.build.json +0 -12
  312. package/tsconfig.examples.json +0 -12
  313. package/tsconfig.json +0 -11
  314. package/tsconfig.test.json +0 -17
  315. /package/{Command.d.ts → dist/declarations/src/Command.d.ts} +0 -0
  316. /package/{CommandExecutor.d.ts → dist/declarations/src/CommandExecutor.d.ts} +0 -0
  317. /package/{Effectify.d.ts → dist/declarations/src/Effectify.d.ts} +0 -0
  318. /package/{Error.d.ts → dist/declarations/src/Error.d.ts} +0 -0
  319. /package/{FileSystem.d.ts → dist/declarations/src/FileSystem.d.ts} +0 -0
  320. /package/{HttpClient.d.ts → dist/declarations/src/HttpClient.d.ts} +0 -0
  321. /package/{KeyValueStore.d.ts → dist/declarations/src/KeyValueStore.d.ts} +0 -0
  322. /package/{Path.d.ts → dist/declarations/src/Path.d.ts} +0 -0
  323. /package/{Runtime.d.ts → dist/declarations/src/Runtime.d.ts} +0 -0
  324. /package/{Sink.d.ts → dist/declarations/src/Sink.d.ts} +0 -0
  325. /package/{Stream.d.ts → dist/declarations/src/Stream.d.ts} +0 -0
@@ -1,101 +0,0 @@
1
- /**
2
- * @since 1.0.0
3
- */
4
- import * as server from "@effect/platform-bun/Http/Server";
5
- import * as etag from "@effect/platform-node/Http/Etag";
6
- import * as formData from "@effect/platform-node/Http/FormData";
7
- import * as app from "@effect/platform/Http/App";
8
- import * as body from "@effect/platform/Http/Body";
9
- import * as headers from "@effect/platform/Http/Headers";
10
- import * as middleware from "@effect/platform/Http/Middleware";
11
- import * as router from "@effect/platform/Http/Router";
12
- import * as error from "@effect/platform/Http/ServerError";
13
- import * as request from "@effect/platform/Http/ServerRequest";
14
- import * as response from "@effect/platform/Http/ServerResponse";
15
- import * as urlParams from "@effect/platform/Http/UrlParams";
16
- export {
17
- /**
18
- * @since 1.0.0
19
- *
20
- * - Docs: [Http/App](https://effect-ts.github.io/platform/platform/Http/App.ts.html)
21
- * - Module: `@effect/platform/Http/App`
22
- */
23
- app,
24
- /**
25
- * @since 1.0.0
26
- *
27
- * - Docs: [Http/Body](https://effect-ts.github.io/platform/platform/Http/Body.ts.html)
28
- * - Module: `@effect/platform/Http/Body`
29
- */
30
- body,
31
- /**
32
- * @since 1.0.0
33
- *
34
- * - Docs: [Http/ServerError](https://effect-ts.github.io/platform/platform/Http/ServerError.ts.html)
35
- * - Module: `@effect/platform/Http/ServerError`
36
- */
37
- error,
38
- /**
39
- * @since 1.0.0
40
- *
41
- * - Docs: [Http/Etag](https://effect-ts.github.io/platform/platform-node/Http/Etag.ts.html)
42
- * - Module: `@effect/platform-node/Http/Etag`
43
- */
44
- etag,
45
- /**
46
- * @since 1.0.0
47
- *
48
- * - Docs: [Http/FormData](https://effect-ts.github.io/platform/platform-node/Http/FormData.ts.html)
49
- * - Module: `@effect/platform-node/Http/FormData`
50
- */
51
- formData,
52
- /**
53
- * @since 1.0.0
54
- *
55
- * - Docs: [Http/Headers](https://effect-ts.github.io/platform/platform/Http/Headers.ts.html)
56
- * - Module: `@effect/platform/Http/Headers`
57
- */
58
- headers,
59
- /**
60
- * @since 1.0.0
61
- *
62
- * - Docs: [Http/Middleware](https://effect-ts.github.io/platform/platform/Http/Middleware.ts.html)
63
- * - Module: `@effect/platform/Http/Middleware`
64
- */
65
- middleware,
66
- /**
67
- * @since 1.0.0
68
- *
69
- * - Docs: [Http/ServerRequest](https://effect-ts.github.io/platform/platform/Http/ServerRequest.ts.html)
70
- * - Module: `@effect/platform/Http/ServerRequest`
71
- */
72
- request,
73
- /**
74
- * @since 1.0.0
75
- *
76
- * - Docs: [Http/ServerResponse](https://effect-ts.github.io/platform/platform/Http/ServerResponse.ts.html)
77
- * - Module: `@effect/platform/Http/ServerResponse`
78
- */
79
- response,
80
- /**
81
- * @since 1.0.0
82
- *
83
- * - Docs: [Http/Router](https://effect-ts.github.io/platform/platform/Http/Router.ts.html)
84
- * - Module: `@effect/platform/Http/Router`
85
- */
86
- router,
87
- /**
88
- * @since 1.0.0
89
- *
90
- * - Docs: [Http/Server](https://effect-ts.github.io/platform/platform-bun/Http/Server.ts.html)
91
- * - Module: `@effect/platform-bun/Http/Server`
92
- */
93
- server,
94
- /**
95
- * @since 1.0.0
96
- *
97
- * - Docs: [Http/UrlParams](https://effect-ts.github.io/platform/platform/Http/UrlParams.ts.html)
98
- * - Module: `@effect/platform/Http/UrlParams`
99
- */
100
- urlParams };
101
- //# sourceMappingURL=HttpServer.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HttpServer.mjs","names":["server","etag","formData","app","body","headers","middleware","router","error","request","response","urlParams"],"sources":["../src/HttpServer.ts"],"sourcesContent":[null],"mappings":"AAAA;;;AAGA,OAAO,KAAKA,MAAM,MAAM,kCAAkC;AAC1D,OAAO,KAAKC,IAAI,MAAM,iCAAiC;AACvD,OAAO,KAAKC,QAAQ,MAAM,qCAAqC;AAC/D,OAAO,KAAKC,GAAG,MAAM,2BAA2B;AAChD,OAAO,KAAKC,IAAI,MAAM,4BAA4B;AAClD,OAAO,KAAKC,OAAO,MAAM,+BAA+B;AACxD,OAAO,KAAKC,UAAU,MAAM,kCAAkC;AAC9D,OAAO,KAAKC,MAAM,MAAM,8BAA8B;AACtD,OAAO,KAAKC,KAAK,MAAM,mCAAmC;AAC1D,OAAO,KAAKC,OAAO,MAAM,qCAAqC;AAC9D,OAAO,KAAKC,QAAQ,MAAM,sCAAsC;AAChE,OAAO,KAAKC,SAAS,MAAM,iCAAiC;AAE5D;AACE;;;;;;AAMAR,GAAG;AACH;;;;;;AAMAC,IAAI;AACJ;;;;;;AAMAI,KAAK;AACL;;;;;;AAMAP,IAAI;AACJ;;;;;;AAMAC,QAAQ;AACR;;;;;;AAMAG,OAAO;AACP;;;;;;AAMAC,UAAU;AACV;;;;;;AAMAG,OAAO;AACP;;;;;;AAMAC,QAAQ;AACR;;;;;;AAMAH,MAAM;AACN;;;;;;AAMAP,MAAM;AACN;;;;;;AAMAW,SAAS"}
@@ -1,13 +0,0 @@
1
- /**
2
- * @since 1.0.0
3
- *
4
- * Also includes exports from [`@effect/platform/KeyValueStore`](https://effect-ts.github.io/platform/platform/KeyValueStore.ts.html).
5
- */
6
- export * from "@effect/platform/KeyValueStore";
7
- export {
8
- /**
9
- * @since 1.0.0
10
- * @category layers
11
- */
12
- layerFileSystem } from "@effect/platform-node/KeyValueStore";
13
- //# sourceMappingURL=KeyValueStore.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"KeyValueStore.mjs","names":["layerFileSystem"],"sources":["../src/KeyValueStore.ts"],"sourcesContent":[null],"mappings":"AAAA;;;;;AAMA,cAAc,gCAAgC;AAE9C;AACE;;;;AAIAA,eAAe,QACV,qCAAqC"}
package/mjs/Path.mjs DELETED
@@ -1,25 +0,0 @@
1
- /**
2
- * @since 1.0.0
3
- */
4
- export {
5
- /**
6
- * @since 1.0.0
7
- * @category layer
8
- */
9
- layer,
10
- /**
11
- * @since 1.0.0
12
- * @category layer
13
- */
14
- layerPosix,
15
- /**
16
- * @since 1.0.0
17
- * @category layer
18
- */
19
- layerWin32,
20
- /**
21
- * @since 1.0.0
22
- * @category tag
23
- */
24
- Path } from "@effect/platform-node/Path";
25
- //# sourceMappingURL=Path.mjs.map
package/mjs/Path.mjs.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"Path.mjs","names":["layer","layerPosix","layerWin32","Path"],"sources":["../src/Path.ts"],"sourcesContent":[null],"mappings":"AAAA;;;AAIA;AACE;;;;AAIAA,KAAK;AACL;;;;AAIAC,UAAU;AACV;;;;AAIAC,UAAU;AACV;;;;AAIAC,IAAI,QACC,4BAA4B"}
package/mjs/Runtime.mjs DELETED
@@ -1,15 +0,0 @@
1
- /**
2
- * @since 1.0.0
3
- */
4
- export {
5
- /**
6
- * @category teardown
7
- * @since 1.0.0
8
- */
9
- defaultTeardown,
10
- /**
11
- * @since 1.0.0
12
- * @category runtime
13
- */
14
- runMain } from "@effect/platform-node/Runtime";
15
- //# sourceMappingURL=Runtime.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Runtime.mjs","names":["defaultTeardown","runMain"],"sources":["../src/Runtime.ts"],"sourcesContent":[null],"mappings":"AAAA;;;AAiBA;AACE;;;;AAIAA,eAAe;AACf;;;;AAIAC,OAAO,QACF,+BAA+B"}
package/mjs/Sink.mjs DELETED
@@ -1,10 +0,0 @@
1
- /**
2
- * @since 1.0.0
3
- */
4
- export {
5
- /**
6
- * @category constructor
7
- * @since 1.0.0
8
- */
9
- fromWritable } from "@effect/platform-node/Sink";
10
- //# sourceMappingURL=Sink.mjs.map
package/mjs/Sink.mjs.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"Sink.mjs","names":["fromWritable"],"sources":["../src/Sink.ts"],"sourcesContent":[null],"mappings":"AAAA;;;AAYA;AACE;;;;AAIAA,YAAY,QACP,4BAA4B"}
package/mjs/Stream.mjs DELETED
@@ -1,20 +0,0 @@
1
- /**
2
- * @since 1.0.0
3
- */
4
- export {
5
- /**
6
- * @category constructors
7
- * @since 1.0.0
8
- */
9
- fromReadable,
10
- /**
11
- * @since 1.0.0
12
- * @category conversions
13
- */
14
- toString,
15
- /**
16
- * @since 1.0.0
17
- * @category conversions
18
- */
19
- toUint8Array } from "@effect/platform-node/Stream";
20
- //# sourceMappingURL=Stream.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Stream.mjs","names":["fromReadable","toString","toUint8Array"],"sources":["../src/Stream.ts"],"sourcesContent":[null],"mappings":"AAAA;;;AAYA;AACE;;;;AAIAA,YAAY;AACZ;;;;AAIAC,QAAQ;AACR;;;;AAIAC,YAAY,QACP,8BAA8B"}
package/mjs/index.mjs DELETED
@@ -1,27 +0,0 @@
1
- import * as BunContext_1 from "@effect/platform-bun/BunContext";
2
- export { BunContext_1 as BunContext };
3
- import * as Command_1 from "@effect/platform-bun/Command";
4
- export { Command_1 as Command };
5
- import * as CommandExecutor_1 from "@effect/platform-bun/CommandExecutor";
6
- export { CommandExecutor_1 as CommandExecutor };
7
- import * as Effectify_1 from "@effect/platform-bun/Effectify";
8
- export { Effectify_1 as Effectify };
9
- import * as Error_1 from "@effect/platform-bun/Error";
10
- export { Error_1 as Error };
11
- import * as FileSystem_1 from "@effect/platform-bun/FileSystem";
12
- export { FileSystem_1 as FileSystem };
13
- import * as HttpClient_1 from "@effect/platform-bun/HttpClient";
14
- export { HttpClient_1 as HttpClient };
15
- import * as HttpServer_1 from "@effect/platform-bun/HttpServer";
16
- export { HttpServer_1 as HttpServer };
17
- import * as KeyValueStore_1 from "@effect/platform-bun/KeyValueStore";
18
- export { KeyValueStore_1 as KeyValueStore };
19
- import * as Path_1 from "@effect/platform-bun/Path";
20
- export { Path_1 as Path };
21
- import * as Runtime_1 from "@effect/platform-bun/Runtime";
22
- export { Runtime_1 as Runtime };
23
- import * as Sink_1 from "@effect/platform-bun/Sink";
24
- export { Sink_1 as Sink };
25
- import * as Stream_1 from "@effect/platform-bun/Stream";
26
- export { Stream_1 as Stream };
27
- //# sourceMappingURL=index.mjs.map
package/mjs/index.mjs.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","names":["BunContext","Command","CommandExecutor","Effectify","Error","FileSystem","HttpClient","HttpServer","KeyValueStore","Path","Runtime","Sink","Stream"],"sources":["../src/index.ts"],"sourcesContent":[null],"mappings":"8BAG4B,iCAAiC;yBAAjDA,UAAU;2BAKG,8BAA8B;sBAA3CC,OAAO;mCAKc,sCAAsC;8BAA3DC,eAAe;6BAKA,gCAAgC;wBAA/CC,SAAS;yBAKE,4BAA4B;oBAAvCC,KAAK;8BAKW,iCAAiC;yBAAjDC,UAAU;8BAKM,iCAAiC;yBAAjDC,UAAU;8BAKM,iCAAiC;yBAAjDC,UAAU;iCAOS,oCAAoC;4BAAvDC,aAAa;wBAKH,2BAA2B;mBAArCC,IAAI;2BAKS,8BAA8B;sBAA3CC,OAAO;wBAKG,2BAA2B;mBAArCC,IAAI;0BAKQ,6BAA6B;qBAAzCC,MAAM"}
@@ -1,30 +0,0 @@
1
- import * as FileSystem from "@effect/platform-bun/FileSystem";
2
- import * as Etag from "@effect/platform-node/Http/Etag";
3
- import * as Platform from "@effect/platform/Http/Platform";
4
- import * as ServerResponse from "@effect/platform/Http/ServerResponse";
5
- import { pipe } from "effect/Function";
6
- import * as Layer from "effect/Layer";
7
- /** @internal */
8
- export const make = /*#__PURE__*/Platform.make({
9
- fileResponse(path, status, statusText, headers, start, end, _contentLength) {
10
- let file = Bun.file(path);
11
- if (start > 0 || end !== undefined) {
12
- file = file.slice(start, end);
13
- }
14
- return ServerResponse.raw(file, {
15
- headers,
16
- status,
17
- statusText
18
- });
19
- },
20
- fileWebResponse(file, status, statusText, headers, _options) {
21
- return ServerResponse.raw(file, {
22
- headers,
23
- status,
24
- statusText
25
- });
26
- }
27
- });
28
- /** @internal */
29
- export const layer = /*#__PURE__*/pipe( /*#__PURE__*/Layer.effect(Platform.Platform, make), /*#__PURE__*/Layer.use(FileSystem.layer), /*#__PURE__*/Layer.use(Etag.layer));
30
- //# sourceMappingURL=platform.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"platform.mjs","names":["FileSystem","Etag","Platform","ServerResponse","pipe","Layer","make","fileResponse","path","status","statusText","headers","start","end","_contentLength","file","Bun","undefined","slice","raw","fileWebResponse","_options","layer","effect","use"],"sources":["../../../src/internal/http/platform.ts"],"sourcesContent":[null],"mappings":"AAAA,OAAO,KAAKA,UAAU,MAAM,iCAAiC;AAC7D,OAAO,KAAKC,IAAI,MAAM,iCAAiC;AACvD,OAAO,KAAKC,QAAQ,MAAM,gCAAgC;AAC1D,OAAO,KAAKC,cAAc,MAAM,sCAAsC;AACtE,SAASC,IAAI,QAAQ,iBAAiB;AACtC,OAAO,KAAKC,KAAK,MAAM,cAAc;AAErC;AACA,OAAO,MAAMC,IAAI,gBAAGJ,QAAQ,CAACI,IAAI,CAAC;EAChCC,YAAYA,CAACC,IAAI,EAAEC,MAAM,EAAEC,UAAU,EAAEC,OAAO,EAAEC,KAAK,EAAEC,GAAG,EAAEC,cAAc;IACxE,IAAIC,IAAI,GAAGC,GAAG,CAACD,IAAI,CAACP,IAAI,CAAC;IACzB,IAAII,KAAK,GAAG,CAAC,IAAIC,GAAG,KAAKI,SAAS,EAAE;MAClCF,IAAI,GAAGA,IAAI,CAACG,KAAK,CAACN,KAAK,EAAEC,GAAG,CAAC;;IAE/B,OAAOV,cAAc,CAACgB,GAAG,CAACJ,IAAI,EAAE;MAAEJ,OAAO;MAAEF,MAAM;MAAEC;IAAU,CAAE,CAAC;EAClE,CAAC;EACDU,eAAeA,CAACL,IAAI,EAAEN,MAAM,EAAEC,UAAU,EAAEC,OAAO,EAAEU,QAAQ;IACzD,OAAOlB,cAAc,CAACgB,GAAG,CAACJ,IAAI,EAAE;MAAEJ,OAAO;MAAEF,MAAM;MAAEC;IAAU,CAAE,CAAC;EAClE;CACD,CAAC;AAEF;AACA,OAAO,MAAMY,KAAK,gBAAGlB,IAAI,eACvBC,KAAK,CAACkB,MAAM,CAACrB,QAAQ,CAACA,QAAQ,EAAEI,IAAI,CAAC,eACrCD,KAAK,CAACmB,GAAG,CAACxB,UAAU,CAACsB,KAAK,CAAC,eAC3BjB,KAAK,CAACmB,GAAG,CAACvB,IAAI,CAACqB,KAAK,CAAC,CACtB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"server.mjs","names":["Platform","FormData","Headers","IncomingMessage","Middleware","Server","Error","ServerRequest","UrlParams","Cause","Config","Effect","pipe","Layer","Option","Runtime","Stream","Readable","make","options","gen","_","handlerStack","_request","_server","Response","status","server","Bun","serve","fetch","addFinalizer","sync","stop","address","_tag","port","hostname","httpApp","middleware","app","respond","all","runtime","fiberId","zipLeft","pop","reload","length","flatMap","async","runFork","handler","request","console","log","Promise","resolve","reject","fiber","provideService","ServerRequestImpl","removeHost","url","signal","addEventListener","interruptAsFork","push","makeResponse","response","method","undefined","statusText","headers","body","formData","toReadableStream","stream","onExit","exit","value","pretty","cause","layer","merge","scoped","layerConfig","config","unwrap","constructor","source","headersOverride","remoteAddressOverride","TypeId","modify","remoteAddress","originalUrl","some","none","fromInput","fromReadableStream","RequestError","reason","error","fail","text","textEffect","runSync","cached","tryPromise","try","catch","json","tryMap","JSON","parse","urlParamsBody","URLSearchParams","formDataEffect","fromWeb","formDataStream","arrayBuffer","arrayBufferEffect","index","indexOf","slice"],"sources":["../../../src/internal/http/server.ts"],"sourcesContent":[null],"mappings":"AAAA,OAAO,KAAKA,QAAQ,MAAM,oCAAoC;AAC9D,OAA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AChG,MAAM,CAACiG,MAAM,CACnDjG,MAAM,CAACkG,UAAU,CAAC;MAChBC,GAAG,EAAEA,CAAA,KAAM,IAAI,CAACpB,MAAM,CAAC+B,WAAW,EAAE;MACpCV,KAAK,EAAGR,KAAK,IACXjG,KAAK,CAAC+F,YAAY,CAAC;QACjBhD,OAAO,EAAE,IAAI;QACbiD,MAAM,EAAE,QAAQ;QAChBC;OACD;KACJ,CAAC,CACH,CAAC;IACF,OAAO,IAAI,CAACmB,iBAAiB;EAC/B;;AAhJUnH,aAAa,CAACsF,MAAM,EACpB1F,eAAe,CAAC0F,MAAM;AAkJlC,MAAM/B,UAAU,GAAIC,GAAW,IAAI;EACjC,IAAIA,GAAG,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE;IAClB,OAAOA,GAAG;;EAEZ,MAAM4D,KAAK,GAAG5D,GAAG,CAAC6D,OAAO,CAAC,GAAG,EAAE7D,GAAG,CAAC6D,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;EACrD,OAAOD,KAAK,KAAK,CAAC,CAAC,GAAG,GAAG,GAAG5D,GAAG,CAAC8D,KAAK,CAACF,KAAK,CAAC;AAC9C,CAAC"}
@@ -1,12 +0,0 @@
1
- {
2
- "extends": "../../tsconfig.base.json",
3
- "compilerOptions": {
4
- "outDir": "build/esm",
5
- "declarationDir": "build/dts",
6
- "tsBuildInfoFile": "build/tsbuildinfo/esm.tsbuildinfo",
7
- "rootDir": "src",
8
- "types": ["bun-types"]
9
- },
10
- "include": ["src/**/*.ts"],
11
- "references": [{ "path": "../platform" }, { "path": "../platform-node" }]
12
- }
@@ -1,12 +0,0 @@
1
- {
2
- "extends": "../../tsconfig.base.json",
3
- "compilerOptions": {
4
- "tsBuildInfoFile": "build/tsbuildinfo/examples.tsbuildinfo",
5
- "rootDir": "examples",
6
- "module": "CommonJS",
7
- "outDir": "build/examples",
8
- "types": ["bun-types"]
9
- },
10
- "include": ["examples/**/*.ts"],
11
- "references": [{ "path": "./tsconfig.build.json" }]
12
- }
package/tsconfig.json DELETED
@@ -1,11 +0,0 @@
1
- {
2
- "extends": "../../tsconfig.base.json",
3
- "compilerOptions": {
4
- "tsBuildInfoFile": "build/tsbuildinfo/tsconfig.tsbuildinfo"
5
- },
6
- "references": [
7
- { "path": "./tsconfig.build.json" },
8
- { "path": "./tsconfig.test.json" },
9
- { "path": "./tsconfig.examples.json" }
10
- ]
11
- }
@@ -1,17 +0,0 @@
1
- {
2
- "extends": "../../tsconfig.base.json",
3
- "compilerOptions": {
4
- "outDir": "build/test",
5
- "declarationDir": "build/test-dts",
6
- "tsBuildInfoFile": "build/tsbuildinfo/test.tsbuildinfo",
7
- "rootDir": "test",
8
- "noEmit": true,
9
- "types": ["vitest/globals"]
10
- },
11
- "include": ["test/**/*.ts"],
12
- "references": [
13
- {
14
- "path": "./tsconfig.build.json"
15
- }
16
- ]
17
- }
File without changes
File without changes