mirror of
https://github.com/github/codeql-action.git
synced 2026-04-29 10:28:52 +00:00
Merge pull request #3243 from github/dependabot/npm_and_yarn/actions/artifact-4.0.0
Bump @actions/artifact from 2.3.1 to 4.0.0
This commit is contained in:
Generated
+583
-5653
File diff suppressed because one or more lines are too long
Generated
+22
-14
@@ -19846,6 +19846,7 @@ var require_context = __commonJS({
|
||||
this.action = process.env.GITHUB_ACTION;
|
||||
this.actor = process.env.GITHUB_ACTOR;
|
||||
this.job = process.env.GITHUB_JOB;
|
||||
this.runAttempt = parseInt(process.env.GITHUB_RUN_ATTEMPT, 10);
|
||||
this.runNumber = parseInt(process.env.GITHUB_RUN_NUMBER, 10);
|
||||
this.runId = parseInt(process.env.GITHUB_RUN_ID, 10);
|
||||
this.apiUrl = (_a = process.env.GITHUB_API_URL) !== null && _a !== void 0 ? _a : `https://api.github.com`;
|
||||
@@ -21748,21 +21749,36 @@ var require_dist_node11 = __commonJS({
|
||||
return to;
|
||||
};
|
||||
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
||||
var dist_src_exports = {};
|
||||
__export2(dist_src_exports, {
|
||||
var index_exports = {};
|
||||
__export2(index_exports, {
|
||||
Octokit: () => Octokit
|
||||
});
|
||||
module2.exports = __toCommonJS2(dist_src_exports);
|
||||
module2.exports = __toCommonJS2(index_exports);
|
||||
var import_universal_user_agent = require_dist_node();
|
||||
var import_before_after_hook = require_before_after_hook();
|
||||
var import_request = require_dist_node5();
|
||||
var import_graphql = require_dist_node9();
|
||||
var import_auth_token = require_dist_node10();
|
||||
var VERSION = "5.2.0";
|
||||
var VERSION = "5.2.2";
|
||||
var noop2 = () => {
|
||||
};
|
||||
var consoleWarn = console.warn.bind(console);
|
||||
var consoleError = console.error.bind(console);
|
||||
function createLogger(logger = {}) {
|
||||
if (typeof logger.debug !== "function") {
|
||||
logger.debug = noop2;
|
||||
}
|
||||
if (typeof logger.info !== "function") {
|
||||
logger.info = noop2;
|
||||
}
|
||||
if (typeof logger.warn !== "function") {
|
||||
logger.warn = consoleWarn;
|
||||
}
|
||||
if (typeof logger.error !== "function") {
|
||||
logger.error = consoleError;
|
||||
}
|
||||
return logger;
|
||||
}
|
||||
var userAgentTrail = `octokit-core.js/${VERSION} ${(0, import_universal_user_agent.getUserAgent)()}`;
|
||||
var Octokit = class {
|
||||
static {
|
||||
@@ -21836,15 +21852,7 @@ var require_dist_node11 = __commonJS({
|
||||
}
|
||||
this.request = import_request.request.defaults(requestDefaults);
|
||||
this.graphql = (0, import_graphql.withCustomRequest)(this.request).defaults(requestDefaults);
|
||||
this.log = Object.assign(
|
||||
{
|
||||
debug: noop2,
|
||||
info: noop2,
|
||||
warn: consoleWarn,
|
||||
error: consoleError
|
||||
},
|
||||
options.log
|
||||
);
|
||||
this.log = createLogger(options.log);
|
||||
this.hook = hook;
|
||||
if (!options.authStrategy) {
|
||||
if (!options.auth) {
|
||||
@@ -32333,7 +32341,7 @@ var require_package = __commonJS({
|
||||
},
|
||||
license: "MIT",
|
||||
dependencies: {
|
||||
"@actions/artifact": "^2.3.1",
|
||||
"@actions/artifact": "^4.0.0",
|
||||
"@actions/artifact-legacy": "npm:@actions/artifact@^1.1.2",
|
||||
"@actions/cache": "^4.1.0",
|
||||
"@actions/core": "^1.11.1",
|
||||
|
||||
Generated
+22
-14
@@ -19846,6 +19846,7 @@ var require_context = __commonJS({
|
||||
this.action = process.env.GITHUB_ACTION;
|
||||
this.actor = process.env.GITHUB_ACTOR;
|
||||
this.job = process.env.GITHUB_JOB;
|
||||
this.runAttempt = parseInt(process.env.GITHUB_RUN_ATTEMPT, 10);
|
||||
this.runNumber = parseInt(process.env.GITHUB_RUN_NUMBER, 10);
|
||||
this.runId = parseInt(process.env.GITHUB_RUN_ID, 10);
|
||||
this.apiUrl = (_a = process.env.GITHUB_API_URL) !== null && _a !== void 0 ? _a : `https://api.github.com`;
|
||||
@@ -21748,21 +21749,36 @@ var require_dist_node11 = __commonJS({
|
||||
return to;
|
||||
};
|
||||
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
||||
var dist_src_exports = {};
|
||||
__export2(dist_src_exports, {
|
||||
var index_exports = {};
|
||||
__export2(index_exports, {
|
||||
Octokit: () => Octokit
|
||||
});
|
||||
module2.exports = __toCommonJS2(dist_src_exports);
|
||||
module2.exports = __toCommonJS2(index_exports);
|
||||
var import_universal_user_agent = require_dist_node();
|
||||
var import_before_after_hook = require_before_after_hook();
|
||||
var import_request = require_dist_node5();
|
||||
var import_graphql = require_dist_node9();
|
||||
var import_auth_token = require_dist_node10();
|
||||
var VERSION = "5.2.0";
|
||||
var VERSION = "5.2.2";
|
||||
var noop = () => {
|
||||
};
|
||||
var consoleWarn = console.warn.bind(console);
|
||||
var consoleError = console.error.bind(console);
|
||||
function createLogger(logger = {}) {
|
||||
if (typeof logger.debug !== "function") {
|
||||
logger.debug = noop;
|
||||
}
|
||||
if (typeof logger.info !== "function") {
|
||||
logger.info = noop;
|
||||
}
|
||||
if (typeof logger.warn !== "function") {
|
||||
logger.warn = consoleWarn;
|
||||
}
|
||||
if (typeof logger.error !== "function") {
|
||||
logger.error = consoleError;
|
||||
}
|
||||
return logger;
|
||||
}
|
||||
var userAgentTrail = `octokit-core.js/${VERSION} ${(0, import_universal_user_agent.getUserAgent)()}`;
|
||||
var Octokit = class {
|
||||
static {
|
||||
@@ -21836,15 +21852,7 @@ var require_dist_node11 = __commonJS({
|
||||
}
|
||||
this.request = import_request.request.defaults(requestDefaults);
|
||||
this.graphql = (0, import_graphql.withCustomRequest)(this.request).defaults(requestDefaults);
|
||||
this.log = Object.assign(
|
||||
{
|
||||
debug: noop,
|
||||
info: noop,
|
||||
warn: consoleWarn,
|
||||
error: consoleError
|
||||
},
|
||||
options.log
|
||||
);
|
||||
this.log = createLogger(options.log);
|
||||
this.hook = hook;
|
||||
if (!options.authStrategy) {
|
||||
if (!options.auth) {
|
||||
@@ -26484,7 +26492,7 @@ var require_package = __commonJS({
|
||||
},
|
||||
license: "MIT",
|
||||
dependencies: {
|
||||
"@actions/artifact": "^2.3.1",
|
||||
"@actions/artifact": "^4.0.0",
|
||||
"@actions/artifact-legacy": "npm:@actions/artifact@^1.1.2",
|
||||
"@actions/cache": "^4.1.0",
|
||||
"@actions/core": "^1.11.1",
|
||||
|
||||
Generated
+583
-5653
File diff suppressed because one or more lines are too long
Generated
+22
-14
@@ -21776,6 +21776,7 @@ var require_context = __commonJS({
|
||||
this.action = process.env.GITHUB_ACTION;
|
||||
this.actor = process.env.GITHUB_ACTOR;
|
||||
this.job = process.env.GITHUB_JOB;
|
||||
this.runAttempt = parseInt(process.env.GITHUB_RUN_ATTEMPT, 10);
|
||||
this.runNumber = parseInt(process.env.GITHUB_RUN_NUMBER, 10);
|
||||
this.runId = parseInt(process.env.GITHUB_RUN_ID, 10);
|
||||
this.apiUrl = (_a = process.env.GITHUB_API_URL) !== null && _a !== void 0 ? _a : `https://api.github.com`;
|
||||
@@ -23678,21 +23679,36 @@ var require_dist_node11 = __commonJS({
|
||||
return to;
|
||||
};
|
||||
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
||||
var dist_src_exports = {};
|
||||
__export2(dist_src_exports, {
|
||||
var index_exports = {};
|
||||
__export2(index_exports, {
|
||||
Octokit: () => Octokit
|
||||
});
|
||||
module2.exports = __toCommonJS2(dist_src_exports);
|
||||
module2.exports = __toCommonJS2(index_exports);
|
||||
var import_universal_user_agent = require_dist_node();
|
||||
var import_before_after_hook = require_before_after_hook();
|
||||
var import_request = require_dist_node5();
|
||||
var import_graphql = require_dist_node9();
|
||||
var import_auth_token = require_dist_node10();
|
||||
var VERSION = "5.2.0";
|
||||
var VERSION = "5.2.2";
|
||||
var noop2 = () => {
|
||||
};
|
||||
var consoleWarn = console.warn.bind(console);
|
||||
var consoleError = console.error.bind(console);
|
||||
function createLogger(logger = {}) {
|
||||
if (typeof logger.debug !== "function") {
|
||||
logger.debug = noop2;
|
||||
}
|
||||
if (typeof logger.info !== "function") {
|
||||
logger.info = noop2;
|
||||
}
|
||||
if (typeof logger.warn !== "function") {
|
||||
logger.warn = consoleWarn;
|
||||
}
|
||||
if (typeof logger.error !== "function") {
|
||||
logger.error = consoleError;
|
||||
}
|
||||
return logger;
|
||||
}
|
||||
var userAgentTrail = `octokit-core.js/${VERSION} ${(0, import_universal_user_agent.getUserAgent)()}`;
|
||||
var Octokit = class {
|
||||
static {
|
||||
@@ -23766,15 +23782,7 @@ var require_dist_node11 = __commonJS({
|
||||
}
|
||||
this.request = import_request.request.defaults(requestDefaults);
|
||||
this.graphql = (0, import_graphql.withCustomRequest)(this.request).defaults(requestDefaults);
|
||||
this.log = Object.assign(
|
||||
{
|
||||
debug: noop2,
|
||||
info: noop2,
|
||||
warn: consoleWarn,
|
||||
error: consoleError
|
||||
},
|
||||
options.log
|
||||
);
|
||||
this.log = createLogger(options.log);
|
||||
this.hook = hook;
|
||||
if (!options.authStrategy) {
|
||||
if (!options.auth) {
|
||||
@@ -32333,7 +32341,7 @@ var require_package = __commonJS({
|
||||
},
|
||||
license: "MIT",
|
||||
dependencies: {
|
||||
"@actions/artifact": "^2.3.1",
|
||||
"@actions/artifact": "^4.0.0",
|
||||
"@actions/artifact-legacy": "npm:@actions/artifact@^1.1.2",
|
||||
"@actions/cache": "^4.1.0",
|
||||
"@actions/core": "^1.11.1",
|
||||
|
||||
Generated
+22
-14
@@ -19846,6 +19846,7 @@ var require_context = __commonJS({
|
||||
this.action = process.env.GITHUB_ACTION;
|
||||
this.actor = process.env.GITHUB_ACTOR;
|
||||
this.job = process.env.GITHUB_JOB;
|
||||
this.runAttempt = parseInt(process.env.GITHUB_RUN_ATTEMPT, 10);
|
||||
this.runNumber = parseInt(process.env.GITHUB_RUN_NUMBER, 10);
|
||||
this.runId = parseInt(process.env.GITHUB_RUN_ID, 10);
|
||||
this.apiUrl = (_a = process.env.GITHUB_API_URL) !== null && _a !== void 0 ? _a : `https://api.github.com`;
|
||||
@@ -21748,21 +21749,36 @@ var require_dist_node11 = __commonJS({
|
||||
return to;
|
||||
};
|
||||
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
||||
var dist_src_exports = {};
|
||||
__export2(dist_src_exports, {
|
||||
var index_exports = {};
|
||||
__export2(index_exports, {
|
||||
Octokit: () => Octokit
|
||||
});
|
||||
module2.exports = __toCommonJS2(dist_src_exports);
|
||||
module2.exports = __toCommonJS2(index_exports);
|
||||
var import_universal_user_agent = require_dist_node();
|
||||
var import_before_after_hook = require_before_after_hook();
|
||||
var import_request = require_dist_node5();
|
||||
var import_graphql = require_dist_node9();
|
||||
var import_auth_token = require_dist_node10();
|
||||
var VERSION = "5.2.0";
|
||||
var VERSION = "5.2.2";
|
||||
var noop = () => {
|
||||
};
|
||||
var consoleWarn = console.warn.bind(console);
|
||||
var consoleError = console.error.bind(console);
|
||||
function createLogger(logger = {}) {
|
||||
if (typeof logger.debug !== "function") {
|
||||
logger.debug = noop;
|
||||
}
|
||||
if (typeof logger.info !== "function") {
|
||||
logger.info = noop;
|
||||
}
|
||||
if (typeof logger.warn !== "function") {
|
||||
logger.warn = consoleWarn;
|
||||
}
|
||||
if (typeof logger.error !== "function") {
|
||||
logger.error = consoleError;
|
||||
}
|
||||
return logger;
|
||||
}
|
||||
var userAgentTrail = `octokit-core.js/${VERSION} ${(0, import_universal_user_agent.getUserAgent)()}`;
|
||||
var Octokit = class {
|
||||
static {
|
||||
@@ -21836,15 +21852,7 @@ var require_dist_node11 = __commonJS({
|
||||
}
|
||||
this.request = import_request.request.defaults(requestDefaults);
|
||||
this.graphql = (0, import_graphql.withCustomRequest)(this.request).defaults(requestDefaults);
|
||||
this.log = Object.assign(
|
||||
{
|
||||
debug: noop,
|
||||
info: noop,
|
||||
warn: consoleWarn,
|
||||
error: consoleError
|
||||
},
|
||||
options.log
|
||||
);
|
||||
this.log = createLogger(options.log);
|
||||
this.hook = hook;
|
||||
if (!options.authStrategy) {
|
||||
if (!options.auth) {
|
||||
@@ -26484,7 +26492,7 @@ var require_package = __commonJS({
|
||||
},
|
||||
license: "MIT",
|
||||
dependencies: {
|
||||
"@actions/artifact": "^2.3.1",
|
||||
"@actions/artifact": "^4.0.0",
|
||||
"@actions/artifact-legacy": "npm:@actions/artifact@^1.1.2",
|
||||
"@actions/cache": "^4.1.0",
|
||||
"@actions/core": "^1.11.1",
|
||||
|
||||
Generated
+22
-14
@@ -19846,6 +19846,7 @@ var require_context = __commonJS({
|
||||
this.action = process.env.GITHUB_ACTION;
|
||||
this.actor = process.env.GITHUB_ACTOR;
|
||||
this.job = process.env.GITHUB_JOB;
|
||||
this.runAttempt = parseInt(process.env.GITHUB_RUN_ATTEMPT, 10);
|
||||
this.runNumber = parseInt(process.env.GITHUB_RUN_NUMBER, 10);
|
||||
this.runId = parseInt(process.env.GITHUB_RUN_ID, 10);
|
||||
this.apiUrl = (_a = process.env.GITHUB_API_URL) !== null && _a !== void 0 ? _a : `https://api.github.com`;
|
||||
@@ -21748,21 +21749,36 @@ var require_dist_node11 = __commonJS({
|
||||
return to;
|
||||
};
|
||||
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
||||
var dist_src_exports = {};
|
||||
__export2(dist_src_exports, {
|
||||
var index_exports = {};
|
||||
__export2(index_exports, {
|
||||
Octokit: () => Octokit
|
||||
});
|
||||
module2.exports = __toCommonJS2(dist_src_exports);
|
||||
module2.exports = __toCommonJS2(index_exports);
|
||||
var import_universal_user_agent = require_dist_node();
|
||||
var import_before_after_hook = require_before_after_hook();
|
||||
var import_request = require_dist_node5();
|
||||
var import_graphql = require_dist_node9();
|
||||
var import_auth_token = require_dist_node10();
|
||||
var VERSION = "5.2.0";
|
||||
var VERSION = "5.2.2";
|
||||
var noop2 = () => {
|
||||
};
|
||||
var consoleWarn = console.warn.bind(console);
|
||||
var consoleError = console.error.bind(console);
|
||||
function createLogger(logger = {}) {
|
||||
if (typeof logger.debug !== "function") {
|
||||
logger.debug = noop2;
|
||||
}
|
||||
if (typeof logger.info !== "function") {
|
||||
logger.info = noop2;
|
||||
}
|
||||
if (typeof logger.warn !== "function") {
|
||||
logger.warn = consoleWarn;
|
||||
}
|
||||
if (typeof logger.error !== "function") {
|
||||
logger.error = consoleError;
|
||||
}
|
||||
return logger;
|
||||
}
|
||||
var userAgentTrail = `octokit-core.js/${VERSION} ${(0, import_universal_user_agent.getUserAgent)()}`;
|
||||
var Octokit = class {
|
||||
static {
|
||||
@@ -21836,15 +21852,7 @@ var require_dist_node11 = __commonJS({
|
||||
}
|
||||
this.request = import_request.request.defaults(requestDefaults);
|
||||
this.graphql = (0, import_graphql.withCustomRequest)(this.request).defaults(requestDefaults);
|
||||
this.log = Object.assign(
|
||||
{
|
||||
debug: noop2,
|
||||
info: noop2,
|
||||
warn: consoleWarn,
|
||||
error: consoleError
|
||||
},
|
||||
options.log
|
||||
);
|
||||
this.log = createLogger(options.log);
|
||||
this.hook = hook;
|
||||
if (!options.authStrategy) {
|
||||
if (!options.auth) {
|
||||
@@ -32333,7 +32341,7 @@ var require_package = __commonJS({
|
||||
},
|
||||
license: "MIT",
|
||||
dependencies: {
|
||||
"@actions/artifact": "^2.3.1",
|
||||
"@actions/artifact": "^4.0.0",
|
||||
"@actions/artifact-legacy": "npm:@actions/artifact@^1.1.2",
|
||||
"@actions/cache": "^4.1.0",
|
||||
"@actions/core": "^1.11.1",
|
||||
|
||||
Generated
+583
-5653
File diff suppressed because one or more lines are too long
Generated
+22
-14
@@ -40312,6 +40312,7 @@ var require_context = __commonJS({
|
||||
this.action = process.env.GITHUB_ACTION;
|
||||
this.actor = process.env.GITHUB_ACTOR;
|
||||
this.job = process.env.GITHUB_JOB;
|
||||
this.runAttempt = parseInt(process.env.GITHUB_RUN_ATTEMPT, 10);
|
||||
this.runNumber = parseInt(process.env.GITHUB_RUN_NUMBER, 10);
|
||||
this.runId = parseInt(process.env.GITHUB_RUN_ID, 10);
|
||||
this.apiUrl = (_a = process.env.GITHUB_API_URL) !== null && _a !== void 0 ? _a : `https://api.github.com`;
|
||||
@@ -42214,21 +42215,36 @@ var require_dist_node11 = __commonJS({
|
||||
return to;
|
||||
};
|
||||
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
||||
var dist_src_exports = {};
|
||||
__export2(dist_src_exports, {
|
||||
var index_exports = {};
|
||||
__export2(index_exports, {
|
||||
Octokit: () => Octokit
|
||||
});
|
||||
module2.exports = __toCommonJS2(dist_src_exports);
|
||||
module2.exports = __toCommonJS2(index_exports);
|
||||
var import_universal_user_agent = require_dist_node();
|
||||
var import_before_after_hook = require_before_after_hook();
|
||||
var import_request = require_dist_node5();
|
||||
var import_graphql = require_dist_node9();
|
||||
var import_auth_token = require_dist_node10();
|
||||
var VERSION = "5.2.0";
|
||||
var VERSION = "5.2.2";
|
||||
var noop = () => {
|
||||
};
|
||||
var consoleWarn = console.warn.bind(console);
|
||||
var consoleError = console.error.bind(console);
|
||||
function createLogger(logger = {}) {
|
||||
if (typeof logger.debug !== "function") {
|
||||
logger.debug = noop;
|
||||
}
|
||||
if (typeof logger.info !== "function") {
|
||||
logger.info = noop;
|
||||
}
|
||||
if (typeof logger.warn !== "function") {
|
||||
logger.warn = consoleWarn;
|
||||
}
|
||||
if (typeof logger.error !== "function") {
|
||||
logger.error = consoleError;
|
||||
}
|
||||
return logger;
|
||||
}
|
||||
var userAgentTrail = `octokit-core.js/${VERSION} ${(0, import_universal_user_agent.getUserAgent)()}`;
|
||||
var Octokit = class {
|
||||
static {
|
||||
@@ -42302,15 +42318,7 @@ var require_dist_node11 = __commonJS({
|
||||
}
|
||||
this.request = import_request.request.defaults(requestDefaults);
|
||||
this.graphql = (0, import_graphql.withCustomRequest)(this.request).defaults(requestDefaults);
|
||||
this.log = Object.assign(
|
||||
{
|
||||
debug: noop,
|
||||
info: noop,
|
||||
warn: consoleWarn,
|
||||
error: consoleError
|
||||
},
|
||||
options.log
|
||||
);
|
||||
this.log = createLogger(options.log);
|
||||
this.hook = hook;
|
||||
if (!options.authStrategy) {
|
||||
if (!options.auth) {
|
||||
@@ -45020,7 +45028,7 @@ var require_package = __commonJS({
|
||||
},
|
||||
license: "MIT",
|
||||
dependencies: {
|
||||
"@actions/artifact": "^2.3.1",
|
||||
"@actions/artifact": "^4.0.0",
|
||||
"@actions/artifact-legacy": "npm:@actions/artifact@^1.1.2",
|
||||
"@actions/cache": "^4.1.0",
|
||||
"@actions/core": "^1.11.1",
|
||||
|
||||
Generated
+22
-14
@@ -21143,6 +21143,7 @@ var require_context = __commonJS({
|
||||
this.action = process.env.GITHUB_ACTION;
|
||||
this.actor = process.env.GITHUB_ACTOR;
|
||||
this.job = process.env.GITHUB_JOB;
|
||||
this.runAttempt = parseInt(process.env.GITHUB_RUN_ATTEMPT, 10);
|
||||
this.runNumber = parseInt(process.env.GITHUB_RUN_NUMBER, 10);
|
||||
this.runId = parseInt(process.env.GITHUB_RUN_ID, 10);
|
||||
this.apiUrl = (_a = process.env.GITHUB_API_URL) !== null && _a !== void 0 ? _a : `https://api.github.com`;
|
||||
@@ -23045,21 +23046,36 @@ var require_dist_node11 = __commonJS({
|
||||
return to;
|
||||
};
|
||||
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
||||
var dist_src_exports = {};
|
||||
__export2(dist_src_exports, {
|
||||
var index_exports = {};
|
||||
__export2(index_exports, {
|
||||
Octokit: () => Octokit
|
||||
});
|
||||
module2.exports = __toCommonJS2(dist_src_exports);
|
||||
module2.exports = __toCommonJS2(index_exports);
|
||||
var import_universal_user_agent = require_dist_node();
|
||||
var import_before_after_hook = require_before_after_hook();
|
||||
var import_request = require_dist_node5();
|
||||
var import_graphql = require_dist_node9();
|
||||
var import_auth_token = require_dist_node10();
|
||||
var VERSION = "5.2.0";
|
||||
var VERSION = "5.2.2";
|
||||
var noop2 = () => {
|
||||
};
|
||||
var consoleWarn = console.warn.bind(console);
|
||||
var consoleError = console.error.bind(console);
|
||||
function createLogger(logger = {}) {
|
||||
if (typeof logger.debug !== "function") {
|
||||
logger.debug = noop2;
|
||||
}
|
||||
if (typeof logger.info !== "function") {
|
||||
logger.info = noop2;
|
||||
}
|
||||
if (typeof logger.warn !== "function") {
|
||||
logger.warn = consoleWarn;
|
||||
}
|
||||
if (typeof logger.error !== "function") {
|
||||
logger.error = consoleError;
|
||||
}
|
||||
return logger;
|
||||
}
|
||||
var userAgentTrail = `octokit-core.js/${VERSION} ${(0, import_universal_user_agent.getUserAgent)()}`;
|
||||
var Octokit = class {
|
||||
static {
|
||||
@@ -23133,15 +23149,7 @@ var require_dist_node11 = __commonJS({
|
||||
}
|
||||
this.request = import_request.request.defaults(requestDefaults);
|
||||
this.graphql = (0, import_graphql.withCustomRequest)(this.request).defaults(requestDefaults);
|
||||
this.log = Object.assign(
|
||||
{
|
||||
debug: noop2,
|
||||
info: noop2,
|
||||
warn: consoleWarn,
|
||||
error: consoleError
|
||||
},
|
||||
options.log
|
||||
);
|
||||
this.log = createLogger(options.log);
|
||||
this.hook = hook;
|
||||
if (!options.authStrategy) {
|
||||
if (!options.auth) {
|
||||
@@ -33630,7 +33638,7 @@ var require_package = __commonJS({
|
||||
},
|
||||
license: "MIT",
|
||||
dependencies: {
|
||||
"@actions/artifact": "^2.3.1",
|
||||
"@actions/artifact": "^4.0.0",
|
||||
"@actions/artifact-legacy": "npm:@actions/artifact@^1.1.2",
|
||||
"@actions/cache": "^4.1.0",
|
||||
"@actions/core": "^1.11.1",
|
||||
|
||||
Generated
+564
-5634
File diff suppressed because one or more lines are too long
Generated
+22
-14
@@ -19846,6 +19846,7 @@ var require_context = __commonJS({
|
||||
this.action = process.env.GITHUB_ACTION;
|
||||
this.actor = process.env.GITHUB_ACTOR;
|
||||
this.job = process.env.GITHUB_JOB;
|
||||
this.runAttempt = parseInt(process.env.GITHUB_RUN_ATTEMPT, 10);
|
||||
this.runNumber = parseInt(process.env.GITHUB_RUN_NUMBER, 10);
|
||||
this.runId = parseInt(process.env.GITHUB_RUN_ID, 10);
|
||||
this.apiUrl = (_a = process.env.GITHUB_API_URL) !== null && _a !== void 0 ? _a : `https://api.github.com`;
|
||||
@@ -21748,21 +21749,36 @@ var require_dist_node11 = __commonJS({
|
||||
return to;
|
||||
};
|
||||
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
||||
var dist_src_exports = {};
|
||||
__export2(dist_src_exports, {
|
||||
var index_exports = {};
|
||||
__export2(index_exports, {
|
||||
Octokit: () => Octokit
|
||||
});
|
||||
module2.exports = __toCommonJS2(dist_src_exports);
|
||||
module2.exports = __toCommonJS2(index_exports);
|
||||
var import_universal_user_agent = require_dist_node();
|
||||
var import_before_after_hook = require_before_after_hook();
|
||||
var import_request = require_dist_node5();
|
||||
var import_graphql = require_dist_node9();
|
||||
var import_auth_token = require_dist_node10();
|
||||
var VERSION = "5.2.0";
|
||||
var VERSION = "5.2.2";
|
||||
var noop2 = () => {
|
||||
};
|
||||
var consoleWarn = console.warn.bind(console);
|
||||
var consoleError = console.error.bind(console);
|
||||
function createLogger(logger = {}) {
|
||||
if (typeof logger.debug !== "function") {
|
||||
logger.debug = noop2;
|
||||
}
|
||||
if (typeof logger.info !== "function") {
|
||||
logger.info = noop2;
|
||||
}
|
||||
if (typeof logger.warn !== "function") {
|
||||
logger.warn = consoleWarn;
|
||||
}
|
||||
if (typeof logger.error !== "function") {
|
||||
logger.error = consoleError;
|
||||
}
|
||||
return logger;
|
||||
}
|
||||
var userAgentTrail = `octokit-core.js/${VERSION} ${(0, import_universal_user_agent.getUserAgent)()}`;
|
||||
var Octokit = class {
|
||||
static {
|
||||
@@ -21836,15 +21852,7 @@ var require_dist_node11 = __commonJS({
|
||||
}
|
||||
this.request = import_request.request.defaults(requestDefaults);
|
||||
this.graphql = (0, import_graphql.withCustomRequest)(this.request).defaults(requestDefaults);
|
||||
this.log = Object.assign(
|
||||
{
|
||||
debug: noop2,
|
||||
info: noop2,
|
||||
warn: consoleWarn,
|
||||
error: consoleError
|
||||
},
|
||||
options.log
|
||||
);
|
||||
this.log = createLogger(options.log);
|
||||
this.hook = hook;
|
||||
if (!options.authStrategy) {
|
||||
if (!options.auth) {
|
||||
@@ -32333,7 +32341,7 @@ var require_package = __commonJS({
|
||||
},
|
||||
license: "MIT",
|
||||
dependencies: {
|
||||
"@actions/artifact": "^2.3.1",
|
||||
"@actions/artifact": "^4.0.0",
|
||||
"@actions/artifact-legacy": "npm:@actions/artifact@^1.1.2",
|
||||
"@actions/cache": "^4.1.0",
|
||||
"@actions/core": "^1.11.1",
|
||||
|
||||
Reference in New Issue
Block a user