@cubejs-client/core 1.7.12 → 1.7.13

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.
@@ -3798,7 +3798,13 @@ var CubeApi = /*#__PURE__*/function () {
3798
3798
  throw new Error(parsed.error);
3799
3799
  }
3800
3800
  if (parsed.data) {
3801
- rows.push.apply(rows, _toConsumableArray(parsed.data));
3801
+ // Append rows one at a time instead of spreading the whole chunk as
3802
+ // call arguments (`rows.push(...parsed.data)`). A large single-chunk
3803
+ // result (e.g. 130k+ rows) otherwise exceeds V8's argument-count
3804
+ // limit and throws "RangeError: Maximum call stack size exceeded".
3805
+ for (var i = 0; i < parsed.data.length; i++) {
3806
+ rows.push(parsed.data[i]);
3807
+ }
3802
3808
  }
3803
3809
  }
3804
3810
  }