raon0211
a010748f82
style: Fix style for some functions
2024-09-14 23:04:18 +09:00
raon0211
8b07ec7bd7
perf(get, unset, matchesProperty, toPath): Improve performance
2024-09-14 23:04:18 +09:00
raon0211
1a5e9c8e64
feat(omit): Add compatibility version of omit
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
Dayong Lee
30f8633f8b
fix(string): coerce to string for cases methods ( #522 )
...
* Coerce to string and change function interface
* Update src/compat/_internal/normalizeForCase.ts
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-09-14 20:32:26 +09:00
raon0211
f2f4b8ec88
docs: Fix docs style
2024-09-14 20:32:06 +09:00
raon0211
ec79293feb
test: Add missing test cases
2024-09-14 20:31:52 +09:00
raon0211
a02c616e56
test: Add missing test cases
2024-09-14 18:00:33 +09:00
raon0211
4b9c4985b6
fix(unset): Fix behavior of unset, add docs
2024-09-14 17:53:27 +09:00
raon0211
cdba4ca134
fix: Add readonly to indexOf
2024-09-14 17:47:43 +09:00
raon0211
5fe4a63818
fix: Fix incorrect imports
2024-09-14 17:47:33 +09:00
raon0211
2c4a565c56
docs: Add docs of forEachRight
2024-09-14 17:44:18 +09:00
raon0211
dcfc521109
docs: Move toString to util
2024-09-14 17:44:09 +09:00
raon0211
6f6ab60926
feat(unset): Implement unset
2024-09-14 17:37:21 +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
b870fa3681
style: Fix style for some functions
2024-09-14 16:24:57 +09:00
raon0211
a88ac3f7f8
fix(isMatch): Fix circular dependency
2024-09-14 16:24:36 +09:00
raon0211
6e466c950e
style: Fix style for some functions
2024-09-14 16:24:22 +09:00
raon0211
853c72f987
fix(mergeWith): Fix mergeWith not preserving properties of target
2024-09-14 16:18:01 +09:00
raon0211
2f2c94d44f
fix: Add missing readonlys to functions
2024-09-14 15:13:20 +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
1f336b0456
fix(groupBy): Support keys like toString or valueOf in groupBy
2024-09-14 14:33:57 +09:00
raon0211
e65b191dea
bench: Fix benchmark for isInteger
2024-09-14 14:31:51 +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
D-Sketon
0c9de4747a
fix(capitalize): fix type ( #523 )
2024-09-14 14:08:47 +09:00
Junseong Park
191fbd037e
docs: replace pnpm install
with pnpm add
( #530 )
2024-09-14 14:08:18 +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
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
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
raon0211
db82e936f6
docs: Update docs for upperCase
2024-09-13 15:48:18 +09:00
raon0211
529cbf9f55
perf(upperCase): Improve performance of upperCase by using for loops
2024-09-13 15:36:04 +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
Dayong Lee
c5d0254552
feat(clone): enhance clone function to handle various data types ( #496 )
...
* feat(clone): enhance clone function to handle various data types
* Fix error
* Remove unusable comment
* Ignore when File is not supported
* Add ArrayBuffers and Fix Error and File
2024-09-13 15:28:57 +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
seungrodotlee
936e0980b7
feat(compat): add pick
(compat ver) ( #240 )
...
* feat. add compat/pick
* docs. check pick compat in docs
* chore. add pick to index
* test. change test name(pick -> compat/pick)
* refactor. changes parameter names same as original version of pick
* docs. add jsdoc
* fix. fix type error
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-13 14:53:00 +09:00
D-Sketon
b1bb77b602
perf(has/get): improve performance ( #518 )
2024-09-13 08:52:28 +09:00
Dayong Lee
7258981909
fix(isNotNil): simplify isNotNil
and add testcases ( #519 )
...
* Simplify isNotNil and add testcases
* fix chore
2024-09-13 08:51:30 +09:00
raon0211
3409d25a8d
v1.18.0
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-12 22:19:27 +09:00
raon0211
9d3918adc2
fix(join): Move join to compat
2024-09-12 22:19:10 +09:00
raon0211
18b0895048
refactor: Move parseInt to math
2024-09-12 22:13:26 +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
raon0211
8850580af2
docs: Add missing docs for findLastIndex
2024-09-12 21:54:12 +09:00