Commit Graph

239 Commits

Author SHA1 Message Date
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
9d68f5679d docs(padEnd): Add docs for padEnd 2024-08-15 23:13:17 +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
82010d8cbb docs: Update compatibility 2024-08-15 21:21:39 +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
Sojin Park
8310cd9d5d docs(isString): Add docs for isString for zh_hans 2024-08-15 11:09:23 +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
c639dd7209 docs: Update compatibility for findIndex
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-08-11 21:44:40 +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
2d96265951 docs: Add missing docs for find & findIndex 2024-08-11 21:10:18 +09:00
Dayong Lee
f55662d994
feat(indexOf): implement indexOf in es-toolkit/compat (#378)
* Implement indexOf

* Add bench

* Add compat docs
2024-08-11 21:09:39 +09:00
Sojin Park
c9587f3816 feat(findIndex): Implement findIndex 2024-08-11 21:03:13 +09:00
Sojin Park
8482793737 docs: Remove broken link 2024-08-11 15:34:08 +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
d7fa6ceb50 docs: Update docs for compatibility 2024-08-11 14:09:55 +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
982aabe87c docs: Fix dead links 2024-08-10 17:10:28 +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
Dayong Lee
bf33cfbca5
feat(orderBy, isSymbol): add compatibility with lodash (#357)
* Add internal functions

* add orderBy with compat

* Add docs

* Fix typo

* Split the code for readability

* Change convert to path logic and variable name for readability

* Add test cases and js doc in isKey and isSymbol

* Add testcase and change logic of isKey

* change bench category name

* split converToPropertyName for testing

* Add case for coverage

* fix type

* Change using getTage to instanceof

* move to predicate

* Add doc

* Add bench and description in isSymbol

* Fix type and test case

* Simplify function names

* Feat: handle the deep path like keys
2024-08-10 16:30:32 +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
5d2d5b254c docs: Fix some links 2024-08-10 10:32:57 +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
D-Sketon
233682acf6
docs(zh-hans): add missing link (#366)
* docs(zh-hans): add missing link

* fix: bind
2024-08-10 10:03:41 +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
Juhyeok Kang
0db5e4558c
docs: Fix deployment in Vercel (#358)
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-08-09 11:02:24 +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
2sky
138e055801
docs(fix-ko-usage-link): fix ko docs hero actions usage link (#362)
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-08-09 11:00:30 +09:00
raon0211
0eab4b9c9c feat(mapValues): Ensure compatibility with mapValues 2024-08-09 10:40:35 +09:00
raon0211
17d8afa2a3 feat(padStart): Move padStart to our compat library 2024-08-09 10:28:11 +09:00
raon0211
4bb457ad01 feat(isArguments, isArrayLike, isObjectLike): Move some predicates to compat library 2024-08-09 10:16:37 +09:00