@smthrs/platform-node 1.0.0-rc.5 → 1.0.0-rc.7

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 (274) hide show
  1. package/README.md +12 -12
  2. package/bin/win32-x64/smithers-jj-export.exe +0 -0
  3. package/dist/cjs/EgressHttpClient.d.ts +1 -1
  4. package/dist/cjs/EgressHttpClient.d.ts.map +1 -1
  5. package/dist/cjs/EgressHttpClient.js +4 -4
  6. package/dist/cjs/EgressHttpClient.js.map +2 -2
  7. package/dist/cjs/NodeHost.d.ts +2 -2
  8. package/dist/cjs/NodeHost.d.ts.map +1 -1
  9. package/dist/cjs/NodeHost.js.map +2 -2
  10. package/dist/cjs/ProcessConfinement.js +1 -1
  11. package/dist/cjs/ProcessConfinement.js.map +2 -2
  12. package/dist/cjs/ProcessReaper.d.ts +1 -1
  13. package/dist/cjs/ProcessReaper.d.ts.map +1 -1
  14. package/dist/cjs/ProcessReaper.js +1 -1
  15. package/dist/cjs/ProcessReaper.js.map +1 -1
  16. package/dist/cjs/ScopedProcess.d.ts +2 -2
  17. package/dist/cjs/ScopedProcess.d.ts.map +1 -1
  18. package/dist/cjs/ScopedProcess.js +1 -1
  19. package/dist/cjs/ScopedProcess.js.map +2 -2
  20. package/dist/cjs/internal/PipedProcess.d.ts +2 -2
  21. package/dist/cjs/internal/PipedProcess.d.ts.map +1 -1
  22. package/dist/cjs/internal/PipedProcess.js +2 -2
  23. package/dist/cjs/internal/PipedProcess.js.map +2 -2
  24. package/dist/cjs/internal/ProcessCleanup.d.ts +1 -1
  25. package/dist/cjs/internal/ProcessCleanup.d.ts.map +1 -1
  26. package/dist/cjs/internal/ProcessCleanup.js.map +1 -1
  27. package/dist/cjs/internal/ProcessSupervisor.d.ts +2 -2
  28. package/dist/cjs/internal/ProcessSupervisor.d.ts.map +1 -1
  29. package/dist/cjs/internal/ProcessSupervisor.js +2 -2
  30. package/dist/cjs/internal/ProcessSupervisor.js.map +2 -2
  31. package/dist/esm/EgressHttpClient.d.ts +1 -1
  32. package/dist/esm/EgressHttpClient.d.ts.map +1 -1
  33. package/dist/esm/EgressHttpClient.js +4 -4
  34. package/dist/esm/EgressHttpClient.js.map +1 -1
  35. package/dist/esm/NodeHost.d.ts +2 -2
  36. package/dist/esm/NodeHost.d.ts.map +1 -1
  37. package/dist/esm/NodeHost.js.map +1 -1
  38. package/dist/esm/ProcessConfinement.js +1 -1
  39. package/dist/esm/ProcessConfinement.js.map +1 -1
  40. package/dist/esm/ProcessReaper.d.ts +1 -1
  41. package/dist/esm/ProcessReaper.d.ts.map +1 -1
  42. package/dist/esm/ProcessReaper.js +1 -1
  43. package/dist/esm/ProcessReaper.js.map +1 -1
  44. package/dist/esm/ScopedProcess.d.ts +2 -2
  45. package/dist/esm/ScopedProcess.d.ts.map +1 -1
  46. package/dist/esm/ScopedProcess.js +1 -1
  47. package/dist/esm/ScopedProcess.js.map +1 -1
  48. package/dist/esm/internal/PipedProcess.d.ts +2 -2
  49. package/dist/esm/internal/PipedProcess.d.ts.map +1 -1
  50. package/dist/esm/internal/PipedProcess.js +2 -2
  51. package/dist/esm/internal/PipedProcess.js.map +1 -1
  52. package/dist/esm/internal/ProcessCleanup.d.ts +1 -1
  53. package/dist/esm/internal/ProcessCleanup.d.ts.map +1 -1
  54. package/dist/esm/internal/ProcessCleanup.js.map +1 -1
  55. package/dist/esm/internal/ProcessSupervisor.d.ts +2 -2
  56. package/dist/esm/internal/ProcessSupervisor.d.ts.map +1 -1
  57. package/dist/esm/internal/ProcessSupervisor.js +2 -2
  58. package/dist/esm/internal/ProcessSupervisor.js.map +1 -1
  59. package/dist/vendor/adapters.json +622 -382
  60. package/dist/vendor/{chunk-42QKY6T6.js → chunk-2ZAGBWTH.js} +1 -1
  61. package/dist/vendor/{chunk-3GR5VZ2M.js → chunk-3SL3HKQA.js} +3 -3
  62. package/dist/vendor/{chunk-VANKHF46.js → chunk-423HXGL6.js} +55 -23
  63. package/dist/vendor/{chunk-6ME2W7TF.js → chunk-4WIQ2XN7.js} +2 -2
  64. package/dist/vendor/{chunk-Y35ZAO5U.js → chunk-6FSJ2PMW.js} +8 -8
  65. package/dist/vendor/{chunk-5ZMHBXIK.js → chunk-6L2NJEOV.js} +11 -4
  66. package/dist/vendor/{chunk-TFIKFFSC.js → chunk-7NMJM44J.js} +2 -2
  67. package/dist/vendor/{chunk-OXNGN5H7.js → chunk-A7UXCEJA.js} +1 -1
  68. package/dist/vendor/chunk-ADP5LRUF.js +274 -0
  69. package/dist/vendor/{chunk-DS7GF46S.js → chunk-AWNTTSHL.js} +2 -2
  70. package/dist/vendor/{chunk-IIJ52ZU6.js → chunk-BUKVIAEM.js} +2 -2
  71. package/dist/vendor/{chunk-BKTBUBQY.js → chunk-BY3SDXID.js} +71 -7
  72. package/dist/vendor/{chunk-JJ24ARBQ.js → chunk-C3PGUWW5.js} +53 -33
  73. package/dist/vendor/{chunk-J7A4CZDO.js → chunk-D2ZL4PLZ.js} +8 -7
  74. package/dist/vendor/{chunk-XDKNKFBW.js → chunk-D4HEMNGU.js} +2 -2
  75. package/dist/vendor/{chunk-DVOAHXPG.js → chunk-FFD6R5JZ.js} +3 -3
  76. package/dist/vendor/{chunk-UFH5UUZK.js → chunk-HDV6VIRM.js} +1 -1
  77. package/dist/vendor/chunk-IWSDM4CG.js +16 -0
  78. package/dist/vendor/{chunk-KUUXSID7.js → chunk-KABHKTVG.js} +2 -2
  79. package/dist/vendor/{chunk-B3FZ67QU.js → chunk-KFDBU6RR.js} +4 -3
  80. package/dist/vendor/chunk-LNWGIDIG.js +20 -0
  81. package/dist/vendor/{chunk-TXKLEBBL.js → chunk-MUEED3C3.js} +3 -2
  82. package/dist/vendor/{chunk-EZWY45HP.js → chunk-N6TK35N5.js} +2 -2
  83. package/dist/vendor/{chunk-QPLDT6A6.js → chunk-NQO6V4KI.js} +29 -13
  84. package/dist/vendor/{chunk-AMQKOQNT.js → chunk-NTEWGPPG.js} +9 -9
  85. package/dist/vendor/chunk-NUJQMLJP.js +325 -0
  86. package/dist/vendor/{chunk-54RLBMTZ.js → chunk-OF3N2FN4.js} +1 -1
  87. package/dist/vendor/{chunk-RO2R4MJH.js → chunk-PA32ARKD.js} +17 -17
  88. package/dist/vendor/{chunk-JG5TTWPT.js → chunk-PECOFLCU.js} +3 -3
  89. package/dist/vendor/{chunk-VZBDV3TV.js → chunk-PU7QVYND.js} +2 -2
  90. package/dist/vendor/{chunk-2Y7WC4KU.js → chunk-QHR2RC5M.js} +2 -2
  91. package/dist/vendor/{chunk-QYBKAIA6.js → chunk-R327POEZ.js} +2 -2
  92. package/dist/vendor/chunk-RKVXYKHJ.js +29 -0
  93. package/dist/vendor/{chunk-XH4U3JSV.js → chunk-RQH5DSBA.js} +2 -2
  94. package/dist/vendor/{chunk-DWSHTSVX.js → chunk-S6QUQLBV.js} +5 -5
  95. package/dist/vendor/{chunk-KOZMM5PZ.js → chunk-UPIQ52FQ.js} +12 -12
  96. package/dist/vendor/{chunk-EGBNVEEW.js → chunk-UUQXJRMK.js} +1 -1
  97. package/dist/vendor/{chunk-LEUPYT3Q.js → chunk-UUYTTEDH.js} +1 -1
  98. package/dist/vendor/{chunk-NBVRTDTV.js → chunk-V2EB7FHY.js} +2 -2
  99. package/dist/vendor/{chunk-M32LDTW7.js → chunk-VIWU4EBF.js} +2 -2
  100. package/dist/vendor/{chunk-SIR62W3Y.js → chunk-VWSWEUN5.js} +51 -31
  101. package/dist/vendor/{chunk-MBSKBQ5D.js → chunk-WPZDL2D7.js} +1 -1
  102. package/dist/vendor/chunk-YDY5P7GL.js +20 -0
  103. package/dist/vendor/{chunk-FNZOJHSV.js → chunk-YFD4QFIL.js} +17 -17
  104. package/dist/vendor/{chunk-GXCHI7BM.js → chunk-ZVJCBTJG.js} +5 -5
  105. package/dist/vendor/cjs/node/NodeAddressResolver.d.ts +16 -0
  106. package/dist/vendor/cjs/node/NodeAddressResolver.js +1 -0
  107. package/dist/vendor/cjs/node/NodeChildProcessSpawner.d.ts +1 -0
  108. package/dist/vendor/cjs/node/NodeClusterHttp.d.ts +13 -22
  109. package/dist/vendor/cjs/node/NodeClusterSocket.d.ts +14 -8
  110. package/dist/vendor/cjs/node/NodeCrypto.d.ts +1 -0
  111. package/dist/vendor/cjs/node/NodeDatagramSocket.d.ts +10 -0
  112. package/dist/vendor/cjs/node/NodeDatagramSocket.js +1 -0
  113. package/dist/vendor/cjs/node/NodeDns.d.ts +51 -0
  114. package/dist/vendor/cjs/node/NodeDns.js +1 -0
  115. package/dist/vendor/cjs/node/NodeFileSystem.d.ts +1 -0
  116. package/dist/vendor/cjs/node/NodeHttpClient.d.ts +21 -2
  117. package/dist/vendor/cjs/node/NodeHttpIncomingMessage.d.ts +5 -3
  118. package/dist/vendor/cjs/node/NodeHttpPlatform.d.ts +8 -6
  119. package/dist/vendor/cjs/node/NodeHttpServer.d.ts +21 -10
  120. package/dist/vendor/cjs/node/NodeHttpServerRequest.d.ts +4 -1
  121. package/dist/vendor/cjs/node/NodeMultipart.d.ts +5 -1
  122. package/dist/vendor/cjs/node/NodeMultipartParser.d.ts +9 -1
  123. package/dist/vendor/cjs/node/NodePath.d.ts +3 -0
  124. package/dist/vendor/cjs/node/NodeRedis.d.ts +5 -1
  125. package/dist/vendor/cjs/node/NodeRuntime.d.ts +3 -0
  126. package/dist/vendor/cjs/node/NodeServices.d.ts +4 -1
  127. package/dist/vendor/cjs/node/NodeSink.d.ts +1 -0
  128. package/dist/vendor/cjs/node/NodeSocket.d.ts +10 -3
  129. package/dist/vendor/cjs/node/NodeSocketServer.d.ts +1 -0
  130. package/dist/vendor/cjs/node/NodeStdio.d.ts +1 -0
  131. package/dist/vendor/cjs/node/NodeStream.d.ts +1 -0
  132. package/dist/vendor/cjs/node/NodeTerminal.d.ts +6 -3
  133. package/dist/vendor/cjs/node/NodeWorker.d.ts +3 -1
  134. package/dist/vendor/cjs/node/NodeWorkerRunner.d.ts +2 -1
  135. package/dist/vendor/cjs/node/Undici.d.ts +3 -0
  136. package/dist/vendor/cjs/node/index.d.ts +40 -0
  137. package/dist/vendor/cjs/node-shared/NodeAddressResolver.d.ts +13 -0
  138. package/dist/vendor/cjs/node-shared/NodeAddressResolver.js +1 -0
  139. package/dist/vendor/cjs/node-shared/NodeChildProcessSpawner.d.ts +12 -3
  140. package/dist/vendor/cjs/node-shared/NodeClusterSocket.d.ts +17 -4
  141. package/dist/vendor/cjs/node-shared/NodeCrypto.d.ts +3 -0
  142. package/dist/vendor/cjs/node-shared/NodeDatagramSocket.d.ts +246 -0
  143. package/dist/vendor/cjs/node-shared/NodeDatagramSocket.js +1 -0
  144. package/dist/vendor/cjs/node-shared/NodeDns.d.ts +221 -0
  145. package/dist/vendor/cjs/node-shared/NodeDns.js +1 -0
  146. package/dist/vendor/cjs/node-shared/NodeFileSystem.d.ts +1 -0
  147. package/dist/vendor/cjs/node-shared/NodeHttpCompression.d.ts +5 -1
  148. package/dist/vendor/cjs/node-shared/NodePath.d.ts +3 -0
  149. package/dist/vendor/cjs/node-shared/NodeRuntime.d.ts +4 -0
  150. package/dist/vendor/cjs/node-shared/NodeSink.d.ts +4 -0
  151. package/dist/vendor/cjs/node-shared/NodeSocket.d.ts +11 -1
  152. package/dist/vendor/cjs/node-shared/NodeSocketServer.d.ts +8 -1
  153. package/dist/vendor/cjs/node-shared/NodeStdio.d.ts +1 -0
  154. package/dist/vendor/cjs/node-shared/NodeStream.d.ts +15 -0
  155. package/dist/vendor/cjs/node-shared/NodeTerminal.d.ts +6 -4
  156. package/dist/vendor/cjs/node-shared/index.d.ts +29 -0
  157. package/dist/vendor/cjs/node-shared/internal/nodeChildProcessSpawner.d.ts +1 -1
  158. package/dist/vendor/cjs/platform-node-shared.d.ts +29 -0
  159. package/dist/vendor/cjs/platform-node.d.ts +40 -0
  160. package/dist/vendor/node/NodeAddressResolver.d.ts +16 -0
  161. package/dist/vendor/node/NodeAddressResolver.js +8 -0
  162. package/dist/vendor/node/NodeChildProcessSpawner.d.ts +1 -0
  163. package/dist/vendor/node/NodeChildProcessSpawner.js +6 -6
  164. package/dist/vendor/node/NodeClusterHttp.d.ts +13 -22
  165. package/dist/vendor/node/NodeClusterHttp.js +32 -32
  166. package/dist/vendor/node/NodeClusterSocket.d.ts +14 -8
  167. package/dist/vendor/node/NodeClusterSocket.js +15 -15
  168. package/dist/vendor/node/NodeCrypto.d.ts +1 -0
  169. package/dist/vendor/node/NodeCrypto.js +2 -2
  170. package/dist/vendor/node/NodeDatagramSocket.d.ts +10 -0
  171. package/dist/vendor/node/NodeDatagramSocket.js +12 -0
  172. package/dist/vendor/node/NodeDns.d.ts +51 -0
  173. package/dist/vendor/node/NodeDns.js +12 -0
  174. package/dist/vendor/node/NodeFileSystem.d.ts +1 -0
  175. package/dist/vendor/node/NodeFileSystem.js +3 -3
  176. package/dist/vendor/node/NodeHttpClient.d.ts +21 -2
  177. package/dist/vendor/node/NodeHttpClient.js +6 -6
  178. package/dist/vendor/node/NodeHttpIncomingMessage.d.ts +5 -3
  179. package/dist/vendor/node/NodeHttpIncomingMessage.js +4 -4
  180. package/dist/vendor/node/NodeHttpPlatform.d.ts +8 -6
  181. package/dist/vendor/node/NodeHttpPlatform.js +8 -8
  182. package/dist/vendor/node/NodeHttpServer.d.ts +21 -10
  183. package/dist/vendor/node/NodeHttpServer.js +26 -26
  184. package/dist/vendor/node/NodeHttpServerRequest.d.ts +4 -1
  185. package/dist/vendor/node/NodeHttpServerRequest.js +1 -1
  186. package/dist/vendor/node/NodeMultipart.d.ts +5 -1
  187. package/dist/vendor/node/NodeMultipart.js +5 -5
  188. package/dist/vendor/node/NodeMultipartParser.d.ts +9 -1
  189. package/dist/vendor/node/NodeMultipartParser.js +1 -1
  190. package/dist/vendor/node/NodePath.d.ts +3 -0
  191. package/dist/vendor/node/NodePath.js +2 -2
  192. package/dist/vendor/node/NodeRedis.d.ts +5 -1
  193. package/dist/vendor/node/NodeRedis.js +1 -1
  194. package/dist/vendor/node/NodeRuntime.d.ts +3 -0
  195. package/dist/vendor/node/NodeRuntime.js +2 -2
  196. package/dist/vendor/node/NodeServices.d.ts +4 -1
  197. package/dist/vendor/node/NodeServices.js +17 -17
  198. package/dist/vendor/node/NodeSink.d.ts +1 -0
  199. package/dist/vendor/node/NodeSink.js +2 -2
  200. package/dist/vendor/node/NodeSocket.d.ts +10 -3
  201. package/dist/vendor/node/NodeSocket.js +2 -2
  202. package/dist/vendor/node/NodeSocketServer.d.ts +1 -0
  203. package/dist/vendor/node/NodeSocketServer.js +3 -3
  204. package/dist/vendor/node/NodeStdio.d.ts +1 -0
  205. package/dist/vendor/node/NodeStdio.js +4 -4
  206. package/dist/vendor/node/NodeStream.d.ts +1 -0
  207. package/dist/vendor/node/NodeStream.js +3 -3
  208. package/dist/vendor/node/NodeTerminal.d.ts +6 -3
  209. package/dist/vendor/node/NodeTerminal.js +2 -2
  210. package/dist/vendor/node/NodeWorker.d.ts +3 -1
  211. package/dist/vendor/node/NodeWorker.js +1 -1
  212. package/dist/vendor/node/NodeWorkerRunner.d.ts +2 -1
  213. package/dist/vendor/node/NodeWorkerRunner.js +1 -1
  214. package/dist/vendor/node/Undici.d.ts +3 -0
  215. package/dist/vendor/node/Undici.js +1 -1
  216. package/dist/vendor/node/index.d.ts +40 -0
  217. package/dist/vendor/node/index.js +70 -55
  218. package/dist/vendor/node-shared/NodeAddressResolver.d.ts +13 -0
  219. package/dist/vendor/node-shared/NodeAddressResolver.js +7 -0
  220. package/dist/vendor/node-shared/NodeChildProcessSpawner.d.ts +12 -3
  221. package/dist/vendor/node-shared/NodeChildProcessSpawner.js +5 -5
  222. package/dist/vendor/node-shared/NodeClusterSocket.d.ts +17 -4
  223. package/dist/vendor/node-shared/NodeClusterSocket.js +3 -3
  224. package/dist/vendor/node-shared/NodeCrypto.d.ts +3 -0
  225. package/dist/vendor/node-shared/NodeCrypto.js +1 -1
  226. package/dist/vendor/node-shared/NodeDatagramSocket.d.ts +246 -0
  227. package/dist/vendor/node-shared/NodeDatagramSocket.js +11 -0
  228. package/dist/vendor/node-shared/NodeDns.d.ts +221 -0
  229. package/dist/vendor/node-shared/NodeDns.js +31 -0
  230. package/dist/vendor/node-shared/NodeFileSystem.d.ts +1 -0
  231. package/dist/vendor/node-shared/NodeFileSystem.js +2 -2
  232. package/dist/vendor/node-shared/NodeHttpCompression.d.ts +5 -1
  233. package/dist/vendor/node-shared/NodeHttpCompression.js +1 -1
  234. package/dist/vendor/node-shared/NodePath.d.ts +3 -0
  235. package/dist/vendor/node-shared/NodePath.js +1 -1
  236. package/dist/vendor/node-shared/NodeRuntime.d.ts +4 -0
  237. package/dist/vendor/node-shared/NodeRuntime.js +1 -1
  238. package/dist/vendor/node-shared/NodeSink.d.ts +4 -0
  239. package/dist/vendor/node-shared/NodeSink.js +1 -1
  240. package/dist/vendor/node-shared/NodeSocket.d.ts +11 -1
  241. package/dist/vendor/node-shared/NodeSocket.js +1 -1
  242. package/dist/vendor/node-shared/NodeSocketServer.d.ts +8 -1
  243. package/dist/vendor/node-shared/NodeSocketServer.js +2 -2
  244. package/dist/vendor/node-shared/NodeStdio.d.ts +1 -0
  245. package/dist/vendor/node-shared/NodeStdio.js +3 -3
  246. package/dist/vendor/node-shared/NodeStream.d.ts +15 -0
  247. package/dist/vendor/node-shared/NodeStream.js +2 -2
  248. package/dist/vendor/node-shared/NodeTerminal.d.ts +6 -4
  249. package/dist/vendor/node-shared/NodeTerminal.js +1 -1
  250. package/dist/vendor/node-shared/index.d.ts +29 -0
  251. package/dist/vendor/node-shared/index.js +34 -22
  252. package/dist/vendor/node-shared/internal/nodeChildProcessSpawner.d.ts +1 -1
  253. package/dist/vendor/node-shared/internal/nodeChildProcessSpawner.js +1 -1
  254. package/dist/vendor/node-shared/internal/utils.js +1 -1
  255. package/dist/vendor/platform-node-shared.d.ts +29 -0
  256. package/dist/vendor/platform-node-shared.js +34 -22
  257. package/dist/vendor/platform-node.d.ts +40 -0
  258. package/dist/vendor/platform-node.js +70 -55
  259. package/docs/README.md +2 -2
  260. package/docs/api.md +2 -2
  261. package/docs/concepts/host-bundle.md +2 -2
  262. package/docs/installation.md +8 -9
  263. package/docs/quickstart.md +2 -2
  264. package/package.json +12 -12
  265. package/src/EgressHttpClient.ts +4 -4
  266. package/src/NodeHost.ts +2 -2
  267. package/src/ProcessConfinement.ts +1 -1
  268. package/src/ProcessReaper.ts +2 -2
  269. package/src/ScopedProcess.ts +2 -2
  270. package/src/internal/PipedProcess.ts +2 -2
  271. package/src/internal/ProcessCleanup.ts +1 -1
  272. package/src/internal/ProcessSupervisor.ts +2 -2
  273. /package/dist/vendor/{chunk-M7CLUILA.js → chunk-3WUGYBFU.js} +0 -0
  274. /package/dist/vendor/{chunk-ZJMRMY57.js → chunk-ASGOJ3XA.js} +0 -0
