Commit Graph

106 Commits

Author SHA1 Message Date
raon0211
6739c840ed test: Add test cases to ensure that drop & dropRight is compatible with es-toolkit 2024-07-18 23:07:30 +09:00
raon0211
96f3ce72cf chore: Move get to compat & document 2024-07-18 22:59:11 +09:00
raon0211
8143e8461c docs: Update compatibility docs 2024-07-18 21:51:57 +09:00
raon0211
566a3fcab1 chore: Ensure compatibility for compact 2024-07-18 21:47:13 +09:00
Seung Ju
b31b3a6964
feat(withTimeout): add withTimeout function (#210)
* feat(timeout): add timeout function

* feat(timeout): timeout to withTimeout

* Update docs/ko/reference/promise/withTimeout.md

* Update docs/ko/reference/promise/withTimeout.md

* feat(timeout): timeout, withTimeout

* Update docs/ko/reference/promise/timeout.md

* Update docs/ko/reference/promise/timeout.md

* Update withTimeout.ts

* Update timeout.ts

* Apply suggestions from code review

* Update withTimeout.md

* Update withTimeout.spec.ts

* Update src/promise/withTimeout.spec.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-18 21:37:33 +09:00
raon0211
2db0b49579 chore(startsWith, endsWith): Update docs and import tests from lodash 2024-07-18 21:36:32 +09:00
Bert Verhelst
b9b409db32
feat(startsWith): add startsWith and endsWith string functions (#224)
* feat(startsWith): add startsWith and endsWith string functions

similar to
* https://lodash.com/docs/4.17.15#startsWith
* https://lodash.com/docs/4.17.15#endsWith

* fix(startsWith): use native startsWith inside the startsWith function

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-18 21:21:10 +09:00
PiQuark6046
a186e5d4bd
feat(get): Add get (#232)
* feat: get

* chore: add benchmark of get

* test: get

* feat: get

* docs: get

* Update src/object/get.ts

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-18 21:17:15 +09:00
raon0211
9b10967e42 docs: Fix broken links 2024-07-18 21:16:14 +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
fb820e26c8 docs: Update docs for zipObjectDeep 2024-07-18 20:43:58 +09:00
raon0211
0d9e34243a docs: Update compatibility table 2024-07-18 20:37:19 +09:00
raon0211
9c4b61acba docs: Update docs for compat 2024-07-18 20:34:12 +09:00
raon0211
38a939f31f docs: Update docs for compat 2024-07-18 20:31:35 +09:00
raon0211
ff4b97ab60 chore: Add zipObjectDeep in compat 2024-07-18 20:28:07 +09:00
raon0211
bb063fbcf6 docs(set): Update documentation for set 2024-07-18 20:10:56 +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
2168a67045 chore: Move set to our compat library
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-07-18 10:07:01 +09:00
novo
b9432e1cfd
feat(set): add set function (#223)
* feat: set

* test: set

* chore: add doc and benchmark

* chore: fix benchmark name
2024-07-18 10:00:59 +09:00
Deokgyung
7ee48c0e71
feat(startCase): add startCase (#203)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* feat: add startCase

* docs: add docs of startCase

* fix: startcase lint error
2024-07-17 22:42:58 +09:00
BlackWhite
62fafe69a7
docs: Translate the contents of flattenDeep and isEqual documentation into Chinese (#226) 2024-07-17 22:17:17 +09:00
raon0211
533df29e2e docs: Add docs for bundle size 2024-07-17 11:49:48 +09:00
정해준
8ee34206c7
chore(camelCase): Missed docs for camelCase (#217)
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-17 00:16:17 +09:00
minsuKang
6471db95f5
docs(sidebar-zh_has): add sidebar contents in zh_hans (#219)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-07-16 12:31:56 +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
CreeJee
d909cdc8e9
docs(negate): wrong document result (#207) 2024-07-15 19:11:43 +09:00
minsuKang
deb3882890
docs(last-ko): delete error category in last-ko docs (#202)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-07-15 11:07:29 +09:00
정해준
3f407712e4
docs(isEqual): Add isEqual docs (#200)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-07-15 09:43:42 +09:00
Youngjun Choi
3441d7d8d0
feat(sumBy): add sumBy (#198)
* feat: add sumBy function

* feat: add sumBy test

* feat: add sumBy bench

* feat: add sumBy documentation
2024-07-15 08:25:49 +09:00
Sojin Park
e3cd91f59d docs: Elaborate docs for es-toolkit/compat 2024-07-15 00:02:40 +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
9b6bf6dfb4 docs(negate): Fix docs for negate 2024-07-14 18:14:23 +09:00
CreeJee
bda3bef5c3
feat(negate): Add negate (#177)
* feat(negate): add negate base lodash implement

* Update docs/ko/reference/function/negate.md

* Update negate.md

* Update negate.md

* Update negate.spec.ts

* Update src/function/negate.ts

* Update src/function/index.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-14 18:10:01 +09:00
Touhid Rahman
4b00379320
feat(isEqual): add isEqual (#174)
* feat(isEqual): add isEqual

* chore(isEqual): rename variables

* fix(isEqual): add missing array equality

* Update isEqual.ts

* Update isEqual.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-14 18:01:57 +09:00
Sojin Park
f5b66fe650 docs(clone): Fix docs for clone 2024-07-14 17:49:22 +09:00
Jun
128147b108
feat(clone): Add clone (#155)
* feat: add clone(shallow copy) implementaion and test codes

* chore: add benchamark of clone

* docs: add docs of clone

* chore: bench number

* Update docs/ko/reference/object/clone.md

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-14 17:46:25 +09:00
Sojin Park
8b1ee79ac0 docs: Remove readonly type from our docs 2024-07-14 17:31:45 +09:00
Sojin Park
9adffa0bb3 docs: Add missing zh_hans docs 2024-07-14 17:27:12 +09:00
Sojin Park
21d6530e16 feat(camelCase): Add camelCase 2024-07-14 17:23:57 +09:00
Siddhartha Sarkar
a8398d2912
docs: Fix casing for kebabCase text (#180) 2024-07-14 16:06:42 +09:00
Sojin Park
0fdc90d39b chore: Apply code review of initial 2024-07-14 15:55:22 +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
Bert Verhelst
6606d5ba84
docs: Fix typo in kebab case docs (#169) 2024-07-12 20:15:32 +09:00
Bert Verhelst
b1cb93355a
feat(lowerCase): Add lowerCase function (#166)
* feat(lowerCase): Add lowerCase function

* Update docs/ko/reference/string/lowerCase.md

* Update docs/ko/reference/string/lowerCase.md

* Update docs/reference/string/lowerCase.md

Co-authored-by: Evan Moon <bboydart91@gmail.com>

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Evan Moon <bboydart91@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-12 10:17:34 +09:00
Bert Verhelst
541b89dc0d
feat(kebabCase): Add kebabCase function (#162)
* feat(kebabCase): Add kebabCase function

Very similar to snakeCase

* Update docs/ko/reference/string/kebabCase.md

* Update snakeCase.md

* Create kebabCase.md

* Update snakeCase.md

* Update docs/.vitepress/ko.mts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-12 10:14:30 +09:00
BlackWhite
e9ede74362
docs: Translate Simplified Chinese (#165)
* Translate Simplified Chinese

* Supplement the omitted

* Supplement the omitted

* Supplement the omitted

* Supplement the omitted

* Supplement the omitted

* Supplement the omitted

* Supplement the omitted

* Supplement the omitted

* Supplement the omitted

* Update docs/.vitepress/shared.mts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-12 10:08:55 +09:00
Atajan
16d326c4b2
feat(capitalize): add capitalize (#161)
* feat(capitalize): add capitalize

* fix(capitalize): return type

* Update docs/ko/reference/string/capitalize.md

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-12 10:07:40 +09:00
Gromit (전민재)
ae69076d3c
feat(flattenDeep): add flattenDeep function (#160) 2024-07-12 09:56:21 +09:00