moonheekim0118
aa37cb7ee8
feat(castArray): add castArray
function ( #488 )
...
* feat: add castArray
* chore: add castArray into index.tx
* fix: castArray to check if it has arguments
* chore: test castArray
* chore: fix exmaple code
* chore: add reference
* chore: add ko-reference
* chore: add benchmark
* refactor: castArray type
* chore: update docs
* refactor: return type
* fix: remove content
* chore: update docs
* chore: move cast array to compat
* chore: add castArray to index.ts
* chore: add information to docs
* refactor: update testcase same as loadash's
* chore: udpate import path
* fix: add empty line
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-08 23:37:45 +09:00
Sojin Park
22b8a80017
chore: Add conformsTo to compat
2024-09-08 23:36:38 +09:00
D-Sketon
d430ecff73
feat(conforms/conformsTo): implement conforms&conformsTo ( #491 )
...
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-08 23:20:29 +09:00
D-Sketon
7085ea0b56
docs(bindKey): fix link ( #490 )
2024-09-08 22:01:12 +09:00
Sojin Park
61d4acbafb
feat(bindKey): Move bindKey to compat
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-08 18:50:22 +09:00
D-Sketon
f1f55c8dc3
feat(bindKey): implement bindKey ( #448 )
...
* feat(bindKey): implement bindKey
* fix
* make lint happy
* Update docs/.vitepress/en.mts
* Update benchmarks/performance/bindKey.bench.ts
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-08 18:35:04 +09:00
Sojin Park
d15c9cbf37
feat(some): Fix docs and interface for some
2024-09-08 18:27:44 +09:00
Sojin Park
0300524444
feat(some): Fix docs and interface for some
2024-09-08 18:20:54 +09:00
kimjeonghee
3f49bc9094
feat(some): add some
function ( #478 )
...
* feat: create some function
Co-authored-by: hyesungoh <haesungoh414@gmail.com>
* test: some
Co-authored-by: hyesungoh <haesungoh414@gmail.com>
* docs: some
Co-authored-by: hyesungoh <haesungoh414@gmail.com>
* chore: append more bench test and update variable name
Co-authored-by: hyesungoh <haesungoh414@gmail.com>
* feat: move some function to compat
Co-authored-by: k-jeonghee <heestory1992@gmail.com>
* Update docs/ko/reference/compat/array/some.md
---------
Co-authored-by: hyesungoh <haesungoh414@gmail.com>
Co-authored-by: Tino <tino@f-lab.kr>
Co-authored-by: Sojin Park <raon0211@toss.im>
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-09-08 17:56:46 +09:00
Sojin Park
c37e1c5b09
chore: Move attempt to compat, and style docs
2024-09-08 17:11:06 +09:00
D-Sketon
be020f4587
feat(attempt): Implement attempt ( #489 )
...
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-08 17:04:54 +09:00
Sojin Park
a9e7edde14
docs: Add documentation automatic generation script
2024-09-08 17:02:19 +09:00
Sojin Park
452480335c
feat(fromPairs): Ensure compatibility with lodash
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-08 00:20:45 +09:00
knott
fd2658e216
feat(fromPairs): Add fromPairs ( #473 )
...
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-08 00:07:27 +09:00
Dongho Kim
1d4e55d571
feat(isArrayLikeObject): Add isArrayLikeObject
in compat ( #480 )
...
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-07 23:40:18 +09:00
D-Sketon
6ba0d7b93e
feat(escapeRegExp): implement escapeRegExp ( #483 )
2024-09-07 23:17:46 +09:00
Dayong Lee
48e9590a93
feat(isWeakSet): add isWeakSet
with compatibility ( #477 )
...
* Add isWeakSet
* Add docs
2024-09-07 12:02:57 +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
raon0211
4fea8d2a00
docs(escape, unescape): Add docs for escape & unescape
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-03 23:53:24 +09:00
raon0211
2dab51b468
docs(repeat): Add docs for repeat
2024-09-03 23:45:19 +09:00
PiQuark6046
e48c313d96
feat(repeat): Add repeat ( #459 )
...
* bench: repeat
* test: repeat
* feat(repeat): Add repeat
* docs: repeat
* fix typo
2024-09-03 23:35:38 +09:00
D-Sketon
53f5b698b9
feat(escape/unescape): implement escape&unescape ( #462 )
...
* feat(escape/unescape): implement escape&unescape
* compatibility
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-03 23:34:40 +09:00
Dayong Lee
158435c1e6
feat(isWeakMap): add isWeakMap with compatibility ( #458 )
...
* Add isWeakMap
* Add compat
* Add bench
* Add docs
* Update return type
* Update docs/ko/reference/predicate/isWeakMap.md
* Update docs/ko/reference/predicate/isWeakMap.md
* Update src/compat/predicate/isWeakMap.ts
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-09-03 23:33:38 +09:00
raon0211
959b5d08c6
docs(pad): Add docs for pad
2024-09-03 23:28:44 +09:00
Péter Kovács
215a1656e1
feat(pad): Add pad function ( #469 )
2024-09-03 23:14:53 +09:00
Sojin Park
a84ffa9aed
docs(spread): Add docs for spread
2024-08-31 19:38:26 +09:00
D-Sketon
1c74848003
feat(spread): Implement spread ( #428 )
...
* feat(spread): implement spread
* lodash compatibility
* remove useless comment
2024-08-31 19:17:53 +09:00
Dayong Lee
db3a8bc0d5
fix(debounce): fix return type ( #406 )
...
* Improve type of debounce
* Rollback signal arguments
* Remove temp code
* Revert testcase
* Change generic type
* Revert generic type
2024-08-31 15:04:52 +09:00
Sojin Park
14ae504e0f
style: Fix ESLint errors
2024-08-31 14:45:20 +09:00
Dongho Kim
1890d8ff07
docs(ary): Update docs for ary
( #452 )
...
* docs(ary): Update docs for `ary`
* Apply suggestions from code review
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-08-31 14:45:00 +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
Sojin Park
c7d12a1c80
docs(deburr): Add docs for deburr
2024-08-31 13:50:18 +09:00
D-Sketon
58d1cb2fd4
feat(deburr): Implement deburr ( #449 )
...
* feat(deburr): implement deburr
* compatibility
2024-08-31 13:39:31 +09:00
Dayong Lee
f7a1c8548a
fix(throttle): fix types of generic and return value ( #447 )
...
* Improve types of throttle
* Apply suggestions from code review
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-08-31 10:54:46 +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
raon0211
6ef87e318b
feat(upperFirst, lowerFirst): Add some docs for lowerFirst & upperFirst
2024-08-25 22:22:21 +09:00
mattiacoll
16fda3f24c
feat(upperFirst): Add upperFirst
function ( #404 )
...
* feat(upperFirst): Add upperFirst function
* Add upperFirst benchmark
* Add upperFirst english docs
* Update docs/reference/string/upperFirst.md
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-08-25 22:15:19 +09:00
mattiacoll
02643bcbe3
feat(lowerFirst): add lowerFirst
function ( #403 )
...
* feat(lowerFirst): Add lowerFirst function
* Add lowerFirst benchmark
* Add lowerFirst english docs
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-08-25 22:12:57 +09:00
raon0211
3844e7a3c3
feat(isRegExp): Add test cases from lodash & add docs for zh_hans
2024-08-25 22:06:14 +09:00
hyesung oh
e436125344
feat(isRegExp): add isRegExp
function ( #417 )
...
* feat: isRegExp at src/predicate
* feat: isRegExp at compat
* test: bench
* docs: append isRegExp
* chore: format
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-08-25 22:01:12 +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
Dongho Kim
50814915ef
docs(isArray): Update docs for isArray
( #390 )
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-08-18 22:51:39 +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
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
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
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
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
c9587f3816
feat(findIndex): Implement findIndex
2024-08-11 21:03:13 +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
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
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-08-10 17:38:07 +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
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
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-08-10 10:33:05 +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
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
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
raon0211
a2491e5cff
fix(isObjectLike): Make the docs more intuitive
2024-08-09 10:08:21 +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
raon0211
f6be4d7ad6
feat(bind): Move bind to compat
2024-08-09 09:32:42 +09:00
raon0211
5ef7f3e245
docs(isBoolean): Add isBoolean
2024-08-08 18:47:50 +09:00
guesung
71dcaa4d23
feat(isBoolean): Add isBoolean
function ( #354 )
...
* feat(isBoolean): Add `isBoolean` function
* docs(isBoolean): fix the typo
* fix: fix the lint
2024-08-08 18:45:52 +09:00
raon0211
b2427e1f4b
fix(ary, unary): Fix guard in ary & unary, add Korean docs
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-08-07 19:02:23 +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
D-Sketon
ec1a55850c
feat(ary/unary): implement ary/unary ( #325 )
...
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
* feat(ary/unary): implement ary/unary
* fix
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-08-04 23:23:00 +09:00
D-Sketon
f198dfd9d4
feat(bind): implement bind ( #337 )
...
* feat(bind): implement bind
* fix: redundant prototype copy
2024-08-04 21:33:43 +09:00
Gromit (전민재)
b0011fa038
feat(isSubset): Add isSubset function ( #343 )
2024-08-04 21:29:45 +09:00
小明的自留地
a4b77c01dd
docs(endsWith): Update endsWith.md ( #339 )
...
Fix wrong returns in Examples.
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-08-04 21:29:20 +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
Péter Kovács
8249ed25f8
feat(padStart): add padStart ( #323 )
...
* feat: add padStart function
* docs: add padStart doc
2024-07-31 21:55:00 +09:00
Gromit (전민재)
25217a571e
docs(isPrimitive): fix isPrimitive function documentations ( #331 )
...
* fix: isPrimitive function
* docs: fix isPrimitive docs
* docs: fix isPrimitive jsdoc
2024-07-31 21:50:58 +09:00
D-Sketon
c0b3af2fe1
docs: improve document ( #324 )
2024-07-30 00:02:49 +09:00
Dayong Lee
a02b4158eb
feat(isObjectLike, isArguments): Add isObjectLike and isArguments with compatibility test ( #279 )
...
* Add isObjectLike
* Add isArguments
* remove duplicate function noop
* Remove un duplicated function
* add bench
* update compatibility
* Add docs
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-25 16:36:57 +09:00
raon0211
0e0329ac91
feat(property): Add property
2024-07-25 12:04:32 +09:00
seungrodotlee
13c7c7f611
feat(mapKeys,mapValues): add mapKeys and mapValues ( #291 )
...
* feat(mapKeys): add mapKeys
* feat(map*): not clone object
* chore. fix names on bench
* feat. pass cloned object to iteratee
* Fix interface
* fix. fix test codes
* fix. fix type error on test
* Add docs
* test: Check test
* bench
* rewrite
* mapKeys
* test: Do not mutate the original function
---------
Co-authored-by: raon0211 <raon0211@toss.im>
2024-07-25 11:43:15 +09:00
정해준
0c6f7c95f1
feat(before): Add before
( #315 )
...
* feat(before): Add before function
* feat(before): Add before test code
* feat(before): Add before docs
* feat(before): Add before benchmarks
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-25 11:39:18 +09:00
raon0211
c350b23ee2
feat(isMatch, matches): Add isMatch & matches in compat
2024-07-25 11:36:14 +09:00
tanggd
b134df19da
docs: Update docs for get ( #278 )
...
* docs: Update chunk.md
* Squashed commit of the following:
commit 14c8b1108a3aa6d45955c7dcd94a74598c9b4737
Author: tanggd <tanggd11@foxmail.com>
Date: Mon Jul 22 13:17:17 2024 +0800
docs: Update docs for get
commit 9b7b7ac41f7484753723b32f4d624da4c8bfe4e6
Author: tanggd <tanggd11@qq.com>
Date: Fri Jul 19 17:00:59 2024 +0800
docs: Update chunk.md
---------
Co-authored-by: tanggd <tanggd11@foxmail.com>
2024-07-23 23:19:29 +09:00
Sojin Park
c6d2f602cc
feat(isPrimitive): Add isPrimitive
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-07-21 23:08:02 +09:00
Sojin Park
2df30f70db
feat(isTypedArray): Add isTypedArray
2024-07-21 22:56:28 +09:00
novo
b08e5c9bca
feat(cloneDeep): Add cloneDeep
( #199 )
...
* feat: cloneDeep
* test: cloneDeep
* chore: add benchmark of cloneDeep
* docs: add docs of cloneDeep
* chore: fix name
* fix: constructor type
* feat: add index
* chore: add doc
* feat: Add native classes handling and benchmark structuredClone
* feat: Resolved type and aligned behavior with structuredClone
* fix: object init
* fix: File for legacy nodejs
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-21 22:33:56 +09:00
정해준
231b7ef83c
feat(after): Add after
( #258 )
...
* feat(after): Add after function
* feat(after): Add after test code
* feat(after): Add after benchmark
* feat(after): Add after docs
* fix(after): should create a function that unc only after being called
calls
* docs(after): change the after function docs
* Apply suggestions from code review
* Apply suggestions from code review
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-21 21:24:00 +09:00
D-Sketon
d117481dc4
fix(min, max): Do not return undefined
in non-empty arrays ( #270 )
...
* fix: improve min&max type
* Apply suggestions from code review
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-07-21 17:49:43 +09:00
Sojin Park
d4081c0674
docs: Update docs for isFunction, negate, isArrayLike
2024-07-21 10:55:36 +09:00
Dayong Lee
bd7cb34cb7
feat(isArrayLike,isFunction): Add isArrayLike and isFunction with compatibility ( #265 )
...
* add isArrayLike and isFunction
* Add bench
* Add create arguments function
* Add isArrayLike function
* Add compatibility
* Change sub title to korean in isLength docs
* Add docs
* Fix typo error
* add toArgs testcase and remove a unusable expression
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-07-21 10:51:09 +09:00
Sojin Park
e49c82b0fe
chore: Move isArray to our compatibility library
2024-07-21 10:38:14 +09:00
Dongho Kim
fb51b98732
feat(isArray): Add isArray
( #267 )
...
* feat(isArray): Add `isArray`
* refactor(isArray): Simplify the return type of `isArray`
2024-07-21 10:35:59 +09:00
Sojin Park
1e20a97134
docs: Add docs for isLength
2024-07-20 11:21:19 +09:00
오병진
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
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 )
...
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
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 )
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