Commit Graph

202 Commits

Author SHA1 Message Date
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
d15c9cbf37 feat(some): Fix docs and interface for some 2024-09-08 18:27:44 +09:00
Sojin Park
0300524444 feat(some): Fix docs and interface for some 2024-09-08 18:20:54 +09:00
kimjeonghee
3f49bc9094
feat(some): add some function (#478)
* feat: create some function

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

* test: some

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

* docs: some

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

* chore: append more bench test and update variable name

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

* feat: move some function to compat

Co-authored-by: k-jeonghee <heestory1992@gmail.com>

* Update docs/ko/reference/compat/array/some.md

---------

Co-authored-by: hyesungoh <haesungoh414@gmail.com>
Co-authored-by: Tino <tino@f-lab.kr>
Co-authored-by: Sojin Park <raon0211@toss.im>
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-09-08 17:56:46 +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
a9e7edde14 docs: Add documentation automatic generation script 2024-09-08 17:02:19 +09:00
Sojin Park
452480335c feat(fromPairs): Ensure compatibility with lodash
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-08 00:20:45 +09:00
knott
fd2658e216
feat(fromPairs): Add fromPairs (#473)
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-08 00:07:27 +09:00
Dongho Kim
1d4e55d571
feat(isArrayLikeObject): Add isArrayLikeObject in compat (#480)
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-07 23:40:18 +09:00
D-Sketon
6ba0d7b93e
feat(escapeRegExp): implement escapeRegExp (#483) 2024-09-07 23:17:46 +09:00
Dayong Lee
48e9590a93
feat(isWeakSet): add isWeakSet with compatibility (#477)
* Add isWeakSet

* Add docs
2024-09-07 12:02:57 +09:00
Gromit (전민재)
7ad4ef15d3
feat(flatMapDeep): Add flatMapDeep (#464)
* feat: add flatMapDeep new function

* refac: flatMapDeep refactor

* fix: benchmark fix

* fix: benchmark fix

* Apply suggestions from code review

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-04 10:01:01 +09:00
raon0211
4fea8d2a00 docs(escape, unescape): Add docs for escape & unescape
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-03 23:53:24 +09:00
raon0211
2dab51b468 docs(repeat): Add docs for repeat 2024-09-03 23:45:19 +09:00
PiQuark6046
e48c313d96
feat(repeat): Add repeat (#459)
* bench: repeat

* test: repeat

* feat(repeat): Add repeat

* docs: repeat

* fix typo
2024-09-03 23:35:38 +09:00
D-Sketon
53f5b698b9
feat(escape/unescape): implement escape&unescape (#462)
* feat(escape/unescape): implement escape&unescape

* compatibility

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-03 23:34:40 +09:00
Dayong Lee
158435c1e6
feat(isWeakMap): add isWeakMap with compatibility (#458)
* Add isWeakMap

* Add compat

* Add bench

* Add docs

* Update return type

* Update docs/ko/reference/predicate/isWeakMap.md

* Update docs/ko/reference/predicate/isWeakMap.md

* Update src/compat/predicate/isWeakMap.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-09-03 23:33:38 +09:00
raon0211
959b5d08c6 docs(pad): Add docs for pad 2024-09-03 23:28:44 +09:00
Péter Kovács
215a1656e1
feat(pad): Add pad function (#469) 2024-09-03 23:14:53 +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
Sojin Park
f3620d76aa docs(at, pullAt): Note that at and pullAt supports negative indices 2024-08-31 14:41:12 +09:00
Sojin Park
6a676986d9 feat(at): at should support negative indices 2024-08-31 14:39:00 +09:00
Sojin Park
0fa6ab024b fix(pullAt): Fix pullAt to work with objects and add some docs 2024-08-31 14:28:19 +09:00
Sojin Park
d62fec39f7 feat(at): Implement at function 2024-08-31 14:13:40 +09:00
Sojin Park
c7d12a1c80 docs(deburr): Add docs for deburr 2024-08-31 13:50:18 +09:00
D-Sketon
58d1cb2fd4
feat(deburr): Implement deburr (#449)
* feat(deburr): implement deburr

* compatibility
2024-08-31 13:39:31 +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
spookyuser
984a072ff4
docs: Add example showing how to use uniqBy with object arrays (#410)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* Add example showing how to use uniqBy with object arrays

* Add uniqBy example with objects to other docs

* Apply suggestions from code review

* Update src/array/uniqBy.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-08-28 23:23:16 +09:00
Dongho Kim
f85579bc39
fix(countBy): Support nemeric and symbol keys in countBy (#433)
* fix(countBy): Support readonly array in `countBy`

* fix(countBy): Support numeric and symbol keys in `countBy`
2024-08-28 23:20:44 +09:00
raon0211
8dc4fed848 feat(minBy, maxBy): Update docs for minBy & maxBy 2024-08-25 22:25:09 +09:00
raon0211
6ef87e318b feat(upperFirst, lowerFirst): Add some docs for lowerFirst & upperFirst 2024-08-25 22:22:21 +09:00
mattiacoll
16fda3f24c
feat(upperFirst): Add upperFirst function (#404)
* feat(upperFirst): Add upperFirst function

* Add upperFirst benchmark

* Add upperFirst english docs

* Update docs/reference/string/upperFirst.md

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-08-25 22:15:19 +09:00
mattiacoll
02643bcbe3
feat(lowerFirst): add lowerFirst function (#403)
* feat(lowerFirst): Add lowerFirst function

* Add lowerFirst benchmark

* Add lowerFirst english docs

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-08-25 22:12:57 +09:00
raon0211
3844e7a3c3 feat(isRegExp): Add test cases from lodash & add docs for zh_hans 2024-08-25 22:06:14 +09:00
hyesung oh
e436125344
feat(isRegExp): add isRegExp function (#417)
* feat: isRegExp at src/predicate

* feat: isRegExp at compat

* test: bench

* docs: append isRegExp

* chore: format

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-08-25 22:01:12 +09:00
D-Sketon
59d936f4d2
docs: Fix errors in docs (#430) 2024-08-25 21:57:59 +09:00
Dayong Lee
3eb93e531c
feat(orderBy, sortBy): support custom key functions in orderBy and integrate sortBy with orderBy (#407)
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-08-22 23:28:27 +09:00
Dongho Kim
50814915ef
docs(isArray): Update docs for isArray (#390)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-08-18 22:51:39 +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
Péter Kovács
50b4866909
feat(padEnd): add padEnd (#380) 2024-08-15 20:58:58 +09:00
Dayong Lee
321a1bf635
refactor(sortBy, orderBy): use same compareValues function in internal and fix type (#382)
* Refact compareValues

* Fix type error

* Fix docs
2024-08-15 20:58:26 +09:00
Sojin Park
d4037c755c feat(sortBy): Refactor sortBy and improve docs
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-08-15 11:33:40 +09:00