@@ -0,0 +1,51 @@
1
+ /**
2
+ * The `NodeDns` module provides the Node.js `Dns` service for Effect programs.
3
+ *
4
+ * Address lookups use the operating system resolver through `dns.lookup`, so
5
+ * they also read the hosts file. Record queries and reverse lookups share one
6
+ * `dns.Resolver`. Node.js cannot cancel a single query or address lookup, so
7
+ * interrupting one discards its result but lets the underlying work finish: a
8
+ * query runs until it is answered or times out, and a `getaddrinfo` call keeps
9
+ * a libuv thread pool worker busy until it returns.
10
+ *
11
+ * @stability experimental
12
+ * @since 4.0.0
13
+ */
14
+ export type {
15
+ /**
16
+ * Options for the Node.js `Dns` service: name servers, timeout, and tries
17
+ * for record queries and reverse lookups.
18
+ *
19
+ * @stability experimental
20
+ * @category re-exports
21
+ * @since 4.0.0
22
+ */
23
+ Options } from "../node-shared/NodeDns.js";
24
+ export {
25
+ /**
26
+ * Layer that provides the Node.js `Dns` service using the system resolver
27
+ * configuration.
28
+ *
29
+ * @stability experimental
30
+ * @category re-exports
31
+ * @since 4.0.0
32
+ */
33
+ layer,
34
+ /**
35
+ * Creates a layer that provides the Node.js `Dns` service with options read
36
+ * from configuration.
37
+ *
38
+ * @stability experimental
39
+ * @category re-exports
40
+ * @since 4.0.0
41
+ */
42
+ layerConfig,
43
+ /**
44
+ * Creates a Node.js `Dns` service whose resolver lives as long as the scope.
45
+ *
46
+ * @stability experimental
47
+ * @category re-exports
48
+ * @since 4.0.0
49
+ */
50
+ make } from "../node-shared/NodeDns.js";
51
+ //# sourceMappingURL=NodeDns.d.ts.map
@@ -0,0 +1,12 @@
1
+ import "../chunk-YDY5P7GL.js";
2
+ import {
3
+ layer,
4
+ layerConfig,
5
+ make
6
+ } from "../chunk-ADP5LRUF.js";
7
+ import "../chunk-MLKGABMK.js";
8
+ export {
9
+ layer,
10
+ layerConfig,
11
+ make
12
+ };
@@ -3,6 +3,7 @@ import type * as Layer from "effect/Layer";
3
3
  /**
4
4
  * Provides the `FileSystem` service backed by Node filesystem APIs.
5
5
  *
6
+ * @stability unstable
6
7
  * @category layers
7
8
  * @since 4.0.0
8
9
  */
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  layer
3
- } from "../chunk-M32LDTW7.js";
4
- import "../chunk-BKTBUBQY.js";
5
- import "../chunk-42QKY6T6.js";
3
+ } from "../chunk-VIWU4EBF.js";
4
+ import "../chunk-BY3SDXID.js";
5
+ import "../chunk-2ZAGBWTH.js";
6
6
  import "../chunk-MLKGABMK.js";
