Skip to content

Commit

Permalink
fix(browser): remove SyncResponse#buffer()
Browse files Browse the repository at this point in the history
Remove the broken, non-standard buffer() method
on SyncReponse instances.
  • Loading branch information
larsgw committed Jun 11, 2023
1 parent ce210ce commit 5d17fba
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,10 +297,6 @@ class Body {
throw new TypeError(`invalid json response body at ${this.url} reason: ${err.message}`, 'invalid-json')
}
}

buffer () {
return consumeBody(this).clone()
}
}

function checkBody (body) {
Expand Down

0 comments on commit 5d17fba

Please sign in to comment.