René
6b383350a6
types(collection): reduce* method signatures ( #10405 )
...
* types(collection): reduce* method signatures
* test: explicit expect() types
* test: add tests for arbitrary accumulator type
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-07-28 13:37:45 +00:00
Almeida
d8e94d8f10
test: complete collection coverage ( #10380 )
2024-07-06 20:32:01 +00:00
Almeida
975d5f18ae
chore: use descriptive type parameter names ( #9937 )
...
* chore: use descriptive type parameter names
* refactor: requested changes
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-11-12 17:21:51 +00:00
Neutron
defeee5eec
feat: return entries instead of values in toJSON method ( #9345 )
...
* feat(collection): return entries instead of values in toJSON method
* test: adjust test
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-11-08 01:28:27 +00:00
Almeida
65966ae6ec
feat: align some methods with the Change By Copy proposal ( #9207 )
...
BREAKING CHANGE: The `sorted` method has been renamed to `toSorted`
2023-11-07 18:26:48 +00:00
Almeida
3b8df63a5a
feat: align some methods with the Set Methods proposal ( #8890 )
...
feat(collection): align/add methods with/from Set Methods proposal
BREAKING CHANGE: The `intersect` method has been renamed to `intersection`
BREAKING CHANGE: The `difference` method has been renamed to `symmetricDifference`
BREAKING CHANGE: The `subtract` method has been renamed to `difference`
2023-11-07 18:04:51 +00:00
Jaw0r3k
ac645084f0
feat: support findLast
and reduceRight
methods ( #9573 )
...
* feat(collection): findLast and reverseRight
* chore(collection): performance and tests change
Co-authored-by: kyra <kyradiscord@gmail.com>
* remove unnecessary code
* Update packages/collection/src/collection.ts
Co-authored-by: Aura Román <kyradiscord@gmail.com>
* Apply suggestions from code review
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
---------
Co-authored-by: kyra <kyradiscord@gmail.com>
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
2023-11-05 18:49:53 +00:00
Aura Román
b85a3f2dde
refactor(collection): reduce reduce
's code ( #9581 )
...
* refactor(collection): reduce `reduce`'s code
* fix: resolved bug in tests
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-05-18 21:05:48 +00:00
Almeida
d6f4e60efd
refactor(collection): fix/silence linter warnings ( #9266 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-03-25 09:32:52 +00:00
Synbulat Biishev
291f36cd73
feat: add Collection#subtract()
( #8393 )
...
* feat: add `Collection#missing()`
* test: add test for `Collection#missing()`
* chore: rename `missing` to `complement`
* docs: fix name
* test: fix test name
Co-authored-by: Almeida <almeidx@pm.me>
* chore: sort alphabetically
* fix: edit condition
Co-authored-by: Almeida <almeidx@pm.me>
* refactor: rename to `subtract`
* docs: fix description
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
* fix: change condition
* fix: resolved eslint formatting error
Co-authored-by: Almeida <almeidx@pm.me>
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Aura Román <kyradiscord@gmail.com>
2022-11-19 21:34:26 +00:00
iCrawl
3b7ba4062e
chore: fix leftover eslint exceptions
2022-09-01 21:26:09 +02:00
Suneet Tipirneni
edadb9fe5d
refactor: use eslint-config-neon
for packages. ( #8579 )
...
Co-authored-by: Noel <buechler.noel@outlook.com>
2022-09-01 20:50:16 +02:00
Almeida
a51f7215ec
test(collection): improve coverage ( #8222 )
2022-07-05 16:10:42 +02:00
A. Román
16810f3e41
refactor(collection): remove default export ( #8053 )
2022-06-09 16:53:01 +02:00
iCrawl
8d8e6c03de
feat: use vitest instead of jest for more speed
2022-06-05 01:07:10 +02:00
1Computer1
e4bd07b239
feat(Collection): add merging functions ( #7299 )
...
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
2022-01-26 21:46:31 +01:00
Noel
16390efe6e
chore: monorepo setup ( #7175 )
2022-01-07 17:18:25 +01:00