Skip to content

Commit 0933eb9

Browse files
feat(collections): register new exports in mod.ts and deno.json
Adds 6 new function exports to the collections package: groupBy, shuffle, range, difference, flatten, countBy
1 parent a87fcf2 commit 0933eb9

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

collections/deno.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
"./associate-by": "./associate_by.ts",
88
"./associate-with": "./associate_with.ts",
99
"./chunk": "./chunk.ts",
10+
"./count-by": "./count_by.ts",
1011
"./deep-merge": "./deep_merge.ts",
12+
"./difference": "./difference.ts",
1113
"./distinct": "./distinct.ts",
1214
"./distinct-by": "./distinct_by.ts",
1315
"./drop-last-while": "./drop_last_while.ts",
@@ -16,6 +18,8 @@
1618
"./filter-keys": "./filter_keys.ts",
1719
"./filter-values": "./filter_values.ts",
1820
"./find-single": "./find_single.ts",
21+
"./flatten": "./flatten.ts",
22+
"./group-by": "./group_by.ts",
1923
"./first-not-nullish-of": "./first_not_nullish_of.ts",
2024
"./includes-value": "./includes_value.ts",
2125
"./interleave": "./interleave.ts",
@@ -38,9 +42,11 @@
3842
"./partition-entries": "./partition_entries.ts",
3943
"./permutations": "./permutations.ts",
4044
"./pick": "./pick.ts",
45+
"./range": "./range.ts",
4146
"./reduce-groups": "./reduce_groups.ts",
4247
"./running-reduce": "./running_reduce.ts",
4348
"./sample": "./sample.ts",
49+
"./shuffle": "./shuffle.ts",
4450
"./sliding-windows": "./sliding_windows.ts",
4551
"./sort-by": "./sort_by.ts",
4652
"./sum-of": "./sum_of.ts",

collections/mod.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,20 @@ export * from "./aggregate_groups.ts";
3232
export * from "./associate_by.ts";
3333
export * from "./associate_with.ts";
3434
export * from "./chunk.ts";
35+
export * from "./count_by.ts";
3536
export * from "./deep_merge.ts";
37+
export * from "./difference.ts";
3638
export * from "./distinct.ts";
3739
export * from "./distinct_by.ts";
3840
export * from "./drop_last_while.ts";
3941
export * from "./drop_while.ts";
4042
export * from "./filter_entries.ts";
4143
export * from "./filter_keys.ts";
4244
export * from "./filter_values.ts";
45+
export * from "./flatten.ts";
4346
export * from "./find_single.ts";
4447
export * from "./first_not_nullish_of.ts";
48+
export * from "./group_by.ts";
4549
export * from "./includes_value.ts";
4650
export * from "./interleave.ts";
4751
export * from "./intersect.ts";
@@ -63,9 +67,11 @@ export * from "./partition.ts";
6367
export * from "./partition_entries.ts";
6468
export * from "./permutations.ts";
6569
export * from "./pick.ts";
70+
export * from "./range.ts";
6671
export * from "./reduce_groups.ts";
6772
export * from "./running_reduce.ts";
6873
export * from "./sample.ts";
74+
export * from "./shuffle.ts";
6975
export * from "./sliding_windows.ts";
7076
export * from "./sort_by.ts";
7177
export * from "./sum_of.ts";

0 commit comments

Comments
 (0)