@effect/platform-bun 0.7.8 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/BunContext/dist/effect-platform-bun-BunContext.cjs.dev.js +39 -7
  2. package/BunContext/dist/effect-platform-bun-BunContext.cjs.prod.js +39 -7
  3. package/BunContext/dist/effect-platform-bun-BunContext.esm.js +22 -6
  4. package/Command/dist/effect-platform-bun-Command.cjs.dev.js +32 -32
  5. package/Command/dist/effect-platform-bun-Command.cjs.prod.js +32 -32
  6. package/CommandExecutor/dist/effect-platform-bun-CommandExecutor.cjs.dev.js +4 -4
  7. package/CommandExecutor/dist/effect-platform-bun-CommandExecutor.cjs.prod.js +4 -4
  8. package/Effectify/dist/effect-platform-bun-Effectify.cjs.dev.js +2 -2
  9. package/Effectify/dist/effect-platform-bun-Effectify.cjs.prod.js +2 -2
  10. package/Error/dist/effect-platform-bun-Error.cjs.dev.js +6 -14
  11. package/Error/dist/effect-platform-bun-Error.cjs.mjs +1 -3
  12. package/Error/dist/effect-platform-bun-Error.cjs.prod.js +6 -14
  13. package/Error/dist/effect-platform-bun-Error.esm.js +1 -1
  14. package/FileSystem/dist/effect-platform-bun-FileSystem.cjs.dev.js +6 -6
  15. package/FileSystem/dist/effect-platform-bun-FileSystem.cjs.prod.js +6 -6
  16. package/Http/Server/dist/effect-platform-bun-Http-Server.cjs.dev.js +2 -1
  17. package/Http/Server/dist/effect-platform-bun-Http-Server.cjs.prod.js +2 -1
  18. package/Http/Server/dist/effect-platform-bun-Http-Server.esm.js +2 -1
  19. package/HttpClient/dist/effect-platform-bun-HttpClient.cjs.dev.js +15 -15
  20. package/HttpClient/dist/effect-platform-bun-HttpClient.cjs.prod.js +15 -15
  21. package/HttpServer/dist/effect-platform-bun-HttpServer.cjs.dev.js +16 -16
  22. package/HttpServer/dist/effect-platform-bun-HttpServer.cjs.prod.js +16 -16
  23. package/HttpServer/dist/effect-platform-bun-HttpServer.esm.js +1 -1
  24. package/KeyValueStore/dist/effect-platform-bun-KeyValueStore.cjs.dev.js +6 -6
  25. package/KeyValueStore/dist/effect-platform-bun-KeyValueStore.cjs.prod.js +6 -6
  26. package/Path/dist/effect-platform-bun-Path.cjs.dev.js +8 -8
  27. package/Path/dist/effect-platform-bun-Path.cjs.prod.js +8 -8
  28. package/Runtime/dist/effect-platform-bun-Runtime.cjs.dev.js +4 -4
  29. package/Runtime/dist/effect-platform-bun-Runtime.cjs.prod.js +4 -4
  30. package/Sink/dist/effect-platform-bun-Sink.cjs.dev.js +2 -2
  31. package/Sink/dist/effect-platform-bun-Sink.cjs.prod.js +2 -2
  32. package/Stream/dist/effect-platform-bun-Stream.cjs.dev.js +6 -6
  33. package/Stream/dist/effect-platform-bun-Stream.cjs.prod.js +6 -6
  34. package/dist/{Server-4fe393ab.cjs.prod.js → Server-569bf4fe.cjs.prod.js} +4 -2
  35. package/dist/{Server-c2ad8a41.esm.js → Server-bb2be0ce.esm.js} +3 -2
  36. package/dist/{Server-3766cdb3.cjs.dev.js → Server-db27f98f.cjs.dev.js} +4 -2
  37. package/dist/declarations/src/Error.d.ts +7 -6
  38. package/dist/declarations/src/Error.d.ts.map +1 -1
  39. package/dist/declarations/src/index.d.ts.map +1 -1
  40. package/dist/effect-platform-bun.cjs.dev.js +58 -66
  41. package/dist/effect-platform-bun.cjs.prod.js +58 -66
  42. package/dist/effect-platform-bun.esm.js +26 -53
  43. package/package.json +9 -6
  44. package/src/Error.ts +9 -6
  45. package/src/index.ts +13 -13
  46. package/src/internal/http/server.ts +17 -13
  47. package/dist/BunContext-3aacfc41.cjs.dev.js +0 -50
  48. package/dist/BunContext-af359ac7.cjs.prod.js +0 -50
  49. package/dist/BunContext-d221b77e.esm.js +0 -27
  50. package/dist/Command-073352c2.cjs.dev.js +0 -29
  51. package/dist/Command-86aff121.cjs.prod.js +0 -29
  52. package/dist/Command-9e5827f0.esm.js +0 -27
  53. package/dist/CommandExecutor-0d9edb3d.esm.js +0 -13
  54. package/dist/CommandExecutor-79029a6f.cjs.prod.js +0 -15
  55. package/dist/CommandExecutor-9fdee39f.cjs.dev.js +0 -15
  56. package/dist/Effectify-1e2cf960.cjs.dev.js +0 -14
  57. package/dist/Effectify-583bea25.cjs.prod.js +0 -14
  58. package/dist/Effectify-d2cee621.esm.js +0 -12
  59. package/dist/Error-06928f75.cjs.dev.js +0 -18
  60. package/dist/Error-1ebee51c.esm.js +0 -16
  61. package/dist/Error-77b41701.cjs.prod.js +0 -18
  62. package/dist/FileSystem-0f2d7096.cjs.prod.js +0 -16
  63. package/dist/FileSystem-3eb9e057.cjs.dev.js +0 -16
  64. package/dist/FileSystem-baa29214.esm.js +0 -14
  65. package/dist/HttpClient-91ed29d7.cjs.dev.js +0 -52
  66. package/dist/HttpClient-a34271de.cjs.prod.js +0 -52
  67. package/dist/HttpClient-ac0d4f82.esm.js +0 -24
  68. package/dist/HttpServer-4116a022.esm.js +0 -34
  69. package/dist/HttpServer-93d1b5e2.cjs.prod.js +0 -66
  70. package/dist/HttpServer-ae717a37.cjs.dev.js +0 -66
  71. package/dist/KeyValueStore-151c0d10.esm.js +0 -30
  72. package/dist/KeyValueStore-9e969cb3.cjs.dev.js +0 -52
  73. package/dist/KeyValueStore-ddd3d960.cjs.prod.js +0 -52
  74. package/dist/Path-42c3fda2.esm.js +0 -15
  75. package/dist/Path-49561a01.cjs.dev.js +0 -17
  76. package/dist/Path-9c4bff86.cjs.prod.js +0 -17
  77. package/dist/Runtime-399be72e.cjs.prod.js +0 -15
  78. package/dist/Runtime-ad8dde5f.cjs.dev.js +0 -15
  79. package/dist/Runtime-e0c4ce6d.esm.js +0 -13
  80. package/dist/Sink-0100d655.cjs.prod.js +0 -14
  81. package/dist/Sink-3c75e467.esm.js +0 -12
  82. package/dist/Sink-59df5de5.cjs.dev.js +0 -14
  83. package/dist/Stream-997a923c.esm.js +0 -14
  84. package/dist/Stream-a7a516a8.cjs.dev.js +0 -16
  85. package/dist/Stream-d0a08460.cjs.prod.js +0 -16
