@dxos/effect 0.9.1-main.c7dcc2e112 → 0.9.1-staging.ee54ba693a
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/dist/lib/browser/index.mjs.map +1 -1
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/node-esm/index.mjs.map +1 -1
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/types/src/EffectEx.d.ts +1 -1
- package/dist/types/src/EffectEx.d.ts.map +1 -1
- package/dist/types/src/SchemaEx.d.ts +3 -3
- package/dist/types/src/SchemaEx.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +0 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +15 -15
- package/src/EffectEx.ts +4 -4
- package/src/SchemaEx.ts +15 -15
- package/src/index.ts +0 -1
- package/dist/types/src/types.d.ts +0 -8
- package/dist/types/src/types.d.ts.map +0 -1
- package/src/types.ts +0 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/effect",
|
|
3
|
-
"version": "0.9.1-
|
|
3
|
+
"version": "0.9.1-staging.ee54ba693a",
|
|
4
4
|
"description": "Effect utils.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -35,27 +35,27 @@
|
|
|
35
35
|
"@effect/opentelemetry": "^0.63.0",
|
|
36
36
|
"@opentelemetry/api": "^1.9.1",
|
|
37
37
|
"jsonpath-plus": "^10.3.0",
|
|
38
|
-
"@dxos/
|
|
39
|
-
"@dxos/
|
|
40
|
-
"@dxos/
|
|
41
|
-
"@dxos/
|
|
38
|
+
"@dxos/context": "0.9.1-staging.ee54ba693a",
|
|
39
|
+
"@dxos/invariant": "0.9.1-staging.ee54ba693a",
|
|
40
|
+
"@dxos/node-std": "0.9.1-staging.ee54ba693a",
|
|
41
|
+
"@dxos/util": "0.9.1-staging.ee54ba693a"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@effect/platform": "0.96.
|
|
44
|
+
"@effect/platform": "0.96.2",
|
|
45
45
|
"@effect/platform-browser": "0.76.0",
|
|
46
|
-
"@opentelemetry/api-logs": "^0.
|
|
47
|
-
"@opentelemetry/resources": "^2.
|
|
48
|
-
"@opentelemetry/sdk-logs": "^0.
|
|
49
|
-
"@opentelemetry/sdk-node": "^0.
|
|
50
|
-
"@opentelemetry/sdk-trace-node": "^2.
|
|
46
|
+
"@opentelemetry/api-logs": "^0.219.0",
|
|
47
|
+
"@opentelemetry/resources": "^2.8.0",
|
|
48
|
+
"@opentelemetry/sdk-logs": "^0.219.0",
|
|
49
|
+
"@opentelemetry/sdk-node": "^0.219.0",
|
|
50
|
+
"@opentelemetry/sdk-trace-node": "^2.8.0",
|
|
51
51
|
"@opentelemetry/semantic-conventions": "^1.41.1",
|
|
52
|
-
"effect": "3.21.
|
|
53
|
-
"@dxos/log": "0.9.1-
|
|
52
|
+
"effect": "3.21.4",
|
|
53
|
+
"@dxos/log": "0.9.1-staging.ee54ba693a"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@effect/platform": "0.96.
|
|
56
|
+
"@effect/platform": "0.96.2",
|
|
57
57
|
"@effect/platform-browser": "0.76.0",
|
|
58
|
-
"effect": "3.21.
|
|
58
|
+
"effect": "3.21.4"
|
|
59
59
|
},
|
|
60
60
|
"publishConfig": {
|
|
61
61
|
"access": "public"
|
package/src/EffectEx.ts
CHANGED
|
@@ -8,11 +8,11 @@ export { asyncTaskTaggingLayer } from './internal/async-task-tagging';
|
|
|
8
8
|
export { contextFromScope } from './internal/context';
|
|
9
9
|
export {
|
|
10
10
|
causeToError,
|
|
11
|
-
|
|
12
|
-
unwrapExit,
|
|
11
|
+
promiseWithCauseCapture,
|
|
13
12
|
runAndForwardErrors,
|
|
14
|
-
runPromise,
|
|
15
13
|
runInRuntime,
|
|
16
|
-
|
|
14
|
+
runPromise,
|
|
15
|
+
throwCause,
|
|
16
|
+
unwrapExit,
|
|
17
17
|
} from './internal/errors';
|
|
18
18
|
export { acquireReleaseResource } from './internal/resource';
|
package/src/SchemaEx.ts
CHANGED
|
@@ -5,42 +5,42 @@
|
|
|
5
5
|
// @import-as-namespace
|
|
6
6
|
|
|
7
7
|
export {
|
|
8
|
-
getBaseType,
|
|
9
|
-
type SchemaProperty,
|
|
10
|
-
getProperties,
|
|
11
|
-
VisitResult,
|
|
12
8
|
type Path,
|
|
9
|
+
type SchemaProperty,
|
|
13
10
|
type TestFn,
|
|
14
11
|
type VisitorFn,
|
|
15
|
-
|
|
12
|
+
VisitResult,
|
|
13
|
+
findAnnotation,
|
|
16
14
|
findNode,
|
|
17
15
|
findProperty,
|
|
18
16
|
getAnnotation,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
getArrayElementType,
|
|
18
|
+
getBaseType,
|
|
19
|
+
getDiscriminatedType,
|
|
20
|
+
getDiscriminatingProps,
|
|
22
21
|
getLiteralValues,
|
|
22
|
+
getProperties,
|
|
23
23
|
isArrayType,
|
|
24
|
-
getArrayElementType,
|
|
25
|
-
isTupleType,
|
|
26
24
|
isDiscriminatedUnion,
|
|
27
|
-
|
|
28
|
-
getDiscriminatedType,
|
|
25
|
+
isLiteralUnion,
|
|
29
26
|
isNestedType,
|
|
27
|
+
isOption,
|
|
28
|
+
isTupleType,
|
|
30
29
|
mapAst,
|
|
31
30
|
unwrapOptional,
|
|
31
|
+
visit,
|
|
32
32
|
} from './internal/ast';
|
|
33
33
|
|
|
34
34
|
export {
|
|
35
35
|
JsonPath,
|
|
36
36
|
JsonProp,
|
|
37
|
-
isJsonPath,
|
|
38
37
|
createJsonPath,
|
|
39
38
|
fromEffectValidationPath,
|
|
40
|
-
splitJsonPath,
|
|
41
39
|
getField,
|
|
42
40
|
getValue,
|
|
41
|
+
isJsonPath,
|
|
43
42
|
setValue,
|
|
43
|
+
splitJsonPath,
|
|
44
44
|
} from './internal/json-path';
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { ParamKeyAnnotation, UrlParser, getParamKeyAnnotation } from './internal/url';
|
package/src/index.ts
CHANGED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flat intersection of up to five types. Behaves like `A & B & C & ...` but
|
|
3
|
-
* formats as a comma-separated tuple, which fits multi-line layouts more
|
|
4
|
-
* cleanly than chained `&` operators. Unused slots default to `unknown`,
|
|
5
|
-
* which is inert under intersection (`T & unknown = T`).
|
|
6
|
-
*/
|
|
7
|
-
export type Merge<A, B = unknown, C = unknown, D = unknown, E = unknown> = A & B & C & D & E;
|
|
8
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,MAAM,MAAM,KAAK,CAAC,CAAC,EAAE,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC"}
|
package/src/types.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright 2026 DXOS.org
|
|
3
|
-
//
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Flat intersection of up to five types. Behaves like `A & B & C & ...` but
|
|
7
|
-
* formats as a comma-separated tuple, which fits multi-line layouts more
|
|
8
|
-
* cleanly than chained `&` operators. Unused slots default to `unknown`,
|
|
9
|
-
* which is inert under intersection (`T & unknown = T`).
|
|
10
|
-
*/
|
|
11
|
-
export type Merge<A, B = unknown, C = unknown, D = unknown, E = unknown> = A & B & C & D & E;
|