Ron Buckton
bf83db9480
fix(build): update to support strictBuiltinIteratorReturn ( #10394 )
...
* fix(build): update to support strictBuiltinIteratorReturn
* types: assert Value to be identical to InitialValue
Co-authored-by: René <9092381+Renegade334@users.noreply.github.com >
---------
Co-authored-by: ckohen <chaikohen@gmail.com >
Co-authored-by: René <9092381+Renegade334@users.noreply.github.com >
Co-authored-by: Almeida <github@almeidx.dev >
2024-08-20 10:21:19 +00:00
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
c8bbdb70f2
fix(ReadonlyCollection): omit clear method ( #10148 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-02-23 09:02:24 +00:00
iCrawl
8f432400d8
build: multi-config build and dep update
2023-11-14 01:26:22 +01: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
Jiralite
a674989fe2
docs(collection): Minor article additions ( #9868 )
...
docs(collection): add articles
2023-10-04 04:43:23 +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
Almeida
869153c3fd
refactor: compare with undefined directly ( #9191 )
...
* refactor: compare with `undefined` directly
* fix: lint
2023-03-12 20:24:22 +00:00
Synbulat Biishev
8b70f497a1
docs: fix version export ( #9049 )
...
* docs: fix version export
* types: assert `[VI]{{inject}}[/VI]` as string
* types: typo
* Revert "types: typo"
This reverts commit ba983f02be .
* types: typo
I hate my local repo. It can't install deps with `--immutable` and a have weird error on `yarn test`, but the CI passes
2023-01-19 15:56:57 +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
Almeida
d587467a38
chore: use @link instead of markdown link in tsdocs ( #8732 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-10-10 20:03:35 +00:00
Almeida
02ffce8173
chore: make 'Note to developers' on version constant a regular comment ( #8730 )
...
chore: make 'Note to developers' a regular comment
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-10-10 14:42:03 +00:00
Jeroen Claassens
d923d0ab96
build: switch to esbuild-plugin-version-injector for injecting version strings ( #8723 )
2022-10-08 02:54:45 +02:00
Rodry
822b7f234a
types(Collection): make fn return type unknown ( #8676 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-25 11:40:58 +00:00
Parbez
dbca93098c
chore: remove unused eslint disable comments ( #8595 )
2022-09-08 15:08:04 +02: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
Suneet Tipirneni
40324574eb
docs: remove xml tag from collection#find ( #8550 )
2022-08-29 18:05:30 +02:00
Suneet Tipirneni
e475b63f25
feat(website): show descriptions for @typeParam blocks ( #8523 )
2022-08-19 10:55:43 +02:00
Suneet Tipirneni
0f83402985
refactor(website): adjust typography ( #8503 )
2022-08-17 10:17:09 +02:00
iCrawl
193b252672
docs: fence examples in codeblocks
2022-08-14 19:25:25 +02:00
Suneet Tipirneni
26556390a3
fix: use proper format for @link text ( #8384 )
...
fix(collection): use proper format for link text
2022-07-28 20:24:07 +02:00
Parbez
5494791313
docs: use link tags ( #8382 )
2022-07-28 19:18:42 +02:00
Almeida
bddb6a461c
chore: ignore index files in coverage ( #8293 )
...
Co-authored-by: ckohen <chaikohen@gmail.com >
2022-07-17 18:51:03 +02:00
Almeida
5bd6b28b3e
fix(Collection): make error messages consistent ( #8224 )
2022-07-04 17:40:33 +02:00
iCrawl
b2776c22d4
ci: api-extractor support for docs
2022-06-30 15:46:14 +02:00
Parbez
3bb9c0e5c3
fix: check for function type ( #8064 )
2022-06-10 21:21:45 +02:00
Almeida
c8f1690896
refactor(collection): remove default property ( #8055 )
2022-06-09 20:53:23 +02:00
A. Román
16810f3e41
refactor(collection): remove default export ( #8053 )
2022-06-09 16:53:01 +02:00
DD
e2f5a4a494
chore: enable noUncheckedIndexAccess ( #7931 )
2022-05-18 19:56:42 +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
Suneet Tipirneni
db25f529b2
types: add ReadonlyCollection ( #7245 )
...
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2022-01-11 12:30:16 +01:00
Noel
16938da355
chore: improve linting ( #7244 )
2022-01-11 12:30:08 +01:00
Suneet Tipirneni
d8efba24e0
refactor: make intersect perform a true intersection ( #7211 )
...
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2022-01-11 12:29:41 +01:00
Suneet Tipirneni
1f9b9225f2
types(Collection): union types on intersect and difference ( #7196 )
2022-01-08 00:47:55 +01:00
Noel
16390efe6e
chore: monorepo setup ( #7175 )
2022-01-07 17:18:25 +01:00