@stryke/helpers 0.9.15 → 0.9.23

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 (394) hide show
  1. package/CHANGELOG.md +427 -0
  2. package/README.md +33 -25
  3. package/dist/{arg-identity.d.ts → arg-identity-BIir8uzO.d.mts} +5 -1
  4. package/dist/arg-identity-BIir8uzO.d.mts.map +1 -0
  5. package/dist/arg-identity-BfviduMt.mjs +2 -0
  6. package/dist/arg-identity-BfviduMt.mjs.map +1 -0
  7. package/dist/arg-identity-C-pVjd0u.d.cts +14 -0
  8. package/dist/arg-identity-C-pVjd0u.d.cts.map +1 -0
  9. package/dist/arg-identity-dlKw6BsD.cjs +1 -0
  10. package/dist/arg-identity.cjs +1 -9
  11. package/dist/arg-identity.d.cts +2 -0
  12. package/dist/arg-identity.d.mts +2 -0
  13. package/dist/arg-identity.mjs +1 -1
  14. package/dist/debounce-C5O3IDKy.mjs +2 -0
  15. package/dist/debounce-C5O3IDKy.mjs.map +1 -0
  16. package/dist/{debounce.d.ts → debounce-CIMf8-Yr.d.mts} +10 -4
  17. package/dist/debounce-CIMf8-Yr.d.mts.map +1 -0
  18. package/dist/debounce-CLb-VvJv.d.cts +47 -0
  19. package/dist/debounce-CLb-VvJv.d.cts.map +1 -0
  20. package/dist/debounce-SIYbhEOF.cjs +1 -0
  21. package/dist/debounce.cjs +1 -24
  22. package/dist/debounce.d.cts +2 -0
  23. package/dist/debounce.d.mts +2 -0
  24. package/dist/debounce.mjs +1 -1
  25. package/dist/deep-clone-BlN5QTtW.mjs +2 -0
  26. package/dist/deep-clone-BlN5QTtW.mjs.map +1 -0
  27. package/dist/deep-clone-CoUy-Hrt.cjs +1 -0
  28. package/dist/{deep-clone.d.ts → deep-clone-CpLJcTgz.d.mts} +11 -12
  29. package/dist/deep-clone-CpLJcTgz.d.mts.map +1 -0
  30. package/dist/deep-clone-jRNy1xoj.d.cts +65 -0
  31. package/dist/deep-clone-jRNy1xoj.d.cts.map +1 -0
  32. package/dist/deep-clone.cjs +1 -62
  33. package/dist/deep-clone.d.cts +2 -0
  34. package/dist/deep-clone.d.mts +2 -0
  35. package/dist/deep-clone.mjs +1 -1
  36. package/dist/deep-merge-BDZ6c79O.mjs +2 -0
  37. package/dist/deep-merge-BDZ6c79O.mjs.map +1 -0
  38. package/dist/deep-merge-BpFjvumi.cjs +1 -0
  39. package/dist/deep-merge-C9qDSleg.d.cts +26 -0
  40. package/dist/deep-merge-C9qDSleg.d.cts.map +1 -0
  41. package/dist/deep-merge-eCT712Cv.d.mts +26 -0
  42. package/dist/deep-merge-eCT712Cv.d.mts.map +1 -0
  43. package/dist/deep-merge.cjs +1 -36
  44. package/dist/deep-merge.d.cts +2 -0
  45. package/dist/deep-merge.d.mts +2 -0
  46. package/dist/deep-merge.mjs +1 -1
  47. package/dist/{delay.d.ts → delay-Bd_sGzMj.d.mts} +9 -4
  48. package/dist/delay-Bd_sGzMj.d.mts.map +1 -0
  49. package/dist/delay-UwR_fCwt.cjs +1 -0
  50. package/dist/delay-VkcrQf1l.d.cts +77 -0
  51. package/dist/delay-VkcrQf1l.d.cts.map +1 -0
  52. package/dist/delay-wdNbY6sk.mjs +2 -0
  53. package/dist/delay-wdNbY6sk.mjs.map +1 -0
  54. package/dist/delay.cjs +1 -28
  55. package/dist/delay.d.cts +2 -0
  56. package/dist/delay.d.mts +2 -0
  57. package/dist/delay.mjs +1 -1
  58. package/dist/errors-BXYY8wXj.cjs +1 -0
  59. package/dist/errors-DWX9ET_b.mjs +2 -0
  60. package/dist/errors-DWX9ET_b.mjs.map +1 -0
  61. package/dist/errors.cjs +1 -18
  62. package/dist/errors.d.cts +16 -0
  63. package/dist/errors.d.cts.map +1 -0
  64. package/dist/errors.d.mts +16 -0
  65. package/dist/errors.d.mts.map +1 -0
  66. package/dist/errors.mjs +1 -1
  67. package/dist/filter-empty-5_nMg04e.cjs +1 -0
  68. package/dist/filter-empty-BMtd0K07.d.mts +5 -0
  69. package/dist/filter-empty-BMtd0K07.d.mts.map +1 -0
  70. package/dist/filter-empty-C2fq9M7o.d.cts +5 -0
  71. package/dist/filter-empty-C2fq9M7o.d.cts.map +1 -0
  72. package/dist/filter-empty-Dsc1ymCj.mjs +2 -0
  73. package/dist/filter-empty-Dsc1ymCj.mjs.map +1 -0
  74. package/dist/filter-empty.cjs +1 -9
  75. package/dist/filter-empty.d.cts +2 -0
  76. package/dist/filter-empty.d.mts +2 -0
  77. package/dist/filter-empty.mjs +1 -1
  78. package/dist/{flatten-object.d.ts → flatten-object-Bk2VT-b2.d.mts} +8 -6
  79. package/dist/flatten-object-Bk2VT-b2.d.mts.map +1 -0
  80. package/dist/flatten-object-D-EbEZqR.cjs +1 -0
  81. package/dist/flatten-object-DFCZmly9.mjs +2 -0
  82. package/dist/flatten-object-DFCZmly9.mjs.map +1 -0
  83. package/dist/{unflatten-object.d.ts → flatten-object-DjaJJaY0.d.cts} +8 -6
  84. package/dist/flatten-object-DjaJJaY0.d.cts.map +1 -0
  85. package/dist/flatten-object.cjs +1 -20
  86. package/dist/flatten-object.d.cts +2 -0
  87. package/dist/flatten-object.d.mts +2 -0
  88. package/dist/flatten-object.mjs +1 -1
  89. package/dist/{get-field.d.ts → get-field-5XqtknPs.d.mts} +25 -22
  90. package/dist/get-field-5XqtknPs.d.mts.map +1 -0
  91. package/dist/get-field-D4F_p-Ov.cjs +1 -0
  92. package/dist/get-field-ngQ9O38X.mjs +2 -0
  93. package/dist/get-field-ngQ9O38X.mjs.map +1 -0
  94. package/dist/get-field-oltWWNRO.d.cts +254 -0
  95. package/dist/get-field-oltWWNRO.d.cts.map +1 -0
  96. package/dist/get-field.cjs +1 -43
  97. package/dist/get-field.d.cts +2 -0
  98. package/dist/get-field.d.mts +2 -0
  99. package/dist/get-field.mjs +1 -1
  100. package/dist/get-object-tag-D53RvMgo.cjs +1 -0
  101. package/dist/get-object-tag-oBoWkttN.mjs +2 -0
  102. package/dist/get-object-tag-oBoWkttN.mjs.map +1 -0
  103. package/dist/{get-ordered-by.d.ts → get-ordered-by-C45FfW2T.d.mts} +5 -2
  104. package/dist/get-ordered-by-C45FfW2T.d.mts.map +1 -0
  105. package/dist/get-ordered-by-CBKKJr4R.mjs +2 -0
  106. package/dist/get-ordered-by-CBKKJr4R.mjs.map +1 -0
  107. package/dist/get-ordered-by-D2Sr6vUN.cjs +1 -0
  108. package/dist/get-ordered-by-DuD7QRma.d.cts +39 -0
  109. package/dist/get-ordered-by-DuD7QRma.d.cts.map +1 -0
  110. package/dist/get-ordered-by.cjs +1 -18
  111. package/dist/get-ordered-by.d.cts +2 -0
  112. package/dist/get-ordered-by.d.mts +2 -0
  113. package/dist/get-ordered-by.mjs +1 -1
  114. package/dist/get-unique-BOiakY6A.cjs +1 -0
  115. package/dist/{get-unique.d.ts → get-unique-C0SBPUBv.d.cts} +6 -2
  116. package/dist/get-unique-C0SBPUBv.d.cts.map +1 -0
  117. package/dist/get-unique-DZ6E1Kvc.d.mts +26 -0
  118. package/dist/get-unique-DZ6E1Kvc.d.mts.map +1 -0
  119. package/dist/get-unique-DzZ7Z34U.mjs +2 -0
  120. package/dist/get-unique-DzZ7Z34U.mjs.map +1 -0
  121. package/dist/get-unique.cjs +1 -17
  122. package/dist/get-unique.d.cts +2 -0
  123. package/dist/get-unique.d.mts +2 -0
  124. package/dist/get-unique.mjs +1 -1
  125. package/dist/{identity.d.ts → identity-B_cGeF8o.d.mts} +5 -1
  126. package/dist/identity-B_cGeF8o.d.mts.map +1 -0
  127. package/dist/identity-DBwwvmGU.mjs +2 -0
  128. package/dist/identity-DBwwvmGU.mjs.map +1 -0
  129. package/dist/identity-DRhIvbPG.d.cts +18 -0
  130. package/dist/identity-DRhIvbPG.d.cts.map +1 -0
  131. package/dist/identity-z2xaIqpe.cjs +1 -0
  132. package/dist/identity.cjs +1 -9
  133. package/dist/identity.d.cts +2 -0
  134. package/dist/identity.d.mts +2 -0
  135. package/dist/identity.mjs +1 -1
  136. package/dist/index.cjs +1 -346
  137. package/dist/index.d.cts +32 -0
  138. package/dist/index.d.mts +32 -0
  139. package/dist/index.mjs +1 -1
  140. package/dist/is-empty-C7vlSVFD.mjs +2 -0
  141. package/dist/is-empty-C7vlSVFD.mjs.map +1 -0
  142. package/dist/is-empty-DZZDqzjD.cjs +1 -0
  143. package/dist/is-equal-0Z-K2uIG.mjs +2 -0
  144. package/dist/is-equal-0Z-K2uIG.mjs.map +1 -0
  145. package/dist/is-equal-BJgVhUVS.cjs +1 -0
  146. package/dist/{is-equal.d.ts → is-equal-BMlMHlVi.d.cts} +5 -1
  147. package/dist/is-equal-BMlMHlVi.d.cts.map +1 -0
  148. package/dist/is-equal-Baqurdpn.d.mts +22 -0
  149. package/dist/is-equal-Baqurdpn.d.mts.map +1 -0
  150. package/dist/is-equal.cjs +1 -61
  151. package/dist/is-equal.d.cts +2 -0
  152. package/dist/is-equal.d.mts +2 -0
  153. package/dist/is-equal.mjs +1 -1
  154. package/dist/is-number-BcjxCzDM.cjs +1 -0
  155. package/dist/is-number-bwhfkHlC.mjs +2 -0
  156. package/dist/is-number-bwhfkHlC.mjs.map +1 -0
  157. package/dist/is-plain-object-BQuFhL4M.cjs +1 -0
  158. package/dist/is-plain-object-D8GSMOhY.mjs +2 -0
  159. package/dist/is-plain-object-D8GSMOhY.mjs.map +1 -0
  160. package/dist/is-set-B9o0NIT4.mjs +2 -0
  161. package/dist/is-set-B9o0NIT4.mjs.map +1 -0
  162. package/dist/is-set-ByJOY6h2.cjs +1 -0
  163. package/dist/is-set-string-48_jZFw0.cjs +1 -0
  164. package/dist/is-set-string-Dr1MlMk0.mjs +2 -0
  165. package/dist/is-set-string-Dr1MlMk0.mjs.map +1 -0
  166. package/dist/is-string-CvmuuuDj.mjs +2 -0
  167. package/dist/is-string-CvmuuuDj.mjs.map +1 -0
  168. package/dist/is-string-DPanLeA_.cjs +1 -0
  169. package/dist/lru-cache-CzQ_kKXk.d.mts +103 -0
  170. package/dist/lru-cache-CzQ_kKXk.d.mts.map +1 -0
  171. package/dist/lru-cache-D4VEIgtR.d.cts +103 -0
  172. package/dist/lru-cache-D4VEIgtR.d.cts.map +1 -0
  173. package/dist/lru-cache-DLY_yZRN.mjs +2 -0
  174. package/dist/lru-cache-DLY_yZRN.mjs.map +1 -0
  175. package/dist/lru-cache-DgTSGx5W.cjs +1 -0
  176. package/dist/lru-cache.cjs +1 -82
  177. package/dist/lru-cache.d.cts +2 -0
  178. package/dist/lru-cache.d.mts +2 -0
  179. package/dist/lru-cache.mjs +1 -1
  180. package/dist/match-sorter-B9_7YvTo.mjs +2 -0
  181. package/dist/match-sorter-B9_7YvTo.mjs.map +1 -0
  182. package/dist/match-sorter-BjnWjkKu.cjs +1 -0
  183. package/dist/{match-sorter.d.ts → match-sorter-CMYN3GuY.d.cts} +44 -43
  184. package/dist/match-sorter-CMYN3GuY.d.cts.map +1 -0
  185. package/dist/match-sorter-DCRerxVe.d.mts +78 -0
  186. package/dist/match-sorter-DCRerxVe.d.mts.map +1 -0
  187. package/dist/match-sorter.cjs +1 -184
  188. package/dist/match-sorter.d.cts +2 -0
  189. package/dist/match-sorter.d.mts +2 -0
  190. package/dist/match-sorter.mjs +1 -1
  191. package/dist/memoize-Cr5jFKxi.mjs +2 -0
  192. package/dist/memoize-Cr5jFKxi.mjs.map +1 -0
  193. package/dist/memoize-TyrmWrfR.d.mts +11 -0
  194. package/dist/memoize-TyrmWrfR.d.mts.map +1 -0
  195. package/dist/memoize-qxvbI-0y.cjs +1 -0
  196. package/dist/memoize-tSTYY522.d.cts +11 -0
  197. package/dist/memoize-tSTYY522.d.cts.map +1 -0
  198. package/dist/memoize.cjs +1 -12
  199. package/dist/memoize.d.cts +2 -0
  200. package/dist/memoize.d.mts +2 -0
  201. package/dist/memoize.mjs +1 -1
  202. package/dist/mutex-CnQQBndt.cjs +1 -0
  203. package/dist/mutex-DAZduiSP.d.mts +72 -0
  204. package/dist/mutex-DAZduiSP.d.mts.map +1 -0
  205. package/dist/mutex-DCyX7B66.d.cts +72 -0
  206. package/dist/mutex-DCyX7B66.d.cts.map +1 -0
  207. package/dist/mutex-TqoKHosg.mjs +2 -0
  208. package/dist/mutex-TqoKHosg.mjs.map +1 -0
  209. package/dist/mutex.cjs +1 -20
  210. package/dist/mutex.d.cts +2 -0
  211. package/dist/mutex.d.mts +2 -0
  212. package/dist/mutex.mjs +1 -1
  213. package/dist/noop-B7OetrhD.mjs +2 -0
  214. package/dist/noop-B7OetrhD.mjs.map +1 -0
  215. package/dist/{noop.d.ts → noop-BnXKMH6Z.d.mts} +6 -2
  216. package/dist/noop-BnXKMH6Z.d.mts.map +1 -0
  217. package/dist/noop-CnJXOCpF.d.cts +22 -0
  218. package/dist/noop-CnJXOCpF.d.cts.map +1 -0
  219. package/dist/noop-Dpf7hIui.cjs +1 -0
  220. package/dist/noop.cjs +1 -10
  221. package/dist/noop.d.cts +2 -0
  222. package/dist/noop.d.mts +2 -0
  223. package/dist/noop.mjs +1 -1
  224. package/dist/object-CHmrmQna.d.mts +160 -0
  225. package/dist/object-CHmrmQna.d.mts.map +1 -0
  226. package/dist/object-D8HGAGMr.d.cts +160 -0
  227. package/dist/object-D8HGAGMr.d.cts.map +1 -0
  228. package/dist/omit-A0uVyAS4.cjs +1 -0
  229. package/dist/omit-BROsDK0D.mjs +2 -0
  230. package/dist/omit-BROsDK0D.mjs.map +1 -0
  231. package/dist/{omit.d.ts → omit-D1FKiOYz.d.cts} +5 -1
  232. package/dist/omit-D1FKiOYz.d.cts.map +1 -0
  233. package/dist/omit-DpqOAtKt.d.mts +22 -0
  234. package/dist/omit-DpqOAtKt.d.mts.map +1 -0
  235. package/dist/omit.cjs +1 -16
  236. package/dist/omit.d.cts +2 -0
  237. package/dist/omit.d.mts +2 -0
  238. package/dist/omit.mjs +1 -1
  239. package/dist/once-DNPPQd3P.d.mts +13 -0
  240. package/dist/once-DNPPQd3P.d.mts.map +1 -0
  241. package/dist/once-DZCwmdkv.cjs +1 -0
  242. package/dist/once-DqmxXwEB.d.cts +13 -0
  243. package/dist/once-DqmxXwEB.d.cts.map +1 -0
  244. package/dist/once-txoW63yJ.mjs +2 -0
  245. package/dist/once-txoW63yJ.mjs.map +1 -0
  246. package/dist/once.cjs +1 -17
  247. package/dist/once.d.cts +2 -0
  248. package/dist/once.d.mts +2 -0
  249. package/dist/once.mjs +1 -1
  250. package/dist/pick-CuXTvXaw.mjs +2 -0
  251. package/dist/pick-CuXTvXaw.mjs.map +1 -0
  252. package/dist/{pick.d.ts → pick-DXREvZBr.d.cts} +5 -1
  253. package/dist/pick-DXREvZBr.d.cts.map +1 -0
  254. package/dist/pick-GDOwAh6I.cjs +1 -0
  255. package/dist/pick-ZrWD4de2.d.mts +22 -0
  256. package/dist/pick-ZrWD4de2.d.mts.map +1 -0
  257. package/dist/pick.cjs +1 -14
  258. package/dist/pick.d.cts +2 -0
  259. package/dist/pick.d.mts +2 -0
  260. package/dist/pick.mjs +1 -1
  261. package/dist/remove-accents-BFmyvTRZ.mjs +2 -0
  262. package/dist/remove-accents-BFmyvTRZ.mjs.map +1 -0
  263. package/dist/remove-accents-C4C0A2ex.d.mts +12 -0
  264. package/dist/remove-accents-C4C0A2ex.d.mts.map +1 -0
  265. package/dist/remove-accents-CXBUC-Id.cjs +1 -0
  266. package/dist/remove-accents-Yo3-2jWO.d.cts +12 -0
  267. package/dist/remove-accents-Yo3-2jWO.d.cts.map +1 -0
  268. package/dist/remove-accents.cjs +1 -411
  269. package/dist/remove-accents.d.cts +2 -0
  270. package/dist/remove-accents.d.mts +2 -0
  271. package/dist/remove-accents.mjs +1 -1
  272. package/dist/remove-empty-items-BglsRCyG.d.cts +11 -0
  273. package/dist/remove-empty-items-BglsRCyG.d.cts.map +1 -0
  274. package/dist/remove-empty-items-BzI9Vid9.mjs +2 -0
  275. package/dist/remove-empty-items-BzI9Vid9.mjs.map +1 -0
  276. package/dist/remove-empty-items-COwdCPHC.d.mts +11 -0
  277. package/dist/remove-empty-items-COwdCPHC.d.mts.map +1 -0
  278. package/dist/remove-empty-items-CjTxJuyS.cjs +1 -0
  279. package/dist/remove-empty-items.cjs +1 -8
  280. package/dist/remove-empty-items.d.cts +2 -0
  281. package/dist/remove-empty-items.d.mts +2 -0
  282. package/dist/remove-empty-items.mjs +1 -1
  283. package/dist/semaphore-4zJqtox8.mjs +2 -0
  284. package/dist/semaphore-4zJqtox8.mjs.map +1 -0
  285. package/dist/semaphore-CsGTxqsW.d.cts +86 -0
  286. package/dist/semaphore-CsGTxqsW.d.cts.map +1 -0
  287. package/dist/semaphore-DkHqPlow.cjs +1 -0
  288. package/dist/semaphore-WaZBtCk5.d.mts +86 -0
  289. package/dist/semaphore-WaZBtCk5.d.mts.map +1 -0
  290. package/dist/semaphore.cjs +1 -32
  291. package/dist/semaphore.d.cts +2 -0
  292. package/dist/semaphore.d.mts +2 -0
  293. package/dist/semaphore.mjs +1 -1
  294. package/dist/set-field-CUgbKEjW.mjs +2 -0
  295. package/dist/set-field-CUgbKEjW.mjs.map +1 -0
  296. package/dist/set-field-CcCiXZNl.d.cts +16 -0
  297. package/dist/set-field-CcCiXZNl.d.cts.map +1 -0
  298. package/dist/set-field-DyvXgpNP.d.mts +16 -0
  299. package/dist/set-field-DyvXgpNP.d.mts.map +1 -0
  300. package/dist/set-field-mr4GkhFb.cjs +1 -0
  301. package/dist/set-field.cjs +1 -21
  302. package/dist/set-field.d.cts +2 -0
  303. package/dist/set-field.d.mts +2 -0
  304. package/dist/set-field.mjs +1 -1
  305. package/dist/throttle-BOKOTo3m.cjs +1 -0
  306. package/dist/{throttle.d.ts → throttle-BWPQuZty.d.cts} +5 -1
  307. package/dist/throttle-BWPQuZty.d.cts.map +1 -0
  308. package/dist/throttle-BgU4k6qs.d.mts +32 -0
  309. package/dist/throttle-BgU4k6qs.d.mts.map +1 -0
  310. package/dist/throttle-CYK3F0mZ.mjs +2 -0
  311. package/dist/throttle-CYK3F0mZ.mjs.map +1 -0
  312. package/dist/throttle.cjs +1 -13
  313. package/dist/throttle.d.cts +2 -0
  314. package/dist/throttle.d.mts +2 -0
  315. package/dist/throttle.mjs +1 -1
  316. package/dist/timeout-43rG9ETK.mjs +2 -0
  317. package/dist/timeout-43rG9ETK.mjs.map +1 -0
  318. package/dist/{timeout.d.ts → timeout-CLhwG-oo.d.mts} +5 -1
  319. package/dist/timeout-CLhwG-oo.d.mts.map +1 -0
  320. package/dist/timeout-CoYbhliP.cjs +1 -0
  321. package/dist/timeout-DC38jHR8.d.cts +12 -0
  322. package/dist/timeout-DC38jHR8.d.cts.map +1 -0
  323. package/dist/timeout.cjs +1 -11
  324. package/dist/timeout.d.cts +2 -0
  325. package/dist/timeout.d.mts +2 -0
  326. package/dist/timeout.mjs +1 -1
  327. package/dist/to-deep-key-Cma9aiEz.cjs +1 -0
  328. package/dist/to-deep-key-D8uDBd6T.mjs +2 -0
  329. package/dist/to-deep-key-D8uDBd6T.mjs.map +1 -0
  330. package/dist/{to-deep-key.d.ts → to-deep-key-DO-Z0Zjs.d.mts} +6 -2
  331. package/dist/to-deep-key-DO-Z0Zjs.d.mts.map +1 -0
  332. package/dist/to-deep-key-DlsE4ziE.d.cts +42 -0
  333. package/dist/to-deep-key-DlsE4ziE.d.cts.map +1 -0
  334. package/dist/to-deep-key.cjs +1 -15
  335. package/dist/to-deep-key.d.cts +2 -0
  336. package/dist/to-deep-key.d.mts +2 -0
  337. package/dist/to-deep-key.mjs +1 -1
  338. package/dist/{to-path.d.ts → to-path-BajxeMmo.d.mts} +5 -1
  339. package/dist/to-path-BajxeMmo.d.mts.map +1 -0
  340. package/dist/to-path-CdOFd4od.cjs +1 -0
  341. package/dist/to-path-D2zWXeYc.d.cts +24 -0
  342. package/dist/to-path-D2zWXeYc.d.cts.map +1 -0
  343. package/dist/to-path-Dm1fe-Ix.mjs +2 -0
  344. package/dist/to-path-Dm1fe-Ix.mjs.map +1 -0
  345. package/dist/to-path.cjs +1 -23
  346. package/dist/to-path.d.cts +2 -0
  347. package/dist/to-path.d.mts +2 -0
  348. package/dist/to-path.mjs +1 -1
  349. package/dist/unflatten-object-C7TE8J80.mjs +2 -0
  350. package/dist/unflatten-object-C7TE8J80.mjs.map +1 -0
  351. package/dist/unflatten-object-CPJIUozj.d.mts +35 -0
  352. package/dist/unflatten-object-CPJIUozj.d.mts.map +1 -0
  353. package/dist/unflatten-object-CvZj41LG.cjs +1 -0
  354. package/dist/unflatten-object-Cvbj7Q__.d.cts +35 -0
  355. package/dist/unflatten-object-Cvbj7Q__.d.cts.map +1 -0
  356. package/dist/unflatten-object.cjs +1 -10
  357. package/dist/unflatten-object.d.cts +2 -0
  358. package/dist/unflatten-object.d.mts +2 -0
  359. package/dist/unflatten-object.mjs +1 -1
  360. package/dist/{union.d.ts → union-BMOMEzO-.d.cts} +5 -1
  361. package/dist/union-BMOMEzO-.d.cts.map +1 -0
  362. package/dist/union-C-2CRoFc.mjs +2 -0
  363. package/dist/union-C-2CRoFc.mjs.map +1 -0
  364. package/dist/union-D4bbjM2i.d.mts +24 -0
  365. package/dist/union-D4bbjM2i.d.mts.map +1 -0
  366. package/dist/union-EwdcZzNT.cjs +1 -0
  367. package/dist/union.cjs +1 -10
  368. package/dist/union.d.cts +2 -0
  369. package/dist/union.d.mts +2 -0
  370. package/dist/union.mjs +1 -1
  371. package/dist/{with-timeout.d.ts → with-timeout-BPaAIZtS.d.cts} +5 -1
  372. package/dist/with-timeout-BPaAIZtS.d.cts.map +1 -0
  373. package/dist/with-timeout-BoZYdcOg.d.mts +24 -0
  374. package/dist/with-timeout-BoZYdcOg.d.mts.map +1 -0
  375. package/dist/with-timeout-CAuUr1ck.mjs +2 -0
  376. package/dist/with-timeout-CAuUr1ck.mjs.map +1 -0
  377. package/dist/with-timeout-CPUBGT4X.cjs +1 -0
  378. package/dist/with-timeout.cjs +1 -10
  379. package/dist/with-timeout.d.cts +2 -0
  380. package/dist/with-timeout.d.mts +2 -0
  381. package/dist/with-timeout.mjs +1 -1
  382. package/package.json +91 -440
  383. package/dist/deep-merge.d.ts +0 -22
  384. package/dist/errors.d.ts +0 -12
  385. package/dist/filter-empty.d.ts +0 -1
  386. package/dist/index.d.ts +0 -31
  387. package/dist/lru-cache.d.ts +0 -99
  388. package/dist/memoize.d.ts +0 -7
  389. package/dist/mutex.d.ts +0 -68
  390. package/dist/once.d.ts +0 -9
  391. package/dist/remove-accents.d.ts +0 -8
  392. package/dist/remove-empty-items.d.ts +0 -7
  393. package/dist/semaphore.d.ts +0 -82
  394. package/dist/set-field.d.ts +0 -10
