@gitbeaker/core 35.3.0 → 35.4.0

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.
package/dist/index.js CHANGED
@@ -214,7 +214,9 @@ function getHelper(service, endpoint, _a, acc) {
214
214
  }
215
215
  newAcc = __spreadArray(__spreadArray([], __read(acc), false), __read(body), false);
216
216
  next = li.parse(headers.link).next;
217
- _b = (next ? queryString.parseUrl(next, { parseNumbers: true }) : {}).query, qs = _b === void 0 ? {} : _b;
217
+ _b = (next
218
+ ? queryString.parseUrl(next, { parseNumbers: true, arrayFormat: 'bracket' })
219
+ : {}).query, qs = _b === void 0 ? {} : _b;
218
220
  withinBounds = maxPages
219
221
  ? newAcc.length / (qs.per_page || 20) < maxPages
220
222
  : true;