Dongho Kim
3a619e56b8
fix/(intersectionBy, differenceBy, differenceWith): should allow array with different element type. ( #836 )
...
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* fix(intersectionBy): should allow array with different element type
* fix(differenceBy): should allow array with different element type
* fix(differenceWith): should allow array with different element type
2024-11-22 12:12:34 +09:00
Dongho Kim
a46d8c4969
docs(intersectionWith): Update docs ( #833 )
...
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
* refactor(intersectionWith): Update type parameter name for consistency
* docs(intersectionWith): add example for handling different item types
* docs(intersectionWith): update docs
2024-11-20 10:02:20 +09:00
D-Sketon
e7bb35f5f9
fix(compat): support PropertyKey ( #830 )
...
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
* fix(compat): support PropertyKey
* test
2024-11-16 14:07:52 +09:00
Kae
6244714736
feat(isSubsetWith): update isSubset for object array support ( #783 )
...
* feat(isSubsetWith): isSubsetWith implementation
* docs: Update docs
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-11-03 16:51:39 +09:00
Dongho Kim
4a1e410dd9
feat(intersectionBy): Add intersectionBy
to compatibility layer ( #721 )
...
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* feat(intersectionBy): Add `intersectionBy` to compatibility layer
* test(intersectionBy): Add test case for array-like objects
2024-10-22 22:40:31 +09:00
Dongho Kim
6b4c9ad167
feat(intersection): Add intersection
to compat layer ( #706 )
...
* feat(intersection): Add `intersection` to compat layer
* Update benchmarks/performance/intersection.bench.ts
* Update benchmarks/performance/intersection.bench.ts
* Update intersection.ts
* Update intersection.ts
* Update docs/ja/reference/array/intersection.md
* Update src/compat/array/intersection.spec.ts
* Update intersection.ts
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-13 22:48:01 +09:00
D-Sketon
c95d40f4b3
fix(drop): support array-like args ( #686 )
...
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* fix(drop): support arrary-like args
* doc
* Update dropWhile.ts
* Update dropRightWhile.ts
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-09 22:42:09 +09:00
D-Sketon
3a17ade035
docs(difference): add Lodash Compatibility ( #679 )
...
* docs(difference): add Lodash Compatibility
* arraylike
* #680 update size
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-10-07 21:59:07 +09:00
D-Sketon
55cae8b0eb
feat(compat): implement dropRightWhile ( #666 )
...
* feat(compat): implement dropRightWhile
* Update benchmarks/performance/dropRightWhile.bench.ts
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-06 17:20:26 +09:00
Sojin Park
efe7932200
feat(every): Ensure compatibility with lodash
2024-09-28 22:48:32 +09:00
Gonhong Cheon
b0daa7377d
feat(every): Add every
function ( #475 )
...
* feat(every): Add every function
* feat(every): Add every function test code
* feat(every): Add every function docs
* feat(every): Add every function bench
2024-09-28 22:23:30 +09:00
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 )
...
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 )
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 )
...
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 )
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
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
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 )
...
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 )
...
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