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
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 )
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 )
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 )
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 )
...
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 )
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 )
...
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
Seongjee Kim
f08fbd1b6a
chore: remove unused import ( #388 )
2024-08-17 10:31:23 +09:00
Sojin Park
010ec0496e
v1.16.0
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-08-15 23:18:39 +09:00
Sojin Park
aef394d8c4
fix(memoize): Fix type export for MemoizeCache
2024-08-15 23:14:36 +09:00
Sojin Park
9d68f5679d
docs(padEnd): Add docs for padEnd
2024-08-15 23:13:17 +09:00
Sojin Park
b1ac921779
feat(memoize): Update behavior or memoize to get a custom getCacheKey and only accept unary or zero-argument function
2024-08-15 23:10:15 +09:00
novo
3cb5c804e1
feat(memoize): Add memoize ( #208 )
...
* feat: memoize
* test: memoize
* chore: add benchmark of memoize
* docs: add docs
* feat: add overloads to memoize
* feat: MemoizeOption
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-08-15 21:24:20 +09:00
Sojin Park
82010d8cbb
docs: Update compatibility
2024-08-15 21:21:39 +09:00
Sojin Park
98af4a3a11
docs(rest): Improve docs for rest
2024-08-15 21:19:59 +09:00
D-Sketon
71a710b762
feat(rest): implement rest ( #374 )
...
* feat(rest): implement rest
* fix: compat
2024-08-15 21:01:13 +09:00
Péter Kovács
50b4866909
feat(padEnd): add padEnd ( #380 )
2024-08-15 20:58:58 +09:00
Dayong Lee
321a1bf635
refactor(sortBy, orderBy): use same compareValues function in internal and fix type ( #382 )
...
* Refact compareValues
* Fix type error
* Fix docs
2024-08-15 20:58:26 +09:00
Sojin Park
d4037c755c
feat(sortBy): Refactor sortBy and improve docs
CI / codecov (push) Waiting to run
Release / release (push) Waiting to run
2024-08-15 11:33:40 +09:00
Dayong Lee
21a0ceabc5
feat(sortBy): implement es-toolkit/sortBy
( #381 )
...
* Implement sortBy
* Add bench
* Extends template from object
* Fix example
* Add mixed iteratees
* Add docs and fix examples
* Fix jsdoc
* make prettier
* Update src/array/sortBy.ts
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-08-15 11:15:35 +09:00
Sojin Park
8310cd9d5d
docs(isString): Add docs for isString for zh_hans
2024-08-15 11:09:23 +09:00
uussong
b11fd69e17
feat(isString): Add isString function ( #379 )
...
* feat(isString): Add isString function
* test(isString): Add isString tests
* docs(isString): Add and improve docs for isString
* Update src/compat/predicate/isString.spec.ts
* Update src/compat/predicate/isString.spec.ts
* Update src/predicate/index.ts
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-08-15 11:06:47 +09:00
Sojin Park
c639dd7209
docs: Update compatibility for findIndex
CI / codecov (push) Has been cancelled
Release / release (push) Has been cancelled
2024-08-11 21:44:40 +09:00
Sojin Park
da091c49d8
docs: Add missing backticks in signature for has
2024-08-11 21:40:34 +09:00
Sojin Park
f99a6b26c3
docs: Add docs for errors
2024-08-11 21:38:32 +09:00
Sojin Park
418183b0aa
docs: Add docs for indexOf
2024-08-11 21:20:11 +09:00
Sojin Park
2d96265951
docs: Add missing docs for find & findIndex
2024-08-11 21:10:18 +09:00
Dayong Lee
f55662d994
feat(indexOf): implement indexOf
in es-toolkit/compat
( #378 )
...
* Implement indexOf
* Add bench
* Add compat docs
2024-08-11 21:09:39 +09:00
Sojin Park
c9587f3816
feat(findIndex): Implement findIndex
2024-08-11 21:03:13 +09:00
Sojin Park
8482793737
docs: Remove broken link
2024-08-11 15:34:08 +09:00
Sojin Park
4bc1fa8704
docs: Update docs
2024-08-11 15:32:20 +09:00