Dayong Lee
4068e43b5e
feat(includes): add includes in es-toolkit/compat
( #606 )
...
* Add includes
* makes safe
* Fix get keys
* inhence bench
* enhance performance
* Fix lint
2024-09-28 23:59:30 +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
D-Sketon
75ed97afa0
feat(flowRight): implement flowRight ( #603 )
2024-09-28 22:56:26 +09:00
D-Sketon
4e92675248
feat(flip): implement flip ( #582 )
2024-09-28 22:50:31 +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
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
raon0211
8fe44e8a90
fix(pick): Fix pick to only create keys that are already existent
2024-09-25 16:32:57 +09:00
D-Sketon
c734f730b4
feat(compat): implement pad ( #584 )
2024-09-24 10:38:18 +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
Dayong Lee
d47ee5f420
feat(utils): add toNumber
, toFinite
, toInteger
in compat layer ( #569 )
...
* Add to Number
* Add toInteger
* Add toFinite
* Add internal utils
* Add benches
* Fix test title
* Add test for to Intger
2024-09-24 10:28:48 +09:00
D-Sketon
82845fb08b
bench: fix bench ( #558 )
...
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-23 15:30:34 +09:00
Dayong Lee
1537ea9f4d
fix(predicate): enhance performance and simplify codes of isNumber
, isString
, isSymbol
, isRegExp
, isBoolean
( #573 )
...
* Add isBoolean
* Add isRegExp
* Add isString
* Add isSymbol
* Add isNumber
* Add isBoolean case
* Remove unused imports
* Update types and integrate variable name
2024-09-23 15:14:31 +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
Dayong Lee
753ccbf96e
feat(string): implement compat/upperCase
and fix types and jsdoc of case methods ( #537 )
...
* feat(upperCase): add upperCase compatibility and benchmarks
* feat(compat): update case conversion methods to accept optional string or object types
2024-09-18 16:27:07 +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
c21874ef3b
chore: Update bundle size benchmarks
2024-09-18 16:14:14 +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
D-Sketon
02ce5e9024
feat(compat): implement curry ( #535 )
...
* feat(compat): implement curry
* make lint happy
* doc
2024-09-15 17:57:27 +09:00
raon0211
8b07ec7bd7
perf(get, unset, matchesProperty, toPath): Improve performance
2024-09-14 23:04:18 +09:00
raon0211
0edff25215
perf(toPath): Improve performance of toPath, add benchmarks
2024-09-14 23:04:18 +09:00
raon0211
6f6ab60926
feat(unset): Implement unset
2024-09-14 17:37:21 +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
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
e65b191dea
bench: Fix benchmark for isInteger
2024-09-14 14:31:51 +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
Dayong Lee
993b77f9ab
feat(toString): add toString
in compat layer ( #521 )
...
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* Implement toString
* Update src/compat/string/toString.ts
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-09-13 17:42:37 +09:00
Dayong Lee
31769810b8
feat(string): add snakeCase
, startCase
, lowerCase
, kebabCase
in compat layer ( #517 )
...
* Add cases function
* Add benchmarks and re-export in index.ts
* Revert
2024-09-13 16:43:07 +09:00
Ankit
5a7d931c38
feat(trim, trimStart, trimEnd): add trim, trimStart and trimEnd functions ( #411 )
...
* trim feature first commit
* prettier
* corrections in trim functions
* prettier
* prettier
---------
Co-authored-by: Ankit <ankit.jha@deptagency.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-13 15:48:48 +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
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
Somi Park
851755cdd6
feat(findLastIndex): implement findLastIndex ( #512 )
2024-09-12 21:35:27 +09:00
D-Sketon
9f450ff4f7
feat(compat): implement parseInt ( #509 )
2024-09-10 22:40:30 +09:00
Dayong Lee
9c7218330e
feat(camelCase): implement camelCase
in compat layer ( #507 )
...
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* feat(camelCase): implement `camelCase` in compat layer
* A bench
* Change normalize way
2024-09-10 21:05:04 +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
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
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
26b48d161b
chore(benchmark): add missing bench ( #494 )
2024-09-08 23:16:49 +09:00
moonheekim0118
cb01e51c7b
chore: update concat benchmarks ( #492 )
2024-09-08 22:00:19 +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
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
D-Sketon
be020f4587
feat(attempt): Implement attempt ( #489 )
...
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-08 17:04:54 +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