@@ -1,15 +0,0 @@
1
- 'use strict';
2
-
3
- var Runtime$1 = require('@effect/platform-node/Runtime');
4
-
5
- /**
6
- * @since 1.0.0
7
- */
8
-
9
- var Runtime = /*#__PURE__*/Object.freeze({
10
- __proto__: null,
11
- defaultTeardown: Runtime$1.defaultTeardown,
12
- runMain: Runtime$1.runMain
13
- });
14
-
15
- exports.Runtime = Runtime;
@@ -1,13 +0,0 @@
1
- import { defaultTeardown, runMain } from '@effect/platform-node/Runtime';
2
-
3
- /**
4
- * @since 1.0.0
5
- */
6
-
7
- var Runtime = /*#__PURE__*/Object.freeze({
8
- __proto__: null,
9
- defaultTeardown: defaultTeardown,
10
- runMain: runMain
11
- });
12
-
13
- export { Runtime as R };
@@ -1,14 +0,0 @@
1
- 'use strict';
2
-
3
- var Sink$1 = require('@effect/platform-node/Sink');
4
-
5
- /**
6
- * @since 1.0.0
7
- */
8
-
9
- var Sink = /*#__PURE__*/Object.freeze({
10
- __proto__: null,
11
- fromWritable: Sink$1.fromWritable
12
- });
13
-
14
- exports.Sink = Sink;
@@ -1,12 +0,0 @@
1
- import { fromWritable } from '@effect/platform-node/Sink';
2
-
3
- /**
4
- * @since 1.0.0
5
- */
6
-
7
- var Sink = /*#__PURE__*/Object.freeze({
8
- __proto__: null,
9
- fromWritable: fromWritable
10
- });
11
-
12
- export { Sink as S };
@@ -1,14 +0,0 @@
1
- 'use strict';
2
-
3
- var Sink$1 = require('@effect/platform-node/Sink');
4
-
5
- /**
6
- * @since 1.0.0
7
- */
8
-
9
- var Sink = /*#__PURE__*/Object.freeze({
10
- __proto__: null,
11
- fromWritable: Sink$1.fromWritable
12
- });
13
-
14
- exports.Sink = Sink;
@@ -1,14 +0,0 @@
1
- import { fromReadable, toString, toUint8Array } from '@effect/platform-node/Stream';
2
-
3
- /**
4
- * @since 1.0.0
5
- */
6
-
7
- var Stream = /*#__PURE__*/Object.freeze({
8
- __proto__: null,
9
- fromReadable: fromReadable,
10
- toString: toString,
11
- toUint8Array: toUint8Array
12
- });
13
-
14
- export { Stream as S };
@@ -1,16 +0,0 @@
1
- 'use strict';
2
-
3
- var Stream$1 = require('@effect/platform-node/Stream');
4
-
5
- /**
6
- * @since 1.0.0
7
- */
8
-
9
- var Stream = /*#__PURE__*/Object.freeze({
10
- __proto__: null,
11
- fromReadable: Stream$1.fromReadable,
12
- toString: Stream$1.toString,
13
- toUint8Array: Stream$1.toUint8Array
14
- });
15
-
16
- exports.Stream = Stream;
@@ -1,16 +0,0 @@
1
- 'use strict';
2
-
3
- var Stream$1 = require('@effect/platform-node/Stream');
4
-
5
- /**
6
- * @since 1.0.0
7
- */
8
-
9
- var Stream = /*#__PURE__*/Object.freeze({
10
- __proto__: null,
11
- fromReadable: Stream$1.fromReadable,
12
- toString: Stream$1.toString,
13
- toUint8Array: Stream$1.toUint8Array
14
- });
15
-
16
- exports.Stream = Stream;