functype 0.46.2 → 0.47.1
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/{Functype-Dc440LS5.d.ts → Functype-Boat1fLo.d.ts} +1 -1
- package/dist/cli/exports.d.ts +39 -0
- package/dist/cli/exports.js +1 -0
- package/dist/cli/index.js +5 -642
- package/dist/do/index.d.ts +1 -1
- package/dist/either/index.d.ts +2 -2
- package/dist/full-interfaces-DSgVaOcH.js +638 -0
- package/dist/index.d.ts +2 -2
- package/dist/list/index.d.ts +2 -2
- package/dist/map/index.d.ts +2 -2
- package/dist/option/index.d.ts +2 -2
- package/dist/set/index.d.ts +2 -2
- package/dist/try/index.d.ts +2 -2
- package/dist/tuple/index.d.ts +1 -1
- package/package.json +16 -11
- /package/dist/{Typeable-E4-aX9Gc.d.ts → Typeable-lfO2nRVW.d.ts} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Brand, BrandedBoolean, BrandedNumber, BrandedString, ExtractBrand, Unwrap, createBrander, hasBrand, unwrap as unwrapBrand } from "./branded/index.js";
|
|
2
|
-
import { $ as Validation, $t as UrlString, A as UIO, At as isTaggedThrowable, B as Tag, Bt as isCompanion, C as TestClockTag, Ct as TaskFailure, D as RIO, Dt as TaskResult, E as InterruptedError, Et as TaskParams, F as Exit, Ft as Match, G as Kind, Gt as ISO8601Date, H as Identity, Ht as BoundedNumber, I as ExitTag, It as UntypedMatch, J as TryKind, Jt as NonNegativeNumber, K as ListKind, Kt as IntegerNumber, L as Context, Lt as Cond, M as LayerError, Mt as Throwable, N as LayerInput, Nt as ThrowableType, O as Task, Ot as TaskSuccess, P as LayerOutput, Pt as Base, Q as FormValidation, Qt as UUID, R as ContextServices, Rt as CompanionMethods, S as TestClock, St as Task$1, T as IO, Tt as TaskOutcome, U as EitherKind, Ut as BoundedString, V as TagService, Vt as Companion, W as HKT, Wt as EmailAddress, X as FoldableUtils, Xt as PositiveInteger, Y as UniversalContainer, Yt as PatternString, Z as FieldValidation, Zt as PositiveNumber, _ as MatchableUtils, _t as CancellationTokenSource, a as Stack, an as AsyncMonad, at as TypedError, b as Traversable, bt as Sync, c as SerializationResult, cn as CollectionOps, ct as ErrorFormatterOptions, d as createSerializer, dn as Extractable, dt as createErrorSerializer, en as ValidatedBrand, et as ValidationRule, f as fromBinary, fn as isExtractable, ft as formatError, g as Matchable, gt as CancellationToken, h as Ref, hn as ParseError, ht as Async, i as Collection, in as Applicative, it as ErrorStatus, j as Layer, jt as NAME, k as TimeoutError, kt as createCancellationTokenSource, l as createCustomSerializer, ln as ContainerOps, lt as ErrorWithTaskInfo, m as fromYAML, mn as Doable, mt as safeStringify, n as FunctypeBase, nt as ErrorCode, o as Valuable, on as Functor, ot as TypedErrorContext, p as fromJSON, pn as DoResult, pt as formatStackTrace, q as OptionKind, qt as NonEmptyString, r as FunctypeCollection, rn as Promisable, rt as ErrorMessage, s as ValuableParams, sn as Monad, st as ErrorChainElement, t as Functype, tn as ValidatedBrandCompanion, tt as Validator, u as createSerializationCompanion, un as LazyList, ut as TaskErrorInfo, v as ESMap, vt as Err, w as TestContext, wt as TaskMetadata, x as Lazy, xt as TaggedThrowable, y as ESMapType, yt as Ok, z as HasService, zt as InstanceType } from "./Functype-
|
|
3
|
-
import { a as Serializable, c as Foldable, i as isTypeable, l as Type, n as Typeable, o as SerializationMethods, r as TypeableParams, s as Pipe, t as ExtractTag } from "./Typeable-
|
|
2
|
+
import { $ as Validation, $t as UrlString, A as UIO, At as isTaggedThrowable, B as Tag, Bt as isCompanion, C as TestClockTag, Ct as TaskFailure, D as RIO, Dt as TaskResult, E as InterruptedError, Et as TaskParams, F as Exit, Ft as Match, G as Kind, Gt as ISO8601Date, H as Identity, Ht as BoundedNumber, I as ExitTag, It as UntypedMatch, J as TryKind, Jt as NonNegativeNumber, K as ListKind, Kt as IntegerNumber, L as Context, Lt as Cond, M as LayerError, Mt as Throwable, N as LayerInput, Nt as ThrowableType, O as Task, Ot as TaskSuccess, P as LayerOutput, Pt as Base, Q as FormValidation, Qt as UUID, R as ContextServices, Rt as CompanionMethods, S as TestClock, St as Task$1, T as IO, Tt as TaskOutcome, U as EitherKind, Ut as BoundedString, V as TagService, Vt as Companion, W as HKT, Wt as EmailAddress, X as FoldableUtils, Xt as PositiveInteger, Y as UniversalContainer, Yt as PatternString, Z as FieldValidation, Zt as PositiveNumber, _ as MatchableUtils, _t as CancellationTokenSource, a as Stack, an as AsyncMonad, at as TypedError, b as Traversable, bt as Sync, c as SerializationResult, cn as CollectionOps, ct as ErrorFormatterOptions, d as createSerializer, dn as Extractable, dt as createErrorSerializer, en as ValidatedBrand, et as ValidationRule, f as fromBinary, fn as isExtractable, ft as formatError, g as Matchable, gt as CancellationToken, h as Ref, hn as ParseError, ht as Async, i as Collection, in as Applicative, it as ErrorStatus, j as Layer, jt as NAME, k as TimeoutError, kt as createCancellationTokenSource, l as createCustomSerializer, ln as ContainerOps, lt as ErrorWithTaskInfo, m as fromYAML, mn as Doable, mt as safeStringify, n as FunctypeBase, nt as ErrorCode, o as Valuable, on as Functor, ot as TypedErrorContext, p as fromJSON, pn as DoResult, pt as formatStackTrace, q as OptionKind, qt as NonEmptyString, r as FunctypeCollection, rn as Promisable, rt as ErrorMessage, s as ValuableParams, sn as Monad, st as ErrorChainElement, t as Functype, tn as ValidatedBrandCompanion, tt as Validator, u as createSerializationCompanion, un as LazyList, ut as TaskErrorInfo, v as ESMap, vt as Err, w as TestContext, wt as TaskMetadata, x as Lazy, xt as TaggedThrowable, y as ESMapType, yt as Ok, z as HasService, zt as InstanceType } from "./Functype-Boat1fLo.js";
|
|
3
|
+
import { a as Serializable, c as Foldable, i as isTypeable, l as Type, n as Typeable, o as SerializationMethods, r as TypeableParams, s as Pipe, t as ExtractTag } from "./Typeable-lfO2nRVW.js";
|
|
4
4
|
import { Try, TypeNames } from "./try/index.js";
|
|
5
5
|
import { Tuple } from "./tuple/index.js";
|
|
6
6
|
import { Map, SafeTraversable } from "./map/index.js";
|
package/dist/list/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { mn as Doable, nn as Reshapeable, r as FunctypeCollection } from "../Functype-
|
|
2
|
-
import { l as Type, n as Typeable } from "../Typeable-
|
|
1
|
+
import { mn as Doable, nn as Reshapeable, r as FunctypeCollection } from "../Functype-Boat1fLo.js";
|
|
2
|
+
import { l as Type, n as Typeable } from "../Typeable-lfO2nRVW.js";
|
|
3
3
|
import { Option } from "../option/index.js";
|
|
4
4
|
|
|
5
5
|
//#region src/list/List.d.ts
|
package/dist/map/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as Traversable, i as Collection } from "../Functype-
|
|
2
|
-
import { a as Serializable, c as Foldable, l as Type, n as Typeable, s as Pipe } from "../Typeable-
|
|
1
|
+
import { b as Traversable, i as Collection } from "../Functype-Boat1fLo.js";
|
|
2
|
+
import { a as Serializable, c as Foldable, l as Type, n as Typeable, s as Pipe } from "../Typeable-lfO2nRVW.js";
|
|
3
3
|
import { Tuple } from "../tuple/index.js";
|
|
4
4
|
import { Option } from "../option/index.js";
|
|
5
5
|
|
package/dist/option/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { mn as Doable, nn as Reshapeable, rn as Promisable, t as Functype } from "../Functype-
|
|
2
|
-
import { l as Type } from "../Typeable-
|
|
1
|
+
import { mn as Doable, nn as Reshapeable, rn as Promisable, t as Functype } from "../Functype-Boat1fLo.js";
|
|
2
|
+
import { l as Type } from "../Typeable-lfO2nRVW.js";
|
|
3
3
|
import { List } from "../list/index.js";
|
|
4
4
|
import { Either } from "../either/index.js";
|
|
5
5
|
|
package/dist/set/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as Collection, r as FunctypeCollection } from "../Functype-
|
|
2
|
-
import { l as Type } from "../Typeable-
|
|
1
|
+
import { i as Collection, r as FunctypeCollection } from "../Functype-Boat1fLo.js";
|
|
2
|
+
import { l as Type } from "../Typeable-lfO2nRVW.js";
|
|
3
3
|
import { List } from "../list/index.js";
|
|
4
4
|
|
|
5
5
|
//#region src/set/Set.d.ts
|
package/dist/try/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { dn as Extractable, mn as Doable, n as FunctypeBase, nn as Reshapeable, rn as Promisable } from "../Functype-
|
|
2
|
-
import { l as Type, s as Pipe } from "../Typeable-
|
|
1
|
+
import { dn as Extractable, mn as Doable, n as FunctypeBase, nn as Reshapeable, rn as Promisable } from "../Functype-Boat1fLo.js";
|
|
2
|
+
import { l as Type, s as Pipe } from "../Typeable-lfO2nRVW.js";
|
|
3
3
|
import { Option } from "../option/index.js";
|
|
4
4
|
import { List } from "../list/index.js";
|
|
5
5
|
import { Either } from "../either/index.js";
|
package/dist/tuple/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Serializable, c as Foldable, l as Type, n as Typeable, s as Pipe } from "../Typeable-
|
|
1
|
+
import { a as Serializable, c as Foldable, l as Type, n as Typeable, s as Pipe } from "../Typeable-lfO2nRVW.js";
|
|
2
2
|
|
|
3
3
|
//#region src/tuple/Tuple.d.ts
|
|
4
4
|
interface Tuple<T extends Type[]> extends Foldable<T[number]>, Pipe<Tuple<T>>, Serializable<Tuple<T>>, Typeable<"Tuple"> {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "functype",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.47.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A functional programming library for TypeScript, using immutable data structures and type classes",
|
|
6
6
|
"author": "jordan.burke@gmail.com",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"scripts": {
|
|
15
15
|
"validate": "ts-builds validate",
|
|
16
16
|
"validate:core": "ts-builds validate:core",
|
|
17
|
-
"validate:
|
|
17
|
+
"validate:site": "ts-builds validate:site",
|
|
18
18
|
"format": "ts-builds format",
|
|
19
19
|
"format:check": "ts-builds format:check",
|
|
20
20
|
"lint": "ts-builds lint",
|
|
@@ -38,22 +38,22 @@
|
|
|
38
38
|
"docs:sync": "tsx scripts/sync-docs.ts",
|
|
39
39
|
"docs:validate": "ts-builds docs:validate",
|
|
40
40
|
"analyze:size": "pnpm build && node ./scripts/analyze-bundle-size.js",
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
41
|
+
"site:dev": "cd site && pnpm dev",
|
|
42
|
+
"site:build": "cd site && pnpm build",
|
|
43
|
+
"site:preview": "cd site && pnpm preview",
|
|
44
44
|
"cli-example": "npx . Option"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@eslint/compat": "^2.0.2",
|
|
48
|
-
"@types/node": "~24.10.
|
|
49
|
-
"eslint-config-functype": "
|
|
50
|
-
"eslint-plugin-functional": "^9.0.
|
|
48
|
+
"@types/node": "~24.10.13",
|
|
49
|
+
"eslint-config-functype": "2.0.0",
|
|
50
|
+
"eslint-plugin-functional": "^9.0.4",
|
|
51
51
|
"fast-check": "^4.5.3",
|
|
52
52
|
"globals": "^17.3.0",
|
|
53
|
-
"ts-builds": "^2.
|
|
53
|
+
"ts-builds": "^2.4.1",
|
|
54
54
|
"tsdown": "^0.20.3",
|
|
55
55
|
"tsx": "^4.21.0",
|
|
56
|
-
"typedoc": "^0.28.
|
|
56
|
+
"typedoc": "^0.28.17"
|
|
57
57
|
},
|
|
58
58
|
"types": "./dist/index.d.ts",
|
|
59
59
|
"module": "./dist/index.js",
|
|
@@ -63,6 +63,11 @@
|
|
|
63
63
|
"import": "./dist/index.js",
|
|
64
64
|
"default": "./dist/index.js"
|
|
65
65
|
},
|
|
66
|
+
"./cli": {
|
|
67
|
+
"types": "./dist/cli/exports.d.ts",
|
|
68
|
+
"import": "./dist/cli/exports.js",
|
|
69
|
+
"default": "./dist/cli/exports.js"
|
|
70
|
+
},
|
|
66
71
|
"./option": {
|
|
67
72
|
"types": "./dist/option/index.d.ts",
|
|
68
73
|
"import": "./dist/option/index.js",
|
|
@@ -164,5 +169,5 @@
|
|
|
164
169
|
"safe-stable-stringify": "^2.5.0"
|
|
165
170
|
},
|
|
166
171
|
"sideEffects": false,
|
|
167
|
-
"packageManager": "pnpm@10.
|
|
172
|
+
"packageManager": "pnpm@10.30.2+sha512.36cdc707e7b7940a988c9c1ecf88d084f8514b5c3f085f53a2e244c2921d3b2545bc20dd4ebe1fc245feec463bb298aecea7a63ed1f7680b877dc6379d8d0cb4"
|
|
168
173
|
}
|
|
File without changes
|