Dayong Lee
f70e36bd7b
fix(clone): add checking SharedArrayBuffer ( #601 )
2024-09-26 16:33:13 +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
Dayong Lee
6fb9b5dde8
fix(startCase): add missing tests and separate logic for es-toolkit
and es-toolkit/compat
( #602 )
...
* Fix startCase
* Fix test codes
2024-09-26 16:27:58 +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
d216470391
v1.21.0
2024-09-25 16:40:21 +09:00
raon0211
8fe44e8a90
fix(pick): Fix pick to only create keys that are already existent
2024-09-25 16:32:57 +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
c734f730b4
feat(compat): implement pad ( #584 )
2024-09-24 10:38:18 +09:00
Dongho Kim
7623503572
docs(castArray): Update docs ( #590 )
...
* test(castArray): Add lodash test permalink
* docs(castArray): Update docs
2024-09-24 10:37:45 +09:00
Dongho Kim
7192cd7e50
test: Update specs for string methods ( #589 )
...
* style: Remove unnecessary `async` keyword
* test: Update specs for string methods
2024-09-24 10:36:32 +09:00
Dayong Lee
f38392c400
chore(lint): add lint plugin for using for loop
instead of for...of
over array ( #587 )
...
* Add prefer for loop
* change plugin name
* Revert tsconfig
* Revert random comment
* Revert eslint config parser options
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-24 10:35:28 +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
Dongho Kim
8b2cfa0227
fix(omit): Support readonly keys
( #572 )
2024-09-24 10:31:16 +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
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
Seonghun Kim
1ba076a2ac
docs: fix spelling of a comment in normalizeForCase function ( #585 )
2024-09-23 18:52:29 +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
D-Sketon
82845fb08b
bench: fix bench ( #558 )
...
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-09-23 15:30:34 +09:00
Dongho Kim
bf0e712552
docs(random): Correct inaccurate JSDoc example description ( #551 )
2024-09-23 15:21:53 +09:00
Dongho Kim
14700ece49
docs(range): Update docs for range
( #552 )
...
* docs(range): Update docs for `range`
* Update range.ts
* Update src/math/range.ts
* Update range.ts
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-09-23 15:21:23 +09:00
Goblin (Kim Woo Seok)
791b393f79
docs: Delete wrong documentation in maxBy
( #553 )
2024-09-23 15:18:34 +09:00
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 )
...
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 )
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 )
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