textbrowser 0.48.0 → 0.48.2

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.
@@ -6,7 +6,7 @@
6
6
 
7
7
  const {ceil} = Math;
8
8
  const arrayChunk = (arr, size) => {
9
- return [...Array.from({length: ceil(arr.length / size)})].map((_, i) => {
9
+ return Array.from({length: ceil(arr.length / size)}, (_, i) => {
10
10
  const offset = i * size;
11
11
  return arr.slice(offset, offset + size);
12
12
  });
@@ -29,7 +29,7 @@ const arrayChunk = (arr, size) => {
29
29
  * @param {string} cfg.namespace
30
30
  * @param {string[]} cfg.files
31
31
  * @param {Logger} cfg.log
32
- * @param {string} [cfg.basePath=""]
32
+ * @param {string} [cfg.basePath]
33
33
  * @returns {Promise<void>}
34
34
  */
35
35
  async function activateCallback ({