@effect/platform-node 0.19.8 → 0.19.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.
- package/Error/dist/effect-platform-node-Error.cjs.dev.js +0 -8
- package/Error/dist/effect-platform-node-Error.cjs.mjs +1 -3
- package/Error/dist/effect-platform-node-Error.cjs.prod.js +0 -8
- package/Error/dist/effect-platform-node-Error.esm.js +1 -1
- package/dist/Error-1e8c05fb.esm.js +14 -0
- package/dist/{Error-004c8162.cjs.prod.js → Error-243639ac.cjs.dev.js} +1 -3
- package/dist/{Error-6db0ba89.cjs.dev.js → Error-eaa907c8.cjs.prod.js} +1 -3
- package/dist/declarations/src/Error.d.ts +7 -6
- package/dist/declarations/src/Error.d.ts.map +1 -1
- package/dist/effect-platform-node.cjs.dev.js +1 -1
- package/dist/effect-platform-node.cjs.prod.js +1 -1
- package/dist/effect-platform-node.esm.js +1 -1
- package/package.json +3 -3
- package/src/Error.ts +9 -6
- package/dist/Error-6b032e84.esm.js +0 -16
|
@@ -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
|
-
});
|
|
@@ -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,
|
|
1
|
+
export { BadArgument, PlatformErrorTypeId, SystemError } from '@effect/platform/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;
|
|
@@ -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,
|
|
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"}
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var Command_dist_effectPlatformNodeCommand = require('./Command-15b84341.cjs.dev.js');
|
|
6
6
|
var CommandExecutor_dist_effectPlatformNodeCommandExecutor = require('./CommandExecutor-b7cb55b8.cjs.dev.js');
|
|
7
7
|
var Effectify_dist_effectPlatformNodeEffectify = require('./Effectify-c94620ca.cjs.dev.js');
|
|
8
|
-
var Error_dist_effectPlatformNodeError = require('./Error-
|
|
8
|
+
var Error_dist_effectPlatformNodeError = require('./Error-243639ac.cjs.dev.js');
|
|
9
9
|
var FileSystem_dist_effectPlatformNodeFileSystem = require('./FileSystem-d7b8eeac.cjs.dev.js');
|
|
10
10
|
var HttpClient_dist_effectPlatformNodeHttpClient = require('./HttpClient-19998c5e.cjs.dev.js');
|
|
11
11
|
var HttpServer_dist_effectPlatformNodeHttpServer = require('./HttpServer-6652ce27.cjs.dev.js');
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var Command_dist_effectPlatformNodeCommand = require('./Command-2fc875e9.cjs.prod.js');
|
|
6
6
|
var CommandExecutor_dist_effectPlatformNodeCommandExecutor = require('./CommandExecutor-bccc7563.cjs.prod.js');
|
|
7
7
|
var Effectify_dist_effectPlatformNodeEffectify = require('./Effectify-1676f59e.cjs.prod.js');
|
|
8
|
-
var Error_dist_effectPlatformNodeError = require('./Error-
|
|
8
|
+
var Error_dist_effectPlatformNodeError = require('./Error-eaa907c8.cjs.prod.js');
|
|
9
9
|
var FileSystem_dist_effectPlatformNodeFileSystem = require('./FileSystem-a207377d.cjs.prod.js');
|
|
10
10
|
var HttpClient_dist_effectPlatformNodeHttpClient = require('./HttpClient-1ad217ea.cjs.prod.js');
|
|
11
11
|
var HttpServer_dist_effectPlatformNodeHttpServer = require('./HttpServer-d510f888.cjs.prod.js');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { C as Command } from './Command-56d67f13.esm.js';
|
|
2
2
|
export { C as CommandExecutor } from './CommandExecutor-cfc0af4b.esm.js';
|
|
3
3
|
export { E as Effectify } from './Effectify-24bba5b0.esm.js';
|
|
4
|
-
export { E as Error } from './Error-
|
|
4
|
+
export { E as Error } from './Error-1e8c05fb.esm.js';
|
|
5
5
|
export { F as FileSystem } from './FileSystem-d4a3521c.esm.js';
|
|
6
6
|
export { H as HttpClient } from './HttpClient-11e2237f.esm.js';
|
|
7
7
|
export { H as HttpServer } from './HttpServer-08393436.esm.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect/platform-node",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.9",
|
|
4
4
|
"description": "Unified interfaces for common platform-specific services",
|
|
5
5
|
"main": "dist/effect-platform-node.cjs.js",
|
|
6
6
|
"module": "dist/effect-platform-node.esm.js",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"@effect/schema": "^0.39.2",
|
|
34
34
|
"@types/busboy": "^1.5.1",
|
|
35
35
|
"@types/mime": "^3.0.2",
|
|
36
|
-
"effect": "2.0.0-next.
|
|
36
|
+
"effect": "2.0.0-next.44"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"effect": "^2.0.0-next.
|
|
39
|
+
"effect": "^2.0.0-next.44"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"busboy": "^1.6.0",
|
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 };
|