Commit Graph

178 Commits

Author SHA1 Message Date
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
Dayong Lee
21a0ceabc5
feat(sortBy): implement es-toolkit/sortBy (#381)
* Implement sortBy

* Add bench

* Extends template from object

* Fix example

* Add mixed iteratees

* Add docs and fix examples

* Fix jsdoc

* make prettier

* Update src/array/sortBy.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-08-15 11:15:35 +09:00
uussong
b11fd69e17
feat(isString): Add isString function (#379)
* feat(isString): Add isString function

* test(isString): Add isString tests

* docs(isString): Add and improve docs for isString

* Update src/compat/predicate/isString.spec.ts

* Update src/compat/predicate/isString.spec.ts

* Update src/predicate/index.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-08-15 11:06:47 +09:00
Sojin Park
da091c49d8 docs: Add missing backticks in signature for has 2024-08-11 21:40:34 +09:00
Sojin Park
f99a6b26c3 docs: Add docs for errors 2024-08-11 21:38:32 +09:00
Sojin Park
418183b0aa docs: Add docs for indexOf 2024-08-11 21:20:11 +09:00
Sojin Park
c9587f3816 feat(findIndex): Implement findIndex 2024-08-11 21:03: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
f71ff9e511 docs: Update docs for find 2024-08-11 15:24:13 +09:00
Sojin Park
fb05fbe355 feat(find): Implement find 2024-08-11 15:05:04 +09:00
Sojin Park
dd97756ffb feat(matchesProperty): Implement matchesProperty 2024-08-11 14:09:13 +09:00
Sojin Park
01cf3a6c9a feat(has): Implement has 2024-08-11 12:56:15 +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
Sojin Park
0ae3e51977 docs: Clarify docs for es-toolkit/compat
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-08-10 17:38:07 +09:00
Sojin Park
1022ea52a6 docs: Add benchmarks to some of our functions 2024-08-10 16:58:00 +09:00
Sojin Park
8912165ee8 docs(mergeWith): Improve docs for mergeWith 2024-08-10 16:32:40 +09:00
Sojin Park
cc3a467443 feat(mergeWith): Add implementation for mergeWith 2024-08-10 16:24:51 +09:00
Sojin Park
0054dc8119 feat(merge, toMerged): Add merge & toMerged 2024-08-10 15:38:41 +09:00
Sojin Park
bff10652b4 docs: Add examples in cloneDeep
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-08-10 10:33:05 +09:00
Sojin Park
5d34b16683 docs(pascalCase, startCase): Add docs for pascalCase & startCase 2024-08-10 10:26:23 +09:00
D-Sketon
4d46377d9b
feat(isSymbol): implement isSymbol (#359)
* feat: implement isSymbol

* fix: make pure
2024-08-10 10:16:18 +09:00
Juhyeok Kang
bfddc0f549
docs: Add Sandpack in docs (#363) 2024-08-10 10:15:48 +09:00
raon0211
7ca9ffcd72 docs: Revert adding Sandpack components
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-08-09 11:09:25 +09:00