@dxos/util 0.8.0 → 0.8.1-main.013e445

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1352,7 +1352,7 @@ var randomInt = (max, min = 0) => {
1352
1352
  };
1353
1353
 
1354
1354
  // packages/common/util/src/range.ts
1355
- var range = (n, mapper) => {
1355
+ var range = (n = 0, mapper) => {
1356
1356
  const range2 = Array.from(Array(n).keys());
1357
1357
  return mapper == null ? range2 : range2.map(mapper);
1358
1358
  };