Commit Graph

71 Commits

Author SHA1 Message Date
Sojin Park
c0efc65360 feat(dropWhile): Add full compatibility with lodash 2024-09-28 22:15:16 +09:00
D-Sketon
f7853a80c1
docs: fix import (#599)
* docs: fix import

* docs: fix import
2024-09-26 10:53:52 +09:00
Dongho Kim
2e1f1177ed
fix(compact): Update NotFalsey to exclude 0n (#588)
* fix(compact): Update `NotFalsey` to exclude `0n`

* docs(compact): Update docs formatting
2024-09-24 10:19:48 +09:00
Goblin (Kim Woo Seok)
53703f4abb
docs: Add detail examples to docs in maxBy, minBy (#554)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* docs: Add detail examples to docs in maxBy, minBy

* docs: Add examples for maxBy and minBy functions to en, ja, zh_hans docs
2024-09-23 18:53:02 +09:00
Junseong Park
0c4edbb2b9
docs: Update wrong headings and contents (#547)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-18 17:36:04 +09:00
raon0211
9d3918adc2 fix(join): Move join to compat 2024-09-12 22:19:10 +09:00
Sojin Park
c37e1c5b09 chore: Move attempt to compat, and style docs 2024-09-08 17:11:06 +09:00
Sojin Park
a9e7edde14 docs: Add documentation automatic generation script 2024-09-08 17:02:19 +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
Sojin Park
14ae504e0f style: Fix ESLint errors 2024-08-31 14:45:20 +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
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
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
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
Sojin Park
be4162dc19 style: Apply prettier 2024-08-11 10:54:13 +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
raon0211
f4b6eb3ef4 docs: Add Sandpack components again
Revert "revert: Add Sandpack components, since it currently breaks the build"

This reverts commit 9109e89078.
2024-08-09 11:01:46 +09:00
raon0211
f5b43f138f feat(size): Move size to compat 2024-08-09 10:00:41 +09:00
raon0211
9109e89078 revert: Revert Sandpack components, since it currently breaks the build
Revert "docs: Implement Sandpack component for interactive examples in documentation (#338)"

This reverts commit db79ff3355.
2024-08-09 09:52:09 +09:00
Juhyeok Kang
db79ff3355
docs: Implement Sandpack component for interactive examples in documentation (#338)
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
* feat(docs): add sandpack component

* docs: add demo in chunk api doc
2024-08-06 11:36:43 +09:00
Gromit (전민재)
b0011fa038
feat(isSubset): Add isSubset function (#343) 2024-08-04 21:29:45 +09:00
원동휘
6356555f46
feat: add readonly type for toFilled (#327)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* feat: add readonly type for toFilled

* Apply suggestions from code review

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-31 22:01:30 +09:00
오병진
fcc166a8fa
feat(size, compat): implement size function (#275)
* feat(size, compat): implement size function

Signed-off-by: sunrabbit123 <qudwls185@naver.com>

* fix: typo

Signed-off-by: sunrabbit123 <qudwls185@naver.com>

* bench(size): add benchamrk code

Signed-off-by: sunrabbit123 <qudwls185@naver.com>

* enhance(size): refactor size implementation

Signed-off-by: sunrabbit123 <qudwls185@naver.com>

* remove: unused code

Signed-off-by: sunrabbit123 <qudwls185@naver.com>

* fix: type check

Signed-off-by: sunrabbit123 <qudwls185@naver.com>

* fix: typo

Signed-off-by: sunrabbit123 <qudwls185@naver.com>

---------

Signed-off-by: sunrabbit123 <qudwls185@naver.com>
2024-07-31 22:00:02 +09:00
D-Sketon
c0b3af2fe1
docs: improve document (#324) 2024-07-30 00:02:49 +09:00
raon0211
e1e6e38206 feat(max, min): Add support for max & min in es-toolkit/compat 2024-07-19 00:00:57 +09:00
novo
404d4a51a8
docs(uniqBy): fix docs for uniqBy (#231)
* docs: fix uniqBy doc example

* test: add test case

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-18 21:12:44 +09:00
원동휘
8e5a4f3212
feat(fill): Improve fill to support negative indices (#222)
* feat: add imporve fill function

* feat: add test for fill

* feat: improved testing for toFilled

* feat: add docs for fill

* fix: toFilled Typo fix

* fix: type interface and docs

* fix: fill type docs

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-18 20:59:13 +09:00
raon0211
ff4b97ab60 chore: Add zipObjectDeep in compat 2024-07-18 20:28:07 +09:00
Jiujiang Liu
5dcde9f159
feat(zipObjectDeep): Add zipObjectDeep (#150)
Co-authored-by: liujiujiang <liujiujiang@agilebot.com.cn>
2024-07-18 20:05:25 +09:00
raon0211
533df29e2e docs: Add docs for bundle size 2024-07-17 11:49:48 +09:00
raon0211
51e1970495 docs: Add docs for flatMap
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-07-15 22:50:07 +09:00
Gromit (전민재)
fec678cf34
feat(flatMap): add flatMap function (#209)
* feat(flatMap): add flatMap function

* docs: fix docs

* Update src/array/flatMap.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-15 22:43:15 +09:00
Sojin Park
acb74650a6 feat: Introduce es-toolkit/compat, and add chunk in compat 2024-07-14 23:55:52 +09:00
Sojin Park
8b1ee79ac0 docs: Remove readonly type from our docs 2024-07-14 17:31:45 +09:00
minsuKang
15a1a3c014
feat(initial): add initial (#188)
* add initial function

* add initial test case

* add initial bench mark

* add initial docs
2024-07-14 15:54:17 +09:00
Gromit (전민재)
ae69076d3c
feat(flattenDeep): add flattenDeep function (#160) 2024-07-12 09:56:21 +09:00
원동휘
ea66835ffb
feat(toFilled): Add toFilled (#154)
* feat: add toFilled

* feat: add test for toFilled

* feat: add bench for toFilled

* docs: add docs for toFilled

* chore: Modified benchmark wording

* Update benchmarks/toFilled.bench.ts

Co-authored-by: jgjgill <79239852+jgjgill@users.noreply.github.com>

* fix: toFilled benchmark

* Apply suggestions from code review

* Update docs/ko/reference/array/toFilled.md

* Update docs/reference/array/toFilled.md

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: jgjgill <79239852+jgjgill@users.noreply.github.com>
2024-07-11 10:55:29 +09:00
minsuKang
883553b39b
feat(last): Add last (#149)
* add last function

* add last test case

* add last bench mark

* add last docs

* fix ko last docs comment

* add last en.mts, ko.mts

* Update src/array/last.ts

* Update src/array/last.spec.ts

* Update docs/reference/array/last.md

* Update docs/ko/reference/array/last.md

* Update docs/ko/reference/array/last.md

* Update docs/reference/array/last.md

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-11 09:05:13 +09:00
raon0211
e4d906358a docs: Fix typo in unzip 2024-07-10 09:59:43 +09:00
Lich
27b6c8f521
feat(tail): add tail function (#143)
* feat(tail): add tail function

* feat(tail): add tail test code

* feat(tail): add tail benchmark

* feat(tail): add tail docs

* Update docs/ko/reference/array/tail.md

* Update docs/ko/reference/array/tail.md

* Update docs/reference/array/tail.md

* Update docs/reference/array/tail.md

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-10 09:52:12 +09:00
Gromit (전민재)
7c824629ee
feat(flatten): add flatten (#147)
* feat(flatten): add faltten (#137)

* fix: fix lint

* fix: fix test code description

* test(flatten): add test case

* Update docs/ko/reference/array/flatten.md

* Update docs/ko/reference/array/flatten.md

* Update docs/ko/reference/array/flatten.md

* Update docs/reference/array/flatten.md

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-10 09:49:26 +09:00