Commit Graph

465 Commits

Author SHA1 Message Date
Dongho Kim
5925521aab
fix(negate): Fix parameter type of negate (#455)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-08-31 15:19:18 +09:00
Dayong Lee
db3a8bc0d5
fix(debounce): fix return type (#406)
* Improve type of debounce

* Rollback signal arguments

* Remove temp code

* Revert testcase

* Change generic type

* Revert generic type
2024-08-31 15:04:52 +09:00
Sojin Park
7da85862ac v1.17.0 2024-08-31 15:02:56 +09:00
Dayong Lee
af2d831321
docs: Sort sidebar (#454) 2024-08-31 14:51:58 +09:00
Sojin Park
14ae504e0f style: Fix ESLint errors 2024-08-31 14:45:20 +09:00
Dongho Kim
1890d8ff07
docs(ary): Update docs for ary (#452)
* docs(ary): Update docs for `ary`

* Apply suggestions from code review

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-08-31 14:45:00 +09:00
Sojin Park
f3620d76aa docs(at, pullAt): Note that at and pullAt supports negative indices 2024-08-31 14:41:12 +09:00
Sojin Park
6a676986d9 feat(at): at should support negative indices 2024-08-31 14:39:00 +09:00
Dayong Lee
27b483e945
fix(compat/orderby): add missed test cases and fix the problematic parts (#427)
* Delete getPath

* Add testcase and fix orderBy

* Fix jsdoc

* Fix jsdoc

* Fix comment

* Change variable name

* Improve performance

* Remove unused

* Remove memoize by change logic

* Remove unusable type

* Add testcase for coverage

* Refactor code

* Extract condition

* Use object only needed

* Change variable name and integrate map

* Apply suggestions from code review

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-08-31 14:31:48 +09:00
mancuoj
5839385476
refactor(tail): redundant logic (#451) 2024-08-31 14:31:24 +09:00
Sojin Park
0fa6ab024b fix(pullAt): Fix pullAt to work with objects and add some docs 2024-08-31 14:28:19 +09:00
Sojin Park
d62fec39f7 feat(at): Implement at function 2024-08-31 14:13:40 +09:00
Jiwoo So
1407259f1c
feat(pullAt): Implement pullAt (#435)
* feat(pullAt): implement pullAt

* fix(type): fix result type and return type

fix this type `(T | undefined)[]` to `Array<T | undefined>`

* fix(docs): fix the some types in docs

fix this type `(T | undefined)[]` to `Array<T | undefined>`
2024-08-31 13:53:18 +09:00
Sojin Park
c7d12a1c80 docs(deburr): Add docs for deburr 2024-08-31 13:50:18 +09:00
D-Sketon
58d1cb2fd4
feat(deburr): Implement deburr (#449)
* feat(deburr): implement deburr

* compatibility
2024-08-31 13:39:31 +09:00
mancuoj
9089b3b4ff
refactor(initial): redundant logic (#450) 2024-08-31 13:38:29 +09:00
Dongho Kim
367fc87050
refactor(tail): Improve code readability in tail (#443) 2024-08-31 10:58:48 +09:00
Dongho Kim
647c788016
feat(initial): Support readonly array in initial (#444) 2024-08-31 10:58:09 +09:00
Dayong Lee
f7a1c8548a
fix(throttle): fix types of generic and return value (#447)
* Improve types of throttle

* Apply suggestions from code review

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-08-31 10:54:46 +09:00
Dongho Kim
4e395238d5
docs(takeRightWhile): fix docs for takeRightWhile (#446) 2024-08-31 10:54:35 +09:00
Minsu
b9966aa683
docs(isSubset): update sidebar path for Korean isSubset documentation (#439)
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-08-29 10:21:21 +09:00
mancuoj
b762d54974
docs(lowerCase): Fix wrong docs for lowerCase (#438) 2024-08-29 10:21:05 +09:00
spookyuser
984a072ff4
docs: Add example showing how to use uniqBy with object arrays (#410)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
* Add example showing how to use uniqBy with object arrays

* Add uniqBy example with objects to other docs

* Apply suggestions from code review

* Update src/array/uniqBy.ts

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-08-28 23:23:16 +09:00
Kingston
d47603f4cc
docs(camelCase): Fix JSDoc for camelCase (#437)
The JSDoc description for camel case described snake case instead of camel case. This fixes it to be the correct definition.
2024-08-28 23:21:05 +09:00
Dongho Kim
f85579bc39
fix(countBy): Support nemeric and symbol keys in countBy (#433)
* fix(countBy): Support readonly array in `countBy`

* fix(countBy): Support numeric and symbol keys in `countBy`
2024-08-28 23:20:44 +09:00
Dayong Lee
8ffb6d1710
style(lint): fix ignores option (#424)
* Change ignore option

* Fix lint error

* Remove unusable
2024-08-28 23:20:13 +09:00
Yusuke Hayashi
d45bc3352b
docs: Translate and create Japanese version (#432)
* docs: translate and create Japanese version

* docs: run prettier

* Apply suggestions from code review

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-08-28 23:19:07 +09:00
mancuoj
55fae71d06
docs: Fix some wrong docs (#436) 2024-08-28 23:04:43 +09:00
raon0211
d02ef354d1 docs: Update compatibility table
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-08-25 22:26:28 +09:00
raon0211
8dc4fed848 feat(minBy, maxBy): Update docs for minBy & maxBy 2024-08-25 22:25:09 +09:00
Yota Toyama
3e2e20680a
fix(minBy): Fix typing of minBy (#405)
* Fix typing of `minBy`

* Guarantee that the first element exists

* Fix typings in tests

* Use function overload

* Fix documentation

* Fix return type

* Fix function overloading

* Remove `const` annotations

* Remove unnecessary type annotations
2024-08-25 22:23:26 +09:00
raon0211
6ef87e318b feat(upperFirst, lowerFirst): Add some docs for lowerFirst & upperFirst 2024-08-25 22:22:21 +09:00
Dongho Kim
33bce8af73
fix(timeout): Add missing export for timeout (#421) 2024-08-25 22:15:43 +09:00
mattiacoll
16fda3f24c
feat(upperFirst): Add upperFirst function (#404)
* feat(upperFirst): Add upperFirst function

* Add upperFirst benchmark

* Add upperFirst english docs

* Update docs/reference/string/upperFirst.md

---------

Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-08-25 22:15:19 +09:00
mattiacoll
02643bcbe3
feat(lowerFirst): add lowerFirst function (#403)
* feat(lowerFirst): Add lowerFirst function

* Add lowerFirst benchmark

* Add lowerFirst english docs

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-08-25 22:12:57 +09:00
raon0211
3844e7a3c3 feat(isRegExp): Add test cases from lodash & add docs for zh_hans 2024-08-25 22:06:14 +09:00
hyesung oh
e436125344
feat(isRegExp): add isRegExp function (#417)
* feat: isRegExp at src/predicate

* feat: isRegExp at compat

* test: bench

* docs: append isRegExp

* chore: format

---------

Co-authored-by: Sojin Park <raon0211@toss.im>
2024-08-25 22:01:12 +09:00
D-Sketon
d154184354
docs(compatibility): update compatibility (#429) 2024-08-25 21:58:22 +09:00
D-Sketon
59d936f4d2
docs: Fix errors in docs (#430) 2024-08-25 21:57:59 +09:00
Dongho Kim
3e5e91c848
docs(timeout): Update docs for timeout (#422)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-08-25 10:24:27 +09:00
Dayong Lee
3eb93e531c
feat(orderBy, sortBy): support custom key functions in orderBy and integrate sortBy with orderBy (#407)
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-08-22 23:28:27 +09:00
Dongho Kim
546aaeef2f
docs(isObjectLike): Update docs for isObjectLike (#416) 2024-08-22 23:17:02 +09:00
Dongho Kim
8c1e7c7982
style: Fix typo (#412) 2024-08-22 23:16:01 +09:00
Dayong Lee
5c551b8866
build: Remove unused package (#408)
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-08-20 23:38:12 +09:00
StyleShit
d4aa7031c8
chore(dev-deps): upgrade to eslint 9 (#396)
Closes #395
2024-08-20 21:55:39 +09:00
D-Sketon
9862a7d76a
docs: Fix some errors in jsdoc (#400) 2024-08-20 21:54:23 +09:00
Ikko Eltociear Ashimine
14bac3aa65
docs: Add Japanese README (#394)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
I created Japanese translated README.
2024-08-19 21:23:25 +09:00
D-Sketon
d83c435fdc
docs(benchmark): fix wrong link (#393) 2024-08-19 21:22:35 +09:00
Dongho Kim
50814915ef
docs(isArray): Update docs for isArray (#390)
Some checks are pending
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-08-18 22:51:39 +09:00
Dayong Lee
4637a17b53
feat(orderBy): implement a feature of custom key functions in a compat/orderBy (#385)
Some checks failed
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
* Implement custom key functions

* Add a benchmark

* Make clean getPath

* Simplify orderBy

* Rename variable

* Rename variable
2024-08-17 10:37:39 +09:00