Skip to content

Commit 47d1954

Browse files
chore: update octokit deps (#4114)
# Summary Update octockit deps to address vulnerabilities ## Testing Process pre-submits pass ## Checklist - [x] Review the contributing [guidelines](https://github.com/slsa-framework/slsa-github-generator/blob/main/CONTRIBUTING.md) - [x] Add a reference to related issues in the PR description. - [x] Update documentation if applicable. - [x] Add unit tests if applicable. - [x] Add changes to the [CHANGELOG](https://github.com/slsa-framework/slsa-github-generator/blob/main/CHANGELOG.md) if applicable. Signed-off-by: Ramon Petgrave <[email protected]>
1 parent f51d60a commit 47d1954

File tree

17 files changed

+111
-89
lines changed

17 files changed

+111
-89
lines changed

.github/actions/create-container_based-predicate/dist/index.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -4657,7 +4657,7 @@ __export(dist_src_exports, {
46574657
module.exports = __toCommonJS(dist_src_exports);
46584658

46594659
// pkg/dist-src/version.js
4660-
var VERSION = "9.2.1";
4660+
var VERSION = "9.2.2";
46614661

46624662
// pkg/dist-src/normalize-paginated-list-response.js
46634663
function normalizePaginatedListResponse(response) {
@@ -4705,7 +4705,7 @@ function iterator(octokit, route, parameters) {
47054705
const response = await requestMethod({ method, url, headers });
47064706
const normalizedResponse = normalizePaginatedListResponse(response);
47074707
url = ((normalizedResponse.headers.link || "").match(
4708-
/<([^>]+)>;\s*rel="next"/
4708+
/<([^<>]+)>;\s*rel="next"/
47094709
) || [])[1];
47104710
return { value: normalizedResponse };
47114711
} catch (error) {
@@ -7325,7 +7325,7 @@ var import_endpoint = __nccwpck_require__(4471);
73257325
var import_universal_user_agent = __nccwpck_require__(3843);
73267326

73277327
// pkg/dist-src/version.js
7328-
var VERSION = "8.4.0";
7328+
var VERSION = "8.4.1";
73297329

73307330
// pkg/dist-src/is-plain-object.js
73317331
function isPlainObject(value) {
@@ -7384,7 +7384,7 @@ function fetchWrapper(requestOptions) {
73847384
headers[keyAndValue[0]] = keyAndValue[1];
73857385
}
73867386
if ("deprecation" in headers) {
7387-
const matches = headers.link && headers.link.match(/<([^>]+)>; rel="deprecation"/);
7387+
const matches = headers.link && headers.link.match(/<([^<>]+)>; rel="deprecation"/);
73887388
const deprecationLink = matches && matches.pop();
73897389
log.warn(
73907390
`[@octokit/request] "${requestOptions.method} ${requestOptions.url}" is deprecated. It is scheduled to be removed on ${headers.sunset}${deprecationLink ? `. See ${deprecationLink}` : ""}`

.github/actions/create-container_based-predicate/dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/actions/create-container_based-predicate/package-lock.json

+8-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/actions/detect-workflow-js/dist/index.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -4559,7 +4559,7 @@ __export(dist_src_exports, {
45594559
module.exports = __toCommonJS(dist_src_exports);
45604560

45614561
// pkg/dist-src/version.js
4562-
var VERSION = "9.2.1";
4562+
var VERSION = "9.2.2";
45634563

45644564
// pkg/dist-src/normalize-paginated-list-response.js
45654565
function normalizePaginatedListResponse(response) {
@@ -4607,7 +4607,7 @@ function iterator(octokit, route, parameters) {
46074607
const response = await requestMethod({ method, url, headers });
46084608
const normalizedResponse = normalizePaginatedListResponse(response);
46094609
url = ((normalizedResponse.headers.link || "").match(
4610-
/<([^>]+)>;\s*rel="next"/
4610+
/<([^<>]+)>;\s*rel="next"/
46114611
) || [])[1];
46124612
return { value: normalizedResponse };
46134613
} catch (error) {
@@ -7227,7 +7227,7 @@ var import_endpoint = __nccwpck_require__(4471);
72277227
var import_universal_user_agent = __nccwpck_require__(3843);
72287228

72297229
// pkg/dist-src/version.js
7230-
var VERSION = "8.4.0";
7230+
var VERSION = "8.4.1";
72317231

72327232
// pkg/dist-src/is-plain-object.js
72337233
function isPlainObject(value) {
@@ -7286,7 +7286,7 @@ function fetchWrapper(requestOptions) {
72867286
headers[keyAndValue[0]] = keyAndValue[1];
72877287
}
72887288
if ("deprecation" in headers) {
7289-
const matches = headers.link && headers.link.match(/<([^>]+)>; rel="deprecation"/);
7289+
const matches = headers.link && headers.link.match(/<([^<>]+)>; rel="deprecation"/);
72907290
const deprecationLink = matches && matches.pop();
72917291
log.warn(
72927292
`[@octokit/request] "${requestOptions.method} ${requestOptions.url}" is deprecated. It is scheduled to be removed on ${headers.sunset}${deprecationLink ? `. See ${deprecationLink}` : ""}`

.github/actions/detect-workflow-js/dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/actions/detect-workflow-js/package-lock.json

+18-16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/actions/generate-attestations/package-lock.json

+18-16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/actions/privacy-check/dist/index.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -4358,7 +4358,7 @@ __export(dist_src_exports, {
43584358
module.exports = __toCommonJS(dist_src_exports);
43594359

43604360
// pkg/dist-src/version.js
4361-
var VERSION = "9.2.1";
4361+
var VERSION = "9.2.2";
43624362

43634363
// pkg/dist-src/normalize-paginated-list-response.js
43644364
function normalizePaginatedListResponse(response) {
@@ -4406,7 +4406,7 @@ function iterator(octokit, route, parameters) {
44064406
const response = await requestMethod({ method, url, headers });
44074407
const normalizedResponse = normalizePaginatedListResponse(response);
44084408
url = ((normalizedResponse.headers.link || "").match(
4409-
/<([^>]+)>;\s*rel="next"/
4409+
/<([^<>]+)>;\s*rel="next"/
44104410
) || [])[1];
44114411
return { value: normalizedResponse };
44124412
} catch (error) {
@@ -7026,7 +7026,7 @@ var import_endpoint = __nccwpck_require__(4471);
70267026
var import_universal_user_agent = __nccwpck_require__(3843);
70277027

70287028
// pkg/dist-src/version.js
7029-
var VERSION = "8.4.0";
7029+
var VERSION = "8.4.1";
70307030

70317031
// pkg/dist-src/is-plain-object.js
70327032
function isPlainObject(value) {
@@ -7085,7 +7085,7 @@ function fetchWrapper(requestOptions) {
70857085
headers[keyAndValue[0]] = keyAndValue[1];
70867086
}
70877087
if ("deprecation" in headers) {
7088-
const matches = headers.link && headers.link.match(/<([^>]+)>; rel="deprecation"/);
7088+
const matches = headers.link && headers.link.match(/<([^<>]+)>; rel="deprecation"/);
70897089
const deprecationLink = matches && matches.pop();
70907090
log.warn(
70917091
`[@octokit/request] "${requestOptions.method} ${requestOptions.url}" is deprecated. It is scheduled to be removed on ${headers.sunset}${deprecationLink ? `. See ${deprecationLink}` : ""}`

.github/actions/privacy-check/dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/actions/privacy-check/package-lock.json

+18-16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/actions/sign-attestations/package-lock.json

+8-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/actions/verify-token/dist/index.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -6798,7 +6798,7 @@ __export(dist_src_exports, {
67986798
module.exports = __toCommonJS(dist_src_exports);
67996799

68006800
// pkg/dist-src/version.js
6801-
var VERSION = "9.2.1";
6801+
var VERSION = "9.2.2";
68026802

68036803
// pkg/dist-src/normalize-paginated-list-response.js
68046804
function normalizePaginatedListResponse(response) {
@@ -6846,7 +6846,7 @@ function iterator(octokit, route, parameters) {
68466846
const response = await requestMethod({ method, url, headers });
68476847
const normalizedResponse = normalizePaginatedListResponse(response);
68486848
url = ((normalizedResponse.headers.link || "").match(
6849-
/<([^>]+)>;\s*rel="next"/
6849+
/<([^<>]+)>;\s*rel="next"/
68506850
) || [])[1];
68516851
return { value: normalizedResponse };
68526852
} catch (error) {
@@ -9466,7 +9466,7 @@ var import_endpoint = __nccwpck_require__(54471);
94669466
var import_universal_user_agent = __nccwpck_require__(33843);
94679467

94689468
// pkg/dist-src/version.js
9469-
var VERSION = "8.4.0";
9469+
var VERSION = "8.4.1";
94709470

94719471
// pkg/dist-src/is-plain-object.js
94729472
function isPlainObject(value) {
@@ -9525,7 +9525,7 @@ function fetchWrapper(requestOptions) {
95259525
headers[keyAndValue[0]] = keyAndValue[1];
95269526
}
95279527
if ("deprecation" in headers) {
9528-
const matches = headers.link && headers.link.match(/<([^>]+)>; rel="deprecation"/);
9528+
const matches = headers.link && headers.link.match(/<([^<>]+)>; rel="deprecation"/);
95299529
const deprecationLink = matches && matches.pop();
95309530
log.warn(
95319531
`[@octokit/request] "${requestOptions.method} ${requestOptions.url}" is deprecated. It is scheduled to be removed on ${headers.sunset}${deprecationLink ? `. See ${deprecationLink}` : ""}`

.github/actions/verify-token/dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)