@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
@@ -1,14 +1,16 @@
1
1
  /**
2
2
  * Node.js streams adapter for the low-level multipart parser.
3
3
  *
4
+ * @stability unstable
4
5
  * @since 4.0.0
5
6
  */
6
- import type { BaseConfig, MultipartError, PartInfo } from "effect/unstable/http/MultipartParser";
7
+ import type { BaseConfig, MultipartError, PartInfo } from "effect/http/MultipartParser";
7
8
  import type { IncomingHttpHeaders } from "node:http";
8
9
  import { Duplex, Readable } from "node:stream";
9
10
  /**
10
11
  * A part emitted by the Node.js multipart parser.
11
12
  *
13
+ * @stability unstable
12
14
  * @category models
13
15
  * @since 4.0.0
14
16
  */
@@ -16,6 +18,7 @@ export type Part = Field | FileStream;
16
18
  /**
17
19
  * A parsed multipart field.
18
20
  *
21
+ * @stability unstable
19
22
  * @category models
20
23
  * @since 4.0.0
21
24
  */
@@ -27,6 +30,7 @@ export interface Field {
27
30
  /**
28
31
  * A Node.js duplex stream that emits parsed multipart parts.
29
32
  *
33
+ * @stability unstable
30
34
  * @category models
31
35
  * @since 4.0.0
32
36
  */
@@ -51,6 +55,7 @@ export interface MultipartStream extends Duplex {
51
55
  /**
52
56
  * Configuration for the Node.js multipart parser.
53
57
  *
58
+ * @stability unstable
54
59
  * @category models
55
60
  * @since 4.0.0
56
61
  */
@@ -60,6 +65,7 @@ export type NodeConfig = Omit<BaseConfig, "headers"> & {
60
65
  /**
61
66
  * A Node.js duplex stream that parses multipart input.
62
67
  *
68
+ * @stability unstable
63
69
  * @category models
64
70
  * @since 4.0.0
65
71
  */
@@ -76,6 +82,7 @@ export declare class MultipartStream extends Duplex {
76
82
  /**
77
83
  * Creates a Node.js multipart parser stream.
78
84
  *
85
+ * @stability unstable
79
86
  * @category constructors
80
87
  * @since 4.0.0
81
88
  */
@@ -83,6 +90,7 @@ export declare const make: (config: NodeConfig) => MultipartStream;
83
90
  /**
84
91
  * A readable stream containing a parsed multipart file.
85
92
  *
93
+ * @stability unstable
86
94
  * @category models
87
95
  * @since 4.0.0
88
96
  */
@@ -2,7 +2,7 @@ import {
2
2
  FileStream,
3
3
  MultipartStream,
4
4
  make
5
- } from "../chunk-2Y7WC4KU.js";
5
+ } from "../chunk-QHR2RC5M.js";
6
6
  import "../chunk-MLKGABMK.js";
7
7
  export {
8
8
  FileStream,
@@ -4,6 +4,7 @@ import type { Path } from "effect/Path";
4
4
  * Provides the default Node `Path` service using the platform's `node:path`
5
5
  * implementation.
6
6
  *
7
+ * @stability unstable
7
8
  * @category layers
8
9
  * @since 4.0.0
9
10
  */
@@ -12,6 +13,7 @@ export declare const layer: Layer.Layer<Path>;
12
13
  * Provides the `Path` service using Node's POSIX path implementation,
13
14
  * regardless of the host platform.
14
15
  *
16
+ * @stability unstable
15
17
  * @category layers
16
18
  * @since 4.0.0
17
19
  */
@@ -20,6 +22,7 @@ export declare const layerPosix: Layer.Layer<Path>;
20
22
  * Provides the `Path` service using Node's Windows path implementation,
21
23
  * regardless of the host platform.
22
24
  *
25
+ * @stability unstable
23
26
  * @category layers
24
27
  * @since 4.0.0
25
28
  */
@@ -2,8 +2,8 @@ import {
2
2
  layer,
3
3
  layerPosix,
4
4
  layerWin32
5
- } from "../chunk-TFIKFFSC.js";
6
- import "../chunk-54RLBMTZ.js";
5
+ } from "../chunk-7NMJM44J.js";
6
+ import "../chunk-OF3N2FN4.js";
7
7
  import "../chunk-MLKGABMK.js";
8
8
  export {
9
9
  layer,
@@ -8,13 +8,14 @@
8
8
  * connects explicitly, so layer construction can fail with a `RedisError`.
9
9
  * Both layers close the client when the layer scope ends.
10
10
  *
11
+ * @stability unstable
11
12
  * @since 4.0.0
12
13
  */
13
14
  import * as Config from "effect/Config";
14
15
  import * as Context from "effect/Context";
15
16
  import * as Effect from "effect/Effect";
16
17
  import * as Layer from "effect/Layer";
17
- import * as Redis from "effect/unstable/persistence/Redis";
18
+ import * as Redis from "effect/persistence/Redis";
18
19
  import { createClient } from "redis";
19
20
  type NodeRedisClient = ReturnType<typeof createClient>;
20
21
  type NodeRedisClientOptions = NonNullable<Parameters<typeof createClient>[0]>;
@@ -27,6 +28,7 @@ declare const NodeRedis_base: Context.ServiceClass<NodeRedis, "@effect/platform-
27
28
  * `node-redis` client and a `use` helper that maps client failures to
28
29
  * `RedisError`.
29
30
  *
31
+ * @stability unstable
30
32
  * @category services
31
33
  * @since 4.0.0
32
34
  */
@@ -47,6 +49,7 @@ export declare class NodeRedis extends NodeRedis_base {
47
49
  * Scope finalization calls `close()`, which waits for in-flight commands,
48
50
  * including blocking commands, and can therefore delay scope closure.
49
51
  *
52
+ * @stability unstable
50
53
  * @category layers
51
54
  * @since 4.0.0
52
55
  */
@@ -66,6 +69,7 @@ export declare const layer: (options?: NodeRedisClientOptions | undefined) => La
66
69
  * Scope finalization calls `close()`, which waits for in-flight commands,
67
70
  * including blocking commands, and can therefore delay scope closure.
68
71
  *
72
+ * @stability unstable
69
73
  * @category layers
70
74
  * @since 4.0.0
71
75
  */
@@ -2,7 +2,7 @@ import {
2
2
  NodeRedis,
3
3
  layer,
4
4
  layerConfig
5
- } from "../chunk-NBVRTDTV.js";
5
+ } from "../chunk-V2EB7FHY.js";
6
6
  import "../chunk-MLKGABMK.js";
7
7
  export {
8
8
  NodeRedis,
@@ -21,6 +21,7 @@ import type * as Runtime from "effect/Runtime";
21
21
  * - `disableErrorReporting`: Turn off automatic error logging.
22
22
  * - `teardown`: Provide custom finalization logic.
23
23
  *
24
+ * @stability unstable
24
25
  * @category running
25
26
  * @since 4.0.0
26
27
  */
@@ -46,6 +47,7 @@ export declare const runMain: {
46
47
  * - `disableErrorReporting`: Turn off automatic error logging.
47
48
  * - `teardown`: Provide custom finalization logic.
48
49
  *
50
+ * @stability unstable
49
51
  * @category running
50
52
  * @since 4.0.0
51
53
  */
@@ -74,6 +76,7 @@ export declare const runMain: {
74
76
  * - `disableErrorReporting`: Turn off automatic error logging.
75
77
  * - `teardown`: Provide custom finalization logic.
76
78
  *
79
+ * @stability unstable
77
80
  * @category running
78
81
  * @since 4.0.0
79
82
  */
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  runMain
3
- } from "../chunk-EZWY45HP.js";
4
- import "../chunk-LEUPYT3Q.js";
3
+ } from "../chunk-N6TK35N5.js";
4
+ import "../chunk-UUYTTEDH.js";
5
5
  import "../chunk-MLKGABMK.js";
6
6
  export {
7
7
  runMain
@@ -6,19 +6,21 @@
6
6
  * and terminal services. Use the layer when a Node program wants the standard
7
7
  * platform services from one place.
8
8
  *
9
+ * @stability unstable
9
10
  * @since 4.0.0
10
11
  */
11
12
  import type { Crypto } from "effect/Crypto";
12
13
  import type { FileSystem } from "effect/FileSystem";
13
14
  import * as Layer from "effect/Layer";
14
15
  import type { Path } from "effect/Path";
16
+ import type { ChildProcessSpawner } from "effect/process/ChildProcessSpawner";
15
17
  import type { Stdio } from "effect/Stdio";
16
18
  import type { Terminal } from "effect/Terminal";
17
- import type { ChildProcessSpawner } from "effect/unstable/process/ChildProcessSpawner";
18
19
  /**
19
20
  * The union of core services provided by the Node platform layer, including
20
21
  * child process spawning, filesystem, path, stdio, and terminal services.
21
22
  *
23
+ * @stability unstable
22
24
  * @category models
23
25
  * @since 4.0.0
24
26
  */
@@ -27,6 +29,7 @@ export type NodeServices = ChildProcessSpawner | Crypto | FileSystem | Path | St
27
29
  * Provides the default Node implementations for child process spawning,
28
30
  * filesystem, path, stdio, and terminal services.
29
31
  *
32
+ * @stability unstable
30
33
  * @category layers
31
34
  * @since 4.0.0
32
35
  */
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  layer
3
- } from "../chunk-AMQKOQNT.js";
4
- import "../chunk-KUUXSID7.js";
5
- import "../chunk-B3FZ67QU.js";
6
- import "../chunk-XDKNKFBW.js";
7
- import "../chunk-TXKLEBBL.js";
8
- import "../chunk-TFIKFFSC.js";
9
- import "../chunk-54RLBMTZ.js";
10
- import "../chunk-QYBKAIA6.js";
11
- import "../chunk-QPLDT6A6.js";
12
- import "../chunk-EGBNVEEW.js";
13
- import "../chunk-VZBDV3TV.js";
14
- import "../chunk-UFH5UUZK.js";
15
- import "../chunk-M32LDTW7.js";
16
- import "../chunk-BKTBUBQY.js";
17
- import "../chunk-42QKY6T6.js";
18
- import "../chunk-XH4U3JSV.js";
19
- import "../chunk-OXNGN5H7.js";
3
+ } from "../chunk-NTEWGPPG.js";
4
+ import "../chunk-D4HEMNGU.js";
5
+ import "../chunk-MUEED3C3.js";
6
+ import "../chunk-KABHKTVG.js";
7
+ import "../chunk-KFDBU6RR.js";
8
+ import "../chunk-7NMJM44J.js";
9
+ import "../chunk-OF3N2FN4.js";
10
+ import "../chunk-R327POEZ.js";
11
+ import "../chunk-NQO6V4KI.js";
12
+ import "../chunk-UUQXJRMK.js";
13
+ import "../chunk-RQH5DSBA.js";
14
+ import "../chunk-A7UXCEJA.js";
15
+ import "../chunk-PU7QVYND.js";
16
+ import "../chunk-HDV6VIRM.js";
17
+ import "../chunk-VIWU4EBF.js";
18
+ import "../chunk-BY3SDXID.js";
19
+ import "../chunk-2ZAGBWTH.js";
20
20
  import "../chunk-MLKGABMK.js";
21
21
  export {
22
22
  layer
@@ -1,4 +1,5 @@
1
1
  /**
2
+ * @stability unstable
2
3
  * @since 4.0.0
3
4
  */
4
5
  /**
@@ -1,9 +1,9 @@
1
- import "../chunk-IIJ52ZU6.js";
1
+ import "../chunk-BUKVIAEM.js";
2
2
  import {
3
3
  fromWritable,
4
4
  fromWritableChannel,
5
5
  pullIntoWritable
6
- } from "../chunk-OXNGN5H7.js";
6
+ } from "../chunk-A7UXCEJA.js";
7
7
  import "../chunk-MLKGABMK.js";
8
8
  export {
9
9
  fromWritable,
@@ -1,7 +1,7 @@
1
1
  import type * as Duration from "effect/Duration";
2
2
  import type * as Effect from "effect/Effect";
3
3
  import * as Layer from "effect/Layer";
4
- import * as Socket from "effect/unstable/socket/Socket";
4
+ import * as Socket from "effect/socket/Socket";
5
5
  /**
6
6
  * @since 4.0.0
7
7
  */
@@ -9,7 +9,10 @@ export * from "../node-shared/NodeSocket.js";
9
9
  /**
10
10
  * Provides a `Socket.WebSocketConstructor`, using `globalThis.WebSocket` when
11
11
  * available and falling back to the `ws` package otherwise.
12
+ * Client options objects use `ws` so handshake headers and subprotocols can
13
+ * be supplied together.
12
14
  *
15
+ * @stability unstable
13
16
  * @category layers
14
17
  * @since 4.0.0
15
18
  */
@@ -17,22 +20,26 @@ export declare const layerWebSocketConstructor: Layer.Layer<Socket.WebSocketCons
17
20
  /**
18
21
  * Provides a `Socket.WebSocketConstructor` backed explicitly by the `ws`
19
22
  * package.
23
+ * Supports handshake headers alongside subprotocols in client options objects.
20
24
  *
25
+ * @stability unstable
21
26
  * @category layers
22
27
  * @since 4.0.0
23
28
  */
24
29
  export declare const layerWebSocketConstructorWS: Layer.Layer<Socket.WebSocketConstructor>;
25
30
  /**
26
31
  * Creates a `Socket.Socket` layer for a WebSocket URL using the Node WebSocket
27
- * constructor layer, honoring protocol, open-timeout, and high-water-mark
28
- * options.
32
+ * constructor layer, honoring protocol, handshake-header, open-timeout, and
33
+ * high-water-mark options.
29
34
  *
35
+ * @stability unstable
30
36
  * @category layers
31
37
  * @since 4.0.0
32
38
  */
33
39
  export declare const layerWebSocket: (url: string | Effect.Effect<string>, options?: {
34
40
  readonly openTimeout?: Duration.Input | undefined;
35
41
  readonly protocols?: string | Array<string> | undefined;
42
+ readonly headers?: Readonly<Record<string, string>> | undefined;
36
43
  readonly highWaterMark?: number | undefined;
37
44
  } | undefined) => Layer.Layer<Socket.Socket, never, never>;
38
45
  //# sourceMappingURL=NodeSocket.d.ts.map
@@ -2,7 +2,7 @@ import {
2
2
  layerWebSocket,
3
3
  layerWebSocketConstructor,
4
4
  layerWebSocketConstructorWS
5
- } from "../chunk-5ZMHBXIK.js";
5
+ } from "../chunk-6L2NJEOV.js";
6
6
  import {
7
7
  NetSocket,
8
8
  NodeWS,
@@ -13,7 +13,7 @@ import {
13
13
  makeNetChannel,
14
14
  makeTls,
15
15
  makeTlsChannel
16
- } from "../chunk-JJ24ARBQ.js";
16
+ } from "../chunk-C3PGUWW5.js";
17
17
  import "../chunk-MLKGABMK.js";
18
18
  export {
19
19
  NetSocket,
@@ -1,4 +1,5 @@
1
1
  /**
2
+ * @stability unstable
2
3
  * @since 4.0.0
3
4
  */
4
5
  /**
@@ -1,4 +1,4 @@
1
- import "../chunk-6ME2W7TF.js";
1
+ import "../chunk-4WIQ2XN7.js";
2
2
  import {
3
3
  IncomingMessage,
4
4
  layer,
@@ -7,8 +7,8 @@ import {
7
7
  make,
8
8
  makeTls,
9
9
  makeWebSocket
10
- } from "../chunk-DWSHTSVX.js";
11
- import "../chunk-JJ24ARBQ.js";
10
+ } from "../chunk-S6QUQLBV.js";
11
+ import "../chunk-C3PGUWW5.js";
12
12
  import "../chunk-MLKGABMK.js";
13
13
  export {
14
14
  IncomingMessage,
@@ -4,6 +4,7 @@ import type { Stdio } from "effect/Stdio";
4
4
  * Provides the `Stdio` service backed by the current process arguments,
5
5
  * stdin, stdout, and stderr streams.
6
6
  *
7
+ * @stability unstable
7
8
  * @category layers
8
9
  * @since 4.0.0
9
10
  */
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  layer
3
- } from "../chunk-KUUXSID7.js";
4
- import "../chunk-B3FZ67QU.js";
5
- import "../chunk-XH4U3JSV.js";
6
- import "../chunk-OXNGN5H7.js";
3
+ } from "../chunk-KABHKTVG.js";
4
+ import "../chunk-KFDBU6RR.js";
5
+ import "../chunk-RQH5DSBA.js";
6
+ import "../chunk-A7UXCEJA.js";
7
7
  import "../chunk-MLKGABMK.js";
8
8
  export {
9
9
  layer
@@ -1,4 +1,5 @@
1
1
  /**
2
+ * @stability unstable
2
3
  * @since 4.0.0
3
4
  */
4
5
  /**
@@ -1,4 +1,4 @@
1
- import "../chunk-DS7GF46S.js";
1
+ import "../chunk-AWNTTSHL.js";
2
2
  import {
3
3
  fromDuplex,
4
4
  fromReadable,
@@ -10,8 +10,8 @@ import {
10
10
  toReadableNever,
11
11
  toString,
12
12
  toUint8Array
13
- } from "../chunk-XH4U3JSV.js";
14
- import "../chunk-OXNGN5H7.js";
13
+ } from "../chunk-RQH5DSBA.js";
14
+ import "../chunk-A7UXCEJA.js";
15
15
  import "../chunk-MLKGABMK.js";
16
16
  export {
17
17
  fromDuplex,
@@ -3,17 +3,20 @@ import type { Layer } from "effect/Layer";
3
3
  import type { Scope } from "effect/Scope";
4
4
  import type { Terminal, UserInput } from "effect/Terminal";
5
5
  /**
6
- * Creates a scoped `Terminal` service backed by process stdin/stdout, using the
7
- * optional predicate to decide when key input should end the input stream.
6
+ * Creates a scoped `Terminal` service backed by process stdin/stdout.
7
+ * By default, Esc, Ctrl+C, and Ctrl+D end key input. Supply `shouldQuit` to
8
+ * override these quit keys.
8
9
  *
10
+ * @stability unstable
9
11
  * @category constructors
10
12
  * @since 4.0.0
11
13
  */
12
14
  export declare const make: (shouldQuit?: (input: UserInput) => boolean) => Effect<Terminal, never, Scope>;
13
15
  /**
14
16
  * Provides the default process-backed `Terminal` service, ending key input on
15
- * the default quit keys.
17
+ * bare Esc, Ctrl+C, or Ctrl+D.
16
18
  *
19
+ * @stability unstable
17
20
  * @category layers
18
21
  * @since 4.0.0
19
22
  */
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  layer,
3
3
  make
4
- } from "../chunk-XDKNKFBW.js";
5
- import "../chunk-TXKLEBBL.js";
4
+ } from "../chunk-D4HEMNGU.js";
5
+ import "../chunk-MUEED3C3.js";
6
6
  import "../chunk-MLKGABMK.js";
7
7
  export {
8
8
  layer,
@@ -1,5 +1,5 @@
1
1
  import * as Layer from "effect/Layer";
2
- import * as Worker from "effect/unstable/workers/Worker";
2
+ import * as Worker from "effect/workers/Worker";
3
3
  import type * as ChildProcess from "node:child_process";
4
4
  import type * as WorkerThreads from "node:worker_threads";
5
5
  /**
@@ -7,6 +7,7 @@ import type * as WorkerThreads from "node:worker_threads";
7
7
  * process workers, wiring messages, errors, and exits into Effect workers and
8
8
  * terminating the worker if graceful shutdown times out.
9
9
  *
10
+ * @stability unstable
10
11
  * @category layers
11
12
  * @since 4.0.0
12
13
  */
@@ -15,6 +16,7 @@ export declare const layerPlatform: Layer.Layer<Worker.WorkerPlatform>;
15
16
  * Provides the Node `WorkerPlatform` together with a `Worker.Spawner` created
16
17
  * from the supplied worker or child-process spawning function.
17
18
  *
19
+ * @stability unstable
18
20
  * @category layers
19
21
  * @since 4.0.0
20
22
  */
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  layer,
3
3
  layerPlatform
4
- } from "../chunk-JG5TTWPT.js";
4
+ } from "../chunk-PECOFLCU.js";
5
5
  import "../chunk-MLKGABMK.js";
6
6
  export {
7
7
  layer,
@@ -1,10 +1,11 @@
1
1
  import * as Layer from "effect/Layer";
2
- import * as WorkerRunner from "effect/unstable/workers/WorkerRunner";
2
+ import * as WorkerRunner from "effect/workers/WorkerRunner";
3
3
  /**
4
4
  * Provides the `WorkerRunnerPlatform` for code running inside a Node worker
5
5
  * thread or child process, routing parent messages to the registered handler
6
6
  * and sending responses back through the parent channel.
7
7
  *
8
+ * @stability unstable
8
9
  * @category layers
9
10
  * @since 4.0.0
10
11
  */
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  layer
3
- } from "../chunk-DVOAHXPG.js";
3
+ } from "../chunk-FFD6R5JZ.js";
4
4
  import "../chunk-MLKGABMK.js";
5
5
  export {
6
6
  layer
@@ -12,15 +12,18 @@
12
12
  * dispatcher lifetimes, mocking, aborts, and request options follow Undici's
13
13
  * own semantics.
14
14
  *
15
+ * @stability unstable
15
16
  * @since 4.0.0
16
17
  */
17
18
  import Undici from "undici";
18
19
  /**
20
+ * @stability unstable
19
21
  * @category re-exports
20
22
  * @since 4.0.0
21
23
  */
22
24
  export * from "undici";
23
25
  /**
26
+ * @stability unstable
24
27
  * @category re-exports
25
28
  * @since 4.0.0
26
29
  */
@@ -1,6 +1,6 @@
1
1
  import "../chunk-MLKGABMK.js";
2
2
 
3
- // ../../../../node_modules/.pnpm/@effect+platform-node@4.0.0-rc.115_effect@4.0.0-rc.115_redis@6.2.1_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/Undici.js
3
+ // ../../../../node_modules/.pnpm/@effect+platform-node@4.0.4_effect@4.0.4_redis@6.2.1_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/Undici.js
4
4
  import Undici from "undici";
5
5
  export * from "undici";
6
6
  var Undici_default = Undici;