Dongho Kim
6c9c0d1c26
docs(groupBy, keyBy): Update type of key to PropertyKey ( #100 )
2024-06-30 15:49:13 +09:00
Dongho Kim
044002ed6b
feat(groupBy): Accept number and symbol keys in groupBy ( #99 )
2024-06-30 14:56:39 +09:00
Sojin Park
de1591c2e5
docs: Fix docs for installations
2024-06-30 14:55:32 +09:00
Dongho Kim
a9e317b6f3
feat(keyBy): Accept number and symbol keys in keyBy ( #98 )
2024-06-30 14:28:42 +09:00
Sojin Park
fc1a8e65b5
docs: Add docs for AbortError
2024-06-30 14:10:42 +09:00
Sojin Park
ad683b82c7
docs: Remove duplicated heading in installation
2024-06-30 13:57:33 +09:00
Sojin Park
a9523e0407
chore: Fix publish configs for Deno
2024-06-30 13:56:28 +09:00
Sojin Park
2615cab8f5
docs: Update Korean docs for JSR installation in deno
2024-06-30 13:50:43 +09:00
Sojin Park
6c776a49f1
v1.6.1
2024-06-30 13:47:15 +09:00
Sojin Park
7822fbfbdd
docs: Add NPM badge
2024-06-30 13:46:09 +09:00
Sojin Park
0ec0f6c243
docs: Fix README.md
2024-06-30 13:44:33 +09:00
Sojin Park
312775fa3b
docs: Add docs for JSR
2024-06-30 13:43:58 +09:00
Sojin Park
307f307d89
chore: Add support for deno, by adding exact extensions
2024-06-30 13:32:03 +09:00
Sojin Park
19412dbf5b
chore: Fix incorrect publish step
2024-06-30 13:26:13 +09:00
Sojin Park
f043781ff4
chore: Add setup step for deno
2024-06-30 13:24:52 +09:00
Sojin Park
6ace3f6eee
chore: Add publish for jsr step
2024-06-30 13:23:06 +09:00
Sojin Park
0dfc698aa1
style(throttle): Add explicit return type in throttle
2024-06-30 13:20:33 +09:00
Sojin Park
b4d51de802
test(randomInt): Add test for randomInt
2024-06-30 12:44:58 +09:00
Sojin Park
7b824b7962
v1.6.0
2024-06-30 12:33:52 +09:00
Sojin Park
52b1b72b34
doc(zipObject): Add zipObject in the reference section
2024-06-30 12:25:25 +09:00
Sojin Park
ff59ab4c17
feat(random, randomInt): Accept singular argument
2024-06-30 12:24:38 +09:00
Dongho Kim
184ce1778d
feat(keyBy): Add keyBy ( #93 )
...
* feat(keyBy): Add keyBy
* docs(keyBy): Translate title into Korean
* Update docs/ko/reference/array/keyBy.md
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-06-30 12:17:00 +09:00
Lich
537745077f
feat(zipObject): Add zipObject function ( #92 )
...
* feat(zipObject): Add `zipObject` function that combines keys and values into an object
* feat(zipObject): Add `zipObject` function test code
* feat(zipObject): Add `zipObject` function bench
* feat(zipObject): Add `zipObject` function docs
* Update docs/ko/reference/array/zipObject.md
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-06-29 20:57:58 +09:00
Sojin Park
a8d7e03a79
docs(compact): Fix return type of compact
2024-06-28 23:23:59 +09:00
Sojin Park
715bc60b26
feat(mean): Add support for mean
2024-06-28 23:18:18 +09:00
Sojin Park
0c9afc27e6
fix(compact): Fix implementation of compact
2024-06-28 23:10:13 +09:00
Sojin Park
60ae59bcfe
feat(compact): Add compact
2024-06-28 22:23:52 +09:00
Sojin Park
ed67b538dc
docs(minBy, maxBy): Improve the docs for minBy & maxBy
2024-06-28 22:03:54 +09:00
Sojin Park
8ae92e43c4
v1.5.0
2024-06-28 21:53:30 +09:00
Sojin Park
ed145c509d
test(range): Remove unncessary fallback value
2024-06-28 21:53:10 +09:00
Sojin Park
73cd00ecb7
chore: Move minBy & maxBy to array utilities
2024-06-28 21:52:19 +09:00
Sojin Park
0c83f361c2
fix(range): Remove incorrect export
2024-06-28 21:47:13 +09:00
Sojin Park
2db11d8882
fix(range): Add docs for range, and match its behavior with python's range
2024-06-28 21:44:16 +09:00
Changwan
41a3008984
feat(range): Add range function ( #77 )
...
* wip range
* feat(range): range function
* chore(range): update bench name
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-06-28 21:26:27 +09:00
Dongho Kim
cc6b4acbb5
fix(difference): Add missing readonly to parameter ( #83 )
2024-06-27 10:58:31 +09:00
Dongho Kim
1b3d9be724
fix(random): Correct JSDoc ( #81 )
2024-06-21 16:53:59 +09:00
배성준
92c9db00ba
fix(round): Throw an exception when precision
is not an integer ( #79 )
...
* feat: add exception when precision is integer
* test: add testcase for precision exception
* docs: add examples for exception
2024-06-20 11:05:33 +09:00
Dongho Kim
cfc47e4b83
style(*): Apply formatting in markdown files ( #76 )
2024-06-19 17:29:50 +09:00
Jun
3cc1a03519
chore(*): Add codspeed for benchmark visualization ( #75 )
...
* chore: add codspeed
* chore: fix the benchmark file to clearly distinguish between the comparison targets
* chore: fix typo
2024-06-18 10:40:07 +09:00
jgjgill
e3dbe50229
style(round): fix no-inferrable-types warn ( #73 )
...
* fix: lint no-inferrable-types warn
* chore: add line
---------
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-06-17 22:01:21 +09:00
Jun
f22c1ceaef
chore: Add codeowners ( #72 )
2024-06-17 21:51:32 +09:00
HyunWoo Lee (Nunu Lee)
860fb0c0e2
feat(minBy): Add minBy function that select element that have min value by given condition in array ( #71 )
...
* feat(minBy): Add minBy function that return minimum of arrary
* feat(minBy): Add minBy bench test & export it
* feat(minBy): Add documents of minBy
* feat(minBy): Add unit test of minBy
* Update src/math/minBy.ts
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
Co-authored-by: Sojin Park <raon0211@toss.im>
2024-06-17 18:40:13 +09:00
HyunWoo Lee (Nunu Lee)
260bae963f
feat(maxBy): Add maxBy function that select element that have max value by given condition in array ( #64 )
...
* feat(maxBy): Add maxBy function
* feat(maxBy): Add benchamark test
* feat(maxBy): Add unit test of maxBy
* docs(maxBy): Add reference of maxBy function
* feat(maxBy): use for-each loop instead of index-increasing fashion
* fix(maxBy): Change code by code review
* fix(maxBy): Changed by code review, all tests are fine
* fix(maxBy): remove explicit undefined return
* fix(maxBy): Fix reference due to signature modification
* Update src/math/maxBy.ts
---------
Co-authored-by: Sojin Park <raon0211@gmail.com>
2024-06-17 18:39:42 +09:00
jgjgill
3ecc06268c
test(omit, pick): Add test cases ( #66 )
...
* test: add pick tests
* chore: be consistent
2024-06-17 12:27:17 +09:00
jgjgill
2df38fe4e2
docs(isUndefined): Polish document styles and fix incorrect comments ( #67 )
...
* docs: add inline code markdown
* fix: change to undefined[] annotation
* Revert "fix: change to undefined[] annotation"
This reverts commit 3b81b8fb8a
.
* chore: recommit
2024-06-17 12:26:32 +09:00
jgjgill
229bf9bd43
docs(take): Polish document style and remove duplicated tests ( #68 )
...
* docs: add inline code markdown
* test: remove duplicate tests
2024-06-17 12:25:38 +09:00
Jonghyeon Ko
2a809aad52
ci(broken-link-checker): Add default url for scheduled job ( #70 )
2024-06-17 12:24:58 +09:00
이호연
b66eab0ae1
fix(pickBy, omitBy): Enforce stricter argument types in shouldPick
and shouldOmit
( #60 )
...
* chore: change type of key to `keyof T`
* docs: edit document
* docs: edit korean document
2024-06-15 19:44:45 +09:00
Sojin Park
8f1ffc7595
v1.4.0
2024-06-15 16:03:15 +09:00
Sojin Park
67cb5eff30
docs(random, randomInt): Add docs for randomInt, and polish docs for random
2024-06-15 16:00:20 +09:00