@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.es.js CHANGED
@@ -187,7 +187,9 @@ function getHelper(service, endpoint, _a, acc) {
187
187
  }
188
188
  newAcc = __spreadArray(__spreadArray([], __read(acc), false), __read(body), false);
189
189
  next = parse(headers.link).next;
190
- _b = (next ? parseUrl(next, { parseNumbers: true }) : {}).query, qs = _b === void 0 ? {} : _b;
190
+ _b = (next
191
+ ? parseUrl(next, { parseNumbers: true, arrayFormat: 'bracket' })
192
+ : {}).query, qs = _b === void 0 ? {} : _b;
191
193
  withinBounds = maxPages
192
194
  ? newAcc.length / (qs.per_page || 20) < maxPages
193
195
  : true;