functype 0.8.32 → 0.8.34
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/README.md +23 -1
- package/dist/{chunk-ETU42J57.js → chunk-AIYLBUQO.js} +1 -1
- package/dist/{chunk-JJLIOHWZ.mjs → chunk-HSSHSCKD.mjs} +1 -1
- package/dist/collections/index.d.mts +4 -3
- package/dist/collections/index.d.ts +4 -3
- package/dist/core/task/Task.d.mts +2 -1
- package/dist/core/task/Task.d.ts +2 -1
- package/dist/core/task/Task.js +1 -1
- package/dist/core/task/Task.mjs +1 -1
- package/dist/either/Either.d.mts +3 -2
- package/dist/either/Either.d.ts +3 -2
- package/dist/either/Either.js +1 -1
- package/dist/either/Either.mjs +1 -1
- package/dist/{index-D2YBcdXR.d.mts → index-d37-44E9.d.mts} +3 -1
- package/dist/{index-BT9-eytr.d.ts → index-w6bBTfvr.d.ts} +3 -1
- package/dist/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/iterable/Seq.d.mts +3 -2
- package/dist/iterable/Seq.d.ts +3 -2
- package/dist/iterable/Seq.js +1 -1
- package/dist/iterable/Seq.mjs +1 -1
- package/dist/iterable/index.d.mts +4 -3
- package/dist/iterable/index.d.ts +4 -3
- package/dist/iterable/index.js +1 -1
- package/dist/iterable/index.mjs +1 -1
- package/dist/list/List.d.mts +3 -2
- package/dist/list/List.d.ts +3 -2
- package/dist/list/List.js +1 -1
- package/dist/list/List.mjs +1 -1
- package/dist/map/Map.d.mts +4 -3
- package/dist/map/Map.d.ts +4 -3
- package/dist/map/Map.js +1 -1
- package/dist/map/Map.mjs +1 -1
- package/dist/option/Option.d.mts +3 -2
- package/dist/option/Option.d.ts +3 -2
- package/dist/option/Option.js +1 -1
- package/dist/option/Option.mjs +1 -1
- package/dist/set/Set.d.mts +4 -3
- package/dist/set/Set.d.ts +4 -3
- package/dist/set/Set.js +1 -1
- package/dist/set/Set.mjs +1 -1
- package/dist/try/Try.d.mts +3 -2
- package/dist/try/Try.d.ts +3 -2
- package/dist/try/Try.js +1 -1
- package/dist/try/Try.mjs +1 -1
- package/dist/util/index.d.mts +4 -3
- package/dist/util/index.d.ts +4 -3
- package/dist/util/index.js +1 -1
- package/dist/util/index.mjs +1 -1
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
# functype
|
|
2
2
|
|
|
3
|
-
A small functional library for TypeScript inspired by Scala Standard Library
|
|
3
|
+
A small functional library for TypeScript inspired by FP, Scala Standard Library, and ZIO
|
|
4
|
+
|
|
5
|
+

