From 7671040e15f4f1a16151d105d1a6dac97d9124e3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 18 Feb 2025 12:17:52 +0000 Subject: [PATCH] [CI] test committed --- dist/index.js | 9 ++++++--- report.txt | 1 + 2 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 report.txt diff --git a/dist/index.js b/dist/index.js index 35edb35d..1f1f6090 100644 --- a/dist/index.js +++ b/dist/index.js @@ -32717,7 +32717,7 @@ async function fetchWrapper(requestOptions) { data: "" }; if ("deprecation" in responseHeaders) { - const matches = responseHeaders.link && responseHeaders.link.match(/<([^>]+)>; rel="deprecation"/); + const matches = responseHeaders.link && responseHeaders.link.match(/<([^<>]+)>; rel="deprecation"/); const deprecationLink = matches && matches.pop(); log.warn( `[@octokit/request] "${requestOptions.method} ${requestOptions.url}" is deprecated. It is scheduled to be removed on ${responseHeaders.sunset}${deprecationLink ? `. See ${deprecationLink}` : ""}` @@ -32758,7 +32758,7 @@ async function getResponseData(response) { return response.text().catch(() => ""); } const mimetype = (0,fast_content_type_parse/* safeParse */.xL)(contentType); - if (mimetype.type === "application/json") { + if (isJSONResponse(mimetype)) { let text = ""; try { text = await response.text(); @@ -32772,6 +32772,9 @@ async function getResponseData(response) { return response.arrayBuffer().catch(() => new ArrayBuffer(0)); } } +function isJSONResponse(mimetype) { + return mimetype.type === "application/json" || mimetype.type === "application/scim+json"; +} function toErrorMessage(data) { if (typeof data === "string") { return data; @@ -32994,7 +32997,7 @@ var createTokenAuth = function createTokenAuth2(token) { ;// CONCATENATED MODULE: ./node_modules/@octokit/core/dist-src/version.js -const version_VERSION = "6.1.3"; +const version_VERSION = "6.1.4"; ;// CONCATENATED MODULE: ./node_modules/@octokit/core/dist-src/index.js diff --git a/report.txt b/report.txt new file mode 100644 index 00000000..2f63266e --- /dev/null +++ b/report.txt @@ -0,0 +1 @@ +1739881071