diff --git a/dist/post_run/index.js b/dist/post_run/index.js index bc47b92..e0726b2 100644 --- a/dist/post_run/index.js +++ b/dist/post_run/index.js @@ -44176,7 +44176,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) { @@ -44235,7 +44235,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}` : ""}` diff --git a/dist/run/index.js b/dist/run/index.js index c8b08f6..c9f0510 100644 --- a/dist/run/index.js +++ b/dist/run/index.js @@ -44176,7 +44176,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) { @@ -44235,7 +44235,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}` : ""}`