@effect/platform-bun 0.7.1 → 0.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BunContext/dist/effect-platform-bun-BunContext.cjs.d.mts +2 -0
- package/BunContext/dist/effect-platform-bun-BunContext.cjs.d.mts.map +1 -0
- package/BunContext/dist/effect-platform-bun-BunContext.cjs.d.ts +2 -0
- package/BunContext/dist/effect-platform-bun-BunContext.cjs.d.ts.map +1 -0
- package/BunContext/dist/effect-platform-bun-BunContext.cjs.dev.js +14 -0
- package/BunContext/dist/effect-platform-bun-BunContext.cjs.js +7 -0
- package/BunContext/dist/effect-platform-bun-BunContext.cjs.mjs +3 -0
- package/BunContext/dist/effect-platform-bun-BunContext.cjs.prod.js +14 -0
- package/BunContext/dist/effect-platform-bun-BunContext.esm.js +22 -0
- package/BunContext/package.json +4 -0
- package/Command/dist/effect-platform-bun-Command.cjs.d.mts +2 -0
- package/Command/dist/effect-platform-bun-Command.cjs.d.mts.map +1 -0
- package/Command/dist/effect-platform-bun-Command.cjs.d.ts +2 -0
- package/Command/dist/effect-platform-bun-Command.cjs.d.ts.map +1 -0
- package/Command/dist/effect-platform-bun-Command.cjs.dev.js +72 -0
- package/Command/dist/effect-platform-bun-Command.cjs.js +7 -0
- package/Command/dist/effect-platform-bun-Command.cjs.mjs +18 -0
- package/Command/dist/effect-platform-bun-Command.cjs.prod.js +72 -0
- package/Command/dist/effect-platform-bun-Command.esm.js +5 -0
- package/Command/package.json +4 -0
- package/CommandExecutor/dist/effect-platform-bun-CommandExecutor.cjs.d.mts +2 -0
- package/CommandExecutor/dist/effect-platform-bun-CommandExecutor.cjs.d.mts.map +1 -0
- package/CommandExecutor/dist/effect-platform-bun-CommandExecutor.cjs.d.ts +2 -0
- package/CommandExecutor/dist/effect-platform-bun-CommandExecutor.cjs.d.ts.map +1 -0
- package/CommandExecutor/dist/effect-platform-bun-CommandExecutor.cjs.dev.js +16 -0
- package/CommandExecutor/dist/effect-platform-bun-CommandExecutor.cjs.js +7 -0
- package/CommandExecutor/dist/effect-platform-bun-CommandExecutor.cjs.mjs +4 -0
- package/CommandExecutor/dist/effect-platform-bun-CommandExecutor.cjs.prod.js +16 -0
- package/CommandExecutor/dist/effect-platform-bun-CommandExecutor.esm.js +5 -0
- package/CommandExecutor/package.json +4 -0
- package/Effectify/dist/effect-platform-bun-Effectify.cjs.d.mts +2 -0
- package/Effectify/dist/effect-platform-bun-Effectify.cjs.d.mts.map +1 -0
- package/Effectify/dist/effect-platform-bun-Effectify.cjs.d.ts +2 -0
- package/Effectify/dist/effect-platform-bun-Effectify.cjs.d.ts.map +1 -0
- package/Effectify/dist/effect-platform-bun-Effectify.cjs.dev.js +12 -0
- package/Effectify/dist/effect-platform-bun-Effectify.cjs.js +7 -0
- package/Effectify/dist/effect-platform-bun-Effectify.cjs.mjs +3 -0
- package/Effectify/dist/effect-platform-bun-Effectify.cjs.prod.js +12 -0
- package/Effectify/dist/effect-platform-bun-Effectify.esm.js +5 -0
- package/Effectify/package.json +4 -0
- package/Error/dist/effect-platform-bun-Error.cjs.d.mts +2 -0
- package/Error/dist/effect-platform-bun-Error.cjs.d.mts.map +1 -0
- package/Error/dist/effect-platform-bun-Error.cjs.d.ts +2 -0
- package/Error/dist/effect-platform-bun-Error.cjs.d.ts.map +1 -0
- package/Error/dist/effect-platform-bun-Error.cjs.dev.js +28 -0
- package/Error/dist/effect-platform-bun-Error.cjs.js +7 -0
- package/Error/dist/effect-platform-bun-Error.cjs.mjs +7 -0
- package/Error/dist/effect-platform-bun-Error.cjs.prod.js +28 -0
- package/Error/dist/effect-platform-bun-Error.esm.js +5 -0
- package/Error/package.json +4 -0
- package/FileSystem/dist/effect-platform-bun-FileSystem.cjs.d.mts +2 -0
- package/FileSystem/dist/effect-platform-bun-FileSystem.cjs.d.mts.map +1 -0
- package/FileSystem/dist/effect-platform-bun-FileSystem.cjs.d.ts +2 -0
- package/FileSystem/dist/effect-platform-bun-FileSystem.cjs.d.ts.map +1 -0
- package/FileSystem/dist/effect-platform-bun-FileSystem.cjs.dev.js +20 -0
- package/FileSystem/dist/effect-platform-bun-FileSystem.cjs.js +7 -0
- package/FileSystem/dist/effect-platform-bun-FileSystem.cjs.mjs +5 -0
- package/FileSystem/dist/effect-platform-bun-FileSystem.cjs.prod.js +20 -0
- package/FileSystem/dist/effect-platform-bun-FileSystem.esm.js +5 -0
- package/FileSystem/package.json +4 -0
- package/Http/Http/Platform/dist/effect-platform-bun-Http-Platform.esm.js +22 -0
- package/Http/Http/Server/dist/effect-platform-bun-Http-Server.esm.js +29 -0
- package/Http/Platform/dist/effect-platform-bun-Http-Platform.cjs.d.mts +2 -0
- package/Http/Platform/dist/effect-platform-bun-Http-Platform.cjs.d.mts.map +1 -0
- package/Http/Platform/dist/effect-platform-bun-Http-Platform.cjs.d.ts +2 -0
- package/Http/Platform/dist/effect-platform-bun-Http-Platform.cjs.d.ts.map +1 -0
- package/Http/Platform/dist/effect-platform-bun-Http-Platform.cjs.dev.js +85 -0
- package/Http/Platform/dist/effect-platform-bun-Http-Platform.cjs.js +7 -0
- package/Http/Platform/dist/effect-platform-bun-Http-Platform.cjs.mjs +1 -0
- package/Http/Platform/dist/effect-platform-bun-Http-Platform.cjs.prod.js +85 -0
- package/Http/Platform/package.json +4 -0
- package/Http/Server/dist/effect-platform-bun-Http-Server.cjs.d.mts +2 -0
- package/Http/Server/dist/effect-platform-bun-Http-Server.cjs.d.mts.map +1 -0
- package/Http/Server/dist/effect-platform-bun-Http-Server.cjs.d.ts +2 -0
- package/Http/Server/dist/effect-platform-bun-Http-Server.cjs.d.ts.map +1 -0
- package/Http/Server/dist/effect-platform-bun-Http-Server.cjs.dev.js +39 -0
- package/Http/Server/dist/effect-platform-bun-Http-Server.cjs.js +7 -0
- package/Http/Server/dist/effect-platform-bun-Http-Server.cjs.mjs +1 -0
- package/Http/Server/dist/effect-platform-bun-Http-Server.cjs.prod.js +39 -0
- package/Http/Server/package.json +4 -0
- package/HttpClient/dist/effect-platform-bun-HttpClient.cjs.d.mts +2 -0
- package/HttpClient/dist/effect-platform-bun-HttpClient.cjs.d.mts.map +1 -0
- package/HttpClient/dist/effect-platform-bun-HttpClient.cjs.d.ts +2 -0
- package/HttpClient/dist/effect-platform-bun-HttpClient.cjs.d.ts.map +1 -0
- package/HttpClient/dist/effect-platform-bun-HttpClient.cjs.dev.js +47 -0
- package/HttpClient/dist/effect-platform-bun-HttpClient.cjs.js +7 -0
- package/HttpClient/dist/effect-platform-bun-HttpClient.cjs.mjs +9 -0
- package/HttpClient/dist/effect-platform-bun-HttpClient.cjs.prod.js +47 -0
- package/HttpClient/dist/effect-platform-bun-HttpClient.esm.js +18 -0
- package/HttpClient/package.json +4 -0
- package/HttpServer/dist/effect-platform-bun-HttpServer.cjs.d.mts +2 -0
- package/HttpServer/dist/effect-platform-bun-HttpServer.cjs.d.mts.map +1 -0
- package/HttpServer/dist/effect-platform-bun-HttpServer.cjs.d.ts +2 -0
- package/HttpServer/dist/effect-platform-bun-HttpServer.cjs.d.ts.map +1 -0
- package/HttpServer/dist/effect-platform-bun-HttpServer.cjs.dev.js +75 -0
- package/HttpServer/dist/effect-platform-bun-HttpServer.cjs.js +7 -0
- package/HttpServer/dist/effect-platform-bun-HttpServer.cjs.mjs +14 -0
- package/HttpServer/dist/effect-platform-bun-HttpServer.cjs.prod.js +75 -0
- package/HttpServer/dist/effect-platform-bun-HttpServer.esm.js +28 -0
- package/HttpServer/package.json +4 -0
- package/KeyValueStore/dist/effect-platform-bun-KeyValueStore.cjs.d.mts +2 -0
- package/KeyValueStore/dist/effect-platform-bun-KeyValueStore.cjs.d.mts.map +1 -0
- package/KeyValueStore/dist/effect-platform-bun-KeyValueStore.cjs.d.ts +2 -0
- package/KeyValueStore/dist/effect-platform-bun-KeyValueStore.cjs.d.ts.map +1 -0
- package/KeyValueStore/dist/effect-platform-bun-KeyValueStore.cjs.dev.js +19 -0
- package/KeyValueStore/dist/effect-platform-bun-KeyValueStore.cjs.js +7 -0
- package/KeyValueStore/dist/effect-platform-bun-KeyValueStore.cjs.mjs +1 -0
- package/KeyValueStore/dist/effect-platform-bun-KeyValueStore.cjs.prod.js +19 -0
- package/KeyValueStore/dist/effect-platform-bun-KeyValueStore.esm.js +9 -0
- package/KeyValueStore/package.json +4 -0
- package/Path/dist/effect-platform-bun-Path.cjs.d.mts +2 -0
- package/Path/dist/effect-platform-bun-Path.cjs.d.mts.map +1 -0
- package/Path/dist/effect-platform-bun-Path.cjs.d.ts +2 -0
- package/Path/dist/effect-platform-bun-Path.cjs.d.ts.map +1 -0
- package/Path/dist/effect-platform-bun-Path.cjs.dev.js +24 -0
- package/Path/dist/effect-platform-bun-Path.cjs.js +7 -0
- package/Path/dist/effect-platform-bun-Path.cjs.mjs +6 -0
- package/Path/dist/effect-platform-bun-Path.cjs.prod.js +24 -0
- package/Path/dist/effect-platform-bun-Path.esm.js +5 -0
- package/Path/package.json +4 -0
- package/Runtime/dist/effect-platform-bun-Runtime.cjs.d.mts +2 -0
- package/Runtime/dist/effect-platform-bun-Runtime.cjs.d.mts.map +1 -0
- package/Runtime/dist/effect-platform-bun-Runtime.cjs.d.ts +2 -0
- package/Runtime/dist/effect-platform-bun-Runtime.cjs.d.ts.map +1 -0
- package/Runtime/dist/effect-platform-bun-Runtime.cjs.dev.js +16 -0
- package/Runtime/dist/effect-platform-bun-Runtime.cjs.js +7 -0
- package/Runtime/dist/effect-platform-bun-Runtime.cjs.mjs +4 -0
- package/Runtime/dist/effect-platform-bun-Runtime.cjs.prod.js +16 -0
- package/Runtime/dist/effect-platform-bun-Runtime.esm.js +5 -0
- package/Runtime/package.json +4 -0
- package/Sink/dist/effect-platform-bun-Sink.cjs.d.mts +2 -0
- package/Sink/dist/effect-platform-bun-Sink.cjs.d.mts.map +1 -0
- package/Sink/dist/effect-platform-bun-Sink.cjs.d.ts +2 -0
- package/Sink/dist/effect-platform-bun-Sink.cjs.d.ts.map +1 -0
- package/Sink/dist/effect-platform-bun-Sink.cjs.dev.js +12 -0
- package/Sink/dist/effect-platform-bun-Sink.cjs.js +7 -0
- package/Sink/dist/effect-platform-bun-Sink.cjs.mjs +3 -0
- package/Sink/dist/effect-platform-bun-Sink.cjs.prod.js +12 -0
- package/Sink/dist/effect-platform-bun-Sink.esm.js +5 -0
- package/Sink/package.json +4 -0
- package/Stream/dist/effect-platform-bun-Stream.cjs.d.mts +2 -0
- package/Stream/dist/effect-platform-bun-Stream.cjs.d.mts.map +1 -0
- package/Stream/dist/effect-platform-bun-Stream.cjs.d.ts +2 -0
- package/Stream/dist/effect-platform-bun-Stream.cjs.d.ts.map +1 -0
- package/Stream/dist/effect-platform-bun-Stream.cjs.dev.js +20 -0
- package/Stream/dist/effect-platform-bun-Stream.cjs.js +7 -0
- package/Stream/dist/effect-platform-bun-Stream.cjs.mjs +5 -0
- package/Stream/dist/effect-platform-bun-Stream.cjs.prod.js +20 -0
- package/Stream/dist/effect-platform-bun-Stream.esm.js +5 -0
- package/Stream/package.json +4 -0
- package/dist/BunContext-3aacfc41.cjs.dev.js +50 -0
- package/dist/BunContext-af359ac7.cjs.prod.js +50 -0
- package/dist/Command-073352c2.cjs.dev.js +29 -0
- package/dist/Command-86aff121.cjs.prod.js +29 -0
- package/dist/CommandExecutor-79029a6f.cjs.prod.js +15 -0
- package/dist/CommandExecutor-9fdee39f.cjs.dev.js +15 -0
- package/dist/Effectify-1e2cf960.cjs.dev.js +14 -0
- package/dist/Effectify-583bea25.cjs.prod.js +14 -0
- package/dist/Error-06928f75.cjs.dev.js +18 -0
- package/dist/Error-77b41701.cjs.prod.js +18 -0
- package/dist/FileSystem-0f2d7096.cjs.prod.js +16 -0
- package/dist/FileSystem-3eb9e057.cjs.dev.js +16 -0
- package/dist/HttpClient-91ed29d7.cjs.dev.js +52 -0
- package/dist/HttpClient-a34271de.cjs.prod.js +52 -0
- package/dist/HttpServer-93d1b5e2.cjs.prod.js +66 -0
- package/dist/HttpServer-ae717a37.cjs.dev.js +66 -0
- package/dist/KeyValueStore-9e969cb3.cjs.dev.js +52 -0
- package/dist/KeyValueStore-ddd3d960.cjs.prod.js +52 -0
- package/dist/Path-49561a01.cjs.dev.js +17 -0
- package/dist/Path-9c4bff86.cjs.prod.js +17 -0
- package/dist/Runtime-399be72e.cjs.prod.js +15 -0
- package/dist/Runtime-ad8dde5f.cjs.dev.js +15 -0
- package/dist/Server-3766cdb3.cjs.dev.js +314 -0
- package/dist/Server-4fe393ab.cjs.prod.js +314 -0
- package/dist/Sink-0100d655.cjs.prod.js +14 -0
- package/dist/Sink-59df5de5.cjs.dev.js +14 -0
- package/dist/Stream-a7a516a8.cjs.dev.js +16 -0
- package/dist/Stream-d0a08460.cjs.prod.js +16 -0
- package/{BunContext.d.ts → dist/declarations/src/BunContext.d.ts} +3 -6
- package/dist/declarations/src/BunContext.d.ts.map +1 -0
- package/dist/declarations/src/Command.d.ts.map +1 -0
- package/dist/declarations/src/CommandExecutor.d.ts.map +1 -0
- package/dist/declarations/src/Effectify.d.ts.map +1 -0
- package/dist/declarations/src/Error.d.ts.map +1 -0
- package/dist/declarations/src/FileSystem.d.ts.map +1 -0
- package/{Http → dist/declarations/src/Http}/Platform.d.ts +1 -1
- package/dist/declarations/src/Http/Platform.d.ts.map +1 -0
- package/{Http → dist/declarations/src/Http}/Server.d.ts +1 -1
- package/dist/declarations/src/Http/Server.d.ts.map +1 -0
- package/dist/declarations/src/HttpClient.d.ts.map +1 -0
- package/{HttpServer.d.ts → dist/declarations/src/HttpServer.d.ts} +1 -1
- package/dist/declarations/src/HttpServer.d.ts.map +1 -0
- package/dist/declarations/src/KeyValueStore.d.ts.map +1 -0
- package/dist/declarations/src/Path.d.ts.map +1 -0
- package/dist/declarations/src/Runtime.d.ts.map +1 -0
- package/dist/declarations/src/Sink.d.ts.map +1 -0
- package/dist/declarations/src/Stream.d.ts.map +1 -0
- package/dist/declarations/src/index.d.ts +55 -0
- package/dist/declarations/src/index.d.ts.map +1 -0
- package/dist/effect-platform-bun.cjs.d.mts +2 -0
- package/dist/effect-platform-bun.cjs.d.mts.map +1 -0
- package/dist/effect-platform-bun.cjs.d.ts +2 -0
- package/dist/effect-platform-bun.cjs.d.ts.map +1 -0
- package/dist/effect-platform-bun.cjs.dev.js +73 -0
- package/dist/effect-platform-bun.cjs.js +7 -0
- package/dist/effect-platform-bun.cjs.mjs +15 -0
- package/dist/effect-platform-bun.cjs.prod.js +73 -0
- package/dist/effect-platform-bun.esm.js +26 -0
- package/internal/http/platform.esm.js +33 -0
- package/{mjs/internal/http/server.mjs → internal/http/server.esm.js} +26 -25
- package/package.json +152 -31
- package/src/BunContext.ts +3 -3
- package/src/Http/Platform.ts +2 -2
- package/src/Http/Server.ts +2 -2
- package/src/HttpServer.ts +1 -1
- package/src/index.ts +13 -13
- package/src/internal/http/platform.ts +1 -1
- package/src/internal/http/server.ts +3 -3
- package/BunContext.d.ts.map +0 -1
- package/BunContext.js +0 -23
- package/BunContext.js.map +0 -1
- package/Command.d.ts.map +0 -1
- package/Command.js +0 -103
- package/Command.js.map +0 -1
- package/CommandExecutor.d.ts.map +0 -1
- package/CommandExecutor.js +0 -19
- package/CommandExecutor.js.map +0 -1
- package/Effectify.d.ts.map +0 -1
- package/Effectify.js +0 -13
- package/Effectify.js.map +0 -1
- package/Error.d.ts.map +0 -1
- package/Error.js +0 -25
- package/Error.js.map +0 -1
- package/FileSystem.d.ts.map +0 -1
- package/FileSystem.js +0 -25
- package/FileSystem.js.map +0 -1
- package/Http/Platform.d.ts.map +0 -1
- package/Http/Platform.js +0 -40
- package/Http/Platform.js.map +0 -1
- package/Http/Server.d.ts.map +0 -1
- package/Http/Server.js +0 -46
- package/Http/Server.js.map +0 -1
- package/HttpClient.d.ts.map +0 -1
- package/HttpClient.js +0 -23
- package/HttpClient.js.map +0 -1
- package/HttpServer.d.ts.map +0 -1
- package/HttpServer.js +0 -33
- package/HttpServer.js.map +0 -1
- package/KeyValueStore.d.ts.map +0 -1
- package/KeyValueStore.js +0 -28
- package/KeyValueStore.js.map +0 -1
- package/Path.d.ts.map +0 -1
- package/Path.js +0 -31
- package/Path.js.map +0 -1
- package/Runtime.d.ts.map +0 -1
- package/Runtime.js +0 -19
- package/Runtime.js.map +0 -1
- package/Sink.d.ts.map +0 -1
- package/Sink.js +0 -13
- package/Sink.js.map +0 -1
- package/Stream.d.ts.map +0 -1
- package/Stream.js +0 -25
- package/Stream.js.map +0 -1
- package/index.d.ts +0 -55
- package/index.d.ts.map +0 -1
- package/index.js +0 -35
- package/index.js.map +0 -1
- package/internal/http/platform.d.ts +0 -2
- package/internal/http/platform.d.ts.map +0 -1
- package/internal/http/platform.js +0 -38
- package/internal/http/platform.js.map +0 -1
- package/internal/http/server.d.ts +0 -2
- package/internal/http/server.d.ts.map +0 -1
- package/internal/http/server.js +0 -239
- package/internal/http/server.js.map +0 -1
- package/mjs/BunContext.mjs +0 -14
- package/mjs/BunContext.mjs.map +0 -1
- package/mjs/Command.mjs +0 -85
- package/mjs/Command.mjs.map +0 -1
- package/mjs/CommandExecutor.mjs +0 -15
- package/mjs/CommandExecutor.mjs.map +0 -1
- package/mjs/Effectify.mjs +0 -10
- package/mjs/Effectify.mjs.map +0 -1
- package/mjs/Error.mjs +0 -20
- package/mjs/Error.mjs.map +0 -1
- package/mjs/FileSystem.mjs +0 -20
- package/mjs/FileSystem.mjs.map +0 -1
- package/mjs/Http/Platform.mjs +0 -16
- package/mjs/Http/Platform.mjs.map +0 -1
- package/mjs/Http/Server.mjs +0 -21
- package/mjs/Http/Server.mjs.map +0 -1
- package/mjs/HttpClient.mjs +0 -61
- package/mjs/HttpClient.mjs.map +0 -1
- package/mjs/HttpServer.mjs +0 -101
- package/mjs/HttpServer.mjs.map +0 -1
- package/mjs/KeyValueStore.mjs +0 -13
- package/mjs/KeyValueStore.mjs.map +0 -1
- package/mjs/Path.mjs +0 -25
- package/mjs/Path.mjs.map +0 -1
- package/mjs/Runtime.mjs +0 -15
- package/mjs/Runtime.mjs.map +0 -1
- package/mjs/Sink.mjs +0 -10
- package/mjs/Sink.mjs.map +0 -1
- package/mjs/Stream.mjs +0 -20
- package/mjs/Stream.mjs.map +0 -1
- package/mjs/index.mjs +0 -27
- package/mjs/index.mjs.map +0 -1
- package/mjs/internal/http/platform.mjs +0 -30
- package/mjs/internal/http/platform.mjs.map +0 -1
- package/mjs/internal/http/server.mjs.map +0 -1
- package/tsconfig.build.json +0 -12
- package/tsconfig.examples.json +0 -12
- package/tsconfig.json +0 -11
- package/tsconfig.test.json +0 -17
- /package/{Command.d.ts → dist/declarations/src/Command.d.ts} +0 -0
- /package/{CommandExecutor.d.ts → dist/declarations/src/CommandExecutor.d.ts} +0 -0
- /package/{Effectify.d.ts → dist/declarations/src/Effectify.d.ts} +0 -0
- /package/{Error.d.ts → dist/declarations/src/Error.d.ts} +0 -0
- /package/{FileSystem.d.ts → dist/declarations/src/FileSystem.d.ts} +0 -0
- /package/{HttpClient.d.ts → dist/declarations/src/HttpClient.d.ts} +0 -0
- /package/{KeyValueStore.d.ts → dist/declarations/src/KeyValueStore.d.ts} +0 -0
- /package/{Path.d.ts → dist/declarations/src/Path.d.ts} +0 -0
- /package/{Runtime.d.ts → dist/declarations/src/Runtime.d.ts} +0 -0
- /package/{Sink.d.ts → dist/declarations/src/Sink.d.ts} +0 -0
- /package/{Stream.d.ts → dist/declarations/src/Stream.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,45 +1,166 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect/platform-bun",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.3",
|
|
4
4
|
"description": "Unified interfaces for common platform-specific services",
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
"
|
|
5
|
+
"main": "dist/effect-platform-bun.cjs.js",
|
|
6
|
+
"module": "dist/effect-platform-bun.esm.js",
|
|
7
|
+
"preconstruct": {
|
|
8
|
+
"entrypoints": [
|
|
9
|
+
"*.ts",
|
|
10
|
+
"Http/*.ts"
|
|
11
|
+
],
|
|
12
|
+
"distFilenameStrategy": "full",
|
|
13
|
+
"exports": {
|
|
14
|
+
"importConditionDefaultExport": "default"
|
|
15
|
+
}
|
|
9
16
|
},
|
|
10
17
|
"publishConfig": {
|
|
11
18
|
"access": "public"
|
|
12
19
|
},
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
"types": "./*.d.ts",
|
|
17
|
-
"default": "./mjs/*.mjs"
|
|
18
|
-
},
|
|
19
|
-
"require": {
|
|
20
|
-
"types": "./*.d.ts",
|
|
21
|
-
"default": "./*.js"
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
".": {
|
|
25
|
-
"import": {
|
|
26
|
-
"types": "./index.d.ts",
|
|
27
|
-
"default": "./mjs/index.mjs"
|
|
28
|
-
},
|
|
29
|
-
"require": {
|
|
30
|
-
"types": "./index.d.ts",
|
|
31
|
-
"default": "./index.js"
|
|
32
|
-
}
|
|
33
|
-
}
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "https://github.com/effect-ts/platform.git"
|
|
34
23
|
},
|
|
35
|
-
"
|
|
24
|
+
"homepage": "https://github.com/effect-ts/platform",
|
|
25
|
+
"keywords": [],
|
|
36
26
|
"author": "Effect contributors",
|
|
27
|
+
"license": "MIT",
|
|
28
|
+
"sideEffects": false,
|
|
37
29
|
"dependencies": {
|
|
38
|
-
"@effect/platform": "^0.18.
|
|
39
|
-
"@effect/platform-node": "^0.19.
|
|
30
|
+
"@effect/platform": "^0.18.3",
|
|
31
|
+
"@effect/platform-node": "^0.19.3"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@effect/schema": "^0.39.2",
|
|
35
|
+
"bun-types": "^1.0.3",
|
|
36
|
+
"effect": "2.0.0-next.40"
|
|
40
37
|
},
|
|
41
38
|
"peerDependencies": {
|
|
42
|
-
"effect": "2.0.0-next.
|
|
39
|
+
"effect": "^2.0.0-next.40"
|
|
40
|
+
},
|
|
41
|
+
"files": [
|
|
42
|
+
"src",
|
|
43
|
+
"dist",
|
|
44
|
+
"internal",
|
|
45
|
+
"BunContext",
|
|
46
|
+
"Command",
|
|
47
|
+
"CommandExecutor",
|
|
48
|
+
"Effectify",
|
|
49
|
+
"Error",
|
|
50
|
+
"FileSystem",
|
|
51
|
+
"Http",
|
|
52
|
+
"HttpClient",
|
|
53
|
+
"HttpServer",
|
|
54
|
+
"KeyValueStore",
|
|
55
|
+
"Path",
|
|
56
|
+
"Runtime",
|
|
57
|
+
"Sink",
|
|
58
|
+
"Stream"
|
|
59
|
+
],
|
|
60
|
+
"exports": {
|
|
61
|
+
".": {
|
|
62
|
+
"types": "./dist/declarations/src/index.d.ts",
|
|
63
|
+
"module": "./dist/effect-platform-bun.esm.js",
|
|
64
|
+
"import": "./dist/effect-platform-bun.cjs.mjs",
|
|
65
|
+
"default": "./dist/effect-platform-bun.cjs.js"
|
|
66
|
+
},
|
|
67
|
+
"./package.json": "./package.json",
|
|
68
|
+
"./BunContext": {
|
|
69
|
+
"types": "./dist/declarations/src/BunContext.d.ts",
|
|
70
|
+
"module": "./BunContext/dist/effect-platform-bun-BunContext.esm.js",
|
|
71
|
+
"import": "./BunContext/dist/effect-platform-bun-BunContext.cjs.mjs",
|
|
72
|
+
"default": "./BunContext/dist/effect-platform-bun-BunContext.cjs.js"
|
|
73
|
+
},
|
|
74
|
+
"./Command": {
|
|
75
|
+
"types": "./dist/declarations/src/Command.d.ts",
|
|
76
|
+
"module": "./Command/dist/effect-platform-bun-Command.esm.js",
|
|
77
|
+
"import": "./Command/dist/effect-platform-bun-Command.cjs.mjs",
|
|
78
|
+
"default": "./Command/dist/effect-platform-bun-Command.cjs.js"
|
|
79
|
+
},
|
|
80
|
+
"./CommandExecutor": {
|
|
81
|
+
"types": "./dist/declarations/src/CommandExecutor.d.ts",
|
|
82
|
+
"module": "./CommandExecutor/dist/effect-platform-bun-CommandExecutor.esm.js",
|
|
83
|
+
"import": "./CommandExecutor/dist/effect-platform-bun-CommandExecutor.cjs.mjs",
|
|
84
|
+
"default": "./CommandExecutor/dist/effect-platform-bun-CommandExecutor.cjs.js"
|
|
85
|
+
},
|
|
86
|
+
"./Effectify": {
|
|
87
|
+
"types": "./dist/declarations/src/Effectify.d.ts",
|
|
88
|
+
"module": "./Effectify/dist/effect-platform-bun-Effectify.esm.js",
|
|
89
|
+
"import": "./Effectify/dist/effect-platform-bun-Effectify.cjs.mjs",
|
|
90
|
+
"default": "./Effectify/dist/effect-platform-bun-Effectify.cjs.js"
|
|
91
|
+
},
|
|
92
|
+
"./Error": {
|
|
93
|
+
"types": "./dist/declarations/src/Error.d.ts",
|
|
94
|
+
"module": "./Error/dist/effect-platform-bun-Error.esm.js",
|
|
95
|
+
"import": "./Error/dist/effect-platform-bun-Error.cjs.mjs",
|
|
96
|
+
"default": "./Error/dist/effect-platform-bun-Error.cjs.js"
|
|
97
|
+
},
|
|
98
|
+
"./FileSystem": {
|
|
99
|
+
"types": "./dist/declarations/src/FileSystem.d.ts",
|
|
100
|
+
"module": "./FileSystem/dist/effect-platform-bun-FileSystem.esm.js",
|
|
101
|
+
"import": "./FileSystem/dist/effect-platform-bun-FileSystem.cjs.mjs",
|
|
102
|
+
"default": "./FileSystem/dist/effect-platform-bun-FileSystem.cjs.js"
|
|
103
|
+
},
|
|
104
|
+
"./Http/Platform": {
|
|
105
|
+
"types": "./dist/declarations/src/Http/Platform.d.ts",
|
|
106
|
+
"module": "./Http/Platform/dist/effect-platform-bun-Http-Platform.esm.js",
|
|
107
|
+
"import": "./Http/Platform/dist/effect-platform-bun-Http-Platform.cjs.mjs",
|
|
108
|
+
"default": "./Http/Platform/dist/effect-platform-bun-Http-Platform.cjs.js"
|
|
109
|
+
},
|
|
110
|
+
"./Http/Server": {
|
|
111
|
+
"types": "./dist/declarations/src/Http/Server.d.ts",
|
|
112
|
+
"module": "./Http/Server/dist/effect-platform-bun-Http-Server.esm.js",
|
|
113
|
+
"import": "./Http/Server/dist/effect-platform-bun-Http-Server.cjs.mjs",
|
|
114
|
+
"default": "./Http/Server/dist/effect-platform-bun-Http-Server.cjs.js"
|
|
115
|
+
},
|
|
116
|
+
"./HttpClient": {
|
|
117
|
+
"types": "./dist/declarations/src/HttpClient.d.ts",
|
|
118
|
+
"module": "./HttpClient/dist/effect-platform-bun-HttpClient.esm.js",
|
|
119
|
+
"import": "./HttpClient/dist/effect-platform-bun-HttpClient.cjs.mjs",
|
|
120
|
+
"default": "./HttpClient/dist/effect-platform-bun-HttpClient.cjs.js"
|
|
121
|
+
},
|
|
122
|
+
"./HttpServer": {
|
|
123
|
+
"types": "./dist/declarations/src/HttpServer.d.ts",
|
|
124
|
+
"module": "./HttpServer/dist/effect-platform-bun-HttpServer.esm.js",
|
|
125
|
+
"import": "./HttpServer/dist/effect-platform-bun-HttpServer.cjs.mjs",
|
|
126
|
+
"default": "./HttpServer/dist/effect-platform-bun-HttpServer.cjs.js"
|
|
127
|
+
},
|
|
128
|
+
"./KeyValueStore": {
|
|
129
|
+
"types": "./dist/declarations/src/KeyValueStore.d.ts",
|
|
130
|
+
"module": "./KeyValueStore/dist/effect-platform-bun-KeyValueStore.esm.js",
|
|
131
|
+
"import": "./KeyValueStore/dist/effect-platform-bun-KeyValueStore.cjs.mjs",
|
|
132
|
+
"default": "./KeyValueStore/dist/effect-platform-bun-KeyValueStore.cjs.js"
|
|
133
|
+
},
|
|
134
|
+
"./Path": {
|
|
135
|
+
"types": "./dist/declarations/src/Path.d.ts",
|
|
136
|
+
"module": "./Path/dist/effect-platform-bun-Path.esm.js",
|
|
137
|
+
"import": "./Path/dist/effect-platform-bun-Path.cjs.mjs",
|
|
138
|
+
"default": "./Path/dist/effect-platform-bun-Path.cjs.js"
|
|
139
|
+
},
|
|
140
|
+
"./Runtime": {
|
|
141
|
+
"types": "./dist/declarations/src/Runtime.d.ts",
|
|
142
|
+
"module": "./Runtime/dist/effect-platform-bun-Runtime.esm.js",
|
|
143
|
+
"import": "./Runtime/dist/effect-platform-bun-Runtime.cjs.mjs",
|
|
144
|
+
"default": "./Runtime/dist/effect-platform-bun-Runtime.cjs.js"
|
|
145
|
+
},
|
|
146
|
+
"./Sink": {
|
|
147
|
+
"types": "./dist/declarations/src/Sink.d.ts",
|
|
148
|
+
"module": "./Sink/dist/effect-platform-bun-Sink.esm.js",
|
|
149
|
+
"import": "./Sink/dist/effect-platform-bun-Sink.cjs.mjs",
|
|
150
|
+
"default": "./Sink/dist/effect-platform-bun-Sink.cjs.js"
|
|
151
|
+
},
|
|
152
|
+
"./Stream": {
|
|
153
|
+
"types": "./dist/declarations/src/Stream.d.ts",
|
|
154
|
+
"module": "./Stream/dist/effect-platform-bun-Stream.esm.js",
|
|
155
|
+
"import": "./Stream/dist/effect-platform-bun-Stream.cjs.mjs",
|
|
156
|
+
"default": "./Stream/dist/effect-platform-bun-Stream.cjs.js"
|
|
157
|
+
}
|
|
43
158
|
},
|
|
44
|
-
"
|
|
159
|
+
"scripts": {
|
|
160
|
+
"example": "ts-node --project tsconfig.examples.json",
|
|
161
|
+
"lint": "eslint src/**/*.ts test/**/*.ts",
|
|
162
|
+
"tc": "tsc --noEmit",
|
|
163
|
+
"test": "vitest",
|
|
164
|
+
"coverage": "vitest run --coverage"
|
|
165
|
+
}
|
|
45
166
|
}
|
package/src/BunContext.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
|
-
import * as CommandExecutor from "@effect/platform-bun/CommandExecutor"
|
|
5
|
-
import * as FileSystem from "@effect/platform-bun/FileSystem"
|
|
6
|
-
import * as Path from "@effect/platform-bun/Path"
|
|
7
4
|
import { pipe } from "effect/Function"
|
|
8
5
|
import * as Layer from "effect/Layer"
|
|
6
|
+
import * as CommandExecutor from "./CommandExecutor"
|
|
7
|
+
import * as FileSystem from "./FileSystem"
|
|
8
|
+
import * as Path from "./Path"
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @since 1.0.0
|
package/src/Http/Platform.ts
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Also includes exports from [`@effect/platform/Http/Platform`](https://effect-ts.github.io/platform/platform/Http/Platform.ts.html).
|
|
5
5
|
*/
|
|
6
|
-
import type * as FileSystem from "@effect/platform-bun/FileSystem"
|
|
7
|
-
import * as internal from "@effect/platform-bun/internal/http/platform"
|
|
8
6
|
import type * as Etag from "@effect/platform/Http/Etag"
|
|
9
7
|
import type * as Platform from "@effect/platform/Http/Platform"
|
|
10
8
|
import type * as Effect from "effect/Effect"
|
|
11
9
|
import type * as Layer from "effect/Layer"
|
|
10
|
+
import type * as FileSystem from "../FileSystem"
|
|
11
|
+
import * as internal from "../internal/http/platform"
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* @since 1.0.0
|
package/src/Http/Server.ts
CHANGED
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Also includes exports from [`@effect/platform/Http/Server`](https://effect-ts.github.io/platform/platform/Http/Server.ts.html).
|
|
5
5
|
*/
|
|
6
|
-
import type * as Platform from "@effect/platform-bun/Http/Platform"
|
|
7
|
-
import * as internal from "@effect/platform-bun/internal/http/server"
|
|
8
6
|
import type * as Server from "@effect/platform/Http/Server"
|
|
9
7
|
import type { ServeOptions } from "bun"
|
|
10
8
|
import type * as Config from "effect/Config"
|
|
@@ -12,6 +10,8 @@ import type * as ConfigError from "effect/ConfigError"
|
|
|
12
10
|
import type * as Effect from "effect/Effect"
|
|
13
11
|
import type * as Layer from "effect/Layer"
|
|
14
12
|
import type * as Scope from "effect/Scope"
|
|
13
|
+
import type * as Platform from "../Http/Platform"
|
|
14
|
+
import * as internal from "../internal/http/server"
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* @since 1.0.0
|
package/src/HttpServer.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
|
-
import * as server from "@effect/platform-bun/Http/Server"
|
|
5
4
|
import * as etag from "@effect/platform-node/Http/Etag"
|
|
6
5
|
import * as formData from "@effect/platform-node/Http/FormData"
|
|
7
6
|
import * as app from "@effect/platform/Http/App"
|
|
@@ -13,6 +12,7 @@ import * as error from "@effect/platform/Http/ServerError"
|
|
|
13
12
|
import * as request from "@effect/platform/Http/ServerRequest"
|
|
14
13
|
import * as response from "@effect/platform/Http/ServerResponse"
|
|
15
14
|
import * as urlParams from "@effect/platform/Http/UrlParams"
|
|
15
|
+
import * as server from "./Http/Server"
|
|
16
16
|
|
|
17
17
|
export {
|
|
18
18
|
/**
|
package/src/index.ts
CHANGED
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
|
-
export * as BunContext from "
|
|
4
|
+
export * as BunContext from "./BunContext"
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @since 1.0.0
|
|
8
8
|
*/
|
|
9
|
-
export * as Command from "
|
|
9
|
+
export * as Command from "./Command"
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* @since 1.0.0
|
|
13
13
|
*/
|
|
14
|
-
export * as CommandExecutor from "
|
|
14
|
+
export * as CommandExecutor from "./CommandExecutor"
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* @since 1.0.0
|
|
18
18
|
*/
|
|
19
|
-
export * as Effectify from "
|
|
19
|
+
export * as Effectify from "./Effectify"
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* @since 1.0.0
|
|
23
23
|
*/
|
|
24
|
-
export * as Error from "
|
|
24
|
+
export * as Error from "./Error"
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* @since 1.0.0
|
|
28
28
|
*/
|
|
29
|
-
export * as FileSystem from "
|
|
29
|
+
export * as FileSystem from "./FileSystem"
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
32
|
* @since 1.0.0
|
|
33
33
|
*/
|
|
34
|
-
export * as HttpClient from "
|
|
34
|
+
export * as HttpClient from "./HttpClient"
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
37
|
* @since 1.0.0
|
|
38
38
|
*/
|
|
39
|
-
export * as HttpServer from "
|
|
39
|
+
export * as HttpServer from "./HttpServer"
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
42
|
* @since 1.0.0
|
|
43
43
|
*
|
|
44
44
|
* Also includes exports from [`@effect/platform/KeyValueStore`](https://effect-ts.github.io/platform/platform/KeyValueStore.ts.html).
|
|
45
45
|
*/
|
|
46
|
-
export * as KeyValueStore from "
|
|
46
|
+
export * as KeyValueStore from "./KeyValueStore"
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
49
|
* @since 1.0.0
|
|
50
50
|
*/
|
|
51
|
-
export * as Path from "
|
|
51
|
+
export * as Path from "./Path"
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
54
|
* @since 1.0.0
|
|
55
55
|
*/
|
|
56
|
-
export * as Runtime from "
|
|
56
|
+
export * as Runtime from "./Runtime"
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
59
|
* @since 1.0.0
|
|
60
60
|
*/
|
|
61
|
-
export * as Sink from "
|
|
61
|
+
export * as Sink from "./Sink"
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
64
|
* @since 1.0.0
|
|
65
65
|
*/
|
|
66
|
-
export * as Stream from "
|
|
66
|
+
export * as Stream from "./Stream"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as FileSystem from "@effect/platform-bun/FileSystem"
|
|
2
1
|
import * as Etag from "@effect/platform-node/Http/Etag"
|
|
3
2
|
import * as Platform from "@effect/platform/Http/Platform"
|
|
4
3
|
import * as ServerResponse from "@effect/platform/Http/ServerResponse"
|
|
5
4
|
import { pipe } from "effect/Function"
|
|
6
5
|
import * as Layer from "effect/Layer"
|
|
6
|
+
import * as FileSystem from "../../FileSystem"
|
|
7
7
|
|
|
8
8
|
/** @internal */
|
|
9
9
|
export const make = Platform.make({
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as Platform from "@effect/platform-bun/Http/Platform"
|
|
2
1
|
import * as FormData from "@effect/platform-node/Http/FormData"
|
|
3
2
|
import type * as FileSystem from "@effect/platform/FileSystem"
|
|
4
3
|
import type * as App from "@effect/platform/Http/App"
|
|
@@ -23,6 +22,7 @@ import * as Runtime from "effect/Runtime"
|
|
|
23
22
|
import type * as Scope from "effect/Scope"
|
|
24
23
|
import * as Stream from "effect/Stream"
|
|
25
24
|
import { Readable } from "node:stream"
|
|
25
|
+
import * as Platform from "../../Http/Platform"
|
|
26
26
|
|
|
27
27
|
/** @internal */
|
|
28
28
|
export const make = (
|
|
@@ -283,13 +283,13 @@ class ServerRequestImpl implements ServerRequest.ServerRequest {
|
|
|
283
283
|
return this.formDataEffect
|
|
284
284
|
}
|
|
285
285
|
this.formDataEffect = Effect.runSync(Effect.cached(
|
|
286
|
-
FormData.formData(Readable.fromWeb(this.source.body!), this.headers)
|
|
286
|
+
FormData.formData(Readable.fromWeb(this.source.body! as any), this.headers)
|
|
287
287
|
))
|
|
288
288
|
return this.formDataEffect
|
|
289
289
|
}
|
|
290
290
|
|
|
291
291
|
get formDataStream(): Stream.Stream<never, FormData.FormDataError, FormData.Part> {
|
|
292
|
-
return FormData.stream(Readable.fromWeb(this.source.body!), this.headers)
|
|
292
|
+
return FormData.stream(Readable.fromWeb(this.source.body! as any), this.headers)
|
|
293
293
|
}
|
|
294
294
|
|
|
295
295
|
private arrayBufferEffect: Effect.Effect<never, Error.RequestError, ArrayBuffer> | undefined
|
package/BunContext.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BunContext.d.ts","sourceRoot":"","sources":["./src/BunContext.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,eAAe,MAAM,sCAAsC,CAAA;AACvE,OAAO,KAAK,UAAU,MAAM,iCAAiC,CAAA;AAC7D,OAAO,KAAK,IAAI,MAAM,2BAA2B,CAAA;AAEjD,OAAO,KAAK,KAAK,MAAM,cAAc,CAAA;AAErC;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG,eAAe,CAAC,eAAe,GAAG,UAAU,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,CAAA;AAE5F;;;GAGG;AACH,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,UAAU,CAIvD,CAAA"}
|
package/BunContext.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.layer = void 0;
|
|
7
|
-
var CommandExecutor = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform-bun/CommandExecutor"));
|
|
8
|
-
var FileSystem = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform-bun/FileSystem"));
|
|
9
|
-
var Path = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform-bun/Path"));
|
|
10
|
-
var _Function = /*#__PURE__*/require("effect/Function");
|
|
11
|
-
var Layer = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("effect/Layer"));
|
|
12
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
13
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
14
|
-
/**
|
|
15
|
-
* @since 1.0.0
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* @since 1.0.0
|
|
20
|
-
* @category layer
|
|
21
|
-
*/
|
|
22
|
-
const layer = exports.layer = /*#__PURE__*/(0, _Function.pipe)(FileSystem.layer, /*#__PURE__*/Layer.merge(Path.layer), /*#__PURE__*/Layer.merge( /*#__PURE__*/Layer.provideMerge(FileSystem.layer, CommandExecutor.layer)));
|
|
23
|
-
//# sourceMappingURL=BunContext.js.map
|
package/BunContext.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BunContext.js","names":["CommandExecutor","_interopRequireWildcard","require","FileSystem","Path","_Function","Layer","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","layer","exports","pipe","merge","provideMerge"],"sources":["./src/BunContext.ts"],"sourcesContent":[null],"mappings":";;;;;;AAGA,IAAAA,eAAA,gBAAAC,uBAAA,eAAAC,OAAA;AACA,IAAAC,UAAA,gBAAAF,uBAAA,eAAAC,OAAA;AACA,IAAAE,IAAA,gBAAAH,uBAAA,eAAAC,OAAA;AACA,IAAAG,SAAA,gBAAAH,OAAA;AACA,IAAAI,KAAA,gBAAAL,uBAAA,eAAAC,OAAA;AAAqC,SAAAK,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAP,wBAAAW,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,oBAAAA,GAAA,wBAAAA,GAAA,4BAAAE,OAAA,EAAAF,GAAA,UAAAG,KAAA,GAAAR,wBAAA,CAAAC,WAAA,OAAAO,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAJ,GAAA,YAAAG,KAAA,CAAAE,GAAA,CAAAL,GAAA,SAAAM,MAAA,WAAAC,qBAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,GAAA,IAAAX,GAAA,QAAAW,GAAA,kBAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAd,GAAA,EAAAW,GAAA,SAAAI,IAAA,GAAAR,qBAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAV,GAAA,EAAAW,GAAA,cAAAI,IAAA,KAAAA,IAAA,CAAAV,GAAA,IAAAU,IAAA,CAAAC,GAAA,KAAAR,MAAA,CAAAC,cAAA,CAAAH,MAAA,EAAAK,GAAA,EAAAI,IAAA,YAAAT,MAAA,CAAAK,GAAA,IAAAX,GAAA,CAAAW,GAAA,SAAAL,MAAA,CAAAJ,OAAA,GAAAF,GAAA,MAAAG,KAAA,IAAAA,KAAA,CAAAa,GAAA,CAAAhB,GAAA,EAAAM,MAAA,YAAAA,MAAA;AAPrC;;;;AAeA;;;;AAIO,MAAMW,KAAK,GAAAC,OAAA,CAAAD,KAAA,gBAA0C,IAAAE,cAAI,EAC9D5B,UAAU,CAAC0B,KAAK,eAChBvB,KAAK,CAAC0B,KAAK,CAAC5B,IAAI,CAACyB,KAAK,CAAC,eACvBvB,KAAK,CAAC0B,KAAK,eAAC1B,KAAK,CAAC2B,YAAY,CAAC9B,UAAU,CAAC0B,KAAK,EAAE7B,eAAe,CAAC6B,KAAK,CAAC,CAAC,CACzE"}
|
package/Command.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Command.d.ts","sourceRoot":"","sources":["./src/Command.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,YAAY;AACV;;;GAGG;AACH,OAAO;AACP;;;GAGG;AACH,YAAY;AACZ;;;GAGG;AACH,aAAa;AACb;;;GAGG;AACH,YAAY;AACZ;;;GAGG;AACH,eAAe,EAChB,MAAM,0BAA0B,CAAA;AAEjC,OAAO;AACL;;;GAGG;AACH,GAAG;AACH;;;GAGG;AACH,QAAQ;AACR;;;GAGG;AACH,IAAI;AACJ;;;GAGG;AACH,OAAO;AACP;;;GAGG;AACH,SAAS;AACT;;;GAGG;AACH,KAAK;AACL;;;GAGG;AACH,IAAI;AACJ;;;GAGG;AACH,MAAM;AACN;;;GAGG;AACH,KAAK;AACL;;;GAGG;AACH,MAAM;AACN;;;GAGG;AACH,KAAK;AACL;;;GAGG;AACH,MAAM;AACN;;;GAGG;AACH,MAAM;AACN;;;GAGG;AACH,WAAW;AACX;;;GAGG;AACH,MAAM;AACN;;;GAGG;AACH,gBAAgB,EACjB,MAAM,0BAA0B,CAAA"}
|
package/Command.js
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "env", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function () {
|
|
9
|
-
return _Command.env;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "exitCode", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () {
|
|
15
|
-
return _Command.exitCode;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(exports, "feed", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function () {
|
|
21
|
-
return _Command.feed;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
Object.defineProperty(exports, "flatten", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function () {
|
|
27
|
-
return _Command.flatten;
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
Object.defineProperty(exports, "isCommand", {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function () {
|
|
33
|
-
return _Command.isCommand;
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
Object.defineProperty(exports, "lines", {
|
|
37
|
-
enumerable: true,
|
|
38
|
-
get: function () {
|
|
39
|
-
return _Command.lines;
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
Object.defineProperty(exports, "make", {
|
|
43
|
-
enumerable: true,
|
|
44
|
-
get: function () {
|
|
45
|
-
return _Command.make;
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
Object.defineProperty(exports, "pipeTo", {
|
|
49
|
-
enumerable: true,
|
|
50
|
-
get: function () {
|
|
51
|
-
return _Command.pipeTo;
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
Object.defineProperty(exports, "start", {
|
|
55
|
-
enumerable: true,
|
|
56
|
-
get: function () {
|
|
57
|
-
return _Command.start;
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
Object.defineProperty(exports, "stderr", {
|
|
61
|
-
enumerable: true,
|
|
62
|
-
get: function () {
|
|
63
|
-
return _Command.stderr;
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
Object.defineProperty(exports, "stdin", {
|
|
67
|
-
enumerable: true,
|
|
68
|
-
get: function () {
|
|
69
|
-
return _Command.stdin;
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
Object.defineProperty(exports, "stdout", {
|
|
73
|
-
enumerable: true,
|
|
74
|
-
get: function () {
|
|
75
|
-
return _Command.stdout;
|
|
76
|
-
}
|
|
77
|
-
});
|
|
78
|
-
Object.defineProperty(exports, "stream", {
|
|
79
|
-
enumerable: true,
|
|
80
|
-
get: function () {
|
|
81
|
-
return _Command.stream;
|
|
82
|
-
}
|
|
83
|
-
});
|
|
84
|
-
Object.defineProperty(exports, "streamLines", {
|
|
85
|
-
enumerable: true,
|
|
86
|
-
get: function () {
|
|
87
|
-
return _Command.streamLines;
|
|
88
|
-
}
|
|
89
|
-
});
|
|
90
|
-
Object.defineProperty(exports, "string", {
|
|
91
|
-
enumerable: true,
|
|
92
|
-
get: function () {
|
|
93
|
-
return _Command.string;
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
Object.defineProperty(exports, "workingDirectory", {
|
|
97
|
-
enumerable: true,
|
|
98
|
-
get: function () {
|
|
99
|
-
return _Command.workingDirectory;
|
|
100
|
-
}
|
|
101
|
-
});
|
|
102
|
-
var _Command = /*#__PURE__*/require("@effect/platform/Command");
|
|
103
|
-
//# sourceMappingURL=Command.js.map
|
package/Command.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Command.js","names":["_Command","require"],"sources":["./src/Command.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCA,IAAAA,QAAA,gBAAAC,OAAA"}
|
package/CommandExecutor.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CommandExecutor.d.ts","sourceRoot":"","sources":["./src/CommandExecutor.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,YAAY;AACV;;;GAGG;AACH,QAAQ;AACR;;;GAGG;AACH,OAAO;AACP;;;GAGG;AACH,SAAS;AACT;;;GAGG;AACH,aAAa;AACb;;;GAGG;AACH,MAAM,EACP,MAAM,kCAAkC,CAAA;AAEzC,OAAO;AACL;;;GAGG;AACH,eAAe;AACf;;;GAGG;AACH,KAAK,EACN,MAAM,uCAAuC,CAAA"}
|
package/CommandExecutor.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "CommandExecutor", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function () {
|
|
9
|
-
return _CommandExecutor.CommandExecutor;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "layer", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () {
|
|
15
|
-
return _CommandExecutor.layer;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
var _CommandExecutor = /*#__PURE__*/require("@effect/platform-node/CommandExecutor");
|
|
19
|
-
//# sourceMappingURL=CommandExecutor.js.map
|
package/CommandExecutor.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CommandExecutor.js","names":["_CommandExecutor","require"],"sources":["./src/CommandExecutor.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;AAgCA,IAAAA,gBAAA,gBAAAC,OAAA"}
|
package/Effectify.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Effectify.d.ts","sourceRoot":"","sources":["./src/Effectify.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,YAAY;AACV;;GAEG;AACH,SAAS;AACT;;GAEG;AACH,cAAc,EACf,MAAM,4BAA4B,CAAA;AAEnC,OAAO;AACL;;;GAGG;AACH,SAAS,EACV,MAAM,4BAA4B,CAAA"}
|
package/Effectify.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "effectify", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function () {
|
|
9
|
-
return _Effectify.effectify;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
var _Effectify = /*#__PURE__*/require("@effect/platform/Effectify");
|
|
13
|
-
//# sourceMappingURL=Effectify.js.map
|
package/Effectify.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Effectify.js","names":["_Effectify","require"],"sources":["./src/Effectify.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;AAeA,IAAAA,UAAA,gBAAAC,OAAA"}
|
package/Error.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Error.d.ts","sourceRoot":"","sources":["./src/Error.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO;AACL;;;GAGG;AACH,WAAW;AACX;;;GAGG;AACH,aAAa;AACb;;;GAGG;AACH,mBAAmB;AACnB;;;GAGG;AACH,WAAW;AACX;;;GAGG;AACH,iBAAiB,EAClB,MAAM,wBAAwB,CAAA"}
|
package/Error.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "BadArgument", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function () {
|
|
9
|
-
return _Error.BadArgument;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "PlatformErrorTypeId", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () {
|
|
15
|
-
return _Error.PlatformErrorTypeId;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(exports, "SystemError", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function () {
|
|
21
|
-
return _Error.SystemError;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
var _Error = /*#__PURE__*/require("@effect/platform/Error");
|
|
25
|
-
//# sourceMappingURL=Error.js.map
|
package/Error.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Error.js","names":["_Error","require"],"sources":["./src/Error.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAAA,MAAA,gBAAAC,OAAA"}
|
package/FileSystem.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FileSystem.d.ts","sourceRoot":"","sources":["./src/FileSystem.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,YAAY;AACV;;;GAGG;AACH,oBAAoB;AACpB;;;GAGG;AACH,wBAAwB;AACxB;;;GAGG;AACH,mBAAmB;AACnB;;;GAGG;AACH,eAAe;AACf;;;GAGG;AACH,oBAAoB;AACpB;;;GAGG;AACH,aAAa;AACb;;;GAGG;AACH,QAAQ;AACR;;;GAGG;AACH,WAAW;AACX;;;GAGG;AACH,aAAa;AACb;;;GAGG;AACH,gBAAgB,EACjB,MAAM,6BAA6B,CAAA;AAEpC,OAAO;AACL;;;GAGG;AACH,UAAU;AACV;;;GAGG;AACH,KAAK;AACL;;;GAGG;AACH,IAAI,EACL,MAAM,kCAAkC,CAAA"}
|
package/FileSystem.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "FileSystem", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function () {
|
|
9
|
-
return _FileSystem.FileSystem;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "Size", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () {
|
|
15
|
-
return _FileSystem.Size;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(exports, "layer", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function () {
|
|
21
|
-
return _FileSystem.layer;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
var _FileSystem = /*#__PURE__*/require("@effect/platform-node/FileSystem");
|
|
25
|
-
//# sourceMappingURL=FileSystem.js.map
|
package/FileSystem.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FileSystem.js","names":["_FileSystem","require"],"sources":["./src/FileSystem.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAyDA,IAAAA,WAAA,gBAAAC,OAAA"}
|
package/Http/Platform.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Platform.d.ts","sourceRoot":"","sources":["../src/Http/Platform.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,KAAK,UAAU,MAAM,iCAAiC,CAAA;AAElE,OAAO,KAAK,KAAK,IAAI,MAAM,4BAA4B,CAAA;AACvD,OAAO,KAAK,KAAK,QAAQ,MAAM,gCAAgC,CAAA;AAC/D,OAAO,KAAK,KAAK,MAAM,MAAM,eAAe,CAAA;AAC5C,OAAO,KAAK,KAAK,KAAK,MAAM,cAAc,CAAA;AAE1C;;GAEG;AACH,cAAc,gCAAgC,CAAA;AAE9C;;;GAGG;AACH,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,UAAU,GAAG,IAAI,CAAC,SAAS,EAAE,KAAK,EAAE,QAAQ,CAAC,QAAQ,CAAiB,CAAA;AAElH;;;GAGG;AACH,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,CAAC,QAAQ,CAAkB,CAAA"}
|