raon0211
c5bbf032a4
docs: Fix docs style
2024-10-07 09:59:13 +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
Dayong Lee
df19ff14de
style(format): add prettier-plugin-sort-re-exports
prettier plugin ( #670 )
...
* Apply plugin
* Run prettier
2024-10-06 17:04:48 +09:00
Sojin Park
1bcad724e1
docs: Add docs for isBlob for simplified Chinese
2024-10-03 18:31:18 +09:00
lukaszkowalik2
251d6bf205
feat(isBlob): add isBlob
function ( #635 )
...
* feat(isBlob): add isBlob function
* fix: fixed missing export
* docs: isBlob
* fix: resolve linting errors
* tests(isBlob): ensure File is mocked locally in a test to prevent CI failure
* Update docs/ko/reference/predicate/isBlob.md
* Update docs/ja/reference/predicate/isBlob.md
* Apply suggestions from code review
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-03 18:29:20 +09:00
Sojin Park
306a6c70da
docs: Add compatibility section for curry & curryRight in Korean and Japanese
2024-10-03 18:28:48 +09:00
D-Sketon
f452321c5e
feat(compat): implement curryRight ( #645 )
2024-10-03 18:18:51 +09:00
D-Sketon
21bd482614
feat(rangeRight): implement rangeRight ( #646 )
2024-10-03 18:10:34 +09:00
Dayong Lee
22701d5c23
fix(before,once): allow accepting arguments for once
and fix types of before
and once
( #647 )
...
* Fix before once
* Fix lint error
* Apply suggestions from code review
Co-authored-by: Sojin Park <raon0211@gmail.com>
* Fix once
* Fix once types
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-03 18:08:37 +09:00
Sojin Park
aca23abae5
style: Fix prettier
2024-10-03 18:04:32 +09:00
Sojin Park
98f71ff7fa
docs(eq): Update docs for eq
2024-10-03 18:04:17 +09:00
Sojin Park
de8c69e9f8
feat(defaults, toDefaulted): Add toDefaulted & fix doc
2024-10-03 18:03:36 +09:00
Dongho Kim
22b136f8f2
docs(isEqual): Correct result of special case ( #650 )
2024-10-03 16:05:05 +09:00
Dongho Kim
c6c76dbad9
docs(flowRight): Update docs ( #651 )
...
* docs(flowRight): Update docs
* Update docs/ko/reference/function/flowRight.md
* Update docs/ko/reference/function/flowRight.md
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-03 16:04:30 +09:00
Seongjee Kim
1ff80546dd
feat(invertBy): add invertBy to compat ( #574 )
...
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
* add invertBy to compat
* add invertBy bench
* add invertBy .md
* Update benchmarks/performance/invertBy.bench.ts
* Update docs/reference/object/invertBy.md
* Update invertBy.ts
* Update src/compat/object/invertBy.ts
* Update invertBy.ts
* update invertBy
* update invertBy
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-01 23:14:18 +09:00
Sojin Park
3462a8425c
feat(isEqualWith): Implement isEqualWith
2024-10-01 22:33:44 +09:00
Dongho Kim
30518a8fe6
docs(curryRight): Rename parameters for clarity and update docs ( #631 )
2024-10-01 20:21:51 +09:00
Dongho Kim
832ecc53da
docs(flow): Update docs ( #630 )
...
* docs(flow): Update docs
* Update docs/ko/reference/function/flow.md
* Update docs/ko/reference/function/flow.md
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-10-01 20:21:21 +09:00
Dongho Kim
8a518af485
docs(isJSONValue): Update docs ( #632 )
2024-10-01 20:19:01 +09:00
Sojin Park
10a83ddaf3
style: Fix prettier
2024-10-01 14:52:25 +09:00
Sojin Park
674d0868aa
docs: Add docs
2024-10-01 14:08:25 +09:00
D-Sketon
7695034979
feat(compat): implement flow/flowRight ( #621 )
2024-10-01 14:01:32 +09:00
Dayong Lee
23aa7db57d
style(format): add sorting imports plugin and fix eslint config ( #625 )
...
* Add prettier sort
* Fix prettier setting in eslint
* Apply prettier
* Fix depdencies
* Add .yarn folder in excludes of vitest
* Revert pick I don't know why this is changed
2024-10-01 14:00:45 +09:00
HyunWoo Choi
8f7e0960cb
feat(isArrayBuffer) : add isArrayBuffer
function ( #624 )
...
* feat : add isArrayBuffer function
* feat : isArrayBuffer bench
* docs : isArrayBuffer
2024-10-01 13:59:23 +09:00
D-Sketon
20426dfdcc
feat(curryRight): implement curryRight ( #628 )
2024-10-01 13:58:04 +09:00
knott
ded56755f3
feat(isJSONObject, isJSONValue, isJSONArray): Implement isJSONObject
, isJSONValue
, isJSONArray
( #563 )
...
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
* feat:init
* feat
* fix:use prettier
* feat(isPlainObject): Update signature of isPlainObject
* feat: Add isJSONValue, isJSONArray, and refactor isJSONObject
* remove from functions
* docs: Update docs
* docs: Update docs
* docs: Update docs
* docs: Update docs
* docs: Update docs
* docs: Update docs
* docs: Update docs
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-29 20:42:50 +09:00
Dongho Kim
a093c732a4
fix(filter): Ensure filter
provide correct arguments to the predicate function ( #619 )
...
* fix(filter): Ensure `filter` provide correct arguments to the predicate function
* docs(filter): Update docs for `filter`
* Update src/compat/array/filter.ts
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-09-29 17:59:44 +09:00
Dongho Kim
e9123bea9d
docs(dropWhile): Update docs for dropWhile
( #615 )
...
* docs(dropWhile): Update docs for `dropWhile`
* docs(dropWhile): Add examples to JSDoc
2024-09-29 17:57:41 +09:00
Dongho Kim
6fa1f00e07
docs(every): Update docs for every
( #617 )
2024-09-29 17:37:30 +09:00
Dongho Kim
93d256d21d
docs(flip): Update docs for flip
( #618 )
2024-09-29 17:36:37 +09:00
Sojin Park
5c39817c0a
chore: Move includes to array
2024-09-29 00:35:45 +09:00
Sojin Park
dd30980a68
docs(includes): Add docs for includes
2024-09-29 00:29:53 +09:00
kimjeonghee
6e3226e2f0
feat(filter): add filter
function ( #610 )
...
* feat: create filter function
* test: filter
* docs: filter
* fix: test case description
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-28 23:44:52 +09:00
Sojin Park
5553908173
docs(flowRight): Add docs for flowRight
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-28 23:04:52 +09:00
D-Sketon
75ed97afa0
feat(flowRight): implement flowRight ( #603 )
2024-09-28 22:56:26 +09:00
Sojin Park
7eed956ee0
docs(flip): Update docs for flip
2024-09-28 22:54:54 +09:00
D-Sketon
4e92675248
feat(flip): implement flip ( #582 )
2024-09-28 22:50:31 +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
819d64ecfa
docs: Add missing docs and style docs
2024-09-28 22:22:34 +09:00
Sojin Park
c0efc65360
feat(dropWhile): Add full compatibility with lodash
2024-09-28 22:15:16 +09:00
hyesung oh
893ed163f3
docs(predicate): append docs fot isSet
and isMap
( #604 )
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-09-27 10:28:23 +09:00
D-Sketon
c051a3165e
feat(flow): implement flow ( #595 )
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-26 16:35:41 +09:00
HyunWoo Choi
2acc21175d
feat(isMap): add isMap ( #600 )
...
* feat : add isMap function
* feat : add isMap bench
* docs : isMap
2024-09-26 16:32:22 +09:00
HyunWoo Choi
3cf0992520
feat(isSet): add isSet ( #596 )
...
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* feat : add isSet to predicate
* feat : add isSet bench
* feat : add isSet test
* docs : isSet
2024-09-26 10:55:46 +09:00
Wojciech Maj
7016baf301
docs: fix castArray import paths ( #598 )
...
Closes #597
2024-09-26 10:54:17 +09:00
D-Sketon
f7853a80c1
docs: fix import ( #599 )
...
* docs: fix import
* docs: fix import
2024-09-26 10:53:52 +09:00
raon0211
92500e54da
docs: Add docs for functions
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-25 17:37:03 +09:00
raon0211
75c41ef98f
feat(string): Make camelCase and other functions to support emojis
2024-09-25 16:25:52 +09:00
hyesung oh
1e04c48d3d
fix(startCase): convert the non-first char to lowercase ( #591 )
...
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
* fix: convert the non-first char to lowercase
* test: more test case
* docs: update examples
2024-09-24 10:39:37 +09:00
D-Sketon
36b14bef50
feat(defer): implement defer ( #581 )
...
* feat(defer): implement defer
* make lint happy
* export
2024-09-24 10:32:09 +09:00
Minhee Lee
212ba9ae47
feat(isFinite): add isFinite to compat ( #577 )
...
* feat: append isFinite to compat
Co-authored-by: hyesungoh <haesungoh414@gmail.com>
* test: isFinite
Co-authored-by: hyesungoh <haesungoh414@gmail.com>
* docs: isFinite
Co-authored-by: hyesungoh <haesungoh414@gmail.com>
* docs: add ts docs
Co-authored-by: hyesungoh <haesungoh414@gmail.com>
* Update docs/reference/compat/predicate/isFinite.md
* Update src/compat/predicate/isFinite.ts
* Update src/compat/predicate/isFinite.ts
---------
Co-authored-by: hyesungoh <haesungoh414@gmail.com>
Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-24 10:30:53 +09:00
Dongho Kim
c9346d505c
docs(curry): Update docs for curry
( #541 )
...
* docs(curry): Update docs for `curry`
* docs(curry): Synchronize documentation with JSDoc
* Update curry.md
* Update curry.md
* Update curry.md
* Update curry.md
* Update curry.ts
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-09-24 10:25:39 +09:00
Gweesin Chan
60e4ba383a
feat(constantCase): support constantCase ( #557 )
...
* feat: support constant case
* Update docs/zh_hans/reference/string/constantCase.md
* Update src/string/constantCase.ts
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-09-24 10:23:18 +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
Goblin (Kim Woo Seok)
95c5e2bfd8
docs: Delete wrong matched docs in references/math in ja ( #586 )
2024-09-23 18:52:12 +09:00
coding-honey
a08c9fed9b
docs: Fix typos - ko/dropRight.md ( #555 )
2024-09-23 15:35:16 +09:00
Goblin (Kim Woo Seok)
791b393f79
docs: Delete wrong documentation in maxBy
( #553 )
2024-09-23 15:18:34 +09:00
D-Sketon
625b915d9c
docs: fix doc ( #565 )
...
* docs: fix doc
* Update docs/zh_hans/reference/compat/array/castArray.md
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-09-23 15:17:04 +09:00
Dongho Kim
a4de80c2cf
docs(fetchData): Improve example of withTimeout
( #570 )
2024-09-23 15:15:23 +09:00
Dongho Kim
d2af34e095
docs(trimStart): Update docs for trimStart
( #576 )
2024-09-23 15:13:21 +09:00
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