@cubejs-client/core
Advanced tools
Comparing version 0.28.15 to 0.28.17
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.28.17](https://github.com/cube-js/cube.js/compare/v0.28.16...v0.28.17) (2021-08-11) | ||
### Bug Fixes | ||
* **@cubejs-client/core:** client hangs when loading big responses (node) ([#3216](https://github.com/cube-js/cube.js/issues/3216)) ([33a16f9](https://github.com/cube-js/cube.js/commit/33a16f983f5bbbb88e62f737ee2dc0670f3710c7)) | ||
## [0.28.15](https://github.com/cube-js/cube.js/compare/v0.28.14...v0.28.15) (2021-08-06) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@cubejs-client/core", | ||
"version": "0.28.15", | ||
"version": "0.28.17", | ||
"engines": {}, | ||
@@ -48,3 +48,3 @@ "repository": { | ||
}, | ||
"gitHead": "a49f6d838c63080845190f385798c99d8a4f61df" | ||
"gitHead": "47f2b6df37fb5a22f1dea046e60ca51526587985" | ||
} |
@@ -112,7 +112,8 @@ import { v4 as uuidv4 } from 'uuid'; | ||
let body = {}; | ||
let text = ''; | ||
try { | ||
body = await response.clone().json(); | ||
text = await response.text(); | ||
body = JSON.parse(text); | ||
} catch (_) { | ||
body.error = await response.text(); | ||
body.error = text; | ||
} | ||
@@ -119,0 +120,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1833768
20820