7
7
  export {
8
8
  layer
@@ -7,13 +7,14 @@
7
7
  * services and request options, and defines a lower-level `node:http` /
8
8
  * `node:https` client with scoped HTTP agent layers.
9
9
  *
10
+ * @stability unstable
10
11
  * @since 4.0.0
11
12
  */
12
13
  import * as Context from "effect/Context";
13
14
  import * as Effect from "effect/Effect";
15
+ import * as Client from "effect/http/HttpClient";
14
16
  import * as Layer from "effect/Layer";
15
17
  import type * as Scope from "effect/Scope";
16
- import * as Client from "effect/unstable/http/HttpClient";
17
18
  import * as Http from "node:http";
18
19
  import * as Https from "node:https";
19
20
  import type * as Undici from "./Undici.ts";
@@ -26,6 +27,7 @@ export {
26
27
  * Use to access or override the fetch implementation used by the Node
27
28
  * fetch-based HTTP client.
28
29
  *
30
+ * @stability unstable
29
31
  * @category services
30
32
  * @since 4.0.0
31
33
  */
@@ -33,6 +35,7 @@ Fetch,
33
35
  /**
34
36
  * Layer that provides the fetch-based HTTP client implementation.
35
37
  *
38
+ * @stability unstable
36
39
  * @category layers
37
40
  * @since 4.0.0
38
41
  */
@@ -44,15 +47,17 @@ layer as layerFetch,
44
47
  *
45
48
  * Use to provide default fetch request options for Node HTTP requests.
46
49
  *
50
+ * @stability unstable
47
51
  * @category services
48
52
  * @since 4.0.0
49
53
  */
50
- RequestInit } from "effect/unstable/http/FetchHttpClient";
54
+ RequestInit } from "effect/http/FetchHttpClient";
51
55
  declare const Dispatcher_base: Context.ServiceClass<Dispatcher, "@effect/platform-node/NodeHttpClient/Dispatcher", Undici.Dispatcher>;
