@smthrs/platform-node 1.0.0-rc.4 → 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/darwin-arm64/smithers-jj-export +0 -0
- package/bin/darwin-x64/smithers-jj-export +0 -0
- package/bin/linux-arm64/smithers-jj-export +0 -0
- package/bin/linux-x64/smithers-jj-export +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,50 +1,62 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-3WUGYBFU.js";
|
|
2
2
|
import {
|
|
3
3
|
NodeRuntime_exports
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UUYTTEDH.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./chunk-
|
|
6
|
+
NodeAddressResolver_exports
|
|
7
|
+
} from "./chunk-RKVXYKHJ.js";
|
|
8
8
|
import {
|
|
9
9
|
NodeTerminal_exports
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MUEED3C3.js";
|
|
11
|
+
import {
|
|
12
|
+
NodeStdio_exports
|
|
13
|
+
} from "./chunk-KFDBU6RR.js";
|
|
14
|
+
import {
|
|
15
|
+
NodeHttpCompression_exports
|
|
16
|
+
} from "./chunk-3SL3HKQA.js";
|
|
11
17
|
import {
|
|
12
18
|
NodePath_exports
|
|
13
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-OF3N2FN4.js";
|
|
14
20
|
import {
|
|
15
21
|
NodeChildProcessSpawner_exports
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-NQO6V4KI.js";
|
|
23
|
+
import "./chunk-UUQXJRMK.js";
|
|
18
24
|
import {
|
|
19
25
|
NodeClusterSocket_exports
|
|
20
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-6FSJ2PMW.js";
|
|
21
27
|
import {
|
|
22
28
|
NodeSocketServer_exports
|
|
23
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-S6QUQLBV.js";
|
|
24
30
|
import {
|
|
25
31
|
NodeSocket_exports
|
|
26
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-C3PGUWW5.js";
|
|
27
33
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./chunk-
|
|
34
|
+
NodeStream_exports
|
|
35
|
+
} from "./chunk-RQH5DSBA.js";
|
|
30
36
|
import {
|
|
31
|
-
|
|
32
|
-
} from "./chunk-
|
|
37
|
+
NodeSink_exports
|
|
38
|
+
} from "./chunk-A7UXCEJA.js";
|
|
33
39
|
import {
|
|
34
|
-
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import "./chunk-42QKY6T6.js";
|
|
40
|
+
NodeCrypto_exports
|
|
41
|
+
} from "./chunk-HDV6VIRM.js";
|
|
37
42
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./chunk-
|
|
43
|
+
NodeDatagramSocket_exports
|
|
44
|
+
} from "./chunk-NUJQMLJP.js";
|
|
40
45
|
import {
|
|
41
|
-
|
|
42
|
-
} from "./chunk-
|
|
46
|
+
NodeDns_exports
|
|
47
|
+
} from "./chunk-ADP5LRUF.js";
|
|
48
|
+
import {
|
|
49
|
+
NodeFileSystem_exports
|
|
50
|
+
} from "./chunk-BY3SDXID.js";
|
|
51
|
+
import "./chunk-2ZAGBWTH.js";
|
|
43
52
|
import "./chunk-MLKGABMK.js";
|
|
44
53
|
export {
|
|
54
|
+
NodeAddressResolver_exports as NodeAddressResolver,
|
|
45
55
|
NodeChildProcessSpawner_exports as NodeChildProcessSpawner,
|
|
46
56
|
NodeClusterSocket_exports as NodeClusterSocket,
|
|
47
57
|
NodeCrypto_exports as NodeCrypto,
|
|
58
|
+
NodeDatagramSocket_exports as NodeDatagramSocket,
|
|
59
|
+
NodeDns_exports as NodeDns,
|
|
48
60
|
NodeFileSystem_exports as NodeFileSystem,
|
|
49
61
|
NodeHttpCompression_exports as NodeHttpCompression,
|
|
50
62
|
NodePath_exports as NodePath,
|
|
@@ -1,99 +1,139 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* @stability unstable
|
|
2
3
|
* @since 4.0.0
|
|
3
4
|
*/
|
|
4
5
|
/**
|
|
6
|
+
* @stability experimental
|
|
7
|
+
* @since 4.0.0
|
|
8
|
+
*/
|
|
9
|
+
export * as NodeAddressResolver from "./node/NodeAddressResolver.ts";
|
|
10
|
+
/**
|
|
11
|
+
* @stability unstable
|
|
5
12
|
* @since 4.0.0
|
|
6
13
|
*/
|
|
7
14
|
export * as NodeChildProcessSpawner from "./node/NodeChildProcessSpawner.ts";
|
|
8
15
|
/**
|
|
16
|
+
* @stability unstable
|
|
9
17
|
* @since 4.0.0
|
|
10
18
|
*/
|
|
11
19
|
export * as NodeClusterHttp from "./node/NodeClusterHttp.ts";
|
|
12
20
|
/**
|
|
21
|
+
* @stability unstable
|
|
13
22
|
* @since 4.0.0
|
|
14
23
|
*/
|
|
15
24
|
export * as NodeClusterSocket from "./node/NodeClusterSocket.ts";
|
|
16
25
|
/**
|
|
26
|
+
* @stability unstable
|
|
17
27
|
* @since 1.0.0
|
|
18
28
|
*/
|
|
19
29
|
export * as NodeCrypto from "./node/NodeCrypto.ts";
|
|
20
30
|
/**
|
|
31
|
+
* @stability experimental
|
|
32
|
+
* @since 4.0.0
|
|
33
|
+
*/
|
|
34
|
+
export * as NodeDatagramSocket from "./node/NodeDatagramSocket.ts";
|
|
35
|
+
/**
|
|
36
|
+
* @stability experimental
|
|
37
|
+
* @since 4.0.0
|
|
38
|
+
*/
|
|
39
|
+
export * as NodeDns from "./node/NodeDns.ts";
|
|
40
|
+
/**
|
|
41
|
+
* @stability unstable
|
|
21
42
|
* @since 4.0.0
|
|
22
43
|
*/
|
|
23
44
|
export * as NodeFileSystem from "./node/NodeFileSystem.ts";
|
|
24
45
|
/**
|
|
46
|
+
* @stability unstable
|
|
25
47
|
* @since 4.0.0
|
|
26
48
|
*/
|
|
27
49
|
export * as NodeHttpClient from "./node/NodeHttpClient.ts";
|
|
28
50
|
/**
|
|
51
|
+
* @stability unstable
|
|
29
52
|
* @since 4.0.0
|
|
30
53
|
*/
|
|
31
54
|
export * as NodeHttpIncomingMessage from "./node/NodeHttpIncomingMessage.ts";
|
|
32
55
|
/**
|
|
56
|
+
* @stability unstable
|
|
33
57
|
* @since 4.0.0
|
|
34
58
|
*/
|
|
35
59
|
export * as NodeHttpPlatform from "./node/NodeHttpPlatform.ts";
|
|
36
60
|
/**
|
|
61
|
+
* @stability unstable
|
|
37
62
|
* @since 4.0.0
|
|
38
63
|
*/
|
|
39
64
|
export * as NodeHttpServer from "./node/NodeHttpServer.ts";
|
|
40
65
|
/**
|
|
66
|
+
* @stability unstable
|
|
41
67
|
* @since 4.0.0
|
|
42
68
|
*/
|
|
43
69
|
export * as NodeHttpServerRequest from "./node/NodeHttpServerRequest.ts";
|
|
44
70
|
/**
|
|
71
|
+
* @stability unstable
|
|
45
72
|
* @since 4.0.0
|
|
46
73
|
*/
|
|
47
74
|
export * as NodeMultipart from "./node/NodeMultipart.ts";
|
|
48
75
|
/**
|
|
76
|
+
* @stability unstable
|
|
49
77
|
* @since 4.0.0
|
|
50
78
|
*/
|
|
51
79
|
export * as NodeMultipartParser from "./node/NodeMultipartParser.ts";
|
|
52
80
|
/**
|
|
81
|
+
* @stability unstable
|
|
53
82
|
* @since 4.0.0
|
|
54
83
|
*/
|
|
55
84
|
export * as NodePath from "./node/NodePath.ts";
|
|
56
85
|
/**
|
|
86
|
+
* @stability unstable
|
|
57
87
|
* @since 4.0.0
|
|
58
88
|
*/
|
|
59
89
|
export * as NodeRedis from "./node/NodeRedis.ts";
|
|
60
90
|
/**
|
|
91
|
+
* @stability unstable
|
|
61
92
|
* @since 4.0.0
|
|
62
93
|
*/
|
|
63
94
|
export * as NodeRuntime from "./node/NodeRuntime.ts";
|
|
64
95
|
/**
|
|
96
|
+
* @stability unstable
|
|
65
97
|
* @since 4.0.0
|
|
66
98
|
*/
|
|
67
99
|
export * as NodeServices from "./node/NodeServices.ts";
|
|
68
100
|
/**
|
|
101
|
+
* @stability unstable
|
|
69
102
|
* @since 4.0.0
|
|
70
103
|
*/
|
|
71
104
|
export * as NodeSink from "./node/NodeSink.ts";
|
|
72
105
|
/**
|
|
106
|
+
* @stability unstable
|
|
73
107
|
* @since 4.0.0
|
|
74
108
|
*/
|
|
75
109
|
export * as NodeSocket from "./node/NodeSocket.ts";
|
|
76
110
|
/**
|
|
111
|
+
* @stability unstable
|
|
77
112
|
* @since 4.0.0
|
|
78
113
|
*/
|
|
79
114
|
export * as NodeSocketServer from "./node/NodeSocketServer.ts";
|
|
80
115
|
/**
|
|
116
|
+
* @stability unstable
|
|
81
117
|
* @since 4.0.0
|
|
82
118
|
*/
|
|
83
119
|
export * as NodeStdio from "./node/NodeStdio.ts";
|
|
84
120
|
/**
|
|
121
|
+
* @stability unstable
|
|
85
122
|
* @since 4.0.0
|
|
86
123
|
*/
|
|
87
124
|
export * as NodeStream from "./node/NodeStream.ts";
|
|
88
125
|
/**
|
|
126
|
+
* @stability unstable
|
|
89
127
|
* @since 4.0.0
|
|
90
128
|
*/
|
|
91
129
|
export * as NodeTerminal from "./node/NodeTerminal.ts";
|
|
92
130
|
/**
|
|
131
|
+
* @stability unstable
|
|
93
132
|
* @since 4.0.0
|
|
94
133
|
*/
|
|
95
134
|
export * as NodeWorker from "./node/NodeWorker.ts";
|
|
96
135
|
/**
|
|
136
|
+
* @stability unstable
|
|
97
137
|
* @since 4.0.0
|
|
98
138
|
*/
|
|
99
139
|
export * as NodeWorkerRunner from "./node/NodeWorkerRunner.ts";
|
|
@@ -1,97 +1,112 @@
|
|
|
1
|
-
import "./chunk-
|
|
2
|
-
import {
|
|
3
|
-
NodeSocketServer_exports
|
|
4
|
-
} from "./chunk-6ME2W7TF.js";
|
|
1
|
+
import "./chunk-ASGOJ3XA.js";
|
|
5
2
|
import {
|
|
6
3
|
NodeWorker_exports
|
|
7
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PECOFLCU.js";
|
|
8
5
|
import {
|
|
9
6
|
NodeWorkerRunner_exports
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import {
|
|
12
|
-
NodeHttpServerRequest_exports
|
|
13
|
-
} from "./chunk-MBSKBQ5D.js";
|
|
7
|
+
} from "./chunk-FFD6R5JZ.js";
|
|
14
8
|
import {
|
|
15
9
|
NodeRedis_exports
|
|
16
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-V2EB7FHY.js";
|
|
17
11
|
import {
|
|
18
12
|
NodeRuntime_exports
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-N6TK35N5.js";
|
|
14
|
+
import "./chunk-UUYTTEDH.js";
|
|
21
15
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./chunk-
|
|
16
|
+
NodeSocketServer_exports
|
|
17
|
+
} from "./chunk-4WIQ2XN7.js";
|
|
24
18
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./chunk-
|
|
19
|
+
NodeHttpServerRequest_exports
|
|
20
|
+
} from "./chunk-WPZDL2D7.js";
|
|
27
21
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./chunk-
|
|
22
|
+
NodeAddressResolver_exports
|
|
23
|
+
} from "./chunk-IWSDM4CG.js";
|
|
24
|
+
import "./chunk-RKVXYKHJ.js";
|
|
30
25
|
import {
|
|
31
|
-
|
|
32
|
-
} from "./chunk-
|
|
26
|
+
NodeClusterHttp_exports
|
|
27
|
+
} from "./chunk-PA32ARKD.js";
|
|
33
28
|
import {
|
|
34
|
-
|
|
35
|
-
} from "./chunk-
|
|
29
|
+
NodeHttpServer_exports
|
|
30
|
+
} from "./chunk-VWSWEUN5.js";
|
|
36
31
|
import {
|
|
37
32
|
NodeServices_exports
|
|
38
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-NTEWGPPG.js";
|
|
34
|
+
import {
|
|
35
|
+
NodeTerminal_exports
|
|
36
|
+
} from "./chunk-D4HEMNGU.js";
|
|
37
|
+
import "./chunk-MUEED3C3.js";
|
|
38
|
+
import {
|
|
39
|
+
NodeSocket_exports
|
|
40
|
+
} from "./chunk-6L2NJEOV.js";
|
|
39
41
|
import {
|
|
40
42
|
NodeStdio_exports
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
+
} from "./chunk-KABHKTVG.js";
|
|
44
|
+
import "./chunk-KFDBU6RR.js";
|
|
43
45
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import "./chunk-
|
|
46
|
+
NodeHttpPlatform_exports
|
|
47
|
+
} from "./chunk-423HXGL6.js";
|
|
48
|
+
import "./chunk-3SL3HKQA.js";
|
|
49
|
+
import {
|
|
50
|
+
NodeMultipart_exports
|
|
51
|
+
} from "./chunk-ZVJCBTJG.js";
|
|
52
|
+
import {
|
|
53
|
+
NodeMultipartParser_exports
|
|
54
|
+
} from "./chunk-QHR2RC5M.js";
|
|
47
55
|
import {
|
|
48
56
|
NodePath_exports
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import "./chunk-
|
|
57
|
+
} from "./chunk-7NMJM44J.js";
|
|
58
|
+
import "./chunk-OF3N2FN4.js";
|
|
51
59
|
import {
|
|
52
60
|
NodeChildProcessSpawner_exports
|
|
53
|
-
} from "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
61
|
+
} from "./chunk-R327POEZ.js";
|
|
62
|
+
import "./chunk-NQO6V4KI.js";
|
|
63
|
+
import "./chunk-UUQXJRMK.js";
|
|
56
64
|
import {
|
|
57
65
|
NodeClusterSocket_exports
|
|
58
|
-
} from "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-JJ24ARBQ.js";
|
|
62
|
-
import {
|
|
63
|
-
NodeCrypto_exports
|
|
64
|
-
} from "./chunk-VZBDV3TV.js";
|
|
65
|
-
import "./chunk-UFH5UUZK.js";
|
|
66
|
+
} from "./chunk-YFD4QFIL.js";
|
|
67
|
+
import "./chunk-6FSJ2PMW.js";
|
|
68
|
+
import "./chunk-S6QUQLBV.js";
|
|
66
69
|
import {
|
|
67
70
|
NodeHttpClient_exports
|
|
68
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-UPIQ52FQ.js";
|
|
69
72
|
import {
|
|
70
73
|
NodeSink_exports
|
|
71
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-BUKVIAEM.js";
|
|
75
|
+
import "./chunk-C3PGUWW5.js";
|
|
72
76
|
import {
|
|
73
77
|
NodeHttpIncomingMessage_exports
|
|
74
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-D2ZL4PLZ.js";
|
|
75
79
|
import {
|
|
76
|
-
|
|
77
|
-
} from "./chunk-
|
|
78
|
-
import "./chunk-
|
|
80
|
+
NodeStream_exports
|
|
81
|
+
} from "./chunk-AWNTTSHL.js";
|
|
82
|
+
import "./chunk-RQH5DSBA.js";
|
|
83
|
+
import "./chunk-A7UXCEJA.js";
|
|
79
84
|
import {
|
|
80
|
-
|
|
81
|
-
} from "./chunk-
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-42QKY6T6.js";
|
|
85
|
+
NodeCrypto_exports
|
|
86
|
+
} from "./chunk-PU7QVYND.js";
|
|
87
|
+
import "./chunk-HDV6VIRM.js";
|
|
84
88
|
import {
|
|
85
|
-
|
|
86
|
-
} from "./chunk-
|
|
87
|
-
import "./chunk-
|
|
88
|
-
import
|
|
89
|
+
NodeDatagramSocket_exports
|
|
90
|
+
} from "./chunk-LNWGIDIG.js";
|
|
91
|
+
import "./chunk-NUJQMLJP.js";
|
|
92
|
+
import {
|
|
93
|
+
NodeDns_exports
|
|
94
|
+
} from "./chunk-YDY5P7GL.js";
|
|
95
|
+
import "./chunk-ADP5LRUF.js";
|
|
96
|
+
import {
|
|
97
|
+
NodeFileSystem_exports
|
|
98
|
+
} from "./chunk-VIWU4EBF.js";
|
|
99
|
+
import "./chunk-BY3SDXID.js";
|
|
100
|
+
import "./chunk-2ZAGBWTH.js";
|
|
89
101
|
import "./chunk-MLKGABMK.js";
|
|
90
102
|
export {
|
|
103
|
+
NodeAddressResolver_exports as NodeAddressResolver,
|
|
91
104
|
NodeChildProcessSpawner_exports as NodeChildProcessSpawner,
|
|
92
105
|
NodeClusterHttp_exports as NodeClusterHttp,
|
|
93
106
|
NodeClusterSocket_exports as NodeClusterSocket,
|
|
94
107
|
NodeCrypto_exports as NodeCrypto,
|
|
108
|
+
NodeDatagramSocket_exports as NodeDatagramSocket,
|
|
109
|
+
NodeDns_exports as NodeDns,
|
|
95
110
|
NodeFileSystem_exports as NodeFileSystem,
|
|
96
111
|
NodeHttpClient_exports as NodeHttpClient,
|
|
97
112
|
NodeHttpIncomingMessage_exports as NodeHttpIncomingMessage,
|
package/docs/README.md
CHANGED
|
@@ -57,8 +57,8 @@ asks for the spawner:
|
|
|
57
57
|
```ts
|
|
58
58
|
import { NodeHost } from "@smthrs/platform-node"
|
|
59
59
|
import * as Effect from "effect/Effect"
|
|
60
|
-
import * as ChildProcess from "effect/
|
|
61
|
-
import { ChildProcessSpawner } from "effect/
|
|
60
|
+
import * as ChildProcess from "effect/process/ChildProcess"
|
|
61
|
+
import { ChildProcessSpawner } from "effect/process/ChildProcessSpawner"
|
|
62
62
|
|
|
63
63
|
const program = Effect.gen(function*() {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner
|
package/docs/api.md
CHANGED
|
@@ -9,8 +9,8 @@ description: "Every export of @smthrs/platform-node: the NodeHost layers, the At
|
|
|
9
9
|
```ts
|
|
10
10
|
import { NodeHost } from "@smthrs/platform-node"
|
|
11
11
|
import * as Effect from "effect/Effect"
|
|
12
|
-
import * as ChildProcess from "effect/
|
|
13
|
-
import { ChildProcessSpawner } from "effect/
|
|
12
|
+
import * as ChildProcess from "effect/process/ChildProcess"
|
|
13
|
+
import { ChildProcessSpawner } from "effect/process/ChildProcessSpawner"
|
|
14
14
|
|
|
15
15
|
const program = Effect.gen(function*() {
|
|
16
16
|
const spawner = yield* ChildProcessSpawner
|
|
@@ -19,8 +19,8 @@ the machine has to go through a tag the kernel is watching. A sixth capability
|
|
|
19
19
|
smuggled in beside them would be authority nobody checked.
|
|
20
20
|
|
|
21
21
|
Three of the five tags are Effect's own, from `effect/FileSystem`,
|
|
22
|
-
`effect/Path`, and `effect/
|
|
23
|
-
`effect/
|
|
22
|
+
`effect/Path`, and `effect/process/ChildProcessSpawner` and
|
|
23
|
+
`effect/http/HttpClient`. Smithers provides implementations of them
|
|
24
24
|
rather than wrappers around them, so an ordinary Effect program runs on a
|
|
25
25
|
Smithers host unchanged. `Jj` is the one Smithers tag, and it lives in
|
|
26
26
|
[`@smthrs/jj`](/api/jj).
|
package/docs/installation.md
CHANGED
|
@@ -30,19 +30,18 @@ or one you add, and depends on it with a workspace specifier:
|
|
|
30
30
|
|
|
31
31
|
## Peers
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
second copy. `@smthrs/platform-node` declares `4.0.0-rc.115` for all three:
|
|
33
|
+
`effect` is the one peer dependency, in the range `^4.0.4`, so your project
|
|
34
|
+
picks its version rather than inheriting a second copy:
|
|
36
35
|
|
|
37
36
|
```bash
|
|
38
|
-
pnpm add
|
|
37
|
+
pnpm add effect
|
|
39
38
|
```
|
|
40
39
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
40
|
+
`@effect/platform-node` and `@effect/platform-node-shared` are bundled
|
|
41
|
+
privately, built from `effect@4.0.4`, so your project installs neither for
|
|
42
|
+
this package. The upstream Node adapter uses a caret for its shared adapter,
|
|
43
|
+
which otherwise permits a later shared adapter with an incompatible Effect
|
|
44
|
+
peer. Bundling both keeps the Node implementation on one Effect release.
|
|
46
45
|
|
|
47
46
|
Its own runtime dependencies, [`@smthrs/jj`](/api/jj) and
|
|
48
47
|
[`@smthrs/kernel`](/api/kernel), resolve from the same workspace.
|
package/docs/quickstart.md
CHANGED
|
@@ -31,8 +31,8 @@ program that asks for `ChildProcessSpawner` gets Effect's Node spawner:
|
|
|
31
31
|
```ts
|
|
32
32
|
import { NodeHost } from "@smthrs/platform-node"
|
|
33
33
|
import * as Effect from "effect/Effect"
|
|
34
|
-
import * as ChildProcess from "effect/
|
|
35
|
-
import { ChildProcessSpawner } from "effect/
|
|
34
|
+
import * as ChildProcess from "effect/process/ChildProcess"
|
|
35
|
+
import { ChildProcessSpawner } from "effect/process/ChildProcessSpawner"
|
|
36
36
|
|
|
37
37
|
const runCommand = Effect.gen(function*() {
|
|
38
38
|
const spawner = yield* ChildProcessSpawner
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smthrs/platform-node",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.0-rc.
|
|
4
|
+
"version": "1.0.0-rc.6",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"smthrs": {
|
|
7
7
|
"group": "engine",
|
|
@@ -161,27 +161,27 @@
|
|
|
161
161
|
"tag": "next"
|
|
162
162
|
},
|
|
163
163
|
"dependencies": {
|
|
164
|
-
"@smthrs/jj": "1.0.0-rc.
|
|
165
|
-
"@smthrs/kernel": "1.0.0-rc.
|
|
166
|
-
"undici": "8.
|
|
164
|
+
"@smthrs/jj": "1.0.0-rc.6",
|
|
165
|
+
"@smthrs/kernel": "1.0.0-rc.6",
|
|
166
|
+
"undici": "8.11.2",
|
|
167
167
|
"redis": "6.2.1",
|
|
168
|
-
"@types/ws": "8.18.
|
|
169
|
-
"ws": "8.
|
|
168
|
+
"@types/ws": "8.18.2",
|
|
169
|
+
"ws": "8.22.0"
|
|
170
170
|
},
|
|
171
171
|
"peerDependencies": {
|
|
172
|
-
"effect": "4.0.
|
|
172
|
+
"effect": "^4.0.4"
|
|
173
173
|
},
|
|
174
174
|
"devDependencies": {
|
|
175
175
|
"@effect/language-service": "0.87.2",
|
|
176
|
-
"@effect/platform-node": "4.0.
|
|
177
|
-
"@effect/platform-node-shared": "4.0.
|
|
178
|
-
"@effect/vitest": "4.0.
|
|
176
|
+
"@effect/platform-node": "4.0.4",
|
|
177
|
+
"@effect/platform-node-shared": "4.0.4",
|
|
178
|
+
"@effect/vitest": "4.0.4",
|
|
179
179
|
"@eslint/js": "9.39.5",
|
|
180
|
-
"@smthrs/journal": "1.0.0-rc.
|
|
180
|
+
"@smthrs/journal": "1.0.0-rc.6",
|
|
181
181
|
"@types/node": "26.4.1",
|
|
182
182
|
"@vitest/coverage-v8": "5.0.0",
|
|
183
183
|
"dprint": "0.57.1",
|
|
184
|
-
"effect": "4.0.
|
|
184
|
+
"effect": "4.0.4",
|
|
185
185
|
"esbuild": "0.28.2",
|
|
186
186
|
"eslint": "9.39.5",
|
|
187
187
|
"eslint-import-resolver-typescript": "4.4.5",
|
package/src/EgressHttpClient.ts
CHANGED
|
@@ -34,14 +34,14 @@ import * as KernelHttpClient from "@smthrs/kernel/HttpClient"
|
|
|
34
34
|
import { Destination, withDestinationPinning } from "@smthrs/kernel/HttpClient"
|
|
35
35
|
import * as Effect from "effect/Effect"
|
|
36
36
|
import * as Exit from "effect/Exit"
|
|
37
|
+
import { HttpClient } from "effect/http/HttpClient"
|
|
38
|
+
import * as EffectHttpClient from "effect/http/HttpClient"
|
|
39
|
+
import * as HttpClientError from "effect/http/HttpClientError"
|
|
40
|
+
import * as HttpClientRequest from "effect/http/HttpClientRequest"
|
|
37
41
|
import * as Layer from "effect/Layer"
|
|
38
42
|
import * as Schema from "effect/Schema"
|
|
39
43
|
import * as Scope from "effect/Scope"
|
|
40
44
|
import * as Semaphore from "effect/Semaphore"
|
|
41
|
-
import { HttpClient } from "effect/unstable/http/HttpClient"
|
|
42
|
-
import * as EffectHttpClient from "effect/unstable/http/HttpClient"
|
|
43
|
-
import * as HttpClientError from "effect/unstable/http/HttpClientError"
|
|
44
|
-
import * as HttpClientRequest from "effect/unstable/http/HttpClientRequest"
|
|
45
45
|
import { isIP } from "node:net"
|
|
46
46
|
|
|
47
47
|
/**
|
package/src/NodeHost.ts
CHANGED
|
@@ -32,11 +32,11 @@ import type { HostServiceIds } from "@smthrs/kernel/HostServices"
|
|
|
32
32
|
import type * as KernelProcessConfinement from "@smthrs/kernel/ProcessConfinement"
|
|
33
33
|
import type * as ProcessLedger from "@smthrs/kernel/ProcessLedger"
|
|
34
34
|
import type { FileSystem } from "effect/FileSystem"
|
|
35
|
+
import type { HttpClient } from "effect/http/HttpClient"
|
|
35
36
|
import * as Layer from "effect/Layer"
|
|
36
37
|
import type * as Path from "effect/Path"
|
|
38
|
+
import type { ChildProcessSpawner } from "effect/process/ChildProcessSpawner"
|
|
37
39
|
import * as Schema from "effect/Schema"
|
|
38
|
-
import type { HttpClient } from "effect/unstable/http/HttpClient"
|
|
39
|
-
import type { ChildProcessSpawner } from "effect/unstable/process/ChildProcessSpawner"
|
|
40
40
|
import { isAbsolute } from "node:path"
|
|
41
41
|
import * as AtomicFileSystem from "./AtomicFileSystem.ts"
|
|
42
42
|
import * as EgressHttpClient from "./EgressHttpClient.ts"
|
|
@@ -27,8 +27,8 @@ import * as KernelProcessConfinement from "@smthrs/kernel/ProcessConfinement"
|
|
|
27
27
|
import * as Effect from "effect/Effect"
|
|
28
28
|
import * as Layer from "effect/Layer"
|
|
29
29
|
import * as PlatformError from "effect/PlatformError"
|
|
30
|
+
import * as ChildProcess from "effect/process/ChildProcess"
|
|
30
31
|
import type * as Scope from "effect/Scope"
|
|
31
|
-
import * as ChildProcess from "effect/unstable/process/ChildProcess"
|
|
32
32
|
import * as NodeFs from "node:fs"
|
|
33
33
|
import * as NodeOs from "node:os"
|
|
34
34
|
import * as NodePath from "node:path"
|
package/src/ProcessReaper.ts
CHANGED
|
@@ -54,8 +54,8 @@ import * as ProcessLedger from "@smthrs/kernel/ProcessLedger"
|
|
|
54
54
|
import * as Effect from "effect/Effect"
|
|
55
55
|
import * as Layer from "effect/Layer"
|
|
56
56
|
import * as Metric from "effect/Metric"
|
|
57
|
-
import type * as ChildProcess from "effect/
|
|
58
|
-
import { ChildProcessSpawner, make as makeSpawner } from "effect/
|
|
57
|
+
import type * as ChildProcess from "effect/process/ChildProcess"
|
|
58
|
+
import { ChildProcessSpawner, make as makeSpawner } from "effect/process/ChildProcessSpawner"
|
|
59
59
|
import { spawnSync } from "node:child_process"
|
|
60
60
|
import { uptime } from "node:os"
|
|
61
61
|
import { parse, win32 } from "node:path"
|
package/src/ScopedProcess.ts
CHANGED
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
import * as Effect from "effect/Effect"
|
|
7
7
|
import * as Exit from "effect/Exit"
|
|
8
8
|
import type * as PlatformError from "effect/PlatformError"
|
|
9
|
+
import * as ChildProcess from "effect/process/ChildProcess"
|
|
10
|
+
import type { ChildProcessHandle } from "effect/process/ChildProcessSpawner"
|
|
9
11
|
import * as Scope from "effect/Scope"
|
|
10
|
-
import * as ChildProcess from "effect/unstable/process/ChildProcess"
|
|
11
|
-
import type { ChildProcessHandle } from "effect/unstable/process/ChildProcessSpawner"
|
|
12
12
|
import * as PipedProcess from "./internal/PipedProcess.ts"
|
|
13
13
|
import { targetPidOf } from "./internal/ProcessSupervisor.ts"
|
|
14
14
|
import * as ProcessReaper from "./ProcessReaper.ts"
|
|
@@ -7,11 +7,11 @@ import * as NodeSink from "@effect/platform-node/NodeSink"
|
|
|
7
7
|
import * as NodeStream from "@effect/platform-node/NodeStream"
|
|
8
8
|
import * as Effect from "effect/Effect"
|
|
9
9
|
import * as PlatformError from "effect/PlatformError"
|
|
10
|
+
import * as ChildProcess from "effect/process/ChildProcess"
|
|
11
|
+
import { type ChildProcessHandle, ExitCode, makeHandle, ProcessId } from "effect/process/ChildProcessSpawner"
|
|
10
12
|
import type * as Scope from "effect/Scope"
|
|
11
13
|
import * as Sink from "effect/Sink"
|
|
12
14
|
import * as Stream from "effect/Stream"
|
|
13
|
-
import * as ChildProcess from "effect/unstable/process/ChildProcess"
|
|
14
|
-
import { type ChildProcessHandle, ExitCode, makeHandle, ProcessId } from "effect/unstable/process/ChildProcessSpawner"
|
|
15
15
|
import * as Native from "node:child_process"
|
|
16
16
|
import { NativeProcessError } from "./ProcessFault.ts"
|
|
17
17
|
|
|
@@ -7,7 +7,7 @@ import { defaultGraceMs, type Lifecycle } from "@smthrs/kernel/ContainedSpawner"
|
|
|
7
7
|
import * as Duration from "effect/Duration"
|
|
8
8
|
import * as Effect from "effect/Effect"
|
|
9
9
|
import type * as PlatformError from "effect/PlatformError"
|
|
10
|
-
import type * as ChildProcess from "effect/
|
|
10
|
+
import type * as ChildProcess from "effect/process/ChildProcess"
|
|
11
11
|
import { constants } from "node:os"
|
|
12
12
|
import { ProcessCleanupPolicyError } from "./ProcessCleanupPolicyError.ts"
|
|
13
13
|
import * as Supervisor from "./ProcessSupervisor.ts"
|
|
@@ -9,10 +9,10 @@ import * as Channel from "effect/Channel"
|
|
|
9
9
|
import * as Clock from "effect/Clock"
|
|
10
10
|
import * as Effect from "effect/Effect"
|
|
11
11
|
import * as PlatformError from "effect/PlatformError"
|
|
12
|
+
import * as ChildProcess from "effect/process/ChildProcess"
|
|
13
|
+
import { type ChildProcessHandle, ExitCode, makeHandle } from "effect/process/ChildProcessSpawner"
|
|
12
14
|
import * as Sink from "effect/Sink"
|
|
13
15
|
import * as Stream from "effect/Stream"
|
|
14
|
-
import * as ChildProcess from "effect/unstable/process/ChildProcess"
|
|
15
|
-
import { type ChildProcessHandle, ExitCode, makeHandle } from "effect/unstable/process/ChildProcessSpawner"
|
|
16
16
|
import { randomBytes } from "node:crypto"
|
|
17
17
|
import { chmodSync, mkdtempSync, rmdirSync, rmSync } from "node:fs"
|
|
18
18
|
import { createConnection, createServer, type Socket } from "node:net"
|
|
File without changes
|
|
File without changes
|