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/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-Dc440LS5.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-E4-aX9Gc.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-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";
@@ -1,5 +1,5 @@
1
- import { mn as Doable, nn as Reshapeable, r as FunctypeCollection } from "../Functype-Dc440LS5.js";
2
- import { l as Type, n as Typeable } from "../Typeable-E4-aX9Gc.js";
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
@@ -1,5 +1,5 @@
1
- import { b as Traversable, i as Collection } from "../Functype-Dc440LS5.js";
2
- import { a as Serializable, c as Foldable, l as Type, n as Typeable, s as Pipe } from "../Typeable-E4-aX9Gc.js";
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
 
@@ -1,5 +1,5 @@
1
- import { mn as Doable, nn as Reshapeable, rn as Promisable, t as Functype } from "../Functype-Dc440LS5.js";
2
- import { l as Type } from "../Typeable-E4-aX9Gc.js";
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
 
@@ -1,5 +1,5 @@
1
- import { i as Collection, r as FunctypeCollection } from "../Functype-Dc440LS5.js";
2
- import { l as Type } from "../Typeable-E4-aX9Gc.js";
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
@@ -1,5 +1,5 @@
1
- import { dn as Extractable, mn as Doable, n as FunctypeBase, nn as Reshapeable, rn as Promisable } from "../Functype-Dc440LS5.js";
2
- import { l as Type, s as Pipe } from "../Typeable-E4-aX9Gc.js";
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";
@@ -1,4 +1,4 @@
1
- import { a as Serializable, c as Foldable, l as Type, n as Typeable, s as Pipe } from "../Typeable-E4-aX9Gc.js";
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.46.2",
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:landing": "ts-builds validate:landing",
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
- "landing:dev": "cd landing && pnpm dev",
42
- "landing:build": "cd landing && pnpm build",
43
- "landing:preview": "cd landing && pnpm preview",
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.11",
49
- "eslint-config-functype": "1.3.0",
50
- "eslint-plugin-functional": "^9.0.2",
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.3.2",
53
+ "ts-builds": "^2.4.1",
54
54
  "tsdown": "^0.20.3",
55
55
  "tsx": "^4.21.0",
56
- "typedoc": "^0.28.16"
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.28.2+sha512.41872f037ad22f7348e3b1debbaf7e867cfd448f2726d9cf74c08f19507c31d2c8e7a11525b983febc2df640b5438dee6023ebb1f84ed43cc2d654d2bc326264"
172
+ "packageManager": "pnpm@10.30.2+sha512.36cdc707e7b7940a988c9c1ecf88d084f8514b5c3f085f53a2e244c2921d3b2545bc20dd4ebe1fc245feec463bb298aecea7a63ed1f7680b877dc6379d8d0cb4"
168
173
  }