52
56
  /**
53
57
  * Service tag for the Undici `Dispatcher` used by the Undici-backed HTTP
54
58
  * client.
55
59
  *
60
+ * @stability unstable
56
61
  * @category services
57
62
  * @since 4.0.0
58
63
  */
@@ -62,6 +67,7 @@ export declare class Dispatcher extends Dispatcher_base {
62
67
  * Acquires a new Undici `Agent` dispatcher and destroys it when the enclosing
63
68
  * scope is finalized.
64
69
  *
70
+ * @stability unstable
65
71
  * @category resource management
66
72
  * @since 4.0.0
67
73
  */
@@ -69,6 +75,7 @@ export declare const makeDispatcher: Effect.Effect<Undici.Dispatcher, never, Sco
69
75
  /**
70
76
  * Provides the `Dispatcher` service using a scoped Undici `Agent`.
71
77
  *
78
+ * @stability unstable
72
79
  * @category layers
73
80
  * @since 4.0.0
74
81
  */
@@ -77,6 +84,7 @@ export declare const layerDispatcher: Layer.Layer<Dispatcher>;
77
84
  * Provides the `Dispatcher` service from Undici's process-global dispatcher,
78
85
  * without creating or owning a new agent.
79
86
  *
87
+ * @stability unstable
80
88
  * @category layers
81
89
  * @since 4.0.0
82
90
  */
@@ -85,6 +93,7 @@ export declare const dispatcherLayerGlobal: Layer.Layer<Dispatcher>;
85
93
  * Fiber reference containing default Undici request options applied to requests
86
94
  * sent by `makeUndici`.
87
95
  *
96
+ * @stability unstable
88
97
  * @category services
89
98
  * @since 4.0.0
90
99
  */
@@ -94,6 +103,7 @@ export declare const UndiciOptions: Context.Reference<Partial<Undici.Dispatcher.
94
103
  * `Dispatcher`, converts Effect HTTP bodies to Undici bodies, and maps
95
104
  * transport and decode failures to `HttpClientError`.
96
105
  *
106
+ * @stability unstable
97
107
  * @category constructors
98
108
  * @since 4.0.0
99
109
  */
@@ -102,6 +112,7 @@ export declare const makeUndici: Effect.Effect<Client.HttpClient, never, Dispatc
102
112
  * Provides an Undici-backed `HttpClient` using the current `Dispatcher`
103
113
  * service.
104
114
  *
115
+ * @stability unstable
105
116
  * @category layers
106
117
  * @since 4.0.0
107
118
  */
@@ -110,6 +121,7 @@ export declare const layerUndiciNoDispatcher: Layer.Layer<Client.HttpClient, nev
110
121
  * Provides an Undici-backed `HttpClient` together with a scoped default
111
122
  * Undici `Agent` dispatcher.
112
123
  *
124
+ * @stability unstable
113
125
  * @category layers
114
126
  * @since 4.0.0
115
127
  */
@@ -122,6 +134,7 @@ declare const HttpAgent_base: Context.ServiceClass<HttpAgent, "@effect/platform-
122
134
  * Service tag for the paired Node `http` and `https` agents used by the
123
135
  * node:http-backed HTTP client.
124
136
  *
137
+ * @stability unstable
125
138
  * @category services
126
139
  * @since 4.0.0
127
140
  */
@@ -131,6 +144,7 @@ export declare class HttpAgent extends HttpAgent_base {
131
144
  * Acquires Node `http` and `https` agents with the supplied options and
132
145
  * destroys both agents when the enclosing scope is finalized.
133
146
  *
147
+ * @stability unstable
134
148
  * @category resource management
135
149
  * @since 4.0.0
136
150
  */
@@ -139,6 +153,7 @@ export declare const makeAgent: (options?: Https.AgentOptions) => Effect.Effect<
139
153
  * Provides the `HttpAgent` service using scoped Node `http` and `https`
140
154
  * agents configured with the supplied options.
141
155
  *
156
+ * @stability unstable
142
157
  * @category layers
143
158
  * @since 4.0.0
144
159
  */
@@ -147,6 +162,7 @@ export declare const layerAgentOptions: (options?: Https.AgentOptions | undefine
147
162
  * Provides the `HttpAgent` service using default scoped Node `http` and
148
163
  * `https` agents.
149
164
  *
165
+ * @stability unstable
150
166
  * @category layers
151
167
  * @since 4.0.0
152
168
  */
@@ -156,6 +172,7 @@ export declare const layerAgent: Layer.Layer<HttpAgent>;
156
172
  * current `HttpAgent`, streaming request bodies, and wrapping Node responses
157
173
  * as `HttpClientResponse` values.
158
174
  *
175
+ * @stability unstable
159
176
  * @category constructors
160
177
  * @since 4.0.0
161
178
  */
@@ -164,6 +181,7 @@ export declare const makeNodeHttp: Effect.Effect<Client.HttpClient, never, HttpA
164
181
  * Provides a node:http-backed `HttpClient` using the current `HttpAgent`
165
182
  * service.
166
183
  *
184
+ * @stability unstable
167
185
  * @category layers
168
186
  * @since 4.0.0
169
187
  */
@@ -172,6 +190,7 @@ export declare const layerNodeHttpNoAgent: Layer.Layer<Client.HttpClient, never,
172
190
  * Provides a node:http-backed `HttpClient` together with default scoped Node
173
191
  * `http` and `https` agents.
174
192
  *
193
+ * @stability unstable
175
194
  * @category layers
176
195
  * @since 4.0.0
177
196
  */
@@ -17,12 +17,12 @@ import {
17
17
  makeDispatcher,
18
18
  makeNodeHttp,
19
19
  makeUndici
20
- } from "../chunk-KOZMM5PZ.js";
21
- import "../chunk-IIJ52ZU6.js";
22
- import "../chunk-J7A4CZDO.js";
23
- import "../chunk-DS7GF46S.js";
24
- import "../chunk-XH4U3JSV.js";
25
- import "../chunk-OXNGN5H7.js";
20
+ } from "../chunk-UPIQ52FQ.js";
21
+ import "../chunk-BUKVIAEM.js";
22
+ import "../chunk-D2ZL4PLZ.js";
23
+ import "../chunk-AWNTTSHL.js";
24
+ import "../chunk-RQH5DSBA.js";
25
+ import "../chunk-A7UXCEJA.js";
26
26
  import "../chunk-MLKGABMK.js";
27
27
  export {
28
28
  Dispatcher,
@@ -9,16 +9,17 @@
9
9
  * typed headers, remote address lookup, stream access, and text, JSON,
10
10
  * URL-encoded, and array-buffer body readers.
11
11
  *
12
+ * @stability unstable
12
13
  * @since 4.0.0
13
14
  */
14
15
  import * as Effect from "effect/Effect";
16
+ import * as Headers from "effect/http/Headers";
17
+ import * as IncomingMessage from "effect/http/HttpIncomingMessage";
18
+ import * as UrlParams from "effect/http/UrlParams";
15
19
  import * as Inspectable from "effect/Inspectable";
16
20
  import * as Option from "effect/Option";
17
21
  import type * as Schema from "effect/Schema";
18
22
  import type * as Stream from "effect/Stream";
19
- import * as Headers from "effect/unstable/http/Headers";
20
- import * as IncomingMessage from "effect/unstable/http/HttpIncomingMessage";
21
- import * as UrlParams from "effect/unstable/http/UrlParams";
22
23
  import type * as Http from "node:http";
23
24
  /**
24
25
  * Adapts a Node `IncomingMessage` to Effect HTTP incoming messages.
@@ -33,6 +34,7 @@ import type * as Http from "node:http";
33
34
  * The adapter exposes headers, remote address, stream access, and cached body
34
35
  * decoders. Subclasses provide the error mapping for unknown Node errors.
35
36
  *
37
+ * @stability unstable
36
38
  * @category constructors
37
39
  * @since 4.0.0
38
40
  */
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  NodeHttpIncomingMessage
3
- } from "../chunk-J7A4CZDO.js";
4
- import "../chunk-DS7GF46S.js";
5
- import "../chunk-XH4U3JSV.js";
6
- import "../chunk-OXNGN5H7.js";
3
+ } from "../chunk-D2ZL4PLZ.js";
4
+ import "../chunk-AWNTTSHL.js";
5
+ import "../chunk-RQH5DSBA.js";
6
+ import "../chunk-A7UXCEJA.js";
7
7
  import "../chunk-MLKGABMK.js";
8
8
  export {
9
9
  NodeHttpIncomingMessage
@@ -1,25 +1,26 @@
1
1
  import * as Effect from "effect/Effect";
2
+ import * as EtagImpl from "effect/http/Etag";
3
+ import * as HttpBody from "effect/http/HttpBody";
4
+ import * as Platform from "effect/http/HttpPlatform";
5
+ import * as ServerResponse from "effect/http/HttpServerResponse";
2
6
  import * as Layer from "effect/Layer";
3
- import * as EtagImpl from "effect/unstable/http/Etag";
4
- import * as HttpBody from "effect/unstable/http/HttpBody";
5
- import * as Platform from "effect/unstable/http/HttpPlatform";
6
- import * as ServerResponse from "effect/unstable/http/HttpServerResponse";
7
7
  /**
8
8
  * Creates the Node `HttpPlatform`, serving file responses from Node readable
9
9
  * streams and adding MIME type and content-length headers when needed.
10
10
  *
11
+ * @stability unstable
11
12
  * @category constructors
12
13
  * @since 4.0.0
13
14
  */
14
15
  export declare const make: Effect.Effect<{
15
16
  readonly platform: "deno" | "node" | "bun" | "web";
16
17
  readonly compression: Platform.Compression;
17
- readonly fileResponse: (path: string, options?: ServerResponse.Options.WithContent & {
18
+ readonly fileResponse: (path: string, options?: ServerResponse.Options.WithContentType & {
18
19
  readonly bytesToRead?: import("effect/ByteSize").Input | undefined;
19
20
  readonly chunkSize?: number | undefined;
20
21
  readonly offset?: import("effect/ByteSize").Input | undefined;
21
22
  }) => Effect.Effect<ServerResponse.HttpServerResponse, import("effect/PlatformError").PlatformError>;
22
- readonly fileWebResponse: (file: HttpBody.HttpBody.FileLike, options?: ServerResponse.Options.WithContent & {
23
+ readonly fileWebResponse: (file: HttpBody.HttpBody.FileLike, options?: ServerResponse.Options.WithContentType & {
23
24
  readonly bytesToRead?: number | undefined;
24
25
  readonly chunkSize?: number | undefined;
25
26
  readonly offset?: number | undefined;
@@ -29,6 +30,7 @@ export declare const make: Effect.Effect<{
29
30
  * Provides the Node `HttpPlatform` together with the filesystem and ETag
30
31
  * services it needs for file responses.
31
32
  *
33
+ * @stability unstable
32
34
  * @category layers
33
35
  * @since 4.0.0
34
36
  */
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  layer,
3
3
  make
4
- } from "../chunk-VANKHF46.js";
5
- import "../chunk-3GR5VZ2M.js";
6
- import "../chunk-M32LDTW7.js";
7
- import "../chunk-BKTBUBQY.js";
8
- import "../chunk-42QKY6T6.js";
9
- import "../chunk-DS7GF46S.js";
10
- import "../chunk-XH4U3JSV.js";
11
- import "../chunk-OXNGN5H7.js";
4
+ } from "../chunk-423HXGL6.js";
5
+ import "../chunk-3SL3HKQA.js";
6
+ import "../chunk-AWNTTSHL.js";
7
+ import "../chunk-RQH5DSBA.js";
8
+ import "../chunk-A7UXCEJA.js";
9
+ import "../chunk-VIWU4EBF.js";
10
+ import "../chunk-BY3SDXID.js";
11
+ import "../chunk-2ZAGBWTH.js";
12
12
  import "../chunk-MLKGABMK.js";
13
13
  export {
14
14
  layer,
@@ -3,18 +3,18 @@ import * as Duration from "effect/Duration";
3
3
  import * as Effect from "effect/Effect";
4
4
  import type * as FileSystem from "effect/FileSystem";
5
5
  import { type LazyArg } from "effect/Function";
6
+ import * as Etag from "effect/http/Etag";
7
+ import type { HttpClient } from "effect/http/HttpClient";
8
+ import type * as Middleware from "effect/http/HttpMiddleware";
9
+ import type * as HttpPlatform from "effect/http/HttpPlatform";
10
+ import * as HttpServer from "effect/http/HttpServer";
11
+ import { ServeError } from "effect/http/HttpServerError";
12
+ import { HttpServerRequest } from "effect/http/HttpServerRequest";
13
+ import type { HttpServerResponse } from "effect/http/HttpServerResponse";
6
14
  import * as Layer from "effect/Layer";
15
+ import * as NetAddress from "effect/net/NetAddress";
7
16
  import type * as Path from "effect/Path";
8
17
  import * as Scope from "effect/Scope";
9
- import * as Etag from "effect/unstable/http/Etag";
10
- import type { HttpClient } from "effect/unstable/http/HttpClient";
11
- import type * as Middleware from "effect/unstable/http/HttpMiddleware";
12
- import type * as HttpPlatform from "effect/unstable/http/HttpPlatform";
13
- import * as HttpServer from "effect/unstable/http/HttpServer";
14
- import { ServeError } from "effect/unstable/http/HttpServerError";
15
- import { HttpServerRequest } from "effect/unstable/http/HttpServerRequest";
16
- import type { HttpServerResponse } from "effect/unstable/http/HttpServerResponse";
17
- import * as NetAddress from "effect/unstable/net/NetAddress";
18
18
  import * as Http from "node:http";
19
19
  import type * as Net from "node:net";
20
20
  import type { Duplex } from "node:stream";
@@ -23,6 +23,7 @@ import { NodeWS } from "./NodeSocket.ts";
23
23
  /**
24
24
  * Options accepted by the Node `HttpServer` constructors and layers.
25
25
  *
26
+ * @stability unstable
26
27
  * @category options
27
28
  * @since 4.0.0
28
29
  */
@@ -34,6 +35,8 @@ export interface Options extends Net.ListenOptions {
34
35
  * wiring options the server manages itself. Use this to enable
35
36
  * `permessage-deflate` compression or tune payload limits, e.g.
36
37
  * `websocket: { perMessageDeflate: true }`.
38
+ *
39
+ * @stability unstable
37
40
  */
38
41
  readonly websocket?: Omit<NodeWS.ServerOptions, "noServer" | "server" | "host" | "port" | "path"> | undefined;
39
42
  }
@@ -42,13 +45,14 @@ export interface Options extends Net.ListenOptions {
42
45
  * with the supplied options, registers request and upgrade handling, and closes
43
46
  * the server during scope finalization with optional graceful-shutdown control.
44
47
  *
48
+ * @stability unstable
45
49
  * @category constructors
46
50
  * @since 4.0.0
47
51
  */
48
52
  export declare const make: (evaluate: LazyArg<Http.Server<typeof Http.IncomingMessage, typeof Http.ServerResponse>>, options: Options) => Effect.Effect<{
49
53
  readonly serve: {
50
54
  <E, R>(effect: Effect.Effect<HttpServerResponse, E, R>): Effect.Effect<void, never, Exclude<R, HttpServerRequest> | Scope.Scope>;
51
- <E, R, App extends Effect.Effect<HttpServerResponse, any, any>>(effect: Effect.Effect<HttpServerResponse, E, R>, middleware: Middleware.HttpMiddleware.Applied<App, E, R>): Effect.Effect<void, never, Exclude<R, HttpServerRequest> | Scope.Scope>;
55
+ <E, R, App extends Effect.Effect<HttpServerResponse, any, any>>(effect: Effect.Effect<HttpServerResponse, E, R>, middleware: Middleware.HttpMiddleware.Applied<App, E, R>): Effect.Effect<void, never, Exclude<Effect.Services<App>, HttpServerRequest> | Scope.Scope>;
52
56
  };
53
57
  readonly address: NetAddress.SocketAddress;
54
58
  }, ServeError, Scope.Scope>;
@@ -57,6 +61,7 @@ export declare const make: (evaluate: LazyArg<Http.Server<typeof Http.IncomingMe
57
61
  * injecting a `HttpServerRequest` and interrupting the request fiber if the
58
62
  * client closes the response before it finishes.
59
63
  *
64
+ * @stability unstable
60
65
  * @category handlers
61
66
  * @since 4.0.0
62
67
  */
@@ -69,6 +74,7 @@ export declare const makeHandler: <R, E, App extends Effect.Effect<HttpServerRes
69
74
  * exposing the upgraded WebSocket as the request's `upgrade` effect and
70
75
  * interrupting the request fiber when the socket closes early.
71
76
  *
77
+ * @stability unstable
72
78
  * @category handlers
73
79
  * @since 4.0.0
74
80
  */
@@ -80,6 +86,7 @@ export declare const makeUpgradeHandler: <R, E, App extends Effect.Effect<HttpSe
80
86
  * Provides an `HttpServer` by creating and managing a scoped Node
81
87
  * `http.Server` with the supplied listen and shutdown options.
82
88
  *
89
+ * @stability unstable
83
90
  * @category layers
84
91
  * @since 4.0.0
85
92
  */
@@ -88,6 +95,7 @@ export declare const layerServer: (evaluate: LazyArg<Http.Server<typeof Http.Inc
88
95
  * Provides the Node HTTP support services used by `NodeHttpServer`, including
89
96
  * the HTTP platform, ETag generator, and core Node platform services.
90
97
  *
98
+ * @stability unstable
91
99
  * @category layers
92
100
  * @since 4.0.0
93
101
  */
@@ -96,6 +104,7 @@ export declare const layerHttpServices: Layer.Layer<NodeServices.NodeServices |
96
104
  * Provides a Node `HttpServer` together with the Node HTTP platform, ETag, and
97
105
  * core platform services required to serve requests.
98
106
  *
107
+ * @stability unstable
99
108
  * @category layers
100
109
  * @since 4.0.0
101
110
  */
@@ -105,6 +114,7 @@ export declare const layer: (evaluate: LazyArg<Http.Server>, options: Options) =
105
114
  * and core Node platform services, reading the listen and shutdown options from
106
115
  * a `Config` value.
107
116
  *
117
+ * @stability unstable
108
118
  * @category layers
109
119
  * @since 4.0.0
110
120
  */
@@ -113,6 +123,7 @@ export declare const layerConfig: (evaluate: LazyArg<Http.Server>, options: Conf
113
123
  * Provides a test HTTP server listening on an ephemeral port together with a
114
124
  * Fetch-backed `HttpClient` configured for server integration tests.
115
125
  *
126
+ * @stability unstable
116
127
  * @category testing
117
128
  * @since 4.0.0
118
129
  */
@@ -7,32 +7,32 @@ import {
7
7
  make,
8
8
  makeHandler,
9
9
  makeUpgradeHandler
10
- } from "../chunk-SIR62W3Y.js";
11
- import "../chunk-5ZMHBXIK.js";
12
- import "../chunk-GXCHI7BM.js";
13
- import "../chunk-2Y7WC4KU.js";
14
- import "../chunk-AMQKOQNT.js";
15
- import "../chunk-KUUXSID7.js";
16
- import "../chunk-B3FZ67QU.js";
17
- import "../chunk-XDKNKFBW.js";
18
- import "../chunk-TXKLEBBL.js";
19
- import "../chunk-TFIKFFSC.js";
20
- import "../chunk-54RLBMTZ.js";
21
- import "../chunk-QYBKAIA6.js";
22
- import "../chunk-QPLDT6A6.js";
23
- import "../chunk-EGBNVEEW.js";
24
- import "../chunk-JJ24ARBQ.js";
25
- import "../chunk-VZBDV3TV.js";
26
- import "../chunk-UFH5UUZK.js";
27
- import "../chunk-J7A4CZDO.js";
28
- import "../chunk-VANKHF46.js";
29
- import "../chunk-3GR5VZ2M.js";
30
- import "../chunk-M32LDTW7.js";
31
- import "../chunk-BKTBUBQY.js";
32
- import "../chunk-42QKY6T6.js";
33
- import "../chunk-DS7GF46S.js";
34
- import "../chunk-XH4U3JSV.js";
35
- import "../chunk-OXNGN5H7.js";
10
+ } from "../chunk-VWSWEUN5.js";
11
+ import "../chunk-NTEWGPPG.js";
12
+ import "../chunk-D4HEMNGU.js";
13
+ import "../chunk-MUEED3C3.js";
14
+ import "../chunk-6L2NJEOV.js";
15
+ import "../chunk-KABHKTVG.js";
16
+ import "../chunk-KFDBU6RR.js";
17
+ import "../chunk-423HXGL6.js";
18
+ import "../chunk-3SL3HKQA.js";
19
+ import "../chunk-ZVJCBTJG.js";
20
+ import "../chunk-QHR2RC5M.js";
21
+ import "../chunk-7NMJM44J.js";
22
+ import "../chunk-OF3N2FN4.js";
23
+ import "../chunk-R327POEZ.js";
24
+ import "../chunk-NQO6V4KI.js";
25
+ import "../chunk-UUQXJRMK.js";
26
+ import "../chunk-C3PGUWW5.js";
27
+ import "../chunk-D2ZL4PLZ.js";
28
+ import "../chunk-AWNTTSHL.js";
29
+ import "../chunk-RQH5DSBA.js";
30
+ import "../chunk-A7UXCEJA.js";
31
+ import "../chunk-PU7QVYND.js";
32
+ import "../chunk-HDV6VIRM.js";
33
+ import "../chunk-VIWU4EBF.js";
34
+ import "../chunk-BY3SDXID.js";
35
+ import "../chunk-2ZAGBWTH.js";
36
36
  import "../chunk-MLKGABMK.js";
37
37
  export {
38
38
  layer,
@@ -5,14 +5,16 @@
5
5
  * `toServerResponse` returns the underlying Node `http.ServerResponse`,
6
6
  * evaluating the stored response thunk when the response was created lazily.
7
7
  *
8
+ * @stability unstable
8
9
  * @since 4.0.0
9
10
  */
10
- import type { HttpServerRequest } from "effect/unstable/http/HttpServerRequest";
11
+ import type { HttpServerRequest } from "effect/http/HttpServerRequest";
11
12
  import type * as Http from "node:http";
12
13
  /**
13
14
  * Returns the underlying Node `IncomingMessage` for a platform Node
14
15
  * `HttpServerRequest`.
15
16
  *
17
+ * @stability unstable
16
18
  * @category accessors
17
19
  * @since 4.0.0
18
20
  */
@@ -22,6 +24,7 @@ export declare const toIncomingMessage: (self: HttpServerRequest) => Http.Incomi
22
24
  * `HttpServerRequest`, evaluating the stored response thunk when the response
23
25
  * was created lazily.
24
26
  *
27
+ * @stability unstable
25
28
  * @category accessors
26
29
  * @since 4.0.0
27
30
  */
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  toIncomingMessage,
3
3
  toServerResponse
4
- } from "../chunk-MBSKBQ5D.js";
4
+ } from "../chunk-WPZDL2D7.js";
5
5
  import "../chunk-MLKGABMK.js";
6
6
  export {
7
7
  toIncomingMessage,
@@ -8,14 +8,15 @@
8
8
  * returns the underlying Node readable stream for file parts produced by this
9
9
  * parser.
10
10
  *
11
+ * @stability unstable
11
12
  * @since 4.0.0
12
13
  */
13
14
  import * as Effect from "effect/Effect";
14
15
  import type * as FileSystem from "effect/FileSystem";
16
+ import * as Multipart from "effect/http/Multipart";
15
17
  import type * as Path from "effect/Path";
16
18
  import type * as Scope from "effect/Scope";
17
19
  import * as Stream from "effect/Stream";
18
- import * as Multipart from "effect/unstable/http/Multipart";
19
20
  import type { IncomingHttpHeaders } from "node:http";
20
21
  import type { Readable } from "node:stream";
21
22
  /**
@@ -23,6 +24,7 @@ import type { Readable } from "node:stream";
23
24
  * stream of `Multipart.Part` values, converting parser failures to
24
25
  * `MultipartError`.
25
26
  *
27
+ * @stability unstable
26
28
  * @category constructors
27
29
  * @since 4.0.0
28
30
  */
@@ -31,6 +33,7 @@ export declare const stream: (source: Readable, headers: IncomingHttpHeaders) =>
31
33
  * Parses multipart data from a Node readable request body and persists file
32
34
  * parts using the current `FileSystem`, `Path`, and `Scope` services.
33
35
  *
36
+ * @stability unstable
34
37
  * @category constructors
35
38
  * @since 4.0.0
36
39
  */
@@ -39,6 +42,7 @@ export declare const persisted: (source: Readable, headers: IncomingHttpHeaders)
39
42
  * Returns the underlying Node readable stream for a multipart file produced by
40
43
  * the Node multipart parser.
41
44
  *
45
+ * @stability unstable
42
46
  * @category converting
43
47
  * @since 4.0.0
44
48
  */
@@ -2,11 +2,11 @@ import {
2
2
  fileToReadable,
3
3
  persisted,
4
4
  stream
5
- } from "../chunk-GXCHI7BM.js";
6
- import "../chunk-2Y7WC4KU.js";
7
- import "../chunk-DS7GF46S.js";
8
- import "../chunk-XH4U3JSV.js";
9
- import "../chunk-OXNGN5H7.js";
5
+ } from "../chunk-ZVJCBTJG.js";
6
+ import "../chunk-QHR2RC5M.js";
7
+ import "../chunk-AWNTTSHL.js";
8
+ import "../chunk-RQH5DSBA.js";
9
+ import "../chunk-A7UXCEJA.js";
10
10
  import "../chunk-MLKGABMK.js";
11
11
  export {
12
12
  fileToReadable,