|
|
4
6
|
|
|
5
7
|
[](https://github.com/jordanburke/functype/actions/workflows/pnpm-build.yml)
|
|
6
8
|
|
|
9
|
+
# Functype - A Functional Library for TypeScript
|
|
10
|
+
|
|
11
|
+
Functype is a functional programming library for TypeScript, inspired by FP, Scala's standard library and ZIO. It offers a collection of utilities and abstractions to facilitate functional programming paradigms within TypeScript applications. The library is designed to provide developers with tools that promote immutability, pure functions, and composability, aligning with functional programming principles.
|
|
12
|
+
|
|
13
|
+
## Key Features
|
|
14
|
+
|
|
15
|
+
- **Functional Utilities:** Functype includes a variety of functions and combinators that assist in writing functional code, such as `map`, `filter`, and `reduce` operations tailored for TypeScript.
|
|
16
|
+
|
|
17
|
+
- **Type Safety:** Leveraging TypeScript's type system, Functype ensures that functional operations are type-safe, reducing runtime errors and enhancing code reliability.
|
|
18
|
+
|
|
19
|
+
- **Immutability Support:** The library emphasizes immutable data structures, encouraging developers to write predictable and side-effect-free code.
|
|
20
|
+
|
|
21
|
+
- **Type Orientation:** Functype encourages TypeScript developers to adopt functional programming principles through type annotations and type inference.
|
|
22
|
+
|
|
23
|
+
- **Composability:** Functype provides a collection of abstractions and utilities for composing complex functional programs.
|
|
24
|
+
|
|
7
25
|
## Installation
|
|
8
26
|
|
|
9
27
|
You can install `functype` using any package manager:
|
|
@@ -19,3 +37,7 @@ pnpm install functype
|
|
|
19
37
|
```bash
|
|
20
38
|
yarn install functype
|
|
21
39
|
```
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
bun install functype
|
|
43
|
+
```
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunkOXLZ6UIZjs = require('./chunk-OXLZ6UIZ.js');var _chunkBNNK42JCjs = require('./chunk-BNNK42JC.js');var _chunkSQWNJC6Ojs = require('./chunk-SQWNJC6O.js');var _chunk2U34DUZUjs = require('./chunk-2U34DUZU.js');var _chunk5VTXJIR3js = require('./chunk-5VTXJIR3.js');var _chunk3VJERXBPjs = require('./chunk-3VJERXBP.js');var _safestablestringify = require('safe-stable-stringify'); var _safestablestringify2 = _interopRequireDefault(_safestablestringify);var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunkOXLZ6UIZjs = require('./chunk-OXLZ6UIZ.js');var _chunkBNNK42JCjs = require('./chunk-BNNK42JC.js');var _chunkSQWNJC6Ojs = require('./chunk-SQWNJC6O.js');var _chunk2U34DUZUjs = require('./chunk-2U34DUZU.js');var _chunk5VTXJIR3js = require('./chunk-5VTXJIR3.js');var _chunk3VJERXBPjs = require('./chunk-3VJERXBP.js');var _safestablestringify = require('safe-stable-stringify'); var _safestablestringify2 = _interopRequireDefault(_safestablestringify);var c=e=>{let t=_chunkBNNK42JCjs.a.call(void 0, e)?e:e instanceof Object&&"toArray"in e?e.toArray():[],r=Array.from(t),l="Seq";return{[Symbol.iterator]:()=>r[Symbol.iterator](),get length(){return r.length},_tag:l,map:o=>c(r.map(o)),flatMap:o=>c(r.flatMap(n=>o(n).toArray())),forEach:o=>r.forEach(o),count:o=>r.filter(o).length,exists:o=>r.some(o),filter:o=>c(r.filter(o)),filterNot:o=>c(r.filter(n=>!o(n))),find:o=>L(r.find(o)),get head(){return r[0]},get headOption(){return r.length>0?L(r[0]):A()},get isEmpty(){return r.length===0},get size(){return r.length},toArray:()=>[...r],reduce:o=>r.reduce(o),reduceRight:o=>r.reduceRight(o),foldLeft:o=>n=>r.reduce(n,o),foldRight:o=>n=>r.reduceRight((u,S)=>n(S,u),o),toString:()=>`Seq(${_safestablestringify2.default.call(void 0, e)})`,toValue:()=>({_tag:l,value:r})}},f= exports.e =e=>c(e);var R=e=>{let t=_chunkBNNK42JCjs.a.call(void 0, e)?new (0, _chunk3VJERXBPjs.a)(e):new (0, _chunk3VJERXBPjs.a)(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _2 => _2.toArray, 'call', _3 => _3()]), () => ([]))),r=f(t),l={...r,add:o=>R([...t,o]),remove:o=>{let n=new (0, _chunk3VJERXBPjs.a)(t);return n.delete(o),R(n)},contains:o=>t.has(o),has:o=>t.has(o),map:o=>R(r.map(o)),flatMap:o=>R(r.flatMap(o)),toList:()=>T(t),toSet:()=>l,toString:()=>`Set(${Array.from(t).toString()})`};return l},b= exports.f =e=>R(e);var d=e=>{function t(n){return n!=null&&typeof n[Symbol.iterator]=="function"}let r=Array.isArray(e)?e:t(e)?Array.from(e):[],l=f(r),o={...l,_tag:"List",length:r.length,map:n=>d(r.map(n)),flatMap:n=>d(l.flatMap(n)),remove:n=>{let u=r.indexOf(n);return o.removeAt(u)},contains:n=>r.includes(n),add:n=>d([...r,n]),removeAt:n=>n<0||n>=r.length?o:d([...r.slice(0,n),...r.slice(n+1)]),get:n=>L(r[n]),concat:n=>d([...r,...n.toArray()]),toList:()=>o,toSet:()=>b(r),toValue:()=>({_tag:"List",value:r}),toString:()=>`List(${_safestablestringify2.default.call(void 0, T(r))})`};return new Proxy(o,{get(n,u){return typeof u=="symbol"||isNaN(Number(u))?n[u]:n.get(Number(u))}})},T= exports.g =e=>d(e),W= exports.h =e=>d(e);console.assert(W);var K=e=>({_tag:"Right",value:e,isLeft:()=>!1,isRight:()=>!0,getOrElse:t=>e,getOrThrow:()=>e,map:t=>s(t(e)),mapAsync:t=>t(e).then(r=>s(r)).catch(r=>Promise.resolve(a(r))),merge:t=>t.isLeft()?a(t.value):s([e,t.value]),flatMap:t=>t(e),flatMapAsync:t=>t(e).catch(r=>a(r)),toOption:()=>y(e),toList:()=>T([e]),toString:()=>`Right(${_safestablestringify2.default.call(void 0, e)})`,[Symbol.iterator]:function*(){yield e},yield:function*(){yield e},traverse:t=>{let r=t(e);return r.isLeft()?a(r.value):s([r.value])},lazyMap:function*(t){yield s(t(e))},tap:t=>(t(e),s(e)),tapLeft:t=>s(e),mapLeft:t=>s(e),bimap:(t,r)=>s(r(e)),fold:(t,r)=>r(e),swap:()=>a(e),then:(t,r)=>Promise.resolve(e).then(t,r)}),I=e=>({_tag:"Left",value:e,isLeft:()=>!0,isRight:()=>!1,getOrElse:t=>t,getOrThrow:()=>{throw e},map:t=>a(e),mapAsync:t=>Promise.resolve(a(e)),merge:t=>a(e),flatMap:t=>a(e),flatMapAsync:t=>Promise.resolve(a(e)),toOption:()=>A(),toList:()=>T(),toString:()=>`Left(${_safestablestringify2.default.call(void 0, e)})`,[Symbol.iterator]:function*(){},yield:function*(){},traverse:t=>a(e),lazyMap:function*(t){yield a(e)},tap:t=>a(e),tapLeft:t=>(t(e),a(e)),mapLeft:t=>a(t(e)),bimap:(t,r)=>a(t(e)),fold:(t,r)=>t(e),swap:()=>s(e),then:(t,r)=>Promise.reject(e).then(null,r)}),s= exports.i =e=>K(e),a= exports.j =e=>I(e),ve= exports.k =e=>e.isRight(),Ve= exports.l =e=>e.isLeft(),Oe= exports.m =(e,t)=>{try{return s(e())}catch(r){return a(t(r))}},X= exports.n =e=>K(e);console.assert(X);var Y=e=>I(e);console.assert(Y);var we=async(e,t)=>{try{let r=await e();return s(r)}catch(r){return a(t(r))}},Z= exports.q ={sequence:e=>{let t=[];for(let r of e){if(r.isLeft())return a(r.value);t.push(r.value)}return s(t)},traverse:(e,t)=>Z.sequence(e.map(t)),fromNullable:(e,t)=>e==null?a(t):s(e),fromPredicate:(e,t,r)=>t(e)?s(e):a(r),ap:(e,t)=>e.flatMap(r=>t.map(r)),fromPromise:async(e,t)=>{try{let r=await e;return s(r)}catch(r){return a(t(r))}}};var U=(e,t)=>{let r=_chunk2U34DUZUjs.a.call(void 0, e,t);return{..._chunkSQWNJC6Ojs.a.call(void 0, "AppException"),...a(r)}},B= exports.s =e=>({..._chunkSQWNJC6Ojs.a.call(void 0, "AppResult"),...s(e)});function M(e,t=r=>r){try{return B(e())}catch(r){return U(t(r))}}M.success=e=>B(e);M.fail=e=>U(e);async function k(e,t=r=>r){try{let r=await e();return B(r)}catch(r){let l=await t(r);return U(l)}}k.success=e=>B(e);k.fail=e=>U(e);var m=e=>{let t={values:new (0, _chunk5VTXJIR3js.a)(e)},r=()=>Array.from(t.values.entries()).map(([i,p])=>_chunkOXLZ6UIZjs.a.call(void 0, [i,p])),l=i=>m(new (0, _chunk5VTXJIR3js.a)(t.values).set(i.toArray()[0],i.toArray()[1]).entries()),o=i=>{let p=new (0, _chunk5VTXJIR3js.a)(t.values);return p.delete(i)?m(p.entries()):m(t.values.entries())},n=i=>t.values.get(i[0])===i[1],u=()=>t.values.size,S=i=>m(Array.from(t.values.entries()).map(([p,H])=>[p,i(H)])),z=i=>{let p=m(t.values.entries()).toList();return m(p.flatMap(i).toArray())},N=i=>f(r()).reduce(i),F=i=>f(r()).reduceRight(i),C=i=>p=>f(r()).foldLeft(i)(p),$=i=>p=>f(r()).foldRight(i)(p),j=i=>L(t.values.get(i)),G=(i,p)=>L(t.values.get(i)).getOrElse(p),D=()=>t.values.size===0;return{add:l,remove:o,contains:n,get size(){return u()},map:S,flatMap:z,reduce:N,reduceRight:F,foldLeft:C,foldRight:$,get:j,getOrElse:G,get isEmpty(){return D()},orElse:(i,p)=>L(t.values.get(i)).orElse(p),toList:()=>T(r()),toSet:()=>b(r()),toString:()=>`Map(${r().toString()})`}},He= exports.v =e=>m(e);var q=e=>({_tag:"Success",value:e,error:void 0,isSuccess:()=>!0,isFailure:()=>!1,get:()=>e,getOrElse:t=>e,orElse:t=>q(e),orThrow:t=>e,toEither:()=>s(e),map:t=>ee(()=>t(e)),flatMap:t=>t(e),toString:()=>`Success(${_safestablestringify2.default.call(void 0, e)})`}),v=e=>({_tag:"Failure",value:void 0,error:e,isSuccess:()=>!1,isFailure:()=>!0,get:()=>{throw e},getOrElse:t=>t,orElse:t=>t,orThrow:t=>{throw t},toEither:()=>a(e),map:t=>v(e),flatMap:t=>v(e),toString:()=>`Failure(${_safestablestringify2.default.call(void 0, e)}))`}),ee= exports.w =e=>{try{return q(e())}catch(t){return v(t instanceof Error?t:new Error(String(t)))}};var y=e=>({_tag:"Some",value:e,isEmpty:!1,get:()=>e,getOrElse:()=>e,getOrThrow:()=>e,orElse:()=>y(e),map:t=>y(t(e)),filter(t){return t(e)?y(e):h},flatMap:t=>t(e),reduce:t=>t(void 0,e),reduceRight:t=>t(void 0,e),foldLeft:t=>r=>r(t,e),foldRight:t=>r=>r(e,t),toList:()=>T([e]),contains:t=>t===e,size:1,toEither:t=>s(e),toString:()=>`Some(${_safestablestringify2.default.call(void 0, e)})`,toValue:()=>({_tag:"Some",value:e})}),h={_tag:"None",value:void 0,isEmpty:!0,get:()=>{throw new Error("Cannot call get() on None")},getOrElse:e=>e,getOrThrow(e){throw e},orElse:e=>e,map:e=>h,filter(e){return h},flatMap:e=>h,reduce:()=>{},reduceRight:()=>{},foldLeft:e=>()=>e,foldRight:e=>()=>e,toList:()=>T([]),contains:()=>!1,size:0,toEither:e=>a(e),toString:()=>"None",toValue:()=>({_tag:"None",value:void 0})},A= exports.b =()=>h,L= exports.c =e=>e!=null?y(e):A();exports.a = y; exports.b = A; exports.c = L; exports.d = c; exports.e = f; exports.f = b; exports.g = T; exports.h = W; exports.i = s; exports.j = a; exports.k = ve; exports.l = Ve; exports.m = Oe; exports.n = X; exports.o = Y; exports.p = we; exports.q = Z; exports.r = U; exports.s = B; exports.t = M; exports.u = k; exports.v = He; exports.w = ee;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as O}from"./chunk-2I2NKDFN.mjs";import{a as
|
|
1
|
+
import{a as O}from"./chunk-2I2NKDFN.mjs";import{a as g}from"./chunk-RRAIFS3D.mjs";import{a as _}from"./chunk-JF5YGNCO.mjs";import{a as V}from"./chunk-HD6YYUHO.mjs";import{a as E}from"./chunk-377WQNCB.mjs";import{a as x}from"./chunk-HA5XD5KC.mjs";import te from"safe-stable-stringify";import w from"safe-stable-stringify";import Q from"safe-stable-stringify";import J from"safe-stable-stringify";var c=e=>{let t=g(e)?e:e instanceof Object&&"toArray"in e?e.toArray():[],r=Array.from(t),l="Seq";return{[Symbol.iterator]:()=>r[Symbol.iterator](),get length(){return r.length},_tag:l,map:o=>c(r.map(o)),flatMap:o=>c(r.flatMap(n=>o(n).toArray())),forEach:o=>r.forEach(o),count:o=>r.filter(o).length,exists:o=>r.some(o),filter:o=>c(r.filter(o)),filterNot:o=>c(r.filter(n=>!o(n))),find:o=>L(r.find(o)),get head(){return r[0]},get headOption(){return r.length>0?L(r[0]):A()},get isEmpty(){return r.length===0},get size(){return r.length},toArray:()=>[...r],reduce:o=>r.reduce(o),reduceRight:o=>r.reduceRight(o),foldLeft:o=>n=>r.reduce(n,o),foldRight:o=>n=>r.reduceRight((u,S)=>n(S,u),o),toString:()=>`Seq(${J(e)})`,toValue:()=>({_tag:l,value:r})}},f=e=>c(e);var R=e=>{let t=g(e)?new x(e):new x(e?.toArray()??[]),r=f(t),l={...r,add:o=>R([...t,o]),remove:o=>{let n=new x(t);return n.delete(o),R(n)},contains:o=>t.has(o),has:o=>t.has(o),map:o=>R(r.map(o)),flatMap:o=>R(r.flatMap(o)),toList:()=>T(t),toSet:()=>l,toString:()=>`Set(${Array.from(t).toString()})`};return l},b=e=>R(e);var d=e=>{function t(n){return n!=null&&typeof n[Symbol.iterator]=="function"}let r=Array.isArray(e)?e:t(e)?Array.from(e):[],l=f(r),o={...l,_tag:"List",length:r.length,map:n=>d(r.map(n)),flatMap:n=>d(l.flatMap(n)),remove:n=>{let u=r.indexOf(n);return o.removeAt(u)},contains:n=>r.includes(n),add:n=>d([...r,n]),removeAt:n=>n<0||n>=r.length?o:d([...r.slice(0,n),...r.slice(n+1)]),get:n=>L(r[n]),concat:n=>d([...r,...n.toArray()]),toList:()=>o,toSet:()=>b(r),toValue:()=>({_tag:"List",value:r}),toString:()=>`List(${Q(T(r))})`};return new Proxy(o,{get(n,u){return typeof u=="symbol"||isNaN(Number(u))?n[u]:n.get(Number(u))}})},T=e=>d(e),W=e=>d(e);console.assert(W);var K=e=>({_tag:"Right",value:e,isLeft:()=>!1,isRight:()=>!0,getOrElse:t=>e,getOrThrow:()=>e,map:t=>s(t(e)),mapAsync:t=>t(e).then(r=>s(r)).catch(r=>Promise.resolve(a(r))),merge:t=>t.isLeft()?a(t.value):s([e,t.value]),flatMap:t=>t(e),flatMapAsync:t=>t(e).catch(r=>a(r)),toOption:()=>y(e),toList:()=>T([e]),toString:()=>`Right(${w(e)})`,[Symbol.iterator]:function*(){yield e},yield:function*(){yield e},traverse:t=>{let r=t(e);return r.isLeft()?a(r.value):s([r.value])},lazyMap:function*(t){yield s(t(e))},tap:t=>(t(e),s(e)),tapLeft:t=>s(e),mapLeft:t=>s(e),bimap:(t,r)=>s(r(e)),fold:(t,r)=>r(e),swap:()=>a(e),then:(t,r)=>Promise.resolve(e).then(t,r)}),I=e=>({_tag:"Left",value:e,isLeft:()=>!0,isRight:()=>!1,getOrElse:t=>t,getOrThrow:()=>{throw e},map:t=>a(e),mapAsync:t=>Promise.resolve(a(e)),merge:t=>a(e),flatMap:t=>a(e),flatMapAsync:t=>Promise.resolve(a(e)),toOption:()=>A(),toList:()=>T(),toString:()=>`Left(${w(e)})`,[Symbol.iterator]:function*(){},yield:function*(){},traverse:t=>a(e),lazyMap:function*(t){yield a(e)},tap:t=>a(e),tapLeft:t=>(t(e),a(e)),mapLeft:t=>a(t(e)),bimap:(t,r)=>a(t(e)),fold:(t,r)=>t(e),swap:()=>s(e),then:(t,r)=>Promise.reject(e).then(null,r)}),s=e=>K(e),a=e=>I(e),ve=e=>e.isRight(),Ve=e=>e.isLeft(),Oe=(e,t)=>{try{return s(e())}catch(r){return a(t(r))}},X=e=>K(e);console.assert(X);var Y=e=>I(e);console.assert(Y);var we=async(e,t)=>{try{let r=await e();return s(r)}catch(r){return a(t(r))}},Z={sequence:e=>{let t=[];for(let r of e){if(r.isLeft())return a(r.value);t.push(r.value)}return s(t)},traverse:(e,t)=>Z.sequence(e.map(t)),fromNullable:(e,t)=>e==null?a(t):s(e),fromPredicate:(e,t,r)=>t(e)?s(e):a(r),ap:(e,t)=>e.flatMap(r=>t.map(r)),fromPromise:async(e,t)=>{try{let r=await e;return s(r)}catch(r){return a(t(r))}}};var U=(e,t)=>{let r=V(e,t);return{..._("AppException"),...a(r)}},B=e=>({..._("AppResult"),...s(e)});function M(e,t=r=>r){try{return B(e())}catch(r){return U(t(r))}}M.success=e=>B(e);M.fail=e=>U(e);async function k(e,t=r=>r){try{let r=await e();return B(r)}catch(r){let l=await t(r);return U(l)}}k.success=e=>B(e);k.fail=e=>U(e);var m=e=>{let t={values:new E(e)},r=()=>Array.from(t.values.entries()).map(([i,p])=>O([i,p])),l=i=>m(new E(t.values).set(i.toArray()[0],i.toArray()[1]).entries()),o=i=>{let p=new E(t.values);return p.delete(i)?m(p.entries()):m(t.values.entries())},n=i=>t.values.get(i[0])===i[1],u=()=>t.values.size,S=i=>m(Array.from(t.values.entries()).map(([p,H])=>[p,i(H)])),z=i=>{let p=m(t.values.entries()).toList();return m(p.flatMap(i).toArray())},N=i=>f(r()).reduce(i),F=i=>f(r()).reduceRight(i),C=i=>p=>f(r()).foldLeft(i)(p),$=i=>p=>f(r()).foldRight(i)(p),j=i=>L(t.values.get(i)),G=(i,p)=>L(t.values.get(i)).getOrElse(p),D=()=>t.values.size===0;return{add:l,remove:o,contains:n,get size(){return u()},map:S,flatMap:z,reduce:N,reduceRight:F,foldLeft:C,foldRight:$,get:j,getOrElse:G,get isEmpty(){return D()},orElse:(i,p)=>L(t.values.get(i)).orElse(p),toList:()=>T(r()),toSet:()=>b(r()),toString:()=>`Map(${r().toString()})`}},He=e=>m(e);import P from"safe-stable-stringify";var q=e=>({_tag:"Success",value:e,error:void 0,isSuccess:()=>!0,isFailure:()=>!1,get:()=>e,getOrElse:t=>e,orElse:t=>q(e),orThrow:t=>e,toEither:()=>s(e),map:t=>ee(()=>t(e)),flatMap:t=>t(e),toString:()=>`Success(${P(e)})`}),v=e=>({_tag:"Failure",value:void 0,error:e,isSuccess:()=>!1,isFailure:()=>!0,get:()=>{throw e},getOrElse:t=>t,orElse:t=>t,orThrow:t=>{throw t},toEither:()=>a(e),map:t=>v(e),flatMap:t=>v(e),toString:()=>`Failure(${P(e)}))`}),ee=e=>{try{return q(e())}catch(t){return v(t instanceof Error?t:new Error(String(t)))}};var y=e=>({_tag:"Some",value:e,isEmpty:!1,get:()=>e,getOrElse:()=>e,getOrThrow:()=>e,orElse:()=>y(e),map:t=>y(t(e)),filter(t){return t(e)?y(e):h},flatMap:t=>t(e),reduce:t=>t(void 0,e),reduceRight:t=>t(void 0,e),foldLeft:t=>r=>r(t,e),foldRight:t=>r=>r(e,t),toList:()=>T([e]),contains:t=>t===e,size:1,toEither:t=>s(e),toString:()=>`Some(${te(e)})`,toValue:()=>({_tag:"Some",value:e})}),h={_tag:"None",value:void 0,isEmpty:!0,get:()=>{throw new Error("Cannot call get() on None")},getOrElse:e=>e,getOrThrow(e){throw e},orElse:e=>e,map:e=>h,filter(e){return h},flatMap:e=>h,reduce:()=>{},reduceRight:()=>{},foldLeft:e=>()=>e,foldRight:e=>()=>e,toList:()=>T([]),contains:()=>!1,size:0,toEither:e=>a(e),toString:()=>"None",toValue:()=>({_tag:"None",value:void 0})},A=()=>h,L=e=>e!=null?y(e):A();export{y as a,A as b,L as c,c as d,f as e,b as f,T as g,W as h,s as i,a as j,ve as k,Ve as l,Oe as m,X as n,Y as o,we as p,Z as q,U as r,B as s,M as t,k as u,He as v,ee as w};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export { d as Collection, C as Converters } from '../index-
|
|
1
|
+
export { d as Collection, C as Converters } from '../index-d37-44E9.mjs';
|
|
2
2
|
import '../functor/index.mjs';
|
|
3
|
+
import '../core/base/Base.mjs';
|
|
4
|
+
import '../core/error/Throwable.mjs';
|
|
5
|
+
import '../typeable/Typeable.mjs';
|
|
3
6
|
import '../identity/Identity.mjs';
|
|
4
7
|
import '../tuple/Tuple.mjs';
|
|
5
|
-
import '../typeable/Typeable.mjs';
|
|
6
8
|
import '../valuable/Valuable.mjs';
|
|
7
|
-
import '../core/error/Throwable.mjs';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export { d as Collection, C as Converters } from '../index-
|
|
1
|
+
export { d as Collection, C as Converters } from '../index-w6bBTfvr.js';
|
|
2
2
|
import '../functor/index.js';
|
|
3
|
+
import '../core/base/Base.js';
|
|
4
|
+
import '../core/error/Throwable.js';
|
|
5
|
+
import '../typeable/Typeable.js';
|
|
3
6
|
import '../identity/Identity.js';
|
|
4
7
|
import '../tuple/Tuple.js';
|
|
5
|
-
import '../typeable/Typeable.js';
|
|
6
8
|
import '../valuable/Valuable.js';
|
|
7
|
-
import '../core/error/Throwable.js';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export { A as AppException, l as AppResult, n as AsyncTask, m as Task } from '../../index-
|
|
1
|
+
export { A as AppException, l as AppResult, n as AsyncTask, m as Task } from '../../index-d37-44E9.mjs';
|
|
2
2
|
import '../error/Throwable.mjs';
|
|
3
3
|
import '../../functor/index.mjs';
|
|
4
|
+
import '../base/Base.mjs';
|
|
4
5
|
import '../../identity/Identity.mjs';
|
|
5
6
|
import '../../tuple/Tuple.mjs';
|
|
6
7
|
import '../../typeable/Typeable.mjs';
|
package/dist/core/task/Task.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export { A as AppException, l as AppResult, n as AsyncTask, m as Task } from '../../index-
|
|
1
|
+
export { A as AppException, l as AppResult, n as AsyncTask, m as Task } from '../../index-w6bBTfvr.js';
|
|
2
2
|
import '../error/Throwable.js';
|
|
3
3
|
import '../../functor/index.js';
|
|
4
|
+
import '../base/Base.js';
|
|
4
5
|
import '../../identity/Identity.js';
|
|
5
6
|
import '../../tuple/Tuple.js';
|
|
6
7
|
import '../../typeable/Typeable.js';
|
package/dist/core/task/Task.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkAIYLBUQOjs = require('../../chunk-AIYLBUQO.js');require('../../chunk-OXLZ6UIZ.js');require('../../chunk-BNNK42JC.js');require('../../chunk-SQWNJC6O.js');require('../../chunk-5O6YELD3.js');require('../../chunk-2U34DUZU.js');require('../../chunk-5VTXJIR3.js');require('../../chunk-3VJERXBP.js');require('../../chunk-XORABVON.js');require('../../chunk-K3EKBPQE.js');exports.AppException = _chunkAIYLBUQOjs.r; exports.AppResult = _chunkAIYLBUQOjs.s; exports.AsyncTask = _chunkAIYLBUQOjs.u; exports.Task = _chunkAIYLBUQOjs.t;
|
package/dist/core/task/Task.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a,s as b,t as c,u as d}from"../../chunk-
|
|
1
|
+
import{r as a,s as b,t as c,u as d}from"../../chunk-HSSHSCKD.mjs";import"../../chunk-2I2NKDFN.mjs";import"../../chunk-RRAIFS3D.mjs";import"../../chunk-JF5YGNCO.mjs";import"../../chunk-V7DKESTM.mjs";import"../../chunk-HD6YYUHO.mjs";import"../../chunk-377WQNCB.mjs";import"../../chunk-HA5XD5KC.mjs";import"../../chunk-V2J3R5IU.mjs";import"../../chunk-2ML63TYF.mjs";export{a as AppException,b as AppResult,d as AsyncTask,c as Task};
|
package/dist/either/Either.d.mts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import '../functor/index.mjs';
|
|
2
|
-
export { E as Either, f as Left, R as Right, e as TestEither, j as TypeCheckLeft, h as TypeCheckRight, g as isLeft, i as isRight, t as tryCatch, k as tryCatchAsync } from '../index-
|
|
2
|
+
export { E as Either, f as Left, R as Right, e as TestEither, j as TypeCheckLeft, h as TypeCheckRight, g as isLeft, i as isRight, t as tryCatch, k as tryCatchAsync } from '../index-d37-44E9.mjs';
|
|
3
3
|
import '../typeable/Typeable.mjs';
|
|
4
|
+
import '../core/base/Base.mjs';
|
|
5
|
+
import '../core/error/Throwable.mjs';
|
|
4
6
|
import '../identity/Identity.mjs';
|
|
5
7
|
import '../tuple/Tuple.mjs';
|
|
6
8
|
import '../valuable/Valuable.mjs';
|
|
7
|
-
import '../core/error/Throwable.mjs';
|
package/dist/either/Either.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import '../functor/index.js';
|
|
2
|
-
export { E as Either, f as Left, R as Right, e as TestEither, j as TypeCheckLeft, h as TypeCheckRight, g as isLeft, i as isRight, t as tryCatch, k as tryCatchAsync } from '../index-
|
|
2
|
+
export { E as Either, f as Left, R as Right, e as TestEither, j as TypeCheckLeft, h as TypeCheckRight, g as isLeft, i as isRight, t as tryCatch, k as tryCatchAsync } from '../index-w6bBTfvr.js';
|
|
3
3
|
import '../typeable/Typeable.js';
|
|
4
|
+
import '../core/base/Base.js';
|
|
5
|
+
import '../core/error/Throwable.js';
|
|
4
6
|
import '../identity/Identity.js';
|
|
5
7
|
import '../tuple/Tuple.js';
|
|
6
8
|
import '../valuable/Valuable.js';
|
|
7
|
-
import '../core/error/Throwable.js';
|
package/dist/either/Either.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkAIYLBUQOjs = require('../chunk-AIYLBUQO.js');require('../chunk-OXLZ6UIZ.js');require('../chunk-BNNK42JC.js');require('../chunk-SQWNJC6O.js');require('../chunk-5O6YELD3.js');require('../chunk-2U34DUZU.js');require('../chunk-5VTXJIR3.js');require('../chunk-3VJERXBP.js');require('../chunk-XORABVON.js');require('../chunk-K3EKBPQE.js');exports.Either = _chunkAIYLBUQOjs.q; exports.Left = _chunkAIYLBUQOjs.j; exports.Right = _chunkAIYLBUQOjs.i; exports.TypeCheckLeft = _chunkAIYLBUQOjs.o; exports.TypeCheckRight = _chunkAIYLBUQOjs.n; exports.isLeft = _chunkAIYLBUQOjs.l; exports.isRight = _chunkAIYLBUQOjs.k; exports.tryCatch = _chunkAIYLBUQOjs.m; exports.tryCatchAsync = _chunkAIYLBUQOjs.p;
|
package/dist/either/Either.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as a,j as b,k as c,l as d,m as e,n as f,o as g,p as h,q as i}from"../chunk-
|
|
1
|
+
import{i as a,j as b,k as c,l as d,m as e,n as f,o as g,p as h,q as i}from"../chunk-HSSHSCKD.mjs";import"../chunk-2I2NKDFN.mjs";import"../chunk-RRAIFS3D.mjs";import"../chunk-JF5YGNCO.mjs";import"../chunk-V7DKESTM.mjs";import"../chunk-HD6YYUHO.mjs";import"../chunk-377WQNCB.mjs";import"../chunk-HA5XD5KC.mjs";import"../chunk-V2J3R5IU.mjs";import"../chunk-2ML63TYF.mjs";export{i as Either,b as Left,a as Right,g as TypeCheckLeft,f as TypeCheckRight,d as isLeft,c as isRight,e as tryCatch,h as tryCatchAsync};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { Type, Functor } from './functor/index.mjs';
|
|
2
|
+
import './core/base/Base.mjs';
|
|
3
|
+
import { Throwable } from './core/error/Throwable.mjs';
|
|
2
4
|
import './identity/Identity.mjs';
|
|
3
5
|
import { Tuple } from './tuple/Tuple.mjs';
|
|
4
6
|
import { Typeable } from './typeable/Typeable.mjs';
|
|
5
7
|
import { Valuable } from './valuable/Valuable.mjs';
|
|
6
|
-
import { Throwable } from './core/error/Throwable.mjs';
|
|
7
8
|
|
|
8
9
|
declare const Some: <T extends Type>(value: T) => Option<T>;
|
|
9
10
|
declare const None: <T extends Type>() => Option<T>;
|
|
@@ -13,6 +14,7 @@ type Option<T extends Type> = {
|
|
|
13
14
|
isEmpty: boolean;
|
|
14
15
|
get(): T;
|
|
15
16
|
getOrElse(defaultValue: T): T;
|
|
17
|
+
getOrThrow(error: Error): T;
|
|
16
18
|
orElse(alternative: Option<T>): Option<T>;
|
|
17
19
|
map<U extends Type>(f: (value: T) => U): Option<U>;
|
|
18
20
|
filter(predicate: (value: T) => boolean): Option<T>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { Type, Functor } from './functor/index.js';
|
|
2
|
+
import './core/base/Base.js';
|
|
3
|
+
import { Throwable } from './core/error/Throwable.js';
|
|
2
4
|
import './identity/Identity.js';
|
|
3
5
|
import { Tuple } from './tuple/Tuple.js';
|
|
4
6
|
import { Typeable } from './typeable/Typeable.js';
|
|
5
7
|
import { Valuable } from './valuable/Valuable.js';
|
|
6
|
-
import { Throwable } from './core/error/Throwable.js';
|
|
7
8
|
|
|
8
9
|
declare const Some: <T extends Type>(value: T) => Option<T>;
|
|
9
10
|
declare const None: <T extends Type>() => Option<T>;
|
|
@@ -13,6 +14,7 @@ type Option<T extends Type> = {
|
|
|
13
14
|
isEmpty: boolean;
|
|
14
15
|
get(): T;
|
|
15
16
|
getOrElse(defaultValue: T): T;
|
|
17
|
+
getOrThrow(error: Error): T;
|
|
16
18
|
orElse(alternative: Option<T>): Option<T>;
|
|
17
19
|
map<U extends Type>(f: (value: T) => U): Option<U>;
|
|
18
20
|
filter(predicate: (value: T) => boolean): Option<T>;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export { AbstractFunctor, ArrayFunctor, ArrayType, Functor, SingleType, Type } from './functor/index.mjs';
|
|
2
|
-
export {
|
|
2
|
+
export { Base } from './core/base/Base.mjs';
|
|
3
|
+
export { Throwable } from './core/error/Throwable.mjs';
|
|
4
|
+
export { A as AppException, l as AppResult, n as AsyncTask, E as Either, f as Left, L as List, M as Map, N as None, O as Option, R as Right, a as Seq, b as Set, S as Some, m as Task, e as TestEither, T as TestList, p as Traversable, o as Try, j as TypeCheckLeft, h as TypeCheckRight, _ as _Iterable_, g as isLeft, i as isRight, t as tryCatch, k as tryCatchAsync } from './index-d37-44E9.mjs';
|
|
3
5
|
export { Identity } from './identity/Identity.mjs';
|
|
4
6
|
export { Tuple } from './tuple/Tuple.mjs';
|
|
5
7
|
export { Typeable } from './typeable/Typeable.mjs';
|
|
6
8
|
import './valuable/Valuable.mjs';
|
|
7
|
-
import './core/error/Throwable.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export { AbstractFunctor, ArrayFunctor, ArrayType, Functor, SingleType, Type } from './functor/index.js';
|
|
2
|
-
export {
|
|
2
|
+
export { Base } from './core/base/Base.js';
|
|
3
|
+
export { Throwable } from './core/error/Throwable.js';
|
|
4
|
+
export { A as AppException, l as AppResult, n as AsyncTask, E as Either, f as Left, L as List, M as Map, N as None, O as Option, R as Right, a as Seq, b as Set, S as Some, m as Task, e as TestEither, T as TestList, p as Traversable, o as Try, j as TypeCheckLeft, h as TypeCheckRight, _ as _Iterable_, g as isLeft, i as isRight, t as tryCatch, k as tryCatchAsync } from './index-w6bBTfvr.js';
|
|
3
5
|
export { Identity } from './identity/Identity.js';
|
|
4
6
|
export { Tuple } from './tuple/Tuple.js';
|
|
5
7
|
export { Typeable } from './typeable/Typeable.js';
|
|
6
8
|
import './valuable/Valuable.js';
|
|
7
|
-
import './core/error/Throwable.js';
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkAIYLBUQOjs = require('./chunk-AIYLBUQO.js');var _chunkOXLZ6UIZjs = require('./chunk-OXLZ6UIZ.js');require('./chunk-BNNK42JC.js');var _chunkSQWNJC6Ojs = require('./chunk-SQWNJC6O.js');var _chunk5O6YELD3js = require('./chunk-5O6YELD3.js');var _chunk2U34DUZUjs = require('./chunk-2U34DUZU.js');require('./chunk-5VTXJIR3.js');require('./chunk-3VJERXBP.js');require('./chunk-XORABVON.js');require('./chunk-K3EKBPQE.js');exports.AppException = _chunkAIYLBUQOjs.r; exports.AppResult = _chunkAIYLBUQOjs.s; exports.AsyncTask = _chunkAIYLBUQOjs.u; exports.Base = _chunkSQWNJC6Ojs.a; exports.Either = _chunkAIYLBUQOjs.q; exports.Left = _chunkAIYLBUQOjs.j; exports.List = _chunkAIYLBUQOjs.g; exports.Map = _chunkAIYLBUQOjs.v; exports.None = _chunkAIYLBUQOjs.b; exports.Option = _chunkAIYLBUQOjs.c; exports.Right = _chunkAIYLBUQOjs.i; exports.Seq = _chunkAIYLBUQOjs.e; exports.Set = _chunkAIYLBUQOjs.f; exports.Some = _chunkAIYLBUQOjs.a; exports.Task = _chunkAIYLBUQOjs.t; exports.TestList = _chunkAIYLBUQOjs.h; exports.Throwable = _chunk2U34DUZUjs.a; exports.Try = _chunkAIYLBUQOjs.w; exports.Tuple = _chunkOXLZ6UIZjs.a; exports.TypeCheckLeft = _chunkAIYLBUQOjs.o; exports.TypeCheckRight = _chunkAIYLBUQOjs.n; exports.Typeable = _chunk5O6YELD3js.a; exports.isLeft = _chunkAIYLBUQOjs.l; exports.isRight = _chunkAIYLBUQOjs.k; exports.tryCatch = _chunkAIYLBUQOjs.m; exports.tryCatchAsync = _chunkAIYLBUQOjs.p;
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,e as
|
|
1
|
+
import{a as d,b as e,c as f,e as g,f as h,g as i,h as j,i as k,j as l,k as m,l as n,m as o,n as p,o as q,p as r,q as s,r as t,s as u,t as v,u as w,v as y,w as z}from"./chunk-HSSHSCKD.mjs";import{a as x}from"./chunk-2I2NKDFN.mjs";import"./chunk-RRAIFS3D.mjs";import{a as b}from"./chunk-JF5YGNCO.mjs";import{a}from"./chunk-V7DKESTM.mjs";import{a as c}from"./chunk-HD6YYUHO.mjs";import"./chunk-377WQNCB.mjs";import"./chunk-HA5XD5KC.mjs";import"./chunk-V2J3R5IU.mjs";import"./chunk-2ML63TYF.mjs";export{t as AppException,u as AppResult,w as AsyncTask,b as Base,s as Either,l as Left,i as List,y as Map,e as None,f as Option,k as Right,g as Seq,h as Set,d as Some,v as Task,j as TestList,c as Throwable,z as Try,x as Tuple,q as TypeCheckLeft,p as TypeCheckRight,a as Typeable,n as isLeft,m as isRight,o as tryCatch,r as tryCatchAsync};
|
package/dist/iterable/Seq.d.mts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export { a as Seq, c as createSeq } from '../index-
|
|
1
|
+
export { a as Seq, c as createSeq } from '../index-d37-44E9.mjs';
|
|
2
2
|
import '../typeable/Typeable.mjs';
|
|
3
3
|
import '../functor/index.mjs';
|
|
4
|
+
import '../core/base/Base.mjs';
|
|
5
|
+
import '../core/error/Throwable.mjs';
|
|
4
6
|
import '../identity/Identity.mjs';
|
|
5
7
|
import '../tuple/Tuple.mjs';
|
|
6
8
|
import '../valuable/Valuable.mjs';
|
|
7
|
-
import '../core/error/Throwable.mjs';
|
package/dist/iterable/Seq.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export { a as Seq, c as createSeq } from '../index-
|
|
1
|
+
export { a as Seq, c as createSeq } from '../index-w6bBTfvr.js';
|
|
2
2
|
import '../typeable/Typeable.js';
|
|
3
3
|
import '../functor/index.js';
|
|
4
|
+
import '../core/base/Base.js';
|
|
5
|
+
import '../core/error/Throwable.js';
|
|
4
6
|
import '../identity/Identity.js';
|
|
5
7
|
import '../tuple/Tuple.js';
|
|
6
8
|
import '../valuable/Valuable.js';
|
|
7
|
-
import '../core/error/Throwable.js';
|
package/dist/iterable/Seq.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkAIYLBUQOjs = require('../chunk-AIYLBUQO.js');require('../chunk-OXLZ6UIZ.js');require('../chunk-BNNK42JC.js');require('../chunk-SQWNJC6O.js');require('../chunk-5O6YELD3.js');require('../chunk-2U34DUZU.js');require('../chunk-5VTXJIR3.js');require('../chunk-3VJERXBP.js');require('../chunk-XORABVON.js');require('../chunk-K3EKBPQE.js');exports.Seq = _chunkAIYLBUQOjs.e; exports.createSeq = _chunkAIYLBUQOjs.d;
|
package/dist/iterable/Seq.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as a,e as b}from"../chunk-
|
|
1
|
+
import{d as a,e as b}from"../chunk-HSSHSCKD.mjs";import"../chunk-2I2NKDFN.mjs";import"../chunk-RRAIFS3D.mjs";import"../chunk-JF5YGNCO.mjs";import"../chunk-V7DKESTM.mjs";import"../chunk-HD6YYUHO.mjs";import"../chunk-377WQNCB.mjs";import"../chunk-HA5XD5KC.mjs";import"../chunk-V2J3R5IU.mjs";import"../chunk-2ML63TYF.mjs";export{b as Seq,a as createSeq};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import '../functor/index.mjs';
|
|
2
|
-
export { a as Seq, _ as _Iterable_ } from '../index-
|
|
2
|
+
export { a as Seq, _ as _Iterable_ } from '../index-d37-44E9.mjs';
|
|
3
|
+
import '../core/base/Base.mjs';
|
|
4
|
+
import '../core/error/Throwable.mjs';
|
|
5
|
+
import '../typeable/Typeable.mjs';
|
|
3
6
|
import '../identity/Identity.mjs';
|
|
4
7
|
import '../tuple/Tuple.mjs';
|
|
5
|
-
import '../typeable/Typeable.mjs';
|
|
6
8
|
import '../valuable/Valuable.mjs';
|
|
7
|
-
import '../core/error/Throwable.mjs';
|
package/dist/iterable/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import '../functor/index.js';
|
|
2
|
-
export { a as Seq, _ as _Iterable_ } from '../index-
|
|
2
|
+
export { a as Seq, _ as _Iterable_ } from '../index-w6bBTfvr.js';
|
|
3
|
+
import '../core/base/Base.js';
|
|
4
|
+
import '../core/error/Throwable.js';
|
|
5
|
+
import '../typeable/Typeable.js';
|
|
3
6
|
import '../identity/Identity.js';
|
|
4
7
|
import '../tuple/Tuple.js';
|
|
5
|
-
import '../typeable/Typeable.js';
|
|
6
8
|
import '../valuable/Valuable.js';
|
|
7
|
-
import '../core/error/Throwable.js';
|
package/dist/iterable/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkAIYLBUQOjs = require('../chunk-AIYLBUQO.js');require('../chunk-OXLZ6UIZ.js');require('../chunk-BNNK42JC.js');require('../chunk-SQWNJC6O.js');require('../chunk-5O6YELD3.js');require('../chunk-2U34DUZU.js');require('../chunk-5VTXJIR3.js');require('../chunk-3VJERXBP.js');require('../chunk-XORABVON.js');require('../chunk-K3EKBPQE.js');exports.Seq = _chunkAIYLBUQOjs.e;
|
package/dist/iterable/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as a}from"../chunk-
|
|
1
|
+
import{e as a}from"../chunk-HSSHSCKD.mjs";import"../chunk-2I2NKDFN.mjs";import"../chunk-RRAIFS3D.mjs";import"../chunk-JF5YGNCO.mjs";import"../chunk-V7DKESTM.mjs";import"../chunk-HD6YYUHO.mjs";import"../chunk-377WQNCB.mjs";import"../chunk-HA5XD5KC.mjs";import"../chunk-V2J3R5IU.mjs";import"../chunk-2ML63TYF.mjs";export{a as Seq};
|
package/dist/list/List.d.mts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export { L as List, T as TestList } from '../index-
|
|
1
|
+
export { L as List, T as TestList } from '../index-d37-44E9.mjs';
|
|
2
2
|
import '../typeable/Typeable.mjs';
|
|
3
3
|
import '../functor/index.mjs';
|
|
4
|
+
import '../core/base/Base.mjs';
|
|
5
|
+
import '../core/error/Throwable.mjs';
|
|
4
6
|
import '../identity/Identity.mjs';
|
|
5
7
|
import '../tuple/Tuple.mjs';
|
|
6
8
|
import '../valuable/Valuable.mjs';
|
|
7
|
-
import '../core/error/Throwable.mjs';
|
package/dist/list/List.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export { L as List, T as TestList } from '../index-
|
|
1
|
+
export { L as List, T as TestList } from '../index-w6bBTfvr.js';
|
|
2
2
|
import '../typeable/Typeable.js';
|
|
3
3
|
import '../functor/index.js';
|
|
4
|
+
import '../core/base/Base.js';
|
|
5
|
+
import '../core/error/Throwable.js';
|
|
4
6
|
import '../identity/Identity.js';
|
|
5
7
|
import '../tuple/Tuple.js';
|
|
6
8
|
import '../valuable/Valuable.js';
|
|
7
|
-
import '../core/error/Throwable.js';
|
package/dist/list/List.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkAIYLBUQOjs = require('../chunk-AIYLBUQO.js');require('../chunk-OXLZ6UIZ.js');require('../chunk-BNNK42JC.js');require('../chunk-SQWNJC6O.js');require('../chunk-5O6YELD3.js');require('../chunk-2U34DUZU.js');require('../chunk-5VTXJIR3.js');require('../chunk-3VJERXBP.js');require('../chunk-XORABVON.js');require('../chunk-K3EKBPQE.js');exports.List = _chunkAIYLBUQOjs.g; exports.TestList = _chunkAIYLBUQOjs.h;
|
package/dist/list/List.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as a,h as b}from"../chunk-
|
|
1
|
+
import{g as a,h as b}from"../chunk-HSSHSCKD.mjs";import"../chunk-2I2NKDFN.mjs";import"../chunk-RRAIFS3D.mjs";import"../chunk-JF5YGNCO.mjs";import"../chunk-V7DKESTM.mjs";import"../chunk-HD6YYUHO.mjs";import"../chunk-377WQNCB.mjs";import"../chunk-HA5XD5KC.mjs";import"../chunk-V2J3R5IU.mjs";import"../chunk-2ML63TYF.mjs";export{a as List,b as TestList};
|
package/dist/map/Map.d.mts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export { M as Map } from '../index-
|
|
1
|
+
export { M as Map } from '../index-d37-44E9.mjs';
|
|
2
2
|
import '../tuple/Tuple.mjs';
|
|
3
3
|
import '../functor/index.mjs';
|
|
4
|
-
import '../
|
|
4
|
+
import '../core/base/Base.mjs';
|
|
5
|
+
import '../core/error/Throwable.mjs';
|
|
5
6
|
import '../typeable/Typeable.mjs';
|
|
7
|
+
import '../identity/Identity.mjs';
|
|
6
8
|
import '../valuable/Valuable.mjs';
|
|
7
|
-
import '../core/error/Throwable.mjs';
|
package/dist/map/Map.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export { M as Map } from '../index-
|
|
1
|
+
export { M as Map } from '../index-w6bBTfvr.js';
|
|
2
2
|
import '../tuple/Tuple.js';
|
|
3
3
|
import '../functor/index.js';
|
|
4
|
-
import '../
|
|
4
|
+
import '../core/base/Base.js';
|
|
5
|
+
import '../core/error/Throwable.js';
|
|
5
6
|
import '../typeable/Typeable.js';
|
|
7
|
+
import '../identity/Identity.js';
|
|
6
8
|
import '../valuable/Valuable.js';
|
|
7
|
-
import '../core/error/Throwable.js';
|
package/dist/map/Map.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkAIYLBUQOjs = require('../chunk-AIYLBUQO.js');require('../chunk-OXLZ6UIZ.js');require('../chunk-BNNK42JC.js');require('../chunk-SQWNJC6O.js');require('../chunk-5O6YELD3.js');require('../chunk-2U34DUZU.js');require('../chunk-5VTXJIR3.js');require('../chunk-3VJERXBP.js');require('../chunk-XORABVON.js');require('../chunk-K3EKBPQE.js');exports.Map = _chunkAIYLBUQOjs.v;
|
package/dist/map/Map.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{v as a}from"../chunk-
|
|
1
|
+
import{v as a}from"../chunk-HSSHSCKD.mjs";import"../chunk-2I2NKDFN.mjs";import"../chunk-RRAIFS3D.mjs";import"../chunk-JF5YGNCO.mjs";import"../chunk-V7DKESTM.mjs";import"../chunk-HD6YYUHO.mjs";import"../chunk-377WQNCB.mjs";import"../chunk-HA5XD5KC.mjs";import"../chunk-V2J3R5IU.mjs";import"../chunk-2ML63TYF.mjs";export{a as Map};
|
package/dist/option/Option.d.mts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import '../functor/index.mjs';
|
|
2
|
-
export { N as None, O as Option, S as Some } from '../index-
|
|
2
|
+
export { N as None, O as Option, S as Some } from '../index-d37-44E9.mjs';
|
|
3
3
|
import '../typeable/Typeable.mjs';
|
|
4
4
|
import '../valuable/Valuable.mjs';
|
|
5
|
+
import '../core/base/Base.mjs';
|
|
6
|
+
import '../core/error/Throwable.mjs';
|
|
5
7
|
import '../identity/Identity.mjs';
|
|
6
8
|
import '../tuple/Tuple.mjs';
|
|
7
|
-
import '../core/error/Throwable.mjs';
|
package/dist/option/Option.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import '../functor/index.js';
|
|
2
|
-
export { N as None, O as Option, S as Some } from '../index-
|
|
2
|
+
export { N as None, O as Option, S as Some } from '../index-w6bBTfvr.js';
|
|
3
3
|
import '../typeable/Typeable.js';
|
|
4
4
|
import '../valuable/Valuable.js';
|
|
5
|
+
import '../core/base/Base.js';
|
|
6
|
+
import '../core/error/Throwable.js';
|
|
5
7
|
import '../identity/Identity.js';
|
|
6
8
|
import '../tuple/Tuple.js';
|
|
7
|
-
import '../core/error/Throwable.js';
|
package/dist/option/Option.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkAIYLBUQOjs = require('../chunk-AIYLBUQO.js');require('../chunk-OXLZ6UIZ.js');require('../chunk-BNNK42JC.js');require('../chunk-SQWNJC6O.js');require('../chunk-5O6YELD3.js');require('../chunk-2U34DUZU.js');require('../chunk-5VTXJIR3.js');require('../chunk-3VJERXBP.js');require('../chunk-XORABVON.js');require('../chunk-K3EKBPQE.js');exports.None = _chunkAIYLBUQOjs.b; exports.Option = _chunkAIYLBUQOjs.c; exports.Some = _chunkAIYLBUQOjs.a;
|
package/dist/option/Option.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c}from"../chunk-
|
|
1
|
+
import{a,b,c}from"../chunk-HSSHSCKD.mjs";import"../chunk-2I2NKDFN.mjs";import"../chunk-RRAIFS3D.mjs";import"../chunk-JF5YGNCO.mjs";import"../chunk-V7DKESTM.mjs";import"../chunk-HD6YYUHO.mjs";import"../chunk-377WQNCB.mjs";import"../chunk-HA5XD5KC.mjs";import"../chunk-V2J3R5IU.mjs";import"../chunk-2ML63TYF.mjs";export{b as None,c as Option,a as Some};
|
package/dist/set/Set.d.mts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export { b as Set } from '../index-
|
|
1
|
+
export { b as Set } from '../index-d37-44E9.mjs';
|
|
2
2
|
import '../functor/index.mjs';
|
|
3
|
+
import '../core/base/Base.mjs';
|
|
4
|
+
import '../core/error/Throwable.mjs';
|
|
5
|
+
import '../typeable/Typeable.mjs';
|
|
3
6
|
import '../identity/Identity.mjs';
|
|
4
7
|
import '../tuple/Tuple.mjs';
|
|
5
|
-
import '../typeable/Typeable.mjs';
|
|
6
8
|
import '../valuable/Valuable.mjs';
|
|
7
|
-
import '../core/error/Throwable.mjs';
|
package/dist/set/Set.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export { b as Set } from '../index-
|
|
1
|
+
export { b as Set } from '../index-w6bBTfvr.js';
|
|
2
2
|
import '../functor/index.js';
|
|
3
|
+
import '../core/base/Base.js';
|
|
4
|
+
import '../core/error/Throwable.js';
|
|
5
|
+
import '../typeable/Typeable.js';
|
|
3
6
|
import '../identity/Identity.js';
|
|
4
7
|
import '../tuple/Tuple.js';
|
|
5
|
-
import '../typeable/Typeable.js';
|
|
6
8
|
import '../valuable/Valuable.js';
|
|
7
|
-
import '../core/error/Throwable.js';
|
package/dist/set/Set.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkAIYLBUQOjs = require('../chunk-AIYLBUQO.js');require('../chunk-OXLZ6UIZ.js');require('../chunk-BNNK42JC.js');require('../chunk-SQWNJC6O.js');require('../chunk-5O6YELD3.js');require('../chunk-2U34DUZU.js');require('../chunk-5VTXJIR3.js');require('../chunk-3VJERXBP.js');require('../chunk-XORABVON.js');require('../chunk-K3EKBPQE.js');exports.Set = _chunkAIYLBUQOjs.f;
|
package/dist/set/Set.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{f as a}from"../chunk-
|
|
1
|
+
import{f as a}from"../chunk-HSSHSCKD.mjs";import"../chunk-2I2NKDFN.mjs";import"../chunk-RRAIFS3D.mjs";import"../chunk-JF5YGNCO.mjs";import"../chunk-V7DKESTM.mjs";import"../chunk-HD6YYUHO.mjs";import"../chunk-377WQNCB.mjs";import"../chunk-HA5XD5KC.mjs";import"../chunk-V2J3R5IU.mjs";import"../chunk-2ML63TYF.mjs";export{a as Set};
|
package/dist/try/Try.d.mts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export { o as Try } from '../index-
|
|
1
|
+
export { o as Try } from '../index-d37-44E9.mjs';
|
|
2
2
|
import '../typeable/Typeable.mjs';
|
|
3
3
|
import '../functor/index.mjs';
|
|
4
|
+
import '../core/base/Base.mjs';
|
|
5
|
+
import '../core/error/Throwable.mjs';
|
|
4
6
|
import '../identity/Identity.mjs';
|
|
5
7
|
import '../tuple/Tuple.mjs';
|
|
6
8
|
import '../valuable/Valuable.mjs';
|
|
7
|
-
import '../core/error/Throwable.mjs';
|
package/dist/try/Try.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export { o as Try } from '../index-
|
|
1
|
+
export { o as Try } from '../index-w6bBTfvr.js';
|
|
2
2
|
import '../typeable/Typeable.js';
|
|
3
3
|
import '../functor/index.js';
|
|
4
|
+
import '../core/base/Base.js';
|
|
5
|
+
import '../core/error/Throwable.js';
|
|
4
6
|
import '../identity/Identity.js';
|
|
5
7
|
import '../tuple/Tuple.js';
|
|
6
8
|
import '../valuable/Valuable.js';
|
|
7
|
-
import '../core/error/Throwable.js';
|
package/dist/try/Try.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkAIYLBUQOjs = require('../chunk-AIYLBUQO.js');require('../chunk-OXLZ6UIZ.js');require('../chunk-BNNK42JC.js');require('../chunk-SQWNJC6O.js');require('../chunk-5O6YELD3.js');require('../chunk-2U34DUZU.js');require('../chunk-5VTXJIR3.js');require('../chunk-3VJERXBP.js');require('../chunk-XORABVON.js');require('../chunk-K3EKBPQE.js');exports.Try = _chunkAIYLBUQOjs.w;
|
package/dist/try/Try.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{w as a}from"../chunk-
|
|
1
|
+
import{w as a}from"../chunk-HSSHSCKD.mjs";import"../chunk-2I2NKDFN.mjs";import"../chunk-RRAIFS3D.mjs";import"../chunk-JF5YGNCO.mjs";import"../chunk-V7DKESTM.mjs";import"../chunk-HD6YYUHO.mjs";import"../chunk-377WQNCB.mjs";import"../chunk-HA5XD5KC.mjs";import"../chunk-V2J3R5IU.mjs";import"../chunk-2ML63TYF.mjs";export{a as Try};
|
package/dist/util/index.d.mts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { E as Either } from '../index-
|
|
1
|
+
import { E as Either } from '../index-d37-44E9.mjs';
|
|
2
2
|
import { ParseError } from '../error/ParseError.mjs';
|
|
3
3
|
import '../functor/index.mjs';
|
|
4
|
+
import '../core/base/Base.mjs';
|
|
5
|
+
import '../core/error/Throwable.mjs';
|
|
6
|
+
import '../typeable/Typeable.mjs';
|
|
4
7
|
import '../identity/Identity.mjs';
|
|
5
8
|
import '../tuple/Tuple.mjs';
|
|
6
|
-
import '../typeable/Typeable.mjs';
|
|
7
9
|
import '../valuable/Valuable.mjs';
|
|
8
|
-
import '../core/error/Throwable.mjs';
|
|
9
10
|
|
|
10
11
|
declare const parseNumber: (input: string) => Either<ParseError, number>;
|
|
11
12
|
|
package/dist/util/index.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { E as Either } from '../index-
|
|
1
|
+
import { E as Either } from '../index-w6bBTfvr.js';
|
|
2
2
|
import { ParseError } from '../error/ParseError.js';
|
|
3
3
|
import '../functor/index.js';
|
|
4
|
+
import '../core/base/Base.js';
|
|
5
|
+
import '../core/error/Throwable.js';
|
|
6
|
+
import '../typeable/Typeable.js';
|
|
4
7
|
import '../identity/Identity.js';
|
|
5
8
|
import '../tuple/Tuple.js';
|
|
6
|
-
import '../typeable/Typeable.js';
|
|
7
9
|
import '../valuable/Valuable.js';
|
|
8
|
-
import '../core/error/Throwable.js';
|
|
9
10
|
|
|
10
11
|
declare const parseNumber: (input: string) => Either<ParseError, number>;
|
|
11
12
|
|
package/dist/util/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkE6RS47F7js = require('../chunk-E6RS47F7.js');var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkE6RS47F7js = require('../chunk-E6RS47F7.js');var _chunkAIYLBUQOjs = require('../chunk-AIYLBUQO.js');require('../chunk-OXLZ6UIZ.js');require('../chunk-BNNK42JC.js');require('../chunk-SQWNJC6O.js');require('../chunk-5O6YELD3.js');require('../chunk-2U34DUZU.js');require('../chunk-5VTXJIR3.js');require('../chunk-3VJERXBP.js');require('../chunk-XORABVON.js');require('../chunk-K3EKBPQE.js');var a=o=>{let r=parseInt(o,10);return isNaN(r)?_chunkAIYLBUQOjs.j.call(void 0, _chunkE6RS47F7js.a.call(void 0, `${r}`)):_chunkAIYLBUQOjs.i.call(void 0, r)};exports.parseNumber = a;
|
package/dist/util/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as s}from"../chunk-VK5GL6NM.mjs";import{i as e,j as t}from"../chunk-
|
|
1
|
+
import{a as s}from"../chunk-VK5GL6NM.mjs";import{i as e,j as t}from"../chunk-HSSHSCKD.mjs";import"../chunk-2I2NKDFN.mjs";import"../chunk-RRAIFS3D.mjs";import"../chunk-JF5YGNCO.mjs";import"../chunk-V7DKESTM.mjs";import"../chunk-HD6YYUHO.mjs";import"../chunk-377WQNCB.mjs";import"../chunk-HA5XD5KC.mjs";import"../chunk-V2J3R5IU.mjs";import"../chunk-2ML63TYF.mjs";var a=o=>{let r=parseInt(o,10);return isNaN(r)?t(s(`${r}`)):e(r)};export{a as parseNumber};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "functype",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.34",
|
|
4
4
|
"description": "A smallish functional library for TypeScript",
|
|
5
5
|
"author": "jordan.burke@gmail.com",
|
|
6
6
|
"license": "MIT",
|
|
@@ -11,26 +11,26 @@
|
|
|
11
11
|
"homepage": "https://github.com/jordanburke/functype#readme",
|
|
12
12
|
"url": "https://github.com/jordanburke/functype",
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"@eslint/compat": "^1.2.
|
|
14
|
+
"@eslint/compat": "^1.2.2",
|
|
15
15
|
"@eslint/eslintrc": "^3.1.0",
|
|
16
|
-
"@eslint/js": "^9.
|
|
16
|
+
"@eslint/js": "^9.14.0",
|
|
17
17
|
"@types/jest": "29.5.14",
|
|
18
|
-
"@types/node": "^22.
|
|
19
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
20
|
-
"@typescript-eslint/parser": "^8.
|
|
18
|
+
"@types/node": "^22.9.0",
|
|
19
|
+
"@typescript-eslint/eslint-plugin": "^8.13.0",
|
|
20
|
+
"@typescript-eslint/parser": "^8.13.0",
|
|
21
21
|
"cross-env": "^7.0.3",
|
|
22
|
-
"eslint": "^9.
|
|
22
|
+
"eslint": "^9.14.0",
|
|
23
23
|
"eslint-config-prettier": "^9.1.0",
|
|
24
24
|
"eslint-plugin-import": "^2.31.0",
|
|
25
25
|
"eslint-plugin-prettier": "^5.2.1",
|
|
26
26
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
27
|
-
"globals": "^15.
|
|
27
|
+
"globals": "^15.12.0",
|
|
28
28
|
"jest": "^29.7.0",
|
|
29
29
|
"prettier": "^3.3.3",
|
|
30
30
|
"rimraf": "^6.0.1",
|
|
31
31
|
"ts-jest": "^29.2.5",
|
|
32
32
|
"ts-node": "^10.9.2",
|
|
33
|
-
"tsup": "^8.3.
|
|
33
|
+
"tsup": "^8.3.5",
|
|
34
34
|
"typescript": "^5.6.3"
|
|
35
35
|
},
|
|
36
36
|
"main": "./dist/index.js",
|