@vinicunca/perkakas 0.5.4 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/add-prop.cjs +1 -0
- package/dist/add-prop.d.cts +32 -0
- package/dist/add-prop.d.ts +32 -0
- package/dist/add-prop.js +1 -0
- package/dist/add.cjs +1 -0
- package/dist/add.d.cts +33 -0
- package/dist/add.d.ts +33 -0
- package/dist/add.js +1 -0
- package/dist/all-pass.cjs +1 -0
- package/dist/all-pass.d.cts +35 -0
- package/dist/all-pass.d.ts +35 -0
- package/dist/all-pass.js +1 -0
- package/dist/any-pass.cjs +1 -0
- package/dist/any-pass.d.cts +35 -0
- package/dist/any-pass.d.ts +35 -0
- package/dist/any-pass.js +1 -0
- package/dist/case.types-C6kHRY4f.d.cts +16 -0
- package/dist/case.types-C6kHRY4f.d.ts +16 -0
- package/dist/ceil.cjs +1 -0
- package/dist/ceil.d.cts +37 -0
- package/dist/ceil.d.ts +37 -0
- package/dist/ceil.js +1 -0
- package/dist/chunk-22S2LZ25.js +1 -0
- package/dist/chunk-2ETHJVG3.cjs +1 -0
- package/dist/chunk-2T576V7A.js +1 -0
- package/dist/chunk-3DPIEAUX.js +1 -0
- package/dist/chunk-3FYWJG4A.cjs +1 -0
- package/dist/chunk-3T7K3EKS.js +1 -0
- package/dist/chunk-3UUZWCRS.cjs +1 -0
- package/dist/chunk-3WCOFJCS.cjs +1 -0
- package/dist/chunk-3X6SAJDQ.cjs +1 -0
- package/dist/chunk-43F3C5SP.js +1 -0
- package/dist/chunk-442DWBIM.cjs +1 -0
- package/dist/chunk-47KOI7MW.cjs +1 -0
- package/dist/chunk-4AZGD6ZX.cjs +1 -0
- package/dist/chunk-4XRKXTOK.js +1 -0
- package/dist/chunk-4YJCXB4Y.js +1 -0
- package/dist/chunk-52GYNLEB.js +1 -0
- package/dist/chunk-5AIMRZXJ.cjs +1 -0
- package/dist/chunk-5HAUJEIR.js +1 -0
- package/dist/chunk-5ILJAWGC.js +1 -0
- package/dist/chunk-5KMAUZSO.js +1 -0
- package/dist/chunk-5KO77UXQ.cjs +1 -0
- package/dist/chunk-5NG5PDAH.js +1 -0
- package/dist/chunk-5UP2X3VY.cjs +1 -0
- package/dist/chunk-5XZK5BDM.js +1 -0
- package/dist/chunk-64KL2FA2.cjs +1 -0
- package/dist/chunk-65DHT5Z7.cjs +1 -0
- package/dist/chunk-66KQORMS.js +1 -0
- package/dist/chunk-6ALZHU2N.js +1 -0
- package/dist/chunk-6BKLAQWR.js +1 -0
- package/dist/chunk-6GVFMZ2X.js +1 -0
- package/dist/chunk-6SQ2YEMB.js +1 -0
- package/dist/chunk-6SYP2DRD.js +1 -0
- package/dist/chunk-6TRXWRYJ.cjs +1 -0
- package/dist/chunk-73BYESBE.js +1 -0
- package/dist/chunk-75K2QEB3.js +1 -0
- package/dist/chunk-7DDJ7DZF.js +1 -0
- package/dist/chunk-7EJQW5L6.cjs +1 -0
- package/dist/chunk-7EMQYM4A.js +1 -0
- package/dist/chunk-7H4T2OX5.js +1 -0
- package/dist/chunk-7IYJC2PM.cjs +1 -0
- package/dist/chunk-7JDXDFFQ.js +1 -0
- package/dist/chunk-7P7RJIIO.js +1 -0
- package/dist/chunk-7QAJO3GY.cjs +1 -0
- package/dist/chunk-7R7W43BD.js +1 -0
- package/dist/chunk-7RS2XXUG.cjs +1 -0
- package/dist/chunk-7SHZ4MGU.cjs +1 -0
- package/dist/chunk-7T4AVFYJ.cjs +1 -0
- package/dist/chunk-7UJXFFOU.js +1 -0
- package/dist/chunk-7XMQFPW7.cjs +1 -0
- package/dist/chunk-A535Z4LW.cjs +1 -0
- package/dist/chunk-A62OZTSJ.js +1 -0
- package/dist/chunk-A6WT2DZU.cjs +1 -0
- package/dist/chunk-AE5HI6VG.cjs +1 -0
- package/dist/chunk-AEN2DN32.js +1 -0
- package/dist/chunk-AZUJCNUP.js +1 -0
- package/dist/chunk-BF6VQFQK.js +1 -0
- package/dist/chunk-BGPRJNRQ.js +1 -0
- package/dist/chunk-BIAJ5KWR.cjs +1 -0
- package/dist/chunk-BQA4B5JX.js +1 -0
- package/dist/chunk-BRLENORL.js +1 -0
- package/dist/chunk-BVOCXV26.cjs +1 -0
- package/dist/chunk-BWJDD26T.cjs +1 -0
- package/dist/chunk-C27FZNUV.js +1 -0
- package/dist/chunk-C4EDF27A.js +1 -0
- package/dist/chunk-C6IMN7SF.js +1 -0
- package/dist/chunk-C6L5NLLB.js +1 -0
- package/dist/chunk-CGK7KN32.cjs +1 -0
- package/dist/chunk-CIF6WEFP.js +1 -0
- package/dist/chunk-CIZWCFSY.cjs +1 -0
- package/dist/chunk-COBRSP66.js +1 -0
- package/dist/chunk-CQQLWV2A.cjs +1 -0
- package/dist/chunk-CUJA7FM4.js +1 -0
- package/dist/chunk-CXRG2GSY.js +1 -0
- package/dist/chunk-CXZHGDSD.cjs +1 -0
- package/dist/chunk-CZLV6ZLZ.js +1 -0
- package/dist/chunk-D32D4HMP.cjs +1 -0
- package/dist/chunk-D5VBQ4IX.js +1 -0
- package/dist/chunk-D7G6PMA5.js +1 -0
- package/dist/chunk-DAFN5EJR.cjs +1 -0
- package/dist/chunk-DJ5DVLWD.cjs +1 -0
- package/dist/chunk-DNSXSQCO.js +1 -0
- package/dist/chunk-DUKQ2ODK.js +1 -0
- package/dist/chunk-DWPHE3F2.cjs +1 -0
- package/dist/chunk-E2NINCLI.js +1 -0
- package/dist/chunk-E6JSDI5S.cjs +1 -0
- package/dist/chunk-E6MBOCIC.cjs +1 -0
- package/dist/chunk-EAD7YDX3.cjs +1 -0
- package/dist/chunk-EDKMZBZ3.cjs +1 -0
- package/dist/chunk-EHJK4JRF.cjs +1 -0
- package/dist/chunk-EKYCE7XE.cjs +1 -0
- package/dist/chunk-EM2UX3KN.js +1 -0
- package/dist/chunk-ENIRKKU6.js +1 -0
- package/dist/chunk-ENPSKQUH.js +1 -0
- package/dist/chunk-EP626HCI.cjs +1 -0
- package/dist/chunk-EV7KEYHC.js +1 -0
- package/dist/chunk-F3EZ6NQM.js +1 -0
- package/dist/chunk-F7KW3CUF.js +1 -0
- package/dist/chunk-FFIQSVST.cjs +1 -0
- package/dist/chunk-FGVDZJ7U.js +1 -0
- package/dist/chunk-FKSROXF4.js +1 -0
- package/dist/chunk-FKWGRK76.js +1 -0
- package/dist/chunk-FNZCH7TN.cjs +1 -0
- package/dist/chunk-FQ3EXU24.js +1 -0
- package/dist/chunk-FWQYL4Y4.cjs +1 -0
- package/dist/chunk-FZCOVI2M.cjs +1 -0
- package/dist/chunk-G66EZBJS.cjs +1 -0
- package/dist/chunk-G6SFG3W4.cjs +1 -0
- package/dist/chunk-G73S4IVJ.js +1 -0
- package/dist/chunk-GGKOIUWC.cjs +1 -0
- package/dist/chunk-GIJKULXC.cjs +1 -0
- package/dist/chunk-GLAMUYBB.cjs +1 -0
- package/dist/chunk-GNEUT34M.cjs +1 -0
- package/dist/chunk-GNPFJJSC.cjs +1 -0
- package/dist/chunk-GPGITOFN.cjs +1 -0
- package/dist/chunk-GU2VTZ37.js +1 -0
- package/dist/chunk-GUZPDGVH.cjs +1 -0
- package/dist/chunk-GXVKH5OX.cjs +1 -0
- package/dist/chunk-H2E5GCCP.js +1 -0
- package/dist/chunk-H7YM6WEO.cjs +1 -0
- package/dist/chunk-HA5S5RKI.cjs +1 -0
- package/dist/chunk-HBZ5F2DD.cjs +1 -0
- package/dist/chunk-HC3HZK4Q.cjs +1 -0
- package/dist/chunk-HFNVS6OX.js +1 -0
- package/dist/chunk-HFZNXHUH.js +1 -0
- package/dist/chunk-HJO63NJC.cjs +1 -0
- package/dist/chunk-HL3QPU5J.cjs +1 -0
- package/dist/chunk-HLKCHMAO.js +1 -0
- package/dist/chunk-HLL46USD.js +1 -0
- package/dist/chunk-HQ2OH3WD.cjs +1 -0
- package/dist/chunk-HUWRVMPE.js +1 -0
- package/dist/chunk-I6VXEY44.cjs +1 -0
- package/dist/chunk-I7I54DAZ.cjs +1 -0
- package/dist/chunk-IA53O34Y.js +1 -0
- package/dist/chunk-IKXLQXFZ.js +1 -0
- package/dist/chunk-INAPFYB2.cjs +1 -0
- package/dist/chunk-IYUNRFZS.js +1 -0
- package/dist/chunk-IZZFU26S.cjs +1 -0
- package/dist/chunk-J2THP74P.cjs +1 -0
- package/dist/chunk-J3YPWVVQ.js +1 -0
- package/dist/chunk-J6L2AOTY.js +1 -0
- package/dist/chunk-JDWB2A3S.cjs +1 -0
- package/dist/chunk-JFXZ246Y.js +1 -0
- package/dist/chunk-JK22NVTR.js +1 -0
- package/dist/chunk-JL33LZPL.js +1 -0
- package/dist/chunk-JLRJ44YR.js +1 -0
- package/dist/chunk-JMS6POBO.cjs +1 -0
- package/dist/chunk-JNFB7I2A.js +1 -0
- package/dist/chunk-JRDQRETR.cjs +1 -0
- package/dist/chunk-JU4UCCME.js +1 -0
- package/dist/chunk-JWNYA3DD.cjs +1 -0
- package/dist/chunk-JXMWUSPN.cjs +1 -0
- package/dist/chunk-JXXXUJM5.js +1 -0
- package/dist/chunk-K2MIPOLQ.cjs +1 -0
- package/dist/chunk-KBGFDQ5T.cjs +1 -0
- package/dist/chunk-KCUIAELF.js +1 -0
- package/dist/chunk-KDSNKESQ.js +1 -0
- package/dist/chunk-KG2TAX4E.js +1 -0
- package/dist/chunk-KITVKWLP.cjs +1 -0
- package/dist/chunk-KJ42LLSJ.js +1 -0
- package/dist/chunk-KLQZU5J4.cjs +1 -0
- package/dist/chunk-KODMZU4J.cjs +1 -0
- package/dist/chunk-KQGY2DBY.js +1 -0
- package/dist/chunk-KTMLSQQ7.js +1 -0
- package/dist/chunk-L4KSN3W4.js +1 -0
- package/dist/chunk-L5AJZHZ7.js +1 -0
- package/dist/chunk-L5GWUR4G.js +1 -0
- package/dist/chunk-LG37S75J.js +1 -0
- package/dist/chunk-LHHGOIQC.js +1 -0
- package/dist/chunk-LIKMH7XD.js +1 -0
- package/dist/chunk-LIXAROKH.cjs +1 -0
- package/dist/chunk-LOPUNSWJ.js +1 -0
- package/dist/chunk-LSXNPOLD.js +1 -0
- package/dist/chunk-LWPEZ7RI.js +1 -0
- package/dist/chunk-LZOGCJPR.cjs +1 -0
- package/dist/chunk-MA4ZCOG3.js +1 -0
- package/dist/chunk-MBYBX5B3.js +1 -0
- package/dist/chunk-MENOHSYF.js +1 -0
- package/dist/chunk-MGDE5ISW.cjs +1 -0
- package/dist/chunk-MGT2JXCZ.cjs +1 -0
- package/dist/chunk-MKM3UJUV.js +1 -0
- package/dist/chunk-MLLA7SGZ.cjs +1 -0
- package/dist/chunk-MQ3SR4YO.cjs +1 -0
- package/dist/chunk-MQGR4WQQ.cjs +1 -0
- package/dist/chunk-MQH2LHSB.js +1 -0
- package/dist/chunk-MYLYERXO.js +1 -0
- package/dist/chunk-N2ZP6DKG.cjs +1 -0
- package/dist/chunk-N4656YGQ.cjs +1 -0
- package/dist/chunk-N4VSV73E.js +1 -0
- package/dist/chunk-NIYVDIEQ.cjs +1 -0
- package/dist/chunk-NLX7PGPI.cjs +1 -0
- package/dist/chunk-NM55NELV.cjs +1 -0
- package/dist/chunk-NNK6R67E.cjs +1 -0
- package/dist/chunk-NNU5DU4F.cjs +1 -0
- package/dist/chunk-NQR6HZYF.js +1 -0
- package/dist/chunk-NULDWRPD.cjs +1 -0
- package/dist/chunk-OFLOVIU2.cjs +1 -0
- package/dist/chunk-OLZEQGPJ.cjs +1 -0
- package/dist/chunk-ON6MMTUN.cjs +1 -0
- package/dist/chunk-OQ34Z5CL.cjs +1 -0
- package/dist/chunk-P3LGW6WA.js +1 -0
- package/dist/chunk-P7OXTPPH.cjs +1 -0
- package/dist/chunk-PH45KQNB.cjs +1 -0
- package/dist/chunk-PHKKU45J.js +1 -0
- package/dist/chunk-PHSDYGVD.cjs +1 -0
- package/dist/chunk-PKGL5JK6.js +1 -0
- package/dist/chunk-PL6B6X5G.js +1 -0
- package/dist/chunk-PNTFWNQB.cjs +1 -0
- package/dist/chunk-PSXTTF2V.js +1 -0
- package/dist/chunk-PU6FU2UB.cjs +1 -0
- package/dist/chunk-PWOIVNVI.js +1 -0
- package/dist/chunk-PX7U5WLN.cjs +1 -0
- package/dist/chunk-Q2HW4RVT.js +1 -0
- package/dist/chunk-Q4B5JNZS.cjs +1 -0
- package/dist/chunk-Q4GWEOZM.js +1 -0
- package/dist/chunk-QID4F4QT.js +1 -0
- package/dist/chunk-QIM2PMWS.js +1 -0
- package/dist/chunk-QIRZMNKN.cjs +1 -0
- package/dist/chunk-QIYBHLRA.js +1 -0
- package/dist/chunk-QPP664N4.js +1 -0
- package/dist/chunk-QQQIEYAH.js +1 -0
- package/dist/chunk-QRDGUNHT.js +1 -0
- package/dist/chunk-QTCQZ7LU.js +1 -0
- package/dist/chunk-QU5PCAYZ.js +1 -0
- package/dist/chunk-QUPOLS3D.cjs +1 -0
- package/dist/chunk-QVDYQ7ZE.cjs +1 -0
- package/dist/chunk-QWQ2V7HJ.cjs +1 -0
- package/dist/chunk-QYFACQ7P.cjs +1 -0
- package/dist/chunk-R22OILXQ.cjs +1 -0
- package/dist/chunk-R52BC2FH.cjs +1 -0
- package/dist/chunk-R5K7KY5K.js +1 -0
- package/dist/chunk-RBODUO3Q.js +1 -0
- package/dist/chunk-RF4ZO322.cjs +1 -0
- package/dist/chunk-RFHE6DOJ.js +1 -0
- package/dist/chunk-RSJJRJTH.cjs +1 -0
- package/dist/chunk-SDXTQQIO.js +1 -0
- package/dist/chunk-SME5FGMA.js +1 -0
- package/dist/chunk-SNQAZZSY.cjs +1 -0
- package/dist/chunk-SRZSHSZD.cjs +1 -0
- package/dist/chunk-SVOK32ZP.js +1 -0
- package/dist/chunk-SW62SX4Y.cjs +1 -0
- package/dist/chunk-SXTSJOEE.cjs +1 -0
- package/dist/chunk-T2LJNGWI.js +1 -0
- package/dist/chunk-T5XG33UI.js +1 -0
- package/dist/chunk-TA5NVANU.cjs +1 -0
- package/dist/chunk-TBMLJPXO.js +1 -0
- package/dist/chunk-TBXEXWSK.js +1 -0
- package/dist/chunk-TCGKEV4J.cjs +1 -0
- package/dist/chunk-TFN3JWPS.cjs +1 -0
- package/dist/chunk-TKJ7YEHS.cjs +1 -0
- package/dist/chunk-TL3ZHA7Y.cjs +1 -0
- package/dist/chunk-TR5T6KUC.js +1 -0
- package/dist/chunk-TT2VLICK.js +1 -0
- package/dist/chunk-TUZHNOSG.cjs +1 -0
- package/dist/chunk-U32YSACL.cjs +1 -0
- package/dist/chunk-U3OEHN5P.cjs +1 -0
- package/dist/chunk-U3YJZ66O.cjs +1 -0
- package/dist/chunk-U5EQP4BO.cjs +1 -0
- package/dist/chunk-UH3TDC4T.cjs +1 -0
- package/dist/chunk-UHUFGDIS.cjs +1 -0
- package/dist/chunk-UNG2JJTE.js +1 -0
- package/dist/chunk-UNKQWZT6.js +1 -0
- package/dist/chunk-UO2ELCGC.js +1 -0
- package/dist/chunk-USNHLUEU.js +1 -0
- package/dist/chunk-UTMQRL7N.cjs +1 -0
- package/dist/chunk-UYH64IBH.js +1 -0
- package/dist/chunk-UYLVIAK4.js +1 -0
- package/dist/chunk-VCZBVN24.cjs +1 -0
- package/dist/chunk-VD6VNORF.cjs +1 -0
- package/dist/chunk-VEG55EJ6.cjs +1 -0
- package/dist/chunk-VFU6P7NI.js +1 -0
- package/dist/chunk-VGZCX6HK.cjs +1 -0
- package/dist/chunk-VJMHXGZD.js +1 -0
- package/dist/chunk-VNLOBA2B.cjs +1 -0
- package/dist/chunk-VNU4MGEF.js +1 -0
- package/dist/chunk-VPHS3T3W.js +1 -0
- package/dist/chunk-VRZNQSZN.cjs +1 -0
- package/dist/chunk-WBJ2VSGC.cjs +1 -0
- package/dist/chunk-WFR3HBYR.cjs +1 -0
- package/dist/chunk-WLNQOMKL.cjs +1 -0
- package/dist/chunk-WM4KSO6C.cjs +1 -0
- package/dist/chunk-WNL2I2YK.cjs +1 -0
- package/dist/chunk-WNVLF6JY.cjs +1 -0
- package/dist/chunk-WPGWO7LA.cjs +1 -0
- package/dist/chunk-WUAU3LTQ.js +1 -0
- package/dist/chunk-WW7P3TAU.cjs +1 -0
- package/dist/chunk-X6AB3I7Z.cjs +1 -0
- package/dist/chunk-X7HV6BKN.js +1 -0
- package/dist/chunk-XJRGE7WL.cjs +1 -0
- package/dist/chunk-XOWF2B3H.js +1 -0
- package/dist/chunk-XQOKSJ5R.cjs +1 -0
- package/dist/chunk-XSSRBOMF.js +1 -0
- package/dist/chunk-XUEOOIR6.cjs +1 -0
- package/dist/chunk-XUU6IYML.js +1 -0
- package/dist/chunk-XWX4B5PF.js +1 -0
- package/dist/chunk-XXQWPQH3.cjs +1 -0
- package/dist/chunk-XXU2FTTA.cjs +1 -0
- package/dist/chunk-Y74ER22O.cjs +1 -0
- package/dist/chunk-Y7RFTHSR.cjs +1 -0
- package/dist/chunk-YBJMFRB6.js +1 -0
- package/dist/chunk-YD2H56BT.js +1 -0
- package/dist/chunk-YIUDV3OA.cjs +1 -0
- package/dist/chunk-YMNBZZDN.js +1 -0
- package/dist/chunk-YQKPA3BB.js +1 -0
- package/dist/chunk-YQTXLMPM.js +1 -0
- package/dist/chunk-YSTUBBOJ.cjs +1 -0
- package/dist/chunk-YTNT635N.js +1 -0
- package/dist/chunk-YTZNH65O.js +1 -0
- package/dist/chunk-YVGIOTPH.cjs +1 -0
- package/dist/chunk-YWO7TFOD.cjs +1 -0
- package/dist/chunk-YWSZXRUY.js +1 -0
- package/dist/chunk-YWTY4X2R.cjs +1 -0
- package/dist/chunk-Z42U7NBM.cjs +1 -0
- package/dist/chunk-Z7EBGO2B.js +1 -0
- package/dist/chunk-ZA4IP5S7.js +1 -0
- package/dist/chunk-ZBYQEJZV.cjs +1 -0
- package/dist/chunk-ZCCHYKDG.cjs +1 -0
- package/dist/chunk-ZCFTW5HO.cjs +1 -0
- package/dist/chunk-ZIF7K2PC.js +1 -0
- package/dist/chunk-ZSI3ZTMX.js +1 -0
- package/dist/chunk-ZUNMUNQT.js +1 -0
- package/dist/chunk-ZW3IUWYO.js +1 -0
- package/dist/chunk-ZX74SXNB.js +1 -0
- package/dist/chunk.cjs +1 -0
- package/dist/chunk.d.cts +33 -0
- package/dist/chunk.d.ts +33 -0
- package/dist/chunk.js +1 -0
- package/dist/clamp.cjs +1 -0
- package/dist/clamp.d.cts +39 -0
- package/dist/clamp.d.ts +39 -0
- package/dist/clamp.js +1 -0
- package/dist/clone.cjs +1 -0
- package/dist/clone.d.cts +27 -0
- package/dist/clone.d.ts +27 -0
- package/dist/clone.js +1 -0
- package/dist/concat.cjs +1 -0
- package/dist/concat.d.cts +39 -0
- package/dist/concat.d.ts +39 -0
- package/dist/concat.js +1 -0
- package/dist/conditional.cjs +1 -0
- package/dist/conditional.d.cts +121 -0
- package/dist/conditional.d.ts +121 -0
- package/dist/conditional.js +1 -0
- package/dist/constant.cjs +1 -0
- package/dist/constant.d.cts +30 -0
- package/dist/constant.d.ts +30 -0
- package/dist/constant.js +1 -0
- package/dist/curry-order-rules-BOMf1JS7.d.cts +37 -0
- package/dist/curry-order-rules-BOMf1JS7.d.ts +37 -0
- package/dist/curry.cjs +1 -0
- package/dist/curry.d.cts +44 -0
- package/dist/curry.d.ts +44 -0
- package/dist/curry.js +1 -0
- package/dist/debounce.cjs +1 -0
- package/dist/debounce.d.cts +94 -0
- package/dist/debounce.d.ts +94 -0
- package/dist/debounce.js +1 -0
- package/dist/difference-with.cjs +1 -0
- package/dist/difference-with.d.cts +46 -0
- package/dist/difference-with.d.ts +46 -0
- package/dist/difference-with.js +1 -0
- package/dist/difference.cjs +1 -0
- package/dist/difference.d.cts +35 -0
- package/dist/difference.d.ts +35 -0
- package/dist/difference.js +1 -0
- package/dist/divide.cjs +1 -0
- package/dist/divide.d.cts +31 -0
- package/dist/divide.d.ts +31 -0
- package/dist/divide.js +1 -0
- package/dist/do-nothing.cjs +1 -0
- package/dist/do-nothing.d.cts +26 -0
- package/dist/do-nothing.d.ts +26 -0
- package/dist/do-nothing.js +1 -0
- package/dist/drop-first-by.cjs +1 -0
- package/dist/drop-first-by.d.cts +39 -0
- package/dist/drop-first-by.d.ts +39 -0
- package/dist/drop-first-by.js +1 -0
- package/dist/drop-last-while.cjs +1 -0
- package/dist/drop-last-while.d.cts +31 -0
- package/dist/drop-last-while.d.ts +31 -0
- package/dist/drop-last-while.js +1 -0
- package/dist/drop-last.cjs +1 -0
- package/dist/drop-last.d.cts +27 -0
- package/dist/drop-last.d.ts +27 -0
- package/dist/drop-last.js +1 -0
- package/dist/drop-while.cjs +1 -0
- package/dist/drop-while.d.cts +31 -0
- package/dist/drop-while.d.ts +31 -0
- package/dist/drop-while.js +1 -0
- package/dist/drop.cjs +1 -0
- package/dist/drop.d.cts +29 -0
- package/dist/drop.d.ts +29 -0
- package/dist/drop.js +1 -0
- package/dist/entries.cjs +1 -0
- package/dist/entries.d.cts +31 -0
- package/dist/entries.d.ts +31 -0
- package/dist/entries.js +1 -0
- package/dist/evolve.cjs +1 -0
- package/dist/evolve.d.cts +103 -0
- package/dist/evolve.d.ts +103 -0
- package/dist/evolve.js +1 -0
- package/dist/filter.cjs +1 -0
- package/dist/filter.d.cts +43 -0
- package/dist/filter.d.ts +43 -0
- package/dist/filter.js +1 -0
- package/dist/find-index.cjs +1 -0
- package/dist/find-index.d.cts +48 -0
- package/dist/find-index.d.ts +48 -0
- package/dist/find-index.js +1 -0
- package/dist/find-last-index.cjs +1 -0
- package/dist/find-last-index.d.cts +48 -0
- package/dist/find-last-index.d.ts +48 -0
- package/dist/find-last-index.js +1 -0
- package/dist/find-last.cjs +1 -0
- package/dist/find-last.d.cts +60 -0
- package/dist/find-last.d.ts +60 -0
- package/dist/find-last.js +1 -0
- package/dist/find.cjs +1 -0
- package/dist/find.d.cts +62 -0
- package/dist/find.d.ts +62 -0
- package/dist/find.js +1 -0
- package/dist/first-by.cjs +1 -0
- package/dist/first-by.d.cts +58 -0
- package/dist/first-by.d.ts +58 -0
- package/dist/first-by.js +1 -0
- package/dist/first.cjs +1 -0
- package/dist/first.d.cts +39 -0
- package/dist/first.d.ts +39 -0
- package/dist/first.js +1 -0
- package/dist/flat-map.cjs +1 -0
- package/dist/flat-map.d.cts +45 -0
- package/dist/flat-map.d.ts +45 -0
- package/dist/flat-map.js +1 -0
- package/dist/flat.cjs +1 -0
- package/dist/flat.d.cts +61 -0
- package/dist/flat.d.ts +61 -0
- package/dist/flat.js +1 -0
- package/dist/floor.cjs +1 -0
- package/dist/floor.d.cts +37 -0
- package/dist/floor.d.ts +37 -0
- package/dist/floor.js +1 -0
- package/dist/for-each-obj.cjs +1 -0
- package/dist/for-each-obj.d.cts +44 -0
- package/dist/for-each-obj.d.ts +44 -0
- package/dist/for-each-obj.js +1 -0
- package/dist/for-each.cjs +1 -0
- package/dist/for-each.d.cts +51 -0
- package/dist/for-each.d.ts +51 -0
- package/dist/for-each.js +1 -0
- package/dist/from-entries.cjs +1 -0
- package/dist/from-entries.d.cts +72 -0
- package/dist/from-entries.d.ts +72 -0
- package/dist/from-entries.js +1 -0
- package/dist/from-keys.cjs +1 -0
- package/dist/from-keys.d.cts +59 -0
- package/dist/from-keys.d.ts +59 -0
- package/dist/from-keys.js +1 -0
- package/dist/group-by.cjs +1 -0
- package/dist/group-by.d.cts +56 -0
- package/dist/group-by.d.ts +56 -0
- package/dist/group-by.js +1 -0
- package/dist/has-at-least.cjs +1 -0
- package/dist/has-at-least.d.cts +68 -0
- package/dist/has-at-least.d.ts +68 -0
- package/dist/has-at-least.js +1 -0
- package/dist/has-sub-object.cjs +1 -0
- package/dist/has-sub-object.d.cts +55 -0
- package/dist/has-sub-object.d.ts +55 -0
- package/dist/has-sub-object.js +1 -0
- package/dist/human-readable-file-size.cjs +1 -0
- package/dist/human-readable-file-size.d.cts +14 -0
- package/dist/human-readable-file-size.d.ts +14 -0
- package/dist/human-readable-file-size.js +1 -0
- package/dist/identity.cjs +1 -0
- package/dist/identity.d.cts +20 -0
- package/dist/identity.d.ts +20 -0
- package/dist/identity.js +1 -0
- package/dist/index-by.cjs +1 -0
- package/dist/index-by.d.cts +51 -0
- package/dist/index-by.d.ts +51 -0
- package/dist/index-by.js +1 -0
- package/dist/index.cjs +1 -2285
- package/dist/index.d.cts +156 -5989
- package/dist/index.d.ts +156 -5989
- package/dist/index.js +1 -0
- package/dist/intersection-with.cjs +1 -0
- package/dist/intersection-with.d.cts +52 -0
- package/dist/intersection-with.d.ts +52 -0
- package/dist/intersection-with.js +1 -0
- package/dist/intersection.cjs +1 -0
- package/dist/intersection.d.cts +35 -0
- package/dist/intersection.d.ts +35 -0
- package/dist/intersection.js +1 -0
- package/dist/invert.cjs +1 -0
- package/dist/invert.d.cts +32 -0
- package/dist/invert.d.ts +32 -0
- package/dist/invert.js +1 -0
- package/dist/is-array.cjs +1 -0
- package/dist/is-array.d.cts +19 -0
- package/dist/is-array.d.ts +19 -0
- package/dist/is-array.js +1 -0
- package/dist/is-big-int.cjs +1 -0
- package/dist/is-big-int.d.cts +20 -0
- package/dist/is-big-int.d.ts +20 -0
- package/dist/is-big-int.js +1 -0
- package/dist/is-boolean.cjs +1 -0
- package/dist/is-boolean.d.cts +19 -0
- package/dist/is-boolean.d.ts +19 -0
- package/dist/is-boolean.js +1 -0
- package/dist/is-date.cjs +1 -0
- package/dist/is-date.d.cts +15 -0
- package/dist/is-date.d.ts +15 -0
- package/dist/is-date.js +1 -0
- package/dist/is-deep-equal.cjs +1 -0
- package/dist/is-deep-equal.d.cts +53 -0
- package/dist/is-deep-equal.d.ts +53 -0
- package/dist/is-deep-equal.js +1 -0
- package/dist/is-defined.cjs +1 -0
- package/dist/is-defined.d.cts +17 -0
- package/dist/is-defined.d.ts +17 -0
- package/dist/is-defined.js +1 -0
- package/dist/is-empty.cjs +1 -0
- package/dist/is-empty.d.cts +33 -0
- package/dist/is-empty.d.ts +33 -0
- package/dist/is-empty.js +1 -0
- package/dist/is-error.cjs +1 -0
- package/dist/is-error.d.cts +16 -0
- package/dist/is-error.d.ts +16 -0
- package/dist/is-error.js +1 -0
- package/dist/is-function.cjs +1 -0
- package/dist/is-function.d.cts +16 -0
- package/dist/is-function.d.ts +16 -0
- package/dist/is-function.js +1 -0
- package/dist/is-included-in.cjs +1 -0
- package/dist/is-included-in.d.cts +106 -0
- package/dist/is-included-in.d.ts +106 -0
- package/dist/is-included-in.js +1 -0
- package/dist/is-non-null.cjs +1 -0
- package/dist/is-non-null.d.cts +17 -0
- package/dist/is-non-null.d.ts +17 -0
- package/dist/is-non-null.js +1 -0
- package/dist/is-non-nullish.cjs +1 -0
- package/dist/is-non-nullish.d.cts +18 -0
- package/dist/is-non-nullish.d.ts +18 -0
- package/dist/is-non-nullish.js +1 -0
- package/dist/is-not.cjs +1 -0
- package/dist/is-not.d.cts +17 -0
- package/dist/is-not.d.ts +17 -0
- package/dist/is-not.js +1 -0
- package/dist/is-nullish.cjs +1 -0
- package/dist/is-nullish.d.cts +21 -0
- package/dist/is-nullish.d.ts +21 -0
- package/dist/is-nullish.js +1 -0
- package/dist/is-number.cjs +1 -0
- package/dist/is-number.d.cts +20 -0
- package/dist/is-number.d.ts +20 -0
- package/dist/is-number.js +1 -0
- package/dist/is-object-type.cjs +1 -0
- package/dist/is-object-type.d.cts +31 -0
- package/dist/is-object-type.d.ts +31 -0
- package/dist/is-object-type.js +1 -0
- package/dist/is-plain-object.cjs +1 -0
- package/dist/is-plain-object.d.cts +31 -0
- package/dist/is-plain-object.d.ts +31 -0
- package/dist/is-plain-object.js +1 -0
- package/dist/is-promise.cjs +1 -0
- package/dist/is-promise.d.cts +16 -0
- package/dist/is-promise.d.ts +16 -0
- package/dist/is-promise.js +1 -0
- package/dist/is-string.cjs +1 -0
- package/dist/is-string.d.cts +18 -0
- package/dist/is-string.d.ts +18 -0
- package/dist/is-string.js +1 -0
- package/dist/is-symbol.cjs +1 -0
- package/dist/is-symbol.d.cts +18 -0
- package/dist/is-symbol.d.ts +18 -0
- package/dist/is-symbol.js +1 -0
- package/dist/is-truthy.cjs +1 -0
- package/dist/is-truthy.d.cts +19 -0
- package/dist/is-truthy.d.ts +19 -0
- package/dist/is-truthy.js +1 -0
- package/dist/join.cjs +1 -0
- package/dist/join.d.cts +44 -0
- package/dist/join.d.ts +44 -0
- package/dist/join.js +1 -0
- package/dist/key-codes.cjs +1 -0
- package/dist/key-codes.d.cts +27 -0
- package/dist/key-codes.d.ts +27 -0
- package/dist/key-codes.js +1 -0
- package/dist/keys.cjs +1 -0
- package/dist/keys.d.cts +37 -0
- package/dist/keys.d.ts +37 -0
- package/dist/keys.js +1 -0
- package/dist/last.cjs +1 -0
- package/dist/last.d.cts +35 -0
- package/dist/last.d.ts +35 -0
- package/dist/last.js +1 -0
- package/dist/length.cjs +1 -0
- package/dist/length.d.cts +26 -0
- package/dist/length.d.ts +26 -0
- package/dist/length.js +1 -0
- package/dist/map-keys.cjs +1 -0
- package/dist/map-keys.d.cts +30 -0
- package/dist/map-keys.d.ts +30 -0
- package/dist/map-keys.js +1 -0
- package/dist/map-to-obj.cjs +1 -0
- package/dist/map-to-obj.d.cts +48 -0
- package/dist/map-to-obj.d.ts +48 -0
- package/dist/map-to-obj.js +1 -0
- package/dist/map-values.cjs +1 -0
- package/dist/map-values.d.cts +41 -0
- package/dist/map-values.d.ts +41 -0
- package/dist/map-values.js +1 -0
- package/dist/map-with-feedback.cjs +1 -0
- package/dist/map-with-feedback.d.cts +51 -0
- package/dist/map-with-feedback.d.ts +51 -0
- package/dist/map-with-feedback.js +1 -0
- package/dist/map.cjs +1 -0
- package/dist/map.d.cts +44 -0
- package/dist/map.d.ts +44 -0
- package/dist/map.js +1 -0
- package/dist/mean-by.cjs +1 -0
- package/dist/mean-by.d.cts +33 -0
- package/dist/mean-by.d.ts +33 -0
- package/dist/mean-by.js +1 -0
- package/dist/merge-all.cjs +1 -0
- package/dist/merge-all.d.cts +18 -0
- package/dist/merge-all.d.ts +18 -0
- package/dist/merge-all.js +1 -0
- package/dist/merge-deep.cjs +1 -0
- package/dist/merge-deep.d.cts +34 -0
- package/dist/merge-deep.d.ts +34 -0
- package/dist/merge-deep.js +1 -0
- package/dist/merge.cjs +1 -0
- package/dist/merge.d.cts +54 -0
- package/dist/merge.d.ts +54 -0
- package/dist/merge.js +1 -0
- package/dist/multiply.cjs +1 -0
- package/dist/multiply.d.cts +31 -0
- package/dist/multiply.d.ts +31 -0
- package/dist/multiply.js +1 -0
- package/dist/nth-by.cjs +1 -0
- package/dist/nth-by.d.cts +39 -0
- package/dist/nth-by.d.ts +39 -0
- package/dist/nth-by.js +1 -0
- package/dist/obj-of.cjs +1 -0
- package/dist/obj-of.d.cts +29 -0
- package/dist/obj-of.d.ts +29 -0
- package/dist/obj-of.js +1 -0
- package/dist/omit-by.cjs +1 -0
- package/dist/omit-by.d.cts +56 -0
- package/dist/omit-by.d.ts +56 -0
- package/dist/omit-by.js +1 -0
- package/dist/omit.cjs +1 -0
- package/dist/omit.d.cts +27 -0
- package/dist/omit.d.ts +27 -0
- package/dist/omit.js +1 -0
- package/dist/once.cjs +1 -0
- package/dist/once.d.cts +15 -0
- package/dist/once.d.ts +15 -0
- package/dist/once.js +1 -0
- package/dist/only.cjs +1 -0
- package/dist/only.d.cts +33 -0
- package/dist/only.d.ts +33 -0
- package/dist/only.js +1 -0
- package/dist/partition.cjs +1 -0
- package/dist/partition.d.cts +49 -0
- package/dist/partition.d.ts +49 -0
- package/dist/partition.js +1 -0
- package/dist/path-or.cjs +1 -0
- package/dist/path-or.d.cts +79 -0
- package/dist/path-or.d.ts +79 -0
- package/dist/path-or.js +1 -0
- package/dist/pick-by.cjs +1 -0
- package/dist/pick-by.d.cts +70 -0
- package/dist/pick-by.d.ts +70 -0
- package/dist/pick-by.js +1 -0
- package/dist/pick.cjs +1 -0
- package/dist/pick.d.cts +25 -0
- package/dist/pick.d.ts +25 -0
- package/dist/pick.js +1 -0
- package/dist/pipe.cjs +1 -0
- package/dist/pipe.d.cts +60 -0
- package/dist/pipe.d.ts +60 -0
- package/dist/pipe.js +1 -0
- package/dist/piped.cjs +1 -0
- package/dist/piped.d.cts +29 -0
- package/dist/piped.d.ts +29 -0
- package/dist/piped.js +1 -0
- package/dist/product.cjs +1 -0
- package/dist/product.d.cts +51 -0
- package/dist/product.d.ts +51 -0
- package/dist/product.js +1 -0
- package/dist/prop.cjs +1 -0
- package/dist/prop.d.cts +28 -0
- package/dist/prop.d.ts +28 -0
- package/dist/prop.js +1 -0
- package/dist/pull-object.cjs +1 -0
- package/dist/pull-object.d.cts +67 -0
- package/dist/pull-object.d.ts +67 -0
- package/dist/pull-object.js +1 -0
- package/dist/random-string.cjs +1 -0
- package/dist/random-string.d.cts +27 -0
- package/dist/random-string.d.ts +27 -0
- package/dist/random-string.js +1 -0
- package/dist/range.cjs +1 -0
- package/dist/range.d.cts +25 -0
- package/dist/range.d.ts +25 -0
- package/dist/range.js +1 -0
- package/dist/rank-by.cjs +1 -0
- package/dist/rank-by.d.cts +43 -0
- package/dist/rank-by.d.ts +43 -0
- package/dist/rank-by.js +1 -0
- package/dist/reduce.cjs +1 -0
- package/dist/reduce.d.cts +51 -0
- package/dist/reduce.d.ts +51 -0
- package/dist/reduce.js +1 -0
- package/dist/reverse.cjs +1 -0
- package/dist/reverse.d.cts +27 -0
- package/dist/reverse.d.ts +27 -0
- package/dist/reverse.js +1 -0
- package/dist/round.cjs +1 -0
- package/dist/round.d.cts +37 -0
- package/dist/round.d.ts +37 -0
- package/dist/round.js +1 -0
- package/dist/sample.cjs +1 -0
- package/dist/sample.d.cts +54 -0
- package/dist/sample.d.ts +54 -0
- package/dist/sample.js +1 -0
- package/dist/set-path.cjs +1 -0
- package/dist/set-path.d.cts +40 -0
- package/dist/set-path.d.ts +40 -0
- package/dist/set-path.js +1 -0
- package/dist/set.cjs +1 -0
- package/dist/set.d.cts +38 -0
- package/dist/set.d.ts +38 -0
- package/dist/set.js +1 -0
- package/dist/shuffle.cjs +1 -0
- package/dist/shuffle.d.cts +25 -0
- package/dist/shuffle.d.ts +25 -0
- package/dist/shuffle.js +1 -0
- package/dist/sleep.cjs +1 -0
- package/dist/sleep.d.cts +14 -0
- package/dist/sleep.d.ts +14 -0
- package/dist/sleep.js +1 -0
- package/dist/slice-string.cjs +1 -0
- package/dist/slice-string.d.cts +39 -0
- package/dist/slice-string.d.ts +39 -0
- package/dist/slice-string.js +1 -0
- package/dist/slugify.cjs +1 -0
- package/dist/slugify.d.cts +13 -0
- package/dist/slugify.d.ts +13 -0
- package/dist/slugify.js +1 -0
- package/dist/sort-by.cjs +1 -0
- package/dist/sort-by.d.cts +84 -0
- package/dist/sort-by.d.ts +84 -0
- package/dist/sort-by.js +1 -0
- package/dist/sort.cjs +1 -0
- package/dist/sort.d.cts +36 -0
- package/dist/sort.d.ts +36 -0
- package/dist/sort.js +1 -0
- package/dist/sorted-index-by.cjs +1 -0
- package/dist/sorted-index-by.d.cts +68 -0
- package/dist/sorted-index-by.d.ts +68 -0
- package/dist/sorted-index-by.js +1 -0
- package/dist/sorted-index-with.cjs +1 -0
- package/dist/sorted-index-with.d.cts +70 -0
- package/dist/sorted-index-with.d.ts +70 -0
- package/dist/sorted-index-with.js +1 -0
- package/dist/sorted-index.cjs +1 -0
- package/dist/sorted-index.d.cts +43 -0
- package/dist/sorted-index.d.ts +43 -0
- package/dist/sorted-index.js +1 -0
- package/dist/sorted-last-index-by.cjs +1 -0
- package/dist/sorted-last-index-by.d.cts +70 -0
- package/dist/sorted-last-index-by.d.ts +70 -0
- package/dist/sorted-last-index-by.js +1 -0
- package/dist/sorted-last-index.cjs +1 -0
- package/dist/sorted-last-index.d.cts +43 -0
- package/dist/sorted-last-index.d.ts +43 -0
- package/dist/sorted-last-index.js +1 -0
- package/dist/splice.cjs +1 -0
- package/dist/splice.d.cts +33 -0
- package/dist/splice.d.ts +33 -0
- package/dist/splice.js +1 -0
- package/dist/split-at.cjs +1 -0
- package/dist/split-at.d.cts +29 -0
- package/dist/split-at.d.ts +29 -0
- package/dist/split-at.js +1 -0
- package/dist/split-when.cjs +1 -0
- package/dist/split-when.d.cts +27 -0
- package/dist/split-when.d.ts +27 -0
- package/dist/split-when.js +1 -0
- package/dist/split.cjs +1 -0
- package/dist/split.d.cts +60 -0
- package/dist/split.d.ts +60 -0
- package/dist/split.js +1 -0
- package/dist/string-to-path.cjs +1 -0
- package/dist/string-to-path.d.cts +22 -0
- package/dist/string-to-path.d.ts +22 -0
- package/dist/string-to-path.js +1 -0
- package/dist/subtract.cjs +1 -0
- package/dist/subtract.d.cts +33 -0
- package/dist/subtract.d.ts +33 -0
- package/dist/subtract.js +1 -0
- package/dist/sum-by.cjs +1 -0
- package/dist/sum-by.d.cts +33 -0
- package/dist/sum-by.d.ts +33 -0
- package/dist/sum-by.js +1 -0
- package/dist/sum.cjs +1 -0
- package/dist/sum.d.cts +49 -0
- package/dist/sum.d.ts +49 -0
- package/dist/sum.js +1 -0
- package/dist/swap-indices.cjs +1 -0
- package/dist/swap-indices.d.cts +64 -0
- package/dist/swap-indices.d.ts +64 -0
- package/dist/swap-indices.js +1 -0
- package/dist/swap-props.cjs +1 -0
- package/dist/swap-props.d.cts +34 -0
- package/dist/swap-props.d.ts +34 -0
- package/dist/swap-props.js +1 -0
- package/dist/take-first-by.cjs +1 -0
- package/dist/take-first-by.d.cts +39 -0
- package/dist/take-first-by.d.ts +39 -0
- package/dist/take-first-by.js +1 -0
- package/dist/take-last-while.cjs +1 -0
- package/dist/take-last-while.d.cts +29 -0
- package/dist/take-last-while.d.ts +29 -0
- package/dist/take-last-while.js +1 -0
- package/dist/take-last.cjs +1 -0
- package/dist/take-last.d.cts +27 -0
- package/dist/take-last.d.ts +27 -0
- package/dist/take-last.js +1 -0
- package/dist/take-while.cjs +1 -0
- package/dist/take-while.d.cts +27 -0
- package/dist/take-while.d.ts +27 -0
- package/dist/take-while.js +1 -0
- package/dist/take.cjs +1 -0
- package/dist/take.d.cts +29 -0
- package/dist/take.d.ts +29 -0
- package/dist/take.js +1 -0
- package/dist/tap.cjs +1 -0
- package/dist/tap.d.cts +40 -0
- package/dist/tap.d.ts +40 -0
- package/dist/tap.js +1 -0
- package/dist/times.cjs +1 -0
- package/dist/times.d.cts +36 -0
- package/dist/times.d.ts +36 -0
- package/dist/times.js +1 -0
- package/dist/to-camel-case.cjs +1 -0
- package/dist/to-camel-case.d.cts +29 -0
- package/dist/to-camel-case.d.ts +29 -0
- package/dist/to-camel-case.js +1 -0
- package/dist/to-capital-case.cjs +1 -0
- package/dist/to-capital-case.d.cts +28 -0
- package/dist/to-capital-case.d.ts +28 -0
- package/dist/to-capital-case.js +1 -0
- package/dist/to-constant-case.cjs +1 -0
- package/dist/to-constant-case.d.cts +28 -0
- package/dist/to-constant-case.d.ts +28 -0
- package/dist/to-constant-case.js +1 -0
- package/dist/to-kebab-case.cjs +1 -0
- package/dist/to-kebab-case.d.cts +28 -0
- package/dist/to-kebab-case.d.ts +28 -0
- package/dist/to-kebab-case.js +1 -0
- package/dist/to-no-case.cjs +1 -0
- package/dist/to-no-case.d.cts +28 -0
- package/dist/to-no-case.d.ts +28 -0
- package/dist/to-no-case.js +1 -0
- package/dist/to-pascal-case.cjs +1 -0
- package/dist/to-pascal-case.d.cts +29 -0
- package/dist/to-pascal-case.d.ts +29 -0
- package/dist/to-pascal-case.js +1 -0
- package/dist/to-pascal-snake-case.cjs +1 -0
- package/dist/to-pascal-snake-case.d.cts +28 -0
- package/dist/to-pascal-snake-case.d.ts +28 -0
- package/dist/to-pascal-snake-case.js +1 -0
- package/dist/to-sentence-case.cjs +1 -0
- package/dist/to-sentence-case.d.cts +28 -0
- package/dist/to-sentence-case.d.ts +28 -0
- package/dist/to-sentence-case.js +1 -0
- package/dist/to-snake-case.cjs +1 -0
- package/dist/to-snake-case.d.cts +28 -0
- package/dist/to-snake-case.d.ts +28 -0
- package/dist/to-snake-case.js +1 -0
- package/dist/to-train-case.cjs +1 -0
- package/dist/to-train-case.d.cts +28 -0
- package/dist/to-train-case.d.ts +28 -0
- package/dist/to-train-case.js +1 -0
- package/dist/types-BMu1PIvo.d.cts +115 -0
- package/dist/types-BMu1PIvo.d.ts +115 -0
- package/dist/unique-by.cjs +1 -0
- package/dist/unique-by.d.cts +38 -0
- package/dist/unique-by.d.ts +38 -0
- package/dist/unique-by.js +1 -0
- package/dist/unique-with.cjs +1 -0
- package/dist/unique-with.d.cts +41 -0
- package/dist/unique-with.d.ts +41 -0
- package/dist/unique-with.js +1 -0
- package/dist/unique.cjs +1 -0
- package/dist/unique.d.cts +33 -0
- package/dist/unique.d.ts +33 -0
- package/dist/unique.js +1 -0
- package/dist/values.cjs +1 -0
- package/dist/values.d.cts +36 -0
- package/dist/values.d.ts +36 -0
- package/dist/values.js +1 -0
- package/dist/zip-with.cjs +1 -0
- package/dist/zip-with.d.cts +49 -0
- package/dist/zip-with.d.ts +49 -0
- package/dist/zip-with.js +1 -0
- package/dist/zip.cjs +1 -0
- package/dist/zip.d.cts +43 -0
- package/dist/zip.d.ts +43 -0
- package/dist/zip.js +1 -0
- package/package.json +25 -32
- package/dist/index.d.mts +0 -5992
- package/dist/index.mjs +0 -2146
- package/dist/metadata.json +0 -51145
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { MergeDeep } from 'type-fest';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Merges the `source` object into the `destination` object. The merge is similar to performing `{ ...destination, ... source }` (where disjoint values from each object would be copied as-is, and for any overlapping props the value from `source` would be used); But for *each prop* (`p`), if **both** `destination` and `source` have a **plain-object** as a value, the value would be taken as the result of recursively deepMerging them (`result.p === deepMerge(destination.p, source.p)`).
|
|
5
|
+
*
|
|
6
|
+
* @param destination - The object to merge into. In general, this object would have it's values overridden.
|
|
7
|
+
* @param source - The object to merge from. In general, shared keys would be taken from this object.
|
|
8
|
+
* @returns The merged object.
|
|
9
|
+
* @signature
|
|
10
|
+
* P.mergeDeep(destination, source)
|
|
11
|
+
* @example
|
|
12
|
+
* P.mergeDeep({ foo: 'bar', x: 1 }, { foo: 'baz', y: 2 }) // => { foo: 'baz', x: 1, y: 2 }
|
|
13
|
+
* @dataFirst
|
|
14
|
+
* @category Object
|
|
15
|
+
*/
|
|
16
|
+
declare function mergeDeep<Destination extends Record<string, unknown>, Source extends Record<string, unknown>>(destination: Destination, source: Source): MergeDeep<Destination, Source>;
|
|
17
|
+
/**
|
|
18
|
+
* Merges the `source` object into the `destination` object. The merge is similar to performing `{ ...destination, ... source }` (where disjoint values from each object would be copied as-is, and for any overlapping props the value from `source` would be used); But for *each prop* (`p`), if **both** `destination` and `source` have a **plain-object** as a value, the value would be taken as the result of recursively deepMerging them (`result.p === deepMerge(destination.p, source.p)`).
|
|
19
|
+
*
|
|
20
|
+
* @param source - The object to merge from. In general, shared keys would be taken from this object.
|
|
21
|
+
* @returns The merged object.
|
|
22
|
+
* @signature
|
|
23
|
+
* P.mergeDeep(source)(destination)
|
|
24
|
+
* @example
|
|
25
|
+
* P.pipe(
|
|
26
|
+
* { foo: 'bar', x: 1 },
|
|
27
|
+
* P.mergeDeep({ foo: 'baz', y: 2 }),
|
|
28
|
+
* ); // => { foo: 'baz', x: 1, y: 2 }
|
|
29
|
+
* @dataLast
|
|
30
|
+
* @category Object
|
|
31
|
+
*/
|
|
32
|
+
declare function mergeDeep<Destination extends Record<string, unknown>, Source extends Record<string, unknown>>(source: Source): (target: Destination) => MergeDeep<Destination, Source>;
|
|
33
|
+
|
|
34
|
+
export { mergeDeep };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { MergeDeep } from 'type-fest';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Merges the `source` object into the `destination` object. The merge is similar to performing `{ ...destination, ... source }` (where disjoint values from each object would be copied as-is, and for any overlapping props the value from `source` would be used); But for *each prop* (`p`), if **both** `destination` and `source` have a **plain-object** as a value, the value would be taken as the result of recursively deepMerging them (`result.p === deepMerge(destination.p, source.p)`).
|
|
5
|
+
*
|
|
6
|
+
* @param destination - The object to merge into. In general, this object would have it's values overridden.
|
|
7
|
+
* @param source - The object to merge from. In general, shared keys would be taken from this object.
|
|
8
|
+
* @returns The merged object.
|
|
9
|
+
* @signature
|
|
10
|
+
* P.mergeDeep(destination, source)
|
|
11
|
+
* @example
|
|
12
|
+
* P.mergeDeep({ foo: 'bar', x: 1 }, { foo: 'baz', y: 2 }) // => { foo: 'baz', x: 1, y: 2 }
|
|
13
|
+
* @dataFirst
|
|
14
|
+
* @category Object
|
|
15
|
+
*/
|
|
16
|
+
declare function mergeDeep<Destination extends Record<string, unknown>, Source extends Record<string, unknown>>(destination: Destination, source: Source): MergeDeep<Destination, Source>;
|
|
17
|
+
/**
|
|
18
|
+
* Merges the `source` object into the `destination` object. The merge is similar to performing `{ ...destination, ... source }` (where disjoint values from each object would be copied as-is, and for any overlapping props the value from `source` would be used); But for *each prop* (`p`), if **both** `destination` and `source` have a **plain-object** as a value, the value would be taken as the result of recursively deepMerging them (`result.p === deepMerge(destination.p, source.p)`).
|
|
19
|
+
*
|
|
20
|
+
* @param source - The object to merge from. In general, shared keys would be taken from this object.
|
|
21
|
+
* @returns The merged object.
|
|
22
|
+
* @signature
|
|
23
|
+
* P.mergeDeep(source)(destination)
|
|
24
|
+
* @example
|
|
25
|
+
* P.pipe(
|
|
26
|
+
* { foo: 'bar', x: 1 },
|
|
27
|
+
* P.mergeDeep({ foo: 'baz', y: 2 }),
|
|
28
|
+
* ); // => { foo: 'baz', x: 1, y: 2 }
|
|
29
|
+
* @dataLast
|
|
30
|
+
* @category Object
|
|
31
|
+
*/
|
|
32
|
+
declare function mergeDeep<Destination extends Record<string, unknown>, Source extends Record<string, unknown>>(source: Source): (target: Destination) => MergeDeep<Destination, Source>;
|
|
33
|
+
|
|
34
|
+
export { mergeDeep };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-QIYBHLRA.js";import"./chunk-HLL46USD.js";import"./chunk-JFXZ246Y.js";import"./chunk-KQGY2DBY.js";export{a as mergeDeep};
|
package/dist/merge.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkCXZHGDSDcjs = require('./chunk-CXZHGDSD.cjs');require('./chunk-Y74ER22O.cjs');require('./chunk-7T4AVFYJ.cjs');exports.merge = _chunkCXZHGDSDcjs.a;
|
package/dist/merge.d.cts
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { Merge } from 'type-fest';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Merges two objects into one by combining their properties, effectively
|
|
5
|
+
* creating a new object that incorporates elements from both. The merge
|
|
6
|
+
* operation prioritizes the second object's properties, allowing them to
|
|
7
|
+
* overwrite those from the first object with the same names.
|
|
8
|
+
*
|
|
9
|
+
* Equivalent to `{ ...data, ...source }`.
|
|
10
|
+
*
|
|
11
|
+
* @param data - The destination object, serving as the basis for the merge.
|
|
12
|
+
* Properties from this object are included in the new object, but will be
|
|
13
|
+
* overwritten by properties from the source object with matching keys.
|
|
14
|
+
* @param source - The source object, whose properties will be included in the
|
|
15
|
+
* new object. If properties in this object share keys with properties in the
|
|
16
|
+
* destination object, the values from the source object will be used in the
|
|
17
|
+
* new object.
|
|
18
|
+
* @returns An object fully containing `source`, and any properties from `data`
|
|
19
|
+
* that don't share a name with any property in `source`.
|
|
20
|
+
* @signature
|
|
21
|
+
* P.merge(data, source)
|
|
22
|
+
* @example
|
|
23
|
+
* P.merge({ x: 1, y: 2 }, { y: 10, z: 2 }) // => { x: 1, y: 10, z: 2 }
|
|
24
|
+
* @dataFirst
|
|
25
|
+
* @category Object
|
|
26
|
+
*/
|
|
27
|
+
declare function merge<T, Source>(data: T, source: Source): Merge<T, Source>;
|
|
28
|
+
/**
|
|
29
|
+
* Merges two objects into one by combining their properties, effectively
|
|
30
|
+
* creating a new object that incorporates elements from both. The merge
|
|
31
|
+
* operation prioritizes the second object's properties, allowing them to
|
|
32
|
+
* overwrite those from the first object with the same names.
|
|
33
|
+
*
|
|
34
|
+
* Equivalent to `{ ...data, ...source }`.
|
|
35
|
+
*
|
|
36
|
+
* @param source - The source object, whose properties will be included in the
|
|
37
|
+
* new object. If properties in this object share keys with properties in the
|
|
38
|
+
* destination object, the values from the source object will be used in the
|
|
39
|
+
* new object.
|
|
40
|
+
* @returns An object fully containing `source`, and any properties from `data`
|
|
41
|
+
* that don't share a name with any property in `source`.
|
|
42
|
+
* @signature
|
|
43
|
+
* P.merge(source)(data)
|
|
44
|
+
* @example
|
|
45
|
+
* P.pipe(
|
|
46
|
+
* { x: 1, y: 2 },
|
|
47
|
+
* P.merge({ y: 10, z: 2 }),
|
|
48
|
+
* ); // => { x: 1, y: 10, z: 2 }
|
|
49
|
+
* @dataLast
|
|
50
|
+
* @category Object
|
|
51
|
+
*/
|
|
52
|
+
declare function merge<Source>(source: Source): <T>(data: T) => Merge<T, Source>;
|
|
53
|
+
|
|
54
|
+
export { merge };
|
package/dist/merge.d.ts
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { Merge } from 'type-fest';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Merges two objects into one by combining their properties, effectively
|
|
5
|
+
* creating a new object that incorporates elements from both. The merge
|
|
6
|
+
* operation prioritizes the second object's properties, allowing them to
|
|
7
|
+
* overwrite those from the first object with the same names.
|
|
8
|
+
*
|
|
9
|
+
* Equivalent to `{ ...data, ...source }`.
|
|
10
|
+
*
|
|
11
|
+
* @param data - The destination object, serving as the basis for the merge.
|
|
12
|
+
* Properties from this object are included in the new object, but will be
|
|
13
|
+
* overwritten by properties from the source object with matching keys.
|
|
14
|
+
* @param source - The source object, whose properties will be included in the
|
|
15
|
+
* new object. If properties in this object share keys with properties in the
|
|
16
|
+
* destination object, the values from the source object will be used in the
|
|
17
|
+
* new object.
|
|
18
|
+
* @returns An object fully containing `source`, and any properties from `data`
|
|
19
|
+
* that don't share a name with any property in `source`.
|
|
20
|
+
* @signature
|
|
21
|
+
* P.merge(data, source)
|
|
22
|
+
* @example
|
|
23
|
+
* P.merge({ x: 1, y: 2 }, { y: 10, z: 2 }) // => { x: 1, y: 10, z: 2 }
|
|
24
|
+
* @dataFirst
|
|
25
|
+
* @category Object
|
|
26
|
+
*/
|
|
27
|
+
declare function merge<T, Source>(data: T, source: Source): Merge<T, Source>;
|
|
28
|
+
/**
|
|
29
|
+
* Merges two objects into one by combining their properties, effectively
|
|
30
|
+
* creating a new object that incorporates elements from both. The merge
|
|
31
|
+
* operation prioritizes the second object's properties, allowing them to
|
|
32
|
+
* overwrite those from the first object with the same names.
|
|
33
|
+
*
|
|
34
|
+
* Equivalent to `{ ...data, ...source }`.
|
|
35
|
+
*
|
|
36
|
+
* @param source - The source object, whose properties will be included in the
|
|
37
|
+
* new object. If properties in this object share keys with properties in the
|
|
38
|
+
* destination object, the values from the source object will be used in the
|
|
39
|
+
* new object.
|
|
40
|
+
* @returns An object fully containing `source`, and any properties from `data`
|
|
41
|
+
* that don't share a name with any property in `source`.
|
|
42
|
+
* @signature
|
|
43
|
+
* P.merge(source)(data)
|
|
44
|
+
* @example
|
|
45
|
+
* P.pipe(
|
|
46
|
+
* { x: 1, y: 2 },
|
|
47
|
+
* P.merge({ y: 10, z: 2 }),
|
|
48
|
+
* ); // => { x: 1, y: 10, z: 2 }
|
|
49
|
+
* @dataLast
|
|
50
|
+
* @category Object
|
|
51
|
+
*/
|
|
52
|
+
declare function merge<Source>(source: Source): <T>(data: T) => Merge<T, Source>;
|
|
53
|
+
|
|
54
|
+
export { merge };
|
package/dist/merge.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-5HAUJEIR.js";import"./chunk-JFXZ246Y.js";import"./chunk-KQGY2DBY.js";export{a as merge};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkKLQZU5J4cjs = require('./chunk-KLQZU5J4.cjs');require('./chunk-Y74ER22O.cjs');require('./chunk-7T4AVFYJ.cjs');exports.multiply = _chunkKLQZU5J4cjs.a;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Multiplies two numbers.
|
|
3
|
+
*
|
|
4
|
+
* @param value - The number.
|
|
5
|
+
* @param multiplicand - The number to multiply the value by.
|
|
6
|
+
* @signature
|
|
7
|
+
* P.multiply(value, multiplicand);
|
|
8
|
+
* @example
|
|
9
|
+
* P.multiply(3, 4) // => 12
|
|
10
|
+
* P.reduce([1, 2, 3, 4], P.multiply, 1) // => 24
|
|
11
|
+
* @dataFirst
|
|
12
|
+
* @category Number
|
|
13
|
+
*/
|
|
14
|
+
declare function multiply(value: bigint, multiplicand: bigint): bigint;
|
|
15
|
+
declare function multiply(value: number, multiplicand: number): number;
|
|
16
|
+
/**
|
|
17
|
+
* Multiplies two numbers.
|
|
18
|
+
*
|
|
19
|
+
* @param multiplicand - The number to multiply the value by.
|
|
20
|
+
* @signature
|
|
21
|
+
* P.multiply(multiplicand)(value);
|
|
22
|
+
* @example
|
|
23
|
+
* P.multiply(4)(3) // => 12
|
|
24
|
+
* P.map([1, 2, 3, 4], P.multiply(2)) // => [2, 4, 6, 8]
|
|
25
|
+
* @dataLast
|
|
26
|
+
* @category Number
|
|
27
|
+
*/
|
|
28
|
+
declare function multiply(multiplicand: bigint): (value: bigint) => bigint;
|
|
29
|
+
declare function multiply(multiplicand: number): (value: number) => number;
|
|
30
|
+
|
|
31
|
+
export { multiply };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Multiplies two numbers.
|
|
3
|
+
*
|
|
4
|
+
* @param value - The number.
|
|
5
|
+
* @param multiplicand - The number to multiply the value by.
|
|
6
|
+
* @signature
|
|
7
|
+
* P.multiply(value, multiplicand);
|
|
8
|
+
* @example
|
|
9
|
+
* P.multiply(3, 4) // => 12
|
|
10
|
+
* P.reduce([1, 2, 3, 4], P.multiply, 1) // => 24
|
|
11
|
+
* @dataFirst
|
|
12
|
+
* @category Number
|
|
13
|
+
*/
|
|
14
|
+
declare function multiply(value: bigint, multiplicand: bigint): bigint;
|
|
15
|
+
declare function multiply(value: number, multiplicand: number): number;
|
|
16
|
+
/**
|
|
17
|
+
* Multiplies two numbers.
|
|
18
|
+
*
|
|
19
|
+
* @param multiplicand - The number to multiply the value by.
|
|
20
|
+
* @signature
|
|
21
|
+
* P.multiply(multiplicand)(value);
|
|
22
|
+
* @example
|
|
23
|
+
* P.multiply(4)(3) // => 12
|
|
24
|
+
* P.map([1, 2, 3, 4], P.multiply(2)) // => [2, 4, 6, 8]
|
|
25
|
+
* @dataLast
|
|
26
|
+
* @category Number
|
|
27
|
+
*/
|
|
28
|
+
declare function multiply(multiplicand: bigint): (value: bigint) => bigint;
|
|
29
|
+
declare function multiply(multiplicand: number): (value: number) => number;
|
|
30
|
+
|
|
31
|
+
export { multiply };
|
package/dist/multiply.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-MBYBX5B3.js";import"./chunk-JFXZ246Y.js";import"./chunk-KQGY2DBY.js";export{a as multiply};
|
package/dist/nth-by.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk5UP2X3VYcjs = require('./chunk-5UP2X3VY.cjs');require('./chunk-5KO77UXQ.cjs');require('./chunk-FWQYL4Y4.cjs');exports.nthBy = _chunk5UP2X3VYcjs.a;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { I as IterableContainer, N as NonEmptyArray } from './types-BMu1PIvo.cjs';
|
|
2
|
+
import { O as OrderRule } from './curry-order-rules-BOMf1JS7.cjs';
|
|
3
|
+
import 'type-fest';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Retrieves the element that would be at the given index if the array were sorted according to specified rules. This function uses the *QuickSelect* algorithm running at an average complexity of *O(n)*. Semantically it is equivalent to `sortBy(data, ...rules).at(index)` which would run at *O(nlogn)*.
|
|
7
|
+
*
|
|
8
|
+
* See also `firstBy` which provides an even more efficient algorithm and a stricter return type, but only for `index === 0`. See `takeFirstBy` to get all the elements up to and including `index`.
|
|
9
|
+
*
|
|
10
|
+
* @param data - The input array.
|
|
11
|
+
* @param index - The zero-based index for selecting the element in the sorted order. Negative indices count backwards from the end.
|
|
12
|
+
* @param rules - A variadic array of order rules defining the sorting criteria. Each order rule is a projection function that extracts a comparable value from the data. Sorting is based on these extracted values using the native `<` and `>` operators. Earlier rules take precedence over later ones. Use the syntax `[projection, "desc"]` for descending order.
|
|
13
|
+
* @returns The element at the specified index in the sorted order, or `undefined` if the index is out of bounds.
|
|
14
|
+
* @signature
|
|
15
|
+
* P.nthBy(data, index, ...rules);
|
|
16
|
+
* @example
|
|
17
|
+
* P.nthBy([2,1,4,5,3,], 2, identity()); // => 3
|
|
18
|
+
* @dataFirst
|
|
19
|
+
* @category Array
|
|
20
|
+
*/
|
|
21
|
+
declare function nthBy<T extends IterableContainer>(data: T, index: number, ...rules: Readonly<NonEmptyArray<OrderRule<T[number]>>>): T[number] | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* Retrieves the element that would be at the given index if the array were sorted according to specified rules. This function uses the *QuickSelect* algorithm running at an average complexity of *O(n)*. Semantically it is equivalent to `sortBy(data, ...rules)[index]` which would run at *O(nlogn)*.
|
|
24
|
+
*
|
|
25
|
+
* See also `firstBy` which provides an even more efficient algorithm and a stricter return type, but only for `index === 0`. See `takeFirstBy` to get all the elements up to and including `index`.
|
|
26
|
+
*
|
|
27
|
+
* @param index - The zero-based index for selecting the element in the sorted order. Negative indices count backwards from the end.
|
|
28
|
+
* @param rules - A variadic array of order rules defining the sorting criteria. Each order rule is a projection function that extracts a comparable value from the data. Sorting is based on these extracted values using the native `<` and `>` operators. Earlier rules take precedence over later ones. Use the syntax `[projection, "desc"]` for descending order.
|
|
29
|
+
* @returns The element at the specified index in the sorted order, or `undefined` if the index is out of bounds.
|
|
30
|
+
* @signature
|
|
31
|
+
* P.nthBy(index, ...rules)(data);
|
|
32
|
+
* @example
|
|
33
|
+
* P.pipe([2,1,4,5,3,], P.nthBy(2, identity())); // => 3
|
|
34
|
+
* @dataLast
|
|
35
|
+
* @category Array
|
|
36
|
+
*/
|
|
37
|
+
declare function nthBy<T extends IterableContainer>(index: number, ...rules: Readonly<NonEmptyArray<OrderRule<T[number]>>>): (data: T) => T[number] | undefined;
|
|
38
|
+
|
|
39
|
+
export { nthBy };
|
package/dist/nth-by.d.ts
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { I as IterableContainer, N as NonEmptyArray } from './types-BMu1PIvo.js';
|
|
2
|
+
import { O as OrderRule } from './curry-order-rules-BOMf1JS7.js';
|
|
3
|
+
import 'type-fest';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Retrieves the element that would be at the given index if the array were sorted according to specified rules. This function uses the *QuickSelect* algorithm running at an average complexity of *O(n)*. Semantically it is equivalent to `sortBy(data, ...rules).at(index)` which would run at *O(nlogn)*.
|
|
7
|
+
*
|
|
8
|
+
* See also `firstBy` which provides an even more efficient algorithm and a stricter return type, but only for `index === 0`. See `takeFirstBy` to get all the elements up to and including `index`.
|
|
9
|
+
*
|
|
10
|
+
* @param data - The input array.
|
|
11
|
+
* @param index - The zero-based index for selecting the element in the sorted order. Negative indices count backwards from the end.
|
|
12
|
+
* @param rules - A variadic array of order rules defining the sorting criteria. Each order rule is a projection function that extracts a comparable value from the data. Sorting is based on these extracted values using the native `<` and `>` operators. Earlier rules take precedence over later ones. Use the syntax `[projection, "desc"]` for descending order.
|
|
13
|
+
* @returns The element at the specified index in the sorted order, or `undefined` if the index is out of bounds.
|
|
14
|
+
* @signature
|
|
15
|
+
* P.nthBy(data, index, ...rules);
|
|
16
|
+
* @example
|
|
17
|
+
* P.nthBy([2,1,4,5,3,], 2, identity()); // => 3
|
|
18
|
+
* @dataFirst
|
|
19
|
+
* @category Array
|
|
20
|
+
*/
|
|
21
|
+
declare function nthBy<T extends IterableContainer>(data: T, index: number, ...rules: Readonly<NonEmptyArray<OrderRule<T[number]>>>): T[number] | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* Retrieves the element that would be at the given index if the array were sorted according to specified rules. This function uses the *QuickSelect* algorithm running at an average complexity of *O(n)*. Semantically it is equivalent to `sortBy(data, ...rules)[index]` which would run at *O(nlogn)*.
|
|
24
|
+
*
|
|
25
|
+
* See also `firstBy` which provides an even more efficient algorithm and a stricter return type, but only for `index === 0`. See `takeFirstBy` to get all the elements up to and including `index`.
|
|
26
|
+
*
|
|
27
|
+
* @param index - The zero-based index for selecting the element in the sorted order. Negative indices count backwards from the end.
|
|
28
|
+
* @param rules - A variadic array of order rules defining the sorting criteria. Each order rule is a projection function that extracts a comparable value from the data. Sorting is based on these extracted values using the native `<` and `>` operators. Earlier rules take precedence over later ones. Use the syntax `[projection, "desc"]` for descending order.
|
|
29
|
+
* @returns The element at the specified index in the sorted order, or `undefined` if the index is out of bounds.
|
|
30
|
+
* @signature
|
|
31
|
+
* P.nthBy(index, ...rules)(data);
|
|
32
|
+
* @example
|
|
33
|
+
* P.pipe([2,1,4,5,3,], P.nthBy(2, identity())); // => 3
|
|
34
|
+
* @dataLast
|
|
35
|
+
* @category Array
|
|
36
|
+
*/
|
|
37
|
+
declare function nthBy<T extends IterableContainer>(index: number, ...rules: Readonly<NonEmptyArray<OrderRule<T[number]>>>): (data: T) => T[number] | undefined;
|
|
38
|
+
|
|
39
|
+
export { nthBy };
|
package/dist/nth-by.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-3DPIEAUX.js";import"./chunk-UYH64IBH.js";import"./chunk-JXXXUJM5.js";export{a as nthBy};
|
package/dist/obj-of.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkVGZCX6HKcjs = require('./chunk-VGZCX6HK.cjs');require('./chunk-Y74ER22O.cjs');require('./chunk-7T4AVFYJ.cjs');exports.objOf = _chunkVGZCX6HKcjs.a;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Creates an object containing a single `key:value` pair.
|
|
3
|
+
*
|
|
4
|
+
* @param value - The object value.
|
|
5
|
+
* @param key - The property name.
|
|
6
|
+
* @signature
|
|
7
|
+
* P.objOf(value, key)
|
|
8
|
+
* @example
|
|
9
|
+
* P.objOf(10, 'a') // => { a: 10 }
|
|
10
|
+
* @category Object
|
|
11
|
+
*/
|
|
12
|
+
declare function objOf<T, K extends string>(value: T, key: K): {
|
|
13
|
+
[x in K]: T;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Creates an object containing a single `key:value` pair.
|
|
17
|
+
*
|
|
18
|
+
* @param key - The property name.
|
|
19
|
+
* @signature
|
|
20
|
+
* P.objOf(key)(value)
|
|
21
|
+
* @example
|
|
22
|
+
* P.pipe(10, P.objOf('a')) // => { a: 10 }
|
|
23
|
+
* @category Object
|
|
24
|
+
*/
|
|
25
|
+
declare function objOf<T, K extends string>(key: K): (value: T) => {
|
|
26
|
+
[x in K]: T;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export { objOf };
|
package/dist/obj-of.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Creates an object containing a single `key:value` pair.
|
|
3
|
+
*
|
|
4
|
+
* @param value - The object value.
|
|
5
|
+
* @param key - The property name.
|
|
6
|
+
* @signature
|
|
7
|
+
* P.objOf(value, key)
|
|
8
|
+
* @example
|
|
9
|
+
* P.objOf(10, 'a') // => { a: 10 }
|
|
10
|
+
* @category Object
|
|
11
|
+
*/
|
|
12
|
+
declare function objOf<T, K extends string>(value: T, key: K): {
|
|
13
|
+
[x in K]: T;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Creates an object containing a single `key:value` pair.
|
|
17
|
+
*
|
|
18
|
+
* @param key - The property name.
|
|
19
|
+
* @signature
|
|
20
|
+
* P.objOf(key)(value)
|
|
21
|
+
* @example
|
|
22
|
+
* P.pipe(10, P.objOf('a')) // => { a: 10 }
|
|
23
|
+
* @category Object
|
|
24
|
+
*/
|
|
25
|
+
declare function objOf<T, K extends string>(key: K): (value: T) => {
|
|
26
|
+
[x in K]: T;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export { objOf };
|
package/dist/obj-of.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-UNG2JJTE.js";import"./chunk-JFXZ246Y.js";import"./chunk-KQGY2DBY.js";export{a as objOf};
|
package/dist/omit-by.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkCIZWCFSYcjs = require('./chunk-CIZWCFSY.cjs');require('./chunk-Y74ER22O.cjs');require('./chunk-7T4AVFYJ.cjs');exports.omitBy = _chunkCIZWCFSYcjs.a;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { Simplify, IfNever } from 'type-fest';
|
|
2
|
+
import { E as EnumerableStringKeyedValueOf, a as EnumerableStringKeyOf, e as IfBoundedRecord, R as ReconstructedRecord } from './types-BMu1PIvo.cjs';
|
|
3
|
+
|
|
4
|
+
type PickSymbolKeys<T extends object> = {
|
|
5
|
+
-readonly [P in keyof T as P extends symbol ? P : never]: T[P];
|
|
6
|
+
};
|
|
7
|
+
type PartialEnumerableKeys<T extends object> = T extends unknown ? Simplify<IfBoundedRecord<T, PickSymbolKeys<T> & {
|
|
8
|
+
-readonly [P in keyof T as P extends symbol ? never : P]?: Required<T>[P];
|
|
9
|
+
}, ReconstructedRecord<T>>> : never;
|
|
10
|
+
type PartialEnumerableKeysNarrowed<T extends object, S> = Simplify<ExactProps<T, S> & PartialProps<T, S> & PickSymbolKeys<T>>;
|
|
11
|
+
type ExactProps<T, S> = {
|
|
12
|
+
-readonly [P in keyof T as IsExactProp<T, P, S> extends true ? P : never]: Exclude<T[P], S>;
|
|
13
|
+
};
|
|
14
|
+
type PartialProps<T, S> = {
|
|
15
|
+
-readonly [P in keyof T as IsPartialProp<T, P, S> extends true ? P : never]?: Exclude<T[P], S>;
|
|
16
|
+
};
|
|
17
|
+
type IsExactProp<T, P extends keyof T, S> = P extends symbol ? false : T[P] extends Exclude<T[P], S> ? S extends T[P] ? false : true : false;
|
|
18
|
+
type IsPartialProp<T, P extends keyof T, S> = P extends symbol ? false : IsExactProp<T, P, S> extends true ? false : IfNever<Exclude<Required<T>[P], S>, false, true>;
|
|
19
|
+
/**
|
|
20
|
+
* Creates a shallow copy of the data, and then removes any keys that the
|
|
21
|
+
* predicate rejects. Symbol keys are not passed to the predicate and would be
|
|
22
|
+
* passed through to the output as-is.
|
|
23
|
+
*
|
|
24
|
+
* See `pickBy` for a complementary function which starts with an empty object
|
|
25
|
+
* and adds the entries that the predicate accepts. Because it is additive,
|
|
26
|
+
* symbol keys will not be passed through to the output object.
|
|
27
|
+
*
|
|
28
|
+
* @param data - The target object.
|
|
29
|
+
* @param predicate - A function that takes the value, key, and the data itself
|
|
30
|
+
* and returns `true` if the entry shouldn't be part of the output object, or
|
|
31
|
+
* `false` to keep it. If the function is a type-guard on the value the output
|
|
32
|
+
* type would be narrowed accordingly.
|
|
33
|
+
* @returns A shallow copy of the input object with the rejected entries
|
|
34
|
+
* removed.
|
|
35
|
+
* @signature P.omitBy(data, predicate)
|
|
36
|
+
* @example
|
|
37
|
+
* P.omitBy({a: 1, b: 2, A: 3, B: 4}, (val, key) => key.toUpperCase() === key) // => {a: 1, b: 2}
|
|
38
|
+
* @dataFirst
|
|
39
|
+
* @category Object
|
|
40
|
+
*/
|
|
41
|
+
declare function omitBy<T extends object, S extends EnumerableStringKeyedValueOf<T>>(data: T, predicate: (value: EnumerableStringKeyedValueOf<T>, key: EnumerableStringKeyOf<T>, data: T) => value is S): PartialEnumerableKeysNarrowed<T, S>;
|
|
42
|
+
declare function omitBy<T extends object>(data: T, predicate: (value: EnumerableStringKeyedValueOf<T>, key: EnumerableStringKeyOf<T>, data: T) => boolean): PartialEnumerableKeys<T>;
|
|
43
|
+
/**
|
|
44
|
+
* Returns a partial copy of an object omitting the keys matching predicate.
|
|
45
|
+
*
|
|
46
|
+
* @param predicate - The predicate.
|
|
47
|
+
* @signature P.omitBy(fn)(object)
|
|
48
|
+
* @example
|
|
49
|
+
* P.omitBy((val, key) => key.toUpperCase() === key)({a: 1, b: 2, A: 3, B: 4}) // => {a: 1, b: 2}
|
|
50
|
+
* @dataLast
|
|
51
|
+
* @category Object
|
|
52
|
+
*/
|
|
53
|
+
declare function omitBy<T extends object, S extends EnumerableStringKeyedValueOf<T>>(predicate: (value: EnumerableStringKeyedValueOf<T>, key: EnumerableStringKeyOf<T>, data: T) => value is S): (data: T) => PartialEnumerableKeysNarrowed<T, S>;
|
|
54
|
+
declare function omitBy<T extends object>(predicate: (value: EnumerableStringKeyedValueOf<T>, key: EnumerableStringKeyOf<T>, data: T) => boolean): (data: T) => PartialEnumerableKeys<T>;
|
|
55
|
+
|
|
56
|
+
export { omitBy };
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { Simplify, IfNever } from 'type-fest';
|
|
2
|
+
import { E as EnumerableStringKeyedValueOf, a as EnumerableStringKeyOf, e as IfBoundedRecord, R as ReconstructedRecord } from './types-BMu1PIvo.js';
|
|
3
|
+
|
|
4
|
+
type PickSymbolKeys<T extends object> = {
|
|
5
|
+
-readonly [P in keyof T as P extends symbol ? P : never]: T[P];
|
|
6
|
+
};
|
|
7
|
+
type PartialEnumerableKeys<T extends object> = T extends unknown ? Simplify<IfBoundedRecord<T, PickSymbolKeys<T> & {
|
|
8
|
+
-readonly [P in keyof T as P extends symbol ? never : P]?: Required<T>[P];
|
|
9
|
+
}, ReconstructedRecord<T>>> : never;
|
|
10
|
+
type PartialEnumerableKeysNarrowed<T extends object, S> = Simplify<ExactProps<T, S> & PartialProps<T, S> & PickSymbolKeys<T>>;
|
|
11
|
+
type ExactProps<T, S> = {
|
|
12
|
+
-readonly [P in keyof T as IsExactProp<T, P, S> extends true ? P : never]: Exclude<T[P], S>;
|
|
13
|
+
};
|
|
14
|
+
type PartialProps<T, S> = {
|
|
15
|
+
-readonly [P in keyof T as IsPartialProp<T, P, S> extends true ? P : never]?: Exclude<T[P], S>;
|
|
16
|
+
};
|
|
17
|
+
type IsExactProp<T, P extends keyof T, S> = P extends symbol ? false : T[P] extends Exclude<T[P], S> ? S extends T[P] ? false : true : false;
|
|
18
|
+
type IsPartialProp<T, P extends keyof T, S> = P extends symbol ? false : IsExactProp<T, P, S> extends true ? false : IfNever<Exclude<Required<T>[P], S>, false, true>;
|
|
19
|
+
/**
|
|
20
|
+
* Creates a shallow copy of the data, and then removes any keys that the
|
|
21
|
+
* predicate rejects. Symbol keys are not passed to the predicate and would be
|
|
22
|
+
* passed through to the output as-is.
|
|
23
|
+
*
|
|
24
|
+
* See `pickBy` for a complementary function which starts with an empty object
|
|
25
|
+
* and adds the entries that the predicate accepts. Because it is additive,
|
|
26
|
+
* symbol keys will not be passed through to the output object.
|
|
27
|
+
*
|
|
28
|
+
* @param data - The target object.
|
|
29
|
+
* @param predicate - A function that takes the value, key, and the data itself
|
|
30
|
+
* and returns `true` if the entry shouldn't be part of the output object, or
|
|
31
|
+
* `false` to keep it. If the function is a type-guard on the value the output
|
|
32
|
+
* type would be narrowed accordingly.
|
|
33
|
+
* @returns A shallow copy of the input object with the rejected entries
|
|
34
|
+
* removed.
|
|
35
|
+
* @signature P.omitBy(data, predicate)
|
|
36
|
+
* @example
|
|
37
|
+
* P.omitBy({a: 1, b: 2, A: 3, B: 4}, (val, key) => key.toUpperCase() === key) // => {a: 1, b: 2}
|
|
38
|
+
* @dataFirst
|
|
39
|
+
* @category Object
|
|
40
|
+
*/
|
|
41
|
+
declare function omitBy<T extends object, S extends EnumerableStringKeyedValueOf<T>>(data: T, predicate: (value: EnumerableStringKeyedValueOf<T>, key: EnumerableStringKeyOf<T>, data: T) => value is S): PartialEnumerableKeysNarrowed<T, S>;
|
|
42
|
+
declare function omitBy<T extends object>(data: T, predicate: (value: EnumerableStringKeyedValueOf<T>, key: EnumerableStringKeyOf<T>, data: T) => boolean): PartialEnumerableKeys<T>;
|
|
43
|
+
/**
|
|
44
|
+
* Returns a partial copy of an object omitting the keys matching predicate.
|
|
45
|
+
*
|
|
46
|
+
* @param predicate - The predicate.
|
|
47
|
+
* @signature P.omitBy(fn)(object)
|
|
48
|
+
* @example
|
|
49
|
+
* P.omitBy((val, key) => key.toUpperCase() === key)({a: 1, b: 2, A: 3, B: 4}) // => {a: 1, b: 2}
|
|
50
|
+
* @dataLast
|
|
51
|
+
* @category Object
|
|
52
|
+
*/
|
|
53
|
+
declare function omitBy<T extends object, S extends EnumerableStringKeyedValueOf<T>>(predicate: (value: EnumerableStringKeyedValueOf<T>, key: EnumerableStringKeyOf<T>, data: T) => value is S): (data: T) => PartialEnumerableKeysNarrowed<T, S>;
|
|
54
|
+
declare function omitBy<T extends object>(predicate: (value: EnumerableStringKeyedValueOf<T>, key: EnumerableStringKeyOf<T>, data: T) => boolean): (data: T) => PartialEnumerableKeys<T>;
|
|
55
|
+
|
|
56
|
+
export { omitBy };
|
package/dist/omit-by.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-ZIF7K2PC.js";import"./chunk-JFXZ246Y.js";import"./chunk-KQGY2DBY.js";export{a as omitBy};
|
package/dist/omit.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkINAPFYB2cjs = require('./chunk-INAPFYB2.cjs');require('./chunk-G66EZBJS.cjs');require('./chunk-Y74ER22O.cjs');require('./chunk-7T4AVFYJ.cjs');exports.omit = _chunkINAPFYB2cjs.a;
|
package/dist/omit.d.cts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns a partial copy of an object omitting the keys specified.
|
|
3
|
+
*
|
|
4
|
+
* @param propNames - The property names.
|
|
5
|
+
* @signature
|
|
6
|
+
* P.omit(names)(obj);
|
|
7
|
+
* @example
|
|
8
|
+
* P.pipe({ a: 1, b: 2, c: 3, d: 4 }, P.omit(['a', 'd'])) // => { b: 2, c: 3 }
|
|
9
|
+
* @dataLast
|
|
10
|
+
* @category Object
|
|
11
|
+
*/
|
|
12
|
+
declare function omit<T extends object, K extends keyof T>(propNames: ReadonlyArray<K>): (data: T) => Omit<T, K>;
|
|
13
|
+
/**
|
|
14
|
+
* Returns a partial copy of an object omitting the keys specified.
|
|
15
|
+
*
|
|
16
|
+
* @param data - The object.
|
|
17
|
+
* @param propNames - The property names.
|
|
18
|
+
* @signature
|
|
19
|
+
* P.omit(obj, names);
|
|
20
|
+
* @example
|
|
21
|
+
* P.omit({ a: 1, b: 2, c: 3, d: 4 }, ['a', 'd']) // => { b: 2, c: 3 }
|
|
22
|
+
* @dataFirst
|
|
23
|
+
* @category Object
|
|
24
|
+
*/
|
|
25
|
+
declare function omit<T extends object, K extends keyof T>(data: T, propNames: ReadonlyArray<K>): Omit<T, K>;
|
|
26
|
+
|
|
27
|
+
export { omit };
|
package/dist/omit.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns a partial copy of an object omitting the keys specified.
|
|
3
|
+
*
|
|
4
|
+
* @param propNames - The property names.
|
|
5
|
+
* @signature
|
|
6
|
+
* P.omit(names)(obj);
|
|
7
|
+
* @example
|
|
8
|
+
* P.pipe({ a: 1, b: 2, c: 3, d: 4 }, P.omit(['a', 'd'])) // => { b: 2, c: 3 }
|
|
9
|
+
* @dataLast
|
|
10
|
+
* @category Object
|
|
11
|
+
*/
|
|
12
|
+
declare function omit<T extends object, K extends keyof T>(propNames: ReadonlyArray<K>): (data: T) => Omit<T, K>;
|
|
13
|
+
/**
|
|
14
|
+
* Returns a partial copy of an object omitting the keys specified.
|
|
15
|
+
*
|
|
16
|
+
* @param data - The object.
|
|
17
|
+
* @param propNames - The property names.
|
|
18
|
+
* @signature
|
|
19
|
+
* P.omit(obj, names);
|
|
20
|
+
* @example
|
|
21
|
+
* P.omit({ a: 1, b: 2, c: 3, d: 4 }, ['a', 'd']) // => { b: 2, c: 3 }
|
|
22
|
+
* @dataFirst
|
|
23
|
+
* @category Object
|
|
24
|
+
*/
|
|
25
|
+
declare function omit<T extends object, K extends keyof T>(data: T, propNames: ReadonlyArray<K>): Omit<T, K>;
|
|
26
|
+
|
|
27
|
+
export { omit };
|
package/dist/omit.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-KTMLSQQ7.js";import"./chunk-73BYESBE.js";import"./chunk-JFXZ246Y.js";import"./chunk-KQGY2DBY.js";export{a as omit};
|
package/dist/once.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkJRDQRETRcjs = require('./chunk-JRDQRETR.cjs');exports.once = _chunkJRDQRETRcjs.a;
|
package/dist/once.d.cts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Creates a function that is restricted to invoking `func` once. Repeat calls to the function return the value of the first invocation.
|
|
3
|
+
*
|
|
4
|
+
* @param fn - The function to wrap.
|
|
5
|
+
* @signature P.once(fn)
|
|
6
|
+
* @example
|
|
7
|
+
* const initialize = P.once(createApplication);
|
|
8
|
+
* initialize();
|
|
9
|
+
* initialize();
|
|
10
|
+
* // => `createApplication` is invoked once
|
|
11
|
+
* @category Function
|
|
12
|
+
*/
|
|
13
|
+
declare function once<T>(fn: () => T): () => T;
|
|
14
|
+
|
|
15
|
+
export { once };
|
package/dist/once.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Creates a function that is restricted to invoking `func` once. Repeat calls to the function return the value of the first invocation.
|
|
3
|
+
*
|
|
4
|
+
* @param fn - The function to wrap.
|
|
5
|
+
* @signature P.once(fn)
|
|
6
|
+
* @example
|
|
7
|
+
* const initialize = P.once(createApplication);
|
|
8
|
+
* initialize();
|
|
9
|
+
* initialize();
|
|
10
|
+
* // => `createApplication` is invoked once
|
|
11
|
+
* @category Function
|
|
12
|
+
*/
|
|
13
|
+
declare function once<T>(fn: () => T): () => T;
|
|
14
|
+
|
|
15
|
+
export { once };
|
package/dist/once.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-C6IMN7SF.js";export{a as once};
|
package/dist/only.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkR52BC2FHcjs = require('./chunk-R52BC2FH.cjs');require('./chunk-Y74ER22O.cjs');require('./chunk-7T4AVFYJ.cjs');exports.only = _chunkR52BC2FHcjs.a;
|