mirror of
https://github.com/github/codeql-action.git
synced 2026-04-26 16:58:47 +00:00
Rebuild
This commit is contained in:
Generated
+26
-7
@@ -26704,7 +26704,7 @@ var require_package = __commonJS({
|
||||
dependencies: {
|
||||
"@actions/artifact": "^5.0.2",
|
||||
"@actions/artifact-legacy": "npm:@actions/artifact@^1.1.2",
|
||||
"@actions/cache": "^5.0.2",
|
||||
"@actions/cache": "^5.0.3",
|
||||
"@actions/core": "^2.0.2",
|
||||
"@actions/exec": "^2.0.0",
|
||||
"@actions/github": "^7.0.0",
|
||||
@@ -26739,7 +26739,7 @@ var require_package = __commonJS({
|
||||
"@types/node-forge": "^1.3.14",
|
||||
"@types/semver": "^7.7.1",
|
||||
"@types/sinon": "^21.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.53.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.53.1",
|
||||
"@typescript-eslint/parser": "^8.48.0",
|
||||
ava: "^6.4.1",
|
||||
esbuild: "^0.27.2",
|
||||
@@ -26748,7 +26748,7 @@ var require_package = __commonJS({
|
||||
"eslint-plugin-filenames": "^1.3.2",
|
||||
"eslint-plugin-github": "^5.1.8",
|
||||
"eslint-plugin-import": "2.29.1",
|
||||
"eslint-plugin-jsdoc": "^62.0.0",
|
||||
"eslint-plugin-jsdoc": "^62.2.0",
|
||||
"eslint-plugin-no-async-foreach": "^0.1.1",
|
||||
glob: "^11.1.0",
|
||||
nock: "^14.0.10",
|
||||
@@ -75124,7 +75124,7 @@ var require_errors2 = __commonJS({
|
||||
"node_modules/@actions/cache/lib/internal/shared/errors.js"(exports2) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports2, "__esModule", { value: true });
|
||||
exports2.UsageError = exports2.NetworkError = exports2.GHESNotSupportedError = exports2.CacheNotFoundError = exports2.InvalidResponseError = exports2.FilesNotFoundError = void 0;
|
||||
exports2.RateLimitError = exports2.UsageError = exports2.NetworkError = exports2.GHESNotSupportedError = exports2.CacheNotFoundError = exports2.InvalidResponseError = exports2.FilesNotFoundError = void 0;
|
||||
var FilesNotFoundError = class extends Error {
|
||||
constructor(files = []) {
|
||||
let message = "No files were found to upload";
|
||||
@@ -75193,6 +75193,13 @@ More info on storage limits: https://docs.github.com/en/billing/managing-billing
|
||||
return false;
|
||||
return msg.includes("insufficient usage");
|
||||
};
|
||||
var RateLimitError = class extends Error {
|
||||
constructor(message) {
|
||||
super(message);
|
||||
this.name = "RateLimitError";
|
||||
}
|
||||
};
|
||||
exports2.RateLimitError = RateLimitError;
|
||||
}
|
||||
});
|
||||
|
||||
@@ -76227,7 +76234,7 @@ var require_package2 = __commonJS({
|
||||
"node_modules/@actions/cache/package.json"(exports2, module2) {
|
||||
module2.exports = {
|
||||
name: "@actions/cache",
|
||||
version: "5.0.2",
|
||||
version: "5.0.3",
|
||||
preview: true,
|
||||
description: "Actions cache lib",
|
||||
keywords: [
|
||||
@@ -81648,6 +81655,16 @@ var require_cacheTwirpClient = __commonJS({
|
||||
}
|
||||
errorMessage = `${errorMessage}: ${body.msg}`;
|
||||
}
|
||||
if (statusCode === http_client_1.HttpCodes.TooManyRequests) {
|
||||
const retryAfterHeader = response.message.headers["retry-after"];
|
||||
if (retryAfterHeader) {
|
||||
const parsedSeconds = parseInt(retryAfterHeader, 10);
|
||||
if (!isNaN(parsedSeconds) && parsedSeconds > 0) {
|
||||
(0, core_1.warning)(`You've hit a rate limit, your rate limit will reset in ${parsedSeconds} seconds`);
|
||||
}
|
||||
}
|
||||
throw new errors_1.RateLimitError(`Rate limited: ${errorMessage}`);
|
||||
}
|
||||
} catch (error3) {
|
||||
if (error3 instanceof SyntaxError) {
|
||||
(0, core_1.debug)(`Raw Body: ${rawBody}`);
|
||||
@@ -81655,6 +81672,9 @@ var require_cacheTwirpClient = __commonJS({
|
||||
if (error3 instanceof errors_1.UsageError) {
|
||||
throw error3;
|
||||
}
|
||||
if (error3 instanceof errors_1.RateLimitError) {
|
||||
throw error3;
|
||||
}
|
||||
if (errors_1.NetworkError.isNetworkErrorCode(error3 === null || error3 === void 0 ? void 0 : error3.code)) {
|
||||
throw new errors_1.NetworkError(error3 === null || error3 === void 0 ? void 0 : error3.code);
|
||||
}
|
||||
@@ -81687,8 +81707,7 @@ var require_cacheTwirpClient = __commonJS({
|
||||
http_client_1.HttpCodes.BadGateway,
|
||||
http_client_1.HttpCodes.GatewayTimeout,
|
||||
http_client_1.HttpCodes.InternalServerError,
|
||||
http_client_1.HttpCodes.ServiceUnavailable,
|
||||
http_client_1.HttpCodes.TooManyRequests
|
||||
http_client_1.HttpCodes.ServiceUnavailable
|
||||
];
|
||||
return retryableStatusCodes.includes(statusCode);
|
||||
}
|
||||
|
||||
Generated
+26
-7
@@ -26704,7 +26704,7 @@ var require_package = __commonJS({
|
||||
dependencies: {
|
||||
"@actions/artifact": "^5.0.2",
|
||||
"@actions/artifact-legacy": "npm:@actions/artifact@^1.1.2",
|
||||
"@actions/cache": "^5.0.2",
|
||||
"@actions/cache": "^5.0.3",
|
||||
"@actions/core": "^2.0.2",
|
||||
"@actions/exec": "^2.0.0",
|
||||
"@actions/github": "^7.0.0",
|
||||
@@ -26739,7 +26739,7 @@ var require_package = __commonJS({
|
||||
"@types/node-forge": "^1.3.14",
|
||||
"@types/semver": "^7.7.1",
|
||||
"@types/sinon": "^21.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.53.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.53.1",
|
||||
"@typescript-eslint/parser": "^8.48.0",
|
||||
ava: "^6.4.1",
|
||||
esbuild: "^0.27.2",
|
||||
@@ -26748,7 +26748,7 @@ var require_package = __commonJS({
|
||||
"eslint-plugin-filenames": "^1.3.2",
|
||||
"eslint-plugin-github": "^5.1.8",
|
||||
"eslint-plugin-import": "2.29.1",
|
||||
"eslint-plugin-jsdoc": "^62.0.0",
|
||||
"eslint-plugin-jsdoc": "^62.2.0",
|
||||
"eslint-plugin-no-async-foreach": "^0.1.1",
|
||||
glob: "^11.1.0",
|
||||
nock: "^14.0.10",
|
||||
@@ -75124,7 +75124,7 @@ var require_errors2 = __commonJS({
|
||||
"node_modules/@actions/cache/lib/internal/shared/errors.js"(exports2) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports2, "__esModule", { value: true });
|
||||
exports2.UsageError = exports2.NetworkError = exports2.GHESNotSupportedError = exports2.CacheNotFoundError = exports2.InvalidResponseError = exports2.FilesNotFoundError = void 0;
|
||||
exports2.RateLimitError = exports2.UsageError = exports2.NetworkError = exports2.GHESNotSupportedError = exports2.CacheNotFoundError = exports2.InvalidResponseError = exports2.FilesNotFoundError = void 0;
|
||||
var FilesNotFoundError = class extends Error {
|
||||
constructor(files = []) {
|
||||
let message = "No files were found to upload";
|
||||
@@ -75193,6 +75193,13 @@ More info on storage limits: https://docs.github.com/en/billing/managing-billing
|
||||
return false;
|
||||
return msg.includes("insufficient usage");
|
||||
};
|
||||
var RateLimitError = class extends Error {
|
||||
constructor(message) {
|
||||
super(message);
|
||||
this.name = "RateLimitError";
|
||||
}
|
||||
};
|
||||
exports2.RateLimitError = RateLimitError;
|
||||
}
|
||||
});
|
||||
|
||||
@@ -76227,7 +76234,7 @@ var require_package2 = __commonJS({
|
||||
"node_modules/@actions/cache/package.json"(exports2, module2) {
|
||||
module2.exports = {
|
||||
name: "@actions/cache",
|
||||
version: "5.0.2",
|
||||
version: "5.0.3",
|
||||
preview: true,
|
||||
description: "Actions cache lib",
|
||||
keywords: [
|
||||
@@ -81648,6 +81655,16 @@ var require_cacheTwirpClient = __commonJS({
|
||||
}
|
||||
errorMessage = `${errorMessage}: ${body.msg}`;
|
||||
}
|
||||
if (statusCode === http_client_1.HttpCodes.TooManyRequests) {
|
||||
const retryAfterHeader = response.message.headers["retry-after"];
|
||||
if (retryAfterHeader) {
|
||||
const parsedSeconds = parseInt(retryAfterHeader, 10);
|
||||
if (!isNaN(parsedSeconds) && parsedSeconds > 0) {
|
||||
(0, core_1.warning)(`You've hit a rate limit, your rate limit will reset in ${parsedSeconds} seconds`);
|
||||
}
|
||||
}
|
||||
throw new errors_1.RateLimitError(`Rate limited: ${errorMessage}`);
|
||||
}
|
||||
} catch (error3) {
|
||||
if (error3 instanceof SyntaxError) {
|
||||
(0, core_1.debug)(`Raw Body: ${rawBody}`);
|
||||
@@ -81655,6 +81672,9 @@ var require_cacheTwirpClient = __commonJS({
|
||||
if (error3 instanceof errors_1.UsageError) {
|
||||
throw error3;
|
||||
}
|
||||
if (error3 instanceof errors_1.RateLimitError) {
|
||||
throw error3;
|
||||
}
|
||||
if (errors_1.NetworkError.isNetworkErrorCode(error3 === null || error3 === void 0 ? void 0 : error3.code)) {
|
||||
throw new errors_1.NetworkError(error3 === null || error3 === void 0 ? void 0 : error3.code);
|
||||
}
|
||||
@@ -81687,8 +81707,7 @@ var require_cacheTwirpClient = __commonJS({
|
||||
http_client_1.HttpCodes.BadGateway,
|
||||
http_client_1.HttpCodes.GatewayTimeout,
|
||||
http_client_1.HttpCodes.InternalServerError,
|
||||
http_client_1.HttpCodes.ServiceUnavailable,
|
||||
http_client_1.HttpCodes.TooManyRequests
|
||||
http_client_1.HttpCodes.ServiceUnavailable
|
||||
];
|
||||
return retryableStatusCodes.includes(statusCode);
|
||||
}
|
||||
|
||||
Generated
+26
-7
@@ -26704,7 +26704,7 @@ var require_package = __commonJS({
|
||||
dependencies: {
|
||||
"@actions/artifact": "^5.0.2",
|
||||
"@actions/artifact-legacy": "npm:@actions/artifact@^1.1.2",
|
||||
"@actions/cache": "^5.0.2",
|
||||
"@actions/cache": "^5.0.3",
|
||||
"@actions/core": "^2.0.2",
|
||||
"@actions/exec": "^2.0.0",
|
||||
"@actions/github": "^7.0.0",
|
||||
@@ -26739,7 +26739,7 @@ var require_package = __commonJS({
|
||||
"@types/node-forge": "^1.3.14",
|
||||
"@types/semver": "^7.7.1",
|
||||
"@types/sinon": "^21.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.53.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.53.1",
|
||||
"@typescript-eslint/parser": "^8.48.0",
|
||||
ava: "^6.4.1",
|
||||
esbuild: "^0.27.2",
|
||||
@@ -26748,7 +26748,7 @@ var require_package = __commonJS({
|
||||
"eslint-plugin-filenames": "^1.3.2",
|
||||
"eslint-plugin-github": "^5.1.8",
|
||||
"eslint-plugin-import": "2.29.1",
|
||||
"eslint-plugin-jsdoc": "^62.0.0",
|
||||
"eslint-plugin-jsdoc": "^62.2.0",
|
||||
"eslint-plugin-no-async-foreach": "^0.1.1",
|
||||
glob: "^11.1.0",
|
||||
nock: "^14.0.10",
|
||||
@@ -75124,7 +75124,7 @@ var require_errors2 = __commonJS({
|
||||
"node_modules/@actions/cache/lib/internal/shared/errors.js"(exports2) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports2, "__esModule", { value: true });
|
||||
exports2.UsageError = exports2.NetworkError = exports2.GHESNotSupportedError = exports2.CacheNotFoundError = exports2.InvalidResponseError = exports2.FilesNotFoundError = void 0;
|
||||
exports2.RateLimitError = exports2.UsageError = exports2.NetworkError = exports2.GHESNotSupportedError = exports2.CacheNotFoundError = exports2.InvalidResponseError = exports2.FilesNotFoundError = void 0;
|
||||
var FilesNotFoundError = class extends Error {
|
||||
constructor(files = []) {
|
||||
let message = "No files were found to upload";
|
||||
@@ -75193,6 +75193,13 @@ More info on storage limits: https://docs.github.com/en/billing/managing-billing
|
||||
return false;
|
||||
return msg.includes("insufficient usage");
|
||||
};
|
||||
var RateLimitError = class extends Error {
|
||||
constructor(message) {
|
||||
super(message);
|
||||
this.name = "RateLimitError";
|
||||
}
|
||||
};
|
||||
exports2.RateLimitError = RateLimitError;
|
||||
}
|
||||
});
|
||||
|
||||
@@ -76227,7 +76234,7 @@ var require_package2 = __commonJS({
|
||||
"node_modules/@actions/cache/package.json"(exports2, module2) {
|
||||
module2.exports = {
|
||||
name: "@actions/cache",
|
||||
version: "5.0.2",
|
||||
version: "5.0.3",
|
||||
preview: true,
|
||||
description: "Actions cache lib",
|
||||
keywords: [
|
||||
@@ -81648,6 +81655,16 @@ var require_cacheTwirpClient = __commonJS({
|
||||
}
|
||||
errorMessage = `${errorMessage}: ${body.msg}`;
|
||||
}
|
||||
if (statusCode === http_client_1.HttpCodes.TooManyRequests) {
|
||||
const retryAfterHeader = response.message.headers["retry-after"];
|
||||
if (retryAfterHeader) {
|
||||
const parsedSeconds = parseInt(retryAfterHeader, 10);
|
||||
if (!isNaN(parsedSeconds) && parsedSeconds > 0) {
|
||||
(0, core_1.warning)(`You've hit a rate limit, your rate limit will reset in ${parsedSeconds} seconds`);
|
||||
}
|
||||
}
|
||||
throw new errors_1.RateLimitError(`Rate limited: ${errorMessage}`);
|
||||
}
|
||||
} catch (error3) {
|
||||
if (error3 instanceof SyntaxError) {
|
||||
(0, core_1.debug)(`Raw Body: ${rawBody}`);
|
||||
@@ -81655,6 +81672,9 @@ var require_cacheTwirpClient = __commonJS({
|
||||
if (error3 instanceof errors_1.UsageError) {
|
||||
throw error3;
|
||||
}
|
||||
if (error3 instanceof errors_1.RateLimitError) {
|
||||
throw error3;
|
||||
}
|
||||
if (errors_1.NetworkError.isNetworkErrorCode(error3 === null || error3 === void 0 ? void 0 : error3.code)) {
|
||||
throw new errors_1.NetworkError(error3 === null || error3 === void 0 ? void 0 : error3.code);
|
||||
}
|
||||
@@ -81687,8 +81707,7 @@ var require_cacheTwirpClient = __commonJS({
|
||||
http_client_1.HttpCodes.BadGateway,
|
||||
http_client_1.HttpCodes.GatewayTimeout,
|
||||
http_client_1.HttpCodes.InternalServerError,
|
||||
http_client_1.HttpCodes.ServiceUnavailable,
|
||||
http_client_1.HttpCodes.TooManyRequests
|
||||
http_client_1.HttpCodes.ServiceUnavailable
|
||||
];
|
||||
return retryableStatusCodes.includes(statusCode);
|
||||
}
|
||||
|
||||
Generated
+26
-7
@@ -26704,7 +26704,7 @@ var require_package = __commonJS({
|
||||
dependencies: {
|
||||
"@actions/artifact": "^5.0.2",
|
||||
"@actions/artifact-legacy": "npm:@actions/artifact@^1.1.2",
|
||||
"@actions/cache": "^5.0.2",
|
||||
"@actions/cache": "^5.0.3",
|
||||
"@actions/core": "^2.0.2",
|
||||
"@actions/exec": "^2.0.0",
|
||||
"@actions/github": "^7.0.0",
|
||||
@@ -26739,7 +26739,7 @@ var require_package = __commonJS({
|
||||
"@types/node-forge": "^1.3.14",
|
||||
"@types/semver": "^7.7.1",
|
||||
"@types/sinon": "^21.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.53.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.53.1",
|
||||
"@typescript-eslint/parser": "^8.48.0",
|
||||
ava: "^6.4.1",
|
||||
esbuild: "^0.27.2",
|
||||
@@ -26748,7 +26748,7 @@ var require_package = __commonJS({
|
||||
"eslint-plugin-filenames": "^1.3.2",
|
||||
"eslint-plugin-github": "^5.1.8",
|
||||
"eslint-plugin-import": "2.29.1",
|
||||
"eslint-plugin-jsdoc": "^62.0.0",
|
||||
"eslint-plugin-jsdoc": "^62.2.0",
|
||||
"eslint-plugin-no-async-foreach": "^0.1.1",
|
||||
glob: "^11.1.0",
|
||||
nock: "^14.0.10",
|
||||
@@ -75124,7 +75124,7 @@ var require_errors2 = __commonJS({
|
||||
"node_modules/@actions/cache/lib/internal/shared/errors.js"(exports2) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports2, "__esModule", { value: true });
|
||||
exports2.UsageError = exports2.NetworkError = exports2.GHESNotSupportedError = exports2.CacheNotFoundError = exports2.InvalidResponseError = exports2.FilesNotFoundError = void 0;
|
||||
exports2.RateLimitError = exports2.UsageError = exports2.NetworkError = exports2.GHESNotSupportedError = exports2.CacheNotFoundError = exports2.InvalidResponseError = exports2.FilesNotFoundError = void 0;
|
||||
var FilesNotFoundError = class extends Error {
|
||||
constructor(files = []) {
|
||||
let message = "No files were found to upload";
|
||||
@@ -75193,6 +75193,13 @@ More info on storage limits: https://docs.github.com/en/billing/managing-billing
|
||||
return false;
|
||||
return msg.includes("insufficient usage");
|
||||
};
|
||||
var RateLimitError = class extends Error {
|
||||
constructor(message) {
|
||||
super(message);
|
||||
this.name = "RateLimitError";
|
||||
}
|
||||
};
|
||||
exports2.RateLimitError = RateLimitError;
|
||||
}
|
||||
});
|
||||
|
||||
@@ -76227,7 +76234,7 @@ var require_package2 = __commonJS({
|
||||
"node_modules/@actions/cache/package.json"(exports2, module2) {
|
||||
module2.exports = {
|
||||
name: "@actions/cache",
|
||||
version: "5.0.2",
|
||||
version: "5.0.3",
|
||||
preview: true,
|
||||
description: "Actions cache lib",
|
||||
keywords: [
|
||||
@@ -81648,6 +81655,16 @@ var require_cacheTwirpClient = __commonJS({
|
||||
}
|
||||
errorMessage = `${errorMessage}: ${body.msg}`;
|
||||
}
|
||||
if (statusCode === http_client_1.HttpCodes.TooManyRequests) {
|
||||
const retryAfterHeader = response.message.headers["retry-after"];
|
||||
if (retryAfterHeader) {
|
||||
const parsedSeconds = parseInt(retryAfterHeader, 10);
|
||||
if (!isNaN(parsedSeconds) && parsedSeconds > 0) {
|
||||
(0, core_1.warning)(`You've hit a rate limit, your rate limit will reset in ${parsedSeconds} seconds`);
|
||||
}
|
||||
}
|
||||
throw new errors_1.RateLimitError(`Rate limited: ${errorMessage}`);
|
||||
}
|
||||
} catch (error3) {
|
||||
if (error3 instanceof SyntaxError) {
|
||||
(0, core_1.debug)(`Raw Body: ${rawBody}`);
|
||||
@@ -81655,6 +81672,9 @@ var require_cacheTwirpClient = __commonJS({
|
||||
if (error3 instanceof errors_1.UsageError) {
|
||||
throw error3;
|
||||
}
|
||||
if (error3 instanceof errors_1.RateLimitError) {
|
||||
throw error3;
|
||||
}
|
||||
if (errors_1.NetworkError.isNetworkErrorCode(error3 === null || error3 === void 0 ? void 0 : error3.code)) {
|
||||
throw new errors_1.NetworkError(error3 === null || error3 === void 0 ? void 0 : error3.code);
|
||||
}
|
||||
@@ -81687,8 +81707,7 @@ var require_cacheTwirpClient = __commonJS({
|
||||
http_client_1.HttpCodes.BadGateway,
|
||||
http_client_1.HttpCodes.GatewayTimeout,
|
||||
http_client_1.HttpCodes.InternalServerError,
|
||||
http_client_1.HttpCodes.ServiceUnavailable,
|
||||
http_client_1.HttpCodes.TooManyRequests
|
||||
http_client_1.HttpCodes.ServiceUnavailable
|
||||
];
|
||||
return retryableStatusCodes.includes(statusCode);
|
||||
}
|
||||
|
||||
Generated
+26
-7
@@ -26704,7 +26704,7 @@ var require_package = __commonJS({
|
||||
dependencies: {
|
||||
"@actions/artifact": "^5.0.2",
|
||||
"@actions/artifact-legacy": "npm:@actions/artifact@^1.1.2",
|
||||
"@actions/cache": "^5.0.2",
|
||||
"@actions/cache": "^5.0.3",
|
||||
"@actions/core": "^2.0.2",
|
||||
"@actions/exec": "^2.0.0",
|
||||
"@actions/github": "^7.0.0",
|
||||
@@ -26739,7 +26739,7 @@ var require_package = __commonJS({
|
||||
"@types/node-forge": "^1.3.14",
|
||||
"@types/semver": "^7.7.1",
|
||||
"@types/sinon": "^21.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.53.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.53.1",
|
||||
"@typescript-eslint/parser": "^8.48.0",
|
||||
ava: "^6.4.1",
|
||||
esbuild: "^0.27.2",
|
||||
@@ -26748,7 +26748,7 @@ var require_package = __commonJS({
|
||||
"eslint-plugin-filenames": "^1.3.2",
|
||||
"eslint-plugin-github": "^5.1.8",
|
||||
"eslint-plugin-import": "2.29.1",
|
||||
"eslint-plugin-jsdoc": "^62.0.0",
|
||||
"eslint-plugin-jsdoc": "^62.2.0",
|
||||
"eslint-plugin-no-async-foreach": "^0.1.1",
|
||||
glob: "^11.1.0",
|
||||
nock: "^14.0.10",
|
||||
@@ -75275,7 +75275,7 @@ var require_errors2 = __commonJS({
|
||||
"node_modules/@actions/cache/lib/internal/shared/errors.js"(exports2) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports2, "__esModule", { value: true });
|
||||
exports2.UsageError = exports2.NetworkError = exports2.GHESNotSupportedError = exports2.CacheNotFoundError = exports2.InvalidResponseError = exports2.FilesNotFoundError = void 0;
|
||||
exports2.RateLimitError = exports2.UsageError = exports2.NetworkError = exports2.GHESNotSupportedError = exports2.CacheNotFoundError = exports2.InvalidResponseError = exports2.FilesNotFoundError = void 0;
|
||||
var FilesNotFoundError = class extends Error {
|
||||
constructor(files = []) {
|
||||
let message = "No files were found to upload";
|
||||
@@ -75344,6 +75344,13 @@ More info on storage limits: https://docs.github.com/en/billing/managing-billing
|
||||
return false;
|
||||
return msg.includes("insufficient usage");
|
||||
};
|
||||
var RateLimitError = class extends Error {
|
||||
constructor(message) {
|
||||
super(message);
|
||||
this.name = "RateLimitError";
|
||||
}
|
||||
};
|
||||
exports2.RateLimitError = RateLimitError;
|
||||
}
|
||||
});
|
||||
|
||||
@@ -76378,7 +76385,7 @@ var require_package2 = __commonJS({
|
||||
"node_modules/@actions/cache/package.json"(exports2, module2) {
|
||||
module2.exports = {
|
||||
name: "@actions/cache",
|
||||
version: "5.0.2",
|
||||
version: "5.0.3",
|
||||
preview: true,
|
||||
description: "Actions cache lib",
|
||||
keywords: [
|
||||
@@ -81799,6 +81806,16 @@ var require_cacheTwirpClient = __commonJS({
|
||||
}
|
||||
errorMessage = `${errorMessage}: ${body.msg}`;
|
||||
}
|
||||
if (statusCode === http_client_1.HttpCodes.TooManyRequests) {
|
||||
const retryAfterHeader = response.message.headers["retry-after"];
|
||||
if (retryAfterHeader) {
|
||||
const parsedSeconds = parseInt(retryAfterHeader, 10);
|
||||
if (!isNaN(parsedSeconds) && parsedSeconds > 0) {
|
||||
(0, core_1.warning)(`You've hit a rate limit, your rate limit will reset in ${parsedSeconds} seconds`);
|
||||
}
|
||||
}
|
||||
throw new errors_1.RateLimitError(`Rate limited: ${errorMessage}`);
|
||||
}
|
||||
} catch (error3) {
|
||||
if (error3 instanceof SyntaxError) {
|
||||
(0, core_1.debug)(`Raw Body: ${rawBody}`);
|
||||
@@ -81806,6 +81823,9 @@ var require_cacheTwirpClient = __commonJS({
|
||||
if (error3 instanceof errors_1.UsageError) {
|
||||
throw error3;
|
||||
}
|
||||
if (error3 instanceof errors_1.RateLimitError) {
|
||||
throw error3;
|
||||
}
|
||||
if (errors_1.NetworkError.isNetworkErrorCode(error3 === null || error3 === void 0 ? void 0 : error3.code)) {
|
||||
throw new errors_1.NetworkError(error3 === null || error3 === void 0 ? void 0 : error3.code);
|
||||
}
|
||||
@@ -81838,8 +81858,7 @@ var require_cacheTwirpClient = __commonJS({
|
||||
http_client_1.HttpCodes.BadGateway,
|
||||
http_client_1.HttpCodes.GatewayTimeout,
|
||||
http_client_1.HttpCodes.InternalServerError,
|
||||
http_client_1.HttpCodes.ServiceUnavailable,
|
||||
http_client_1.HttpCodes.TooManyRequests
|
||||
http_client_1.HttpCodes.ServiceUnavailable
|
||||
];
|
||||
return retryableStatusCodes.includes(statusCode);
|
||||
}
|
||||
|
||||
Generated
+26
-7
@@ -26704,7 +26704,7 @@ var require_package = __commonJS({
|
||||
dependencies: {
|
||||
"@actions/artifact": "^5.0.2",
|
||||
"@actions/artifact-legacy": "npm:@actions/artifact@^1.1.2",
|
||||
"@actions/cache": "^5.0.2",
|
||||
"@actions/cache": "^5.0.3",
|
||||
"@actions/core": "^2.0.2",
|
||||
"@actions/exec": "^2.0.0",
|
||||
"@actions/github": "^7.0.0",
|
||||
@@ -26739,7 +26739,7 @@ var require_package = __commonJS({
|
||||
"@types/node-forge": "^1.3.14",
|
||||
"@types/semver": "^7.7.1",
|
||||
"@types/sinon": "^21.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.53.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.53.1",
|
||||
"@typescript-eslint/parser": "^8.48.0",
|
||||
ava: "^6.4.1",
|
||||
esbuild: "^0.27.2",
|
||||
@@ -26748,7 +26748,7 @@ var require_package = __commonJS({
|
||||
"eslint-plugin-filenames": "^1.3.2",
|
||||
"eslint-plugin-github": "^5.1.8",
|
||||
"eslint-plugin-import": "2.29.1",
|
||||
"eslint-plugin-jsdoc": "^62.0.0",
|
||||
"eslint-plugin-jsdoc": "^62.2.0",
|
||||
"eslint-plugin-no-async-foreach": "^0.1.1",
|
||||
glob: "^11.1.0",
|
||||
nock: "^14.0.10",
|
||||
@@ -75124,7 +75124,7 @@ var require_errors2 = __commonJS({
|
||||
"node_modules/@actions/cache/lib/internal/shared/errors.js"(exports2) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports2, "__esModule", { value: true });
|
||||
exports2.UsageError = exports2.NetworkError = exports2.GHESNotSupportedError = exports2.CacheNotFoundError = exports2.InvalidResponseError = exports2.FilesNotFoundError = void 0;
|
||||
exports2.RateLimitError = exports2.UsageError = exports2.NetworkError = exports2.GHESNotSupportedError = exports2.CacheNotFoundError = exports2.InvalidResponseError = exports2.FilesNotFoundError = void 0;
|
||||
var FilesNotFoundError = class extends Error {
|
||||
constructor(files = []) {
|
||||
let message = "No files were found to upload";
|
||||
@@ -75193,6 +75193,13 @@ More info on storage limits: https://docs.github.com/en/billing/managing-billing
|
||||
return false;
|
||||
return msg.includes("insufficient usage");
|
||||
};
|
||||
var RateLimitError = class extends Error {
|
||||
constructor(message) {
|
||||
super(message);
|
||||
this.name = "RateLimitError";
|
||||
}
|
||||
};
|
||||
exports2.RateLimitError = RateLimitError;
|
||||
}
|
||||
});
|
||||
|
||||
@@ -76227,7 +76234,7 @@ var require_package2 = __commonJS({
|
||||
"node_modules/@actions/cache/package.json"(exports2, module2) {
|
||||
module2.exports = {
|
||||
name: "@actions/cache",
|
||||
version: "5.0.2",
|
||||
version: "5.0.3",
|
||||
preview: true,
|
||||
description: "Actions cache lib",
|
||||
keywords: [
|
||||
@@ -81648,6 +81655,16 @@ var require_cacheTwirpClient = __commonJS({
|
||||
}
|
||||
errorMessage = `${errorMessage}: ${body.msg}`;
|
||||
}
|
||||
if (statusCode === http_client_1.HttpCodes.TooManyRequests) {
|
||||
const retryAfterHeader = response.message.headers["retry-after"];
|
||||
if (retryAfterHeader) {
|
||||
const parsedSeconds = parseInt(retryAfterHeader, 10);
|
||||
if (!isNaN(parsedSeconds) && parsedSeconds > 0) {
|
||||
(0, core_1.warning)(`You've hit a rate limit, your rate limit will reset in ${parsedSeconds} seconds`);
|
||||
}
|
||||
}
|
||||
throw new errors_1.RateLimitError(`Rate limited: ${errorMessage}`);
|
||||
}
|
||||
} catch (error3) {
|
||||
if (error3 instanceof SyntaxError) {
|
||||
(0, core_1.debug)(`Raw Body: ${rawBody}`);
|
||||
@@ -81655,6 +81672,9 @@ var require_cacheTwirpClient = __commonJS({
|
||||
if (error3 instanceof errors_1.UsageError) {
|
||||
throw error3;
|
||||
}
|
||||
if (error3 instanceof errors_1.RateLimitError) {
|
||||
throw error3;
|
||||
}
|
||||
if (errors_1.NetworkError.isNetworkErrorCode(error3 === null || error3 === void 0 ? void 0 : error3.code)) {
|
||||
throw new errors_1.NetworkError(error3 === null || error3 === void 0 ? void 0 : error3.code);
|
||||
}
|
||||
@@ -81687,8 +81707,7 @@ var require_cacheTwirpClient = __commonJS({
|
||||
http_client_1.HttpCodes.BadGateway,
|
||||
http_client_1.HttpCodes.GatewayTimeout,
|
||||
http_client_1.HttpCodes.InternalServerError,
|
||||
http_client_1.HttpCodes.ServiceUnavailable,
|
||||
http_client_1.HttpCodes.TooManyRequests
|
||||
http_client_1.HttpCodes.ServiceUnavailable
|
||||
];
|
||||
return retryableStatusCodes.includes(statusCode);
|
||||
}
|
||||
|
||||
Generated
+26
-7
@@ -26704,7 +26704,7 @@ var require_package = __commonJS({
|
||||
dependencies: {
|
||||
"@actions/artifact": "^5.0.2",
|
||||
"@actions/artifact-legacy": "npm:@actions/artifact@^1.1.2",
|
||||
"@actions/cache": "^5.0.2",
|
||||
"@actions/cache": "^5.0.3",
|
||||
"@actions/core": "^2.0.2",
|
||||
"@actions/exec": "^2.0.0",
|
||||
"@actions/github": "^7.0.0",
|
||||
@@ -26739,7 +26739,7 @@ var require_package = __commonJS({
|
||||
"@types/node-forge": "^1.3.14",
|
||||
"@types/semver": "^7.7.1",
|
||||
"@types/sinon": "^21.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.53.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.53.1",
|
||||
"@typescript-eslint/parser": "^8.48.0",
|
||||
ava: "^6.4.1",
|
||||
esbuild: "^0.27.2",
|
||||
@@ -26748,7 +26748,7 @@ var require_package = __commonJS({
|
||||
"eslint-plugin-filenames": "^1.3.2",
|
||||
"eslint-plugin-github": "^5.1.8",
|
||||
"eslint-plugin-import": "2.29.1",
|
||||
"eslint-plugin-jsdoc": "^62.0.0",
|
||||
"eslint-plugin-jsdoc": "^62.2.0",
|
||||
"eslint-plugin-no-async-foreach": "^0.1.1",
|
||||
glob: "^11.1.0",
|
||||
nock: "^14.0.10",
|
||||
@@ -73827,7 +73827,7 @@ var require_errors2 = __commonJS({
|
||||
"node_modules/@actions/cache/lib/internal/shared/errors.js"(exports2) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports2, "__esModule", { value: true });
|
||||
exports2.UsageError = exports2.NetworkError = exports2.GHESNotSupportedError = exports2.CacheNotFoundError = exports2.InvalidResponseError = exports2.FilesNotFoundError = void 0;
|
||||
exports2.RateLimitError = exports2.UsageError = exports2.NetworkError = exports2.GHESNotSupportedError = exports2.CacheNotFoundError = exports2.InvalidResponseError = exports2.FilesNotFoundError = void 0;
|
||||
var FilesNotFoundError = class extends Error {
|
||||
constructor(files = []) {
|
||||
let message = "No files were found to upload";
|
||||
@@ -73896,6 +73896,13 @@ More info on storage limits: https://docs.github.com/en/billing/managing-billing
|
||||
return false;
|
||||
return msg.includes("insufficient usage");
|
||||
};
|
||||
var RateLimitError = class extends Error {
|
||||
constructor(message) {
|
||||
super(message);
|
||||
this.name = "RateLimitError";
|
||||
}
|
||||
};
|
||||
exports2.RateLimitError = RateLimitError;
|
||||
}
|
||||
});
|
||||
|
||||
@@ -74930,7 +74937,7 @@ var require_package2 = __commonJS({
|
||||
"node_modules/@actions/cache/package.json"(exports2, module2) {
|
||||
module2.exports = {
|
||||
name: "@actions/cache",
|
||||
version: "5.0.2",
|
||||
version: "5.0.3",
|
||||
preview: true,
|
||||
description: "Actions cache lib",
|
||||
keywords: [
|
||||
@@ -80351,6 +80358,16 @@ var require_cacheTwirpClient = __commonJS({
|
||||
}
|
||||
errorMessage = `${errorMessage}: ${body.msg}`;
|
||||
}
|
||||
if (statusCode === http_client_1.HttpCodes.TooManyRequests) {
|
||||
const retryAfterHeader = response.message.headers["retry-after"];
|
||||
if (retryAfterHeader) {
|
||||
const parsedSeconds = parseInt(retryAfterHeader, 10);
|
||||
if (!isNaN(parsedSeconds) && parsedSeconds > 0) {
|
||||
(0, core_1.warning)(`You've hit a rate limit, your rate limit will reset in ${parsedSeconds} seconds`);
|
||||
}
|
||||
}
|
||||
throw new errors_1.RateLimitError(`Rate limited: ${errorMessage}`);
|
||||
}
|
||||
} catch (error3) {
|
||||
if (error3 instanceof SyntaxError) {
|
||||
(0, core_1.debug)(`Raw Body: ${rawBody}`);
|
||||
@@ -80358,6 +80375,9 @@ var require_cacheTwirpClient = __commonJS({
|
||||
if (error3 instanceof errors_1.UsageError) {
|
||||
throw error3;
|
||||
}
|
||||
if (error3 instanceof errors_1.RateLimitError) {
|
||||
throw error3;
|
||||
}
|
||||
if (errors_1.NetworkError.isNetworkErrorCode(error3 === null || error3 === void 0 ? void 0 : error3.code)) {
|
||||
throw new errors_1.NetworkError(error3 === null || error3 === void 0 ? void 0 : error3.code);
|
||||
}
|
||||
@@ -80390,8 +80410,7 @@ var require_cacheTwirpClient = __commonJS({
|
||||
http_client_1.HttpCodes.BadGateway,
|
||||
http_client_1.HttpCodes.GatewayTimeout,
|
||||
http_client_1.HttpCodes.InternalServerError,
|
||||
http_client_1.HttpCodes.ServiceUnavailable,
|
||||
http_client_1.HttpCodes.TooManyRequests
|
||||
http_client_1.HttpCodes.ServiceUnavailable
|
||||
];
|
||||
return retryableStatusCodes.includes(statusCode);
|
||||
}
|
||||
|
||||
Generated
+26
-7
@@ -26704,7 +26704,7 @@ var require_package = __commonJS({
|
||||
dependencies: {
|
||||
"@actions/artifact": "^5.0.2",
|
||||
"@actions/artifact-legacy": "npm:@actions/artifact@^1.1.2",
|
||||
"@actions/cache": "^5.0.2",
|
||||
"@actions/cache": "^5.0.3",
|
||||
"@actions/core": "^2.0.2",
|
||||
"@actions/exec": "^2.0.0",
|
||||
"@actions/github": "^7.0.0",
|
||||
@@ -26739,7 +26739,7 @@ var require_package = __commonJS({
|
||||
"@types/node-forge": "^1.3.14",
|
||||
"@types/semver": "^7.7.1",
|
||||
"@types/sinon": "^21.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.53.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.53.1",
|
||||
"@typescript-eslint/parser": "^8.48.0",
|
||||
ava: "^6.4.1",
|
||||
esbuild: "^0.27.2",
|
||||
@@ -26748,7 +26748,7 @@ var require_package = __commonJS({
|
||||
"eslint-plugin-filenames": "^1.3.2",
|
||||
"eslint-plugin-github": "^5.1.8",
|
||||
"eslint-plugin-import": "2.29.1",
|
||||
"eslint-plugin-jsdoc": "^62.0.0",
|
||||
"eslint-plugin-jsdoc": "^62.2.0",
|
||||
"eslint-plugin-no-async-foreach": "^0.1.1",
|
||||
glob: "^11.1.0",
|
||||
nock: "^14.0.10",
|
||||
@@ -75124,7 +75124,7 @@ var require_errors2 = __commonJS({
|
||||
"node_modules/@actions/cache/lib/internal/shared/errors.js"(exports2) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports2, "__esModule", { value: true });
|
||||
exports2.UsageError = exports2.NetworkError = exports2.GHESNotSupportedError = exports2.CacheNotFoundError = exports2.InvalidResponseError = exports2.FilesNotFoundError = void 0;
|
||||
exports2.RateLimitError = exports2.UsageError = exports2.NetworkError = exports2.GHESNotSupportedError = exports2.CacheNotFoundError = exports2.InvalidResponseError = exports2.FilesNotFoundError = void 0;
|
||||
var FilesNotFoundError = class extends Error {
|
||||
constructor(files = []) {
|
||||
let message = "No files were found to upload";
|
||||
@@ -75193,6 +75193,13 @@ More info on storage limits: https://docs.github.com/en/billing/managing-billing
|
||||
return false;
|
||||
return msg.includes("insufficient usage");
|
||||
};
|
||||
var RateLimitError = class extends Error {
|
||||
constructor(message) {
|
||||
super(message);
|
||||
this.name = "RateLimitError";
|
||||
}
|
||||
};
|
||||
exports2.RateLimitError = RateLimitError;
|
||||
}
|
||||
});
|
||||
|
||||
@@ -76227,7 +76234,7 @@ var require_package2 = __commonJS({
|
||||
"node_modules/@actions/cache/package.json"(exports2, module2) {
|
||||
module2.exports = {
|
||||
name: "@actions/cache",
|
||||
version: "5.0.2",
|
||||
version: "5.0.3",
|
||||
preview: true,
|
||||
description: "Actions cache lib",
|
||||
keywords: [
|
||||
@@ -81648,6 +81655,16 @@ var require_cacheTwirpClient = __commonJS({
|
||||
}
|
||||
errorMessage = `${errorMessage}: ${body.msg}`;
|
||||
}
|
||||
if (statusCode === http_client_1.HttpCodes.TooManyRequests) {
|
||||
const retryAfterHeader = response.message.headers["retry-after"];
|
||||
if (retryAfterHeader) {
|
||||
const parsedSeconds = parseInt(retryAfterHeader, 10);
|
||||
if (!isNaN(parsedSeconds) && parsedSeconds > 0) {
|
||||
(0, core_1.warning)(`You've hit a rate limit, your rate limit will reset in ${parsedSeconds} seconds`);
|
||||
}
|
||||
}
|
||||
throw new errors_1.RateLimitError(`Rate limited: ${errorMessage}`);
|
||||
}
|
||||
} catch (error3) {
|
||||
if (error3 instanceof SyntaxError) {
|
||||
(0, core_1.debug)(`Raw Body: ${rawBody}`);
|
||||
@@ -81655,6 +81672,9 @@ var require_cacheTwirpClient = __commonJS({
|
||||
if (error3 instanceof errors_1.UsageError) {
|
||||
throw error3;
|
||||
}
|
||||
if (error3 instanceof errors_1.RateLimitError) {
|
||||
throw error3;
|
||||
}
|
||||
if (errors_1.NetworkError.isNetworkErrorCode(error3 === null || error3 === void 0 ? void 0 : error3.code)) {
|
||||
throw new errors_1.NetworkError(error3 === null || error3 === void 0 ? void 0 : error3.code);
|
||||
}
|
||||
@@ -81687,8 +81707,7 @@ var require_cacheTwirpClient = __commonJS({
|
||||
http_client_1.HttpCodes.BadGateway,
|
||||
http_client_1.HttpCodes.GatewayTimeout,
|
||||
http_client_1.HttpCodes.InternalServerError,
|
||||
http_client_1.HttpCodes.ServiceUnavailable,
|
||||
http_client_1.HttpCodes.TooManyRequests
|
||||
http_client_1.HttpCodes.ServiceUnavailable
|
||||
];
|
||||
return retryableStatusCodes.includes(statusCode);
|
||||
}
|
||||
|
||||
Generated
+26
-7
@@ -45310,7 +45310,7 @@ var require_package = __commonJS({
|
||||
dependencies: {
|
||||
"@actions/artifact": "^5.0.2",
|
||||
"@actions/artifact-legacy": "npm:@actions/artifact@^1.1.2",
|
||||
"@actions/cache": "^5.0.2",
|
||||
"@actions/cache": "^5.0.3",
|
||||
"@actions/core": "^2.0.2",
|
||||
"@actions/exec": "^2.0.0",
|
||||
"@actions/github": "^7.0.0",
|
||||
@@ -45345,7 +45345,7 @@ var require_package = __commonJS({
|
||||
"@types/node-forge": "^1.3.14",
|
||||
"@types/semver": "^7.7.1",
|
||||
"@types/sinon": "^21.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.53.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.53.1",
|
||||
"@typescript-eslint/parser": "^8.48.0",
|
||||
ava: "^6.4.1",
|
||||
esbuild: "^0.27.2",
|
||||
@@ -45354,7 +45354,7 @@ var require_package = __commonJS({
|
||||
"eslint-plugin-filenames": "^1.3.2",
|
||||
"eslint-plugin-github": "^5.1.8",
|
||||
"eslint-plugin-import": "2.29.1",
|
||||
"eslint-plugin-jsdoc": "^62.0.0",
|
||||
"eslint-plugin-jsdoc": "^62.2.0",
|
||||
"eslint-plugin-no-async-foreach": "^0.1.1",
|
||||
glob: "^11.1.0",
|
||||
nock: "^14.0.10",
|
||||
@@ -93730,7 +93730,7 @@ var require_errors2 = __commonJS({
|
||||
"node_modules/@actions/cache/lib/internal/shared/errors.js"(exports2) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports2, "__esModule", { value: true });
|
||||
exports2.UsageError = exports2.NetworkError = exports2.GHESNotSupportedError = exports2.CacheNotFoundError = exports2.InvalidResponseError = exports2.FilesNotFoundError = void 0;
|
||||
exports2.RateLimitError = exports2.UsageError = exports2.NetworkError = exports2.GHESNotSupportedError = exports2.CacheNotFoundError = exports2.InvalidResponseError = exports2.FilesNotFoundError = void 0;
|
||||
var FilesNotFoundError = class extends Error {
|
||||
constructor(files = []) {
|
||||
let message = "No files were found to upload";
|
||||
@@ -93799,6 +93799,13 @@ More info on storage limits: https://docs.github.com/en/billing/managing-billing
|
||||
return false;
|
||||
return msg.includes("insufficient usage");
|
||||
};
|
||||
var RateLimitError = class extends Error {
|
||||
constructor(message) {
|
||||
super(message);
|
||||
this.name = "RateLimitError";
|
||||
}
|
||||
};
|
||||
exports2.RateLimitError = RateLimitError;
|
||||
}
|
||||
});
|
||||
|
||||
@@ -94833,7 +94840,7 @@ var require_package2 = __commonJS({
|
||||
"node_modules/@actions/cache/package.json"(exports2, module2) {
|
||||
module2.exports = {
|
||||
name: "@actions/cache",
|
||||
version: "5.0.2",
|
||||
version: "5.0.3",
|
||||
preview: true,
|
||||
description: "Actions cache lib",
|
||||
keywords: [
|
||||
@@ -100254,6 +100261,16 @@ var require_cacheTwirpClient = __commonJS({
|
||||
}
|
||||
errorMessage = `${errorMessage}: ${body.msg}`;
|
||||
}
|
||||
if (statusCode === http_client_1.HttpCodes.TooManyRequests) {
|
||||
const retryAfterHeader = response.message.headers["retry-after"];
|
||||
if (retryAfterHeader) {
|
||||
const parsedSeconds = parseInt(retryAfterHeader, 10);
|
||||
if (!isNaN(parsedSeconds) && parsedSeconds > 0) {
|
||||
(0, core_1.warning)(`You've hit a rate limit, your rate limit will reset in ${parsedSeconds} seconds`);
|
||||
}
|
||||
}
|
||||
throw new errors_1.RateLimitError(`Rate limited: ${errorMessage}`);
|
||||
}
|
||||
} catch (error3) {
|
||||
if (error3 instanceof SyntaxError) {
|
||||
(0, core_1.debug)(`Raw Body: ${rawBody}`);
|
||||
@@ -100261,6 +100278,9 @@ var require_cacheTwirpClient = __commonJS({
|
||||
if (error3 instanceof errors_1.UsageError) {
|
||||
throw error3;
|
||||
}
|
||||
if (error3 instanceof errors_1.RateLimitError) {
|
||||
throw error3;
|
||||
}
|
||||
if (errors_1.NetworkError.isNetworkErrorCode(error3 === null || error3 === void 0 ? void 0 : error3.code)) {
|
||||
throw new errors_1.NetworkError(error3 === null || error3 === void 0 ? void 0 : error3.code);
|
||||
}
|
||||
@@ -100293,8 +100313,7 @@ var require_cacheTwirpClient = __commonJS({
|
||||
http_client_1.HttpCodes.BadGateway,
|
||||
http_client_1.HttpCodes.GatewayTimeout,
|
||||
http_client_1.HttpCodes.InternalServerError,
|
||||
http_client_1.HttpCodes.ServiceUnavailable,
|
||||
http_client_1.HttpCodes.TooManyRequests
|
||||
http_client_1.HttpCodes.ServiceUnavailable
|
||||
];
|
||||
return retryableStatusCodes.includes(statusCode);
|
||||
}
|
||||
|
||||
Generated
+26
-7
@@ -28001,7 +28001,7 @@ var require_package = __commonJS({
|
||||
dependencies: {
|
||||
"@actions/artifact": "^5.0.2",
|
||||
"@actions/artifact-legacy": "npm:@actions/artifact@^1.1.2",
|
||||
"@actions/cache": "^5.0.2",
|
||||
"@actions/cache": "^5.0.3",
|
||||
"@actions/core": "^2.0.2",
|
||||
"@actions/exec": "^2.0.0",
|
||||
"@actions/github": "^7.0.0",
|
||||
@@ -28036,7 +28036,7 @@ var require_package = __commonJS({
|
||||
"@types/node-forge": "^1.3.14",
|
||||
"@types/semver": "^7.7.1",
|
||||
"@types/sinon": "^21.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.53.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.53.1",
|
||||
"@typescript-eslint/parser": "^8.48.0",
|
||||
ava: "^6.4.1",
|
||||
esbuild: "^0.27.2",
|
||||
@@ -28045,7 +28045,7 @@ var require_package = __commonJS({
|
||||
"eslint-plugin-filenames": "^1.3.2",
|
||||
"eslint-plugin-github": "^5.1.8",
|
||||
"eslint-plugin-import": "2.29.1",
|
||||
"eslint-plugin-jsdoc": "^62.0.0",
|
||||
"eslint-plugin-jsdoc": "^62.2.0",
|
||||
"eslint-plugin-no-async-foreach": "^0.1.1",
|
||||
glob: "^11.1.0",
|
||||
nock: "^14.0.10",
|
||||
@@ -75124,7 +75124,7 @@ var require_errors2 = __commonJS({
|
||||
"node_modules/@actions/cache/lib/internal/shared/errors.js"(exports2) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports2, "__esModule", { value: true });
|
||||
exports2.UsageError = exports2.NetworkError = exports2.GHESNotSupportedError = exports2.CacheNotFoundError = exports2.InvalidResponseError = exports2.FilesNotFoundError = void 0;
|
||||
exports2.RateLimitError = exports2.UsageError = exports2.NetworkError = exports2.GHESNotSupportedError = exports2.CacheNotFoundError = exports2.InvalidResponseError = exports2.FilesNotFoundError = void 0;
|
||||
var FilesNotFoundError = class extends Error {
|
||||
constructor(files = []) {
|
||||
let message = "No files were found to upload";
|
||||
@@ -75193,6 +75193,13 @@ More info on storage limits: https://docs.github.com/en/billing/managing-billing
|
||||
return false;
|
||||
return msg.includes("insufficient usage");
|
||||
};
|
||||
var RateLimitError = class extends Error {
|
||||
constructor(message) {
|
||||
super(message);
|
||||
this.name = "RateLimitError";
|
||||
}
|
||||
};
|
||||
exports2.RateLimitError = RateLimitError;
|
||||
}
|
||||
});
|
||||
|
||||
@@ -76227,7 +76234,7 @@ var require_package2 = __commonJS({
|
||||
"node_modules/@actions/cache/package.json"(exports2, module2) {
|
||||
module2.exports = {
|
||||
name: "@actions/cache",
|
||||
version: "5.0.2",
|
||||
version: "5.0.3",
|
||||
preview: true,
|
||||
description: "Actions cache lib",
|
||||
keywords: [
|
||||
@@ -81648,6 +81655,16 @@ var require_cacheTwirpClient = __commonJS({
|
||||
}
|
||||
errorMessage = `${errorMessage}: ${body.msg}`;
|
||||
}
|
||||
if (statusCode === http_client_1.HttpCodes.TooManyRequests) {
|
||||
const retryAfterHeader = response.message.headers["retry-after"];
|
||||
if (retryAfterHeader) {
|
||||
const parsedSeconds = parseInt(retryAfterHeader, 10);
|
||||
if (!isNaN(parsedSeconds) && parsedSeconds > 0) {
|
||||
(0, core_1.warning)(`You've hit a rate limit, your rate limit will reset in ${parsedSeconds} seconds`);
|
||||
}
|
||||
}
|
||||
throw new errors_1.RateLimitError(`Rate limited: ${errorMessage}`);
|
||||
}
|
||||
} catch (error3) {
|
||||
if (error3 instanceof SyntaxError) {
|
||||
(0, core_1.debug)(`Raw Body: ${rawBody}`);
|
||||
@@ -81655,6 +81672,9 @@ var require_cacheTwirpClient = __commonJS({
|
||||
if (error3 instanceof errors_1.UsageError) {
|
||||
throw error3;
|
||||
}
|
||||
if (error3 instanceof errors_1.RateLimitError) {
|
||||
throw error3;
|
||||
}
|
||||
if (errors_1.NetworkError.isNetworkErrorCode(error3 === null || error3 === void 0 ? void 0 : error3.code)) {
|
||||
throw new errors_1.NetworkError(error3 === null || error3 === void 0 ? void 0 : error3.code);
|
||||
}
|
||||
@@ -81687,8 +81707,7 @@ var require_cacheTwirpClient = __commonJS({
|
||||
http_client_1.HttpCodes.BadGateway,
|
||||
http_client_1.HttpCodes.GatewayTimeout,
|
||||
http_client_1.HttpCodes.InternalServerError,
|
||||
http_client_1.HttpCodes.ServiceUnavailable,
|
||||
http_client_1.HttpCodes.TooManyRequests
|
||||
http_client_1.HttpCodes.ServiceUnavailable
|
||||
];
|
||||
return retryableStatusCodes.includes(statusCode);
|
||||
}
|
||||
|
||||
Generated
+26
-7
@@ -26704,7 +26704,7 @@ var require_package = __commonJS({
|
||||
dependencies: {
|
||||
"@actions/artifact": "^5.0.2",
|
||||
"@actions/artifact-legacy": "npm:@actions/artifact@^1.1.2",
|
||||
"@actions/cache": "^5.0.2",
|
||||
"@actions/cache": "^5.0.3",
|
||||
"@actions/core": "^2.0.2",
|
||||
"@actions/exec": "^2.0.0",
|
||||
"@actions/github": "^7.0.0",
|
||||
@@ -26739,7 +26739,7 @@ var require_package = __commonJS({
|
||||
"@types/node-forge": "^1.3.14",
|
||||
"@types/semver": "^7.7.1",
|
||||
"@types/sinon": "^21.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.53.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.53.1",
|
||||
"@typescript-eslint/parser": "^8.48.0",
|
||||
ava: "^6.4.1",
|
||||
esbuild: "^0.27.2",
|
||||
@@ -26748,7 +26748,7 @@ var require_package = __commonJS({
|
||||
"eslint-plugin-filenames": "^1.3.2",
|
||||
"eslint-plugin-github": "^5.1.8",
|
||||
"eslint-plugin-import": "2.29.1",
|
||||
"eslint-plugin-jsdoc": "^62.0.0",
|
||||
"eslint-plugin-jsdoc": "^62.2.0",
|
||||
"eslint-plugin-no-async-foreach": "^0.1.1",
|
||||
glob: "^11.1.0",
|
||||
nock: "^14.0.10",
|
||||
@@ -116612,7 +116612,7 @@ var require_errors4 = __commonJS({
|
||||
"node_modules/@actions/cache/lib/internal/shared/errors.js"(exports2) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports2, "__esModule", { value: true });
|
||||
exports2.UsageError = exports2.NetworkError = exports2.GHESNotSupportedError = exports2.CacheNotFoundError = exports2.InvalidResponseError = exports2.FilesNotFoundError = void 0;
|
||||
exports2.RateLimitError = exports2.UsageError = exports2.NetworkError = exports2.GHESNotSupportedError = exports2.CacheNotFoundError = exports2.InvalidResponseError = exports2.FilesNotFoundError = void 0;
|
||||
var FilesNotFoundError = class extends Error {
|
||||
constructor(files = []) {
|
||||
let message = "No files were found to upload";
|
||||
@@ -116681,6 +116681,13 @@ More info on storage limits: https://docs.github.com/en/billing/managing-billing
|
||||
return false;
|
||||
return msg.includes("insufficient usage");
|
||||
};
|
||||
var RateLimitError = class extends Error {
|
||||
constructor(message) {
|
||||
super(message);
|
||||
this.name = "RateLimitError";
|
||||
}
|
||||
};
|
||||
exports2.RateLimitError = RateLimitError;
|
||||
}
|
||||
});
|
||||
|
||||
@@ -117715,7 +117722,7 @@ var require_package3 = __commonJS({
|
||||
"node_modules/@actions/cache/package.json"(exports2, module2) {
|
||||
module2.exports = {
|
||||
name: "@actions/cache",
|
||||
version: "5.0.2",
|
||||
version: "5.0.3",
|
||||
preview: true,
|
||||
description: "Actions cache lib",
|
||||
keywords: [
|
||||
@@ -118910,6 +118917,16 @@ var require_cacheTwirpClient = __commonJS({
|
||||
}
|
||||
errorMessage = `${errorMessage}: ${body.msg}`;
|
||||
}
|
||||
if (statusCode === http_client_1.HttpCodes.TooManyRequests) {
|
||||
const retryAfterHeader = response.message.headers["retry-after"];
|
||||
if (retryAfterHeader) {
|
||||
const parsedSeconds = parseInt(retryAfterHeader, 10);
|
||||
if (!isNaN(parsedSeconds) && parsedSeconds > 0) {
|
||||
(0, core_1.warning)(`You've hit a rate limit, your rate limit will reset in ${parsedSeconds} seconds`);
|
||||
}
|
||||
}
|
||||
throw new errors_1.RateLimitError(`Rate limited: ${errorMessage}`);
|
||||
}
|
||||
} catch (error3) {
|
||||
if (error3 instanceof SyntaxError) {
|
||||
(0, core_1.debug)(`Raw Body: ${rawBody}`);
|
||||
@@ -118917,6 +118934,9 @@ var require_cacheTwirpClient = __commonJS({
|
||||
if (error3 instanceof errors_1.UsageError) {
|
||||
throw error3;
|
||||
}
|
||||
if (error3 instanceof errors_1.RateLimitError) {
|
||||
throw error3;
|
||||
}
|
||||
if (errors_1.NetworkError.isNetworkErrorCode(error3 === null || error3 === void 0 ? void 0 : error3.code)) {
|
||||
throw new errors_1.NetworkError(error3 === null || error3 === void 0 ? void 0 : error3.code);
|
||||
}
|
||||
@@ -118949,8 +118969,7 @@ var require_cacheTwirpClient = __commonJS({
|
||||
http_client_1.HttpCodes.BadGateway,
|
||||
http_client_1.HttpCodes.GatewayTimeout,
|
||||
http_client_1.HttpCodes.InternalServerError,
|
||||
http_client_1.HttpCodes.ServiceUnavailable,
|
||||
http_client_1.HttpCodes.TooManyRequests
|
||||
http_client_1.HttpCodes.ServiceUnavailable
|
||||
];
|
||||
return retryableStatusCodes.includes(statusCode);
|
||||
}
|
||||
|
||||
Generated
+26
-7
@@ -26704,7 +26704,7 @@ var require_package = __commonJS({
|
||||
dependencies: {
|
||||
"@actions/artifact": "^5.0.2",
|
||||
"@actions/artifact-legacy": "npm:@actions/artifact@^1.1.2",
|
||||
"@actions/cache": "^5.0.2",
|
||||
"@actions/cache": "^5.0.3",
|
||||
"@actions/core": "^2.0.2",
|
||||
"@actions/exec": "^2.0.0",
|
||||
"@actions/github": "^7.0.0",
|
||||
@@ -26739,7 +26739,7 @@ var require_package = __commonJS({
|
||||
"@types/node-forge": "^1.3.14",
|
||||
"@types/semver": "^7.7.1",
|
||||
"@types/sinon": "^21.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.53.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.53.1",
|
||||
"@typescript-eslint/parser": "^8.48.0",
|
||||
ava: "^6.4.1",
|
||||
esbuild: "^0.27.2",
|
||||
@@ -26748,7 +26748,7 @@ var require_package = __commonJS({
|
||||
"eslint-plugin-filenames": "^1.3.2",
|
||||
"eslint-plugin-github": "^5.1.8",
|
||||
"eslint-plugin-import": "2.29.1",
|
||||
"eslint-plugin-jsdoc": "^62.0.0",
|
||||
"eslint-plugin-jsdoc": "^62.2.0",
|
||||
"eslint-plugin-no-async-foreach": "^0.1.1",
|
||||
glob: "^11.1.0",
|
||||
nock: "^14.0.10",
|
||||
@@ -73827,7 +73827,7 @@ var require_errors2 = __commonJS({
|
||||
"node_modules/@actions/cache/lib/internal/shared/errors.js"(exports2) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports2, "__esModule", { value: true });
|
||||
exports2.UsageError = exports2.NetworkError = exports2.GHESNotSupportedError = exports2.CacheNotFoundError = exports2.InvalidResponseError = exports2.FilesNotFoundError = void 0;
|
||||
exports2.RateLimitError = exports2.UsageError = exports2.NetworkError = exports2.GHESNotSupportedError = exports2.CacheNotFoundError = exports2.InvalidResponseError = exports2.FilesNotFoundError = void 0;
|
||||
var FilesNotFoundError = class extends Error {
|
||||
constructor(files = []) {
|
||||
let message = "No files were found to upload";
|
||||
@@ -73896,6 +73896,13 @@ More info on storage limits: https://docs.github.com/en/billing/managing-billing
|
||||
return false;
|
||||
return msg.includes("insufficient usage");
|
||||
};
|
||||
var RateLimitError = class extends Error {
|
||||
constructor(message) {
|
||||
super(message);
|
||||
this.name = "RateLimitError";
|
||||
}
|
||||
};
|
||||
exports2.RateLimitError = RateLimitError;
|
||||
}
|
||||
});
|
||||
|
||||
@@ -74930,7 +74937,7 @@ var require_package2 = __commonJS({
|
||||
"node_modules/@actions/cache/package.json"(exports2, module2) {
|
||||
module2.exports = {
|
||||
name: "@actions/cache",
|
||||
version: "5.0.2",
|
||||
version: "5.0.3",
|
||||
preview: true,
|
||||
description: "Actions cache lib",
|
||||
keywords: [
|
||||
@@ -80351,6 +80358,16 @@ var require_cacheTwirpClient = __commonJS({
|
||||
}
|
||||
errorMessage = `${errorMessage}: ${body.msg}`;
|
||||
}
|
||||
if (statusCode === http_client_1.HttpCodes.TooManyRequests) {
|
||||
const retryAfterHeader = response.message.headers["retry-after"];
|
||||
if (retryAfterHeader) {
|
||||
const parsedSeconds = parseInt(retryAfterHeader, 10);
|
||||
if (!isNaN(parsedSeconds) && parsedSeconds > 0) {
|
||||
(0, core_1.warning)(`You've hit a rate limit, your rate limit will reset in ${parsedSeconds} seconds`);
|
||||
}
|
||||
}
|
||||
throw new errors_1.RateLimitError(`Rate limited: ${errorMessage}`);
|
||||
}
|
||||
} catch (error3) {
|
||||
if (error3 instanceof SyntaxError) {
|
||||
(0, core_1.debug)(`Raw Body: ${rawBody}`);
|
||||
@@ -80358,6 +80375,9 @@ var require_cacheTwirpClient = __commonJS({
|
||||
if (error3 instanceof errors_1.UsageError) {
|
||||
throw error3;
|
||||
}
|
||||
if (error3 instanceof errors_1.RateLimitError) {
|
||||
throw error3;
|
||||
}
|
||||
if (errors_1.NetworkError.isNetworkErrorCode(error3 === null || error3 === void 0 ? void 0 : error3.code)) {
|
||||
throw new errors_1.NetworkError(error3 === null || error3 === void 0 ? void 0 : error3.code);
|
||||
}
|
||||
@@ -80390,8 +80410,7 @@ var require_cacheTwirpClient = __commonJS({
|
||||
http_client_1.HttpCodes.BadGateway,
|
||||
http_client_1.HttpCodes.GatewayTimeout,
|
||||
http_client_1.HttpCodes.InternalServerError,
|
||||
http_client_1.HttpCodes.ServiceUnavailable,
|
||||
http_client_1.HttpCodes.TooManyRequests
|
||||
http_client_1.HttpCodes.ServiceUnavailable
|
||||
];
|
||||
return retryableStatusCodes.includes(statusCode);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user