Tags: octokit/request.js
Tags
fix(deps): update dependency @octokit/request-error to v6.1.7 [securi… …ty] (#740) * fix(deps): update dependency @octokit/request-error to v6.1.7 [security] * bump in package.json --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: wolfy1339 <webmaster@wolfy1339.com>
feat: correctly parse response bodies as JSON where the Content-Type … …is `application/scim+json` (#731) GitHub has APIs that return `application/scim+json` response bodies. Currently, these responses are not parsed as JSON, and instead, an `ArrayBuffer` is returned in `response.data`. This adds handling for `application/scim+json` so they are parsed as JSON as normal.
fix(refactor): async await instead of Promise chain (#711) * fail early, fail fast * improve * improve tests * AbortSignal should result in a status code 0 * minor change * streamline further * remove case * status 500 for abort error * add Dispatcher testcase for timeout * adapt requested changes
PreviousNext