Commit Graph

328 Commits

Author SHA1 Message Date
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
Some checks are pending
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)
Some checks are pending
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
Some checks failed
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)
Some checks are pending
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
Some checks are pending
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
Some checks are pending
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
Some checks are pending
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
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-09-04 10:06:10 +09:00