@vinicunca/perkakas 1.0.5 → 1.1.0
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/add-prop.cjs +1 -1
- package/dist/add-prop.d.cts +14 -1
- package/dist/add-prop.d.ts +14 -1
- package/dist/add-prop.js +1 -1
- package/dist/add.cjs +1 -1
- package/dist/add.js +1 -1
- package/dist/all-pass.cjs +1 -1
- package/dist/all-pass.js +1 -1
- package/dist/any-pass.cjs +1 -1
- package/dist/any-pass.js +1 -1
- package/dist/ceil.cjs +1 -1
- package/dist/ceil.js +1 -1
- package/dist/chunk-24TP4E2P.js +1 -0
- package/dist/chunk-2GPOH4MN.js +1 -0
- package/dist/chunk-2IZU6WD5.js +1 -0
- package/dist/chunk-2JSUJZJR.cjs +1 -0
- package/dist/chunk-2RIB46MQ.js +1 -0
- package/dist/chunk-2VBBLHTV.js +1 -0
- package/dist/chunk-2Y6BV2AH.js +1 -0
- package/dist/chunk-2Y7RBPNW.js +1 -0
- package/dist/chunk-2ZDGLSFC.js +1 -0
- package/dist/chunk-32CXKACC.js +1 -0
- package/dist/chunk-37JFJJRL.js +1 -0
- package/dist/chunk-3A5UOUAH.js +1 -0
- package/dist/chunk-3I7FLADN.js +1 -0
- package/dist/chunk-3KWI3VEH.cjs +1 -0
- package/dist/chunk-3TLR3L2W.cjs +1 -0
- package/dist/chunk-3UB2RIEU.js +1 -0
- package/dist/chunk-3YMN635A.cjs +1 -0
- package/dist/chunk-3ZQNA333.js +1 -0
- package/dist/chunk-43XCMZYT.cjs +1 -0
- package/dist/chunk-46GBCFAG.js +1 -0
- package/dist/chunk-4FCH7KNT.cjs +1 -0
- package/dist/chunk-4KUPCNXN.cjs +1 -0
- package/dist/chunk-4MAOF3ZP.cjs +1 -0
- package/dist/chunk-4WJ75PJB.js +1 -0
- package/dist/chunk-53BDOG3Y.cjs +1 -0
- package/dist/chunk-5BVIP7QQ.js +1 -0
- package/dist/chunk-5GI4OEUM.cjs +1 -0
- package/dist/chunk-5JB2UNJV.js +1 -0
- package/dist/chunk-5JPRNKKU.cjs +1 -0
- package/dist/chunk-5N3BA46D.cjs +1 -0
- package/dist/chunk-5OPUQ5T6.js +1 -0
- package/dist/chunk-5RDW3Z6T.js +1 -0
- package/dist/chunk-5ZDIGGAT.js +1 -0
- package/dist/chunk-65GY7S4U.js +1 -0
- package/dist/chunk-66577RZG.cjs +1 -0
- package/dist/chunk-6AFNPQW2.js +1 -0
- package/dist/chunk-6DDL3ZF6.cjs +1 -0
- package/dist/chunk-6DKD76DK.cjs +1 -0
- package/dist/chunk-6G7TWED4.cjs +1 -0
- package/dist/chunk-6HDZ5MBT.js +1 -0
- package/dist/chunk-6UDUSN46.js +1 -0
- package/dist/chunk-6VSPLMEZ.js +1 -0
- package/dist/chunk-72XBT2YD.js +1 -0
- package/dist/chunk-7DBLJJ5X.js +1 -0
- package/dist/chunk-7DI34UJJ.js +1 -0
- package/dist/chunk-7ERLIBAL.js +1 -0
- package/dist/chunk-7FMUBMHT.js +1 -0
- package/dist/chunk-7GAGU65U.cjs +1 -0
- package/dist/chunk-7HFKYJCK.cjs +1 -0
- package/dist/chunk-7KBK2RWQ.js +1 -0
- package/dist/chunk-7TAKH2LO.js +1 -0
- package/dist/chunk-7UGK4BYN.js +1 -0
- package/dist/chunk-A2HUSITF.cjs +1 -0
- package/dist/chunk-A2PAJNYA.js +1 -0
- package/dist/chunk-A3CPN3V3.js +1 -0
- package/dist/chunk-AAOM3KE2.cjs +1 -0
- package/dist/chunk-AE3CGQUB.js +1 -0
- package/dist/chunk-AFLCNPZB.js +1 -0
- package/dist/chunk-AFO7BV2X.js +1 -0
- package/dist/chunk-AHHZAXLV.cjs +1 -0
- package/dist/chunk-AOSBQ3GE.js +1 -0
- package/dist/chunk-AQRYBCA3.cjs +1 -0
- package/dist/chunk-ATE3F5N2.js +1 -0
- package/dist/chunk-AWGKYXZC.cjs +1 -0
- package/dist/chunk-AX5O7BNT.js +1 -0
- package/dist/chunk-BBVARAQQ.cjs +1 -0
- package/dist/chunk-BBYC5W6E.cjs +1 -0
- package/dist/chunk-BDJWSWG6.cjs +1 -0
- package/dist/chunk-BEVPU2EQ.cjs +1 -0
- package/dist/chunk-BGYDTTCY.cjs +1 -0
- package/dist/chunk-BL5SQB5S.cjs +1 -0
- package/dist/chunk-BQT4FWHH.js +1 -0
- package/dist/chunk-BUJTXQXW.js +1 -0
- package/dist/chunk-BY7H5COY.js +1 -0
- package/dist/chunk-BZMSXMAT.cjs +1 -0
- package/dist/chunk-CII3USNE.js +1 -0
- package/dist/chunk-CIWFQSJQ.cjs +1 -0
- package/dist/chunk-CJ3FPRHU.cjs +1 -0
- package/dist/chunk-CMLEUN6Z.js +1 -0
- package/dist/chunk-CQ7LGCRX.js +1 -0
- package/dist/chunk-CZI4WD5Q.cjs +1 -0
- package/dist/chunk-D6F22MNS.cjs +1 -0
- package/dist/chunk-DBRT37L4.cjs +1 -0
- package/dist/chunk-DDJKFY7F.js +1 -0
- package/dist/chunk-DGLS43L4.cjs +1 -0
- package/dist/chunk-DGMGGT4A.cjs +1 -0
- package/dist/chunk-DOH2U2KJ.cjs +1 -0
- package/dist/chunk-DYTMLSGO.js +1 -0
- package/dist/chunk-E374WHO7.cjs +1 -0
- package/dist/chunk-E3XEHRIC.cjs +1 -0
- package/dist/chunk-EF5X6QTJ.js +1 -0
- package/dist/chunk-EFURGOGB.cjs +1 -0
- package/dist/chunk-EMC6CON4.js +1 -0
- package/dist/chunk-ENYMRDJU.js +1 -0
- package/dist/chunk-EPZOLJ72.js +1 -0
- package/dist/chunk-EROXO3T4.cjs +1 -0
- package/dist/chunk-ESGYUUU2.cjs +1 -0
- package/dist/chunk-EYPNBGK5.js +1 -0
- package/dist/chunk-EYWIFSMN.cjs +1 -0
- package/dist/chunk-F3JXHUP4.cjs +1 -0
- package/dist/chunk-FBGRS3MN.js +1 -0
- package/dist/chunk-FJX3YNGW.cjs +1 -0
- package/dist/chunk-FQQ7JL2Z.js +1 -0
- package/dist/chunk-FRWE2CFI.cjs +1 -0
- package/dist/chunk-FSTZSNDB.cjs +1 -0
- package/dist/chunk-G33UBR6F.cjs +1 -0
- package/dist/chunk-G57ZPKMR.js +1 -0
- package/dist/chunk-G74G5PZT.cjs +1 -0
- package/dist/chunk-GG67ZAXX.cjs +1 -0
- package/dist/chunk-GHJ6ICLU.js +1 -0
- package/dist/chunk-GRFK4SBR.cjs +1 -0
- package/dist/chunk-H47HWN3W.cjs +1 -0
- package/dist/chunk-HE3Z4UIX.js +1 -0
- package/dist/chunk-HF5OFI3W.js +1 -0
- package/dist/chunk-HI5HNTZE.js +1 -0
- package/dist/chunk-HNEXKGNR.cjs +1 -0
- package/dist/chunk-HR3IUTNW.cjs +1 -0
- package/dist/chunk-HTYL3XQS.js +1 -0
- package/dist/chunk-HW7P5ZFZ.js +1 -0
- package/dist/chunk-HZNODTV6.js +1 -0
- package/dist/chunk-I27XCDDI.cjs +1 -0
- package/dist/chunk-I2WOF7PP.js +1 -0
- package/dist/chunk-I33LBSLY.cjs +1 -0
- package/dist/chunk-I4WQXZJH.cjs +1 -0
- package/dist/chunk-I6KKO3TI.cjs +1 -0
- package/dist/chunk-IADIYOLE.cjs +1 -0
- package/dist/chunk-IBMY5FOX.cjs +1 -0
- package/dist/chunk-IMRTC6QS.cjs +1 -0
- package/dist/chunk-IP2ZEYIU.cjs +1 -0
- package/dist/chunk-IPW4LWUM.cjs +1 -0
- package/dist/chunk-J2YCCSJV.cjs +1 -0
- package/dist/chunk-J3DPGMAE.cjs +1 -0
- package/dist/chunk-J7LDTU7W.cjs +1 -0
- package/dist/chunk-JFHH5VKU.cjs +1 -0
- package/dist/chunk-JJ5JH3YT.js +1 -0
- package/dist/chunk-JJLTXK5J.cjs +1 -0
- package/dist/chunk-JOTWEYDR.js +1 -0
- package/dist/chunk-JTEBK6CE.js +1 -0
- package/dist/chunk-JYFYY7NT.js +1 -0
- package/dist/chunk-KM5XOWVG.cjs +1 -0
- package/dist/chunk-KN4W6OD3.js +1 -0
- package/dist/chunk-KRY2OVNW.cjs +1 -0
- package/dist/chunk-KVO54AJZ.js +1 -0
- package/dist/chunk-L4S5OAPG.js +1 -0
- package/dist/chunk-L4ZCRIBG.js +1 -0
- package/dist/chunk-LAHSLTRJ.cjs +1 -0
- package/dist/chunk-LDSQEYGI.js +1 -0
- package/dist/chunk-LEH3IYNP.cjs +1 -0
- package/dist/chunk-LG6MCIRY.js +1 -0
- package/dist/chunk-LLHOSKEG.cjs +1 -0
- package/dist/chunk-LNBMZUOM.js +1 -0
- package/dist/chunk-LOEKNPBG.cjs +1 -0
- package/dist/chunk-LPNHLDEA.cjs +1 -0
- package/dist/chunk-LSSVVDEJ.js +1 -0
- package/dist/chunk-M5Z4GCV3.cjs +1 -0
- package/dist/chunk-MBNDHLAB.js +1 -0
- package/dist/chunk-MFSRIHWE.js +1 -0
- package/dist/chunk-MGCDUMSJ.cjs +1 -0
- package/dist/chunk-MIQQGQM6.cjs +1 -0
- package/dist/chunk-MPQ2QXOP.js +1 -0
- package/dist/chunk-MYUMWF5A.cjs +1 -0
- package/dist/chunk-N2IZRL36.js +1 -0
- package/dist/chunk-N7AESA4W.cjs +1 -0
- package/dist/chunk-NAYMME55.cjs +1 -0
- package/dist/chunk-NBUEBREG.cjs +1 -0
- package/dist/chunk-NC5GO4RU.cjs +1 -0
- package/dist/chunk-NDZHL7TS.js +1 -0
- package/dist/chunk-NGLE2TBG.cjs +1 -0
- package/dist/chunk-NLFMCMRF.js +1 -0
- package/dist/chunk-NOZQSRNN.cjs +1 -0
- package/dist/chunk-NUWRLWTO.js +1 -0
- package/dist/chunk-NWEOHZQH.cjs +1 -0
- package/dist/chunk-NWX42UEX.js +1 -0
- package/dist/chunk-NZMN2PA5.js +1 -0
- package/dist/chunk-OAHCRUJ7.js +1 -0
- package/dist/chunk-ONHSFOMY.js +1 -0
- package/dist/chunk-OOJU5HRX.js +1 -0
- package/dist/chunk-OT55MXTZ.js +1 -0
- package/dist/chunk-OW5U2BI2.js +1 -0
- package/dist/chunk-OWGBKUJ2.cjs +1 -0
- package/dist/chunk-P2IDCWXL.cjs +1 -0
- package/dist/chunk-P4KRPPMA.cjs +1 -0
- package/dist/chunk-P5SZ4PXO.js +1 -0
- package/dist/chunk-PEJHW4CA.cjs +1 -0
- package/dist/chunk-PEYRR7GN.cjs +1 -0
- package/dist/chunk-PHYBTFYH.js +1 -0
- package/dist/chunk-PQTXQYXP.js +1 -0
- package/dist/chunk-PRI7GNFW.js +1 -0
- package/dist/chunk-QDVSGYJD.js +1 -0
- package/dist/chunk-QEPOLOSH.js +1 -0
- package/dist/chunk-QF7NW7HB.js +1 -0
- package/dist/chunk-QFLTOQ2J.cjs +1 -0
- package/dist/chunk-QI5SZK45.js +1 -0
- package/dist/chunk-QJUPJFCQ.cjs +1 -0
- package/dist/chunk-QLDNLCI3.cjs +1 -0
- package/dist/chunk-QNFRANE2.cjs +1 -0
- package/dist/chunk-QNK2WMNL.js +1 -0
- package/dist/chunk-QSH3UEIB.js +1 -0
- package/dist/chunk-QSYAGOIB.cjs +1 -0
- package/dist/chunk-QXQ5BE4C.cjs +1 -0
- package/dist/chunk-R55FGFKU.cjs +1 -0
- package/dist/chunk-R5ZG4R5L.js +1 -0
- package/dist/chunk-R6GHLSJB.cjs +1 -0
- package/dist/chunk-RAHS5RJS.cjs +1 -0
- package/dist/chunk-RBENSFJD.js +1 -0
- package/dist/chunk-RFNOAVDK.js +1 -0
- package/dist/chunk-RGUX2LCH.cjs +1 -0
- package/dist/chunk-RLO65MYN.js +1 -0
- package/dist/chunk-RMLQX4GA.cjs +1 -0
- package/dist/chunk-RQHL6EVI.cjs +1 -0
- package/dist/chunk-RW5FFMRB.js +1 -0
- package/dist/chunk-RXSPNNEW.cjs +1 -0
- package/dist/chunk-RYG2DHC3.js +1 -0
- package/dist/chunk-SB72SOA2.js +1 -0
- package/dist/chunk-SHEET7PF.js +1 -0
- package/dist/chunk-SHU7K6YP.cjs +1 -0
- package/dist/chunk-T4EXOJCT.js +1 -0
- package/dist/chunk-TJCE2J3B.js +1 -0
- package/dist/chunk-TNBCVNKH.cjs +1 -0
- package/dist/chunk-TRUODFSQ.cjs +1 -0
- package/dist/chunk-TTO5FQC7.cjs +1 -0
- package/dist/chunk-TW3AOKT4.js +1 -0
- package/dist/chunk-TWWU2V2W.js +1 -0
- package/dist/chunk-U4HKRBD3.cjs +1 -0
- package/dist/chunk-UDSRBKNR.js +1 -0
- package/dist/chunk-UEL4TCYD.cjs +1 -0
- package/dist/chunk-UIXBYMGB.cjs +1 -0
- package/dist/chunk-UKXOFPA6.js +1 -0
- package/dist/chunk-V2A3F3I4.js +1 -0
- package/dist/chunk-V6HQDVID.js +1 -0
- package/dist/chunk-VEZP7VBA.js +1 -0
- package/dist/chunk-VGOZYUH3.js +1 -0
- package/dist/chunk-VH3XIFK7.cjs +1 -0
- package/dist/chunk-VNI4VRFM.cjs +1 -0
- package/dist/chunk-WB2TJU2J.cjs +1 -0
- package/dist/chunk-WNIVBVW7.cjs +1 -0
- package/dist/chunk-WP5D3YAQ.cjs +1 -0
- package/dist/chunk-WQHSSKSD.cjs +1 -0
- package/dist/chunk-WVTQN2AI.cjs +1 -0
- package/dist/chunk-WYM2JV5T.cjs +1 -0
- package/dist/chunk-WYRK6YJU.cjs +1 -0
- package/dist/chunk-X5D4U2SM.js +1 -0
- package/dist/chunk-X7EK7EDZ.cjs +1 -0
- package/dist/chunk-XCB6Q73P.js +1 -0
- package/dist/chunk-XGT73UQW.cjs +1 -0
- package/dist/chunk-XIC3HU42.js +1 -0
- package/dist/chunk-XL4J54XF.js +1 -0
- package/dist/chunk-XPF42SEF.cjs +1 -0
- package/dist/chunk-XTLGRWI2.cjs +1 -0
- package/dist/chunk-XXNSQDJF.js +1 -0
- package/dist/chunk-Y52SHFCP.cjs +1 -0
- package/dist/chunk-Y5CMISVL.js +1 -0
- package/dist/chunk-YK4IY5DJ.js +1 -0
- package/dist/chunk-YNWN6VKC.js +1 -0
- package/dist/chunk-YXKPCISK.cjs +1 -0
- package/dist/chunk-Z4ZUDQ7E.cjs +1 -0
- package/dist/chunk-ZAZDS3SB.js +1 -0
- package/dist/chunk-ZHNB3KNN.cjs +1 -0
- package/dist/chunk-ZIGQWNCG.js +1 -0
- package/dist/chunk-ZLNSRDW7.cjs +1 -0
- package/dist/chunk.cjs +1 -1
- package/dist/chunk.d.cts +3 -1
- package/dist/chunk.d.ts +3 -1
- package/dist/chunk.js +1 -1
- package/dist/clamp.cjs +1 -1
- package/dist/clamp.d.cts +0 -4
- package/dist/clamp.d.ts +0 -4
- package/dist/clamp.js +1 -1
- package/dist/clone.cjs +1 -1
- package/dist/clone.d.cts +10 -4
- package/dist/clone.d.ts +10 -4
- package/dist/clone.js +1 -1
- package/dist/concat.cjs +1 -1
- package/dist/concat.d.cts +1 -2
- package/dist/concat.d.ts +1 -2
- package/dist/concat.js +1 -1
- package/dist/conditional.cjs +1 -1
- package/dist/conditional.d.cts +8 -2
- package/dist/conditional.d.ts +8 -2
- package/dist/conditional.js +1 -1
- package/dist/curry-order-rules-BKXCPBNx.d.cts +37 -0
- package/dist/curry-order-rules-BKXCPBNx.d.ts +37 -0
- package/dist/curry.cjs +1 -1
- package/dist/curry.js +1 -1
- package/dist/deduped-CagGlWg1.d.cts +23 -0
- package/dist/deduped-DWYYywHn.d.ts +23 -0
- package/dist/difference-with.cjs +1 -1
- package/dist/difference-with.js +1 -1
- package/dist/difference.cjs +1 -1
- package/dist/difference.js +1 -1
- package/dist/divide.cjs +1 -1
- package/dist/divide.js +1 -1
- package/dist/do-nothing.cjs +1 -1
- package/dist/do-nothing.d.cts +1 -1
- package/dist/do-nothing.d.ts +1 -1
- package/dist/do-nothing.js +1 -1
- package/dist/drop-first-by.cjs +1 -1
- package/dist/drop-first-by.d.cts +2 -3
- package/dist/drop-first-by.d.ts +2 -3
- package/dist/drop-first-by.js +1 -1
- package/dist/drop-last-while.cjs +1 -1
- package/dist/drop-last-while.d.cts +1 -2
- package/dist/drop-last-while.d.ts +1 -2
- package/dist/drop-last-while.js +1 -1
- package/dist/drop-last.cjs +1 -1
- package/dist/drop-last.d.cts +1 -2
- package/dist/drop-last.d.ts +1 -2
- package/dist/drop-last.js +1 -1
- package/dist/drop-while.cjs +1 -1
- package/dist/drop-while.d.cts +1 -2
- package/dist/drop-while.d.ts +1 -2
- package/dist/drop-while.js +1 -1
- package/dist/drop.cjs +1 -1
- package/dist/drop.d.cts +14 -2
- package/dist/drop.d.ts +14 -2
- package/dist/drop.js +1 -1
- package/dist/entries.cjs +1 -1
- package/dist/entries.js +1 -1
- package/dist/enumerable-string-key-of-BQ4aR5ep.d.cts +12 -0
- package/dist/enumerable-string-key-of-BQ4aR5ep.d.ts +12 -0
- package/dist/enumerable-string-keyed-value-of-CLzltniW.d.cts +15 -0
- package/dist/enumerable-string-keyed-value-of-CLzltniW.d.ts +15 -0
- package/dist/evolve.cjs +1 -1
- package/dist/evolve.d.cts +1 -2
- package/dist/evolve.d.ts +1 -2
- package/dist/evolve.js +1 -1
- package/dist/exact-record-Bf4LoPyZ.d.ts +5 -0
- package/dist/exact-record-h-jwajoM.d.cts +5 -0
- package/dist/filter.cjs +1 -1
- package/dist/filter.js +1 -1
- package/dist/find-index.cjs +1 -1
- package/dist/find-index.js +1 -1
- package/dist/find-last-index.cjs +1 -1
- package/dist/find-last-index.js +1 -1
- package/dist/find-last.cjs +1 -1
- package/dist/find-last.js +1 -1
- package/dist/find.cjs +1 -1
- package/dist/find.js +1 -1
- package/dist/first-by.cjs +1 -1
- package/dist/first-by.d.cts +4 -4
- package/dist/first-by.d.ts +4 -4
- package/dist/first-by.js +1 -1
- package/dist/first.cjs +1 -1
- package/dist/first.d.cts +1 -2
- package/dist/first.d.ts +1 -2
- package/dist/first.js +1 -1
- package/dist/flat-map.cjs +1 -1
- package/dist/flat-map.js +1 -1
- package/dist/flat.cjs +1 -1
- package/dist/flat.d.cts +1 -1
- package/dist/flat.d.ts +1 -1
- package/dist/flat.js +1 -1
- package/dist/floor.cjs +1 -1
- package/dist/floor.js +1 -1
- package/dist/for-each-obj.cjs +1 -1
- package/dist/for-each-obj.d.cts +2 -1
- package/dist/for-each-obj.d.ts +2 -1
- package/dist/for-each-obj.js +1 -1
- package/dist/for-each.cjs +1 -1
- package/dist/for-each.d.cts +1 -1
- package/dist/for-each.d.ts +1 -1
- package/dist/for-each.js +1 -1
- package/dist/from-entries.cjs +1 -1
- package/dist/from-entries.d.cts +1 -1
- package/dist/from-entries.d.ts +1 -1
- package/dist/from-entries.js +1 -1
- package/dist/from-keys.cjs +1 -1
- package/dist/from-keys.d.cts +3 -1
- package/dist/from-keys.d.ts +3 -1
- package/dist/from-keys.js +1 -1
- package/dist/group-by.cjs +1 -1
- package/dist/group-by.d.cts +3 -1
- package/dist/group-by.d.ts +3 -1
- package/dist/group-by.js +1 -1
- package/dist/has-at-least.cjs +1 -1
- package/dist/has-at-least.d.cts +1 -1
- package/dist/has-at-least.d.ts +1 -1
- package/dist/has-at-least.js +1 -1
- package/dist/has-sub-object.cjs +1 -1
- package/dist/has-sub-object.d.cts +3 -6
- package/dist/has-sub-object.d.ts +3 -6
- package/dist/has-sub-object.js +1 -1
- package/dist/human-readable-file-size.d.cts +1 -0
- package/dist/human-readable-file-size.d.ts +1 -0
- package/dist/identity.cjs +1 -1
- package/dist/identity.d.cts +1 -1
- package/dist/identity.d.ts +1 -1
- package/dist/identity.js +1 -1
- package/dist/if-bounded-record-DVYSMNKL.d.cts +29 -0
- package/dist/if-bounded-record-DVYSMNKL.d.ts +29 -0
- package/dist/index-by.cjs +1 -1
- package/dist/index-by.d.cts +2 -1
- package/dist/index-by.d.ts +2 -1
- package/dist/index-by.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +15 -2
- package/dist/index.d.ts +15 -2
- package/dist/index.js +1 -1
- package/dist/intersection-with.cjs +1 -1
- package/dist/intersection-with.js +1 -1
- package/dist/intersection.cjs +1 -1
- package/dist/intersection.js +1 -1
- package/dist/invert.cjs +1 -1
- package/dist/invert.js +1 -1
- package/dist/is-array.cjs +1 -1
- package/dist/is-array.d.cts +1 -1
- package/dist/is-array.d.ts +1 -1
- package/dist/is-array.js +1 -1
- package/dist/is-big-int.d.cts +2 -2
- package/dist/is-big-int.d.ts +2 -2
- package/dist/is-boolean.d.cts +2 -2
- package/dist/is-boolean.d.ts +2 -2
- package/dist/is-deep-equal.cjs +1 -1
- package/dist/is-deep-equal.d.cts +2 -2
- package/dist/is-deep-equal.d.ts +2 -2
- package/dist/is-deep-equal.js +1 -1
- package/dist/is-empty.d.cts +1 -2
- package/dist/is-empty.d.ts +1 -2
- package/dist/is-included-in.d.cts +2 -1
- package/dist/is-included-in.d.ts +2 -1
- package/dist/is-nullish.cjs +1 -1
- package/dist/is-nullish.d.cts +2 -2
- package/dist/is-nullish.d.ts +2 -2
- package/dist/is-nullish.js +1 -1
- package/dist/is-number.d.cts +2 -2
- package/dist/is-number.d.ts +2 -2
- package/dist/is-object-type.d.cts +2 -2
- package/dist/is-object-type.d.ts +2 -2
- package/dist/is-plain-object.cjs +1 -1
- package/dist/is-plain-object.d.cts +1 -1
- package/dist/is-plain-object.d.ts +1 -1
- package/dist/is-plain-object.js +1 -1
- package/dist/is-shallow-equal.cjs +1 -1
- package/dist/is-shallow-equal.js +1 -1
- package/dist/is-strict-equal.cjs +1 -1
- package/dist/is-strict-equal.js +1 -1
- package/dist/is-string.d.cts +2 -2
- package/dist/is-string.d.ts +2 -2
- package/dist/is-symbol.d.cts +2 -2
- package/dist/is-symbol.d.ts +2 -2
- package/dist/is-union-Bx34mF34.d.cts +6 -0
- package/dist/is-union-Bx34mF34.d.ts +6 -0
- package/dist/iterable-container-BTpDVdNc.d.cts +15 -0
- package/dist/iterable-container-BTpDVdNc.d.ts +15 -0
- package/dist/join.cjs +1 -1
- package/dist/join.js +1 -1
- package/dist/keys.cjs +1 -1
- package/dist/keys.d.cts +2 -2
- package/dist/keys.d.ts +2 -2
- package/dist/keys.js +1 -1
- package/dist/last.cjs +1 -1
- package/dist/last.d.cts +1 -1
- package/dist/last.d.ts +1 -1
- package/dist/last.js +1 -1
- package/dist/length.cjs +1 -1
- package/dist/length.js +1 -1
- package/dist/map-keys.cjs +1 -1
- package/dist/map-keys.d.cts +4 -1
- package/dist/map-keys.d.ts +4 -1
- package/dist/map-keys.js +1 -1
- package/dist/map-to-obj.cjs +1 -1
- package/dist/map-to-obj.js +1 -1
- package/dist/map-values.cjs +1 -1
- package/dist/map-values.d.cts +2 -1
- package/dist/map-values.d.ts +2 -1
- package/dist/map-values.js +1 -1
- package/dist/map-with-feedback.cjs +1 -1
- package/dist/map-with-feedback.d.cts +2 -2
- package/dist/map-with-feedback.d.ts +2 -2
- package/dist/map-with-feedback.js +1 -1
- package/dist/map.cjs +1 -1
- package/dist/map.d.cts +2 -2
- package/dist/map.d.ts +2 -2
- package/dist/map.js +1 -1
- package/dist/mapped-C0LN24rT.d.ts +7 -0
- package/dist/mapped-D9hCE2LX.d.cts +7 -0
- package/dist/mean-by.cjs +1 -1
- package/dist/mean-by.js +1 -1
- package/dist/merge-deep.cjs +1 -1
- package/dist/merge-deep.d.cts +2 -2
- package/dist/merge-deep.d.ts +2 -2
- package/dist/merge-deep.js +1 -1
- package/dist/merge.cjs +1 -1
- package/dist/merge.js +1 -1
- package/dist/multiply.cjs +1 -1
- package/dist/multiply.js +1 -1
- package/dist/narrowed-to-CDIykNaN.d.cts +12 -0
- package/dist/narrowed-to-CDIykNaN.d.ts +12 -0
- package/dist/non-empty-array-C9Od1wmF.d.cts +3 -0
- package/dist/non-empty-array-C9Od1wmF.d.ts +3 -0
- package/dist/nth-by.cjs +1 -1
- package/dist/nth-by.d.cts +3 -3
- package/dist/nth-by.d.ts +3 -3
- package/dist/nth-by.js +1 -1
- package/dist/obj-of.cjs +1 -1
- package/dist/obj-of.js +1 -1
- package/dist/omit-by.cjs +1 -1
- package/dist/omit-by.d.cts +4 -1
- package/dist/omit-by.d.ts +4 -1
- package/dist/omit-by.js +1 -1
- package/dist/omit.cjs +1 -1
- package/dist/omit.js +1 -1
- package/dist/only.cjs +1 -1
- package/dist/only.d.cts +1 -2
- package/dist/only.d.ts +1 -2
- package/dist/only.js +1 -1
- package/dist/partition.cjs +1 -1
- package/dist/partition.js +1 -1
- package/dist/path-or.cjs +1 -1
- package/dist/path-or.js +1 -1
- package/dist/pick-by.cjs +1 -1
- package/dist/pick-by.d.cts +4 -1
- package/dist/pick-by.d.ts +4 -1
- package/dist/pick-by.js +1 -1
- package/dist/pick.cjs +1 -1
- package/dist/pick.js +1 -1
- package/dist/pipe.cjs +1 -1
- package/dist/pipe.d.cts +3 -3
- package/dist/pipe.d.ts +3 -3
- package/dist/pipe.js +1 -1
- package/dist/piped.cjs +1 -1
- package/dist/piped.js +1 -1
- package/dist/product.cjs +1 -1
- package/dist/product.d.cts +1 -2
- package/dist/product.d.ts +1 -2
- package/dist/product.js +1 -1
- package/dist/prop.cjs +1 -1
- package/dist/prop.js +1 -1
- package/dist/pull-object.cjs +1 -1
- package/dist/pull-object.d.cts +3 -1
- package/dist/pull-object.d.ts +3 -1
- package/dist/pull-object.js +1 -1
- package/dist/random-string.cjs +1 -1
- package/dist/random-string.js +1 -1
- package/dist/range.cjs +1 -1
- package/dist/range.js +1 -1
- package/dist/rank-by.cjs +1 -1
- package/dist/rank-by.d.cts +2 -3
- package/dist/rank-by.d.ts +2 -3
- package/dist/rank-by.js +1 -1
- package/dist/reconstructed-record-DchLaSO8.d.cts +10 -0
- package/dist/reconstructed-record-DuxOLlMs.d.ts +10 -0
- package/dist/reduce.cjs +1 -1
- package/dist/reduce.js +1 -1
- package/dist/reordered-array-DTkM8K3n.d.cts +7 -0
- package/dist/reordered-array-DVguhAmZ.d.ts +7 -0
- package/dist/reverse.cjs +1 -1
- package/dist/reverse.js +1 -1
- package/dist/round.cjs +1 -1
- package/dist/round.js +1 -1
- package/dist/sample.cjs +1 -1
- package/dist/sample.d.cts +1 -2
- package/dist/sample.d.ts +1 -2
- package/dist/sample.js +1 -1
- package/dist/set-path.cjs +1 -1
- package/dist/set-path.js +1 -1
- package/dist/set.cjs +1 -1
- package/dist/set.d.cts +2 -1
- package/dist/set.d.ts +2 -1
- package/dist/set.js +1 -1
- package/dist/shuffle.cjs +1 -1
- package/dist/shuffle.d.cts +2 -2
- package/dist/shuffle.d.ts +2 -2
- package/dist/shuffle.js +1 -1
- package/dist/sort-by.cjs +1 -1
- package/dist/sort-by.d.cts +4 -3
- package/dist/sort-by.d.ts +4 -3
- package/dist/sort-by.js +1 -1
- package/dist/sort.cjs +1 -1
- package/dist/sort.d.cts +2 -2
- package/dist/sort.d.ts +2 -2
- package/dist/sort.js +1 -1
- package/dist/sorted-index-by.cjs +1 -1
- package/dist/sorted-index-by.js +1 -1
- package/dist/sorted-index-with.cjs +1 -1
- package/dist/sorted-index-with.js +1 -1
- package/dist/sorted-index.cjs +1 -1
- package/dist/sorted-index.js +1 -1
- package/dist/sorted-last-index-by.cjs +1 -1
- package/dist/sorted-last-index-by.js +1 -1
- package/dist/sorted-last-index.cjs +1 -1
- package/dist/sorted-last-index.js +1 -1
- package/dist/splice.cjs +1 -1
- package/dist/splice.js +1 -1
- package/dist/split-at.cjs +1 -1
- package/dist/split-at.js +1 -1
- package/dist/split-when.cjs +1 -1
- package/dist/split-when.js +1 -1
- package/dist/subtract.cjs +1 -1
- package/dist/subtract.js +1 -1
- package/dist/sum-by.cjs +1 -1
- package/dist/sum-by.d.cts +26 -4
- package/dist/sum-by.d.ts +26 -4
- package/dist/sum-by.js +1 -1
- package/dist/sum.cjs +1 -1
- package/dist/sum.d.cts +1 -2
- package/dist/sum.d.ts +1 -2
- package/dist/sum.js +1 -1
- package/dist/swap-indices.cjs +1 -1
- package/dist/swap-indices.d.cts +1 -1
- package/dist/swap-indices.d.ts +1 -1
- package/dist/swap-indices.js +1 -1
- package/dist/swap-props.cjs +1 -1
- package/dist/swap-props.js +1 -1
- package/dist/take-first-by.cjs +1 -1
- package/dist/take-first-by.d.cts +2 -3
- package/dist/take-first-by.d.ts +2 -3
- package/dist/take-first-by.js +1 -1
- package/dist/take-last-while.cjs +1 -1
- package/dist/take-last-while.d.cts +1 -2
- package/dist/take-last-while.d.ts +1 -2
- package/dist/take-last-while.js +1 -1
- package/dist/take-last-while.spec-d-.cjs +1 -1
- package/dist/take-last-while.spec-d-.js +1 -1
- package/dist/take-last.cjs +1 -1
- package/dist/take-last.d.cts +1 -2
- package/dist/take-last.d.ts +1 -2
- package/dist/take-last.js +1 -1
- package/dist/take-while.cjs +1 -1
- package/dist/take-while.d.cts +1 -2
- package/dist/take-while.d.ts +1 -2
- package/dist/take-while.js +1 -1
- package/dist/take.cjs +1 -1
- package/dist/take.d.cts +1 -2
- package/dist/take.d.ts +1 -2
- package/dist/take.js +1 -1
- package/dist/tap.cjs +1 -1
- package/dist/tap.js +1 -1
- package/dist/times.cjs +1 -1
- package/dist/times.js +1 -1
- package/dist/to-camel-case.cjs +1 -1
- package/dist/to-camel-case.js +1 -1
- package/dist/to-capital-case.cjs +1 -1
- package/dist/to-capital-case.js +1 -1
- package/dist/to-constant-case.cjs +1 -1
- package/dist/to-constant-case.js +1 -1
- package/dist/to-kebab-case.cjs +1 -1
- package/dist/to-kebab-case.js +1 -1
- package/dist/to-no-case.cjs +1 -1
- package/dist/to-no-case.js +1 -1
- package/dist/to-pascal-case.cjs +1 -1
- package/dist/to-pascal-case.js +1 -1
- package/dist/to-pascal-snake-case.cjs +1 -1
- package/dist/to-pascal-snake-case.js +1 -1
- package/dist/to-sentence-case.cjs +1 -1
- package/dist/to-sentence-case.js +1 -1
- package/dist/to-snake-case.cjs +1 -1
- package/dist/to-snake-case.js +1 -1
- package/dist/to-train-case.cjs +1 -1
- package/dist/to-train-case.js +1 -1
- package/dist/tuple-parts-DcH94smG.d.cts +46 -0
- package/dist/tuple-parts-DcH94smG.d.ts +46 -0
- package/dist/unique-by.cjs +1 -1
- package/dist/unique-by.d.cts +3 -2
- package/dist/unique-by.d.ts +3 -2
- package/dist/unique-by.js +1 -1
- package/dist/unique-with.cjs +1 -1
- package/dist/unique-with.d.cts +3 -2
- package/dist/unique-with.d.ts +3 -2
- package/dist/unique-with.js +1 -1
- package/dist/unique.cjs +1 -1
- package/dist/unique.d.cts +3 -2
- package/dist/unique.d.ts +3 -2
- package/dist/unique.js +1 -1
- package/dist/upsert-prop-CGK0wJEu.d.cts +12 -0
- package/dist/upsert-prop-Ddv30E0o.d.ts +12 -0
- package/dist/values.cjs +1 -1
- package/dist/values.d.cts +2 -1
- package/dist/values.d.ts +2 -1
- package/dist/values.js +1 -1
- package/dist/zip-with.cjs +1 -1
- package/dist/zip-with.d.cts +1 -2
- package/dist/zip-with.d.ts +1 -2
- package/dist/zip-with.js +1 -1
- package/dist/zip.cjs +1 -1
- package/dist/zip.d.cts +1 -2
- package/dist/zip.d.ts +1 -2
- package/dist/zip.js +1 -1
- package/package.json +16 -14
- package/dist/add-prop.spec-d.cjs +0 -1
- package/dist/add-prop.spec-d.d.cts +0 -2
- package/dist/add-prop.spec-d.d.ts +0 -2
- package/dist/add-prop.spec-d.js +0 -1
- package/dist/chunk-22S2LZ25.js +0 -1
- package/dist/chunk-2ADWP73S.js +0 -1
- package/dist/chunk-2ETHJVG3.cjs +0 -1
- package/dist/chunk-2T576V7A.js +0 -1
- package/dist/chunk-2VLHCBHJ.js +0 -1
- package/dist/chunk-3DFX2FQG.cjs +0 -1
- package/dist/chunk-3DPIEAUX.js +0 -1
- package/dist/chunk-3FYWJG4A.cjs +0 -1
- package/dist/chunk-3T7K3EKS.js +0 -1
- package/dist/chunk-3X6SAJDQ.cjs +0 -1
- package/dist/chunk-43F3C5SP.js +0 -1
- package/dist/chunk-47KOI7MW.cjs +0 -1
- package/dist/chunk-4AZGD6ZX.cjs +0 -1
- package/dist/chunk-4WU7JGWS.cjs +0 -1
- package/dist/chunk-52GYNLEB.js +0 -1
- package/dist/chunk-5AIMRZXJ.cjs +0 -1
- package/dist/chunk-5HAUJEIR.js +0 -1
- package/dist/chunk-5ILJAWGC.js +0 -1
- package/dist/chunk-5KMAUZSO.js +0 -1
- package/dist/chunk-5NG5PDAH.js +0 -1
- package/dist/chunk-5UP2X3VY.cjs +0 -1
- package/dist/chunk-5XZK5BDM.js +0 -1
- package/dist/chunk-64KL2FA2.cjs +0 -1
- package/dist/chunk-6ALZHU2N.js +0 -1
- package/dist/chunk-6GVFMZ2X.js +0 -1
- package/dist/chunk-6TRXWRYJ.cjs +0 -1
- package/dist/chunk-73BYESBE.js +0 -1
- package/dist/chunk-7DDJ7DZF.js +0 -1
- package/dist/chunk-7EJQW5L6.cjs +0 -1
- package/dist/chunk-7H4T2OX5.js +0 -1
- package/dist/chunk-7IYJC2PM.cjs +0 -1
- package/dist/chunk-7JDXDFFQ.js +0 -1
- package/dist/chunk-7QAJO3GY.cjs +0 -1
- package/dist/chunk-7R7W43BD.js +0 -1
- package/dist/chunk-7SHZ4MGU.cjs +0 -1
- package/dist/chunk-7UJXFFOU.js +0 -1
- package/dist/chunk-A535Z4LW.cjs +0 -1
- package/dist/chunk-A62OZTSJ.js +0 -1
- package/dist/chunk-A6WT2DZU.cjs +0 -1
- package/dist/chunk-AACZ5UGG.cjs +0 -1
- package/dist/chunk-AEN2DN32.js +0 -1
- package/dist/chunk-AKGWT6GC.js +0 -1
- package/dist/chunk-BF6VQFQK.js +0 -1
- package/dist/chunk-BGPRJNRQ.js +0 -1
- package/dist/chunk-BIAJ5KWR.cjs +0 -1
- package/dist/chunk-BRLENORL.js +0 -1
- package/dist/chunk-BT3FI7L7.js +0 -1
- package/dist/chunk-BVOCXV26.cjs +0 -1
- package/dist/chunk-BWJDD26T.cjs +0 -1
- package/dist/chunk-C27FZNUV.js +0 -1
- package/dist/chunk-C4EDF27A.js +0 -1
- package/dist/chunk-C6L5NLLB.js +0 -1
- package/dist/chunk-CGK7KN32.cjs +0 -1
- package/dist/chunk-CIZWCFSY.cjs +0 -1
- package/dist/chunk-CQQLWV2A.cjs +0 -1
- package/dist/chunk-CUJA7FM4.js +0 -1
- package/dist/chunk-CXZHGDSD.cjs +0 -1
- package/dist/chunk-D32D4HMP.cjs +0 -1
- package/dist/chunk-D5B5IQRS.js +0 -1
- package/dist/chunk-D5VBQ4IX.js +0 -1
- package/dist/chunk-D7G6PMA5.js +0 -1
- package/dist/chunk-DHNCWVVT.cjs +0 -1
- package/dist/chunk-DJ5DVLWD.cjs +0 -1
- package/dist/chunk-E2NINCLI.js +0 -1
- package/dist/chunk-E6JSDI5S.cjs +0 -1
- package/dist/chunk-E6MBOCIC.cjs +0 -1
- package/dist/chunk-E6RBEL5Z.cjs +0 -1
- package/dist/chunk-EAD7YDX3.cjs +0 -1
- package/dist/chunk-EKYCE7XE.cjs +0 -1
- package/dist/chunk-EM2UX3KN.js +0 -1
- package/dist/chunk-ENIRKKU6.js +0 -1
- package/dist/chunk-EPHUNAE5.js +0 -1
- package/dist/chunk-EV7KEYHC.js +0 -1
- package/dist/chunk-F7KW3CUF.js +0 -1
- package/dist/chunk-FFIQSVST.cjs +0 -1
- package/dist/chunk-FKSROXF4.js +0 -1
- package/dist/chunk-FKWGRK76.js +0 -1
- package/dist/chunk-FNZCH7TN.cjs +0 -1
- package/dist/chunk-FQ3EXU24.js +0 -1
- package/dist/chunk-FWQYL4Y4.cjs +0 -1
- package/dist/chunk-FZCOVI2M.cjs +0 -1
- package/dist/chunk-G66EZBJS.cjs +0 -1
- package/dist/chunk-G6SFG3W4.cjs +0 -1
- package/dist/chunk-G7BJFBAZ.cjs +0 -1
- package/dist/chunk-GGKOIUWC.cjs +0 -1
- package/dist/chunk-GIJKULXC.cjs +0 -1
- package/dist/chunk-GLAMUYBB.cjs +0 -1
- package/dist/chunk-GNEUT34M.cjs +0 -1
- package/dist/chunk-GNPFJJSC.cjs +0 -1
- package/dist/chunk-GU2VTZ37.js +0 -1
- package/dist/chunk-GUZPDGVH.cjs +0 -1
- package/dist/chunk-GXVKH5OX.cjs +0 -1
- package/dist/chunk-H2E5GCCP.js +0 -1
- package/dist/chunk-H7YM6WEO.cjs +0 -1
- package/dist/chunk-HA5S5RKI.cjs +0 -1
- package/dist/chunk-HBZ5F2DD.cjs +0 -1
- package/dist/chunk-HFZNXHUH.js +0 -1
- package/dist/chunk-HJO63NJC.cjs +0 -1
- package/dist/chunk-HLKCHMAO.js +0 -1
- package/dist/chunk-HLL46USD.js +0 -1
- package/dist/chunk-HQ2OH3WD.cjs +0 -1
- package/dist/chunk-HTO3K3VA.cjs +0 -1
- package/dist/chunk-HU67VIVI.js +0 -1
- package/dist/chunk-I6VXEY44.cjs +0 -1
- package/dist/chunk-I7I54DAZ.cjs +0 -1
- package/dist/chunk-IA53O34Y.js +0 -1
- package/dist/chunk-IABWIMQT.js +0 -1
- package/dist/chunk-IKXLQXFZ.js +0 -1
- package/dist/chunk-INAPFYB2.cjs +0 -1
- package/dist/chunk-IYUNRFZS.js +0 -1
- package/dist/chunk-IZZFU26S.cjs +0 -1
- package/dist/chunk-J2THP74P.cjs +0 -1
- package/dist/chunk-J3YPWVVQ.js +0 -1
- package/dist/chunk-J5PNUDDU.js +0 -1
- package/dist/chunk-J6L2AOTY.js +0 -1
- package/dist/chunk-JDWB2A3S.cjs +0 -1
- package/dist/chunk-JFXZ246Y.js +0 -1
- package/dist/chunk-JK22NVTR.js +0 -1
- package/dist/chunk-JL33LZPL.js +0 -1
- package/dist/chunk-JLRJ44YR.js +0 -1
- package/dist/chunk-JMS6POBO.cjs +0 -1
- package/dist/chunk-JNFB7I2A.js +0 -1
- package/dist/chunk-JU4UCCME.js +0 -1
- package/dist/chunk-JWNYA3DD.cjs +0 -1
- package/dist/chunk-JXMWUSPN.cjs +0 -1
- package/dist/chunk-JXXXUJM5.js +0 -1
- package/dist/chunk-K2MIPOLQ.cjs +0 -1
- package/dist/chunk-KAA6IVBL.js +0 -1
- package/dist/chunk-KBGFDQ5T.cjs +0 -1
- package/dist/chunk-KCUIAELF.js +0 -1
- package/dist/chunk-KDSNKESQ.js +0 -1
- package/dist/chunk-KG2TAX4E.js +0 -1
- package/dist/chunk-KITVKWLP.cjs +0 -1
- package/dist/chunk-KJ42LLSJ.js +0 -1
- package/dist/chunk-KLQZU5J4.cjs +0 -1
- package/dist/chunk-KODMZU4J.cjs +0 -1
- package/dist/chunk-KTMLSQQ7.js +0 -1
- package/dist/chunk-L4KSN3W4.js +0 -1
- package/dist/chunk-L5AJZHZ7.js +0 -1
- package/dist/chunk-L5GWUR4G.js +0 -1
- package/dist/chunk-LG37S75J.js +0 -1
- package/dist/chunk-LHHGOIQC.js +0 -1
- package/dist/chunk-LIXAROKH.cjs +0 -1
- package/dist/chunk-LSXNPOLD.js +0 -1
- package/dist/chunk-LWPEZ7RI.js +0 -1
- package/dist/chunk-LZOGCJPR.cjs +0 -1
- package/dist/chunk-MA4ZCOG3.js +0 -1
- package/dist/chunk-MADDQNAR.cjs +0 -1
- package/dist/chunk-MBYBX5B3.js +0 -1
- package/dist/chunk-MGDE5ISW.cjs +0 -1
- package/dist/chunk-MGT2JXCZ.cjs +0 -1
- package/dist/chunk-MKM3UJUV.js +0 -1
- package/dist/chunk-MLLA7SGZ.cjs +0 -1
- package/dist/chunk-MQ3SR4YO.cjs +0 -1
- package/dist/chunk-MQGR4WQQ.cjs +0 -1
- package/dist/chunk-MQH2LHSB.js +0 -1
- package/dist/chunk-MYLYERXO.js +0 -1
- package/dist/chunk-MZWACWOX.js +0 -1
- package/dist/chunk-N2ZP6DKG.cjs +0 -1
- package/dist/chunk-N4VSV73E.js +0 -1
- package/dist/chunk-NIYVDIEQ.cjs +0 -1
- package/dist/chunk-NLX7PGPI.cjs +0 -1
- package/dist/chunk-NM55NELV.cjs +0 -1
- package/dist/chunk-NULDWRPD.cjs +0 -1
- package/dist/chunk-OJ2QGTFS.js +0 -1
- package/dist/chunk-ON6MMTUN.cjs +0 -1
- package/dist/chunk-OQ34Z5CL.cjs +0 -1
- package/dist/chunk-P3LGW6WA.js +0 -1
- package/dist/chunk-PFLGL4YP.js +0 -1
- package/dist/chunk-PH45KQNB.cjs +0 -1
- package/dist/chunk-PHKKU45J.js +0 -1
- package/dist/chunk-PHSDYGVD.cjs +0 -1
- package/dist/chunk-PKGL5JK6.js +0 -1
- package/dist/chunk-PL6B6X5G.js +0 -1
- package/dist/chunk-PSXTTF2V.js +0 -1
- package/dist/chunk-PU6FU2UB.cjs +0 -1
- package/dist/chunk-PWOIVNVI.js +0 -1
- package/dist/chunk-PX7U5WLN.cjs +0 -1
- package/dist/chunk-Q4B5JNZS.cjs +0 -1
- package/dist/chunk-Q4GWEOZM.js +0 -1
- package/dist/chunk-QHGCU3LJ.js +0 -1
- package/dist/chunk-QIM2PMWS.js +0 -1
- package/dist/chunk-QIRZMNKN.cjs +0 -1
- package/dist/chunk-QIYBHLRA.js +0 -1
- package/dist/chunk-QQQIEYAH.js +0 -1
- package/dist/chunk-QRDGUNHT.js +0 -1
- package/dist/chunk-QTQTKNWA.js +0 -1
- package/dist/chunk-QU5PCAYZ.js +0 -1
- package/dist/chunk-QUPOLS3D.cjs +0 -1
- package/dist/chunk-QVDYQ7ZE.cjs +0 -1
- package/dist/chunk-QWQ2V7HJ.cjs +0 -1
- package/dist/chunk-QYFACQ7P.cjs +0 -1
- package/dist/chunk-R22OILXQ.cjs +0 -1
- package/dist/chunk-R52BC2FH.cjs +0 -1
- package/dist/chunk-R5K7KY5K.js +0 -1
- package/dist/chunk-RF4ZO322.cjs +0 -1
- package/dist/chunk-RJAVPEJT.cjs +0 -1
- package/dist/chunk-SDXTQQIO.js +0 -1
- package/dist/chunk-SNQAZZSY.cjs +0 -1
- package/dist/chunk-SRZSHSZD.cjs +0 -1
- package/dist/chunk-SVOK32ZP.js +0 -1
- package/dist/chunk-SXTSJOEE.cjs +0 -1
- package/dist/chunk-T2LJNGWI.js +0 -1
- package/dist/chunk-T7S2RC5M.cjs +0 -1
- package/dist/chunk-TA5NVANU.cjs +0 -1
- package/dist/chunk-TBMLJPXO.js +0 -1
- package/dist/chunk-TBXEXWSK.js +0 -1
- package/dist/chunk-TCGKEV4J.cjs +0 -1
- package/dist/chunk-TKJ7YEHS.cjs +0 -1
- package/dist/chunk-TL3ZHA7Y.cjs +0 -1
- package/dist/chunk-TT2VLICK.js +0 -1
- package/dist/chunk-U2BXIRBJ.js +0 -1
- package/dist/chunk-U32YSACL.cjs +0 -1
- package/dist/chunk-U3YJZ66O.cjs +0 -1
- package/dist/chunk-UHUFGDIS.cjs +0 -1
- package/dist/chunk-ULMOKABQ.cjs +0 -1
- package/dist/chunk-UNG2JJTE.js +0 -1
- package/dist/chunk-UNKQWZT6.js +0 -1
- package/dist/chunk-UO2ELCGC.js +0 -1
- package/dist/chunk-USNHLUEU.js +0 -1
- package/dist/chunk-VAUOPMAN.cjs +0 -1
- package/dist/chunk-VCZBVN24.cjs +0 -1
- package/dist/chunk-VEG55EJ6.cjs +0 -1
- package/dist/chunk-VFU6P7NI.js +0 -1
- package/dist/chunk-VGZCX6HK.cjs +0 -1
- package/dist/chunk-VJMHXGZD.js +0 -1
- package/dist/chunk-VN2OAM2N.js +0 -1
- package/dist/chunk-VNU4MGEF.js +0 -1
- package/dist/chunk-VPG3W5JH.cjs +0 -1
- package/dist/chunk-WBJ2VSGC.cjs +0 -1
- package/dist/chunk-WNL2I2YK.cjs +0 -1
- package/dist/chunk-WNVLF6JY.cjs +0 -1
- package/dist/chunk-WQDEYM64.js +0 -1
- package/dist/chunk-WRKGH4XX.js +0 -1
- package/dist/chunk-WUAU3LTQ.js +0 -1
- package/dist/chunk-WW7P3TAU.cjs +0 -1
- package/dist/chunk-X7HV6BKN.js +0 -1
- package/dist/chunk-XOWF2B3H.js +0 -1
- package/dist/chunk-XSYAC5NV.cjs +0 -1
- package/dist/chunk-XUEOOIR6.cjs +0 -1
- package/dist/chunk-XUU6IYML.js +0 -1
- package/dist/chunk-XWX4B5PF.js +0 -1
- package/dist/chunk-XXQWPQH3.cjs +0 -1
- package/dist/chunk-XXU2FTTA.cjs +0 -1
- package/dist/chunk-Y3WI7FPB.cjs +0 -1
- package/dist/chunk-Y74ER22O.cjs +0 -1
- package/dist/chunk-YMNBZZDN.js +0 -1
- package/dist/chunk-YTNT635N.js +0 -1
- package/dist/chunk-YTZNH65O.js +0 -1
- package/dist/chunk-YVGIOTPH.cjs +0 -1
- package/dist/chunk-YWO7TFOD.cjs +0 -1
- package/dist/chunk-Z42U7NBM.cjs +0 -1
- package/dist/chunk-Z5UEQBZP.cjs +0 -1
- package/dist/chunk-Z6HCXPKS.cjs +0 -1
- package/dist/chunk-ZA4IP5S7.js +0 -1
- package/dist/chunk-ZBYQEJZV.cjs +0 -1
- package/dist/chunk-ZIF7K2PC.js +0 -1
- package/dist/chunk-ZJGZ2TEC.cjs +0 -1
- package/dist/chunk-ZO4ND36N.cjs +0 -1
- package/dist/chunk-ZSI3ZTMX.js +0 -1
- package/dist/chunk-ZUNMUNQT.js +0 -1
- package/dist/chunk-ZX74SXNB.js +0 -1
- package/dist/chunk.spec-d.cjs +0 -1
- package/dist/chunk.spec-d.d.cts +0 -2
- package/dist/chunk.spec-d.d.ts +0 -2
- package/dist/chunk.spec-d.js +0 -1
- package/dist/conditional.spec-d.cjs +0 -1
- package/dist/conditional.spec-d.d.cts +0 -2
- package/dist/conditional.spec-d.d.ts +0 -2
- package/dist/conditional.spec-d.js +0 -1
- package/dist/constant.spec-d.cjs +0 -1
- package/dist/constant.spec-d.d.cts +0 -2
- package/dist/constant.spec-d.d.ts +0 -2
- package/dist/constant.spec-d.js +0 -1
- package/dist/curry-order-rules-DETxSzle.d.cts +0 -37
- package/dist/curry-order-rules-DETxSzle.d.ts +0 -37
- package/dist/debounce.spec-d.cjs +0 -1
- package/dist/debounce.spec-d.d.cts +0 -2
- package/dist/debounce.spec-d.d.ts +0 -2
- package/dist/debounce.spec-d.js +0 -1
- package/dist/do-nothing.spec-d.cjs +0 -1
- package/dist/do-nothing.spec-d.d.cts +0 -2
- package/dist/do-nothing.spec-d.d.ts +0 -2
- package/dist/do-nothing.spec-d.js +0 -1
- package/dist/drop-last-while.spec-d.cjs +0 -1
- package/dist/drop-last-while.spec-d.d.cts +0 -2
- package/dist/drop-last-while.spec-d.d.ts +0 -2
- package/dist/drop-last-while.spec-d.js +0 -1
- package/dist/drop-last.spec-d.cjs +0 -1
- package/dist/drop-last.spec-d.d.cts +0 -2
- package/dist/drop-last.spec-d.d.ts +0 -2
- package/dist/drop-last.spec-d.js +0 -1
- package/dist/drop-while.spec-d.cjs +0 -1
- package/dist/drop-while.spec-d.d.cts +0 -2
- package/dist/drop-while.spec-d.d.ts +0 -2
- package/dist/drop-while.spec-d.js +0 -1
- package/dist/drop.spec-d.cjs +0 -1
- package/dist/drop.spec-d.d.cts +0 -2
- package/dist/drop.spec-d.d.ts +0 -2
- package/dist/drop.spec-d.js +0 -1
- package/dist/entries.spec-d.cjs +0 -1
- package/dist/entries.spec-d.d.cts +0 -2
- package/dist/entries.spec-d.d.ts +0 -2
- package/dist/entries.spec-d.js +0 -1
- package/dist/evolve.spec-d.cjs +0 -1
- package/dist/evolve.spec-d.d.cts +0 -2
- package/dist/evolve.spec-d.d.ts +0 -2
- package/dist/evolve.spec-d.js +0 -1
- package/dist/filter.spec-d.cjs +0 -1
- package/dist/filter.spec-d.d.cts +0 -2
- package/dist/filter.spec-d.d.ts +0 -2
- package/dist/filter.spec-d.js +0 -1
- package/dist/find.spec-d.cjs +0 -1
- package/dist/find.spec-d.d.cts +0 -2
- package/dist/find.spec-d.d.ts +0 -2
- package/dist/find.spec-d.js +0 -1
- package/dist/first-by.spec-d.cjs +0 -1
- package/dist/first-by.spec-d.d.cts +0 -2
- package/dist/first-by.spec-d.d.ts +0 -2
- package/dist/first-by.spec-d.js +0 -1
- package/dist/first.spec-d.cjs +0 -1
- package/dist/first.spec-d.d.cts +0 -2
- package/dist/first.spec-d.d.ts +0 -2
- package/dist/first.spec-d.js +0 -1
- package/dist/flat.spec-d.cjs +0 -1
- package/dist/flat.spec-d.d.cts +0 -2
- package/dist/flat.spec-d.d.ts +0 -2
- package/dist/flat.spec-d.js +0 -1
- package/dist/for-each-obj.spec-d.cjs +0 -1
- package/dist/for-each-obj.spec-d.d.cts +0 -2
- package/dist/for-each-obj.spec-d.d.ts +0 -2
- package/dist/for-each-obj.spec-d.js +0 -1
- package/dist/for-each.spec-d.cjs +0 -1
- package/dist/for-each.spec-d.d.cts +0 -2
- package/dist/for-each.spec-d.d.ts +0 -2
- package/dist/for-each.spec-d.js +0 -1
- package/dist/from-entries.spec-d.cjs +0 -1
- package/dist/from-entries.spec-d.d.cts +0 -2
- package/dist/from-entries.spec-d.d.ts +0 -2
- package/dist/from-entries.spec-d.js +0 -1
- package/dist/from-keys.spec-d.cjs +0 -1
- package/dist/from-keys.spec-d.d.cts +0 -2
- package/dist/from-keys.spec-d.d.ts +0 -2
- package/dist/from-keys.spec-d.js +0 -1
- package/dist/group-by.spec-d.cjs +0 -1
- package/dist/group-by.spec-d.d.cts +0 -2
- package/dist/group-by.spec-d.d.ts +0 -2
- package/dist/group-by.spec-d.js +0 -1
- package/dist/has-at-least.spec-d.cjs +0 -1
- package/dist/has-at-least.spec-d.d.cts +0 -2
- package/dist/has-at-least.spec-d.d.ts +0 -2
- package/dist/has-at-least.spec-d.js +0 -1
- package/dist/has-sub-object.spec-d.cjs +0 -1
- package/dist/has-sub-object.spec-d.d.cts +0 -2
- package/dist/has-sub-object.spec-d.d.ts +0 -2
- package/dist/has-sub-object.spec-d.js +0 -1
- package/dist/identity.spec-d.cjs +0 -1
- package/dist/identity.spec-d.d.cts +0 -2
- package/dist/identity.spec-d.d.ts +0 -2
- package/dist/identity.spec-d.js +0 -1
- package/dist/index-by.spec-d.cjs +0 -1
- package/dist/index-by.spec-d.d.cts +0 -2
- package/dist/index-by.spec-d.d.ts +0 -2
- package/dist/index-by.spec-d.js +0 -1
- package/dist/intersection.spec-d.cjs +0 -1
- package/dist/intersection.spec-d.d.cts +0 -2
- package/dist/intersection.spec-d.d.ts +0 -2
- package/dist/intersection.spec-d.js +0 -1
- package/dist/invert.spec-d.cjs +0 -1
- package/dist/invert.spec-d.d.cts +0 -2
- package/dist/invert.spec-d.d.ts +0 -2
- package/dist/invert.spec-d.js +0 -1
- package/dist/is-array.spec-d.cjs +0 -1
- package/dist/is-array.spec-d.d.cts +0 -2
- package/dist/is-array.spec-d.d.ts +0 -2
- package/dist/is-array.spec-d.js +0 -1
- package/dist/is-big-int.spec-d.cjs +0 -1
- package/dist/is-big-int.spec-d.d.cts +0 -2
- package/dist/is-big-int.spec-d.d.ts +0 -2
- package/dist/is-big-int.spec-d.js +0 -1
- package/dist/is-boolean.spec-d.cjs +0 -1
- package/dist/is-boolean.spec-d.d.cts +0 -2
- package/dist/is-boolean.spec-d.d.ts +0 -2
- package/dist/is-boolean.spec-d.js +0 -1
- package/dist/is-date.spec-d.cjs +0 -1
- package/dist/is-date.spec-d.d.cts +0 -2
- package/dist/is-date.spec-d.d.ts +0 -2
- package/dist/is-date.spec-d.js +0 -1
- package/dist/is-deep-equal.spec-d.cjs +0 -1
- package/dist/is-deep-equal.spec-d.d.cts +0 -2
- package/dist/is-deep-equal.spec-d.d.ts +0 -2
- package/dist/is-deep-equal.spec-d.js +0 -1
- package/dist/is-defined.spec-d.cjs +0 -1
- package/dist/is-defined.spec-d.d.cts +0 -2
- package/dist/is-defined.spec-d.d.ts +0 -2
- package/dist/is-defined.spec-d.js +0 -1
- package/dist/is-empty.spec-d.cjs +0 -1
- package/dist/is-empty.spec-d.d.cts +0 -2
- package/dist/is-empty.spec-d.d.ts +0 -2
- package/dist/is-empty.spec-d.js +0 -1
- package/dist/is-error.spec-d.cjs +0 -1
- package/dist/is-error.spec-d.d.cts +0 -2
- package/dist/is-error.spec-d.d.ts +0 -2
- package/dist/is-error.spec-d.js +0 -1
- package/dist/is-function.spec-d.cjs +0 -1
- package/dist/is-function.spec-d.d.cts +0 -2
- package/dist/is-function.spec-d.d.ts +0 -2
- package/dist/is-function.spec-d.js +0 -1
- package/dist/is-included-in.spec-d.cjs +0 -1
- package/dist/is-included-in.spec-d.d.cts +0 -2
- package/dist/is-included-in.spec-d.d.ts +0 -2
- package/dist/is-included-in.spec-d.js +0 -1
- package/dist/is-non-null.spec-d.cjs +0 -1
- package/dist/is-non-null.spec-d.d.cts +0 -2
- package/dist/is-non-null.spec-d.d.ts +0 -2
- package/dist/is-non-null.spec-d.js +0 -1
- package/dist/is-non-nullish.spec-d.cjs +0 -1
- package/dist/is-non-nullish.spec-d.d.cts +0 -2
- package/dist/is-non-nullish.spec-d.d.ts +0 -2
- package/dist/is-non-nullish.spec-d.js +0 -1
- package/dist/is-not.spec-d.cjs +0 -1
- package/dist/is-not.spec-d.d.cts +0 -2
- package/dist/is-not.spec-d.d.ts +0 -2
- package/dist/is-not.spec-d.js +0 -1
- package/dist/is-nullish.spec-d.cjs +0 -1
- package/dist/is-nullish.spec-d.d.cts +0 -2
- package/dist/is-nullish.spec-d.d.ts +0 -2
- package/dist/is-nullish.spec-d.js +0 -1
- package/dist/is-number.spec-d.cjs +0 -1
- package/dist/is-number.spec-d.d.cts +0 -2
- package/dist/is-number.spec-d.d.ts +0 -2
- package/dist/is-number.spec-d.js +0 -1
- package/dist/is-object-type.spec-d.cjs +0 -1
- package/dist/is-object-type.spec-d.d.cts +0 -2
- package/dist/is-object-type.spec-d.d.ts +0 -2
- package/dist/is-object-type.spec-d.js +0 -1
- package/dist/is-plain-object.spec-d.cjs +0 -1
- package/dist/is-plain-object.spec-d.d.cts +0 -2
- package/dist/is-plain-object.spec-d.d.ts +0 -2
- package/dist/is-plain-object.spec-d.js +0 -1
- package/dist/is-promise.spec-d.cjs +0 -1
- package/dist/is-promise.spec-d.d.cts +0 -2
- package/dist/is-promise.spec-d.d.ts +0 -2
- package/dist/is-promise.spec-d.js +0 -1
- package/dist/is-shallow-equal.spec-d.cjs +0 -1
- package/dist/is-shallow-equal.spec-d.d.cts +0 -2
- package/dist/is-shallow-equal.spec-d.d.ts +0 -2
- package/dist/is-shallow-equal.spec-d.js +0 -1
- package/dist/is-strict-equal.spec-d.cjs +0 -1
- package/dist/is-strict-equal.spec-d.d.cts +0 -2
- package/dist/is-strict-equal.spec-d.d.ts +0 -2
- package/dist/is-strict-equal.spec-d.js +0 -1
- package/dist/is-string.spec-d.cjs +0 -1
- package/dist/is-string.spec-d.d.cts +0 -2
- package/dist/is-string.spec-d.d.ts +0 -2
- package/dist/is-string.spec-d.js +0 -1
- package/dist/is-symbol.spec-d.cjs +0 -1
- package/dist/is-symbol.spec-d.d.cts +0 -2
- package/dist/is-symbol.spec-d.d.ts +0 -2
- package/dist/is-symbol.spec-d.js +0 -1
- package/dist/is-truthy.spec-d.cjs +0 -1
- package/dist/is-truthy.spec-d.d.cts +0 -2
- package/dist/is-truthy.spec-d.d.ts +0 -2
- package/dist/is-truthy.spec-d.js +0 -1
- package/dist/join.spec-d.cjs +0 -1
- package/dist/join.spec-d.d.cts +0 -2
- package/dist/join.spec-d.d.ts +0 -2
- package/dist/join.spec-d.js +0 -1
- package/dist/keys.spec-d.cjs +0 -1
- package/dist/keys.spec-d.d.cts +0 -2
- package/dist/keys.spec-d.d.ts +0 -2
- package/dist/keys.spec-d.js +0 -1
- package/dist/last.spec-d.cjs +0 -1
- package/dist/last.spec-d.d.cts +0 -2
- package/dist/last.spec-d.d.ts +0 -2
- package/dist/last.spec-d.js +0 -1
- package/dist/map-keys.spec-d.cjs +0 -1
- package/dist/map-keys.spec-d.d.cts +0 -2
- package/dist/map-keys.spec-d.d.ts +0 -2
- package/dist/map-keys.spec-d.js +0 -1
- package/dist/map-values.spec-d.cjs +0 -1
- package/dist/map-values.spec-d.d.cts +0 -2
- package/dist/map-values.spec-d.d.ts +0 -2
- package/dist/map-values.spec-d.js +0 -1
- package/dist/map-with-feedback.spec-d.cjs +0 -1
- package/dist/map-with-feedback.spec-d.d.cts +0 -2
- package/dist/map-with-feedback.spec-d.d.ts +0 -2
- package/dist/map-with-feedback.spec-d.js +0 -1
- package/dist/map.spec-d.cjs +0 -1
- package/dist/map.spec-d.d.cts +0 -2
- package/dist/map.spec-d.d.ts +0 -2
- package/dist/map.spec-d.js +0 -1
- package/dist/merge-deep.spec-d.cjs +0 -1
- package/dist/merge-deep.spec-d.d.cts +0 -2
- package/dist/merge-deep.spec-d.d.ts +0 -2
- package/dist/merge-deep.spec-d.js +0 -1
- package/dist/merge.spec-d.cjs +0 -1
- package/dist/merge.spec-d.d.cts +0 -2
- package/dist/merge.spec-d.d.ts +0 -2
- package/dist/merge.spec-d.js +0 -1
- package/dist/nth-by.spec-d.cjs +0 -1
- package/dist/nth-by.spec-d.d.cts +0 -2
- package/dist/nth-by.spec-d.d.ts +0 -2
- package/dist/nth-by.spec-d.js +0 -1
- package/dist/omit-by.spec-d.cjs +0 -1
- package/dist/omit-by.spec-d.d.cts +0 -2
- package/dist/omit-by.spec-d.d.ts +0 -2
- package/dist/omit-by.spec-d.js +0 -1
- package/dist/omit.spec-d.cjs +0 -1
- package/dist/omit.spec-d.d.cts +0 -2
- package/dist/omit.spec-d.d.ts +0 -2
- package/dist/omit.spec-d.js +0 -1
- package/dist/only.spec-d.cjs +0 -1
- package/dist/only.spec-d.d.cts +0 -2
- package/dist/only.spec-d.d.ts +0 -2
- package/dist/only.spec-d.js +0 -1
- package/dist/partition.spec-d.cjs +0 -1
- package/dist/partition.spec-d.d.cts +0 -2
- package/dist/partition.spec-d.d.ts +0 -2
- package/dist/partition.spec-d.js +0 -1
- package/dist/pick-by.spec-d.cjs +0 -1
- package/dist/pick-by.spec-d.d.cts +0 -2
- package/dist/pick-by.spec-d.d.ts +0 -2
- package/dist/pick-by.spec-d.js +0 -1
- package/dist/pick.spec-d.cjs +0 -1
- package/dist/pick.spec-d.d.cts +0 -2
- package/dist/pick.spec-d.d.ts +0 -2
- package/dist/pick.spec-d.js +0 -1
- package/dist/product.spec-d.cjs +0 -1
- package/dist/product.spec-d.d.cts +0 -2
- package/dist/product.spec-d.d.ts +0 -2
- package/dist/product.spec-d.js +0 -1
- package/dist/prop.spec-d.cjs +0 -1
- package/dist/prop.spec-d.d.cts +0 -2
- package/dist/prop.spec-d.d.ts +0 -2
- package/dist/prop.spec-d.js +0 -1
- package/dist/pull-object.spec-d.cjs +0 -1
- package/dist/pull-object.spec-d.d.cts +0 -2
- package/dist/pull-object.spec-d.d.ts +0 -2
- package/dist/pull-object.spec-d.js +0 -1
- package/dist/random-integer.spec-d.cjs +0 -1
- package/dist/random-integer.spec-d.d.cts +0 -2
- package/dist/random-integer.spec-d.d.ts +0 -2
- package/dist/random-integer.spec-d.js +0 -1
- package/dist/reverse.spec-d.cjs +0 -1
- package/dist/reverse.spec-d.d.cts +0 -2
- package/dist/reverse.spec-d.d.ts +0 -2
- package/dist/reverse.spec-d.js +0 -1
- package/dist/sample.spec-d.cjs +0 -1
- package/dist/sample.spec-d.d.cts +0 -2
- package/dist/sample.spec-d.d.ts +0 -2
- package/dist/sample.spec-d.js +0 -1
- package/dist/set-path.spec-d.cjs +0 -1
- package/dist/set-path.spec-d.d.cts +0 -2
- package/dist/set-path.spec-d.d.ts +0 -2
- package/dist/set-path.spec-d.js +0 -1
- package/dist/set.spec-d.cjs +0 -1
- package/dist/set.spec-d.d.cts +0 -2
- package/dist/set.spec-d.d.ts +0 -2
- package/dist/set.spec-d.js +0 -1
- package/dist/shuffle.spec-d.cjs +0 -1
- package/dist/shuffle.spec-d.d.cts +0 -2
- package/dist/shuffle.spec-d.d.ts +0 -2
- package/dist/shuffle.spec-d.js +0 -1
- package/dist/sort-by.spec-d.cjs +0 -1
- package/dist/sort-by.spec-d.d.cts +0 -2
- package/dist/sort-by.spec-d.d.ts +0 -2
- package/dist/sort-by.spec-d.js +0 -1
- package/dist/sort.spec-d.cjs +0 -1
- package/dist/sort.spec-d.d.cts +0 -2
- package/dist/sort.spec-d.d.ts +0 -2
- package/dist/sort.spec-d.js +0 -1
- package/dist/splice.spec-d.cjs +0 -1
- package/dist/splice.spec-d.d.cts +0 -2
- package/dist/splice.spec-d.d.ts +0 -2
- package/dist/splice.spec-d.js +0 -1
- package/dist/split.spec-d.cjs +0 -1
- package/dist/split.spec-d.d.cts +0 -2
- package/dist/split.spec-d.d.ts +0 -2
- package/dist/split.spec-d.js +0 -1
- package/dist/string-to-path.spec-d.cjs +0 -1
- package/dist/string-to-path.spec-d.d.cts +0 -2
- package/dist/string-to-path.spec-d.d.ts +0 -2
- package/dist/string-to-path.spec-d.js +0 -1
- package/dist/sum.spec-d.cjs +0 -1
- package/dist/sum.spec-d.d.cts +0 -2
- package/dist/sum.spec-d.d.ts +0 -2
- package/dist/sum.spec-d.js +0 -1
- package/dist/swap-props.spec-d.cjs +0 -1
- package/dist/swap-props.spec-d.d.cts +0 -2
- package/dist/swap-props.spec-d.d.ts +0 -2
- package/dist/swap-props.spec-d.js +0 -1
- package/dist/take-last.spec-d.cjs +0 -1
- package/dist/take-last.spec-d.d.cts +0 -2
- package/dist/take-last.spec-d.d.ts +0 -2
- package/dist/take-last.spec-d.js +0 -1
- package/dist/take-white.spec-d.cjs +0 -1
- package/dist/take-white.spec-d.d.cts +0 -2
- package/dist/take-white.spec-d.d.ts +0 -2
- package/dist/take-white.spec-d.js +0 -1
- package/dist/take.spec-d.cjs +0 -1
- package/dist/take.spec-d.d.cts +0 -2
- package/dist/take.spec-d.d.ts +0 -2
- package/dist/take.spec-d.js +0 -1
- package/dist/tap.spec-d.cjs +0 -1
- package/dist/tap.spec-d.d.cts +0 -2
- package/dist/tap.spec-d.d.ts +0 -2
- package/dist/tap.spec-d.js +0 -1
- package/dist/times.spec-d.cjs +0 -1
- package/dist/times.spec-d.d.cts +0 -2
- package/dist/times.spec-d.d.ts +0 -2
- package/dist/times.spec-d.js +0 -1
- package/dist/types-CC8iZVKO.d.cts +0 -168
- package/dist/types-CC8iZVKO.d.ts +0 -168
- package/dist/values.spec-d.cjs +0 -1
- package/dist/values.spec-d.d.cts +0 -2
- package/dist/values.spec-d.d.ts +0 -2
- package/dist/values.spec-d.js +0 -1
- package/dist/zip-with.spec-d.cjs +0 -1
- package/dist/zip-with.spec-d.d.cts +0 -2
- package/dist/zip-with.spec-d.d.ts +0 -2
- package/dist/zip-with.spec-d.js +0 -1
- package/dist/zip.spec-d.cjs +0 -1
- package/dist/zip.spec-d.d.cts +0 -2
- package/dist/zip.spec-d.d.ts +0 -2
- package/dist/zip.spec-d.js +0 -1
- /package/dist/{chunk-7T4AVFYJ.cjs → chunk-4YUDBZFA.cjs} +0 -0
- /package/dist/{chunk-SME5FGMA.js → chunk-5SAUYUEK.js} +0 -0
- /package/dist/{chunk-N4656YGQ.cjs → chunk-7TDMV2GO.cjs} +0 -0
- /package/dist/{chunk-YQTXLMPM.js → chunk-JZ463SIK.js} +0 -0
- /package/dist/{chunk-KQGY2DBY.js → chunk-K2EX7PYH.js} +0 -0
- /package/dist/{chunk-YD2H56BT.js → chunk-MZEHWQF3.js} +0 -0
- /package/dist/{chunk-GPGITOFN.cjs → chunk-OBWPUDD3.cjs} +0 -0
- /package/dist/{chunk-WPGWO7LA.cjs → chunk-OPJJI442.cjs} +0 -0
- /package/dist/{chunk-UYH64IBH.js → chunk-YYEJOSR3.js} +0 -0
- /package/dist/{chunk-5KO77UXQ.cjs → chunk-Z6OOXW67.cjs} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./chunk-QT66COHU.js";test("returns number when from is float",()=>{expectTypeOf(e(.5,1)).toEqualTypeOf()});test("returns number when to is float",()=>{expectTypeOf(e(1,1.5)).toEqualTypeOf()});test("returns never when from is greater than to",()=>{expectTypeOf(e(10,1)).toEqualTypeOf()});test("returns the range as union for valid range (0-999)",()=>{expectTypeOf(e(0,5)).toEqualTypeOf(),expectTypeOf(e(998,999)).toEqualTypeOf()});test("returns the same value when to equals from",()=>{expectTypeOf(e(1,1)).toEqualTypeOf()});test("returns the same value when to equals from and out of range",()=>{expectTypeOf(e(1e4,1e4)).toEqualTypeOf()});test("Returns number for large max (to >= 1000)",()=>{expectTypeOf(e(1,1001)).toEqualTypeOf()});test("Returns number when from is a negative integer",()=>{expectTypeOf(e(-1,1)).toEqualTypeOf()});test("Returns number when to is a negative integer",()=>{expectTypeOf(e(1,-1)).toEqualTypeOf()});test("Returns number when from is a negative decimal",()=>{expectTypeOf(e(-1.5,1)).toEqualTypeOf()});test("Returns number when to is a negative decimal",()=>{expectTypeOf(e(1,-1.5)).toEqualTypeOf()});test("Returns number when from is number",()=>{expectTypeOf(e(1,5)).toEqualTypeOf()});test("Returns number when to is number",()=>{expectTypeOf(e(1,5)).toEqualTypeOf()});test("Returns number when from and to are number",()=>{expectTypeOf(e(1,5)).toEqualTypeOf()});test("Returns number when from and to are very big numbers",()=>{expectTypeOf(e(1e10,10000000001)).toEqualTypeOf()});
|
package/dist/reverse.spec-d.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var _chunkH7YM6WEOcjs = require('./chunk-H7YM6WEO.cjs');var _chunkI6VXEY44cjs = require('./chunk-I6VXEY44.cjs');require('./chunk-3X6SAJDQ.cjs');require('./chunk-Y74ER22O.cjs');require('./chunk-7T4AVFYJ.cjs');describe("data first",()=>{test("arrays",()=>{let t=_chunkH7YM6WEOcjs.a.call(void 0, [1,2,3]);expectTypeOf(t).toEqualTypeOf()}),test("tuples",()=>{let t=_chunkH7YM6WEOcjs.a.call(void 0, [1,2,[!0],"a"]);expectTypeOf(t).toEqualTypeOf()}),test("variadic tuples",()=>{let r=_chunkH7YM6WEOcjs.a.call(void 0, [1,"two","three"]);expectTypeOf(r).toEqualTypeOf()})});describe("data last",()=>{test("arrays",()=>{let t=_chunkI6VXEY44cjs.a.call(void 0, [1,2,3],_chunkH7YM6WEOcjs.a.call(void 0, ));expectTypeOf(t).toEqualTypeOf()}),test("tuples",()=>{let t=_chunkI6VXEY44cjs.a.call(void 0, [1,2,[!0],"a"],_chunkH7YM6WEOcjs.a.call(void 0, ));expectTypeOf(t).toEqualTypeOf()}),test("variadic tuples",()=>{let r=_chunkI6VXEY44cjs.a.call(void 0, [1,"two","three"],_chunkH7YM6WEOcjs.a.call(void 0, ));expectTypeOf(r).toEqualTypeOf()})});
|
package/dist/reverse.spec-d.d.ts
DELETED
package/dist/reverse.spec-d.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./chunk-43F3C5SP.js";import{a}from"./chunk-6ALZHU2N.js";import"./chunk-MYLYERXO.js";import"./chunk-JFXZ246Y.js";import"./chunk-KQGY2DBY.js";describe("data first",()=>{test("arrays",()=>{let t=e([1,2,3]);expectTypeOf(t).toEqualTypeOf()}),test("tuples",()=>{let t=e([1,2,[!0],"a"]);expectTypeOf(t).toEqualTypeOf()}),test("variadic tuples",()=>{let r=e([1,"two","three"]);expectTypeOf(r).toEqualTypeOf()})});describe("data last",()=>{test("arrays",()=>{let t=a([1,2,3],e());expectTypeOf(t).toEqualTypeOf()}),test("tuples",()=>{let t=a([1,2,[!0],"a"],e());expectTypeOf(t).toEqualTypeOf()}),test("variadic tuples",()=>{let r=a([1,"two","three"],e());expectTypeOf(r).toEqualTypeOf()})});
|
package/dist/sample.spec-d.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var _chunkPHSDYGVDcjs = require('./chunk-PHSDYGVD.cjs');require('./chunk-Y74ER22O.cjs');require('./chunk-7T4AVFYJ.cjs');describe("sampleSize 0",()=>{it("on arrays",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [1,2,3,4,5],0);expectTypeOf(r).toEqualTypeOf()}),it("on readonly arrays",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [1,2,3,4,5],0);expectTypeOf(r).toEqualTypeOf()}),it("on tuples",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [1,2,3,4,5],0);expectTypeOf(r).toEqualTypeOf()}),it("on readonly tuples",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [1,2,3,4,5],0);expectTypeOf(r).toEqualTypeOf()}),it("on tuples with rest tail",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [1,2,3,4,5],0);expectTypeOf(r).toEqualTypeOf()}),it("on tuples with rest head",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [1,2,3,4,5],0);expectTypeOf(r).toEqualTypeOf()}),it("on readonly tuples with rest tail",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [1,2,3,4,5],0);expectTypeOf(r).toEqualTypeOf()}),it("on readonly tuples with rest head",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [1,2,3,4,5],0);expectTypeOf(r).toEqualTypeOf()})});describe("sampleSize < n",()=>{it("on arrays",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [1,2,3,4,5],4);expectTypeOf(r).toEqualTypeOf()}),it("on readonly arrays",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [1,2,3,4,5],4);expectTypeOf(r).toEqualTypeOf()}),it("on tuples",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [1,2,3,4,5],4);expectTypeOf(r).toEqualTypeOf()}),it("on readonly tuples",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [1,2,3,4,5],4);expectTypeOf(r).toEqualTypeOf()}),it("on tuples with rest tail",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [1,!0,"hello","world","yey"],4);expectTypeOf(r).toEqualTypeOf()}),it("on readonly tuples with rest tail",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [1,!0,"hello","world","yey"],4);expectTypeOf(r).toEqualTypeOf()}),it("on tuples with rest head",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, ["yey","hello","world",!0,3],4);expectTypeOf(r).toEqualTypeOf()}),it("on readonly tuples with rest head",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, ["yey","hello","world",!0,3],4);expectTypeOf(r).toEqualTypeOf()})});describe("sampleSize === n",()=>{it("empty array",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [],0);expectTypeOf(r).toEqualTypeOf()}),it("empty readonly array",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [],0);expectTypeOf(r).toEqualTypeOf()}),it("on arrays",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [1,2,3,4,5],5);expectTypeOf(r).toEqualTypeOf()}),it("on readonly arrays",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [1,2,3,4,5],5);expectTypeOf(r).toEqualTypeOf()}),it("on tuples",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [1,2,3,4,5],5);expectTypeOf(r).toEqualTypeOf()}),it("on readonly tuples",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [1,2,3,4,5],5);expectTypeOf(r).toEqualTypeOf()}),it("on tuples with rest tail",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [1,!0,"hello","world","yey"],5);expectTypeOf(r).toEqualTypeOf()}),it("on readonly tuples with rest tail",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [1,!0,"hello","world","yey"],5);expectTypeOf(r).toEqualTypeOf()}),it("on tuples with rest head",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, ["yey","hello","world",!0,3],5);expectTypeOf(r).toEqualTypeOf()}),it("on readonly tuples with rest head",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, ["yey","hello","world",!0,3],5);expectTypeOf(r).toEqualTypeOf()})});describe("sampleSize > n",()=>{it("empty array",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [],10);expectTypeOf(r).toEqualTypeOf()}),it("empty readonly array",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [],10);expectTypeOf(r).toEqualTypeOf()}),it("on arrays",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [1,2,3,4,5],10);expectTypeOf(r).toEqualTypeOf()}),it("on readonly arrays",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [1,2,3,4,5],10);expectTypeOf(r).toEqualTypeOf()}),it("on tuples",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [1,2,3,4,5],10);expectTypeOf(r).toEqualTypeOf()}),it("on readonly tuples",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [1,2,3,4,5],10);expectTypeOf(r).toEqualTypeOf()}),it("on tuples with rest tail",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [1,!0,"hello","world","yey"],10);expectTypeOf(r).toEqualTypeOf()}),it("on readonly tuples with rest tail",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [1,!0,"hello","world","yey"],10);expectTypeOf(r).toEqualTypeOf()}),it("on tuples with rest head",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, ["yey","hello","world",!0,3],10);expectTypeOf(r).toEqualTypeOf()}),it("on readonly tuples with rest head",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, ["yey","hello","world",!0,3],10);expectTypeOf(r).toEqualTypeOf()})});describe("non-const sampleSize",()=>{it("empty array",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [],5);expectTypeOf(r).toEqualTypeOf()}),it("empty readonly array",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [],5);expectTypeOf(r).toEqualTypeOf()}),it("on arrays",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [1,2,3,4,5],5);expectTypeOf(r).toEqualTypeOf()}),it("on readonly arrays",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [1,2,3,4,5],5);expectTypeOf(r).toEqualTypeOf()}),it("on tuples",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [1,2,3,4,5],5);expectTypeOf(r).toEqualTypeOf()}),it("on readonly tuples",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [1,2,3,4,5],5);expectTypeOf(r).toEqualTypeOf()}),it("on tuples with rest tail",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [1,!0,"hello","world","yey"],5);expectTypeOf(r).toEqualTypeOf()}),it("on readonly tuples with rest tail",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, [1,!0,"hello","world","yey"],5);expectTypeOf(r).toEqualTypeOf()}),it("on tuples with rest head",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, ["yey","hello","world",!0,3],5);expectTypeOf(r).toEqualTypeOf()}),it("on readonly tuples with rest head",()=>{let r=_chunkPHSDYGVDcjs.a.call(void 0, ["yey","hello","world",!0,3],5);expectTypeOf(r).toEqualTypeOf()})});
|
package/dist/sample.spec-d.d.cts
DELETED
package/dist/sample.spec-d.d.ts
DELETED
package/dist/sample.spec-d.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as n}from"./chunk-E2NINCLI.js";import"./chunk-JFXZ246Y.js";import"./chunk-KQGY2DBY.js";describe("sampleSize 0",()=>{it("on arrays",()=>{let r=n([1,2,3,4,5],0);expectTypeOf(r).toEqualTypeOf()}),it("on readonly arrays",()=>{let r=n([1,2,3,4,5],0);expectTypeOf(r).toEqualTypeOf()}),it("on tuples",()=>{let r=n([1,2,3,4,5],0);expectTypeOf(r).toEqualTypeOf()}),it("on readonly tuples",()=>{let r=n([1,2,3,4,5],0);expectTypeOf(r).toEqualTypeOf()}),it("on tuples with rest tail",()=>{let r=n([1,2,3,4,5],0);expectTypeOf(r).toEqualTypeOf()}),it("on tuples with rest head",()=>{let r=n([1,2,3,4,5],0);expectTypeOf(r).toEqualTypeOf()}),it("on readonly tuples with rest tail",()=>{let r=n([1,2,3,4,5],0);expectTypeOf(r).toEqualTypeOf()}),it("on readonly tuples with rest head",()=>{let r=n([1,2,3,4,5],0);expectTypeOf(r).toEqualTypeOf()})});describe("sampleSize < n",()=>{it("on arrays",()=>{let r=n([1,2,3,4,5],4);expectTypeOf(r).toEqualTypeOf()}),it("on readonly arrays",()=>{let r=n([1,2,3,4,5],4);expectTypeOf(r).toEqualTypeOf()}),it("on tuples",()=>{let r=n([1,2,3,4,5],4);expectTypeOf(r).toEqualTypeOf()}),it("on readonly tuples",()=>{let r=n([1,2,3,4,5],4);expectTypeOf(r).toEqualTypeOf()}),it("on tuples with rest tail",()=>{let r=n([1,!0,"hello","world","yey"],4);expectTypeOf(r).toEqualTypeOf()}),it("on readonly tuples with rest tail",()=>{let r=n([1,!0,"hello","world","yey"],4);expectTypeOf(r).toEqualTypeOf()}),it("on tuples with rest head",()=>{let r=n(["yey","hello","world",!0,3],4);expectTypeOf(r).toEqualTypeOf()}),it("on readonly tuples with rest head",()=>{let r=n(["yey","hello","world",!0,3],4);expectTypeOf(r).toEqualTypeOf()})});describe("sampleSize === n",()=>{it("empty array",()=>{let r=n([],0);expectTypeOf(r).toEqualTypeOf()}),it("empty readonly array",()=>{let r=n([],0);expectTypeOf(r).toEqualTypeOf()}),it("on arrays",()=>{let r=n([1,2,3,4,5],5);expectTypeOf(r).toEqualTypeOf()}),it("on readonly arrays",()=>{let r=n([1,2,3,4,5],5);expectTypeOf(r).toEqualTypeOf()}),it("on tuples",()=>{let r=n([1,2,3,4,5],5);expectTypeOf(r).toEqualTypeOf()}),it("on readonly tuples",()=>{let r=n([1,2,3,4,5],5);expectTypeOf(r).toEqualTypeOf()}),it("on tuples with rest tail",()=>{let r=n([1,!0,"hello","world","yey"],5);expectTypeOf(r).toEqualTypeOf()}),it("on readonly tuples with rest tail",()=>{let r=n([1,!0,"hello","world","yey"],5);expectTypeOf(r).toEqualTypeOf()}),it("on tuples with rest head",()=>{let r=n(["yey","hello","world",!0,3],5);expectTypeOf(r).toEqualTypeOf()}),it("on readonly tuples with rest head",()=>{let r=n(["yey","hello","world",!0,3],5);expectTypeOf(r).toEqualTypeOf()})});describe("sampleSize > n",()=>{it("empty array",()=>{let r=n([],10);expectTypeOf(r).toEqualTypeOf()}),it("empty readonly array",()=>{let r=n([],10);expectTypeOf(r).toEqualTypeOf()}),it("on arrays",()=>{let r=n([1,2,3,4,5],10);expectTypeOf(r).toEqualTypeOf()}),it("on readonly arrays",()=>{let r=n([1,2,3,4,5],10);expectTypeOf(r).toEqualTypeOf()}),it("on tuples",()=>{let r=n([1,2,3,4,5],10);expectTypeOf(r).toEqualTypeOf()}),it("on readonly tuples",()=>{let r=n([1,2,3,4,5],10);expectTypeOf(r).toEqualTypeOf()}),it("on tuples with rest tail",()=>{let r=n([1,!0,"hello","world","yey"],10);expectTypeOf(r).toEqualTypeOf()}),it("on readonly tuples with rest tail",()=>{let r=n([1,!0,"hello","world","yey"],10);expectTypeOf(r).toEqualTypeOf()}),it("on tuples with rest head",()=>{let r=n(["yey","hello","world",!0,3],10);expectTypeOf(r).toEqualTypeOf()}),it("on readonly tuples with rest head",()=>{let r=n(["yey","hello","world",!0,3],10);expectTypeOf(r).toEqualTypeOf()})});describe("non-const sampleSize",()=>{it("empty array",()=>{let r=n([],5);expectTypeOf(r).toEqualTypeOf()}),it("empty readonly array",()=>{let r=n([],5);expectTypeOf(r).toEqualTypeOf()}),it("on arrays",()=>{let r=n([1,2,3,4,5],5);expectTypeOf(r).toEqualTypeOf()}),it("on readonly arrays",()=>{let r=n([1,2,3,4,5],5);expectTypeOf(r).toEqualTypeOf()}),it("on tuples",()=>{let r=n([1,2,3,4,5],5);expectTypeOf(r).toEqualTypeOf()}),it("on readonly tuples",()=>{let r=n([1,2,3,4,5],5);expectTypeOf(r).toEqualTypeOf()}),it("on tuples with rest tail",()=>{let r=n([1,!0,"hello","world","yey"],5);expectTypeOf(r).toEqualTypeOf()}),it("on readonly tuples with rest tail",()=>{let r=n([1,!0,"hello","world","yey"],5);expectTypeOf(r).toEqualTypeOf()}),it("on tuples with rest head",()=>{let r=n(["yey","hello","world",!0,3],5);expectTypeOf(r).toEqualTypeOf()}),it("on readonly tuples with rest head",()=>{let r=n(["yey","hello","world",!0,3],5);expectTypeOf(r).toEqualTypeOf()})});
|
package/dist/set-path.spec-d.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var _chunkULMOKABQcjs = require('./chunk-ULMOKABQ.cjs');var _chunkI6VXEY44cjs = require('./chunk-I6VXEY44.cjs');require('./chunk-3X6SAJDQ.cjs');require('./chunk-Y74ER22O.cjs');require('./chunk-7T4AVFYJ.cjs');var t={a:{b:{c:1},e:[{f:{g:1}},{f:{g:1}}]},y:10};describe("data first",()=>{it("should correctly type value argument",()=>{_chunkULMOKABQcjs.a.call(void 0, t,["a","e",1,"f","g"],"hello"),_chunkULMOKABQcjs.a.call(void 0, t,["a","e",1,"f","g"],123)}),it("should correctly type path argument",()=>{_chunkULMOKABQcjs.a.call(void 0, t,["a","hello"],"hello"),_chunkULMOKABQcjs.a.call(void 0, t,["a","z"],123)}),test("should correctly type partial paths",()=>{_chunkULMOKABQcjs.a.call(void 0, t,["a","b"],123),_chunkULMOKABQcjs.a.call(void 0, t,["a","b"],{c:123})})});describe("data last",()=>{test("should correctly type value argument",()=>{_chunkI6VXEY44cjs.a.call(void 0, t,_chunkULMOKABQcjs.a.call(void 0, ["a","e",1,"f","g"],"hello")),_chunkI6VXEY44cjs.a.call(void 0, t,_chunkULMOKABQcjs.a.call(void 0, ["a","e",1,"f","g"],123))}),test("should correctly type path argument",()=>{_chunkI6VXEY44cjs.a.call(void 0, t,_chunkULMOKABQcjs.a.call(void 0, ["a","hello"],"hello")),_chunkI6VXEY44cjs.a.call(void 0, t,_chunkULMOKABQcjs.a.call(void 0, ["a","z"],123))}),test("should correctly type partial paths",()=>{_chunkI6VXEY44cjs.a.call(void 0, t,_chunkULMOKABQcjs.a.call(void 0, ["a","b"],123)),_chunkI6VXEY44cjs.a.call(void 0, t,_chunkULMOKABQcjs.a.call(void 0, ["a","b"],{c:123}))})});
|
package/dist/set-path.spec-d.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./chunk-QHGCU3LJ.js";import{a}from"./chunk-6ALZHU2N.js";import"./chunk-MYLYERXO.js";import"./chunk-JFXZ246Y.js";import"./chunk-KQGY2DBY.js";var t={a:{b:{c:1},e:[{f:{g:1}},{f:{g:1}}]},y:10};describe("data first",()=>{it("should correctly type value argument",()=>{e(t,["a","e",1,"f","g"],"hello"),e(t,["a","e",1,"f","g"],123)}),it("should correctly type path argument",()=>{e(t,["a","hello"],"hello"),e(t,["a","z"],123)}),test("should correctly type partial paths",()=>{e(t,["a","b"],123),e(t,["a","b"],{c:123})})});describe("data last",()=>{test("should correctly type value argument",()=>{a(t,e(["a","e",1,"f","g"],"hello")),a(t,e(["a","e",1,"f","g"],123))}),test("should correctly type path argument",()=>{a(t,e(["a","hello"],"hello")),a(t,e(["a","z"],123))}),test("should correctly type partial paths",()=>{a(t,e(["a","b"],123)),a(t,e(["a","b"],{c:123}))})});
|
package/dist/set.spec-d.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var _chunk7EJQW5L6cjs = require('./chunk-7EJQW5L6.cjs');require('./chunk-Y74ER22O.cjs');require('./chunk-7T4AVFYJ.cjs');describe("parameter enforcing",()=>{it("prevents setting the wrong type",()=>{_chunk7EJQW5L6cjs.a.call(void 0, {},"a",1)}),it("doesn't expand narrow types",()=>{_chunk7EJQW5L6cjs.a.call(void 0, {},"a","mouse")}),it("prevents setting `undefined` on optional fields",()=>{_chunk7EJQW5L6cjs.a.call(void 0, {},"a",void 0)}),it("prevents setting an unknown prop",()=>{_chunk7EJQW5L6cjs.a.call(void 0, {a:"foo"},"b","bar")})});it("narrows the prop type",()=>{let t=_chunk7EJQW5L6cjs.a.call(void 0, {},"a","hello");expectTypeOf(t).toEqualTypeOf()});it("keeps the prop optional when the key isn't literal",()=>{let t=_chunk7EJQW5L6cjs.a.call(void 0, {},"a","foo");expectTypeOf(t).toEqualTypeOf()});it("works on simple objects",()=>{let t=_chunk7EJQW5L6cjs.a.call(void 0, {},"a","foo");expectTypeOf(t).toEqualTypeOf()});
|
package/dist/set.spec-d.d.cts
DELETED
package/dist/set.spec-d.d.ts
DELETED
package/dist/set.spec-d.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./chunk-QIM2PMWS.js";import"./chunk-JFXZ246Y.js";import"./chunk-KQGY2DBY.js";describe("parameter enforcing",()=>{it("prevents setting the wrong type",()=>{e({},"a",1)}),it("doesn't expand narrow types",()=>{e({},"a","mouse")}),it("prevents setting `undefined` on optional fields",()=>{e({},"a",void 0)}),it("prevents setting an unknown prop",()=>{e({a:"foo"},"b","bar")})});it("narrows the prop type",()=>{let t=e({},"a","hello");expectTypeOf(t).toEqualTypeOf()});it("keeps the prop optional when the key isn't literal",()=>{let t=e({},"a","foo");expectTypeOf(t).toEqualTypeOf()});it("works on simple objects",()=>{let t=e({},"a","foo");expectTypeOf(t).toEqualTypeOf()});
|
package/dist/shuffle.spec-d.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var _chunk4WU7JGWScjs = require('./chunk-4WU7JGWS.cjs');var _chunkI6VXEY44cjs = require('./chunk-I6VXEY44.cjs');require('./chunk-3X6SAJDQ.cjs');require('./chunk-Y74ER22O.cjs');require('./chunk-7T4AVFYJ.cjs');test("regular array",()=>{let e=_chunk4WU7JGWScjs.a.call(void 0, []);expectTypeOf(e).toEqualTypeOf()});test("non-empty tail-rest array",()=>{let e=_chunk4WU7JGWScjs.a.call(void 0, [1]);expectTypeOf(e).toEqualTypeOf()});test("non-empty head-rest array",()=>{let e=_chunk4WU7JGWScjs.a.call(void 0, [1]);expectTypeOf(e).toEqualTypeOf()});test("fixed size tuple",()=>{let e=_chunk4WU7JGWScjs.a.call(void 0, [1,"a",!0]);expectTypeOf(e).toEqualTypeOf()});it("removes readonlyness from array",()=>{let e=_chunk4WU7JGWScjs.a.call(void 0, []);expectTypeOf(e).toEqualTypeOf()});it("infers type via a pipe",()=>{let e=_chunkI6VXEY44cjs.a.call(void 0, ["a",1,!0],_chunk4WU7JGWScjs.a.call(void 0, ));expectTypeOf(e).toEqualTypeOf()});
|
package/dist/shuffle.spec-d.d.ts
DELETED
package/dist/shuffle.spec-d.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as r}from"./chunk-PFLGL4YP.js";import{a as t}from"./chunk-6ALZHU2N.js";import"./chunk-MYLYERXO.js";import"./chunk-JFXZ246Y.js";import"./chunk-KQGY2DBY.js";test("regular array",()=>{let e=r([]);expectTypeOf(e).toEqualTypeOf()});test("non-empty tail-rest array",()=>{let e=r([1]);expectTypeOf(e).toEqualTypeOf()});test("non-empty head-rest array",()=>{let e=r([1]);expectTypeOf(e).toEqualTypeOf()});test("fixed size tuple",()=>{let e=r([1,"a",!0]);expectTypeOf(e).toEqualTypeOf()});it("removes readonlyness from array",()=>{let e=r([]);expectTypeOf(e).toEqualTypeOf()});it("infers type via a pipe",()=>{let e=t(["a",1,!0],r());expectTypeOf(e).toEqualTypeOf()});
|
package/dist/sort-by.spec-d.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var _chunkNIYVDIEQcjs = require('./chunk-NIYVDIEQ.cjs');var _chunkMLLA7SGZcjs = require('./chunk-MLLA7SGZ.cjs');var _chunkSXTSJOEEcjs = require('./chunk-SXTSJOEE.cjs');var _chunkI6VXEY44cjs = require('./chunk-I6VXEY44.cjs');require('./chunk-3X6SAJDQ.cjs');require('./chunk-FWQYL4Y4.cjs');var _chunkWLNQOMKLcjs = require('./chunk-WLNQOMKL.cjs');require('./chunk-Y74ER22O.cjs');require('./chunk-7T4AVFYJ.cjs');var s=[{id:1,color:"red",weight:2,active:!0,date:new Date(2021,1,1)},{id:2,color:"blue",weight:3,active:!1,date:new Date(2021,1,2)},{id:3,color:"green",weight:1,active:!1,date:new Date(2021,1,3)},{id:4,color:"purple",weight:1,active:!0,date:new Date(2021,1,4)}];describe("dataFirst",()=>{test("SortProjection",()=>{let a=_chunkNIYVDIEQcjs.a.call(void 0, [{a:1},{a:3},{a:7},{a:2}],_chunkSXTSJOEEcjs.a.call(void 0, "a"));expectTypeOf(a).toMatchTypeOf()}),test("SortPair",()=>{let e=_chunkNIYVDIEQcjs.a.call(void 0, s,[a=>a.active,"desc"]);expectTypeOf(e).toEqualTypeOf()})});describe("dataLast",()=>{test("SortProjection",()=>{let a=_chunkI6VXEY44cjs.a.call(void 0, [{a:1},{a:3},{a:7},{a:2}],_chunkNIYVDIEQcjs.a.call(void 0, _chunkSXTSJOEEcjs.a.call(void 0, "a")));expectTypeOf(a).toMatchTypeOf()}),test("SortPair",()=>{let e=_chunkI6VXEY44cjs.a.call(void 0, s,_chunkNIYVDIEQcjs.a.call(void 0, [_chunkSXTSJOEEcjs.a.call(void 0, "weight"),"asc"],[_chunkSXTSJOEEcjs.a.call(void 0, "color"),"desc"]));expectTypeOf(e).toEqualTypeOf()})});it("on empty tuple",()=>{let e=_chunkNIYVDIEQcjs.a.call(void 0, [],_chunkMLLA7SGZcjs.a);expectTypeOf(e).toEqualTypeOf()});it("on empty readonly tuple",()=>{let e=_chunkNIYVDIEQcjs.a.call(void 0, [],_chunkMLLA7SGZcjs.a);expectTypeOf(e).toEqualTypeOf()});it("on array",()=>{let e=_chunkNIYVDIEQcjs.a.call(void 0, [],_chunkMLLA7SGZcjs.a);expectTypeOf(e).toEqualTypeOf()});it("on readonly array",()=>{let e=_chunkNIYVDIEQcjs.a.call(void 0, [],_chunkMLLA7SGZcjs.a);expectTypeOf(e).toEqualTypeOf()});it("on tuple",()=>{let e=_chunkNIYVDIEQcjs.a.call(void 0, [1,2,3],_chunkMLLA7SGZcjs.a);expectTypeOf(e).toEqualTypeOf()});it("on readonly tuple",()=>{let e=_chunkNIYVDIEQcjs.a.call(void 0, [1,2,3],_chunkMLLA7SGZcjs.a);expectTypeOf(e).toEqualTypeOf()});it("on tuple with rest tail",()=>{let e=_chunkNIYVDIEQcjs.a.call(void 0, [1],_chunkMLLA7SGZcjs.a);expectTypeOf(e).toEqualTypeOf()});it("on readonly tuple with rest tail",()=>{let e=_chunkNIYVDIEQcjs.a.call(void 0, [1],_chunkMLLA7SGZcjs.a);expectTypeOf(e).toEqualTypeOf()});test("on tuple with rest middle",()=>{let e=_chunkNIYVDIEQcjs.a.call(void 0, [3,2,1],_chunkMLLA7SGZcjs.a);expectTypeOf(e).toEqualTypeOf()});test("on readonly tuple with rest middle",()=>{let e=_chunkNIYVDIEQcjs.a.call(void 0, [3,2,1],_chunkMLLA7SGZcjs.a);expectTypeOf(e).toEqualTypeOf()});it("on tuple with rest head",()=>{let e=_chunkNIYVDIEQcjs.a.call(void 0, [1],_chunkMLLA7SGZcjs.a);expectTypeOf(e).toEqualTypeOf()});it("on readonly tuple with rest head",()=>{let e=_chunkNIYVDIEQcjs.a.call(void 0, [1],_chunkMLLA7SGZcjs.a);expectTypeOf(e).toEqualTypeOf()});test("on tuple with optional values",()=>{let e=_chunkNIYVDIEQcjs.a.call(void 0, [],_chunkWLNQOMKLcjs.a.call(void 0, 0));expectTypeOf(e).toEqualTypeOf()});test("on readonly tuple with optional values",()=>{let e=_chunkNIYVDIEQcjs.a.call(void 0, [],_chunkWLNQOMKLcjs.a.call(void 0, 0));expectTypeOf(e).toEqualTypeOf()});it("on mixed types tuple",()=>{let e=_chunkNIYVDIEQcjs.a.call(void 0, [1,"hello",!0],_chunkMLLA7SGZcjs.a);expectTypeOf(e).toEqualTypeOf()});
|
package/dist/sort-by.spec-d.d.ts
DELETED
package/dist/sort-by.spec-d.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as t}from"./chunk-J3YPWVVQ.js";import{a as r}from"./chunk-WUAU3LTQ.js";import{a as n}from"./chunk-USNHLUEU.js";import{a as o}from"./chunk-6ALZHU2N.js";import"./chunk-MYLYERXO.js";import"./chunk-JXXXUJM5.js";import{a as u}from"./chunk-T5XG33UI.js";import"./chunk-JFXZ246Y.js";import"./chunk-KQGY2DBY.js";var s=[{id:1,color:"red",weight:2,active:!0,date:new Date(2021,1,1)},{id:2,color:"blue",weight:3,active:!1,date:new Date(2021,1,2)},{id:3,color:"green",weight:1,active:!1,date:new Date(2021,1,3)},{id:4,color:"purple",weight:1,active:!0,date:new Date(2021,1,4)}];describe("dataFirst",()=>{test("SortProjection",()=>{let a=t([{a:1},{a:3},{a:7},{a:2}],n("a"));expectTypeOf(a).toMatchTypeOf()}),test("SortPair",()=>{let e=t(s,[a=>a.active,"desc"]);expectTypeOf(e).toEqualTypeOf()})});describe("dataLast",()=>{test("SortProjection",()=>{let a=o([{a:1},{a:3},{a:7},{a:2}],t(n("a")));expectTypeOf(a).toMatchTypeOf()}),test("SortPair",()=>{let e=o(s,t([n("weight"),"asc"],[n("color"),"desc"]));expectTypeOf(e).toEqualTypeOf()})});it("on empty tuple",()=>{let e=t([],r);expectTypeOf(e).toEqualTypeOf()});it("on empty readonly tuple",()=>{let e=t([],r);expectTypeOf(e).toEqualTypeOf()});it("on array",()=>{let e=t([],r);expectTypeOf(e).toEqualTypeOf()});it("on readonly array",()=>{let e=t([],r);expectTypeOf(e).toEqualTypeOf()});it("on tuple",()=>{let e=t([1,2,3],r);expectTypeOf(e).toEqualTypeOf()});it("on readonly tuple",()=>{let e=t([1,2,3],r);expectTypeOf(e).toEqualTypeOf()});it("on tuple with rest tail",()=>{let e=t([1],r);expectTypeOf(e).toEqualTypeOf()});it("on readonly tuple with rest tail",()=>{let e=t([1],r);expectTypeOf(e).toEqualTypeOf()});test("on tuple with rest middle",()=>{let e=t([3,2,1],r);expectTypeOf(e).toEqualTypeOf()});test("on readonly tuple with rest middle",()=>{let e=t([3,2,1],r);expectTypeOf(e).toEqualTypeOf()});it("on tuple with rest head",()=>{let e=t([1],r);expectTypeOf(e).toEqualTypeOf()});it("on readonly tuple with rest head",()=>{let e=t([1],r);expectTypeOf(e).toEqualTypeOf()});test("on tuple with optional values",()=>{let e=t([],u(0));expectTypeOf(e).toEqualTypeOf()});test("on readonly tuple with optional values",()=>{let e=t([],u(0));expectTypeOf(e).toEqualTypeOf()});it("on mixed types tuple",()=>{let e=t([1,"hello",!0],r);expectTypeOf(e).toEqualTypeOf()});
|
package/dist/sort.spec-d.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var _chunkZ42U7NBMcjs = require('./chunk-Z42U7NBM.cjs');require('./chunk-Y74ER22O.cjs');require('./chunk-7T4AVFYJ.cjs');it("on empty tuple",()=>{let e=_chunkZ42U7NBMcjs.a.call(void 0, [],(t,r)=>t-r);expectTypeOf(e).toEqualTypeOf()});it("on empty readonly tuple",()=>{let e=_chunkZ42U7NBMcjs.a.call(void 0, [],(t,r)=>t-r);expectTypeOf(e).toEqualTypeOf()});it("on array",()=>{let e=_chunkZ42U7NBMcjs.a.call(void 0, [],(t,r)=>t-r);expectTypeOf(e).toEqualTypeOf()});it("on readonly array",()=>{let e=_chunkZ42U7NBMcjs.a.call(void 0, [],(t,r)=>t-r);expectTypeOf(e).toEqualTypeOf()});it("on tuple",()=>{let e=_chunkZ42U7NBMcjs.a.call(void 0, [1,2,3],(t,r)=>t-r);expectTypeOf(e).toEqualTypeOf()});it("on readonly tuple",()=>{let e=_chunkZ42U7NBMcjs.a.call(void 0, [1,2,3],(t,r)=>t-r);expectTypeOf(e).toEqualTypeOf()});it("on tuple with rest tail",()=>{let e=_chunkZ42U7NBMcjs.a.call(void 0, [1],(t,r)=>t-r);expectTypeOf(e).toEqualTypeOf()});it("on readonly tuple with rest tail",()=>{let e=_chunkZ42U7NBMcjs.a.call(void 0, [1],(t,r)=>t-r);expectTypeOf(e).toEqualTypeOf()});it("on tuple with rest head",()=>{let e=_chunkZ42U7NBMcjs.a.call(void 0, [1],(t,r)=>t-r);expectTypeOf(e).toEqualTypeOf()});it("on readonly tuple with rest head",()=>{let e=_chunkZ42U7NBMcjs.a.call(void 0, [1],(t,r)=>t-r);expectTypeOf(e).toEqualTypeOf()});it("on mixed types tuple",()=>{let e=_chunkZ42U7NBMcjs.a.call(void 0, [1,"hello",!0],()=>1);expectTypeOf(e).toEqualTypeOf()});
|
package/dist/sort.spec-d.d.cts
DELETED
package/dist/sort.spec-d.d.ts
DELETED
package/dist/sort.spec-d.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as n}from"./chunk-XUU6IYML.js";import"./chunk-JFXZ246Y.js";import"./chunk-KQGY2DBY.js";it("on empty tuple",()=>{let e=n([],(t,r)=>t-r);expectTypeOf(e).toEqualTypeOf()});it("on empty readonly tuple",()=>{let e=n([],(t,r)=>t-r);expectTypeOf(e).toEqualTypeOf()});it("on array",()=>{let e=n([],(t,r)=>t-r);expectTypeOf(e).toEqualTypeOf()});it("on readonly array",()=>{let e=n([],(t,r)=>t-r);expectTypeOf(e).toEqualTypeOf()});it("on tuple",()=>{let e=n([1,2,3],(t,r)=>t-r);expectTypeOf(e).toEqualTypeOf()});it("on readonly tuple",()=>{let e=n([1,2,3],(t,r)=>t-r);expectTypeOf(e).toEqualTypeOf()});it("on tuple with rest tail",()=>{let e=n([1],(t,r)=>t-r);expectTypeOf(e).toEqualTypeOf()});it("on readonly tuple with rest tail",()=>{let e=n([1],(t,r)=>t-r);expectTypeOf(e).toEqualTypeOf()});it("on tuple with rest head",()=>{let e=n([1],(t,r)=>t-r);expectTypeOf(e).toEqualTypeOf()});it("on readonly tuple with rest head",()=>{let e=n([1],(t,r)=>t-r);expectTypeOf(e).toEqualTypeOf()});it("on mixed types tuple",()=>{let e=n([1,"hello",!0],()=>1);expectTypeOf(e).toEqualTypeOf()});
|
package/dist/splice.spec-d.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var _chunkDJ5DVLWDcjs = require('./chunk-DJ5DVLWD.cjs');require('./chunk-Y74ER22O.cjs');require('./chunk-7T4AVFYJ.cjs');it("reflects the type of `items` in the return value",()=>{let e=_chunkDJ5DVLWDcjs.a.call(void 0, [],0,0,[]);expectTypeOf(e).toEqualTypeOf()});it("reflects the type of `replacement` in the return value",()=>{let e=_chunkDJ5DVLWDcjs.a.call(void 0, [],0,0,[]);expectTypeOf(e).toEqualTypeOf()});it("reflects the type of `replacement` in the return value (data-last)",()=>{let e=_chunkDJ5DVLWDcjs.a.call(void 0, 0,0,[]);expectTypeOf(e).toEqualTypeOf()});
|
package/dist/splice.spec-d.d.cts
DELETED
package/dist/splice.spec-d.d.ts
DELETED
package/dist/splice.spec-d.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as t}from"./chunk-7UJXFFOU.js";import"./chunk-JFXZ246Y.js";import"./chunk-KQGY2DBY.js";it("reflects the type of `items` in the return value",()=>{let e=t([],0,0,[]);expectTypeOf(e).toEqualTypeOf()});it("reflects the type of `replacement` in the return value",()=>{let e=t([],0,0,[]);expectTypeOf(e).toEqualTypeOf()});it("reflects the type of `replacement` in the return value (data-last)",()=>{let e=t(0,0,[]);expectTypeOf(e).toEqualTypeOf()});
|
package/dist/split.spec-d.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var _chunkTFN3JWPScjs = require('./chunk-TFN3JWPS.cjs');test("non-literals",()=>{let t=_chunkTFN3JWPScjs.a.call(void 0, "","");expectTypeOf(t).toEqualTypeOf()});test("non-literal data",()=>{let t=_chunkTFN3JWPScjs.a.call(void 0, "",",");expectTypeOf(t).toEqualTypeOf()});test("non-literal separator",()=>{let t=_chunkTFN3JWPScjs.a.call(void 0, "",",");expectTypeOf(t).toEqualTypeOf()});test("non-literal limit",()=>{let t=_chunkTFN3JWPScjs.a.call(void 0, "","",1);expectTypeOf(t).toEqualTypeOf()});test("literal empty strings",()=>{let t=_chunkTFN3JWPScjs.a.call(void 0, "","");expectTypeOf(t).toEqualTypeOf()});test("trivial literals",()=>{let t=_chunkTFN3JWPScjs.a.call(void 0, "a",",");expectTypeOf(t).toEqualTypeOf()});test("trivial literals",()=>{let t=_chunkTFN3JWPScjs.a.call(void 0, "a",",");expectTypeOf(t).toEqualTypeOf()});test("string contains separator",()=>{let t=_chunkTFN3JWPScjs.a.call(void 0, ",",",");expectTypeOf(t).toEqualTypeOf()});test("useful split",()=>{let t=_chunkTFN3JWPScjs.a.call(void 0, "a,b,c",",");expectTypeOf(t).toEqualTypeOf()});test("regex split",()=>{let t=_chunkTFN3JWPScjs.a.call(void 0, "a,b,c",/,/u);expectTypeOf(t).toEqualTypeOf()});test("limited split",()=>{let t=_chunkTFN3JWPScjs.a.call(void 0, "a,b,c",",",2);expectTypeOf(t).toEqualTypeOf()});test("limit is higher than splits",()=>{let t=_chunkTFN3JWPScjs.a.call(void 0, "a,b,c",",",5);expectTypeOf(t).toEqualTypeOf()});test("undefined limit",()=>{let t=_chunkTFN3JWPScjs.a.call(void 0, "a,b,c",",",void 0);expectTypeOf(t).toEqualTypeOf()});test("multiple consecutive separators",()=>{let t=_chunkTFN3JWPScjs.a.call(void 0, "a,,b",",");expectTypeOf(t).toEqualTypeOf()});test("separator at the start and end",()=>{let t=_chunkTFN3JWPScjs.a.call(void 0, ",a,b,",",");expectTypeOf(t).toEqualTypeOf()});test("empty string separator",()=>{let t=_chunkTFN3JWPScjs.a.call(void 0, "abcdef","");expectTypeOf(t).toEqualTypeOf()});test("empty everything",()=>{let t=_chunkTFN3JWPScjs.a.call(void 0, "","");expectTypeOf(t).toEqualTypeOf()});test("literal string with multiple character separator",()=>{let t=_chunkTFN3JWPScjs.a.call(void 0, "a--b--c","--");expectTypeOf(t).toEqualTypeOf()});test("negative limit",()=>{let t=_chunkTFN3JWPScjs.a.call(void 0, "a,b,c",",",-1);expectTypeOf(t).toEqualTypeOf()});test("fractional limits",()=>{let t=_chunkTFN3JWPScjs.a.call(void 0, "a,b,c",",",1.5);expectTypeOf(t).toEqualTypeOf()});test("0 limit",()=>{let t=_chunkTFN3JWPScjs.a.call(void 0, "a,b,c",",",0);expectTypeOf(t).toEqualTypeOf()});
|
package/dist/split.spec-d.d.cts
DELETED
package/dist/split.spec-d.d.ts
DELETED
package/dist/split.spec-d.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./chunk-RBODUO3Q.js";test("non-literals",()=>{let t=e("","");expectTypeOf(t).toEqualTypeOf()});test("non-literal data",()=>{let t=e("",",");expectTypeOf(t).toEqualTypeOf()});test("non-literal separator",()=>{let t=e("",",");expectTypeOf(t).toEqualTypeOf()});test("non-literal limit",()=>{let t=e("","",1);expectTypeOf(t).toEqualTypeOf()});test("literal empty strings",()=>{let t=e("","");expectTypeOf(t).toEqualTypeOf()});test("trivial literals",()=>{let t=e("a",",");expectTypeOf(t).toEqualTypeOf()});test("trivial literals",()=>{let t=e("a",",");expectTypeOf(t).toEqualTypeOf()});test("string contains separator",()=>{let t=e(",",",");expectTypeOf(t).toEqualTypeOf()});test("useful split",()=>{let t=e("a,b,c",",");expectTypeOf(t).toEqualTypeOf()});test("regex split",()=>{let t=e("a,b,c",/,/u);expectTypeOf(t).toEqualTypeOf()});test("limited split",()=>{let t=e("a,b,c",",",2);expectTypeOf(t).toEqualTypeOf()});test("limit is higher than splits",()=>{let t=e("a,b,c",",",5);expectTypeOf(t).toEqualTypeOf()});test("undefined limit",()=>{let t=e("a,b,c",",",void 0);expectTypeOf(t).toEqualTypeOf()});test("multiple consecutive separators",()=>{let t=e("a,,b",",");expectTypeOf(t).toEqualTypeOf()});test("separator at the start and end",()=>{let t=e(",a,b,",",");expectTypeOf(t).toEqualTypeOf()});test("empty string separator",()=>{let t=e("abcdef","");expectTypeOf(t).toEqualTypeOf()});test("empty everything",()=>{let t=e("","");expectTypeOf(t).toEqualTypeOf()});test("literal string with multiple character separator",()=>{let t=e("a--b--c","--");expectTypeOf(t).toEqualTypeOf()});test("negative limit",()=>{let t=e("a,b,c",",",-1);expectTypeOf(t).toEqualTypeOf()});test("fractional limits",()=>{let t=e("a,b,c",",",1.5);expectTypeOf(t).toEqualTypeOf()});test("0 limit",()=>{let t=e("a,b,c",",",0);expectTypeOf(t).toEqualTypeOf()});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var _chunkVRZNQSZNcjs = require('./chunk-VRZNQSZN.cjs');test("should convert a string to a deeply nested path",()=>{let e=_chunkVRZNQSZNcjs.a.call(void 0, "a.b[0].c");expectTypeOf(e).toEqualTypeOf()});test("simple const string are inferred",()=>{let e=_chunkVRZNQSZNcjs.a.call(void 0, "foo[bar.baz].qui");expectTypeOf(e).toEqualTypeOf()});test("should handle long paths",()=>{let e=_chunkVRZNQSZNcjs.a.call(void 0, "lorem.ipsum[dolor.sit].amet.con.sec.tetur[adi.pisc.ing].elit.42");expectTypeOf(e).toEqualTypeOf()});test("dynamic strings cannot be inferred",()=>{let e=_chunkVRZNQSZNcjs.a.call(void 0, "foo.bar[baz]");expectTypeOf(e).toEqualTypeOf()});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as t}from"./chunk-CZLV6ZLZ.js";test("should convert a string to a deeply nested path",()=>{let e=t("a.b[0].c");expectTypeOf(e).toEqualTypeOf()});test("simple const string are inferred",()=>{let e=t("foo[bar.baz].qui");expectTypeOf(e).toEqualTypeOf()});test("should handle long paths",()=>{let e=t("lorem.ipsum[dolor.sit].amet.con.sec.tetur[adi.pisc.ing].elit.42");expectTypeOf(e).toEqualTypeOf()});test("dynamic strings cannot be inferred",()=>{let e=t("foo.bar[baz]");expectTypeOf(e).toEqualTypeOf()});
|
package/dist/sum.spec-d.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var _chunk6TRXWRYJcjs = require('./chunk-6TRXWRYJ.cjs');var _chunkI6VXEY44cjs = require('./chunk-I6VXEY44.cjs');require('./chunk-3X6SAJDQ.cjs');require('./chunk-Y74ER22O.cjs');require('./chunk-7T4AVFYJ.cjs');test("empty arrays",()=>{let t=_chunk6TRXWRYJcjs.a.call(void 0, []);expectTypeOf(t).toEqualTypeOf()});describe("numbers",()=>{test("arbitrary arrays",()=>{let t=_chunk6TRXWRYJcjs.a.call(void 0, []);expectTypeOf(t).toEqualTypeOf()}),test("arbitrary readonly arrays",()=>{let t=_chunk6TRXWRYJcjs.a.call(void 0, []);expectTypeOf(t).toEqualTypeOf()}),test("arbitrary non-empty arrays",()=>{let t=_chunk6TRXWRYJcjs.a.call(void 0, [1,2]);expectTypeOf(t).toEqualTypeOf()}),test("consts",()=>{let t=_chunk6TRXWRYJcjs.a.call(void 0, [1,2,3]);expectTypeOf(t).toEqualTypeOf()}),test("fixed-size tuples",()=>{let t=_chunk6TRXWRYJcjs.a.call(void 0, [1,2]);expectTypeOf(t).toEqualTypeOf()})});describe("bigints",()=>{test("arbitrary arrays",()=>{let t=_chunk6TRXWRYJcjs.a.call(void 0, []);expectTypeOf(t).toEqualTypeOf()}),test("arbitrary readonly arrays",()=>{let t=_chunk6TRXWRYJcjs.a.call(void 0, []);expectTypeOf(t).toEqualTypeOf()}),test("arbitrary non-empty arrays",()=>{let t=_chunk6TRXWRYJcjs.a.call(void 0, [1n,2n]);expectTypeOf(t).toEqualTypeOf()}),test("consts",()=>{let t=_chunk6TRXWRYJcjs.a.call(void 0, [1n,2n,3n]);expectTypeOf(t).toEqualTypeOf()}),test("fixed-size tuples",()=>{let t=_chunk6TRXWRYJcjs.a.call(void 0, [1n,2n]);expectTypeOf(t).toEqualTypeOf()})});describe("dataLast",()=>{test("numbers",()=>{let t=_chunkI6VXEY44cjs.a.call(void 0, [1,2,3],_chunk6TRXWRYJcjs.a.call(void 0, ));expectTypeOf(t).toEqualTypeOf()}),test("bigints",()=>{let t=_chunkI6VXEY44cjs.a.call(void 0, [1n,2n,3n],_chunk6TRXWRYJcjs.a.call(void 0, ));expectTypeOf(t).toEqualTypeOf()})});it("doesn't allow mixed arrays",()=>{_chunk6TRXWRYJcjs.a.call(void 0, [1,2n])});describe("KNOWN ISSUES",()=>{it("Returns 0 (`number`) instead of 0n (`bigint`) for empty `bigint` arrays",()=>{let t=_chunk6TRXWRYJcjs.a.call(void 0, []);expectTypeOf(t).toEqualTypeOf()})});
|
package/dist/sum.spec-d.d.cts
DELETED
package/dist/sum.spec-d.d.ts
DELETED
package/dist/sum.spec-d.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./chunk-2T576V7A.js";import{a as r}from"./chunk-6ALZHU2N.js";import"./chunk-MYLYERXO.js";import"./chunk-JFXZ246Y.js";import"./chunk-KQGY2DBY.js";test("empty arrays",()=>{let t=e([]);expectTypeOf(t).toEqualTypeOf()});describe("numbers",()=>{test("arbitrary arrays",()=>{let t=e([]);expectTypeOf(t).toEqualTypeOf()}),test("arbitrary readonly arrays",()=>{let t=e([]);expectTypeOf(t).toEqualTypeOf()}),test("arbitrary non-empty arrays",()=>{let t=e([1,2]);expectTypeOf(t).toEqualTypeOf()}),test("consts",()=>{let t=e([1,2,3]);expectTypeOf(t).toEqualTypeOf()}),test("fixed-size tuples",()=>{let t=e([1,2]);expectTypeOf(t).toEqualTypeOf()})});describe("bigints",()=>{test("arbitrary arrays",()=>{let t=e([]);expectTypeOf(t).toEqualTypeOf()}),test("arbitrary readonly arrays",()=>{let t=e([]);expectTypeOf(t).toEqualTypeOf()}),test("arbitrary non-empty arrays",()=>{let t=e([1n,2n]);expectTypeOf(t).toEqualTypeOf()}),test("consts",()=>{let t=e([1n,2n,3n]);expectTypeOf(t).toEqualTypeOf()}),test("fixed-size tuples",()=>{let t=e([1n,2n]);expectTypeOf(t).toEqualTypeOf()})});describe("dataLast",()=>{test("numbers",()=>{let t=r([1,2,3],e());expectTypeOf(t).toEqualTypeOf()}),test("bigints",()=>{let t=r([1n,2n,3n],e());expectTypeOf(t).toEqualTypeOf()})});it("doesn't allow mixed arrays",()=>{e([1,2n])});describe("KNOWN ISSUES",()=>{it("Returns 0 (`number`) instead of 0n (`bigint`) for empty `bigint` arrays",()=>{let t=e([]);expectTypeOf(t).toEqualTypeOf()})});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var _chunkKBGFDQ5Tcjs = require('./chunk-KBGFDQ5T.cjs');require('./chunk-Y74ER22O.cjs');require('./chunk-7T4AVFYJ.cjs');it("protects against invalid prop names",()=>{_chunkKBGFDQ5Tcjs.a.call(void 0, {a:1,b:2},"a","c")});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-3T7K3EKS.js";import"./chunk-JFXZ246Y.js";import"./chunk-KQGY2DBY.js";it("protects against invalid prop names",()=>{a({a:1,b:2},"a","c")});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var _chunk3DFX2FQGcjs = require('./chunk-3DFX2FQG.cjs');var _chunkI6VXEY44cjs = require('./chunk-I6VXEY44.cjs');require('./chunk-3X6SAJDQ.cjs');require('./chunk-Y74ER22O.cjs');require('./chunk-7T4AVFYJ.cjs');describe("data-first",()=>{test("empty array",()=>{let r=_chunk3DFX2FQGcjs.a.call(void 0, [],2);expectTypeOf(r).toEqualTypeOf()}),test("regular array",()=>{let r=_chunk3DFX2FQGcjs.a.call(void 0, [],2);expectTypeOf(r).toEqualTypeOf()}),test("regular array with union type",()=>{let r=_chunk3DFX2FQGcjs.a.call(void 0, [],2);expectTypeOf(r).toEqualTypeOf()}),test("prefix array",()=>{let r=_chunk3DFX2FQGcjs.a.call(void 0, [1],2);expectTypeOf(r).toEqualTypeOf()}),test("suffix array",()=>{let r=_chunk3DFX2FQGcjs.a.call(void 0, [1],2);expectTypeOf(r).toEqualTypeOf()}),test("array with suffix and prefix",()=>{let r=_chunk3DFX2FQGcjs.a.call(void 0, [1,"a"],2);expectTypeOf(r).toEqualTypeOf()}),test("tuple",()=>{let r=_chunk3DFX2FQGcjs.a.call(void 0, [1,"a",!0],2);expectTypeOf(r).toEqualTypeOf()}),test("union of arrays",()=>{let r=_chunk3DFX2FQGcjs.a.call(void 0, [],2);expectTypeOf(r).toEqualTypeOf()})});describe("data-last",()=>{test("empty array",()=>{let r=_chunkI6VXEY44cjs.a.call(void 0, [],_chunk3DFX2FQGcjs.a.call(void 0, 2));expectTypeOf(r).toEqualTypeOf()}),test("regular array",()=>{let r=_chunkI6VXEY44cjs.a.call(void 0, [],_chunk3DFX2FQGcjs.a.call(void 0, 2));expectTypeOf(r).toEqualTypeOf()}),test("regular array with union type",()=>{let r=_chunkI6VXEY44cjs.a.call(void 0, [],_chunk3DFX2FQGcjs.a.call(void 0, 2));expectTypeOf(r).toEqualTypeOf()}),test("prefix array",()=>{let r=_chunkI6VXEY44cjs.a.call(void 0, [1],_chunk3DFX2FQGcjs.a.call(void 0, 2));expectTypeOf(r).toEqualTypeOf()}),test("suffix array",()=>{let r=_chunkI6VXEY44cjs.a.call(void 0, [1],_chunk3DFX2FQGcjs.a.call(void 0, 2));expectTypeOf(r).toEqualTypeOf()}),test("array with suffix and prefix",()=>{let r=_chunkI6VXEY44cjs.a.call(void 0, [1,"a"],_chunk3DFX2FQGcjs.a.call(void 0, 2));expectTypeOf(r).toEqualTypeOf()}),test("tuple",()=>{let r=_chunkI6VXEY44cjs.a.call(void 0, [1,"a",!0],_chunk3DFX2FQGcjs.a.call(void 0, 2));expectTypeOf(r).toEqualTypeOf()}),test("union of arrays",()=>{let r=_chunkI6VXEY44cjs.a.call(void 0, [],_chunk3DFX2FQGcjs.a.call(void 0, 2));expectTypeOf(r).toEqualTypeOf()})});
|
package/dist/take-last.spec-d.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./chunk-OJ2QGTFS.js";import{a as t}from"./chunk-6ALZHU2N.js";import"./chunk-MYLYERXO.js";import"./chunk-JFXZ246Y.js";import"./chunk-KQGY2DBY.js";describe("data-first",()=>{test("empty array",()=>{let r=e([],2);expectTypeOf(r).toEqualTypeOf()}),test("regular array",()=>{let r=e([],2);expectTypeOf(r).toEqualTypeOf()}),test("regular array with union type",()=>{let r=e([],2);expectTypeOf(r).toEqualTypeOf()}),test("prefix array",()=>{let r=e([1],2);expectTypeOf(r).toEqualTypeOf()}),test("suffix array",()=>{let r=e([1],2);expectTypeOf(r).toEqualTypeOf()}),test("array with suffix and prefix",()=>{let r=e([1,"a"],2);expectTypeOf(r).toEqualTypeOf()}),test("tuple",()=>{let r=e([1,"a",!0],2);expectTypeOf(r).toEqualTypeOf()}),test("union of arrays",()=>{let r=e([],2);expectTypeOf(r).toEqualTypeOf()})});describe("data-last",()=>{test("empty array",()=>{let r=t([],e(2));expectTypeOf(r).toEqualTypeOf()}),test("regular array",()=>{let r=t([],e(2));expectTypeOf(r).toEqualTypeOf()}),test("regular array with union type",()=>{let r=t([],e(2));expectTypeOf(r).toEqualTypeOf()}),test("prefix array",()=>{let r=t([1],e(2));expectTypeOf(r).toEqualTypeOf()}),test("suffix array",()=>{let r=t([1],e(2));expectTypeOf(r).toEqualTypeOf()}),test("array with suffix and prefix",()=>{let r=t([1,"a"],e(2));expectTypeOf(r).toEqualTypeOf()}),test("tuple",()=>{let r=t([1,"a",!0],e(2));expectTypeOf(r).toEqualTypeOf()}),test("union of arrays",()=>{let r=t([],e(2));expectTypeOf(r).toEqualTypeOf()})});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var _chunkZO4ND36Ncjs = require('./chunk-ZO4ND36N.cjs');var _chunkI6VXEY44cjs = require('./chunk-I6VXEY44.cjs');require('./chunk-3X6SAJDQ.cjs');var _chunkWLNQOMKLcjs = require('./chunk-WLNQOMKL.cjs');require('./chunk-Y74ER22O.cjs');require('./chunk-7T4AVFYJ.cjs');describe("data-first",()=>{test("empty array",()=>{let e=_chunkZO4ND36Ncjs.a.call(void 0, [],_chunkWLNQOMKLcjs.a.call(void 0, !0));expectTypeOf(e).toEqualTypeOf()}),test("regular array",()=>{let e=_chunkZO4ND36Ncjs.a.call(void 0, [],_chunkWLNQOMKLcjs.a.call(void 0, !0));expectTypeOf(e).toEqualTypeOf()}),test("regular array with union type",()=>{let e=_chunkZO4ND36Ncjs.a.call(void 0, [],_chunkWLNQOMKLcjs.a.call(void 0, !0));expectTypeOf(e).toEqualTypeOf()}),test("prefix array",()=>{let e=_chunkZO4ND36Ncjs.a.call(void 0, [1],_chunkWLNQOMKLcjs.a.call(void 0, !0));expectTypeOf(e).toEqualTypeOf()}),test("suffix array",()=>{let e=_chunkZO4ND36Ncjs.a.call(void 0, [1],_chunkWLNQOMKLcjs.a.call(void 0, !0));expectTypeOf(e).toEqualTypeOf()}),test("array with suffix and prefix",()=>{let e=_chunkZO4ND36Ncjs.a.call(void 0, [1,"a"],_chunkWLNQOMKLcjs.a.call(void 0, !0));expectTypeOf(e).toEqualTypeOf()}),test("tuple",()=>{let e=_chunkZO4ND36Ncjs.a.call(void 0, [1,"a",!0],_chunkWLNQOMKLcjs.a.call(void 0, !0));expectTypeOf(e).toEqualTypeOf()}),test("union of arrays",()=>{let e=_chunkZO4ND36Ncjs.a.call(void 0, [],_chunkWLNQOMKLcjs.a.call(void 0, !0));expectTypeOf(e).toEqualTypeOf()})});describe("data-last",()=>{test("empty array",()=>{let e=_chunkI6VXEY44cjs.a.call(void 0, [],_chunkZO4ND36Ncjs.a.call(void 0, _chunkWLNQOMKLcjs.a.call(void 0, !0)));expectTypeOf(e).toEqualTypeOf()}),test("regular array",()=>{let e=_chunkI6VXEY44cjs.a.call(void 0, [],_chunkZO4ND36Ncjs.a.call(void 0, _chunkWLNQOMKLcjs.a.call(void 0, !0)));expectTypeOf(e).toEqualTypeOf()}),test("regular array with union type",()=>{let e=_chunkI6VXEY44cjs.a.call(void 0, [],_chunkZO4ND36Ncjs.a.call(void 0, _chunkWLNQOMKLcjs.a.call(void 0, !0)));expectTypeOf(e).toEqualTypeOf()}),test("prefix array",()=>{let e=_chunkI6VXEY44cjs.a.call(void 0, [1],_chunkZO4ND36Ncjs.a.call(void 0, _chunkWLNQOMKLcjs.a.call(void 0, !0)));expectTypeOf(e).toEqualTypeOf()}),test("suffix array",()=>{let e=_chunkI6VXEY44cjs.a.call(void 0, [1],_chunkZO4ND36Ncjs.a.call(void 0, _chunkWLNQOMKLcjs.a.call(void 0, !0)));expectTypeOf(e).toEqualTypeOf()}),test("array with suffix and prefix",()=>{let e=_chunkI6VXEY44cjs.a.call(void 0, [1,"a"],_chunkZO4ND36Ncjs.a.call(void 0, _chunkWLNQOMKLcjs.a.call(void 0, !0)));expectTypeOf(e).toEqualTypeOf()}),test("tuple",()=>{let e=_chunkI6VXEY44cjs.a.call(void 0, [1,"a",!0],_chunkZO4ND36Ncjs.a.call(void 0, _chunkWLNQOMKLcjs.a.call(void 0, !0)));expectTypeOf(e).toEqualTypeOf()}),test("union of arrays",()=>{let e=_chunkI6VXEY44cjs.a.call(void 0, [],_chunkZO4ND36Ncjs.a.call(void 0, _chunkWLNQOMKLcjs.a.call(void 0, !0)));expectTypeOf(e).toEqualTypeOf()}),describe("predicate is typed correctly",()=>{test("empty array",()=>{_chunkI6VXEY44cjs.a.call(void 0, [],_chunkZO4ND36Ncjs.a.call(void 0, (e,u,y)=>(expectTypeOf(e).toEqualTypeOf(),expectTypeOf(u).toEqualTypeOf(),expectTypeOf(y).toEqualTypeOf(),!0)))}),test("regular array",()=>{_chunkI6VXEY44cjs.a.call(void 0, [],_chunkZO4ND36Ncjs.a.call(void 0, (e,u,y)=>(expectTypeOf(e).toEqualTypeOf(),expectTypeOf(u).toEqualTypeOf(),expectTypeOf(y).toEqualTypeOf(),!0)))}),test("regular array with union type",()=>{_chunkI6VXEY44cjs.a.call(void 0, [],_chunkZO4ND36Ncjs.a.call(void 0, (e,u,y)=>(expectTypeOf(e).toEqualTypeOf(),expectTypeOf(u).toEqualTypeOf(),expectTypeOf(y).toEqualTypeOf(),!0)))}),test("prefix array",()=>{_chunkI6VXEY44cjs.a.call(void 0, [1],_chunkZO4ND36Ncjs.a.call(void 0, (e,u,y)=>(expectTypeOf(e).toEqualTypeOf(),expectTypeOf(u).toEqualTypeOf(),expectTypeOf(y).toEqualTypeOf(),!0)))}),test("suffix array",()=>{_chunkI6VXEY44cjs.a.call(void 0, [1],_chunkZO4ND36Ncjs.a.call(void 0, (e,u,y)=>(expectTypeOf(e).toEqualTypeOf(),expectTypeOf(u).toEqualTypeOf(),expectTypeOf(y).toEqualTypeOf(),!0)))}),test("array with suffix and prefix",()=>{_chunkI6VXEY44cjs.a.call(void 0, [1,"a"],_chunkZO4ND36Ncjs.a.call(void 0, (e,u,y)=>(expectTypeOf(e).toEqualTypeOf(),expectTypeOf(u).toEqualTypeOf(),expectTypeOf(y).toEqualTypeOf(),!0)))}),test("tuple",()=>{_chunkI6VXEY44cjs.a.call(void 0, [1,"a",!0],_chunkZO4ND36Ncjs.a.call(void 0, (e,u,y)=>(expectTypeOf(e).toEqualTypeOf(),expectTypeOf(u).toEqualTypeOf(),expectTypeOf(y).toEqualTypeOf(),!0)))}),test("union of arrays",()=>{_chunkI6VXEY44cjs.a.call(void 0, [],_chunkZO4ND36Ncjs.a.call(void 0, (e,u,y)=>(expectTypeOf(e).toEqualTypeOf(),expectTypeOf(u).toEqualTypeOf(),expectTypeOf(y).toEqualTypeOf(),!0)))})})});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as r}from"./chunk-VN2OAM2N.js";import{a as t}from"./chunk-6ALZHU2N.js";import"./chunk-MYLYERXO.js";import{a}from"./chunk-T5XG33UI.js";import"./chunk-JFXZ246Y.js";import"./chunk-KQGY2DBY.js";describe("data-first",()=>{test("empty array",()=>{let e=r([],a(!0));expectTypeOf(e).toEqualTypeOf()}),test("regular array",()=>{let e=r([],a(!0));expectTypeOf(e).toEqualTypeOf()}),test("regular array with union type",()=>{let e=r([],a(!0));expectTypeOf(e).toEqualTypeOf()}),test("prefix array",()=>{let e=r([1],a(!0));expectTypeOf(e).toEqualTypeOf()}),test("suffix array",()=>{let e=r([1],a(!0));expectTypeOf(e).toEqualTypeOf()}),test("array with suffix and prefix",()=>{let e=r([1,"a"],a(!0));expectTypeOf(e).toEqualTypeOf()}),test("tuple",()=>{let e=r([1,"a",!0],a(!0));expectTypeOf(e).toEqualTypeOf()}),test("union of arrays",()=>{let e=r([],a(!0));expectTypeOf(e).toEqualTypeOf()})});describe("data-last",()=>{test("empty array",()=>{let e=t([],r(a(!0)));expectTypeOf(e).toEqualTypeOf()}),test("regular array",()=>{let e=t([],r(a(!0)));expectTypeOf(e).toEqualTypeOf()}),test("regular array with union type",()=>{let e=t([],r(a(!0)));expectTypeOf(e).toEqualTypeOf()}),test("prefix array",()=>{let e=t([1],r(a(!0)));expectTypeOf(e).toEqualTypeOf()}),test("suffix array",()=>{let e=t([1],r(a(!0)));expectTypeOf(e).toEqualTypeOf()}),test("array with suffix and prefix",()=>{let e=t([1,"a"],r(a(!0)));expectTypeOf(e).toEqualTypeOf()}),test("tuple",()=>{let e=t([1,"a",!0],r(a(!0)));expectTypeOf(e).toEqualTypeOf()}),test("union of arrays",()=>{let e=t([],r(a(!0)));expectTypeOf(e).toEqualTypeOf()}),describe("predicate is typed correctly",()=>{test("empty array",()=>{t([],r((e,u,y)=>(expectTypeOf(e).toEqualTypeOf(),expectTypeOf(u).toEqualTypeOf(),expectTypeOf(y).toEqualTypeOf(),!0)))}),test("regular array",()=>{t([],r((e,u,y)=>(expectTypeOf(e).toEqualTypeOf(),expectTypeOf(u).toEqualTypeOf(),expectTypeOf(y).toEqualTypeOf(),!0)))}),test("regular array with union type",()=>{t([],r((e,u,y)=>(expectTypeOf(e).toEqualTypeOf(),expectTypeOf(u).toEqualTypeOf(),expectTypeOf(y).toEqualTypeOf(),!0)))}),test("prefix array",()=>{t([1],r((e,u,y)=>(expectTypeOf(e).toEqualTypeOf(),expectTypeOf(u).toEqualTypeOf(),expectTypeOf(y).toEqualTypeOf(),!0)))}),test("suffix array",()=>{t([1],r((e,u,y)=>(expectTypeOf(e).toEqualTypeOf(),expectTypeOf(u).toEqualTypeOf(),expectTypeOf(y).toEqualTypeOf(),!0)))}),test("array with suffix and prefix",()=>{t([1,"a"],r((e,u,y)=>(expectTypeOf(e).toEqualTypeOf(),expectTypeOf(u).toEqualTypeOf(),expectTypeOf(y).toEqualTypeOf(),!0)))}),test("tuple",()=>{t([1,"a",!0],r((e,u,y)=>(expectTypeOf(e).toEqualTypeOf(),expectTypeOf(u).toEqualTypeOf(),expectTypeOf(y).toEqualTypeOf(),!0)))}),test("union of arrays",()=>{t([],r((e,u,y)=>(expectTypeOf(e).toEqualTypeOf(),expectTypeOf(u).toEqualTypeOf(),expectTypeOf(y).toEqualTypeOf(),!0)))})})});
|
package/dist/take.spec-d.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var _chunkZ5UEQBZPcjs = require('./chunk-Z5UEQBZP.cjs');var _chunkI6VXEY44cjs = require('./chunk-I6VXEY44.cjs');require('./chunk-3X6SAJDQ.cjs');require('./chunk-Y74ER22O.cjs');require('./chunk-7T4AVFYJ.cjs');describe("data-first",()=>{test("empty array",()=>{let r=_chunkZ5UEQBZPcjs.a.call(void 0, [],2);expectTypeOf(r).toEqualTypeOf()}),test("regular array",()=>{let r=_chunkZ5UEQBZPcjs.a.call(void 0, [],2);expectTypeOf(r).toEqualTypeOf()}),test("regular array with union type",()=>{let r=_chunkZ5UEQBZPcjs.a.call(void 0, [],2);expectTypeOf(r).toEqualTypeOf()}),test("prefix array",()=>{let r=_chunkZ5UEQBZPcjs.a.call(void 0, [1],2);expectTypeOf(r).toEqualTypeOf()}),test("suffix array",()=>{let r=_chunkZ5UEQBZPcjs.a.call(void 0, [1],2);expectTypeOf(r).toEqualTypeOf()}),test("array with suffix and prefix",()=>{let r=_chunkZ5UEQBZPcjs.a.call(void 0, [1,"a"],2);expectTypeOf(r).toEqualTypeOf()}),test("tuple",()=>{let r=_chunkZ5UEQBZPcjs.a.call(void 0, [1,"a",!0],2);expectTypeOf(r).toEqualTypeOf()}),test("union of arrays",()=>{let r=_chunkZ5UEQBZPcjs.a.call(void 0, [],2);expectTypeOf(r).toEqualTypeOf()})});describe("data-last",()=>{test("empty array",()=>{let r=_chunkI6VXEY44cjs.a.call(void 0, [],_chunkZ5UEQBZPcjs.a.call(void 0, 2));expectTypeOf(r).toEqualTypeOf()}),test("regular array",()=>{let r=_chunkI6VXEY44cjs.a.call(void 0, [],_chunkZ5UEQBZPcjs.a.call(void 0, 2));expectTypeOf(r).toEqualTypeOf()}),test("regular array with union type",()=>{let r=_chunkI6VXEY44cjs.a.call(void 0, [],_chunkZ5UEQBZPcjs.a.call(void 0, 2));expectTypeOf(r).toEqualTypeOf()}),test("prefix array",()=>{let r=_chunkI6VXEY44cjs.a.call(void 0, [1],_chunkZ5UEQBZPcjs.a.call(void 0, 2));expectTypeOf(r).toEqualTypeOf()}),test("suffix array",()=>{let r=_chunkI6VXEY44cjs.a.call(void 0, [1],_chunkZ5UEQBZPcjs.a.call(void 0, 2));expectTypeOf(r).toEqualTypeOf()}),test("array with suffix and prefix",()=>{let r=_chunkI6VXEY44cjs.a.call(void 0, [1,"a"],_chunkZ5UEQBZPcjs.a.call(void 0, 2));expectTypeOf(r).toEqualTypeOf()}),test("tuple",()=>{let r=_chunkI6VXEY44cjs.a.call(void 0, [1,"a",!0],_chunkZ5UEQBZPcjs.a.call(void 0, 2));expectTypeOf(r).toEqualTypeOf()}),test("union of arrays",()=>{let r=_chunkI6VXEY44cjs.a.call(void 0, [],_chunkZ5UEQBZPcjs.a.call(void 0, 2));expectTypeOf(r).toEqualTypeOf()})});
|
package/dist/take.spec-d.d.cts
DELETED
package/dist/take.spec-d.d.ts
DELETED
package/dist/take.spec-d.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./chunk-EPHUNAE5.js";import{a as t}from"./chunk-6ALZHU2N.js";import"./chunk-MYLYERXO.js";import"./chunk-JFXZ246Y.js";import"./chunk-KQGY2DBY.js";describe("data-first",()=>{test("empty array",()=>{let r=e([],2);expectTypeOf(r).toEqualTypeOf()}),test("regular array",()=>{let r=e([],2);expectTypeOf(r).toEqualTypeOf()}),test("regular array with union type",()=>{let r=e([],2);expectTypeOf(r).toEqualTypeOf()}),test("prefix array",()=>{let r=e([1],2);expectTypeOf(r).toEqualTypeOf()}),test("suffix array",()=>{let r=e([1],2);expectTypeOf(r).toEqualTypeOf()}),test("array with suffix and prefix",()=>{let r=e([1,"a"],2);expectTypeOf(r).toEqualTypeOf()}),test("tuple",()=>{let r=e([1,"a",!0],2);expectTypeOf(r).toEqualTypeOf()}),test("union of arrays",()=>{let r=e([],2);expectTypeOf(r).toEqualTypeOf()})});describe("data-last",()=>{test("empty array",()=>{let r=t([],e(2));expectTypeOf(r).toEqualTypeOf()}),test("regular array",()=>{let r=t([],e(2));expectTypeOf(r).toEqualTypeOf()}),test("regular array with union type",()=>{let r=t([],e(2));expectTypeOf(r).toEqualTypeOf()}),test("prefix array",()=>{let r=t([1],e(2));expectTypeOf(r).toEqualTypeOf()}),test("suffix array",()=>{let r=t([1],e(2));expectTypeOf(r).toEqualTypeOf()}),test("array with suffix and prefix",()=>{let r=t([1,"a"],e(2));expectTypeOf(r).toEqualTypeOf()}),test("tuple",()=>{let r=t([1,"a",!0],e(2));expectTypeOf(r).toEqualTypeOf()}),test("union of arrays",()=>{let r=t([],e(2));expectTypeOf(r).toEqualTypeOf()})});
|
package/dist/tap.spec-d.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var _chunkYWO7TFODcjs = require('./chunk-YWO7TFOD.cjs');var _chunkKLQZU5J4cjs = require('./chunk-KLQZU5J4.cjs');var _chunkWW7P3TAUcjs = require('./chunk-WW7P3TAU.cjs');var _chunk7IYJC2PMcjs = require('./chunk-7IYJC2PM.cjs');var _chunkI6VXEY44cjs = require('./chunk-I6VXEY44.cjs');require('./chunk-3X6SAJDQ.cjs');require('./chunk-Y74ER22O.cjs');require('./chunk-7T4AVFYJ.cjs');it("should work in the middle of pipe sequence",()=>{_chunkI6VXEY44cjs.a.call(void 0, [-1,2],_chunk7IYJC2PMcjs.a.call(void 0, e=>e>0),_chunkYWO7TFODcjs.a.call(void 0, e=>{expectTypeOf(e).toEqualTypeOf()}),_chunkWW7P3TAUcjs.a.call(void 0, _chunkKLQZU5J4cjs.a.call(void 0, 2)))});it("should infer types after tapping function reference with parameter type any",()=>{_chunkI6VXEY44cjs.a.call(void 0, [-1,2],_chunk7IYJC2PMcjs.a.call(void 0, e=>e>0),_chunkYWO7TFODcjs.a.call(void 0, i),_chunkWW7P3TAUcjs.a.call(void 0, e=>(expectTypeOf(e).toEqualTypeOf(),e*2)))});function i(e){return e}
|
package/dist/tap.spec-d.d.cts
DELETED
package/dist/tap.spec-d.d.ts
DELETED
package/dist/tap.spec-d.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as o}from"./chunk-ENIRKKU6.js";import{a as n}from"./chunk-MBYBX5B3.js";import{a as t}from"./chunk-QRDGUNHT.js";import{a as p}from"./chunk-BGPRJNRQ.js";import{a as r}from"./chunk-6ALZHU2N.js";import"./chunk-MYLYERXO.js";import"./chunk-JFXZ246Y.js";import"./chunk-KQGY2DBY.js";it("should work in the middle of pipe sequence",()=>{r([-1,2],p(e=>e>0),o(e=>{expectTypeOf(e).toEqualTypeOf()}),t(n(2)))});it("should infer types after tapping function reference with parameter type any",()=>{r([-1,2],p(e=>e>0),o(i),t(e=>(expectTypeOf(e).toEqualTypeOf(),e*2)))});function i(e){return e}
|
package/dist/times.spec-d.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var _chunkXSYAC5NVcjs = require('./chunk-XSYAC5NV.cjs');var _chunkMLLA7SGZcjs = require('./chunk-MLLA7SGZ.cjs');require('./chunk-Y74ER22O.cjs');require('./chunk-7T4AVFYJ.cjs');it("works with 0",()=>{let e=_chunkXSYAC5NVcjs.a.call(void 0, 0,_chunkMLLA7SGZcjs.a.call(void 0, ));expectTypeOf(e).toEqualTypeOf()});it("works with non-literals",()=>{let e=_chunkXSYAC5NVcjs.a.call(void 0, 10,_chunkMLLA7SGZcjs.a.call(void 0, ));expectTypeOf(e).toEqualTypeOf()});it("works with positive integer literals",()=>{let e=_chunkXSYAC5NVcjs.a.call(void 0, 10,_chunkMLLA7SGZcjs.a.call(void 0, ));expectTypeOf(e).toEqualTypeOf()});it("works with negative integers",()=>{let e=_chunkXSYAC5NVcjs.a.call(void 0, -10,_chunkMLLA7SGZcjs.a.call(void 0, ));expectTypeOf(e).toEqualTypeOf()});it("works with non-integer positive literals",()=>{let e=_chunkXSYAC5NVcjs.a.call(void 0, 10.5,_chunkMLLA7SGZcjs.a.call(void 0, ));expectTypeOf(e).toEqualTypeOf()});it("works with non-integer negative literals",()=>{let e=_chunkXSYAC5NVcjs.a.call(void 0, -10.5,_chunkMLLA7SGZcjs.a.call(void 0, ));expectTypeOf(e).toEqualTypeOf()});it("works with literal unions",()=>{let e=_chunkXSYAC5NVcjs.a.call(void 0, 1,_chunkMLLA7SGZcjs.a.call(void 0, ));expectTypeOf(e).toEqualTypeOf()});it("could be 'disabled' with large literals",()=>{let e=_chunkXSYAC5NVcjs.a.call(void 0, 1e4,_chunkMLLA7SGZcjs.a.call(void 0, ));expectTypeOf(e).toMatchTypeOf(),expectTypeOf(e[0]).toEqualTypeOf(),expectTypeOf(e[45]).toEqualTypeOf(),expectTypeOf(e[56]).toEqualTypeOf()});
|
package/dist/times.spec-d.d.cts
DELETED
package/dist/times.spec-d.d.ts
DELETED
package/dist/times.spec-d.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as r}from"./chunk-MZWACWOX.js";import{a as t}from"./chunk-WUAU3LTQ.js";import"./chunk-JFXZ246Y.js";import"./chunk-KQGY2DBY.js";it("works with 0",()=>{let e=r(0,t());expectTypeOf(e).toEqualTypeOf()});it("works with non-literals",()=>{let e=r(10,t());expectTypeOf(e).toEqualTypeOf()});it("works with positive integer literals",()=>{let e=r(10,t());expectTypeOf(e).toEqualTypeOf()});it("works with negative integers",()=>{let e=r(-10,t());expectTypeOf(e).toEqualTypeOf()});it("works with non-integer positive literals",()=>{let e=r(10.5,t());expectTypeOf(e).toEqualTypeOf()});it("works with non-integer negative literals",()=>{let e=r(-10.5,t());expectTypeOf(e).toEqualTypeOf()});it("works with literal unions",()=>{let e=r(1,t());expectTypeOf(e).toEqualTypeOf()});it("could be 'disabled' with large literals",()=>{let e=r(1e4,t());expectTypeOf(e).toMatchTypeOf(),expectTypeOf(e[0]).toEqualTypeOf(),expectTypeOf(e[45]).toEqualTypeOf(),expectTypeOf(e[56]).toEqualTypeOf()});
|
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
import { EmptyObject, IsAny, Simplify, IsLiteral, IsNever, KeysOfUnion, IsStringLiteral, IsNumericLiteral, IsSymbolLiteral, Split, IfNever } from 'type-fest';
|
|
2
|
-
|
|
3
|
-
declare const __brand: unique symbol;
|
|
4
|
-
type Branded<T, Brand extends symbol> = T & {
|
|
5
|
-
[__brand]: Brand;
|
|
6
|
-
};
|
|
7
|
-
type NonEmptyArray<T> = [T, ...Array<T>];
|
|
8
|
-
type Mapped<T extends IterableContainer, K> = {
|
|
9
|
-
-readonly [P in keyof T]: K;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* This should only be used for defining generics which extend any kind of JS
|
|
13
|
-
* array under the hood, this includes arrays *AND* tuples (of the form [x, y],
|
|
14
|
-
* and of the form [x, ...y[]], etc...), and their readonly equivalent. This
|
|
15
|
-
* allows us to be more inclusive to what functions can process.
|
|
16
|
-
*
|
|
17
|
-
* @example map<T extends ArrayLike>(items: T) { ... }
|
|
18
|
-
*
|
|
19
|
-
* We would've named this `ArrayLike`, but that's already used by typescript...
|
|
20
|
-
* @see This was inspired by the type-definition of Promise.all (https://github.com/microsoft/TypeScript/blob/1df5717b120cddd325deab8b0f2b2c3eecaf2b01/src/lib/es2015.promise.d.ts#L21)
|
|
21
|
-
*/
|
|
22
|
-
type IterableContainer<T = unknown> = readonly [] | ReadonlyArray<T>;
|
|
23
|
-
/**
|
|
24
|
-
* Check if a type is guaranteed to be a bounded record: a record with a finite
|
|
25
|
-
* set of keys.
|
|
26
|
-
*
|
|
27
|
-
* @example
|
|
28
|
-
* IfBoundedRecord<{ a: 1, 1: "a" }>; //=> true
|
|
29
|
-
* IfBoundedRecord<Record<string | number, unknown>>; //=> false
|
|
30
|
-
* IfBoundedRecord<Record<`prefix_${number}`, unknown>>; //=> false
|
|
31
|
-
*/
|
|
32
|
-
type IfBoundedRecord<T, TypeIfBoundedRecord = true, TypeIfUnboundedRecord = false> = IsBoundedKey<KeysOfUnion<T>> extends true ? TypeIfBoundedRecord : TypeIfUnboundedRecord;
|
|
33
|
-
/**
|
|
34
|
-
* Checks if a type is a bounded key: a union of bounded strings, numeric
|
|
35
|
-
* literals, or symbol literals.
|
|
36
|
-
*/
|
|
37
|
-
type IsBoundedKey<T> = T extends unknown ? IsStringLiteral<T> extends true ? IsBoundedString<T> : IsNumericLiteral<T> extends true ? true : IsSymbolLiteral<T> : never;
|
|
38
|
-
/**
|
|
39
|
-
* Checks if a type is a bounded string: a type that only has a finite
|
|
40
|
-
* number of strings that are that type.
|
|
41
|
-
*
|
|
42
|
-
* Most relevant for template literals: IsBoundedString<`${1 | 2}_${3 | 4}`> is
|
|
43
|
-
* true, and IsBoundedString<`${1 | 2}_${number}`> is false.
|
|
44
|
-
*/
|
|
45
|
-
type IsBoundedString<T> = T extends string ? Split<T, ''>[number] extends infer U ? [
|
|
46
|
-
`${number}`
|
|
47
|
-
] extends [U] ? false : [string] extends [U] ? false : true : false : false;
|
|
48
|
-
/**
|
|
49
|
-
* A union of all keys of T which are not symbols, and where number keys are
|
|
50
|
-
* converted to strings, following the definition of `Object.keys` and
|
|
51
|
-
* `Object.entries`.
|
|
52
|
-
*
|
|
53
|
-
* Inspired and largely copied from [`sindresorhus/ts-extras`](https://github.com/sindresorhus/ts-extras/blob/44f57392c5f027268330771996c4fdf9260b22d6/source/object-keys.ts).
|
|
54
|
-
*
|
|
55
|
-
* @see EnumerableStringKeyedValueOf
|
|
56
|
-
*/
|
|
57
|
-
type EnumerableStringKeyOf<T> = Required<T> extends Record<infer K, unknown> ? `${Exclude<K, symbol>}` : never;
|
|
58
|
-
/**
|
|
59
|
-
* A union of all values of properties in T which are not keyed by a symbol,
|
|
60
|
-
* following the definition of `Object.values` and `Object.entries`.
|
|
61
|
-
*/
|
|
62
|
-
type EnumerableStringKeyedValueOf<T> = ValuesOf<{
|
|
63
|
-
[K in keyof T]-?: K extends symbol ? never : T[K];
|
|
64
|
-
}>;
|
|
65
|
-
/**
|
|
66
|
-
* Extracts the value type from an object type T.
|
|
67
|
-
*/
|
|
68
|
-
type ValuesOf<T> = T extends EmptyObject ? T[keyof T] : T extends Record<PropertyKey, infer V> ? V : never;
|
|
69
|
-
/**
|
|
70
|
-
* This is the type you'd get from doing:
|
|
71
|
-
* `Object.fromEntries(Object.entries(x))`.
|
|
72
|
-
*/
|
|
73
|
-
type ReconstructedRecord<T> = Record<EnumerableStringKeyOf<T>, EnumerableStringKeyedValueOf<T>>;
|
|
74
|
-
/**
|
|
75
|
-
* An extension of Extract for type predicates which falls back to the base
|
|
76
|
-
* in order to narrow the `unknown` case.
|
|
77
|
-
*
|
|
78
|
-
* @example
|
|
79
|
-
* function isMyType<T>(data: T | MyType): data is NarrowedTo<T, MyType> { ... }
|
|
80
|
-
*/
|
|
81
|
-
type NarrowedTo<T, Base> = Extract<T, Base> extends never ? Base : IsAny<T> extends true ? Base : Extract<T, Base>;
|
|
82
|
-
type ExactRecord<Key extends PropertyKey, Value> = IfBoundedRecord<Record<Key, Value>, Partial<Record<Key, Value>>, Record<Key, Value>>;
|
|
83
|
-
type ReorderedArray<T extends IterableContainer> = {
|
|
84
|
-
-readonly [P in keyof T]: T[number];
|
|
85
|
-
};
|
|
86
|
-
type UpsertProp<T, K extends PropertyKey, V> = Simplify<Omit<T, K> & (IsSingleLiteral<K> extends true ? {
|
|
87
|
-
-readonly [P in K]-?: V;
|
|
88
|
-
} : // The key is either a broad type (`string`) or union of literals
|
|
89
|
-
{
|
|
90
|
-
-readonly [P in keyof T as P extends K ? P : never]: T[P] | V;
|
|
91
|
-
} & {
|
|
92
|
-
-readonly [P in K as P extends keyof T ? never : P]?: V;
|
|
93
|
-
})>;
|
|
94
|
-
/**
|
|
95
|
-
* This type attempts to detect when a type is a single literal value
|
|
96
|
-
* (e.g. "cat"), and not anything else (e.g. "cat" | "dog", string, etc...)
|
|
97
|
-
*/
|
|
98
|
-
type IsSingleLiteral<K> = IsLiteral<K> extends true ? (IsUnion<K> extends true ? false : true) : false;
|
|
99
|
-
/**
|
|
100
|
-
* This is copied from type-fest because currently
|
|
101
|
-
* it isn't exported.
|
|
102
|
-
* TODO: Check whenever this type is exported.
|
|
103
|
-
*/
|
|
104
|
-
type IsUnion<T> = InternalIsUnion<T>;
|
|
105
|
-
type InternalIsUnion<T, U = T> = (IsNever<T> extends true ? false : T extends any ? [U] extends [T] ? false : true : never) extends infer Result ? boolean extends Result ? true : Result : never;
|
|
106
|
-
/**
|
|
107
|
-
* Extracts a type predicate from a type guard function for the first argument.
|
|
108
|
-
*
|
|
109
|
-
* @example
|
|
110
|
-
* type TypeGuardFn = (x: unknown) => x is string;
|
|
111
|
-
* type Result = GuardType<TypeGuardFn>; // `string`
|
|
112
|
-
*/
|
|
113
|
-
type GuardType<T, Fallback = never> = T extends (x: any, ...rest: any) => x is infer U ? U : Fallback;
|
|
114
|
-
/**
|
|
115
|
-
* An array with *exactly* N elements in it.
|
|
116
|
-
*
|
|
117
|
-
* Only literal N values are supported. For very large N the type might result
|
|
118
|
-
* in a recurse depth error. For negative N the type would result in an infinite
|
|
119
|
-
* recursion. None of these have protections because this is an internal type!
|
|
120
|
-
*/
|
|
121
|
-
type NTuple<T, N extends number, Result extends Array<unknown> = []> = Result['length'] extends N ? Result : NTuple<T, N, [...Result, T]>;
|
|
122
|
-
/**
|
|
123
|
-
* Takes an array and returns the types that make up it's parts. The suffix is
|
|
124
|
-
* anything before the rest parameter (if any), the prefix is anything after the
|
|
125
|
-
* rest parameter (if any), and the item is the type of the rest parameter.
|
|
126
|
-
*
|
|
127
|
-
* The output could be used to reconstruct the input: `[
|
|
128
|
-
* ...TupleParts<T>["prefix"],
|
|
129
|
-
* ...Array<TupleParts<T>["item"]>,
|
|
130
|
-
* ...TupleParts<T>["suffix"],
|
|
131
|
-
* ]`.
|
|
132
|
-
*/
|
|
133
|
-
type TupleParts<T, Prefix extends Array<unknown> = [], Suffix extends Array<unknown> = []> = T extends readonly [infer Head, ...infer Tail] ? TupleParts<Tail, [...Prefix, Head], Suffix> : T extends readonly [...infer Head, infer Tail] ? TupleParts<Head, Prefix, [Tail, ...Suffix]> : T extends ReadonlyArray<infer Item> ? {
|
|
134
|
-
prefix: Prefix;
|
|
135
|
-
item: Item;
|
|
136
|
-
suffix: Suffix;
|
|
137
|
-
} : never;
|
|
138
|
-
/**
|
|
139
|
-
* `never[]` and `[]` are not the same type, and in some cases they aren't
|
|
140
|
-
* interchangeable.
|
|
141
|
-
*
|
|
142
|
-
* This type makes it easier to use the result of TupleParts when the input is a
|
|
143
|
-
* fixed-length tuple but we still want to spread the rest of the array. e.g.
|
|
144
|
-
* `[...CoercedArray<TupleParts<T>["item"]>, ...TupleParts<T>["suffix"]]`.
|
|
145
|
-
*
|
|
146
|
-
*/
|
|
147
|
-
type CoercedArray<T> = IfNever<T, [], Array<T>>;
|
|
148
|
-
/**
|
|
149
|
-
* The result of running a function that would dedupe an array (`unique`,
|
|
150
|
-
* `uniqueBy`, and `uniqueWith`).
|
|
151
|
-
*
|
|
152
|
-
* There are certain traits of the output which are unique to a deduped array
|
|
153
|
-
* that allow us to create a better type; see comments inline.
|
|
154
|
-
*
|
|
155
|
-
* !Note: We can build better types for each of the unique functions
|
|
156
|
-
* _separately_ by taking advantage of _other_ characteristics that are unique
|
|
157
|
-
* to each one (e.g. in `unique` we know that each item that has a disjoint type
|
|
158
|
-
* to all previous items would be part of the output, even when it isn't the
|
|
159
|
-
* first), but to make this utility the most useful we kept it simple and
|
|
160
|
-
* generic for now.
|
|
161
|
-
*/
|
|
162
|
-
type Deduped<T extends IterableContainer> = T extends readonly [] ? [
|
|
163
|
-
] : T extends readonly [infer Head, ...infer Rest] ? [
|
|
164
|
-
Head,
|
|
165
|
-
...Array<Rest[number]>
|
|
166
|
-
] : T extends readonly [...Array<unknown>, unknown] ? NonEmptyArray<T[number]> : Array<T[number]>;
|
|
167
|
-
|
|
168
|
-
export type { Branded as B, CoercedArray as C, Deduped as D, EnumerableStringKeyedValueOf as E, GuardType as G, IterableContainer as I, Mapped as M, NTuple as N, ReconstructedRecord as R, TupleParts as T, UpsertProp as U, NonEmptyArray as a, EnumerableStringKeyOf as b, ExactRecord as c, NarrowedTo as d, IsUnion as e, IfBoundedRecord as f, ReorderedArray as g };
|