Commit Graph

637 Commits

Author SHA1 Message Date
D-Sketon
94cf7ff661
perf(at): improve performance (#544) 2024-09-18 11:00:37 +09:00
Sojin Park
19eabc9366 feat(throttle): Add compatibility with lodash
Some checks failed
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
Dongho Kim
e37b295737
perf(zipWith): Optimize performance of zipWith (#540)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-16 09:51:00 +09:00
Dongho Kim
0f26a676ba
perf(zip): Optimize performance of zip (#539) 2024-09-16 09:49:42 +09:00
DonghyunKim98
5dea53fdc4
feat(drop): Added compatibility for drop (#532)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* feat : Added compatibility for drop.ts

* feat : add import in index.ts
2024-09-15 17:58:56 +09:00
Dongho Kim
c92faba75e
feat(initial): Add overloaded signatures for initial (#534) 2024-09-15 17:57:57 +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
72186bb8c9 v1.19.0
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-14 23:19:16 +09:00
raon0211
a010748f82 style: Fix style for some functions 2024-09-14 23:04:18 +09:00
raon0211
8b07ec7bd7 perf(get, unset, matchesProperty, toPath): Improve performance 2024-09-14 23:04:18 +09:00
raon0211
1a5e9c8e64 feat(omit): Add compatibility version of omit 2024-09-14 23:04:18 +09:00
raon0211
0edff25215 perf(toPath): Improve performance of toPath, add benchmarks 2024-09-14 23:04:18 +09:00
Dayong Lee
30f8633f8b
fix(string): coerce to string for cases methods (#522)
* Coerce to string and change function interface

* Update src/compat/_internal/normalizeForCase.ts

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-09-14 20:32:26 +09:00
raon0211
f2f4b8ec88 docs: Fix docs style 2024-09-14 20:32:06 +09:00
raon0211
ec79293feb test: Add missing test cases 2024-09-14 20:31:52 +09:00
raon0211
a02c616e56 test: Add missing test cases 2024-09-14 18:00:33 +09:00
raon0211
4b9c4985b6 fix(unset): Fix behavior of unset, add docs 2024-09-14 17:53:27 +09:00
raon0211
cdba4ca134 fix: Add readonly to indexOf 2024-09-14 17:47:43 +09:00
raon0211
5fe4a63818 fix: Fix incorrect imports 2024-09-14 17:47:33 +09:00
raon0211
2c4a565c56 docs: Add docs of forEachRight 2024-09-14 17:44:18 +09:00
raon0211
dcfc521109 docs: Move toString to util 2024-09-14 17:44:09 +09:00
raon0211
6f6ab60926 feat(unset): Implement unset 2024-09-14 17:37:21 +09:00
raon0211
c407bcc807 feat(toPath): Add toPath in compatibility library 2024-09-14 17:37:12 +09:00
Benzy
6e07157308
feat(isDate): add isDate function (#524)
* feat: add isDate

Co-authored-by: hyesungoh <haesungoh414@gmail.com>

* test: isDate bench

Co-authored-by: hyesungoh <haesungoh414@gmail.com>

* docs: isDate

Co-authored-by: hyesungoh <haesungoh414@gmail.com>

* docs(isDate): Add docs for isDate

---------

Co-authored-by: hyesungoh <haesungoh414@gmail.com>
Co-authored-by: raon0211 <raon0211@toss.im>
2024-09-14 16:29:45 +09:00
raon0211
b870fa3681 style: Fix style for some functions 2024-09-14 16:24:57 +09:00
raon0211
a88ac3f7f8 fix(isMatch): Fix circular dependency 2024-09-14 16:24:36 +09:00
raon0211
6e466c950e style: Fix style for some functions 2024-09-14 16:24:22 +09:00
raon0211
853c72f987 fix(mergeWith): Fix mergeWith not preserving properties of target 2024-09-14 16:18:01 +09:00
raon0211
2f2c94d44f fix: Add missing readonlys to functions 2024-09-14 15:13:20 +09:00
raon0211
06f68c20b9 docs: Fix docs style
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-14 14:47:53 +09:00
mattiacoll
0375c66a9e
feat(isSafeInteger): add isSafeInteger function (#529)
* Implement isInteger

* Implement isInteger

* Implement isSafeInteger

* docs: Add isSafeInteger and use native Number.isSafeInteger

* fix: Remove isInteger, isSafeInteger

* doc

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-14 14:47:33 +09:00
raon0211
1f336b0456 fix(groupBy): Support keys like toString or valueOf in groupBy 2024-09-14 14:33:57 +09:00
raon0211
e65b191dea bench: Fix benchmark for isInteger 2024-09-14 14:31:51 +09:00
raon0211
2867dcdc7d docs(toString): Add docs for toString 2024-09-14 14:26:40 +09:00
mattiacoll
ff8976e5de
feat(isInteger): add isInteger function (#528)
* Implement isInteger

* Update docs/reference/math/isInteger.md

* Update src/math/isInteger.ts

* Update src/math/isInteger.ts

* Update docs/reference/math/isInteger.md

* Update docs/reference/math/isInteger.md

* docs(isInteger): Add docs for isInteger

* lint

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: raon0211 <raon0211@toss.im>
2024-09-14 14:26:00 +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
0c9de4747a
fix(capitalize): fix type (#523) 2024-09-14 14:08:47 +09:00
Junseong Park
191fbd037e
docs: replace pnpm install with pnpm add (#530) 2024-09-14 14:08:18 +09:00
Dayong Lee
993b77f9ab
feat(toString): add toString in compat layer (#521)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* Implement toString

* Update src/compat/string/toString.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-09-13 17:42:37 +09:00
Dayong Lee
31769810b8
feat(string): add snakeCase, startCase, lowerCase, kebabCase in compat layer (#517)
* Add cases function

* Add benchmarks and re-export in index.ts

* Revert
2024-09-13 16:43:07 +09:00
DonghyunKim98
7aad9d6b9a
docs: Fix incorrect docs in isObject (#520)
* fix : wrong docs in isObject docs

* Update isObject.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-09-13 16:42:43 +09:00
raon0211
4a17214496 feat(trim, trimStart, trimEnd): Ensure compatibility with trim, trimStart, and trimEnd 2024-09-13 16:41:10 +09:00
Ankit
5a7d931c38
feat(trim, trimStart, trimEnd): add trim, trimStart and trimEnd functions (#411)
* trim feature first commit

* prettier

* corrections in trim functions

* prettier

* prettier

---------

Co-authored-by: Ankit <ankit.jha@deptagency.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-13 15:48:48 +09:00
raon0211
db82e936f6 docs: Update docs for upperCase 2024-09-13 15:48:18 +09:00
raon0211
529cbf9f55 perf(upperCase): Improve performance of upperCase by using for loops 2024-09-13 15:36:04 +09:00
mattiacoll
7f2e19dc31
feat: add upperCase function (#402)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* feat(upperCase): Add upperCase function

* Add upperCase benchmark

* Added english docs
2024-09-13 15:34:16 +09:00