Commit Graph

613 Commits

Author SHA1 Message Date
D-Sketon
55a0da0bf1
perf(flatten): improve performance (#566) 2024-09-23 15:18:00 +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
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
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
D-Sketon
51172baf29
refactor(curry): simplify curry(compat) (#578) 2024-09-23 15:12:27 +09:00
hyesung oh
ea01c77121
feat(isError): append isError (#579)
Some checks are pending
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
D-Sketon
0061e902a6
fix(padStart/padEnd): fix compatibility with lodash and add tests (#583)
* fix(padStart/padEnd): fix compatibility with lodash and add tests

* make lint happy
2024-09-23 11:26:11 +09:00
Junseong Park
fd119dd2c1
docs: fix typo in 가이드 (#548)
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-09-18 23:03:43 +09:00
D-Sketon
0b0ff547b6
fix: add missing export (#549) 2024-09-18 23:03:20 +09:00
Junseong Park
0c4edbb2b9
docs: Update wrong headings and contents (#547)
Some checks are pending
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
300d1074b4 v1.20.0 2024-09-18 17:17:22 +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
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
Dayong Lee
f53bfd5c34
chore(script): enhance transforming lodash test codes script (#546)
* Handle import lodash methods

* Supports assert.deepStrictEqual

* Enhance brokenSyntax

* Update assert

* Enhance import

* Enhance Error log

* Enhance brokenSyntax and add commenting delete local variable
2024-09-18 16:15:02 +09:00
Sojin Park
c21874ef3b chore: Update bundle size benchmarks 2024-09-18 16:14:14 +09:00
Sojin Park
26c08d145a fix: Add missing file extensions 2024-09-18 16:14:07 +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
b402c8f45d
test(partial): add curry test (#542) 2024-09-18 11:46:39 +09:00
D-Sketon
94cf7ff661
perf(at): improve performance (#544) 2024-09-18 11:00:37 +09:00
Sojin Park
19eabc9366 feat(throttle): Add compatibility with lodash
Some checks failed
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
Dongho Kim
e37b295737
perf(zipWith): Optimize performance of zipWith (#540)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-16 09:51:00 +09:00
Dongho Kim
0f26a676ba
perf(zip): Optimize performance of zip (#539) 2024-09-16 09:49:42 +09:00
DonghyunKim98
5dea53fdc4
feat(drop): Added compatibility for drop (#532)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* feat : Added compatibility for drop.ts

* feat : add import in index.ts
2024-09-15 17:58:56 +09:00
Dongho Kim
c92faba75e
feat(initial): Add overloaded signatures for initial (#534) 2024-09-15 17:57:57 +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
72186bb8c9 v1.19.0
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-09-14 23:19:16 +09:00
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