@nxtedition/lib 19.8.9 → 19.8.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/lib",
3
- "version": "19.8.9",
3
+ "version": "19.8.10",
4
4
  "license": "MIT",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "type": "module",
@@ -55,7 +55,7 @@ class FetchEntry {
55
55
  })
56
56
  .then(async (res) => {
57
57
  // TODO (fix): Check cache-control and invalidate entry...
58
- const body = await res.text()
58
+ const body = await res.body.text()
59
59
  if (this.refresh) {
60
60
  // TODO (fix): max size...
61
61
  this.status = res.statusCode