@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.
Files changed (940) hide show
  1. package/dist/add-prop.cjs +1 -0
  2. package/dist/add-prop.d.cts +32 -0
  3. package/dist/add-prop.d.ts +32 -0
  4. package/dist/add-prop.js +1 -0
  5. package/dist/add.cjs +1 -0
  6. package/dist/add.d.cts +33 -0
  7. package/dist/add.d.ts +33 -0
  8. package/dist/add.js +1 -0
  9. package/dist/all-pass.cjs +1 -0
  10. package/dist/all-pass.d.cts +35 -0
  11. package/dist/all-pass.d.ts +35 -0
  12. package/dist/all-pass.js +1 -0
  13. package/dist/any-pass.cjs +1 -0
  14. package/dist/any-pass.d.cts +35 -0
  15. package/dist/any-pass.d.ts +35 -0
  16. package/dist/any-pass.js +1 -0
  17. package/dist/case.types-C6kHRY4f.d.cts +16 -0
  18. package/dist/case.types-C6kHRY4f.d.ts +16 -0
  19. package/dist/ceil.cjs +1 -0
  20. package/dist/ceil.d.cts +37 -0
  21. package/dist/ceil.d.ts +37 -0
  22. package/dist/ceil.js +1 -0
  23. package/dist/chunk-22S2LZ25.js +1 -0
  24. package/dist/chunk-2ETHJVG3.cjs +1 -0
  25. package/dist/chunk-2T576V7A.js +1 -0
  26. package/dist/chunk-3DPIEAUX.js +1 -0
  27. package/dist/chunk-3FYWJG4A.cjs +1 -0
  28. package/dist/chunk-3T7K3EKS.js +1 -0
  29. package/dist/chunk-3UUZWCRS.cjs +1 -0
  30. package/dist/chunk-3WCOFJCS.cjs +1 -0
  31. package/dist/chunk-3X6SAJDQ.cjs +1 -0
  32. package/dist/chunk-43F3C5SP.js +1 -0
  33. package/dist/chunk-442DWBIM.cjs +1 -0
  34. package/dist/chunk-47KOI7MW.cjs +1 -0
  35. package/dist/chunk-4AZGD6ZX.cjs +1 -0
  36. package/dist/chunk-4XRKXTOK.js +1 -0
  37. package/dist/chunk-4YJCXB4Y.js +1 -0
  38. package/dist/chunk-52GYNLEB.js +1 -0
  39. package/dist/chunk-5AIMRZXJ.cjs +1 -0
  40. package/dist/chunk-5HAUJEIR.js +1 -0
  41. package/dist/chunk-5ILJAWGC.js +1 -0
  42. package/dist/chunk-5KMAUZSO.js +1 -0
  43. package/dist/chunk-5KO77UXQ.cjs +1 -0
  44. package/dist/chunk-5NG5PDAH.js +1 -0
  45. package/dist/chunk-5UP2X3VY.cjs +1 -0
  46. package/dist/chunk-5XZK5BDM.js +1 -0
  47. package/dist/chunk-64KL2FA2.cjs +1 -0
  48. package/dist/chunk-65DHT5Z7.cjs +1 -0
  49. package/dist/chunk-66KQORMS.js +1 -0
  50. package/dist/chunk-6ALZHU2N.js +1 -0
  51. package/dist/chunk-6BKLAQWR.js +1 -0
  52. package/dist/chunk-6GVFMZ2X.js +1 -0
  53. package/dist/chunk-6SQ2YEMB.js +1 -0
  54. package/dist/chunk-6SYP2DRD.js +1 -0
  55. package/dist/chunk-6TRXWRYJ.cjs +1 -0
  56. package/dist/chunk-73BYESBE.js +1 -0
  57. package/dist/chunk-75K2QEB3.js +1 -0
  58. package/dist/chunk-7DDJ7DZF.js +1 -0
  59. package/dist/chunk-7EJQW5L6.cjs +1 -0
  60. package/dist/chunk-7EMQYM4A.js +1 -0
  61. package/dist/chunk-7H4T2OX5.js +1 -0
  62. package/dist/chunk-7IYJC2PM.cjs +1 -0
  63. package/dist/chunk-7JDXDFFQ.js +1 -0
  64. package/dist/chunk-7P7RJIIO.js +1 -0
  65. package/dist/chunk-7QAJO3GY.cjs +1 -0
  66. package/dist/chunk-7R7W43BD.js +1 -0
  67. package/dist/chunk-7RS2XXUG.cjs +1 -0
  68. package/dist/chunk-7SHZ4MGU.cjs +1 -0
  69. package/dist/chunk-7T4AVFYJ.cjs +1 -0
  70. package/dist/chunk-7UJXFFOU.js +1 -0
  71. package/dist/chunk-7XMQFPW7.cjs +1 -0
  72. package/dist/chunk-A535Z4LW.cjs +1 -0
  73. package/dist/chunk-A62OZTSJ.js +1 -0
  74. package/dist/chunk-A6WT2DZU.cjs +1 -0
  75. package/dist/chunk-AE5HI6VG.cjs +1 -0
  76. package/dist/chunk-AEN2DN32.js +1 -0
  77. package/dist/chunk-AZUJCNUP.js +1 -0
  78. package/dist/chunk-BF6VQFQK.js +1 -0
  79. package/dist/chunk-BGPRJNRQ.js +1 -0
  80. package/dist/chunk-BIAJ5KWR.cjs +1 -0
  81. package/dist/chunk-BQA4B5JX.js +1 -0
  82. package/dist/chunk-BRLENORL.js +1 -0
  83. package/dist/chunk-BVOCXV26.cjs +1 -0
  84. package/dist/chunk-BWJDD26T.cjs +1 -0
  85. package/dist/chunk-C27FZNUV.js +1 -0
  86. package/dist/chunk-C4EDF27A.js +1 -0
  87. package/dist/chunk-C6IMN7SF.js +1 -0
  88. package/dist/chunk-C6L5NLLB.js +1 -0
  89. package/dist/chunk-CGK7KN32.cjs +1 -0
  90. package/dist/chunk-CIF6WEFP.js +1 -0
  91. package/dist/chunk-CIZWCFSY.cjs +1 -0
  92. package/dist/chunk-COBRSP66.js +1 -0
  93. package/dist/chunk-CQQLWV2A.cjs +1 -0
  94. package/dist/chunk-CUJA7FM4.js +1 -0
  95. package/dist/chunk-CXRG2GSY.js +1 -0
  96. package/dist/chunk-CXZHGDSD.cjs +1 -0
  97. package/dist/chunk-CZLV6ZLZ.js +1 -0
  98. package/dist/chunk-D32D4HMP.cjs +1 -0
  99. package/dist/chunk-D5VBQ4IX.js +1 -0
  100. package/dist/chunk-D7G6PMA5.js +1 -0
  101. package/dist/chunk-DAFN5EJR.cjs +1 -0
  102. package/dist/chunk-DJ5DVLWD.cjs +1 -0
  103. package/dist/chunk-DNSXSQCO.js +1 -0
  104. package/dist/chunk-DUKQ2ODK.js +1 -0
  105. package/dist/chunk-DWPHE3F2.cjs +1 -0
  106. package/dist/chunk-E2NINCLI.js +1 -0
  107. package/dist/chunk-E6JSDI5S.cjs +1 -0
  108. package/dist/chunk-E6MBOCIC.cjs +1 -0
  109. package/dist/chunk-EAD7YDX3.cjs +1 -0
  110. package/dist/chunk-EDKMZBZ3.cjs +1 -0
  111. package/dist/chunk-EHJK4JRF.cjs +1 -0
  112. package/dist/chunk-EKYCE7XE.cjs +1 -0
  113. package/dist/chunk-EM2UX3KN.js +1 -0
  114. package/dist/chunk-ENIRKKU6.js +1 -0
  115. package/dist/chunk-ENPSKQUH.js +1 -0
  116. package/dist/chunk-EP626HCI.cjs +1 -0
  117. package/dist/chunk-EV7KEYHC.js +1 -0
  118. package/dist/chunk-F3EZ6NQM.js +1 -0
  119. package/dist/chunk-F7KW3CUF.js +1 -0
  120. package/dist/chunk-FFIQSVST.cjs +1 -0
  121. package/dist/chunk-FGVDZJ7U.js +1 -0
  122. package/dist/chunk-FKSROXF4.js +1 -0
  123. package/dist/chunk-FKWGRK76.js +1 -0
  124. package/dist/chunk-FNZCH7TN.cjs +1 -0
  125. package/dist/chunk-FQ3EXU24.js +1 -0
  126. package/dist/chunk-FWQYL4Y4.cjs +1 -0
  127. package/dist/chunk-FZCOVI2M.cjs +1 -0
  128. package/dist/chunk-G66EZBJS.cjs +1 -0
  129. package/dist/chunk-G6SFG3W4.cjs +1 -0
  130. package/dist/chunk-G73S4IVJ.js +1 -0
  131. package/dist/chunk-GGKOIUWC.cjs +1 -0
  132. package/dist/chunk-GIJKULXC.cjs +1 -0
  133. package/dist/chunk-GLAMUYBB.cjs +1 -0
  134. package/dist/chunk-GNEUT34M.cjs +1 -0
  135. package/dist/chunk-GNPFJJSC.cjs +1 -0
  136. package/dist/chunk-GPGITOFN.cjs +1 -0
  137. package/dist/chunk-GU2VTZ37.js +1 -0
  138. package/dist/chunk-GUZPDGVH.cjs +1 -0
  139. package/dist/chunk-GXVKH5OX.cjs +1 -0
  140. package/dist/chunk-H2E5GCCP.js +1 -0
  141. package/dist/chunk-H7YM6WEO.cjs +1 -0
  142. package/dist/chunk-HA5S5RKI.cjs +1 -0
  143. package/dist/chunk-HBZ5F2DD.cjs +1 -0
  144. package/dist/chunk-HC3HZK4Q.cjs +1 -0
  145. package/dist/chunk-HFNVS6OX.js +1 -0
  146. package/dist/chunk-HFZNXHUH.js +1 -0
  147. package/dist/chunk-HJO63NJC.cjs +1 -0
  148. package/dist/chunk-HL3QPU5J.cjs +1 -0
  149. package/dist/chunk-HLKCHMAO.js +1 -0
  150. package/dist/chunk-HLL46USD.js +1 -0
  151. package/dist/chunk-HQ2OH3WD.cjs +1 -0
  152. package/dist/chunk-HUWRVMPE.js +1 -0
  153. package/dist/chunk-I6VXEY44.cjs +1 -0
  154. package/dist/chunk-I7I54DAZ.cjs +1 -0
  155. package/dist/chunk-IA53O34Y.js +1 -0
  156. package/dist/chunk-IKXLQXFZ.js +1 -0
  157. package/dist/chunk-INAPFYB2.cjs +1 -0
  158. package/dist/chunk-IYUNRFZS.js +1 -0
  159. package/dist/chunk-IZZFU26S.cjs +1 -0
  160. package/dist/chunk-J2THP74P.cjs +1 -0
  161. package/dist/chunk-J3YPWVVQ.js +1 -0
  162. package/dist/chunk-J6L2AOTY.js +1 -0
  163. package/dist/chunk-JDWB2A3S.cjs +1 -0
  164. package/dist/chunk-JFXZ246Y.js +1 -0
  165. package/dist/chunk-JK22NVTR.js +1 -0
  166. package/dist/chunk-JL33LZPL.js +1 -0
  167. package/dist/chunk-JLRJ44YR.js +1 -0
  168. package/dist/chunk-JMS6POBO.cjs +1 -0
  169. package/dist/chunk-JNFB7I2A.js +1 -0
  170. package/dist/chunk-JRDQRETR.cjs +1 -0
  171. package/dist/chunk-JU4UCCME.js +1 -0
  172. package/dist/chunk-JWNYA3DD.cjs +1 -0
  173. package/dist/chunk-JXMWUSPN.cjs +1 -0
  174. package/dist/chunk-JXXXUJM5.js +1 -0
  175. package/dist/chunk-K2MIPOLQ.cjs +1 -0
  176. package/dist/chunk-KBGFDQ5T.cjs +1 -0
  177. package/dist/chunk-KCUIAELF.js +1 -0
  178. package/dist/chunk-KDSNKESQ.js +1 -0
  179. package/dist/chunk-KG2TAX4E.js +1 -0
  180. package/dist/chunk-KITVKWLP.cjs +1 -0
  181. package/dist/chunk-KJ42LLSJ.js +1 -0
  182. package/dist/chunk-KLQZU5J4.cjs +1 -0
  183. package/dist/chunk-KODMZU4J.cjs +1 -0
  184. package/dist/chunk-KQGY2DBY.js +1 -0
  185. package/dist/chunk-KTMLSQQ7.js +1 -0
  186. package/dist/chunk-L4KSN3W4.js +1 -0
  187. package/dist/chunk-L5AJZHZ7.js +1 -0
  188. package/dist/chunk-L5GWUR4G.js +1 -0
  189. package/dist/chunk-LG37S75J.js +1 -0
  190. package/dist/chunk-LHHGOIQC.js +1 -0
  191. package/dist/chunk-LIKMH7XD.js +1 -0
  192. package/dist/chunk-LIXAROKH.cjs +1 -0
  193. package/dist/chunk-LOPUNSWJ.js +1 -0
  194. package/dist/chunk-LSXNPOLD.js +1 -0
  195. package/dist/chunk-LWPEZ7RI.js +1 -0
  196. package/dist/chunk-LZOGCJPR.cjs +1 -0
  197. package/dist/chunk-MA4ZCOG3.js +1 -0
  198. package/dist/chunk-MBYBX5B3.js +1 -0
  199. package/dist/chunk-MENOHSYF.js +1 -0
  200. package/dist/chunk-MGDE5ISW.cjs +1 -0
  201. package/dist/chunk-MGT2JXCZ.cjs +1 -0
  202. package/dist/chunk-MKM3UJUV.js +1 -0
  203. package/dist/chunk-MLLA7SGZ.cjs +1 -0
  204. package/dist/chunk-MQ3SR4YO.cjs +1 -0
  205. package/dist/chunk-MQGR4WQQ.cjs +1 -0
  206. package/dist/chunk-MQH2LHSB.js +1 -0
  207. package/dist/chunk-MYLYERXO.js +1 -0
  208. package/dist/chunk-N2ZP6DKG.cjs +1 -0
  209. package/dist/chunk-N4656YGQ.cjs +1 -0
  210. package/dist/chunk-N4VSV73E.js +1 -0
  211. package/dist/chunk-NIYVDIEQ.cjs +1 -0
  212. package/dist/chunk-NLX7PGPI.cjs +1 -0
  213. package/dist/chunk-NM55NELV.cjs +1 -0
  214. package/dist/chunk-NNK6R67E.cjs +1 -0
  215. package/dist/chunk-NNU5DU4F.cjs +1 -0
  216. package/dist/chunk-NQR6HZYF.js +1 -0
  217. package/dist/chunk-NULDWRPD.cjs +1 -0
  218. package/dist/chunk-OFLOVIU2.cjs +1 -0
  219. package/dist/chunk-OLZEQGPJ.cjs +1 -0
  220. package/dist/chunk-ON6MMTUN.cjs +1 -0
  221. package/dist/chunk-OQ34Z5CL.cjs +1 -0
  222. package/dist/chunk-P3LGW6WA.js +1 -0
  223. package/dist/chunk-P7OXTPPH.cjs +1 -0
  224. package/dist/chunk-PH45KQNB.cjs +1 -0
  225. package/dist/chunk-PHKKU45J.js +1 -0
  226. package/dist/chunk-PHSDYGVD.cjs +1 -0
  227. package/dist/chunk-PKGL5JK6.js +1 -0
  228. package/dist/chunk-PL6B6X5G.js +1 -0
  229. package/dist/chunk-PNTFWNQB.cjs +1 -0
  230. package/dist/chunk-PSXTTF2V.js +1 -0
  231. package/dist/chunk-PU6FU2UB.cjs +1 -0
  232. package/dist/chunk-PWOIVNVI.js +1 -0
  233. package/dist/chunk-PX7U5WLN.cjs +1 -0
  234. package/dist/chunk-Q2HW4RVT.js +1 -0
  235. package/dist/chunk-Q4B5JNZS.cjs +1 -0
  236. package/dist/chunk-Q4GWEOZM.js +1 -0
  237. package/dist/chunk-QID4F4QT.js +1 -0
  238. package/dist/chunk-QIM2PMWS.js +1 -0
  239. package/dist/chunk-QIRZMNKN.cjs +1 -0
  240. package/dist/chunk-QIYBHLRA.js +1 -0
  241. package/dist/chunk-QPP664N4.js +1 -0
  242. package/dist/chunk-QQQIEYAH.js +1 -0
  243. package/dist/chunk-QRDGUNHT.js +1 -0
  244. package/dist/chunk-QTCQZ7LU.js +1 -0
  245. package/dist/chunk-QU5PCAYZ.js +1 -0
  246. package/dist/chunk-QUPOLS3D.cjs +1 -0
  247. package/dist/chunk-QVDYQ7ZE.cjs +1 -0
  248. package/dist/chunk-QWQ2V7HJ.cjs +1 -0
  249. package/dist/chunk-QYFACQ7P.cjs +1 -0
  250. package/dist/chunk-R22OILXQ.cjs +1 -0
  251. package/dist/chunk-R52BC2FH.cjs +1 -0
  252. package/dist/chunk-R5K7KY5K.js +1 -0
  253. package/dist/chunk-RBODUO3Q.js +1 -0
  254. package/dist/chunk-RF4ZO322.cjs +1 -0
  255. package/dist/chunk-RFHE6DOJ.js +1 -0
  256. package/dist/chunk-RSJJRJTH.cjs +1 -0
  257. package/dist/chunk-SDXTQQIO.js +1 -0
  258. package/dist/chunk-SME5FGMA.js +1 -0
  259. package/dist/chunk-SNQAZZSY.cjs +1 -0
  260. package/dist/chunk-SRZSHSZD.cjs +1 -0
  261. package/dist/chunk-SVOK32ZP.js +1 -0
  262. package/dist/chunk-SW62SX4Y.cjs +1 -0
  263. package/dist/chunk-SXTSJOEE.cjs +1 -0
  264. package/dist/chunk-T2LJNGWI.js +1 -0
  265. package/dist/chunk-T5XG33UI.js +1 -0
  266. package/dist/chunk-TA5NVANU.cjs +1 -0
  267. package/dist/chunk-TBMLJPXO.js +1 -0
  268. package/dist/chunk-TBXEXWSK.js +1 -0
  269. package/dist/chunk-TCGKEV4J.cjs +1 -0
  270. package/dist/chunk-TFN3JWPS.cjs +1 -0
  271. package/dist/chunk-TKJ7YEHS.cjs +1 -0
  272. package/dist/chunk-TL3ZHA7Y.cjs +1 -0
  273. package/dist/chunk-TR5T6KUC.js +1 -0
  274. package/dist/chunk-TT2VLICK.js +1 -0
  275. package/dist/chunk-TUZHNOSG.cjs +1 -0
  276. package/dist/chunk-U32YSACL.cjs +1 -0
  277. package/dist/chunk-U3OEHN5P.cjs +1 -0
  278. package/dist/chunk-U3YJZ66O.cjs +1 -0
  279. package/dist/chunk-U5EQP4BO.cjs +1 -0
  280. package/dist/chunk-UH3TDC4T.cjs +1 -0
  281. package/dist/chunk-UHUFGDIS.cjs +1 -0
  282. package/dist/chunk-UNG2JJTE.js +1 -0
  283. package/dist/chunk-UNKQWZT6.js +1 -0
  284. package/dist/chunk-UO2ELCGC.js +1 -0
  285. package/dist/chunk-USNHLUEU.js +1 -0
  286. package/dist/chunk-UTMQRL7N.cjs +1 -0
  287. package/dist/chunk-UYH64IBH.js +1 -0
  288. package/dist/chunk-UYLVIAK4.js +1 -0
  289. package/dist/chunk-VCZBVN24.cjs +1 -0
  290. package/dist/chunk-VD6VNORF.cjs +1 -0
  291. package/dist/chunk-VEG55EJ6.cjs +1 -0
  292. package/dist/chunk-VFU6P7NI.js +1 -0
  293. package/dist/chunk-VGZCX6HK.cjs +1 -0
  294. package/dist/chunk-VJMHXGZD.js +1 -0
  295. package/dist/chunk-VNLOBA2B.cjs +1 -0
  296. package/dist/chunk-VNU4MGEF.js +1 -0
  297. package/dist/chunk-VPHS3T3W.js +1 -0
  298. package/dist/chunk-VRZNQSZN.cjs +1 -0
  299. package/dist/chunk-WBJ2VSGC.cjs +1 -0
  300. package/dist/chunk-WFR3HBYR.cjs +1 -0
  301. package/dist/chunk-WLNQOMKL.cjs +1 -0
  302. package/dist/chunk-WM4KSO6C.cjs +1 -0
  303. package/dist/chunk-WNL2I2YK.cjs +1 -0
  304. package/dist/chunk-WNVLF6JY.cjs +1 -0
  305. package/dist/chunk-WPGWO7LA.cjs +1 -0
  306. package/dist/chunk-WUAU3LTQ.js +1 -0
  307. package/dist/chunk-WW7P3TAU.cjs +1 -0
  308. package/dist/chunk-X6AB3I7Z.cjs +1 -0
  309. package/dist/chunk-X7HV6BKN.js +1 -0
  310. package/dist/chunk-XJRGE7WL.cjs +1 -0
  311. package/dist/chunk-XOWF2B3H.js +1 -0
  312. package/dist/chunk-XQOKSJ5R.cjs +1 -0
  313. package/dist/chunk-XSSRBOMF.js +1 -0
  314. package/dist/chunk-XUEOOIR6.cjs +1 -0
  315. package/dist/chunk-XUU6IYML.js +1 -0
  316. package/dist/chunk-XWX4B5PF.js +1 -0
  317. package/dist/chunk-XXQWPQH3.cjs +1 -0
  318. package/dist/chunk-XXU2FTTA.cjs +1 -0
  319. package/dist/chunk-Y74ER22O.cjs +1 -0
  320. package/dist/chunk-Y7RFTHSR.cjs +1 -0
  321. package/dist/chunk-YBJMFRB6.js +1 -0
  322. package/dist/chunk-YD2H56BT.js +1 -0
  323. package/dist/chunk-YIUDV3OA.cjs +1 -0
  324. package/dist/chunk-YMNBZZDN.js +1 -0
  325. package/dist/chunk-YQKPA3BB.js +1 -0
  326. package/dist/chunk-YQTXLMPM.js +1 -0
  327. package/dist/chunk-YSTUBBOJ.cjs +1 -0
  328. package/dist/chunk-YTNT635N.js +1 -0
  329. package/dist/chunk-YTZNH65O.js +1 -0
  330. package/dist/chunk-YVGIOTPH.cjs +1 -0
  331. package/dist/chunk-YWO7TFOD.cjs +1 -0
  332. package/dist/chunk-YWSZXRUY.js +1 -0
  333. package/dist/chunk-YWTY4X2R.cjs +1 -0
  334. package/dist/chunk-Z42U7NBM.cjs +1 -0
  335. package/dist/chunk-Z7EBGO2B.js +1 -0
  336. package/dist/chunk-ZA4IP5S7.js +1 -0
  337. package/dist/chunk-ZBYQEJZV.cjs +1 -0
  338. package/dist/chunk-ZCCHYKDG.cjs +1 -0
  339. package/dist/chunk-ZCFTW5HO.cjs +1 -0
  340. package/dist/chunk-ZIF7K2PC.js +1 -0
  341. package/dist/chunk-ZSI3ZTMX.js +1 -0
  342. package/dist/chunk-ZUNMUNQT.js +1 -0
  343. package/dist/chunk-ZW3IUWYO.js +1 -0
  344. package/dist/chunk-ZX74SXNB.js +1 -0
  345. package/dist/chunk.cjs +1 -0
  346. package/dist/chunk.d.cts +33 -0
  347. package/dist/chunk.d.ts +33 -0
  348. package/dist/chunk.js +1 -0
  349. package/dist/clamp.cjs +1 -0
  350. package/dist/clamp.d.cts +39 -0
  351. package/dist/clamp.d.ts +39 -0
  352. package/dist/clamp.js +1 -0
  353. package/dist/clone.cjs +1 -0
  354. package/dist/clone.d.cts +27 -0
  355. package/dist/clone.d.ts +27 -0
  356. package/dist/clone.js +1 -0
  357. package/dist/concat.cjs +1 -0
  358. package/dist/concat.d.cts +39 -0
  359. package/dist/concat.d.ts +39 -0
  360. package/dist/concat.js +1 -0
  361. package/dist/conditional.cjs +1 -0
  362. package/dist/conditional.d.cts +121 -0
  363. package/dist/conditional.d.ts +121 -0
  364. package/dist/conditional.js +1 -0
  365. package/dist/constant.cjs +1 -0
  366. package/dist/constant.d.cts +30 -0
  367. package/dist/constant.d.ts +30 -0
  368. package/dist/constant.js +1 -0
  369. package/dist/curry-order-rules-BOMf1JS7.d.cts +37 -0
  370. package/dist/curry-order-rules-BOMf1JS7.d.ts +37 -0
  371. package/dist/curry.cjs +1 -0
  372. package/dist/curry.d.cts +44 -0
  373. package/dist/curry.d.ts +44 -0
  374. package/dist/curry.js +1 -0
  375. package/dist/debounce.cjs +1 -0
  376. package/dist/debounce.d.cts +94 -0
  377. package/dist/debounce.d.ts +94 -0
  378. package/dist/debounce.js +1 -0
  379. package/dist/difference-with.cjs +1 -0
  380. package/dist/difference-with.d.cts +46 -0
  381. package/dist/difference-with.d.ts +46 -0
  382. package/dist/difference-with.js +1 -0
  383. package/dist/difference.cjs +1 -0
  384. package/dist/difference.d.cts +35 -0
  385. package/dist/difference.d.ts +35 -0
  386. package/dist/difference.js +1 -0
  387. package/dist/divide.cjs +1 -0
  388. package/dist/divide.d.cts +31 -0
  389. package/dist/divide.d.ts +31 -0
  390. package/dist/divide.js +1 -0
  391. package/dist/do-nothing.cjs +1 -0
  392. package/dist/do-nothing.d.cts +26 -0
  393. package/dist/do-nothing.d.ts +26 -0
  394. package/dist/do-nothing.js +1 -0
  395. package/dist/drop-first-by.cjs +1 -0
  396. package/dist/drop-first-by.d.cts +39 -0
  397. package/dist/drop-first-by.d.ts +39 -0
  398. package/dist/drop-first-by.js +1 -0
  399. package/dist/drop-last-while.cjs +1 -0
  400. package/dist/drop-last-while.d.cts +31 -0
  401. package/dist/drop-last-while.d.ts +31 -0
  402. package/dist/drop-last-while.js +1 -0
  403. package/dist/drop-last.cjs +1 -0
  404. package/dist/drop-last.d.cts +27 -0
  405. package/dist/drop-last.d.ts +27 -0
  406. package/dist/drop-last.js +1 -0
  407. package/dist/drop-while.cjs +1 -0
  408. package/dist/drop-while.d.cts +31 -0
  409. package/dist/drop-while.d.ts +31 -0
  410. package/dist/drop-while.js +1 -0
  411. package/dist/drop.cjs +1 -0
  412. package/dist/drop.d.cts +29 -0
  413. package/dist/drop.d.ts +29 -0
  414. package/dist/drop.js +1 -0
  415. package/dist/entries.cjs +1 -0
  416. package/dist/entries.d.cts +31 -0
  417. package/dist/entries.d.ts +31 -0
  418. package/dist/entries.js +1 -0
  419. package/dist/evolve.cjs +1 -0
  420. package/dist/evolve.d.cts +103 -0
  421. package/dist/evolve.d.ts +103 -0
  422. package/dist/evolve.js +1 -0
  423. package/dist/filter.cjs +1 -0
  424. package/dist/filter.d.cts +43 -0
  425. package/dist/filter.d.ts +43 -0
  426. package/dist/filter.js +1 -0
  427. package/dist/find-index.cjs +1 -0
  428. package/dist/find-index.d.cts +48 -0
  429. package/dist/find-index.d.ts +48 -0
  430. package/dist/find-index.js +1 -0
  431. package/dist/find-last-index.cjs +1 -0
  432. package/dist/find-last-index.d.cts +48 -0
  433. package/dist/find-last-index.d.ts +48 -0
  434. package/dist/find-last-index.js +1 -0
  435. package/dist/find-last.cjs +1 -0
  436. package/dist/find-last.d.cts +60 -0
  437. package/dist/find-last.d.ts +60 -0
  438. package/dist/find-last.js +1 -0
  439. package/dist/find.cjs +1 -0
  440. package/dist/find.d.cts +62 -0
  441. package/dist/find.d.ts +62 -0
  442. package/dist/find.js +1 -0
  443. package/dist/first-by.cjs +1 -0
  444. package/dist/first-by.d.cts +58 -0
  445. package/dist/first-by.d.ts +58 -0
  446. package/dist/first-by.js +1 -0
  447. package/dist/first.cjs +1 -0
  448. package/dist/first.d.cts +39 -0
  449. package/dist/first.d.ts +39 -0
  450. package/dist/first.js +1 -0
  451. package/dist/flat-map.cjs +1 -0
  452. package/dist/flat-map.d.cts +45 -0
  453. package/dist/flat-map.d.ts +45 -0
  454. package/dist/flat-map.js +1 -0
  455. package/dist/flat.cjs +1 -0
  456. package/dist/flat.d.cts +61 -0
  457. package/dist/flat.d.ts +61 -0
  458. package/dist/flat.js +1 -0
  459. package/dist/floor.cjs +1 -0
  460. package/dist/floor.d.cts +37 -0
  461. package/dist/floor.d.ts +37 -0
  462. package/dist/floor.js +1 -0
  463. package/dist/for-each-obj.cjs +1 -0
  464. package/dist/for-each-obj.d.cts +44 -0
  465. package/dist/for-each-obj.d.ts +44 -0
  466. package/dist/for-each-obj.js +1 -0
  467. package/dist/for-each.cjs +1 -0
  468. package/dist/for-each.d.cts +51 -0
  469. package/dist/for-each.d.ts +51 -0
  470. package/dist/for-each.js +1 -0
  471. package/dist/from-entries.cjs +1 -0
  472. package/dist/from-entries.d.cts +72 -0
  473. package/dist/from-entries.d.ts +72 -0
  474. package/dist/from-entries.js +1 -0
  475. package/dist/from-keys.cjs +1 -0
  476. package/dist/from-keys.d.cts +59 -0
  477. package/dist/from-keys.d.ts +59 -0
  478. package/dist/from-keys.js +1 -0
  479. package/dist/group-by.cjs +1 -0
  480. package/dist/group-by.d.cts +56 -0
  481. package/dist/group-by.d.ts +56 -0
  482. package/dist/group-by.js +1 -0
  483. package/dist/has-at-least.cjs +1 -0
  484. package/dist/has-at-least.d.cts +68 -0
  485. package/dist/has-at-least.d.ts +68 -0
  486. package/dist/has-at-least.js +1 -0
  487. package/dist/has-sub-object.cjs +1 -0
  488. package/dist/has-sub-object.d.cts +55 -0
  489. package/dist/has-sub-object.d.ts +55 -0
  490. package/dist/has-sub-object.js +1 -0
  491. package/dist/human-readable-file-size.cjs +1 -0
  492. package/dist/human-readable-file-size.d.cts +14 -0
  493. package/dist/human-readable-file-size.d.ts +14 -0
  494. package/dist/human-readable-file-size.js +1 -0
  495. package/dist/identity.cjs +1 -0
  496. package/dist/identity.d.cts +20 -0
  497. package/dist/identity.d.ts +20 -0
  498. package/dist/identity.js +1 -0
  499. package/dist/index-by.cjs +1 -0
  500. package/dist/index-by.d.cts +51 -0
  501. package/dist/index-by.d.ts +51 -0
  502. package/dist/index-by.js +1 -0
  503. package/dist/index.cjs +1 -2285
  504. package/dist/index.d.cts +156 -5989
  505. package/dist/index.d.ts +156 -5989
  506. package/dist/index.js +1 -0
  507. package/dist/intersection-with.cjs +1 -0
  508. package/dist/intersection-with.d.cts +52 -0
  509. package/dist/intersection-with.d.ts +52 -0
  510. package/dist/intersection-with.js +1 -0
  511. package/dist/intersection.cjs +1 -0
  512. package/dist/intersection.d.cts +35 -0
  513. package/dist/intersection.d.ts +35 -0
  514. package/dist/intersection.js +1 -0
  515. package/dist/invert.cjs +1 -0
  516. package/dist/invert.d.cts +32 -0
  517. package/dist/invert.d.ts +32 -0
  518. package/dist/invert.js +1 -0
  519. package/dist/is-array.cjs +1 -0
  520. package/dist/is-array.d.cts +19 -0
  521. package/dist/is-array.d.ts +19 -0
  522. package/dist/is-array.js +1 -0
  523. package/dist/is-big-int.cjs +1 -0
  524. package/dist/is-big-int.d.cts +20 -0
  525. package/dist/is-big-int.d.ts +20 -0
  526. package/dist/is-big-int.js +1 -0
  527. package/dist/is-boolean.cjs +1 -0
  528. package/dist/is-boolean.d.cts +19 -0
  529. package/dist/is-boolean.d.ts +19 -0
  530. package/dist/is-boolean.js +1 -0
  531. package/dist/is-date.cjs +1 -0
  532. package/dist/is-date.d.cts +15 -0
  533. package/dist/is-date.d.ts +15 -0
  534. package/dist/is-date.js +1 -0
  535. package/dist/is-deep-equal.cjs +1 -0
  536. package/dist/is-deep-equal.d.cts +53 -0
  537. package/dist/is-deep-equal.d.ts +53 -0
  538. package/dist/is-deep-equal.js +1 -0
  539. package/dist/is-defined.cjs +1 -0
  540. package/dist/is-defined.d.cts +17 -0
  541. package/dist/is-defined.d.ts +17 -0
  542. package/dist/is-defined.js +1 -0
  543. package/dist/is-empty.cjs +1 -0
  544. package/dist/is-empty.d.cts +33 -0
  545. package/dist/is-empty.d.ts +33 -0
  546. package/dist/is-empty.js +1 -0
  547. package/dist/is-error.cjs +1 -0
  548. package/dist/is-error.d.cts +16 -0
  549. package/dist/is-error.d.ts +16 -0
  550. package/dist/is-error.js +1 -0
  551. package/dist/is-function.cjs +1 -0
  552. package/dist/is-function.d.cts +16 -0
  553. package/dist/is-function.d.ts +16 -0
  554. package/dist/is-function.js +1 -0
  555. package/dist/is-included-in.cjs +1 -0
  556. package/dist/is-included-in.d.cts +106 -0
  557. package/dist/is-included-in.d.ts +106 -0
  558. package/dist/is-included-in.js +1 -0
  559. package/dist/is-non-null.cjs +1 -0
  560. package/dist/is-non-null.d.cts +17 -0
  561. package/dist/is-non-null.d.ts +17 -0
  562. package/dist/is-non-null.js +1 -0
  563. package/dist/is-non-nullish.cjs +1 -0
  564. package/dist/is-non-nullish.d.cts +18 -0
  565. package/dist/is-non-nullish.d.ts +18 -0
  566. package/dist/is-non-nullish.js +1 -0
  567. package/dist/is-not.cjs +1 -0
  568. package/dist/is-not.d.cts +17 -0
  569. package/dist/is-not.d.ts +17 -0
  570. package/dist/is-not.js +1 -0
  571. package/dist/is-nullish.cjs +1 -0
  572. package/dist/is-nullish.d.cts +21 -0
  573. package/dist/is-nullish.d.ts +21 -0
  574. package/dist/is-nullish.js +1 -0
  575. package/dist/is-number.cjs +1 -0
  576. package/dist/is-number.d.cts +20 -0
  577. package/dist/is-number.d.ts +20 -0
  578. package/dist/is-number.js +1 -0
  579. package/dist/is-object-type.cjs +1 -0
  580. package/dist/is-object-type.d.cts +31 -0
  581. package/dist/is-object-type.d.ts +31 -0
  582. package/dist/is-object-type.js +1 -0
  583. package/dist/is-plain-object.cjs +1 -0
  584. package/dist/is-plain-object.d.cts +31 -0
  585. package/dist/is-plain-object.d.ts +31 -0
  586. package/dist/is-plain-object.js +1 -0
  587. package/dist/is-promise.cjs +1 -0
  588. package/dist/is-promise.d.cts +16 -0
  589. package/dist/is-promise.d.ts +16 -0
  590. package/dist/is-promise.js +1 -0
  591. package/dist/is-string.cjs +1 -0
  592. package/dist/is-string.d.cts +18 -0
  593. package/dist/is-string.d.ts +18 -0
  594. package/dist/is-string.js +1 -0
  595. package/dist/is-symbol.cjs +1 -0
  596. package/dist/is-symbol.d.cts +18 -0
  597. package/dist/is-symbol.d.ts +18 -0
  598. package/dist/is-symbol.js +1 -0
  599. package/dist/is-truthy.cjs +1 -0
  600. package/dist/is-truthy.d.cts +19 -0
  601. package/dist/is-truthy.d.ts +19 -0
  602. package/dist/is-truthy.js +1 -0
  603. package/dist/join.cjs +1 -0
  604. package/dist/join.d.cts +44 -0
  605. package/dist/join.d.ts +44 -0
  606. package/dist/join.js +1 -0
  607. package/dist/key-codes.cjs +1 -0
  608. package/dist/key-codes.d.cts +27 -0
  609. package/dist/key-codes.d.ts +27 -0
  610. package/dist/key-codes.js +1 -0
  611. package/dist/keys.cjs +1 -0
  612. package/dist/keys.d.cts +37 -0
  613. package/dist/keys.d.ts +37 -0
  614. package/dist/keys.js +1 -0
  615. package/dist/last.cjs +1 -0
  616. package/dist/last.d.cts +35 -0
  617. package/dist/last.d.ts +35 -0
  618. package/dist/last.js +1 -0
  619. package/dist/length.cjs +1 -0
  620. package/dist/length.d.cts +26 -0
  621. package/dist/length.d.ts +26 -0
  622. package/dist/length.js +1 -0
  623. package/dist/map-keys.cjs +1 -0
  624. package/dist/map-keys.d.cts +30 -0
  625. package/dist/map-keys.d.ts +30 -0
  626. package/dist/map-keys.js +1 -0
  627. package/dist/map-to-obj.cjs +1 -0
  628. package/dist/map-to-obj.d.cts +48 -0
  629. package/dist/map-to-obj.d.ts +48 -0
  630. package/dist/map-to-obj.js +1 -0
  631. package/dist/map-values.cjs +1 -0
  632. package/dist/map-values.d.cts +41 -0
  633. package/dist/map-values.d.ts +41 -0
  634. package/dist/map-values.js +1 -0
  635. package/dist/map-with-feedback.cjs +1 -0
  636. package/dist/map-with-feedback.d.cts +51 -0
  637. package/dist/map-with-feedback.d.ts +51 -0
  638. package/dist/map-with-feedback.js +1 -0
  639. package/dist/map.cjs +1 -0
  640. package/dist/map.d.cts +44 -0
  641. package/dist/map.d.ts +44 -0
  642. package/dist/map.js +1 -0
  643. package/dist/mean-by.cjs +1 -0
  644. package/dist/mean-by.d.cts +33 -0
  645. package/dist/mean-by.d.ts +33 -0
  646. package/dist/mean-by.js +1 -0
  647. package/dist/merge-all.cjs +1 -0
  648. package/dist/merge-all.d.cts +18 -0
  649. package/dist/merge-all.d.ts +18 -0
  650. package/dist/merge-all.js +1 -0
  651. package/dist/merge-deep.cjs +1 -0
  652. package/dist/merge-deep.d.cts +34 -0
  653. package/dist/merge-deep.d.ts +34 -0
  654. package/dist/merge-deep.js +1 -0
  655. package/dist/merge.cjs +1 -0
  656. package/dist/merge.d.cts +54 -0
  657. package/dist/merge.d.ts +54 -0
  658. package/dist/merge.js +1 -0
  659. package/dist/multiply.cjs +1 -0
  660. package/dist/multiply.d.cts +31 -0
  661. package/dist/multiply.d.ts +31 -0
  662. package/dist/multiply.js +1 -0
  663. package/dist/nth-by.cjs +1 -0
  664. package/dist/nth-by.d.cts +39 -0
  665. package/dist/nth-by.d.ts +39 -0
  666. package/dist/nth-by.js +1 -0
  667. package/dist/obj-of.cjs +1 -0
  668. package/dist/obj-of.d.cts +29 -0
  669. package/dist/obj-of.d.ts +29 -0
  670. package/dist/obj-of.js +1 -0
  671. package/dist/omit-by.cjs +1 -0
  672. package/dist/omit-by.d.cts +56 -0
  673. package/dist/omit-by.d.ts +56 -0
  674. package/dist/omit-by.js +1 -0
  675. package/dist/omit.cjs +1 -0
  676. package/dist/omit.d.cts +27 -0
  677. package/dist/omit.d.ts +27 -0
  678. package/dist/omit.js +1 -0
  679. package/dist/once.cjs +1 -0
  680. package/dist/once.d.cts +15 -0
  681. package/dist/once.d.ts +15 -0
  682. package/dist/once.js +1 -0
  683. package/dist/only.cjs +1 -0
  684. package/dist/only.d.cts +33 -0
  685. package/dist/only.d.ts +33 -0
  686. package/dist/only.js +1 -0
  687. package/dist/partition.cjs +1 -0
  688. package/dist/partition.d.cts +49 -0
  689. package/dist/partition.d.ts +49 -0
  690. package/dist/partition.js +1 -0
  691. package/dist/path-or.cjs +1 -0
  692. package/dist/path-or.d.cts +79 -0
  693. package/dist/path-or.d.ts +79 -0
  694. package/dist/path-or.js +1 -0
  695. package/dist/pick-by.cjs +1 -0
  696. package/dist/pick-by.d.cts +70 -0
  697. package/dist/pick-by.d.ts +70 -0
  698. package/dist/pick-by.js +1 -0
  699. package/dist/pick.cjs +1 -0
  700. package/dist/pick.d.cts +25 -0
  701. package/dist/pick.d.ts +25 -0
  702. package/dist/pick.js +1 -0
  703. package/dist/pipe.cjs +1 -0
  704. package/dist/pipe.d.cts +60 -0
  705. package/dist/pipe.d.ts +60 -0
  706. package/dist/pipe.js +1 -0
  707. package/dist/piped.cjs +1 -0
  708. package/dist/piped.d.cts +29 -0
  709. package/dist/piped.d.ts +29 -0
  710. package/dist/piped.js +1 -0
  711. package/dist/product.cjs +1 -0
  712. package/dist/product.d.cts +51 -0
  713. package/dist/product.d.ts +51 -0
  714. package/dist/product.js +1 -0
  715. package/dist/prop.cjs +1 -0
  716. package/dist/prop.d.cts +28 -0
  717. package/dist/prop.d.ts +28 -0
  718. package/dist/prop.js +1 -0
  719. package/dist/pull-object.cjs +1 -0
  720. package/dist/pull-object.d.cts +67 -0
  721. package/dist/pull-object.d.ts +67 -0
  722. package/dist/pull-object.js +1 -0
  723. package/dist/random-string.cjs +1 -0
  724. package/dist/random-string.d.cts +27 -0
  725. package/dist/random-string.d.ts +27 -0
  726. package/dist/random-string.js +1 -0
  727. package/dist/range.cjs +1 -0
  728. package/dist/range.d.cts +25 -0
  729. package/dist/range.d.ts +25 -0
  730. package/dist/range.js +1 -0
  731. package/dist/rank-by.cjs +1 -0
  732. package/dist/rank-by.d.cts +43 -0
  733. package/dist/rank-by.d.ts +43 -0
  734. package/dist/rank-by.js +1 -0
  735. package/dist/reduce.cjs +1 -0
  736. package/dist/reduce.d.cts +51 -0
  737. package/dist/reduce.d.ts +51 -0
  738. package/dist/reduce.js +1 -0
  739. package/dist/reverse.cjs +1 -0
  740. package/dist/reverse.d.cts +27 -0
  741. package/dist/reverse.d.ts +27 -0
  742. package/dist/reverse.js +1 -0
  743. package/dist/round.cjs +1 -0
  744. package/dist/round.d.cts +37 -0
  745. package/dist/round.d.ts +37 -0
  746. package/dist/round.js +1 -0
  747. package/dist/sample.cjs +1 -0
  748. package/dist/sample.d.cts +54 -0
  749. package/dist/sample.d.ts +54 -0
  750. package/dist/sample.js +1 -0
  751. package/dist/set-path.cjs +1 -0
  752. package/dist/set-path.d.cts +40 -0
  753. package/dist/set-path.d.ts +40 -0
  754. package/dist/set-path.js +1 -0
  755. package/dist/set.cjs +1 -0
  756. package/dist/set.d.cts +38 -0
  757. package/dist/set.d.ts +38 -0
  758. package/dist/set.js +1 -0
  759. package/dist/shuffle.cjs +1 -0
  760. package/dist/shuffle.d.cts +25 -0
  761. package/dist/shuffle.d.ts +25 -0
  762. package/dist/shuffle.js +1 -0
  763. package/dist/sleep.cjs +1 -0
  764. package/dist/sleep.d.cts +14 -0
  765. package/dist/sleep.d.ts +14 -0
  766. package/dist/sleep.js +1 -0
  767. package/dist/slice-string.cjs +1 -0
  768. package/dist/slice-string.d.cts +39 -0
  769. package/dist/slice-string.d.ts +39 -0
  770. package/dist/slice-string.js +1 -0
  771. package/dist/slugify.cjs +1 -0
  772. package/dist/slugify.d.cts +13 -0
  773. package/dist/slugify.d.ts +13 -0
  774. package/dist/slugify.js +1 -0
  775. package/dist/sort-by.cjs +1 -0
  776. package/dist/sort-by.d.cts +84 -0
  777. package/dist/sort-by.d.ts +84 -0
  778. package/dist/sort-by.js +1 -0
  779. package/dist/sort.cjs +1 -0
  780. package/dist/sort.d.cts +36 -0
  781. package/dist/sort.d.ts +36 -0
  782. package/dist/sort.js +1 -0
  783. package/dist/sorted-index-by.cjs +1 -0
  784. package/dist/sorted-index-by.d.cts +68 -0
  785. package/dist/sorted-index-by.d.ts +68 -0
  786. package/dist/sorted-index-by.js +1 -0
  787. package/dist/sorted-index-with.cjs +1 -0
  788. package/dist/sorted-index-with.d.cts +70 -0
  789. package/dist/sorted-index-with.d.ts +70 -0
  790. package/dist/sorted-index-with.js +1 -0
  791. package/dist/sorted-index.cjs +1 -0
  792. package/dist/sorted-index.d.cts +43 -0
  793. package/dist/sorted-index.d.ts +43 -0
  794. package/dist/sorted-index.js +1 -0
  795. package/dist/sorted-last-index-by.cjs +1 -0
  796. package/dist/sorted-last-index-by.d.cts +70 -0
  797. package/dist/sorted-last-index-by.d.ts +70 -0
  798. package/dist/sorted-last-index-by.js +1 -0
  799. package/dist/sorted-last-index.cjs +1 -0
  800. package/dist/sorted-last-index.d.cts +43 -0
  801. package/dist/sorted-last-index.d.ts +43 -0
  802. package/dist/sorted-last-index.js +1 -0
  803. package/dist/splice.cjs +1 -0
  804. package/dist/splice.d.cts +33 -0
  805. package/dist/splice.d.ts +33 -0
  806. package/dist/splice.js +1 -0
  807. package/dist/split-at.cjs +1 -0
  808. package/dist/split-at.d.cts +29 -0
  809. package/dist/split-at.d.ts +29 -0
  810. package/dist/split-at.js +1 -0
  811. package/dist/split-when.cjs +1 -0
  812. package/dist/split-when.d.cts +27 -0
  813. package/dist/split-when.d.ts +27 -0
  814. package/dist/split-when.js +1 -0
  815. package/dist/split.cjs +1 -0
  816. package/dist/split.d.cts +60 -0
  817. package/dist/split.d.ts +60 -0
  818. package/dist/split.js +1 -0
  819. package/dist/string-to-path.cjs +1 -0
  820. package/dist/string-to-path.d.cts +22 -0
  821. package/dist/string-to-path.d.ts +22 -0
  822. package/dist/string-to-path.js +1 -0
  823. package/dist/subtract.cjs +1 -0
  824. package/dist/subtract.d.cts +33 -0
  825. package/dist/subtract.d.ts +33 -0
  826. package/dist/subtract.js +1 -0
  827. package/dist/sum-by.cjs +1 -0
  828. package/dist/sum-by.d.cts +33 -0
  829. package/dist/sum-by.d.ts +33 -0
  830. package/dist/sum-by.js +1 -0
  831. package/dist/sum.cjs +1 -0
  832. package/dist/sum.d.cts +49 -0
  833. package/dist/sum.d.ts +49 -0
  834. package/dist/sum.js +1 -0
  835. package/dist/swap-indices.cjs +1 -0
  836. package/dist/swap-indices.d.cts +64 -0
  837. package/dist/swap-indices.d.ts +64 -0
  838. package/dist/swap-indices.js +1 -0
  839. package/dist/swap-props.cjs +1 -0
  840. package/dist/swap-props.d.cts +34 -0
  841. package/dist/swap-props.d.ts +34 -0
  842. package/dist/swap-props.js +1 -0
  843. package/dist/take-first-by.cjs +1 -0
  844. package/dist/take-first-by.d.cts +39 -0
  845. package/dist/take-first-by.d.ts +39 -0
  846. package/dist/take-first-by.js +1 -0
  847. package/dist/take-last-while.cjs +1 -0
  848. package/dist/take-last-while.d.cts +29 -0
  849. package/dist/take-last-while.d.ts +29 -0
  850. package/dist/take-last-while.js +1 -0
  851. package/dist/take-last.cjs +1 -0
  852. package/dist/take-last.d.cts +27 -0
  853. package/dist/take-last.d.ts +27 -0
  854. package/dist/take-last.js +1 -0
  855. package/dist/take-while.cjs +1 -0
  856. package/dist/take-while.d.cts +27 -0
  857. package/dist/take-while.d.ts +27 -0
  858. package/dist/take-while.js +1 -0
  859. package/dist/take.cjs +1 -0
  860. package/dist/take.d.cts +29 -0
  861. package/dist/take.d.ts +29 -0
  862. package/dist/take.js +1 -0
  863. package/dist/tap.cjs +1 -0
  864. package/dist/tap.d.cts +40 -0
  865. package/dist/tap.d.ts +40 -0
  866. package/dist/tap.js +1 -0
  867. package/dist/times.cjs +1 -0
  868. package/dist/times.d.cts +36 -0
  869. package/dist/times.d.ts +36 -0
  870. package/dist/times.js +1 -0
  871. package/dist/to-camel-case.cjs +1 -0
  872. package/dist/to-camel-case.d.cts +29 -0
  873. package/dist/to-camel-case.d.ts +29 -0
  874. package/dist/to-camel-case.js +1 -0
  875. package/dist/to-capital-case.cjs +1 -0
  876. package/dist/to-capital-case.d.cts +28 -0
  877. package/dist/to-capital-case.d.ts +28 -0
  878. package/dist/to-capital-case.js +1 -0
  879. package/dist/to-constant-case.cjs +1 -0
  880. package/dist/to-constant-case.d.cts +28 -0
  881. package/dist/to-constant-case.d.ts +28 -0
  882. package/dist/to-constant-case.js +1 -0
  883. package/dist/to-kebab-case.cjs +1 -0
  884. package/dist/to-kebab-case.d.cts +28 -0
  885. package/dist/to-kebab-case.d.ts +28 -0
  886. package/dist/to-kebab-case.js +1 -0
  887. package/dist/to-no-case.cjs +1 -0
  888. package/dist/to-no-case.d.cts +28 -0
  889. package/dist/to-no-case.d.ts +28 -0
  890. package/dist/to-no-case.js +1 -0
  891. package/dist/to-pascal-case.cjs +1 -0
  892. package/dist/to-pascal-case.d.cts +29 -0
  893. package/dist/to-pascal-case.d.ts +29 -0
  894. package/dist/to-pascal-case.js +1 -0
  895. package/dist/to-pascal-snake-case.cjs +1 -0
  896. package/dist/to-pascal-snake-case.d.cts +28 -0
  897. package/dist/to-pascal-snake-case.d.ts +28 -0
  898. package/dist/to-pascal-snake-case.js +1 -0
  899. package/dist/to-sentence-case.cjs +1 -0
  900. package/dist/to-sentence-case.d.cts +28 -0
  901. package/dist/to-sentence-case.d.ts +28 -0
  902. package/dist/to-sentence-case.js +1 -0
  903. package/dist/to-snake-case.cjs +1 -0
  904. package/dist/to-snake-case.d.cts +28 -0
  905. package/dist/to-snake-case.d.ts +28 -0
  906. package/dist/to-snake-case.js +1 -0
  907. package/dist/to-train-case.cjs +1 -0
  908. package/dist/to-train-case.d.cts +28 -0
  909. package/dist/to-train-case.d.ts +28 -0
  910. package/dist/to-train-case.js +1 -0
  911. package/dist/types-BMu1PIvo.d.cts +115 -0
  912. package/dist/types-BMu1PIvo.d.ts +115 -0
  913. package/dist/unique-by.cjs +1 -0
  914. package/dist/unique-by.d.cts +38 -0
  915. package/dist/unique-by.d.ts +38 -0
  916. package/dist/unique-by.js +1 -0
  917. package/dist/unique-with.cjs +1 -0
  918. package/dist/unique-with.d.cts +41 -0
  919. package/dist/unique-with.d.ts +41 -0
  920. package/dist/unique-with.js +1 -0
  921. package/dist/unique.cjs +1 -0
  922. package/dist/unique.d.cts +33 -0
  923. package/dist/unique.d.ts +33 -0
  924. package/dist/unique.js +1 -0
  925. package/dist/values.cjs +1 -0
  926. package/dist/values.d.cts +36 -0
  927. package/dist/values.d.ts +36 -0
  928. package/dist/values.js +1 -0
  929. package/dist/zip-with.cjs +1 -0
  930. package/dist/zip-with.d.cts +49 -0
  931. package/dist/zip-with.d.ts +49 -0
  932. package/dist/zip-with.js +1 -0
  933. package/dist/zip.cjs +1 -0
  934. package/dist/zip.d.cts +43 -0
  935. package/dist/zip.d.ts +43 -0
  936. package/dist/zip.js +1 -0
  937. package/package.json +25 -32
  938. package/dist/index.d.mts +0 -5992
  939. package/dist/index.mjs +0 -2146
  940. package/dist/metadata.json +0 -51145
