File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -40524,7 +40524,7 @@ var RequestError = class extends Error {
4052440524 if (options.request.headers.authorization) {
4052540525 requestCopy.headers = Object.assign({}, options.request.headers, {
4052640526 authorization: options.request.headers.authorization.replace(
40527- / .*$/,
40527+ /(?<! ) .*$/,
4052840528 " [REDACTED]"
4052940529 )
4053040530 });
@@ -40612,7 +40612,7 @@ async function fetchWrapper(requestOptions) {
4061240612 data: ""
4061340613 };
4061440614 if ("deprecation" in responseHeaders) {
40615- const matches = responseHeaders.link && responseHeaders.link.match(/<([^>]+)>; rel="deprecation"/);
40615+ const matches = responseHeaders.link && responseHeaders.link.match(/<([^< >]+)>; rel="deprecation"/);
4061640616 const deprecationLink = matches && matches.pop();
4061740617 log.warn(
4061840618 `[@octokit/request] "${requestOptions.method} ${requestOptions.url}" is deprecated. It is scheduled to be removed on ${responseHeaders.sunset}${deprecationLink ? `. See ${deprecationLink}` : ""}`
Original file line number Diff line number Diff line change @@ -40332,7 +40332,7 @@ var RequestError = class extends Error {
4033240332 if (options.request.headers.authorization) {
4033340333 requestCopy.headers = Object.assign({}, options.request.headers, {
4033440334 authorization: options.request.headers.authorization.replace(
40335- / .*$/,
40335+ /(?<! ) .*$/,
4033640336 " [REDACTED]"
4033740337 )
4033840338 });
@@ -40420,7 +40420,7 @@ async function fetchWrapper(requestOptions) {
4042040420 data: ""
4042140421 };
4042240422 if ("deprecation" in responseHeaders) {
40423- const matches = responseHeaders.link && responseHeaders.link.match(/<([^>]+)>; rel="deprecation"/);
40423+ const matches = responseHeaders.link && responseHeaders.link.match(/<([^< >]+)>; rel="deprecation"/);
4042440424 const deprecationLink = matches && matches.pop();
4042540425 log.warn(
4042640426 `[@octokit/request] "${requestOptions.method} ${requestOptions.url}" is deprecated. It is scheduled to be removed on ${responseHeaders.sunset}${deprecationLink ? `. See ${deprecationLink}` : ""}`
Original file line number Diff line number Diff line change 22 "name" : " create-github-app-token" ,
33 "private" : true ,
44 "type" : " module" ,
5- "version" : " 1.11.4 " ,
5+ "version" : " 1.11.5 " ,
66 "description" : " GitHub Action for creating a GitHub App Installation Access Token" ,
77 "scripts" : {
88 "build" : " esbuild main.js post.js --bundle --outdir=dist --out-extension:.js=.cjs --platform=node --target=node20.0.0 --packages=bundle" ,
You can’t perform that action at this time.
0 commit comments