Skip to content

Commit

Permalink
Bumping package version and running build
Browse files Browse the repository at this point in the history
  • Loading branch information
jordydhoker committed Aug 30, 2023
1 parent 512b76e commit 56d884c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions cdn/radash.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,12 @@ const cluster = (list2, size = 2) => {
const unique = (array, toKey) => {
const valueMap = array.reduce((acc, item) => {
const key = toKey ? toKey(item) : item;
if (acc[key])
if (acc.get(key))
return acc;
acc[key] = item;
acc.set(key, item);
return acc;
}, {});
return Object.values(valueMap);
}, /* @__PURE__ */ new Map());
return Array.from(valueMap.values());
};
function* range(startOrLength, end, valueOrMapper = (i) => i, step = 1) {
const mapper = isFunction(valueOrMapper) ? valueOrMapper : () => valueOrMapper;
Expand Down
8 changes: 4 additions & 4 deletions cdn/radash.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,12 +203,12 @@ var radash = (function (exports) {
const unique = (array, toKey) => {
const valueMap = array.reduce((acc, item) => {
const key = toKey ? toKey(item) : item;
if (acc[key])
if (acc.get(key))
return acc;
acc[key] = item;
acc.set(key, item);
return acc;
}, {});
return Object.values(valueMap);
}, /* @__PURE__ */ new Map());
return Array.from(valueMap.values());
};
function* range(startOrLength, end, valueOrMapper = (i) => i, step = 1) {
const mapper = isFunction(valueOrMapper) ? valueOrMapper : () => valueOrMapper;
Expand Down
Loading

0 comments on commit 56d884c

Please sign in to comment.