File tree 3 files changed +5
-5
lines changed
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 {
40524
40524
if (options.request.headers.authorization) {
40525
40525
requestCopy.headers = Object.assign({}, options.request.headers, {
40526
40526
authorization: options.request.headers.authorization.replace(
40527
- / .*$/,
40527
+ /(?<! ) .*$/,
40528
40528
" [REDACTED]"
40529
40529
)
40530
40530
});
@@ -40612,7 +40612,7 @@ async function fetchWrapper(requestOptions) {
40612
40612
data: ""
40613
40613
};
40614
40614
if ("deprecation" in responseHeaders) {
40615
- const matches = responseHeaders.link && responseHeaders.link.match(/<([^>]+)>; rel="deprecation"/);
40615
+ const matches = responseHeaders.link && responseHeaders.link.match(/<([^< >]+)>; rel="deprecation"/);
40616
40616
const deprecationLink = matches && matches.pop();
40617
40617
log.warn(
40618
40618
`[@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 {
40332
40332
if (options.request.headers.authorization) {
40333
40333
requestCopy.headers = Object.assign({}, options.request.headers, {
40334
40334
authorization: options.request.headers.authorization.replace(
40335
- / .*$/,
40335
+ /(?<! ) .*$/,
40336
40336
" [REDACTED]"
40337
40337
)
40338
40338
});
@@ -40420,7 +40420,7 @@ async function fetchWrapper(requestOptions) {
40420
40420
data: ""
40421
40421
};
40422
40422
if ("deprecation" in responseHeaders) {
40423
- const matches = responseHeaders.link && responseHeaders.link.match(/<([^>]+)>; rel="deprecation"/);
40423
+ const matches = responseHeaders.link && responseHeaders.link.match(/<([^< >]+)>; rel="deprecation"/);
40424
40424
const deprecationLink = matches && matches.pop();
40425
40425
log.warn(
40426
40426
`[@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 2
2
"name" : " create-github-app-token" ,
3
3
"private" : true ,
4
4
"type" : " module" ,
5
- "version" : " 1.11.4 " ,
5
+ "version" : " 1.11.5 " ,
6
6
"description" : " GitHub Action for creating a GitHub App Installation Access Token" ,
7
7
"scripts" : {
8
8
"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