package/CHANGELOG.md ADDED
@@ -0,0 +1,427 @@
1
+ ![Storm Software's logo banner](https://public.storm-cdn.com/storm-software/banner-1280x320-optimized.gif)
2
+
3
+ # Changelog for Stryke - Helpers
4
+
5
+ ## [0.9.22](https://github.com/storm-software/stryke/releases/tag/helpers%400.9.22) (12/07/2025)
6
+
7
+ ### Updated Dependencies
8
+
9
+ - Updated **type-checks** to **v0.5.5**
10
+ - Updated **convert** to **v0.6.20**
11
+ - Updated **types** to **v0.10.19**
12
+
13
+ ## [0.9.21](https://github.com/storm-software/stryke/releases/tag/helpers%400.9.21) (12/07/2025)
14
+
15
+ ### Updated Dependencies
16
+
17
+ - Updated **type-checks** to **v0.5.4**
18
+ - Updated **convert** to **v0.6.19**
19
+ - Updated **types** to **v0.10.18**
20
+
21
+ ## [0.9.20](https://github.com/storm-software/stryke/releases/tag/helpers%400.9.20) (12/07/2025)
22
+
23
+ ### Miscellaneous
24
+
25
+ - **monorepo:** Format monorepo source files
26
+ ([9428936](https://github.com/storm-software/stryke/commit/9428936))
27
+
28
+ ### Updated Dependencies
29
+
30
+ - Updated **type-checks** to **v0.5.3**
31
+ - Updated **convert** to **v0.6.18**
32
+ - Updated **types** to **v0.10.17**
33
+
34
+ ## [0.9.19](https://github.com/storm-software/stryke/releases/tag/helpers%400.9.19) (12/06/2025)
35
+
36
+ ### Features
37
+
38
+ - **tools-nx:** Resolved issue inferring build command-line arguments for local
39
+ packages ([de00278](https://github.com/storm-software/stryke/commit/de00278))
40
+
41
+ ### Updated Dependencies
42
+
43
+ - Updated **type-checks** to **v0.5.2**
44
+ - Updated **convert** to **v0.6.17**
45
+ - Updated **types** to **v0.10.16**
46
+
47
+ ## [0.9.18](https://github.com/storm-software/stryke/releases/tag/helpers%400.9.18) (12/06/2025)
48
+
49
+ ### Updated Dependencies
50
+
51
+ - Updated **type-checks** to **v0.5.1**
52
+ - Updated **convert** to **v0.6.16**
53
+ - Updated **types** to **v0.10.15**
54
+
55
+ ## [0.9.17](https://github.com/storm-software/stryke/releases/tag/helpers%400.9.17) (12/05/2025)
56
+
57
+ ### Updated Dependencies
58
+
59
+ - Updated **type-checks** to **v0.5.0**
60
+ - Updated **convert** to **v0.6.15**
61
+
62
+ ## [0.9.16](https://github.com/storm-software/stryke/releases/tag/helpers%400.9.16) (12/05/2025)
63
+
64
+ ### Features
65
+
66
+ - **monorepo:** Update repository to use `tsdown` to build/bundle packages
67
+ ([8ceb909](https://github.com/storm-software/stryke/commit/8ceb909))
68
+
69
+ ### Updated Dependencies
70
+
71
+ - Updated **type-checks** to **v0.4.5**
72
+ - Updated **convert** to **v0.6.14**
73
+ - Updated **types** to **v0.10.14**
74
+
75
+ ## [0.9.15](https://github.com/storm-software/stryke/releases/tag/helpers%400.9.15) (12/01/2025)
76
+
77
+ ### Updated Dependencies
78
+
79
+ - Updated **type-checks** to **v0.4.4**
80
+ - Updated **convert** to **v0.6.13**
81
+ - Updated **types** to **v0.10.13**
82
+
83
+ ## [0.9.14](https://github.com/storm-software/stryke/releases/tag/helpers%400.9.14) (11/30/2025)
84
+
85
+ ### Updated Dependencies
86
+
87
+ - Updated **type-checks** to **v0.4.3**
88
+ - Updated **convert** to **v0.6.12**
89
+ - Updated **types** to **v0.10.12**
90
+
91
+ ## [0.9.13](https://github.com/storm-software/stryke/releases/tag/helpers%400.9.13) (11/30/2025)
92
+
93
+ ### Updated Dependencies
94
+
95
+ - Updated **type-checks** to **v0.4.2**
96
+ - Updated **convert** to **v0.6.11**
97
+ - Updated **types** to **v0.10.11**
98
+
99
+ ## [0.9.12](https://github.com/storm-software/stryke/releases/tag/helpers%400.9.12) (11/30/2025)
100
+
101
+ ### Updated Dependencies
102
+
103
+ - Updated **type-checks** to **v0.4.1**
104
+ - Updated **convert** to **v0.6.10**
105
+ - Updated **types** to **v0.10.10**
106
+
107
+ ## [0.9.11](https://github.com/storm-software/stryke/releases/tag/helpers%400.9.11) (11/30/2025)
108
+
109
+ ### Updated Dependencies
110
+
111
+ - Updated **type-checks** to **v0.4.0**
112
+ - Updated **convert** to **v0.6.9**
113
+ - Updated **types** to **v0.10.9**
114
+
115
+ ## [0.9.10](https://github.com/storm-software/stryke/releases/tag/helpers%400.9.10) (11/24/2025)
116
+
117
+ ### Updated Dependencies
118
+
119
+ - Updated **type-checks** to **v0.3.18**
120
+ - Updated **convert** to **v0.6.8**
121
+ - Updated **types** to **v0.10.8**
122
+
123
+ ## [0.9.9](https://github.com/storm-software/stryke/releases/tag/helpers%400.9.9) (11/21/2025)
124
+
125
+ ### Updated Dependencies
126
+
127
+ - Updated **type-checks** to **v0.3.17**
128
+ - Updated **convert** to **v0.6.7**
129
+ - Updated **types** to **v0.10.7**
130
+
131
+ ## [0.9.8](https://github.com/storm-software/stryke/releases/tag/helpers%400.9.8) (11/21/2025)
132
+
133
+ ### Updated Dependencies
134
+
135
+ - Updated **type-checks** to **v0.3.16**
136
+ - Updated **convert** to **v0.6.6**
137
+ - Updated **types** to **v0.10.6**
138
+
139
+ ## [0.9.7](https://github.com/storm-software/stryke/releases/tag/helpers%400.9.7) (11/21/2025)
140
+
141
+ ### Updated Dependencies
142
+
143
+ - Updated **type-checks** to **v0.3.15**
144
+ - Updated **convert** to **v0.6.5**
145
+ - Updated **types** to **v0.10.5**
146
+
147
+ ## [0.9.6](https://github.com/storm-software/stryke/releases/tag/helpers%400.9.6) (11/21/2025)
148
+
149
+ ### Updated Dependencies
150
+
151
+ - Updated **type-checks** to **v0.3.14**
152
+ - Updated **convert** to **v0.6.4**
153
+ - Updated **types** to **v0.10.4**
154
+
155
+ ## [0.9.5](https://github.com/storm-software/stryke/releases/tag/helpers%400.9.5) (11/21/2025)
156
+
157
+ ### Updated Dependencies
158
+
159
+ - Updated **type-checks** to **v0.3.13**
160
+ - Updated **convert** to **v0.6.3**
161
+ - Updated **types** to **v0.10.3**
162
+
163
+ ## [0.9.4](https://github.com/storm-software/stryke/releases/tag/helpers%400.9.4) (11/16/2025)
164
+
165
+ ### Updated Dependencies
166
+
167
+ - Updated **type-checks** to **v0.3.12**
168
+ - Updated **convert** to **v0.6.2**
169
+ - Updated **types** to **v0.10.2**
170
+
171
+ ## [0.9.3](https://github.com/storm-software/stryke/releases/tag/helpers%400.9.3) (11/08/2025)
172
+
173
+ ### Updated Dependencies
174
+
175
+ - Updated **type-checks** to **v0.3.11**
176
+ - Updated **convert** to **v0.6.1**
177
+ - Updated **types** to **v0.10.1**
178
+
179
+ ## [0.9.2](https://github.com/storm-software/stryke/releases/tag/helpers%400.9.2) (2025-10-08)
180
+
181
+ ### Miscellaneous
182
+
183
+ - **monorepo:** Update workspace package links
184
+ ([af38855](https://github.com/storm-software/stryke/commit/af38855))
185
+
186
+ ## [0.9.1](https://github.com/storm-software/stryke/releases/tag/helpers%400.9.1) (2025-10-02)
187
+
188
+ ### Miscellaneous
189
+
190
+ - **types:** Reformat package source code files
191
+ ([4265aae](https://github.com/storm-software/stryke/commit/4265aae))
192
+
193
+ ## [0.9.0](https://github.com/storm-software/stryke/releases/tag/helpers%400.9.0) (2025-09-20)
194
+
195
+ ### Features
196
+
197
+ - **helpers:** Added the `LRUCache` class to package
198
+ ([a7d07ac](https://github.com/storm-software/stryke/commit/a7d07ac))
199
+
200
+ ## [0.8.1](https://github.com/storm-software/stryke/releases/tag/helpers%400.8.1) (2025-09-19)
201
+
202
+ ### Miscellaneous
203
+
204
+ - **path:** Added exports aliases to the package
205
+ ([f1e9cf6](https://github.com/storm-software/stryke/commit/f1e9cf6))
206
+
207
+ ## [0.8.0](https://github.com/storm-software/stryke/releases/tag/helpers%400.8.0) (2025-09-11)
208
+
209
+ ### Features
210
+
211
+ - **helpers:** Added the `memoize` and `once` utility modules
212
+ ([68f4cc6](https://github.com/storm-software/stryke/commit/68f4cc6))
213
+
214
+ ![Storm Software]([object Object])
215
+
216
+ # Changelog for Stryke - Helpers
217
+
218
+ ## [0.7.2](https://github.com/storm-software/stryke/releases/tag/helpers%400.7.2) (2025-08-07)
219
+
220
+ ### Bug Fixes
221
+
222
+ - **string-format:** Resolve issues with string format checkers' RegExp code
223
+ ([811e9f9](https://github.com/storm-software/stryke/commit/811e9f9))
224
+
225
+ ![Storm Software](https://public.storm-cdn.com/brand-banner.png)
226
+
227
+ # Changelog for Stryke - Helpers
228
+
229
+ ## [0.7.1](https://github.com/storm-software/stryke/releases/tag/helpers%400.7.1) (2025-08-02)
230
+
231
+ ### Miscellaneous
232
+
233
+ - **monorepo:** Reformat source file banners
234
+ ([0698684](https://github.com/storm-software/stryke/commit/0698684))
235
+
236
+ ## [0.7.0](https://github.com/storm-software/stryke/releases/tag/helpers%400.7.0) (2025-07-04)
237
+
238
+ ### Features
239
+
240
+ - **hash:** Added the 'MD5' hash utility function
241
+ ([1b62648](https://github.com/storm-software/stryke/commit/1b62648))
242
+
243
+ ## [0.6.2](https://github.com/storm-software/stryke/releases/tag/helpers%400.6.2) (2025-06-17)
244
+
245
+ ### Miscellaneous
246
+
247
+ - **monorepo:** Reformat repository packages
248
+
249
+ ## [0.6.1](https://github.com/storm-software/stryke/releases/tag/helpers%400.6.1) (2025-06-12)
250
+
251
+ ### Miscellaneous
252
+
253
+ - **monorepo:** Reformat the repository's README markdown files
254
+ - **monorepo:** Run format script on repository
255
+
256
+ ## [0.6.0](https://github.com/storm-software/stryke/releases/tag/helpers%400.6.0) (2025-05-28)
257
+
258
+ ### Features
259
+
260
+ - **helpers:** Added the `omit` and `pick` helper methods
261
+
262
+ ## [0.5.3](https://github.com/storm-software/stryke/releases/tag/helpers%400.5.3) (2025-05-12)
263
+
264
+ ### Miscellaneous
265
+
266
+ - **monorepo:** Reformat monorepo source code
267
+
268
+ ## [0.5.2](https://github.com/storm-software/stryke/releases/tag/helpers%400.5.2) (2025-04-10)
269
+
270
+ ### Miscellaneous
271
+
272
+ - **monorepo:** Format the repository's files
273
+ ([1384f3e](https://github.com/storm-software/stryke/commit/1384f3e))
274
+
275
+ ## [0.5.1](https://github.com/storm-software/stryke/releases/tag/helpers%400.5.1) (2025-04-08)
276
+
277
+ ### Miscellaneous
278
+
279
+ - **helpers:** Clean up the helper function modules
280
+ ([9170b32](https://github.com/storm-software/stryke/commit/9170b32))
281
+
282
+ ## [0.5.0](https://github.com/storm-software/stryke/releases/tag/helpers%400.5.0) (2025-04-08)
283
+
284
+ ### Features
285
+
286
+ - **helpers:** Added the `semaphore` and `mutex` modules
287
+ ([24142d3](https://github.com/storm-software/stryke/commit/24142d3))
288
+
289
+ ## [0.4.6](https://github.com/storm-software/stryke/releases/tag/helpers%400.4.6) (2025-04-08)
290
+
291
+ ### Miscellaneous
292
+
293
+ - **helpers:** Cleaned up some linting errors
294
+ ([a1757fd](https://github.com/storm-software/stryke/commit/a1757fd))
295
+
296
+ ## [0.4.5](https://github.com/storm-software/stryke/releases/tag/helpers%400.4.5) (2025-03-28)
297
+
298
+ ### Miscellaneous
299
+
300
+ - **monorepo:** Reformat the source files in repository
301
+ ([bb8df2c](https://github.com/storm-software/stryke/commit/bb8df2c))
302
+
303
+ ## [0.4.4](https://github.com/storm-software/stryke/releases/tag/helpers%400.4.4) (2025-03-23)
304
+
305
+ ### Bug Fixes
306
+
307
+ - **monorepo:** Resolve issue with TypeScript compilation
308
+ ([72e995f](https://github.com/storm-software/stryke/commit/72e995f))
309
+
310
+ ## [0.4.3](https://github.com/storm-software/stryke/releases/tag/helpers%400.4.3) (2025-03-23)
311
+
312
+ ### Miscellaneous
313
+
314
+ - **monorepo:** Update base storm software packages
315
+ ([8942201](https://github.com/storm-software/stryke/commit/8942201))
316
+
317
+ ## 0.4.2 (2025-03-13)
318
+
319
+ ### Miscellaneous
320
+
321
+ - **monorepo:** Format monorepo project files
322
+ ([f28fdbe](https://github.com/storm-software/stryke/commit/f28fdbe))
323
+
324
+ ## 0.4.1 (2025-03-13)
325
+
326
+ ### Bug Fixes
327
+
328
+ - **helpers:** Resolve path issues with the `@stryke` packages
329
+ ([c0ca2ff](https://github.com/storm-software/stryke/commit/c0ca2ff))
330
+
331
+ ## 0.4.0 (2025-03-13)
332
+
333
+ ### Features
334
+
335
+ - **monorepo:** Split `types` project into `type-checks` and `convert` packages
336
+ ([fcc5832](https://github.com/storm-software/stryke/commit/fcc5832))
337
+
338
+ ## 0.3.1 (2025-02-26)
339
+
340
+ ### Miscellaneous
341
+
342
+ - **monorepo:** Reformat monorepo files with `prettier`
343
+ ([b5d0302](https://github.com/storm-software/stryke/commit/b5d0302))
344
+
345
+ ## 0.3.0 (2025-02-23)
346
+
347
+ ### Features
348
+
349
+ - **monorepo:** Update base ESLint packages and run on files
350
+ ([c59cb8e](https://github.com/storm-software/stryke/commit/c59cb8e))
351
+
352
+ ## 0.2.4 (2025-02-17)
353
+
354
+ ### Miscellaneous
355
+
356
+ - **monorepo:** Reformat monorepo files
357
+ ([1db5e06](https://github.com/storm-software/stryke/commit/1db5e06))
358
+
359
+ ## 0.2.3 (2025-02-17)
360
+
361
+ ### Bug Fixes
362
+
363
+ - **helpers:** Revert back to pervious `deepCopy` method
364
+ ([4e552a8](https://github.com/storm-software/stryke/commit/4e552a8))
365
+
366
+ ## 0.2.2 (2025-02-17)
367
+
368
+ ### Bug Fixes
369
+
370
+ - **helpers:** Use different method of implementing `deepCopy`
371
+ ([aab87c1](https://github.com/storm-software/stryke/commit/aab87c1))
372
+
373
+ ## 0.2.1 (2025-02-15)
374
+
375
+ ### Miscellaneous
376
+
377
+ - **monorepo:** Reformat monorepo files
378
+ ([69ed6b7](https://github.com/storm-software/stryke/commit/69ed6b7))
379
+
380
+ ## 0.2.0 (2025-02-15)
381
+
382
+ ### Features
383
+
384
+ - **helpers:** Added the `deepCopy` helper function
385
+ ([76b0179](https://github.com/storm-software/stryke/commit/76b0179))
386
+
387
+ ## 0.1.5 (2025-02-10)
388
+
389
+ ### Miscellaneous
390
+
391
+ - **helpers:** Update README markdown files
392
+ ([e92f9ca](https://github.com/storm-software/stryke/commit/e92f9ca))
393
+
394
+ ## 0.1.4 (2025-02-10)
395
+
396
+ ### Miscellaneous
397
+
398
+ - **helpers:** Upgrade version in package.json to correct value
399
+ ([ad92741](https://github.com/storm-software/stryke/commit/ad92741))
400
+
401
+ ## 0.1.3 (2025-02-10)
402
+
403
+ ### Miscellaneous
404
+
405
+ - **helpers:** Update version to match current tag
406
+ ([e99c378](https://github.com/storm-software/stryke/commit/e99c378))
407
+
408
+ ## 0.1.2 (2025-02-10)
409
+
410
+ ### Miscellaneous
411
+
412
+ - **monorepo:** Update versions for unpublished monorepo packages
413
+ ([4abef50](https://github.com/storm-software/stryke/commit/4abef50))
414
+
415
+ ## 0.1.1 (2025-02-09)
416
+
417
+ ### Miscellaneous
418
+
419
+ - **monorepo:** Regenerate repository markdown files
420
+ ([e61e39e](https://github.com/storm-software/stryke/commit/e61e39e))
421
+
422
+ ## 0.1.0 (2025-02-07)
423
+
424
+ ### Bug Fixes
425
+
426
+ - **cli:** Resolve typing issue with `figlet` dependency
427
+ ([2ad7747](https://github.com/storm-software/stryke/commit/2ad7747))
package/README.md CHANGED
@@ -3,7 +3,13 @@
3
3
  <!-- markdownlint-disable -->
4
4
 
5
5
 
6
- <div align="center"><img src="https://public.storm-cdn.com/storm-banner.gif" width="100%" alt="Storm Software" /></div>
6
+ <div align="center">
7
+ <picture>
8
+ <source media="(prefers-color-scheme: dark)" srcset="https://public.storm-cdn.com/storm-software/banner-1280x640-dark-optimized.gif">
9
+ <source media="(prefers-color-scheme: light)" srcset="https://public.storm-cdn.com/storm-software/banner-1280x640-light-optimized.gif">
10
+ <img src="https://public.storm-cdn.com/storm-software/banner-1280x640-dark-optimized.gif" width="100%" alt="Storm Software" />
11
+ </picture>
12
+ </div>
7
13
  <br />
8
14
 
9
15
  <div align="center">
@@ -16,13 +22,13 @@
16
22
  </div>
17
23
 
18
24
  <br />
19
- This package is part of Storm Software's **🌩️ Stryke** monorepo. Stryke packages TypeScript utility packages with shared functionality common to many Storm Software applications.
25
+ This package is part of Storm Software's **💥 Stryke** monorepo. Stryke packages TypeScript utility packages with shared functionality common to many Storm Software applications.
20
26
 
21
27
  <br />
22
28
 
23
29
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
24
30
 
25
- [![Version](https://img.shields.io/badge/version-0.6.1-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/stryke/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
31
+ [![Version](https://img.shields.io/badge/version-0.9.19-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/stryke/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
26
32
 
27
33
  > [!IMPORTANT] Important
28
34
  > This repository, and the apps, libraries, and tools contained within, is still in it's initial development phase. As a result, bugs and issues are expected with it's usage. When the main development phase completes, a proper release will be performed, the packages will be available through NPM (and other distributions), and this message will be removed. However, in the meantime, please feel free to report any issues you may come across.
@@ -47,24 +53,23 @@ other Stryke projects.
47
53
 
48
54
  <!-- START doctoc -->
49
55
  <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
56
+
50
57
  ## Table of Contents
51
58
 
52
- - [Stryke - Helper Functions](#stryke---helper-functions)
53
- - [Table of Contents](#table-of-contents)
54
- - [Quick Features](#quick-features)
55
- - [Installing](#installing)
56
- - [Reduced Package Size](#reduced-package-size)
57
- - [Development](#development)
58
- - [Building](#building)
59
- - [Running unit tests](#running-unit-tests)
60
- - [Linting](#linting)
61
- - [Storm Workspaces](#storm-workspaces)
62
- - [Roadmap](#roadmap)
63
- - [Support](#support)
64
- - [License](#license)
65
- - [Changelog](#changelog)
66
- - [Contributing](#contributing)
67
- - [Contributors](#contributors)
59
+ - [Quick Features](#quick-features)
60
+ - [Installing](#installing)
61
+ - [Reduced Package Size](#reduced-package-size)
62
+ - [Development](#development)
63
+ - [Building](#building)
64
+ - [Running unit tests](#running-unit-tests)
65
+ - [Linting](#linting)
66
+ - [Storm Workspaces](#storm-workspaces)
67
+ - [Roadmap](#roadmap)
68
+ - [Support](#support)
69
+ - [License](#license)
70
+ - [Changelog](#changelog)
71
+ - [Contributing](#contributing)
72
+ - [Contributors](#contributors)
68
73
 
69
74
  <!-- END doctoc -->
70
75
 
@@ -138,10 +143,10 @@ yarn add -D @stryke/helpers
138
143
 
139
144
  ## Reduced Package Size
140
145
 
141
- This project uses [tsup](https://tsup.egoist.dev/) to package the source code
142
- due to its ability to remove unused code and ship smaller javascript files
143
- thanks to code splitting. This helps to greatly reduce the size of the package
144
- and to make it easier to use in other projects.
146
+ This project uses [tsdown](https://tsdown.dev) to package the source code due to
147
+ its ability to remove unused code and ship smaller javascript files thanks to
148
+ code splitting. This helps to greatly reduce the size of the package and to make
149
+ it easier to use in other projects.
145
150
 
146
151
  ## Development
147
152
 
@@ -282,10 +287,13 @@ specification. Contributions of any kind welcome!
282
287
  <br />
283
288
 
284
289
  <hr />
285
- <br />
286
290
 
287
291
  <div align="center">
288
- <img src="https://public.storm-cdn.com/logo-banner.png" width="100%" alt="Storm Software" />
292
+ <picture>
293
+ <source media="(prefers-color-scheme: dark)" srcset="https://public.storm-cdn.com/storm-software/banner-1280x320-dark-optimized.webp">
294
+ <source media="(prefers-color-scheme: light)" srcset="https://public.storm-cdn.com/storm-software/banner-1280x320-light-optimized.webp">
295
+ <img src="https://public.storm-cdn.com/storm-software/banner-1280x320-dark-optimized.webp" width="100%" alt="Storm Software" />
296
+ </picture>
289
297
  </div>
290
298
  <br />
291
299
 
@@ -1,3 +1,4 @@
1
+ //#region src/arg-identity.d.ts
1
2
  /**
2
3
  * This method returns the first argument provided to it.
3
4
  *
@@ -7,4 +8,7 @@
7
8
  * @param value - The value to return.
8
9
  * @returns The value provided.
9
10
  */
10
- export declare function argIdentity(value: any): any;
11
+ declare function argIdentity(value: any): any;
12
+ //#endregion
13
+ export { argIdentity as t };
14
+ //# sourceMappingURL=arg-identity-BIir8uzO.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arg-identity-BIir8uzO.d.mts","names":[],"sources":["../src/arg-identity.ts"],"sourcesContent":[],"mappings":";;AA0BA;;;;;;;;iBAAgB,WAAA"}
@@ -0,0 +1,2 @@
1
+ function e(e){return e}export{e as t};
2
+ //# sourceMappingURL=arg-identity-BfviduMt.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arg-identity-BfviduMt.mjs","names":[],"sources":["../src/arg-identity.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 License, and is\n free for commercial and private use. For more information, please visit\n our licensing page.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://stormsoftware.com/projects/stryke/docs\n Contact: https://stormsoftware.com/contact\n License: https://stormsoftware.com/projects/stryke/license\n\n ------------------------------------------------------------------- */\n\n/**\n * This method returns the first argument provided to it.\n *\n * @remarks\n * For more info, please see {@link https://lodash.com/docs/4.17.15#identity | the original Lodash documentation}.\n *\n * @param value - The value to return.\n * @returns The value provided.\n */\nexport function argIdentity(value: any) {\n return value;\n}\n"],"mappings":"AA0BA,SAAgB,EAAY,EAAY,CACtC,OAAO"}
@@ -0,0 +1,14 @@
1
+ //#region src/arg-identity.d.ts
2
+ /**
3
+ * This method returns the first argument provided to it.
4
+ *
5
+ * @remarks
6
+ * For more info, please see {@link https://lodash.com/docs/4.17.15#identity | the original Lodash documentation}.
7
+ *
8
+ * @param value - The value to return.
9
+ * @returns The value provided.
10
+ */
11
+ declare function argIdentity(value: any): any;
12
+ //#endregion
13
+ export { argIdentity as t };
14
+ //# sourceMappingURL=arg-identity-C-pVjd0u.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arg-identity-C-pVjd0u.d.cts","names":[],"sources":["../src/arg-identity.ts"],"sourcesContent":[],"mappings":";;AA0BA;;;;;;;;iBAAgB,WAAA"}
@@ -0,0 +1 @@
1
+ function e(e){return e}Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return e}});
@@ -1,9 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.argIdentity = argIdentity;
7
- function argIdentity(n) {
8
- return n;
9
- }
1
+ const e=require(`./arg-identity-dlKw6BsD.cjs`);exports.argIdentity=e.t;
@@ -0,0 +1,2 @@
1
+ import { t as argIdentity } from "./arg-identity-C-pVjd0u.cjs";
2
+ export { argIdentity };
@@ -0,0 +1,2 @@
1
+ import { t as argIdentity } from "./arg-identity-BIir8uzO.mjs";
2
+ export { argIdentity };
@@ -1 +1 @@
1
- export function argIdentity(n){return n}
1
+ import{t as e}from"./arg-identity-BfviduMt.mjs";export{e as argIdentity};
@@ -0,0 +1,2 @@
1
+ function e(e,t,{signal:n}={}){let r=null,i=((...i)=>{r!==null&&clearTimeout(r),!n?.aborted&&(r=setTimeout(()=>{e(...i),r=null},t))});return i.cancel=()=>{r!==null&&(clearTimeout(r),r=null)},n?.addEventListener(`abort`,()=>{i.cancel()},{once:!0}),i}export{e as t};
2
+ //# sourceMappingURL=debounce-C5O3IDKy.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"debounce-C5O3IDKy.mjs","names":["timeoutId: ReturnType<typeof setTimeout> | null"],"sources":["../src/debounce.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 License, and is\n free for commercial and private use. For more information, please visit\n our licensing page.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://stormsoftware.com/projects/stryke/docs\n Contact: https://stormsoftware.com/contact\n License: https://stormsoftware.com/projects/stryke/license\n\n ------------------------------------------------------------------- */\n\nexport interface DebounceOptions {\n signal?: AbortSignal;\n}\n\n/**\n * Creates a debounced function that delays invoking the provided function until after `debounceMs` milliseconds\n * have elapsed since the last time the debounced function was invoked. The debounced function also has a `cancel`\n * method to cancel any pending execution.\n *\n * @example\n * ```typescript\n * const debouncedFunction = debounce(() => {\n * console.log('Function executed');\n * }, 1000);\n *\n * // Will log 'Function executed' after 1 second if not called again in that time\n * debouncedFunction();\n *\n * // Will not log anything as the previous call is canceled\n * debouncedFunction.cancel();\n *\n * // With AbortSignal\n * const controller = new AbortController();\n * const signal = controller.signal;\n * const debouncedWithSignal = debounce(() => {\n * console.log('Function executed');\n * }, 1000, { signal });\n *\n * debouncedWithSignal();\n *\n * // Will cancel the debounced function call\n * controller.abort();\n * ```\n *\n * @param func - The function to debounce.\n * @param debounceMs - The number of milliseconds to delay.\n * @param options - The options object.\n * @returns A new debounced function with a `cancel` method.\n */\nexport function debounce<F extends (...args: any[]) => void>(\n func: F,\n debounceMs: number,\n { signal }: DebounceOptions = {}\n): F & { cancel: () => void } {\n let timeoutId: ReturnType<typeof setTimeout> | null = null;\n\n const debounced = ((...args: Parameters<F>) => {\n if (timeoutId !== null) {\n clearTimeout(timeoutId);\n }\n\n if (signal?.aborted) {\n return;\n }\n\n timeoutId = setTimeout(() => {\n func(...args);\n timeoutId = null;\n }, debounceMs);\n }) as F & { cancel: () => void };\n\n const onAbort = () => {\n debounced.cancel();\n };\n\n debounced.cancel = () => {\n if (timeoutId !== null) {\n clearTimeout(timeoutId);\n timeoutId = null;\n }\n };\n\n signal?.addEventListener(\"abort\", onAbort, { once: true });\n\n return debounced;\n}\n"],"mappings":"AAwDA,SAAgB,EACd,EACA,EACA,CAAE,UAA4B,EAAE,CACJ,CAC5B,IAAIA,EAAkD,KAEhD,IAAc,GAAG,IAAwB,CACzC,IAAc,MAChB,aAAa,EAAU,CAGrB,IAAQ,UAIZ,EAAY,eAAiB,CAC3B,EAAK,GAAG,EAAK,CACb,EAAY,MACX,EAAW,IAgBhB,MATA,GAAU,WAAe,CACnB,IAAc,OAChB,aAAa,EAAU,CACvB,EAAY,OAIhB,GAAQ,iBAAiB,YAXH,CACpB,EAAU,QAAQ,EAUuB,CAAE,KAAM,GAAM,CAAC,CAEnD"}
@@ -1,5 +1,6 @@
1
- export interface DebounceOptions {
2
- signal?: AbortSignal;
1
+ //#region src/debounce.d.ts
2
+ interface DebounceOptions {
3
+ signal?: AbortSignal;
3
4
  }
4
5
  /**
5
6
  * Creates a debounced function that delays invoking the provided function until after `debounceMs` milliseconds
@@ -36,6 +37,11 @@ export interface DebounceOptions {
36
37
  * @param options - The options object.
37
38
  * @returns A new debounced function with a `cancel` method.
38
39
  */
39
- export declare function debounce<F extends (...args: any[]) => void>(func: F, debounceMs: number, { signal }?: DebounceOptions): F & {
40
- cancel: () => void;
40
+ declare function debounce<F extends (...args: any[]) => void>(func: F, debounceMs: number, {
41
+ signal
42
+ }?: DebounceOptions): F & {
43
+ cancel: () => void;
41
44
  };
45
+ //#endregion
46
+ export { debounce as n, DebounceOptions as t };
47
+ //# sourceMappingURL=debounce-CIMf8-Yr.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"debounce-CIMf8-Yr.d.mts","names":[],"sources":["../src/debounce.ts"],"sourcesContent":[],"mappings":";UAiBiB,eAAA;EAAA,MAAA,CAAA,EACN,WADqB;AAuChC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAgB,mDACR;;IAEM,kBACX"}