@smthrs/platform-node 1.0.0-rc.5 → 1.0.0-rc.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/bin/win32-x64/smithers-jj-export.exe +0 -0
- package/dist/cjs/EgressHttpClient.d.ts +1 -1
- package/dist/cjs/EgressHttpClient.d.ts.map +1 -1
- package/dist/cjs/EgressHttpClient.js +4 -4
- package/dist/cjs/EgressHttpClient.js.map +2 -2
- package/dist/cjs/NodeHost.d.ts +2 -2
- package/dist/cjs/NodeHost.d.ts.map +1 -1
- package/dist/cjs/NodeHost.js.map +2 -2
- package/dist/cjs/ProcessConfinement.js +1 -1
- package/dist/cjs/ProcessConfinement.js.map +2 -2
- package/dist/cjs/ProcessReaper.d.ts +1 -1
- package/dist/cjs/ProcessReaper.d.ts.map +1 -1
- package/dist/cjs/ProcessReaper.js +1 -1
- package/dist/cjs/ProcessReaper.js.map +1 -1
- package/dist/cjs/ScopedProcess.d.ts +2 -2
- package/dist/cjs/ScopedProcess.d.ts.map +1 -1
- package/dist/cjs/ScopedProcess.js +1 -1
- package/dist/cjs/ScopedProcess.js.map +2 -2
- package/dist/cjs/internal/PipedProcess.d.ts +2 -2
- package/dist/cjs/internal/PipedProcess.d.ts.map +1 -1
- package/dist/cjs/internal/PipedProcess.js +2 -2
- package/dist/cjs/internal/PipedProcess.js.map +2 -2
- package/dist/cjs/internal/ProcessCleanup.d.ts +1 -1
- package/dist/cjs/internal/ProcessCleanup.d.ts.map +1 -1
- package/dist/cjs/internal/ProcessCleanup.js.map +1 -1
- package/dist/cjs/internal/ProcessSupervisor.d.ts +2 -2
- package/dist/cjs/internal/ProcessSupervisor.d.ts.map +1 -1
- package/dist/cjs/internal/ProcessSupervisor.js +2 -2
- package/dist/cjs/internal/ProcessSupervisor.js.map +2 -2
- package/dist/esm/EgressHttpClient.d.ts +1 -1
- package/dist/esm/EgressHttpClient.d.ts.map +1 -1
- package/dist/esm/EgressHttpClient.js +4 -4
- package/dist/esm/EgressHttpClient.js.map +1 -1
- package/dist/esm/NodeHost.d.ts +2 -2
- package/dist/esm/NodeHost.d.ts.map +1 -1
- package/dist/esm/NodeHost.js.map +1 -1
- package/dist/esm/ProcessConfinement.js +1 -1
- package/dist/esm/ProcessConfinement.js.map +1 -1
- package/dist/esm/ProcessReaper.d.ts +1 -1
- package/dist/esm/ProcessReaper.d.ts.map +1 -1
- package/dist/esm/ProcessReaper.js +1 -1
- package/dist/esm/ProcessReaper.js.map +1 -1
- package/dist/esm/ScopedProcess.d.ts +2 -2
- package/dist/esm/ScopedProcess.d.ts.map +1 -1
- package/dist/esm/ScopedProcess.js +1 -1
- package/dist/esm/ScopedProcess.js.map +1 -1
- package/dist/esm/internal/PipedProcess.d.ts +2 -2
- package/dist/esm/internal/PipedProcess.d.ts.map +1 -1
- package/dist/esm/internal/PipedProcess.js +2 -2
- package/dist/esm/internal/PipedProcess.js.map +1 -1
- package/dist/esm/internal/ProcessCleanup.d.ts +1 -1
- package/dist/esm/internal/ProcessCleanup.d.ts.map +1 -1
- package/dist/esm/internal/ProcessCleanup.js.map +1 -1
- package/dist/esm/internal/ProcessSupervisor.d.ts +2 -2
- package/dist/esm/internal/ProcessSupervisor.d.ts.map +1 -1
- package/dist/esm/internal/ProcessSupervisor.js +2 -2
- package/dist/esm/internal/ProcessSupervisor.js.map +1 -1
- package/dist/vendor/adapters.json +622 -382
- package/dist/vendor/{chunk-42QKY6T6.js → chunk-2ZAGBWTH.js} +1 -1
- package/dist/vendor/{chunk-3GR5VZ2M.js → chunk-3SL3HKQA.js} +3 -3
- package/dist/vendor/{chunk-VANKHF46.js → chunk-423HXGL6.js} +55 -23
- package/dist/vendor/{chunk-6ME2W7TF.js → chunk-4WIQ2XN7.js} +2 -2
- package/dist/vendor/{chunk-Y35ZAO5U.js → chunk-6FSJ2PMW.js} +8 -8
- package/dist/vendor/{chunk-5ZMHBXIK.js → chunk-6L2NJEOV.js} +11 -4
- package/dist/vendor/{chunk-TFIKFFSC.js → chunk-7NMJM44J.js} +2 -2
- package/dist/vendor/{chunk-OXNGN5H7.js → chunk-A7UXCEJA.js} +1 -1
- package/dist/vendor/chunk-ADP5LRUF.js +274 -0
- package/dist/vendor/{chunk-DS7GF46S.js → chunk-AWNTTSHL.js} +2 -2
- package/dist/vendor/{chunk-IIJ52ZU6.js → chunk-BUKVIAEM.js} +2 -2
- package/dist/vendor/{chunk-BKTBUBQY.js → chunk-BY3SDXID.js} +71 -7
- package/dist/vendor/{chunk-JJ24ARBQ.js → chunk-C3PGUWW5.js} +53 -33
- package/dist/vendor/{chunk-J7A4CZDO.js → chunk-D2ZL4PLZ.js} +8 -7
- package/dist/vendor/{chunk-XDKNKFBW.js → chunk-D4HEMNGU.js} +2 -2
- package/dist/vendor/{chunk-DVOAHXPG.js → chunk-FFD6R5JZ.js} +3 -3
- package/dist/vendor/{chunk-UFH5UUZK.js → chunk-HDV6VIRM.js} +1 -1
- package/dist/vendor/chunk-IWSDM4CG.js +16 -0
- package/dist/vendor/{chunk-KUUXSID7.js → chunk-KABHKTVG.js} +2 -2
- package/dist/vendor/{chunk-B3FZ67QU.js → chunk-KFDBU6RR.js} +4 -3
- package/dist/vendor/chunk-LNWGIDIG.js +20 -0
- package/dist/vendor/{chunk-TXKLEBBL.js → chunk-MUEED3C3.js} +3 -2
- package/dist/vendor/{chunk-EZWY45HP.js → chunk-N6TK35N5.js} +2 -2
- package/dist/vendor/{chunk-QPLDT6A6.js → chunk-NQO6V4KI.js} +29 -13
- package/dist/vendor/{chunk-AMQKOQNT.js → chunk-NTEWGPPG.js} +9 -9
- package/dist/vendor/chunk-NUJQMLJP.js +325 -0
- package/dist/vendor/{chunk-54RLBMTZ.js → chunk-OF3N2FN4.js} +1 -1
- package/dist/vendor/{chunk-RO2R4MJH.js → chunk-PA32ARKD.js} +17 -17
- package/dist/vendor/{chunk-JG5TTWPT.js → chunk-PECOFLCU.js} +3 -3
- package/dist/vendor/{chunk-VZBDV3TV.js → chunk-PU7QVYND.js} +2 -2
- package/dist/vendor/{chunk-2Y7WC4KU.js → chunk-QHR2RC5M.js} +2 -2
- package/dist/vendor/{chunk-QYBKAIA6.js → chunk-R327POEZ.js} +2 -2
- package/dist/vendor/chunk-RKVXYKHJ.js +29 -0
- package/dist/vendor/{chunk-XH4U3JSV.js → chunk-RQH5DSBA.js} +2 -2
- package/dist/vendor/{chunk-DWSHTSVX.js → chunk-S6QUQLBV.js} +5 -5
- package/dist/vendor/{chunk-KOZMM5PZ.js → chunk-UPIQ52FQ.js} +12 -12
- package/dist/vendor/{chunk-EGBNVEEW.js → chunk-UUQXJRMK.js} +1 -1
- package/dist/vendor/{chunk-LEUPYT3Q.js → chunk-UUYTTEDH.js} +1 -1
- package/dist/vendor/{chunk-NBVRTDTV.js → chunk-V2EB7FHY.js} +2 -2
- package/dist/vendor/{chunk-M32LDTW7.js → chunk-VIWU4EBF.js} +2 -2
- package/dist/vendor/{chunk-SIR62W3Y.js → chunk-VWSWEUN5.js} +51 -31
- package/dist/vendor/{chunk-MBSKBQ5D.js → chunk-WPZDL2D7.js} +1 -1
- package/dist/vendor/chunk-YDY5P7GL.js +20 -0
- package/dist/vendor/{chunk-FNZOJHSV.js → chunk-YFD4QFIL.js} +17 -17
- package/dist/vendor/{chunk-GXCHI7BM.js → chunk-ZVJCBTJG.js} +5 -5
- package/dist/vendor/cjs/node/NodeAddressResolver.d.ts +16 -0
- package/dist/vendor/cjs/node/NodeAddressResolver.js +1 -0
- package/dist/vendor/cjs/node/NodeChildProcessSpawner.d.ts +1 -0
- package/dist/vendor/cjs/node/NodeClusterHttp.d.ts +13 -22
- package/dist/vendor/cjs/node/NodeClusterSocket.d.ts +14 -8
- package/dist/vendor/cjs/node/NodeCrypto.d.ts +1 -0
- package/dist/vendor/cjs/node/NodeDatagramSocket.d.ts +10 -0
- package/dist/vendor/cjs/node/NodeDatagramSocket.js +1 -0
- package/dist/vendor/cjs/node/NodeDns.d.ts +51 -0
- package/dist/vendor/cjs/node/NodeDns.js +1 -0
- package/dist/vendor/cjs/node/NodeFileSystem.d.ts +1 -0
- package/dist/vendor/cjs/node/NodeHttpClient.d.ts +21 -2
- package/dist/vendor/cjs/node/NodeHttpIncomingMessage.d.ts +5 -3
- package/dist/vendor/cjs/node/NodeHttpPlatform.d.ts +8 -6
- package/dist/vendor/cjs/node/NodeHttpServer.d.ts +21 -10
- package/dist/vendor/cjs/node/NodeHttpServerRequest.d.ts +4 -1
- package/dist/vendor/cjs/node/NodeMultipart.d.ts +5 -1
- package/dist/vendor/cjs/node/NodeMultipartParser.d.ts +9 -1
- package/dist/vendor/cjs/node/NodePath.d.ts +3 -0
- package/dist/vendor/cjs/node/NodeRedis.d.ts +5 -1
- package/dist/vendor/cjs/node/NodeRuntime.d.ts +3 -0
- package/dist/vendor/cjs/node/NodeServices.d.ts +4 -1
- package/dist/vendor/cjs/node/NodeSink.d.ts +1 -0
- package/dist/vendor/cjs/node/NodeSocket.d.ts +10 -3
- package/dist/vendor/cjs/node/NodeSocketServer.d.ts +1 -0
- package/dist/vendor/cjs/node/NodeStdio.d.ts +1 -0
- package/dist/vendor/cjs/node/NodeStream.d.ts +1 -0
- package/dist/vendor/cjs/node/NodeTerminal.d.ts +6 -3
- package/dist/vendor/cjs/node/NodeWorker.d.ts +3 -1
- package/dist/vendor/cjs/node/NodeWorkerRunner.d.ts +2 -1
- package/dist/vendor/cjs/node/Undici.d.ts +3 -0
- package/dist/vendor/cjs/node/index.d.ts +40 -0
- package/dist/vendor/cjs/node-shared/NodeAddressResolver.d.ts +13 -0
- package/dist/vendor/cjs/node-shared/NodeAddressResolver.js +1 -0
- package/dist/vendor/cjs/node-shared/NodeChildProcessSpawner.d.ts +12 -3
- package/dist/vendor/cjs/node-shared/NodeClusterSocket.d.ts +17 -4
- package/dist/vendor/cjs/node-shared/NodeCrypto.d.ts +3 -0
- package/dist/vendor/cjs/node-shared/NodeDatagramSocket.d.ts +246 -0
- package/dist/vendor/cjs/node-shared/NodeDatagramSocket.js +1 -0
- package/dist/vendor/cjs/node-shared/NodeDns.d.ts +221 -0
- package/dist/vendor/cjs/node-shared/NodeDns.js +1 -0
- package/dist/vendor/cjs/node-shared/NodeFileSystem.d.ts +1 -0
- package/dist/vendor/cjs/node-shared/NodeHttpCompression.d.ts +5 -1
- package/dist/vendor/cjs/node-shared/NodePath.d.ts +3 -0
- package/dist/vendor/cjs/node-shared/NodeRuntime.d.ts +4 -0
- package/dist/vendor/cjs/node-shared/NodeSink.d.ts +4 -0
- package/dist/vendor/cjs/node-shared/NodeSocket.d.ts +11 -1
- package/dist/vendor/cjs/node-shared/NodeSocketServer.d.ts +8 -1
- package/dist/vendor/cjs/node-shared/NodeStdio.d.ts +1 -0
- package/dist/vendor/cjs/node-shared/NodeStream.d.ts +15 -0
- package/dist/vendor/cjs/node-shared/NodeTerminal.d.ts +6 -4
- package/dist/vendor/cjs/node-shared/index.d.ts +29 -0
- package/dist/vendor/cjs/node-shared/internal/nodeChildProcessSpawner.d.ts +1 -1
- package/dist/vendor/cjs/platform-node-shared.d.ts +29 -0
- package/dist/vendor/cjs/platform-node.d.ts +40 -0
- package/dist/vendor/node/NodeAddressResolver.d.ts +16 -0
- package/dist/vendor/node/NodeAddressResolver.js +8 -0
- package/dist/vendor/node/NodeChildProcessSpawner.d.ts +1 -0
- package/dist/vendor/node/NodeChildProcessSpawner.js +6 -6
- package/dist/vendor/node/NodeClusterHttp.d.ts +13 -22
- package/dist/vendor/node/NodeClusterHttp.js +32 -32
- package/dist/vendor/node/NodeClusterSocket.d.ts +14 -8
- package/dist/vendor/node/NodeClusterSocket.js +15 -15
- package/dist/vendor/node/NodeCrypto.d.ts +1 -0
- package/dist/vendor/node/NodeCrypto.js +2 -2
- package/dist/vendor/node/NodeDatagramSocket.d.ts +10 -0
- package/dist/vendor/node/NodeDatagramSocket.js +12 -0
- package/dist/vendor/node/NodeDns.d.ts +51 -0
- package/dist/vendor/node/NodeDns.js +12 -0
- package/dist/vendor/node/NodeFileSystem.d.ts +1 -0
- package/dist/vendor/node/NodeFileSystem.js +3 -3
- package/dist/vendor/node/NodeHttpClient.d.ts +21 -2
- package/dist/vendor/node/NodeHttpClient.js +6 -6
- package/dist/vendor/node/NodeHttpIncomingMessage.d.ts +5 -3
- package/dist/vendor/node/NodeHttpIncomingMessage.js +4 -4
- package/dist/vendor/node/NodeHttpPlatform.d.ts +8 -6
- package/dist/vendor/node/NodeHttpPlatform.js +8 -8
- package/dist/vendor/node/NodeHttpServer.d.ts +21 -10
- package/dist/vendor/node/NodeHttpServer.js +26 -26
- package/dist/vendor/node/NodeHttpServerRequest.d.ts +4 -1
- package/dist/vendor/node/NodeHttpServerRequest.js +1 -1
- package/dist/vendor/node/NodeMultipart.d.ts +5 -1
- package/dist/vendor/node/NodeMultipart.js +5 -5
- package/dist/vendor/node/NodeMultipartParser.d.ts +9 -1
- package/dist/vendor/node/NodeMultipartParser.js +1 -1
- package/dist/vendor/node/NodePath.d.ts +3 -0
- package/dist/vendor/node/NodePath.js +2 -2
- package/dist/vendor/node/NodeRedis.d.ts +5 -1
- package/dist/vendor/node/NodeRedis.js +1 -1
- package/dist/vendor/node/NodeRuntime.d.ts +3 -0
- package/dist/vendor/node/NodeRuntime.js +2 -2
- package/dist/vendor/node/NodeServices.d.ts +4 -1
- package/dist/vendor/node/NodeServices.js +17 -17
- package/dist/vendor/node/NodeSink.d.ts +1 -0
- package/dist/vendor/node/NodeSink.js +2 -2
- package/dist/vendor/node/NodeSocket.d.ts +10 -3
- package/dist/vendor/node/NodeSocket.js +2 -2
- package/dist/vendor/node/NodeSocketServer.d.ts +1 -0
- package/dist/vendor/node/NodeSocketServer.js +3 -3
- package/dist/vendor/node/NodeStdio.d.ts +1 -0
- package/dist/vendor/node/NodeStdio.js +4 -4
- package/dist/vendor/node/NodeStream.d.ts +1 -0
- package/dist/vendor/node/NodeStream.js +3 -3
- package/dist/vendor/node/NodeTerminal.d.ts +6 -3
- package/dist/vendor/node/NodeTerminal.js +2 -2
- package/dist/vendor/node/NodeWorker.d.ts +3 -1
- package/dist/vendor/node/NodeWorker.js +1 -1
- package/dist/vendor/node/NodeWorkerRunner.d.ts +2 -1
- package/dist/vendor/node/NodeWorkerRunner.js +1 -1
- package/dist/vendor/node/Undici.d.ts +3 -0
- package/dist/vendor/node/Undici.js +1 -1
- package/dist/vendor/node/index.d.ts +40 -0
- package/dist/vendor/node/index.js +70 -55
- package/dist/vendor/node-shared/NodeAddressResolver.d.ts +13 -0
- package/dist/vendor/node-shared/NodeAddressResolver.js +7 -0
- package/dist/vendor/node-shared/NodeChildProcessSpawner.d.ts +12 -3
- package/dist/vendor/node-shared/NodeChildProcessSpawner.js +5 -5
- package/dist/vendor/node-shared/NodeClusterSocket.d.ts +17 -4
- package/dist/vendor/node-shared/NodeClusterSocket.js +3 -3
- package/dist/vendor/node-shared/NodeCrypto.d.ts +3 -0
- package/dist/vendor/node-shared/NodeCrypto.js +1 -1
- package/dist/vendor/node-shared/NodeDatagramSocket.d.ts +246 -0
- package/dist/vendor/node-shared/NodeDatagramSocket.js +11 -0
- package/dist/vendor/node-shared/NodeDns.d.ts +221 -0
- package/dist/vendor/node-shared/NodeDns.js +31 -0
- package/dist/vendor/node-shared/NodeFileSystem.d.ts +1 -0
- package/dist/vendor/node-shared/NodeFileSystem.js +2 -2
- package/dist/vendor/node-shared/NodeHttpCompression.d.ts +5 -1
- package/dist/vendor/node-shared/NodeHttpCompression.js +1 -1
- package/dist/vendor/node-shared/NodePath.d.ts +3 -0
- package/dist/vendor/node-shared/NodePath.js +1 -1
- package/dist/vendor/node-shared/NodeRuntime.d.ts +4 -0
- package/dist/vendor/node-shared/NodeRuntime.js +1 -1
- package/dist/vendor/node-shared/NodeSink.d.ts +4 -0
- package/dist/vendor/node-shared/NodeSink.js +1 -1
- package/dist/vendor/node-shared/NodeSocket.d.ts +11 -1
- package/dist/vendor/node-shared/NodeSocket.js +1 -1
- package/dist/vendor/node-shared/NodeSocketServer.d.ts +8 -1
- package/dist/vendor/node-shared/NodeSocketServer.js +2 -2
- package/dist/vendor/node-shared/NodeStdio.d.ts +1 -0
- package/dist/vendor/node-shared/NodeStdio.js +3 -3
- package/dist/vendor/node-shared/NodeStream.d.ts +15 -0
- package/dist/vendor/node-shared/NodeStream.js +2 -2
- package/dist/vendor/node-shared/NodeTerminal.d.ts +6 -4
- package/dist/vendor/node-shared/NodeTerminal.js +1 -1
- package/dist/vendor/node-shared/index.d.ts +29 -0
- package/dist/vendor/node-shared/index.js +34 -22
- package/dist/vendor/node-shared/internal/nodeChildProcessSpawner.d.ts +1 -1
- package/dist/vendor/node-shared/internal/nodeChildProcessSpawner.js +1 -1
- package/dist/vendor/node-shared/internal/utils.js +1 -1
- package/dist/vendor/platform-node-shared.d.ts +29 -0
- package/dist/vendor/platform-node-shared.js +34 -22
- package/dist/vendor/platform-node.d.ts +40 -0
- package/dist/vendor/platform-node.js +70 -55
- package/docs/README.md +2 -2
- package/docs/api.md +2 -2
- package/docs/concepts/host-bundle.md +2 -2
- package/docs/installation.md +8 -9
- package/docs/quickstart.md +2 -2
- package/package.json +12 -12
- package/src/EgressHttpClient.ts +4 -4
- package/src/NodeHost.ts +2 -2
- package/src/ProcessConfinement.ts +1 -1
- package/src/ProcessReaper.ts +2 -2
- package/src/ScopedProcess.ts +2 -2
- package/src/internal/PipedProcess.ts +2 -2
- package/src/internal/ProcessCleanup.ts +1 -1
- package/src/internal/ProcessSupervisor.ts +2 -2
- /package/dist/vendor/{chunk-M7CLUILA.js → chunk-3WUGYBFU.js} +0 -0
- /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/
|
|
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
|
*/
|
|
@@ -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
|
*/
|
|
@@ -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/
|
|
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
|
*/
|
|
@@ -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
|
*/
|
|
@@ -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-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
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,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/
|
|
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
|
|
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-
|
|
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-
|
|
16
|
+
} from "../chunk-C3PGUWW5.js";
|
|
17
17
|
import "../chunk-MLKGABMK.js";
|
|
18
18
|
export {
|
|
19
19
|
NetSocket,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../chunk-
|
|
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-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-S6QUQLBV.js";
|
|
11
|
+
import "../chunk-C3PGUWW5.js";
|
|
12
12
|
import "../chunk-MLKGABMK.js";
|
|
13
13
|
export {
|
|
14
14
|
IncomingMessage,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
layer
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
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,4 @@
|
|
|
1
|
-
import "../chunk-
|
|
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-
|
|
14
|
-
import "../chunk-
|
|
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
|
|
7
|
-
*
|
|
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
|
-
*
|
|
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,5 +1,5 @@
|
|
|
1
1
|
import * as Layer from "effect/Layer";
|
|
2
|
-
import * as Worker from "effect/
|
|
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,10 +1,11 @@
|
|
|
1
1
|
import * as Layer from "effect/Layer";
|
|
2
|
-
import * as WorkerRunner from "effect/
|
|
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
|
*/
|
|
@@ -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.
|
|
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;
|