Dayong Lee
59e973708f
refactor: improve type definitions and clean up type assertions inafter
, isKey
, orderBy
, and withTimeout
functions ( #703 )
...
* Fix after
* Remove type assertion
2024-10-13 22:04:01 +09:00
원동휘
b9337bbbf6
docs(throttle): Update docs ( #688 )
2024-10-09 11:53:59 +09:00
raon0211
25602192d8
docs: Fix docs style
2024-10-07 22:25:31 +09:00
Dongho Kim
3d7ba7d691
docs(before): Update docs ( #682 )
...
* docs(before): Correct JSDoc example
* docs(before): Add lodash compatibility section
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-10-07 22:14:13 +09:00
D-Sketon
f452321c5e
feat(compat): implement curryRight ( #645 )
2024-10-03 18:18:51 +09:00
Dayong Lee
22701d5c23
fix(before,once): allow accepting arguments for once
and fix types of before
and once
( #647 )
...
* Fix before once
* Fix lint error
* Apply suggestions from code review
Co-authored-by: Sojin Park <raon0211@gmail.com>
* Fix once
* Fix once types
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-03 18:08:37 +09:00
Dongho Kim
30518a8fe6
docs(curryRight): Rename parameters for clarity and update docs ( #631 )
2024-10-01 20:21:51 +09:00
Sojin Park
674d0868aa
docs: Add docs
2024-10-01 14:08:25 +09:00
D-Sketon
7695034979
feat(compat): implement flow/flowRight ( #621 )
2024-10-01 14:01:32 +09:00
D-Sketon
20426dfdcc
feat(curryRight): implement curryRight ( #628 )
2024-10-01 13:58:04 +09:00
Sojin Park
5553908173
docs(flowRight): Add docs for flowRight
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-28 23:04:52 +09:00
D-Sketon
75ed97afa0
feat(flowRight): implement flowRight ( #603 )
2024-09-28 22:56:26 +09:00
Sojin Park
819d64ecfa
docs: Add missing docs and style docs
2024-09-28 22:22:34 +09:00
D-Sketon
c051a3165e
feat(flow): implement flow ( #595 )
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-26 16:35:41 +09:00
Sojin Park
aa89c90152
feat(debounce, throttle): Support edges for debounce & throttle
2024-09-18 16:11:48 +09:00
Sojin Park
19eabc9366
feat(throttle): Add compatibility with lodash
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-09-16 22:57:35 +09:00
Sojin Park
21212c448e
revert: Revert debounce support for leading and trailing edge, due to performance degradation
...
This reverts commit 7239073eb0
.
2024-09-16 21:38:08 +09:00
Sojin Park
7239073eb0
feat(debounce): Add leading and trailing edge support in debounce
2024-09-16 21:23:14 +09:00
Sojin Park
09eb88676e
feat(debounce): Add compatibility with lodash
2024-09-16 19:04:30 +09:00
D-Sketon
02ce5e9024
feat(compat): implement curry ( #535 )
...
* feat(compat): implement curry
* make lint happy
* doc
2024-09-15 17:57:27 +09:00
D-Sketon
9bb1203b51
docs(spread): fix doc ( #536 )
...
* fix(spread): fix doc
* Update spread.md
* Update spread.md
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-09-15 17:55:34 +09:00
raon0211
06f68c20b9
docs: Fix docs style
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-14 14:47:53 +09:00
seungrodotlee
9364390715
feat(curry): add curry
function ( #187 )
...
* feat. Add utility types
* feat. Add curry function
* feat. add error throw
* feat. add spec of curry
* fix. fix type error when optional parameter exist
* fix. fix type when rest parameters exist
* fix. fix types error
* fix. fix all type errors
* refactor. rename OptionalStartIdx
* test. add test codes when rest parameters exist
* feat. add method to flexibleCurry
* feat. fix all type errors and functional errors
* chore. add benchmark
* chore. fix comments
* refactor. enhance type of flexibleCurry
* refactor. refactor arrow function -> normal function
* feat. correctly infer the errored type when the run method is called while the argument to be received is not optional
* docs. add docs about curry
* refactor. file refactor naming case of types
* fix. fix types error caused by renaming of case
* fix. fix errors same as last commit
* fix. fix errors same as last commit
* feat. keep curry function and type simple
* fix. fix test codes with updated implementation
* Update src/function/index.ts
* feat(curry): Fix curry types
* feat(curry): Fix curry types
* feat(curry): Fix curry types
* Remove ramda
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-09-14 14:24:56 +09:00
D-Sketon
eb8bf63ad7
docs: improve doc ( #506 )
2024-09-10 08:40:56 +09:00
Sojin Park
3c3bba011f
docs(rearg): Add rearg in compat and add docs
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-08 23:48:58 +09:00
D-Sketon
ff595628cd
feat(rearg): Implement rearg ( #426 )
...
* feat(rearg): implement rearg
* make lint happy
* fix
* make lint happy
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-08 23:40:51 +09:00
Sojin Park
22b8a80017
chore: Add conformsTo to compat
2024-09-08 23:36:38 +09:00
D-Sketon
d430ecff73
feat(conforms/conformsTo): implement conforms&conformsTo ( #491 )
...
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-08 23:20:29 +09:00
Sojin Park
61d4acbafb
feat(bindKey): Move bindKey to compat
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-08 18:50:22 +09:00
D-Sketon
f1f55c8dc3
feat(bindKey): implement bindKey ( #448 )
...
* feat(bindKey): implement bindKey
* fix
* make lint happy
* Update docs/.vitepress/en.mts
* Update benchmarks/performance/bindKey.bench.ts
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-08 18:35:04 +09:00
Sojin Park
c37e1c5b09
chore: Move attempt to compat, and style docs
2024-09-08 17:11:06 +09:00
D-Sketon
be020f4587
feat(attempt): Implement attempt ( #489 )
...
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-08 17:04:54 +09:00
Sojin Park
a84ffa9aed
docs(spread): Add docs for spread
2024-08-31 19:38:26 +09:00
D-Sketon
1c74848003
feat(spread): Implement spread ( #428 )
...
* feat(spread): implement spread
* lodash compatibility
* remove useless comment
2024-08-31 19:17:53 +09:00
Dayong Lee
db3a8bc0d5
fix(debounce): fix return type ( #406 )
...
* Improve type of debounce
* Rollback signal arguments
* Remove temp code
* Revert testcase
* Change generic type
* Revert generic type
2024-08-31 15:04:52 +09:00
Sojin Park
14ae504e0f
style: Fix ESLint errors
2024-08-31 14:45:20 +09:00
Dongho Kim
1890d8ff07
docs(ary): Update docs for ary
( #452 )
...
* docs(ary): Update docs for `ary`
* Apply suggestions from code review
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-08-31 14:45:00 +09:00
Dayong Lee
f7a1c8548a
fix(throttle): fix types of generic and return value ( #447 )
...
* Improve types of throttle
* Apply suggestions from code review
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-08-31 10:54:46 +09:00
D-Sketon
59d936f4d2
docs: Fix errors in docs ( #430 )
2024-08-25 21:57:59 +09:00
Sojin Park
b1ac921779
feat(memoize): Update behavior or memoize to get a custom getCacheKey and only accept unary or zero-argument function
2024-08-15 23:10:15 +09:00
novo
3cb5c804e1
feat(memoize): Add memoize ( #208 )
...
* feat: memoize
* test: memoize
* chore: add benchmark of memoize
* docs: add docs
* feat: add overloads to memoize
* feat: MemoizeOption
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-08-15 21:24:20 +09:00
Sojin Park
98af4a3a11
docs(rest): Improve docs for rest
2024-08-15 21:19:59 +09:00
D-Sketon
71a710b762
feat(rest): implement rest ( #374 )
...
* feat(rest): implement rest
* fix: compat
2024-08-15 21:01:13 +09:00
Sojin Park
4bc1fa8704
docs: Update docs
2024-08-11 15:32:20 +09:00
Sojin Park
19e63dea78
docs(partial, partialRight): Add docs for partial, partialRight
2024-08-11 15:31:00 +09:00
Sojin Park
be4162dc19
style: Apply prettier
2024-08-11 10:54:13 +09:00
D-Sketon
5260d5b81b
feat(partial, partialRight): Implement partial/partialRight ( #368 )
...
* feat(partial/partialRight): implenent partial/partialRight
* Apply suggestions from code review
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-08-11 10:53:02 +09:00
raon0211
f6be4d7ad6
feat(bind): Move bind to compat
2024-08-09 09:32:42 +09:00
raon0211
b2427e1f4b
fix(ary, unary): Fix guard in ary & unary, add Korean docs
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-08-07 19:02:23 +09:00
D-Sketon
ec1a55850c
feat(ary/unary): implement ary/unary ( #325 )
...
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
* feat(ary/unary): implement ary/unary
* fix
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-08-04 23:23:00 +09:00