@@ -0,0 +1,33 @@
1
+ import { I as IterableContainer } from './types-BMu1PIvo.cjs';
2
+ import 'type-fest';
3
+
4
+ type Only<T extends IterableContainer> = T extends readonly [...Array<unknown>, unknown, unknown] | readonly [] | readonly [unknown, ...Array<unknown>, unknown] | readonly [unknown, unknown, ...Array<unknown>] ? undefined : T extends readonly [unknown] ? T[number] : T[number] | undefined;
5
+ /**
6
+ * Returns the first and only element of `array`, or undefined otherwise.
7
+ *
8
+ * @param array - The target array.
9
+ * @signature
10
+ * P.only(array)
11
+ * @example
12
+ * P.only([]) // => undefined
13
+ * P.only([1]) // => 1
14
+ * P.only([1, 2]) // => undefined
15
+ * @dataFirst
16
+ * @category Array
17
+ */
18
+ declare function only<T extends IterableContainer>(array: Readonly<T>): Only<T>;
19
+ /**
20
+ * Returns the first and only element of `array`, or undefined otherwise.
21
+ *
22
+ * @signature
23
+ * P.only()(array)
24
+ * @example
25
+ * P.pipe([], P.only()); // => undefined
26
+ * P.pipe([1], P.only()); // => 1
27
+ * P.pipe([1, 2], P.only()); // => undefined
28
+ * @dataLast
29
+ * @category Array
30
+ */
31
+ declare function only<T extends IterableContainer>(): (array: Readonly<T>) => Only<T>;
32
+
33
+ export { only };
package/dist/only.d.ts ADDED
@@ -0,0 +1,33 @@
1
+ import { I as IterableContainer } from './types-BMu1PIvo.js';
2
+ import 'type-fest';
3
+
4
+ type Only<T extends IterableContainer> = T extends readonly [...Array<unknown>, unknown, unknown] | readonly [] | readonly [unknown, ...Array<unknown>, unknown] | readonly [unknown, unknown, ...Array<unknown>] ? undefined : T extends readonly [unknown] ? T[number] : T[number] | undefined;
5
+ /**
6
+ * Returns the first and only element of `array`, or undefined otherwise.
7
+ *
8
+ * @param array - The target array.
9
+ * @signature
10
+ * P.only(array)
11
+ * @example
12
+ * P.only([]) // => undefined
13
+ * P.only([1]) // => 1
14
+ * P.only([1, 2]) // => undefined
15
+ * @dataFirst
16
+ * @category Array
17
+ */
18
+ declare function only<T extends IterableContainer>(array: Readonly<T>): Only<T>;
19
+ /**
20
+ * Returns the first and only element of `array`, or undefined otherwise.
21
+ *
22
+ * @signature
23
+ * P.only()(array)
24
+ * @example
25
+ * P.pipe([], P.only()); // => undefined
26
+ * P.pipe([1], P.only()); // => 1
27
+ * P.pipe([1, 2], P.only()); // => undefined
28
+ * @dataLast
29
+ * @category Array
30
+ */
31
+ declare function only<T extends IterableContainer>(): (array: Readonly<T>) => Only<T>;
32
+
33
+ export { only };
package/dist/only.js ADDED
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-VNU4MGEF.js";import"./chunk-JFXZ246Y.js";import"./chunk-KQGY2DBY.js";export{a as only};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkTA5NVANUcjs = require('./chunk-TA5NVANU.cjs');require('./chunk-Y74ER22O.cjs');require('./chunk-7T4AVFYJ.cjs');exports.partition = _chunkTA5NVANUcjs.a;
@@ -0,0 +1,49 @@
1
+ /**
2
+ * Splits a collection into two groups, the first of which contains elements the
3
+ * `predicate` type guard passes, and the second one containing the rest.
4
+ *
5
+ * @param data - The items to split.
6
+ * @param predicate - A function to execute for each element in the array. It
7
+ * should return `true` to add the element to the first partition, and and
8
+ * `false` to add the element to the other partition. A type-predicate can also
9
+ * be used to narrow the result.
10
+ * @returns A 2-tuple of arrays where the first array contains the elements that
11
+ * passed the predicate, and the second array contains the elements that did
12
+ * not. The items are in the same order as they were in the original array.
13
+ * @signature
14
+ * P.partition(data, predicate)
15
+ * @example
16
+ * P.partition(
17
+ * ['one', 'two', 'forty two'],
18
+ * x => x.length === 3,
19
+ * ); // => [['one', 'two'], ['forty two']]
20
+ * @dataFirst
21
+ * @category Array
22
+ */
23
+ declare function partition<T, S extends T>(data: ReadonlyArray<T>, predicate: (value: T, index: number, data: ReadonlyArray<T>) => value is S): [Array<S>, Array<Exclude<T, S>>];
24
+ declare function partition<T>(data: ReadonlyArray<T>, predicate: (value: T, index: number, data: ReadonlyArray<T>) => boolean): [Array<T>, Array<T>];
25
+ /**
26
+ * Splits a collection into two groups, the first of which contains elements the
27
+ * `predicate` type guard passes, and the second one containing the rest.
28
+ *
29
+ * @param predicate - A function to execute for each element in the array. It
30
+ * should return `true` to add the element to the first partition, and and
31
+ * `false` to add the element to the other partition. A type-predicate can also
32
+ * be used to narrow the result.
33
+ * @returns A 2-tuple of arrays where the first array contains the elements that
34
+ * passed the predicate, and the second array contains the elements that did
35
+ * not. The items are in the same order as they were in the original array.
36
+ * @signature
37
+ * P.partition(predicate)(data)
38
+ * @example
39
+ * P.pipe(
40
+ * ['one', 'two', 'forty two'],
41
+ * P.partition(x => x.length === 3),
42
+ * ); // => [['one', 'two'], ['forty two']]
43
+ * @dataLast
44
+ * @category Array
45
+ */
46
+ declare function partition<T, S extends T>(predicate: (value: T, index: number, data: ReadonlyArray<T>) => value is S): (data: ReadonlyArray<T>) => [Array<S>, Array<Exclude<T, S>>];
47
+ declare function partition<T>(predicate: (value: T, index: number, data: ReadonlyArray<T>) => boolean): (data: ReadonlyArray<T>) => [Array<T>, Array<T>];
48
+
49
+ export { partition };
@@ -0,0 +1,49 @@
1
+ /**
2
+ * Splits a collection into two groups, the first of which contains elements the
3
+ * `predicate` type guard passes, and the second one containing the rest.
4
+ *
5
+ * @param data - The items to split.
6
+ * @param predicate - A function to execute for each element in the array. It
7
+ * should return `true` to add the element to the first partition, and and
8
+ * `false` to add the element to the other partition. A type-predicate can also
9
+ * be used to narrow the result.
10
+ * @returns A 2-tuple of arrays where the first array contains the elements that
11
+ * passed the predicate, and the second array contains the elements that did
12
+ * not. The items are in the same order as they were in the original array.
13
+ * @signature
14
+ * P.partition(data, predicate)
15
+ * @example
16
+ * P.partition(
17
+ * ['one', 'two', 'forty two'],
18
+ * x => x.length === 3,
19
+ * ); // => [['one', 'two'], ['forty two']]
20
+ * @dataFirst
21
+ * @category Array
22
+ */
23
+ declare function partition<T, S extends T>(data: ReadonlyArray<T>, predicate: (value: T, index: number, data: ReadonlyArray<T>) => value is S): [Array<S>, Array<Exclude<T, S>>];
24
+ declare function partition<T>(data: ReadonlyArray<T>, predicate: (value: T, index: number, data: ReadonlyArray<T>) => boolean): [Array<T>, Array<T>];
25
+ /**
26
+ * Splits a collection into two groups, the first of which contains elements the
27
+ * `predicate` type guard passes, and the second one containing the rest.
28
+ *
29
+ * @param predicate - A function to execute for each element in the array. It
30
+ * should return `true` to add the element to the first partition, and and
31
+ * `false` to add the element to the other partition. A type-predicate can also
32
+ * be used to narrow the result.
33
+ * @returns A 2-tuple of arrays where the first array contains the elements that
34
+ * passed the predicate, and the second array contains the elements that did
35
+ * not. The items are in the same order as they were in the original array.
36
+ * @signature
37
+ * P.partition(predicate)(data)
38
+ * @example
39
+ * P.pipe(
40
+ * ['one', 'two', 'forty two'],
41
+ * P.partition(x => x.length === 3),
42
+ * ); // => [['one', 'two'], ['forty two']]
43
+ * @dataLast
44
+ * @category Array
45
+ */
46
+ declare function partition<T, S extends T>(predicate: (value: T, index: number, data: ReadonlyArray<T>) => value is S): (data: ReadonlyArray<T>) => [Array<S>, Array<Exclude<T, S>>];
47
+ declare function partition<T>(predicate: (value: T, index: number, data: ReadonlyArray<T>) => boolean): (data: ReadonlyArray<T>) => [Array<T>, Array<T>];
48
+
49
+ export { partition };
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-PL6B6X5G.js";import"./chunk-JFXZ246Y.js";import"./chunk-KQGY2DBY.js";export{a as partition};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkJDWB2A3Scjs = require('./chunk-JDWB2A3S.cjs');require('./chunk-Y74ER22O.cjs');require('./chunk-7T4AVFYJ.cjs');exports.pathOr = _chunkJDWB2A3Scjs.a;
@@ -0,0 +1,79 @@
1
+ /**
2
+ * Given a union of indexable types `T`, we derive an indexable type
3
+ * containing all of the keys of each variant of `T`. If a key is
4
+ * present in multiple variants of `T`, then the corresponding type in
5
+ * `Pathable<T>` will be the intersection of all types for that key.
6
+ *
7
+ * @example
8
+ * type T1 = Pathable<{a: number} | {a: string; b: boolean}>
9
+ * // {a: number | string; b: boolean}
10
+ *
11
+ * type T2 = Pathable<{a?: {b: string}}
12
+ * // {a: {b: string} | undefined}
13
+ *
14
+ * type T3 = Pathable<{a: string} | number>
15
+ * // {a: string}
16
+ *
17
+ * type T4 = Pathable<{a: number} | {a: string} | {b: boolean}>
18
+ * // {a: number | string; b: boolean}
19
+ *
20
+ * This type lets us answer the questions:
21
+ * - Given some object of type `T`, what keys might this object have?
22
+ * - If this object did happen to have a particular key, what values
23
+ * might that key have?
24
+ */
25
+ type Pathable<T> = {
26
+ [K in AllKeys<T>]: TypesForKey<T, K>;
27
+ };
28
+ type AllKeys<T> = T extends infer I ? keyof I : never;
29
+ type TypesForKey<T, K extends PropertyKey> = T extends infer I ? K extends keyof I ? I[K] : never : never;
30
+ type StrictlyRequired<T> = {
31
+ [K in keyof T]-?: NonNullable<T[K]>;
32
+ };
33
+ /**
34
+ * Given some `A` which is a key of at least one variant of `T`, derive
35
+ * `T[A]` for the cases where `A` is present in `T`, and `T[A]` is not
36
+ * null or undefined.
37
+ */
38
+ type PathValue1<T, A extends keyof Pathable<T>> = StrictlyRequired<Pathable<T>>[A];
39
+ /** All possible options after successfully reaching `T[A]`. */
40
+ type Pathable1<T, A extends keyof Pathable<T>> = Pathable<PathValue1<T, A>>;
41
+ /** As `PathValue1`, but for `T[A][B]`. */
42
+ type PathValue2<T, A extends keyof Pathable<T>, B extends keyof Pathable1<T, A>> = StrictlyRequired<Pathable1<T, A>>[B];
43
+ /** As `Pathable1`, but for `T[A][B]`. */
44
+ type Pathable2<T, A extends keyof Pathable<T>, B extends keyof Pathable1<T, A>> = Pathable<PathValue2<T, A, B>>;
45
+ /** As `PathValue1`, but for `T[A][B][C]`. */
46
+ type PathValue3<T, A extends keyof Pathable<T>, B extends keyof Pathable1<T, A>, C extends keyof Pathable2<T, A, B>> = StrictlyRequired<Pathable2<T, A, B>>[C];
47
+ /**
48
+ * Gets the value at `path` of `object`. If the resolved value is `null` or `undefined`, the `defaultValue` is returned in its place.
49
+ *
50
+ * @param object - The target object.
51
+ * @param path - The path of the property to get.
52
+ * @param defaultValue - The default value.
53
+ * @signature P.pathOr(object, array, defaultValue)
54
+ * @example
55
+ * P.pathOr({x: 10}, ['y'], 2) // 2
56
+ * P.pathOr({y: 10}, ['y'], 2) // 10
57
+ * @dataFirst
58
+ * @category Object
59
+ */
60
+ declare function pathOr<T, A extends keyof Pathable<T>>(object: T, path: readonly [A], defaultValue: PathValue1<T, A>): PathValue1<T, A>;
61
+ declare function pathOr<T, A extends keyof Pathable<T>, B extends keyof Pathable1<T, A>>(object: T, path: readonly [A, B], defaultValue: PathValue2<T, A, B>): PathValue2<T, A, B>;
62
+ declare function pathOr<T, A extends keyof Pathable<T>, B extends keyof Pathable1<T, A>, C extends keyof Pathable2<T, A, B>>(object: T, path: readonly [A, B, C], defaultValue: PathValue3<T, A, B, C>): PathValue3<T, A, B, C>;
63
+ /**
64
+ * Gets the value at `path` of `object`. If the resolved value is `undefined`, the `defaultValue` is returned in its place.
65
+ *
66
+ * @param path - The path of the property to get.
67
+ * @param defaultValue - The default value.
68
+ * @signature P.pathOr(array, defaultValue)(object)
69
+ * @example
70
+ * P.pipe({x: 10}, P.pathOr(['y'], 2)) // 2
71
+ * P.pipe({y: 10}, P.pathOr(['y'], 2)) // 10
72
+ * @dataLast
73
+ * @category Object
74
+ */
75
+ declare function pathOr<T, A extends keyof Pathable<T>>(path: readonly [A], defaultValue: PathValue1<T, A>): (object: T) => PathValue1<T, A>;
76
+ declare function pathOr<T, A extends keyof Pathable<T>, B extends keyof Pathable1<T, A>>(path: readonly [A, B], defaultValue: PathValue2<T, A, B>): (object: T) => PathValue2<T, A, B>;
77
+ declare function pathOr<T, A extends keyof Pathable<T>, B extends keyof Pathable1<T, A>, C extends keyof Pathable2<T, A, B>>(path: readonly [A, B, C], defaultValue: PathValue3<T, A, B, C>): (object: T) => PathValue3<T, A, B, C>;
78
+
79
+ export { pathOr };
@@ -0,0 +1,79 @@
1
+ /**
2
+ * Given a union of indexable types `T`, we derive an indexable type
3
+ * containing all of the keys of each variant of `T`. If a key is
4
+ * present in multiple variants of `T`, then the corresponding type in
5
+ * `Pathable<T>` will be the intersection of all types for that key.
6
+ *
7
+ * @example
8
+ * type T1 = Pathable<{a: number} | {a: string; b: boolean}>
9
+ * // {a: number | string; b: boolean}
10
+ *
11
+ * type T2 = Pathable<{a?: {b: string}}
12
+ * // {a: {b: string} | undefined}
13
+ *
14
+ * type T3 = Pathable<{a: string} | number>
15
+ * // {a: string}
16
+ *
17
+ * type T4 = Pathable<{a: number} | {a: string} | {b: boolean}>
18
+ * // {a: number | string; b: boolean}
19
+ *
20
+ * This type lets us answer the questions:
21
+ * - Given some object of type `T`, what keys might this object have?
22
+ * - If this object did happen to have a particular key, what values
23
+ * might that key have?
24
+ */
25
+ type Pathable<T> = {
26
+ [K in AllKeys<T>]: TypesForKey<T, K>;
27
+ };
28
+ type AllKeys<T> = T extends infer I ? keyof I : never;
29
+ type TypesForKey<T, K extends PropertyKey> = T extends infer I ? K extends keyof I ? I[K] : never : never;
30
+ type StrictlyRequired<T> = {
31
+ [K in keyof T]-?: NonNullable<T[K]>;
32
+ };
33
+ /**
34
+ * Given some `A` which is a key of at least one variant of `T`, derive
35
+ * `T[A]` for the cases where `A` is present in `T`, and `T[A]` is not
36
+ * null or undefined.
37
+ */
38
+ type PathValue1<T, A extends keyof Pathable<T>> = StrictlyRequired<Pathable<T>>[A];
39
+ /** All possible options after successfully reaching `T[A]`. */
40
+ type Pathable1<T, A extends keyof Pathable<T>> = Pathable<PathValue1<T, A>>;
41
+ /** As `PathValue1`, but for `T[A][B]`. */
42
+ type PathValue2<T, A extends keyof Pathable<T>, B extends keyof Pathable1<T, A>> = StrictlyRequired<Pathable1<T, A>>[B];
43
+ /** As `Pathable1`, but for `T[A][B]`. */
44
+ type Pathable2<T, A extends keyof Pathable<T>, B extends keyof Pathable1<T, A>> = Pathable<PathValue2<T, A, B>>;
45
+ /** As `PathValue1`, but for `T[A][B][C]`. */
46
+ type PathValue3<T, A extends keyof Pathable<T>, B extends keyof Pathable1<T, A>, C extends keyof Pathable2<T, A, B>> = StrictlyRequired<Pathable2<T, A, B>>[C];
47
+ /**
48
+ * Gets the value at `path` of `object`. If the resolved value is `null` or `undefined`, the `defaultValue` is returned in its place.
49
+ *
50
+ * @param object - The target object.
51
+ * @param path - The path of the property to get.
52
+ * @param defaultValue - The default value.
53
+ * @signature P.pathOr(object, array, defaultValue)
54
+ * @example
55
+ * P.pathOr({x: 10}, ['y'], 2) // 2
56
+ * P.pathOr({y: 10}, ['y'], 2) // 10
57
+ * @dataFirst
58
+ * @category Object
59
+ */
60
+ declare function pathOr<T, A extends keyof Pathable<T>>(object: T, path: readonly [A], defaultValue: PathValue1<T, A>): PathValue1<T, A>;
61
+ declare function pathOr<T, A extends keyof Pathable<T>, B extends keyof Pathable1<T, A>>(object: T, path: readonly [A, B], defaultValue: PathValue2<T, A, B>): PathValue2<T, A, B>;
62
+ declare function pathOr<T, A extends keyof Pathable<T>, B extends keyof Pathable1<T, A>, C extends keyof Pathable2<T, A, B>>(object: T, path: readonly [A, B, C], defaultValue: PathValue3<T, A, B, C>): PathValue3<T, A, B, C>;
63
+ /**
64
+ * Gets the value at `path` of `object`. If the resolved value is `undefined`, the `defaultValue` is returned in its place.
65
+ *
66
+ * @param path - The path of the property to get.
67
+ * @param defaultValue - The default value.
68
+ * @signature P.pathOr(array, defaultValue)(object)
69
+ * @example
70
+ * P.pipe({x: 10}, P.pathOr(['y'], 2)) // 2
71
+ * P.pipe({y: 10}, P.pathOr(['y'], 2)) // 10
72
+ * @dataLast
73
+ * @category Object
74
+ */
75
+ declare function pathOr<T, A extends keyof Pathable<T>>(path: readonly [A], defaultValue: PathValue1<T, A>): (object: T) => PathValue1<T, A>;
76
+ declare function pathOr<T, A extends keyof Pathable<T>, B extends keyof Pathable1<T, A>>(path: readonly [A, B], defaultValue: PathValue2<T, A, B>): (object: T) => PathValue2<T, A, B>;
77
+ declare function pathOr<T, A extends keyof Pathable<T>, B extends keyof Pathable1<T, A>, C extends keyof Pathable2<T, A, B>>(path: readonly [A, B, C], defaultValue: PathValue3<T, A, B, C>): (object: T) => PathValue3<T, A, B, C>;
78
+
79
+ export { pathOr };
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-D7G6PMA5.js";import"./chunk-JFXZ246Y.js";import"./chunk-KQGY2DBY.js";export{a as pathOr};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkGXVKH5OXcjs = require('./chunk-GXVKH5OX.cjs');require('./chunk-Y74ER22O.cjs');require('./chunk-7T4AVFYJ.cjs');exports.pickBy = _chunkGXVKH5OXcjs.a;
@@ -0,0 +1,70 @@
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 EnumerableKey<T> = `${T extends number | string ? T : never}`;
5
+ type EnumeratedPartial<T> = T extends unknown ? Simplify<IfBoundedRecord<T, {
6
+ -readonly [P in keyof T as EnumerableKey<P>]?: Required<T>[P];
7
+ }, ReconstructedRecord<T>>> : never;
8
+ type EnumeratedPartialNarrowed<T, S> = Simplify<ExactProps<T, S> & PartialProps<T, S>>;
9
+ type ExactProps<T, S> = {
10
+ -readonly [P in keyof T as EnumerableKey<IsExactProp<T, P, S> extends true ? P : never>]: Extract<Required<T>[P], S>;
11
+ };
12
+ type PartialProps<T, S> = {
13
+ -readonly [P in keyof T as EnumerableKey<IsPartialProp<T, P, S> extends true ? P : never>]?: IfNever<Extract<T[P], S>, S extends T[P] ? S : never, Extract<T[P], S>>;
14
+ };
15
+ type IsExactProp<T, P extends keyof T, S> = T[P] extends Extract<T[P], S> ? true : false;
16
+ type IsPartialProp<T, P extends keyof T, S> = IsExactProp<T, P, S> extends true ? false : IfNever<Extract<T[P], S>, S extends T[P] ? true : false, true>;
17
+ /**
18
+ * Iterates over the entries of `data` and reconstructs the object using only
19
+ * entries that `predicate` accepts. Symbol keys are not passed to the predicate
20
+ * and would be filtered out from the output object.
21
+ *
22
+ * See `omitBy` for a complementary function which starts with a shallow copy of
23
+ * the input object and removes the entries that the predicate rejects. Because
24
+ * it is subtractive symbol keys would be copied over to the output object.
25
+ * See also `entries`, `filter`, and `fromEntries` which could be used to build
26
+ * your own version of `pickBy` if you need more control (though the resulting
27
+ * type might be less precise).
28
+ *
29
+ * @param data - The target object.
30
+ * @param predicate - A function that takes the value, key, and the data itself
31
+ * and returns true if the entry should be part of the output object, or `false`
32
+ * to remove it. If the function is a type-guard on the value the output type
33
+ * would be narrowed accordingly.
34
+ * @returns A shallow copy of the input object with the rejected entries
35
+ * removed.
36
+ * @signature P.pickBy(data, predicate)
37
+ * @example
38
+ * P.pickBy({a: 1, b: 2, A: 3, B: 4}, (val, key) => key.toUpperCase() === key) // => {A: 3, B: 4}
39
+ * @dataFirst
40
+ * @category Object
41
+ */
42
+ declare function pickBy<T extends object, S extends EnumerableStringKeyedValueOf<T>>(data: T, predicate: (value: EnumerableStringKeyedValueOf<T>, key: EnumerableStringKeyOf<T>, data: T) => value is S): EnumeratedPartialNarrowed<T, S>;
43
+ declare function pickBy<T extends object>(data: T, predicate: (value: EnumerableStringKeyedValueOf<T>, key: EnumerableStringKeyOf<T>, data: T) => boolean): EnumeratedPartial<T>;
44
+ /**
45
+ * Iterates over the entries of `data` and reconstructs the object using only
46
+ * entries that `predicate` accepts. Symbol keys are not passed to the predicate
47
+ * and would be filtered out from the output object.
48
+ *
49
+ * See `omitBy` for a complementary function which starts with a shallow copy of
50
+ * the input object and removes the entries that the predicate rejects. Because
51
+ * it is subtractive symbol keys would be copied over to the output object.
52
+ * See also `entries`, `filter`, and `fromEntries` which could be used to build
53
+ * your own version of `pickBy` if you need more control (though the resulting
54
+ * type might be less precise).
55
+ *
56
+ * @param predicate - A function that takes the value, key, and the data itself
57
+ * and returns true if the entry should be part of the output object, or `false`
58
+ * to remove it. If the function is a type-guard on the value the output type
59
+ * would be narrowed accordingly.
60
+ * @signature
61
+ * P.pickBy(predicate)(data)
62
+ * @example
63
+ * P.pipe({a: 1, b: 2, A: 3, B: 4}, pickBy((val, key) => key.toUpperCase() === key)); // => {A: 3, B: 4}
64
+ * @dataLast
65
+ * @category Object
66
+ */
67
+ declare function pickBy<T extends object, S extends EnumerableStringKeyedValueOf<T>>(predicate: (value: EnumerableStringKeyedValueOf<T>, key: EnumerableStringKeyOf<T>, data: T) => value is S): (data: T) => EnumeratedPartialNarrowed<T, S>;
68
+ declare function pickBy<T extends object>(predicate: (value: EnumerableStringKeyedValueOf<T>, key: EnumerableStringKeyOf<T>, data: T) => boolean): (data: T) => EnumeratedPartial<T>;
69
+
70
+ export { pickBy };
@@ -0,0 +1,70 @@
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 EnumerableKey<T> = `${T extends number | string ? T : never}`;
5
+ type EnumeratedPartial<T> = T extends unknown ? Simplify<IfBoundedRecord<T, {
6
+ -readonly [P in keyof T as EnumerableKey<P>]?: Required<T>[P];
7
+ }, ReconstructedRecord<T>>> : never;
8
+ type EnumeratedPartialNarrowed<T, S> = Simplify<ExactProps<T, S> & PartialProps<T, S>>;
9
+ type ExactProps<T, S> = {
10
+ -readonly [P in keyof T as EnumerableKey<IsExactProp<T, P, S> extends true ? P : never>]: Extract<Required<T>[P], S>;
11
+ };
12
+ type PartialProps<T, S> = {
13
+ -readonly [P in keyof T as EnumerableKey<IsPartialProp<T, P, S> extends true ? P : never>]?: IfNever<Extract<T[P], S>, S extends T[P] ? S : never, Extract<T[P], S>>;
14
+ };
15
+ type IsExactProp<T, P extends keyof T, S> = T[P] extends Extract<T[P], S> ? true : false;
16
+ type IsPartialProp<T, P extends keyof T, S> = IsExactProp<T, P, S> extends true ? false : IfNever<Extract<T[P], S>, S extends T[P] ? true : false, true>;
17
+ /**
18
+ * Iterates over the entries of `data` and reconstructs the object using only
19
+ * entries that `predicate` accepts. Symbol keys are not passed to the predicate
20
+ * and would be filtered out from the output object.
21
+ *
22
+ * See `omitBy` for a complementary function which starts with a shallow copy of
23
+ * the input object and removes the entries that the predicate rejects. Because
24
+ * it is subtractive symbol keys would be copied over to the output object.
25
+ * See also `entries`, `filter`, and `fromEntries` which could be used to build
26
+ * your own version of `pickBy` if you need more control (though the resulting
27
+ * type might be less precise).
28
+ *
29
+ * @param data - The target object.
30
+ * @param predicate - A function that takes the value, key, and the data itself
31
+ * and returns true if the entry should be part of the output object, or `false`
32
+ * to remove it. If the function is a type-guard on the value the output type
33
+ * would be narrowed accordingly.
34
+ * @returns A shallow copy of the input object with the rejected entries
35
+ * removed.
36
+ * @signature P.pickBy(data, predicate)
37
+ * @example
38
+ * P.pickBy({a: 1, b: 2, A: 3, B: 4}, (val, key) => key.toUpperCase() === key) // => {A: 3, B: 4}
39
+ * @dataFirst
40
+ * @category Object
41
+ */
42
+ declare function pickBy<T extends object, S extends EnumerableStringKeyedValueOf<T>>(data: T, predicate: (value: EnumerableStringKeyedValueOf<T>, key: EnumerableStringKeyOf<T>, data: T) => value is S): EnumeratedPartialNarrowed<T, S>;
43
+ declare function pickBy<T extends object>(data: T, predicate: (value: EnumerableStringKeyedValueOf<T>, key: EnumerableStringKeyOf<T>, data: T) => boolean): EnumeratedPartial<T>;
44
+ /**
45
+ * Iterates over the entries of `data` and reconstructs the object using only
46
+ * entries that `predicate` accepts. Symbol keys are not passed to the predicate
47
+ * and would be filtered out from the output object.
48
+ *
49
+ * See `omitBy` for a complementary function which starts with a shallow copy of
50
+ * the input object and removes the entries that the predicate rejects. Because
51
+ * it is subtractive symbol keys would be copied over to the output object.
52
+ * See also `entries`, `filter`, and `fromEntries` which could be used to build
53
+ * your own version of `pickBy` if you need more control (though the resulting
54
+ * type might be less precise).
55
+ *
56
+ * @param predicate - A function that takes the value, key, and the data itself
57
+ * and returns true if the entry should be part of the output object, or `false`
58
+ * to remove it. If the function is a type-guard on the value the output type
59
+ * would be narrowed accordingly.
60
+ * @signature
61
+ * P.pickBy(predicate)(data)
62
+ * @example
63
+ * P.pipe({a: 1, b: 2, A: 3, B: 4}, pickBy((val, key) => key.toUpperCase() === key)); // => {A: 3, B: 4}
64
+ * @dataLast
65
+ * @category Object
66
+ */
67
+ declare function pickBy<T extends object, S extends EnumerableStringKeyedValueOf<T>>(predicate: (value: EnumerableStringKeyedValueOf<T>, key: EnumerableStringKeyOf<T>, data: T) => value is S): (data: T) => EnumeratedPartialNarrowed<T, S>;
68
+ declare function pickBy<T extends object>(predicate: (value: EnumerableStringKeyedValueOf<T>, key: EnumerableStringKeyOf<T>, data: T) => boolean): (data: T) => EnumeratedPartial<T>;
69
+
70
+ export { pickBy };
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-LWPEZ7RI.js";import"./chunk-JFXZ246Y.js";import"./chunk-KQGY2DBY.js";export{a as pickBy};
package/dist/pick.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkE6MBOCICcjs = require('./chunk-E6MBOCIC.cjs');require('./chunk-Y74ER22O.cjs');require('./chunk-7T4AVFYJ.cjs');exports.pick = _chunkE6MBOCICcjs.a;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Creates an object composed of the picked `object` properties.
3
+ *
4
+ * @param names - The properties names.
5
+ * @signature P.pick([prop1, prop2])(object)
6
+ * @example
7
+ * P.pipe({ a: 1, b: 2, c: 3, d: 4 }, P.pick(['a', 'd'])) // => { a: 1, d: 4 }
8
+ * @dataLast
9
+ * @category Object
10
+ */
11
+ declare function pick<T extends object, K extends keyof T>(names: ReadonlyArray<K>): (object: T) => Pick<T, K>;
12
+ /**
13
+ * Creates an object composed of the picked `object` properties.
14
+ *
15
+ * @param object - The target object.
16
+ * @param names - The properties names.
17
+ * @signature P.pick(object, [prop1, prop2])
18
+ * @example
19
+ * P.pick({ a: 1, b: 2, c: 3, d: 4 }, ['a', 'd']) // => { a: 1, d: 4 }
20
+ * @dataFirst
21
+ * @category Object
22
+ */
23
+ declare function pick<T extends object, K extends keyof T>(object: T, names: ReadonlyArray<K>): Pick<T, K>;
24
+
25
+ export { pick };
package/dist/pick.d.ts ADDED
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Creates an object composed of the picked `object` properties.
3
+ *
4
+ * @param names - The properties names.
5
+ * @signature P.pick([prop1, prop2])(object)
6
+ * @example
7
+ * P.pipe({ a: 1, b: 2, c: 3, d: 4 }, P.pick(['a', 'd'])) // => { a: 1, d: 4 }
8
+ * @dataLast
9
+ * @category Object
10
+ */
11
+ declare function pick<T extends object, K extends keyof T>(names: ReadonlyArray<K>): (object: T) => Pick<T, K>;
12
+ /**
13
+ * Creates an object composed of the picked `object` properties.
14
+ *
15
+ * @param object - The target object.
16
+ * @param names - The properties names.
17
+ * @signature P.pick(object, [prop1, prop2])
18
+ * @example
19
+ * P.pick({ a: 1, b: 2, c: 3, d: 4 }, ['a', 'd']) // => { a: 1, d: 4 }
20
+ * @dataFirst
21
+ * @category Object
22
+ */
23
+ declare function pick<T extends object, K extends keyof T>(object: T, names: ReadonlyArray<K>): Pick<T, K>;
24
+
25
+ export { pick };
package/dist/pick.js ADDED
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-ZUNMUNQT.js";import"./chunk-JFXZ246Y.js";import"./chunk-KQGY2DBY.js";export{a as pick};
package/dist/pipe.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkI6VXEY44cjs = require('./chunk-I6VXEY44.cjs');require('./chunk-3X6SAJDQ.cjs');exports.pipe = _chunkI6VXEY44cjs.a;
@@ -0,0 +1,60 @@
1
+ type LazyEvaluator<T = unknown, R = T> = (item: T, index: number, data: ReadonlyArray<T>) => LazyResult<R>;
2
+ type LazyResult<T> = LazyEmpty | LazyMany<T> | LazyNext<T>;
3
+ interface LazyEmpty {
4
+ done: boolean;
5
+ hasMany?: false | undefined;
6
+ hasNext: false;
7
+ next?: undefined;
8
+ }
9
+ interface LazyNext<T> {
10
+ done: boolean;
11
+ hasMany?: false | undefined;
12
+ hasNext: true;
13
+ next: T;
14
+ }
15
+ interface LazyMany<T> {
16
+ done: boolean;
17
+ hasMany: true;
18
+ hasNext: true;
19
+ next: ReadonlyArray<T>;
20
+ }
21
+ type LazyFn = (value: unknown, index: number, items: ReadonlyArray<unknown>) => LazyResult<unknown>;
22
+ interface LazyMeta {
23
+ readonly single?: boolean;
24
+ }
25
+ interface LazyDefinition {
26
+ readonly lazy: LazyMeta & ((...args: any) => LazyFn);
27
+ readonly lazyArgs: ReadonlyArray<unknown>;
28
+ }
29
+ /**
30
+ * Perform left-to-right function composition.
31
+ *
32
+ * @param value - The initial value.
33
+ * @param operations - The list of operations to apply.
34
+ * @signature P.pipe(data, op1, op2, op3)
35
+ * @example
36
+ * P.pipe(
37
+ * [1, 2, 3, 4],
38
+ * P.map(x => x * 2),
39
+ * arr => [arr[0] + arr[1], arr[2] + arr[3]],
40
+ * ) // => [6, 14]
41
+ * @dataFirst
42
+ * @category Function
43
+ */
44
+ declare function pipe<A, B>(value: A, op1: (input: A) => B): B;
45
+ declare function pipe<A, B, C>(value: A, op1: (input: A) => B, op2: (input: B) => C): C;
46
+ declare function pipe<A, B, C, D>(value: A, op1: (input: A) => B, op2: (input: B) => C, op3: (input: C) => D): D;
47
+ declare function pipe<A, B, C, D, E>(value: A, op1: (input: A) => B, op2: (input: B) => C, op3: (input: C) => D, op4: (input: D) => E): E;
48
+ declare function pipe<A, B, C, D, E, F>(value: A, op1: (input: A) => B, op2: (input: B) => C, op3: (input: C) => D, op4: (input: D) => E, op5: (input: E) => F): F;
49
+ declare function pipe<A, B, C, D, E, F, G>(value: A, op1: (input: A) => B, op2: (input: B) => C, op3: (input: C) => D, op4: (input: D) => E, op5: (input: E) => F, op6: (input: F) => G): G;
50
+ declare function pipe<A, B, C, D, E, F, G, H>(value: A, op1: (input: A) => B, op2: (input: B) => C, op3: (input: C) => D, op4: (input: D) => E, op5: (input: E) => F, op6: (input: F) => G, op7: (input: G) => H): H;
51
+ declare function pipe<A, B, C, D, E, F, G, H, I>(value: A, op1: (input: A) => B, op2: (input: B) => C, op3: (input: C) => D, op4: (input: D) => E, op5: (input: E) => F, op6: (input: F) => G, op7: (input: G) => H, op8: (input: H) => I): I;
52
+ declare function pipe<A, B, C, D, E, F, G, H, I, J>(value: A, op1: (input: A) => B, op2: (input: B) => C, op3: (input: C) => D, op4: (input: D) => E, op5: (input: E) => F, op6: (input: F) => G, op7: (input: G) => H, op8: (input: H) => I, op9: (input: I) => J): J;
53
+ declare function pipe<A, B, C, D, E, F, G, H, I, J, K>(value: A, op01: (input: A) => B, op02: (input: B) => C, op03: (input: C) => D, op04: (input: D) => E, op05: (input: E) => F, op06: (input: F) => G, op07: (input: G) => H, op08: (input: H) => I, op09: (input: I) => J, op10: (input: J) => K): K;
54
+ declare function pipe<A, B, C, D, E, F, G, H, I, J, K, L>(value: A, op01: (input: A) => B, op02: (input: B) => C, op03: (input: C) => D, op04: (input: D) => E, op05: (input: E) => F, op06: (input: F) => G, op07: (input: G) => H, op08: (input: H) => I, op09: (input: I) => J, op10: (input: J) => K, op11: (input: K) => L): L;
55
+ declare function pipe<A, B, C, D, E, F, G, H, I, J, K, L, M>(value: A, op01: (input: A) => B, op02: (input: B) => C, op03: (input: C) => D, op04: (input: D) => E, op05: (input: E) => F, op06: (input: F) => G, op07: (input: G) => H, op08: (input: H) => I, op09: (input: I) => J, op10: (input: J) => K, op11: (input: K) => L, op12: (input: L) => M): M;
56
+ declare function pipe<A, B, C, D, E, F, G, H, I, J, K, L, M, N>(value: A, op01: (input: A) => B, op02: (input: B) => C, op03: (input: C) => D, op04: (input: D) => E, op05: (input: E) => F, op06: (input: F) => G, op07: (input: G) => H, op08: (input: H) => I, op09: (input: I) => J, op10: (input: J) => K, op11: (input: K) => L, op12: (input: L) => M, op13: (input: M) => N): N;
57
+ declare function pipe<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O>(value: A, op01: (input: A) => B, op02: (input: B) => C, op03: (input: C) => D, op04: (input: D) => E, op05: (input: E) => F, op06: (input: F) => G, op07: (input: G) => H, op08: (input: H) => I, op09: (input: I) => J, op10: (input: J) => K, op11: (input: K) => L, op12: (input: L) => M, op13: (input: M) => N, op14: (input: N) => O): O;
58
+ declare function pipe<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>(value: A, op01: (input: A) => B, op02: (input: B) => C, op03: (input: C) => D, op04: (input: D) => E, op05: (input: E) => F, op06: (input: F) => G, op07: (input: G) => H, op08: (input: H) => I, op09: (input: I) => J, op10: (input: J) => K, op11: (input: K) => L, op12: (input: L) => M, op13: (input: M) => N, op14: (input: N) => O, op15: (input: O) => P): P;
59
+
60
+ export { type LazyDefinition, type LazyEvaluator, type LazyResult, pipe };