Dongho Kim
db235b9744
docs(upperFirst): Update docs for upperFirst
( #575 )
2024-09-23 15:12:49 +09:00
hyesung oh
ea01c77121
feat(isError): append isError
( #579 )
...
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* feat: add isError to predicate
Co-authored-by: leeminhee119 <mhl98@dgu.ac.kr>
* test: isError
Co-authored-by: leeminhee119 <mhl98@dgu.ac.kr>
* docs: isError
Co-authored-by: leeminhee119 <mhl98@dgu.ac.kr>
* feat: isError at compat
Co-authored-by: leeminhee119 <mhl98@dgu.ac.kr>
* feat: export to compat
* fix: format
Co-authored-by: leeminhee119 <mhl98@dgu.ac.kr>
---------
Co-authored-by: leeminhee119 <mhl98@dgu.ac.kr>
2024-09-23 11:27:08 +09:00
Junseong Park
fd119dd2c1
docs: fix typo in 가이드
( #548 )
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-09-18 23:03:43 +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
Sojin Park
29fb0ba843
docs: Add analytics
2024-09-18 17:28:58 +09:00
Sojin Park
ca9857d108
docs: Fix docs styling
2024-09-18 17:23:01 +09:00
Sojin Park
b18a57c98e
chore: Remove unnecessary docs
2024-09-18 17:17:06 +09:00
Sojin Park
192a7d59fa
feat(clamp, inRange, random): Ensure compatibility with lodash
2024-09-18 17:11:21 +09:00
Sojin Park
e32bd2462b
docs: Add missing docs
2024-09-18 16:26:28 +09:00
Alex Shan
3f52c1c213
feat(isNumber): add isNumber
function ( #543 )
...
* feat(isNumber): add isNumber function
* style: format
* fix: align nan behavior
2024-09-18 16:16:01 +09:00
Sojin Park
aa89c90152
feat(debounce, throttle): Support edges for debounce & throttle
2024-09-18 16:11:48 +09:00
Benzy
3b983ff79c
feat(isNaN): add isNaN
function ( #538 )
...
* feat: add isNaN
* test: isNaN bench
* docs: isNaN
* refactor(isNaN): Use Number.isNaN
2024-09-18 11:47:22 +09:00
Sojin Park
19eabc9366
feat(throttle): Add compatibility with lodash
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-09-16 22:57:35 +09:00
Sojin Park
21212c448e
revert: Revert debounce support for leading and trailing edge, due to performance degradation
...
This reverts commit 7239073eb0
.
2024-09-16 21:38:08 +09:00
Sojin Park
7239073eb0
feat(debounce): Add leading and trailing edge support in debounce
2024-09-16 21:23:14 +09:00
Sojin Park
09eb88676e
feat(debounce): Add compatibility with lodash
2024-09-16 19:04:30 +09:00
D-Sketon
02ce5e9024
feat(compat): implement curry ( #535 )
...
* feat(compat): implement curry
* make lint happy
* doc
2024-09-15 17:57:27 +09:00
D-Sketon
9bb1203b51
docs(spread): fix doc ( #536 )
...
* fix(spread): fix doc
* Update spread.md
* Update spread.md
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-09-15 17:55:34 +09:00
raon0211
1a5e9c8e64
feat(omit): Add compatibility version of omit
2024-09-14 23:04:18 +09:00
raon0211
f2f4b8ec88
docs: Fix docs style
2024-09-14 20:32:06 +09:00
raon0211
4b9c4985b6
fix(unset): Fix behavior of unset, add docs
2024-09-14 17:53:27 +09:00
raon0211
dcfc521109
docs: Move toString to util
2024-09-14 17:44:09 +09:00
raon0211
c407bcc807
feat(toPath): Add toPath in compatibility library
2024-09-14 17:37:12 +09:00
Benzy
6e07157308
feat(isDate): add isDate
function ( #524 )
...
* feat: add isDate
Co-authored-by: hyesungoh <haesungoh414@gmail.com>
* test: isDate bench
Co-authored-by: hyesungoh <haesungoh414@gmail.com>
* docs: isDate
Co-authored-by: hyesungoh <haesungoh414@gmail.com>
* docs(isDate): Add docs for isDate
---------
Co-authored-by: hyesungoh <haesungoh414@gmail.com>
Co-authored-by: raon0211 <raon0211@toss.im>
2024-09-14 16:29:45 +09:00
raon0211
06f68c20b9
docs: Fix docs style
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-14 14:47:53 +09:00
mattiacoll
0375c66a9e
feat(isSafeInteger
): add isSafeInteger
function ( #529 )
...
* Implement isInteger
* Implement isInteger
* Implement isSafeInteger
* docs: Add isSafeInteger and use native Number.isSafeInteger
* fix: Remove isInteger, isSafeInteger
* doc
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-14 14:47:33 +09:00
raon0211
2867dcdc7d
docs(toString): Add docs for toString
2024-09-14 14:26:40 +09:00
mattiacoll
ff8976e5de
feat(isInteger
): add isInteger
function ( #528 )
...
* Implement isInteger
* Update docs/reference/math/isInteger.md
* Update src/math/isInteger.ts
* Update src/math/isInteger.ts
* Update docs/reference/math/isInteger.md
* Update docs/reference/math/isInteger.md
* docs(isInteger): Add docs for isInteger
* lint
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: raon0211 <raon0211@toss.im>
2024-09-14 14:26:00 +09:00
seungrodotlee
9364390715
feat(curry): add curry
function ( #187 )
...
* feat. Add utility types
* feat. Add curry function
* feat. add error throw
* feat. add spec of curry
* fix. fix type error when optional parameter exist
* fix. fix type when rest parameters exist
* fix. fix types error
* fix. fix all type errors
* refactor. rename OptionalStartIdx
* test. add test codes when rest parameters exist
* feat. add method to flexibleCurry
* feat. fix all type errors and functional errors
* chore. add benchmark
* chore. fix comments
* refactor. enhance type of flexibleCurry
* refactor. refactor arrow function -> normal function
* feat. correctly infer the errored type when the run method is called while the argument to be received is not optional
* docs. add docs about curry
* refactor. file refactor naming case of types
* fix. fix types error caused by renaming of case
* fix. fix errors same as last commit
* fix. fix errors same as last commit
* feat. keep curry function and type simple
* fix. fix test codes with updated implementation
* Update src/function/index.ts
* feat(curry): Fix curry types
* feat(curry): Fix curry types
* feat(curry): Fix curry types
* Remove ramda
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-09-14 14:24:56 +09:00
Junseong Park
191fbd037e
docs: replace pnpm install
with pnpm add
( #530 )
2024-09-14 14:08:18 +09:00
DonghyunKim98
7aad9d6b9a
docs: Fix incorrect docs in isObject
( #520 )
...
* fix : wrong docs in isObject docs
* Update isObject.ts
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-09-13 16:42:43 +09:00
raon0211
4a17214496
feat(trim, trimStart, trimEnd): Ensure compatibility with trim, trimStart, and trimEnd
2024-09-13 16:41:10 +09:00
raon0211
db82e936f6
docs: Update docs for upperCase
2024-09-13 15:48:18 +09:00
mattiacoll
7f2e19dc31
feat: add upperCase
function ( #402 )
...
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* feat(upperCase): Add upperCase function
* Add upperCase benchmark
* Added english docs
2024-09-13 15:34:16 +09:00
D-Sketon
34fcd212fa
feat(compat): implement ceil/floor/round ( #510 )
...
* feat(compat): implement ceil/floor/round
* Simplify
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-13 15:24:43 +09:00
raon0211
9a48d39a35
refactor(pick): Refactor compatibility pick function
2024-09-13 15:18:28 +09:00
raon0211
9d3918adc2
fix(join): Move join to compat
2024-09-12 22:19:10 +09:00
raon0211
cfdaf77c2e
docs: Add docs for isObject
2024-09-12 22:04:06 +09:00
raon0211
63e3755f18
docs: Add docs for isObject
2024-09-12 21:59:33 +09:00
Sungwon WI
40c9ab92d7
feat(compat): Add isObject
function ( #501 )
...
* feat: implement isObject
* feat: add isObject.spec.ts
* feat: add isObject.bench.ts
* feat: add en docs
* feat: add ko docs
* feat: add test case
* feat: replace Function type
* feat: modify docs type
* feat: remove type
2024-09-12 21:53:46 +09:00
raon0211
5d4b59e865
style: Fix style for some functions
2024-09-12 21:50:54 +09:00
raon0211
f6a30395c5
fix(findLastIndex): Add compatibility for findLastIndex
2024-09-12 21:50:40 +09:00
Somi Park
851755cdd6
feat(findLastIndex): implement findLastIndex ( #512 )
2024-09-12 21:35:27 +09:00
raon0211
33bdce1254
docs(parseInt): Add docs for parseInt
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-09-10 22:46:57 +09:00
D-Sketon
9f450ff4f7
feat(compat): implement parseInt ( #509 )
2024-09-10 22:40:30 +09:00
D-Sketon
eb8bf63ad7
docs: improve doc ( #506 )
2024-09-10 08:40:56 +09:00
Junseong Park
c7a9f002dd
docs: add discord link to website ( #505 )
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-09 21:55:30 +09:00
Sojin Park
3c3bba011f
docs(rearg): Add rearg in compat and add docs
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-08 23:48:58 +09:00
D-Sketon
ff595628cd
feat(rearg): Implement rearg ( #426 )
...
* feat(rearg): implement rearg
* make lint happy
* fix
* make lint happy
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-08 23:40:51 +09:00
Sojin Park
887aa4d4f4
docs(castArray): Add docs for castArray
2024-09-08 23:38:48 +09:00
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
Dayong Lee
fb4a0e1736
docs: Automate the status of compatiblity implementation ( #486 )
...
* Add vue eslint
* Remove Sandpakc and add Registry CompatibilityStatus
* add compatibility data
* Apply CompatibilityStatus
* Remove unusable template
* Revert
* Refactor
* Fix lint error
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-07 23:36:54 +09:00
D-Sketon
6ba0d7b93e
feat(escapeRegExp): implement escapeRegExp ( #483 )
2024-09-07 23:17:46 +09:00
Dayong Lee
ba0d03dfe3
feat(sortBy): add compat/sortBy
and fix compat/orderBy
( #482 )
...
* Enhance orderBy
* Add sortBy
* Change docs state
* Fix test codes and Change toSorted to slice().sort()
* Add testcase for coverage
2024-09-07 23:16:38 +09:00
Dayong Lee
48e9590a93
feat(isWeakSet): add isWeakSet
with compatibility ( #477 )
...
* Add isWeakSet
* Add docs
2024-09-07 12:02:57 +09:00
raon0211
38e3e017a0
docs(flatMapDeep): Add docs for flatMapDeep
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-09-04 10:06:10 +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
raon0211
0bb144588e
docs(isWeakMap): Add docs for isWeakMap
2024-09-03 23:39:23 +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
Dayong Lee
af2d831321
docs: Sort sidebar ( #454 )
2024-08-31 14:51:58 +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
Jiwoo So
1407259f1c
feat(pullAt): Implement pullAt
( #435 )
...
* feat(pullAt): implement pullAt
* fix(type): fix result type and return type
fix this type `(T | undefined)[]` to `Array<T | undefined>`
* fix(docs): fix the some types in docs
fix this type `(T | undefined)[]` to `Array<T | undefined>`
2024-08-31 13:53:18 +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
Minsu
b9966aa683
docs(isSubset): update sidebar path for Korean isSubset documentation ( #439 )
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-08-29 10:21:21 +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
Dayong Lee
8ffb6d1710
style(lint): fix ignores option ( #424 )
...
* Change ignore option
* Fix lint error
* Remove unusable
2024-08-28 23:20:13 +09:00
Yusuke Hayashi
d45bc3352b
docs: Translate and create Japanese version ( #432 )
...
* docs: translate and create Japanese version
* docs: run prettier
* Apply suggestions from code review
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-08-28 23:19:07 +09:00
raon0211
d02ef354d1
docs: Update compatibility table
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-08-25 22:26:28 +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
d154184354
docs(compatibility): update compatibility ( #429 )
2024-08-25 21:58:22 +09:00
D-Sketon
59d936f4d2
docs: Fix errors in docs ( #430 )
2024-08-25 21:57:59 +09:00
Dongho Kim
3e5e91c848
docs(timeout): Update docs for timeout
( #422 )
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-08-25 10:24:27 +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
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
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
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
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
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