@effect/platform-bun 0.7.7 → 0.7.9

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.
@@ -10,10 +10,6 @@ Object.defineProperty(exports, 'BadArgument', {
10
10
  enumerable: true,
11
11
  get: function () { return Error.BadArgument; }
12
12
  });
13
- Object.defineProperty(exports, 'PlatformError', {
14
- enumerable: true,
15
- get: function () { return Error.PlatformError; }
16
- });
17
13
  Object.defineProperty(exports, 'PlatformErrorTypeId', {
18
14
  enumerable: true,
19
15
  get: function () { return Error.PlatformErrorTypeId; }
@@ -22,7 +18,3 @@ Object.defineProperty(exports, 'SystemError', {
22
18
  enumerable: true,
23
19
  get: function () { return Error.SystemError; }
24
20
  });
25
- Object.defineProperty(exports, 'SystemErrorReason', {
26
- enumerable: true,
27
- get: function () { return Error.SystemErrorReason; }
28
- });
@@ -1,7 +1,5 @@
1
1
  export {
2
2
  BadArgument,
3
- PlatformError,
4
3
  PlatformErrorTypeId,
5
- SystemError,
6
- SystemErrorReason
4
+ SystemError
7
5
  } from "./effect-platform-bun-Error.cjs.js";
@@ -10,10 +10,6 @@ Object.defineProperty(exports, 'BadArgument', {
10
10
  enumerable: true,
11
11
  get: function () { return Error.BadArgument; }
12
12
  });
13
- Object.defineProperty(exports, 'PlatformError', {
14
- enumerable: true,
15
- get: function () { return Error.PlatformError; }
16
- });
17
13
  Object.defineProperty(exports, 'PlatformErrorTypeId', {
18
14
  enumerable: true,
19
15
  get: function () { return Error.PlatformErrorTypeId; }
@@ -22,7 +18,3 @@ Object.defineProperty(exports, 'SystemError', {
22
18
  enumerable: true,
23
19
  get: function () { return Error.SystemError; }
24
20
  });
25
- Object.defineProperty(exports, 'SystemErrorReason', {
26
- enumerable: true,
27
- get: function () { return Error.SystemErrorReason; }
28
- });
@@ -1 +1 @@
1
- export { BadArgument, PlatformError, PlatformErrorTypeId, SystemError, SystemErrorReason } from '@effect/platform/Error';
1
+ export { BadArgument, PlatformErrorTypeId, SystemError } from '@effect/platform/Error';
@@ -9,10 +9,8 @@ var Error$1 = require('@effect/platform/Error');
9
9
  var Error = /*#__PURE__*/Object.freeze({
10
10
  __proto__: null,
11
11
  BadArgument: Error$1.BadArgument,
12
- PlatformError: Error$1.PlatformError,
13
12
  PlatformErrorTypeId: Error$1.PlatformErrorTypeId,
14
- SystemError: Error$1.SystemError,
15
- SystemErrorReason: Error$1.SystemErrorReason
13
+ SystemError: Error$1.SystemError
16
14
  });
17
15
 
18
16
  exports.Error = Error;
@@ -0,0 +1,14 @@
1
+ import { BadArgument, PlatformErrorTypeId, SystemError } from '@effect/platform/Error';
2
+
3
+ /**
4
+ * @since 1.0.0
5
+ */
6
+
7
+ var Error = /*#__PURE__*/Object.freeze({
8
+ __proto__: null,
9
+ BadArgument: BadArgument,
10
+ PlatformErrorTypeId: PlatformErrorTypeId,
11
+ SystemError: SystemError
12
+ });
13
+
14
+ export { Error as E };
@@ -9,10 +9,8 @@ var Error$1 = require('@effect/platform/Error');
9
9
  var Error = /*#__PURE__*/Object.freeze({
10
10
  __proto__: null,
11
11
  BadArgument: Error$1.BadArgument,
12
- PlatformError: Error$1.PlatformError,
13
12
  PlatformErrorTypeId: Error$1.PlatformErrorTypeId,
14
- SystemError: Error$1.SystemError,
15
- SystemErrorReason: Error$1.SystemErrorReason
13
+ SystemError: Error$1.SystemError
16
14
  });
17
15
 
18
16
  exports.Error = Error;
@@ -7,11 +7,6 @@ export {
7
7
  * @category error
8
8
  */
9
9
  BadArgument,
10
- /**
11
- * @since 1.0.0
12
- * @category error
13
- */
14
- PlatformError,
15
10
  /**
16
11
  * @since 1.0.0
17
12
  * @category type id
@@ -21,7 +16,13 @@ PlatformErrorTypeId,
21
16
  * @since 1.0.0
22
17
  * @category error
23
18
  */
24
- SystemError,
19
+ SystemError } from "@effect/platform/Error";
20
+ export type {
21
+ /**
22
+ * @since 1.0.0
23
+ * @category model
24
+ */
25
+ PlatformError,
25
26
  /**
26
27
  * @since 1.0.0
27
28
  * @category model
@@ -1 +1 @@
1
- {"version":3,"file":"Error.d.ts","sourceRoot":"../../../src","sources":["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"}
1
+ {"version":3,"file":"Error.d.ts","sourceRoot":"../../../src","sources":["Error.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO;AACL;;;GAGG;AACH,WAAW;AACX;;;GAGG;AACH,mBAAmB;AACnB;;;GAGG;AACH,WAAW,EACZ,MAAM,wBAAwB,CAAA;AAE/B,YAAY;AACV;;;GAGG;AACH,aAAa;AACb;;;GAGG;AACH,iBAAiB,EAClB,MAAM,wBAAwB,CAAA"}
@@ -6,7 +6,7 @@ var BunContext_dist_effectPlatformBunBunContext = require('./BunContext-3aacfc41
6
6
  var Command_dist_effectPlatformBunCommand = require('./Command-073352c2.cjs.dev.js');
7
7
  var CommandExecutor_dist_effectPlatformBunCommandExecutor = require('./CommandExecutor-9fdee39f.cjs.dev.js');
8
8
  var Effectify_dist_effectPlatformBunEffectify = require('./Effectify-1e2cf960.cjs.dev.js');
9
- var Error_dist_effectPlatformBunError = require('./Error-06928f75.cjs.dev.js');
9
+ var Error_dist_effectPlatformBunError = require('./Error-8b7a5b92.cjs.dev.js');
10
10
  var FileSystem_dist_effectPlatformBunFileSystem = require('./FileSystem-3eb9e057.cjs.dev.js');
11
11
  var HttpClient_dist_effectPlatformBunHttpClient = require('./HttpClient-91ed29d7.cjs.dev.js');
12
12
  var HttpServer_dist_effectPlatformBunHttpServer = require('./HttpServer-ae717a37.cjs.dev.js');
@@ -6,7 +6,7 @@ var BunContext_dist_effectPlatformBunBunContext = require('./BunContext-af359ac7
6
6
  var Command_dist_effectPlatformBunCommand = require('./Command-86aff121.cjs.prod.js');
7
7
  var CommandExecutor_dist_effectPlatformBunCommandExecutor = require('./CommandExecutor-79029a6f.cjs.prod.js');
8
8
  var Effectify_dist_effectPlatformBunEffectify = require('./Effectify-583bea25.cjs.prod.js');
9
- var Error_dist_effectPlatformBunError = require('./Error-77b41701.cjs.prod.js');
9
+ var Error_dist_effectPlatformBunError = require('./Error-fd7c9f06.cjs.prod.js');
10
10
  var FileSystem_dist_effectPlatformBunFileSystem = require('./FileSystem-0f2d7096.cjs.prod.js');
11
11
  var HttpClient_dist_effectPlatformBunHttpClient = require('./HttpClient-a34271de.cjs.prod.js');
12
12
  var HttpServer_dist_effectPlatformBunHttpServer = require('./HttpServer-93d1b5e2.cjs.prod.js');
@@ -2,7 +2,7 @@ export { B as BunContext } from './BunContext-d221b77e.esm.js';
2
2
  export { C as Command } from './Command-9e5827f0.esm.js';
3
3
  export { C as CommandExecutor } from './CommandExecutor-0d9edb3d.esm.js';
4
4
  export { E as Effectify } from './Effectify-d2cee621.esm.js';
5
- export { E as Error } from './Error-1ebee51c.esm.js';
5
+ export { E as Error } from './Error-f60fa020.esm.js';
6
6
  export { F as FileSystem } from './FileSystem-baa29214.esm.js';
7
7
  export { H as HttpClient } from './HttpClient-ac0d4f82.esm.js';
8
8
  export { H as HttpServer } from './HttpServer-4116a022.esm.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect/platform-bun",
3
- "version": "0.7.7",
3
+ "version": "0.7.9",
4
4
  "description": "Unified interfaces for common platform-specific services",
5
5
  "main": "dist/effect-platform-bun.cjs.js",
6
6
  "module": "dist/effect-platform-bun.esm.js",
@@ -27,16 +27,16 @@
27
27
  "license": "MIT",
28
28
  "sideEffects": false,
29
29
  "dependencies": {
30
- "@effect/platform": "^0.18.6",
31
- "@effect/platform-node": "^0.19.7"
30
+ "@effect/platform": "^0.18.7",
31
+ "@effect/platform-node": "^0.19.9"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@effect/schema": "^0.39.2",
35
35
  "bun-types": "^1.0.3",
36
- "effect": "2.0.0-next.40"
36
+ "effect": "2.0.0-next.44"
37
37
  },
38
38
  "peerDependencies": {
39
- "effect": "^2.0.0-next.40"
39
+ "effect": "^2.0.0-next.44"
40
40
  },
41
41
  "files": [
42
42
  "src",
package/src/Error.ts CHANGED
@@ -8,11 +8,6 @@ export {
8
8
  * @category error
9
9
  */
10
10
  BadArgument,
11
- /**
12
- * @since 1.0.0
13
- * @category error
14
- */
15
- PlatformError,
16
11
  /**
17
12
  * @since 1.0.0
18
13
  * @category type id
@@ -22,7 +17,15 @@ export {
22
17
  * @since 1.0.0
23
18
  * @category error
24
19
  */
25
- SystemError,
20
+ SystemError
21
+ } from "@effect/platform/Error"
22
+
23
+ export type {
24
+ /**
25
+ * @since 1.0.0
26
+ * @category model
27
+ */
28
+ PlatformError,
26
29
  /**
27
30
  * @since 1.0.0
28
31
  * @category model
@@ -1,16 +0,0 @@
1
- import { BadArgument, PlatformError, PlatformErrorTypeId, SystemError, SystemErrorReason } from '@effect/platform/Error';
2
-
3
- /**
4
- * @since 1.0.0
5
- */
6
-
7
- var Error = /*#__PURE__*/Object.freeze({
8
- __proto__: null,
9
- BadArgument: BadArgument,
10
- PlatformError: PlatformError,
11
- PlatformErrorTypeId: PlatformErrorTypeId,
12
- SystemError: SystemError,
13
- SystemErrorReason: SystemErrorReason
14
- });
15
-
16
- export { Error as E };