diff --git a/dist/index.js b/dist/index.js index f96cd5b1..5011416d 100644 --- a/dist/index.js +++ b/dist/index.js @@ -7137,7 +7137,7 @@ var import_endpoint = __nccwpck_require__(4471); var import_universal_user_agent = __nccwpck_require__(3843); // pkg/dist-src/version.js -var VERSION = "8.4.0"; +var VERSION = "8.4.1"; // pkg/dist-src/is-plain-object.js function isPlainObject(value) { @@ -7196,7 +7196,7 @@ function fetchWrapper(requestOptions) { headers[keyAndValue[0]] = keyAndValue[1]; } if ("deprecation" in headers) { - const matches = headers.link && headers.link.match(/<([^>]+)>; rel="deprecation"/); + const matches = headers.link && headers.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 ${headers.sunset}${deprecationLink ? `. See ${deprecationLink}` : ""}`