@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.
- package/CHANGELOG.md +427 -0
- package/README.md +33 -25
- package/dist/{arg-identity.d.ts → arg-identity-BIir8uzO.d.mts} +5 -1
- package/dist/arg-identity-BIir8uzO.d.mts.map +1 -0
- package/dist/arg-identity-BfviduMt.mjs +2 -0
- package/dist/arg-identity-BfviduMt.mjs.map +1 -0
- package/dist/arg-identity-C-pVjd0u.d.cts +14 -0
- package/dist/arg-identity-C-pVjd0u.d.cts.map +1 -0
- package/dist/arg-identity-dlKw6BsD.cjs +1 -0
- package/dist/arg-identity.cjs +1 -9
- package/dist/arg-identity.d.cts +2 -0
- package/dist/arg-identity.d.mts +2 -0
- package/dist/arg-identity.mjs +1 -1
- package/dist/debounce-C5O3IDKy.mjs +2 -0
- package/dist/debounce-C5O3IDKy.mjs.map +1 -0
- package/dist/{debounce.d.ts → debounce-CIMf8-Yr.d.mts} +10 -4
- package/dist/debounce-CIMf8-Yr.d.mts.map +1 -0
- package/dist/debounce-CLb-VvJv.d.cts +47 -0
- package/dist/debounce-CLb-VvJv.d.cts.map +1 -0
- package/dist/debounce-SIYbhEOF.cjs +1 -0
- package/dist/debounce.cjs +1 -24
- package/dist/debounce.d.cts +2 -0
- package/dist/debounce.d.mts +2 -0
- package/dist/debounce.mjs +1 -1
- package/dist/deep-clone-BlN5QTtW.mjs +2 -0
- package/dist/deep-clone-BlN5QTtW.mjs.map +1 -0
- package/dist/deep-clone-CoUy-Hrt.cjs +1 -0
- package/dist/{deep-clone.d.ts → deep-clone-CpLJcTgz.d.mts} +11 -12
- package/dist/deep-clone-CpLJcTgz.d.mts.map +1 -0
- package/dist/deep-clone-jRNy1xoj.d.cts +65 -0
- package/dist/deep-clone-jRNy1xoj.d.cts.map +1 -0
- package/dist/deep-clone.cjs +1 -62
- package/dist/deep-clone.d.cts +2 -0
- package/dist/deep-clone.d.mts +2 -0
- package/dist/deep-clone.mjs +1 -1
- package/dist/deep-merge-BDZ6c79O.mjs +2 -0
- package/dist/deep-merge-BDZ6c79O.mjs.map +1 -0
- package/dist/deep-merge-BpFjvumi.cjs +1 -0
- package/dist/deep-merge-C9qDSleg.d.cts +26 -0
- package/dist/deep-merge-C9qDSleg.d.cts.map +1 -0
- package/dist/deep-merge-eCT712Cv.d.mts +26 -0
- package/dist/deep-merge-eCT712Cv.d.mts.map +1 -0
- package/dist/deep-merge.cjs +1 -36
- package/dist/deep-merge.d.cts +2 -0
- package/dist/deep-merge.d.mts +2 -0
- package/dist/deep-merge.mjs +1 -1
- package/dist/{delay.d.ts → delay-Bd_sGzMj.d.mts} +9 -4
- package/dist/delay-Bd_sGzMj.d.mts.map +1 -0
- package/dist/delay-UwR_fCwt.cjs +1 -0
- package/dist/delay-VkcrQf1l.d.cts +77 -0
- package/dist/delay-VkcrQf1l.d.cts.map +1 -0
- package/dist/delay-wdNbY6sk.mjs +2 -0
- package/dist/delay-wdNbY6sk.mjs.map +1 -0
- package/dist/delay.cjs +1 -28
- package/dist/delay.d.cts +2 -0
- package/dist/delay.d.mts +2 -0
- package/dist/delay.mjs +1 -1
- package/dist/errors-BXYY8wXj.cjs +1 -0
- package/dist/errors-DWX9ET_b.mjs +2 -0
- package/dist/errors-DWX9ET_b.mjs.map +1 -0
- package/dist/errors.cjs +1 -18
- package/dist/errors.d.cts +16 -0
- package/dist/errors.d.cts.map +1 -0
- package/dist/errors.d.mts +16 -0
- package/dist/errors.d.mts.map +1 -0
- package/dist/errors.mjs +1 -1
- package/dist/filter-empty-5_nMg04e.cjs +1 -0
- package/dist/filter-empty-BMtd0K07.d.mts +5 -0
- package/dist/filter-empty-BMtd0K07.d.mts.map +1 -0
- package/dist/filter-empty-C2fq9M7o.d.cts +5 -0
- package/dist/filter-empty-C2fq9M7o.d.cts.map +1 -0
- package/dist/filter-empty-Dsc1ymCj.mjs +2 -0
- package/dist/filter-empty-Dsc1ymCj.mjs.map +1 -0
- package/dist/filter-empty.cjs +1 -9
- package/dist/filter-empty.d.cts +2 -0
- package/dist/filter-empty.d.mts +2 -0
- package/dist/filter-empty.mjs +1 -1
- package/dist/{flatten-object.d.ts → flatten-object-Bk2VT-b2.d.mts} +8 -6
- package/dist/flatten-object-Bk2VT-b2.d.mts.map +1 -0
- package/dist/flatten-object-D-EbEZqR.cjs +1 -0
- package/dist/flatten-object-DFCZmly9.mjs +2 -0
- package/dist/flatten-object-DFCZmly9.mjs.map +1 -0
- package/dist/{unflatten-object.d.ts → flatten-object-DjaJJaY0.d.cts} +8 -6
- package/dist/flatten-object-DjaJJaY0.d.cts.map +1 -0
- package/dist/flatten-object.cjs +1 -20
- package/dist/flatten-object.d.cts +2 -0
- package/dist/flatten-object.d.mts +2 -0
- package/dist/flatten-object.mjs +1 -1
- package/dist/{get-field.d.ts → get-field-5XqtknPs.d.mts} +25 -22
- package/dist/get-field-5XqtknPs.d.mts.map +1 -0
- package/dist/get-field-D4F_p-Ov.cjs +1 -0
- package/dist/get-field-ngQ9O38X.mjs +2 -0
- package/dist/get-field-ngQ9O38X.mjs.map +1 -0
- package/dist/get-field-oltWWNRO.d.cts +254 -0
- package/dist/get-field-oltWWNRO.d.cts.map +1 -0
- package/dist/get-field.cjs +1 -43
- package/dist/get-field.d.cts +2 -0
- package/dist/get-field.d.mts +2 -0
- package/dist/get-field.mjs +1 -1
- package/dist/get-object-tag-D53RvMgo.cjs +1 -0
- package/dist/get-object-tag-oBoWkttN.mjs +2 -0
- package/dist/get-object-tag-oBoWkttN.mjs.map +1 -0
- package/dist/{get-ordered-by.d.ts → get-ordered-by-C45FfW2T.d.mts} +5 -2
- package/dist/get-ordered-by-C45FfW2T.d.mts.map +1 -0
- package/dist/get-ordered-by-CBKKJr4R.mjs +2 -0
- package/dist/get-ordered-by-CBKKJr4R.mjs.map +1 -0
- package/dist/get-ordered-by-D2Sr6vUN.cjs +1 -0
- package/dist/get-ordered-by-DuD7QRma.d.cts +39 -0
- package/dist/get-ordered-by-DuD7QRma.d.cts.map +1 -0
- package/dist/get-ordered-by.cjs +1 -18
- package/dist/get-ordered-by.d.cts +2 -0
- package/dist/get-ordered-by.d.mts +2 -0
- package/dist/get-ordered-by.mjs +1 -1
- package/dist/get-unique-BOiakY6A.cjs +1 -0
- package/dist/{get-unique.d.ts → get-unique-C0SBPUBv.d.cts} +6 -2
- package/dist/get-unique-C0SBPUBv.d.cts.map +1 -0
- package/dist/get-unique-DZ6E1Kvc.d.mts +26 -0
- package/dist/get-unique-DZ6E1Kvc.d.mts.map +1 -0
- package/dist/get-unique-DzZ7Z34U.mjs +2 -0
- package/dist/get-unique-DzZ7Z34U.mjs.map +1 -0
- package/dist/get-unique.cjs +1 -17
- package/dist/get-unique.d.cts +2 -0
- package/dist/get-unique.d.mts +2 -0
- package/dist/get-unique.mjs +1 -1
- package/dist/{identity.d.ts → identity-B_cGeF8o.d.mts} +5 -1
- package/dist/identity-B_cGeF8o.d.mts.map +1 -0
- package/dist/identity-DBwwvmGU.mjs +2 -0
- package/dist/identity-DBwwvmGU.mjs.map +1 -0
- package/dist/identity-DRhIvbPG.d.cts +18 -0
- package/dist/identity-DRhIvbPG.d.cts.map +1 -0
- package/dist/identity-z2xaIqpe.cjs +1 -0
- package/dist/identity.cjs +1 -9
- package/dist/identity.d.cts +2 -0
- package/dist/identity.d.mts +2 -0
- package/dist/identity.mjs +1 -1
- package/dist/index.cjs +1 -346
- package/dist/index.d.cts +32 -0
- package/dist/index.d.mts +32 -0
- package/dist/index.mjs +1 -1
- package/dist/is-empty-C7vlSVFD.mjs +2 -0
- package/dist/is-empty-C7vlSVFD.mjs.map +1 -0
- package/dist/is-empty-DZZDqzjD.cjs +1 -0
- package/dist/is-equal-0Z-K2uIG.mjs +2 -0
- package/dist/is-equal-0Z-K2uIG.mjs.map +1 -0
- package/dist/is-equal-BJgVhUVS.cjs +1 -0
- package/dist/{is-equal.d.ts → is-equal-BMlMHlVi.d.cts} +5 -1
- package/dist/is-equal-BMlMHlVi.d.cts.map +1 -0
- package/dist/is-equal-Baqurdpn.d.mts +22 -0
- package/dist/is-equal-Baqurdpn.d.mts.map +1 -0
- package/dist/is-equal.cjs +1 -61
- package/dist/is-equal.d.cts +2 -0
- package/dist/is-equal.d.mts +2 -0
- package/dist/is-equal.mjs +1 -1
- package/dist/is-number-BcjxCzDM.cjs +1 -0
- package/dist/is-number-bwhfkHlC.mjs +2 -0
- package/dist/is-number-bwhfkHlC.mjs.map +1 -0
- package/dist/is-plain-object-BQuFhL4M.cjs +1 -0
- package/dist/is-plain-object-D8GSMOhY.mjs +2 -0
- package/dist/is-plain-object-D8GSMOhY.mjs.map +1 -0
- package/dist/is-set-B9o0NIT4.mjs +2 -0
- package/dist/is-set-B9o0NIT4.mjs.map +1 -0
- package/dist/is-set-ByJOY6h2.cjs +1 -0
- package/dist/is-set-string-48_jZFw0.cjs +1 -0
- package/dist/is-set-string-Dr1MlMk0.mjs +2 -0
- package/dist/is-set-string-Dr1MlMk0.mjs.map +1 -0
- package/dist/is-string-CvmuuuDj.mjs +2 -0
- package/dist/is-string-CvmuuuDj.mjs.map +1 -0
- package/dist/is-string-DPanLeA_.cjs +1 -0
- package/dist/lru-cache-CzQ_kKXk.d.mts +103 -0
- package/dist/lru-cache-CzQ_kKXk.d.mts.map +1 -0
- package/dist/lru-cache-D4VEIgtR.d.cts +103 -0
- package/dist/lru-cache-D4VEIgtR.d.cts.map +1 -0
- package/dist/lru-cache-DLY_yZRN.mjs +2 -0
- package/dist/lru-cache-DLY_yZRN.mjs.map +1 -0
- package/dist/lru-cache-DgTSGx5W.cjs +1 -0
- package/dist/lru-cache.cjs +1 -82
- package/dist/lru-cache.d.cts +2 -0
- package/dist/lru-cache.d.mts +2 -0
- package/dist/lru-cache.mjs +1 -1
- package/dist/match-sorter-B9_7YvTo.mjs +2 -0
- package/dist/match-sorter-B9_7YvTo.mjs.map +1 -0
- package/dist/match-sorter-BjnWjkKu.cjs +1 -0
- package/dist/{match-sorter.d.ts → match-sorter-CMYN3GuY.d.cts} +44 -43
- package/dist/match-sorter-CMYN3GuY.d.cts.map +1 -0
- package/dist/match-sorter-DCRerxVe.d.mts +78 -0
- package/dist/match-sorter-DCRerxVe.d.mts.map +1 -0
- package/dist/match-sorter.cjs +1 -184
- package/dist/match-sorter.d.cts +2 -0
- package/dist/match-sorter.d.mts +2 -0
- package/dist/match-sorter.mjs +1 -1
- package/dist/memoize-Cr5jFKxi.mjs +2 -0
- package/dist/memoize-Cr5jFKxi.mjs.map +1 -0
- package/dist/memoize-TyrmWrfR.d.mts +11 -0
- package/dist/memoize-TyrmWrfR.d.mts.map +1 -0
- package/dist/memoize-qxvbI-0y.cjs +1 -0
- package/dist/memoize-tSTYY522.d.cts +11 -0
- package/dist/memoize-tSTYY522.d.cts.map +1 -0
- package/dist/memoize.cjs +1 -12
- package/dist/memoize.d.cts +2 -0
- package/dist/memoize.d.mts +2 -0
- package/dist/memoize.mjs +1 -1
- package/dist/mutex-CnQQBndt.cjs +1 -0
- package/dist/mutex-DAZduiSP.d.mts +72 -0
- package/dist/mutex-DAZduiSP.d.mts.map +1 -0
- package/dist/mutex-DCyX7B66.d.cts +72 -0
- package/dist/mutex-DCyX7B66.d.cts.map +1 -0
- package/dist/mutex-TqoKHosg.mjs +2 -0
- package/dist/mutex-TqoKHosg.mjs.map +1 -0
- package/dist/mutex.cjs +1 -20
- package/dist/mutex.d.cts +2 -0
- package/dist/mutex.d.mts +2 -0
- package/dist/mutex.mjs +1 -1
- package/dist/noop-B7OetrhD.mjs +2 -0
- package/dist/noop-B7OetrhD.mjs.map +1 -0
- package/dist/{noop.d.ts → noop-BnXKMH6Z.d.mts} +6 -2
- package/dist/noop-BnXKMH6Z.d.mts.map +1 -0
- package/dist/noop-CnJXOCpF.d.cts +22 -0
- package/dist/noop-CnJXOCpF.d.cts.map +1 -0
- package/dist/noop-Dpf7hIui.cjs +1 -0
- package/dist/noop.cjs +1 -10
- package/dist/noop.d.cts +2 -0
- package/dist/noop.d.mts +2 -0
- package/dist/noop.mjs +1 -1
- package/dist/object-CHmrmQna.d.mts +160 -0
- package/dist/object-CHmrmQna.d.mts.map +1 -0
- package/dist/object-D8HGAGMr.d.cts +160 -0
- package/dist/object-D8HGAGMr.d.cts.map +1 -0
- package/dist/omit-A0uVyAS4.cjs +1 -0
- package/dist/omit-BROsDK0D.mjs +2 -0
- package/dist/omit-BROsDK0D.mjs.map +1 -0
- package/dist/{omit.d.ts → omit-D1FKiOYz.d.cts} +5 -1
- package/dist/omit-D1FKiOYz.d.cts.map +1 -0
- package/dist/omit-DpqOAtKt.d.mts +22 -0
- package/dist/omit-DpqOAtKt.d.mts.map +1 -0
- package/dist/omit.cjs +1 -16
- package/dist/omit.d.cts +2 -0
- package/dist/omit.d.mts +2 -0
- package/dist/omit.mjs +1 -1
- package/dist/once-DNPPQd3P.d.mts +13 -0
- package/dist/once-DNPPQd3P.d.mts.map +1 -0
- package/dist/once-DZCwmdkv.cjs +1 -0
- package/dist/once-DqmxXwEB.d.cts +13 -0
- package/dist/once-DqmxXwEB.d.cts.map +1 -0
- package/dist/once-txoW63yJ.mjs +2 -0
- package/dist/once-txoW63yJ.mjs.map +1 -0
- package/dist/once.cjs +1 -17
- package/dist/once.d.cts +2 -0
- package/dist/once.d.mts +2 -0
- package/dist/once.mjs +1 -1
- package/dist/pick-CuXTvXaw.mjs +2 -0
- package/dist/pick-CuXTvXaw.mjs.map +1 -0
- package/dist/{pick.d.ts → pick-DXREvZBr.d.cts} +5 -1
- package/dist/pick-DXREvZBr.d.cts.map +1 -0
- package/dist/pick-GDOwAh6I.cjs +1 -0
- package/dist/pick-ZrWD4de2.d.mts +22 -0
- package/dist/pick-ZrWD4de2.d.mts.map +1 -0
- package/dist/pick.cjs +1 -14
- package/dist/pick.d.cts +2 -0
- package/dist/pick.d.mts +2 -0
- package/dist/pick.mjs +1 -1
- package/dist/remove-accents-BFmyvTRZ.mjs +2 -0
- package/dist/remove-accents-BFmyvTRZ.mjs.map +1 -0
- package/dist/remove-accents-C4C0A2ex.d.mts +12 -0
- package/dist/remove-accents-C4C0A2ex.d.mts.map +1 -0
- package/dist/remove-accents-CXBUC-Id.cjs +1 -0
- package/dist/remove-accents-Yo3-2jWO.d.cts +12 -0
- package/dist/remove-accents-Yo3-2jWO.d.cts.map +1 -0
- package/dist/remove-accents.cjs +1 -411
- package/dist/remove-accents.d.cts +2 -0
- package/dist/remove-accents.d.mts +2 -0
- package/dist/remove-accents.mjs +1 -1
- package/dist/remove-empty-items-BglsRCyG.d.cts +11 -0
- package/dist/remove-empty-items-BglsRCyG.d.cts.map +1 -0
- package/dist/remove-empty-items-BzI9Vid9.mjs +2 -0
- package/dist/remove-empty-items-BzI9Vid9.mjs.map +1 -0
- package/dist/remove-empty-items-COwdCPHC.d.mts +11 -0
- package/dist/remove-empty-items-COwdCPHC.d.mts.map +1 -0
- package/dist/remove-empty-items-CjTxJuyS.cjs +1 -0
- package/dist/remove-empty-items.cjs +1 -8
- package/dist/remove-empty-items.d.cts +2 -0
- package/dist/remove-empty-items.d.mts +2 -0
- package/dist/remove-empty-items.mjs +1 -1
- package/dist/semaphore-4zJqtox8.mjs +2 -0
- package/dist/semaphore-4zJqtox8.mjs.map +1 -0
- package/dist/semaphore-CsGTxqsW.d.cts +86 -0
- package/dist/semaphore-CsGTxqsW.d.cts.map +1 -0
- package/dist/semaphore-DkHqPlow.cjs +1 -0
- package/dist/semaphore-WaZBtCk5.d.mts +86 -0
- package/dist/semaphore-WaZBtCk5.d.mts.map +1 -0
- package/dist/semaphore.cjs +1 -32
- package/dist/semaphore.d.cts +2 -0
- package/dist/semaphore.d.mts +2 -0
- package/dist/semaphore.mjs +1 -1
- package/dist/set-field-CUgbKEjW.mjs +2 -0
- package/dist/set-field-CUgbKEjW.mjs.map +1 -0
- package/dist/set-field-CcCiXZNl.d.cts +16 -0
- package/dist/set-field-CcCiXZNl.d.cts.map +1 -0
- package/dist/set-field-DyvXgpNP.d.mts +16 -0
- package/dist/set-field-DyvXgpNP.d.mts.map +1 -0
- package/dist/set-field-mr4GkhFb.cjs +1 -0
- package/dist/set-field.cjs +1 -21
- package/dist/set-field.d.cts +2 -0
- package/dist/set-field.d.mts +2 -0
- package/dist/set-field.mjs +1 -1
- package/dist/throttle-BOKOTo3m.cjs +1 -0
- package/dist/{throttle.d.ts → throttle-BWPQuZty.d.cts} +5 -1
- package/dist/throttle-BWPQuZty.d.cts.map +1 -0
- package/dist/throttle-BgU4k6qs.d.mts +32 -0
- package/dist/throttle-BgU4k6qs.d.mts.map +1 -0
- package/dist/throttle-CYK3F0mZ.mjs +2 -0
- package/dist/throttle-CYK3F0mZ.mjs.map +1 -0
- package/dist/throttle.cjs +1 -13
- package/dist/throttle.d.cts +2 -0
- package/dist/throttle.d.mts +2 -0
- package/dist/throttle.mjs +1 -1
- package/dist/timeout-43rG9ETK.mjs +2 -0
- package/dist/timeout-43rG9ETK.mjs.map +1 -0
- package/dist/{timeout.d.ts → timeout-CLhwG-oo.d.mts} +5 -1
- package/dist/timeout-CLhwG-oo.d.mts.map +1 -0
- package/dist/timeout-CoYbhliP.cjs +1 -0
- package/dist/timeout-DC38jHR8.d.cts +12 -0
- package/dist/timeout-DC38jHR8.d.cts.map +1 -0
- package/dist/timeout.cjs +1 -11
- package/dist/timeout.d.cts +2 -0
- package/dist/timeout.d.mts +2 -0
- package/dist/timeout.mjs +1 -1
- package/dist/to-deep-key-Cma9aiEz.cjs +1 -0
- package/dist/to-deep-key-D8uDBd6T.mjs +2 -0
- package/dist/to-deep-key-D8uDBd6T.mjs.map +1 -0
- package/dist/{to-deep-key.d.ts → to-deep-key-DO-Z0Zjs.d.mts} +6 -2
- package/dist/to-deep-key-DO-Z0Zjs.d.mts.map +1 -0
- package/dist/to-deep-key-DlsE4ziE.d.cts +42 -0
- package/dist/to-deep-key-DlsE4ziE.d.cts.map +1 -0
- package/dist/to-deep-key.cjs +1 -15
- package/dist/to-deep-key.d.cts +2 -0
- package/dist/to-deep-key.d.mts +2 -0
- package/dist/to-deep-key.mjs +1 -1
- package/dist/{to-path.d.ts → to-path-BajxeMmo.d.mts} +5 -1
- package/dist/to-path-BajxeMmo.d.mts.map +1 -0
- package/dist/to-path-CdOFd4od.cjs +1 -0
- package/dist/to-path-D2zWXeYc.d.cts +24 -0
- package/dist/to-path-D2zWXeYc.d.cts.map +1 -0
- package/dist/to-path-Dm1fe-Ix.mjs +2 -0
- package/dist/to-path-Dm1fe-Ix.mjs.map +1 -0
- package/dist/to-path.cjs +1 -23
- package/dist/to-path.d.cts +2 -0
- package/dist/to-path.d.mts +2 -0
- package/dist/to-path.mjs +1 -1
- package/dist/unflatten-object-C7TE8J80.mjs +2 -0
- package/dist/unflatten-object-C7TE8J80.mjs.map +1 -0
- package/dist/unflatten-object-CPJIUozj.d.mts +35 -0
- package/dist/unflatten-object-CPJIUozj.d.mts.map +1 -0
- package/dist/unflatten-object-CvZj41LG.cjs +1 -0
- package/dist/unflatten-object-Cvbj7Q__.d.cts +35 -0
- package/dist/unflatten-object-Cvbj7Q__.d.cts.map +1 -0
- package/dist/unflatten-object.cjs +1 -10
- package/dist/unflatten-object.d.cts +2 -0
- package/dist/unflatten-object.d.mts +2 -0
- package/dist/unflatten-object.mjs +1 -1
- package/dist/{union.d.ts → union-BMOMEzO-.d.cts} +5 -1
- package/dist/union-BMOMEzO-.d.cts.map +1 -0
- package/dist/union-C-2CRoFc.mjs +2 -0
- package/dist/union-C-2CRoFc.mjs.map +1 -0
- package/dist/union-D4bbjM2i.d.mts +24 -0
- package/dist/union-D4bbjM2i.d.mts.map +1 -0
- package/dist/union-EwdcZzNT.cjs +1 -0
- package/dist/union.cjs +1 -10
- package/dist/union.d.cts +2 -0
- package/dist/union.d.mts +2 -0
- package/dist/union.mjs +1 -1
- package/dist/{with-timeout.d.ts → with-timeout-BPaAIZtS.d.cts} +5 -1
- package/dist/with-timeout-BPaAIZtS.d.cts.map +1 -0
- package/dist/with-timeout-BoZYdcOg.d.mts +24 -0
- package/dist/with-timeout-BoZYdcOg.d.mts.map +1 -0
- package/dist/with-timeout-CAuUr1ck.mjs +2 -0
- package/dist/with-timeout-CAuUr1ck.mjs.map +1 -0
- package/dist/with-timeout-CPUBGT4X.cjs +1 -0
- package/dist/with-timeout.cjs +1 -10
- package/dist/with-timeout.d.cts +2 -0
- package/dist/with-timeout.d.mts +2 -0
- package/dist/with-timeout.mjs +1 -1
- package/package.json +91 -440
- package/dist/deep-merge.d.ts +0 -22
- package/dist/errors.d.ts +0 -12
- package/dist/filter-empty.d.ts +0 -1
- package/dist/index.d.ts +0 -31
- package/dist/lru-cache.d.ts +0 -99
- package/dist/memoize.d.ts +0 -7
- package/dist/mutex.d.ts +0 -68
- package/dist/once.d.ts +0 -9
- package/dist/remove-accents.d.ts +0 -8
- package/dist/remove-empty-items.d.ts +0 -7
- package/dist/semaphore.d.ts +0 -82
- package/dist/set-field.d.ts +0 -10
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,427 @@
|
|
|
1
|
+

|
|
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
|
+

|
|
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
|
+

|
|
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"
|
|
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
|
|
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
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
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
|
-
- [
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
- [
|
|
57
|
-
- [
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
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 [
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
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
|
-
<
|
|
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
|
-
|
|
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 @@
|
|
|
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}});
|
package/dist/arg-identity.cjs
CHANGED
package/dist/arg-identity.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
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
|
-
|
|
2
|
-
|
|
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
|
-
|
|
40
|
-
|
|
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"}
|