Commit Graph

92 Commits

Author SHA1 Message Date
오병진
caedf69aed
feat(isLength): Add isLength (#245)
* feat(predicate, compat, isLength): impl isLength

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

* docs: change compatibility mark

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

* test(isLength, compat): add test case link

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

* docs(predicate, isLength): add route path on vitepress

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

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

---------

Signed-off-by: sunrabbit123 <qudwls185@naver.com>
Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-20 11:18:20 +09:00
Seung Ju
d12453aa9f
docs(timeout): Update timeout.md (#251) 2024-07-20 09:54:36 +09:00
raon0211
3e60443a40 feat(flattenObject): Add flattenObject 2024-07-19 19:09:29 +09:00
raon0211
376499351f feat(isPlainObject): Add isPlainObject 2024-07-19 19:08:13 +09:00
raon0211
0d2b25253b docs: Update docs for min & max 2024-07-19 01:05:11 +09:00
raon0211
e09517f05c feat(concat): Add concat to es-toolkit/compat 2024-07-19 01:05:02 +09:00
raon0211
0dbef13f24 docs: Update wording in our compatibility docs 2024-07-19 00:19:04 +09:00
raon0211
3642214a26 docs: Update wording in our compatibility docs 2024-07-19 00:12:40 +09:00
raon0211
e1e6e38206 feat(max, min): Add support for max & min in es-toolkit/compat 2024-07-19 00:00:57 +09:00
raon0211
96f3ce72cf chore: Move get to compat & document 2024-07-18 22:59:11 +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
9c4b61acba docs: Update docs for compat 2024-07-18 20:34:12 +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
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
CreeJee
d909cdc8e9
docs(negate): wrong document result (#207) 2024-07-15 19:11:43 +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
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
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
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
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
원동휘
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
정해준
d48900fa55
feat(snakeCase): add snakeCase (#152)
* feat(snakeCase): Add caseSplitPattern RegExp const

* feat(snakeCase): Add caseSplitPattern test code

* feat(snakeCase): Add snakeCase function

* feat(snakeCase): Add snakeCase test code

* feat(snakeCase): Add snakeCase docs

* feat(snakeCase): Add snakeCase benchmarks

* chore: Add string export

* fix(snakeCase): constants public api

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

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

* Update docs/reference/string/snakeCase.md

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-11 09:14:09 +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