mirror of
https://github.com/astral-sh/setup-uv.git
synced 2025-09-05 19:46:55 +00:00
bump dependencies (#516)
This commit is contained in:
committed by
GitHub
parent
4109b4033f
commit
c35b8eac36
27
dist/setup/index.js
generated
vendored
27
dist/setup/index.js
generated
vendored
@ -131245,7 +131245,7 @@ var createTokenAuth = function createTokenAuth2(token) {
|
||||
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@octokit/core/dist-src/version.js
|
||||
const version_VERSION = "7.0.2";
|
||||
const version_VERSION = "7.0.3";
|
||||
|
||||
|
||||
;// CONCATENATED MODULE: ./node_modules/@octokit/core/dist-src/index.js
|
||||
@ -131259,6 +131259,21 @@ const noop = () => {
|
||||
};
|
||||
const consoleWarn = console.warn.bind(console);
|
||||
const 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;
|
||||
}
|
||||
const userAgentTrail = `octokit-core.js/${version_VERSION} ${getUserAgent()}`;
|
||||
class Octokit {
|
||||
static VERSION = version_VERSION;
|
||||
@ -131326,15 +131341,7 @@ class Octokit {
|
||||
}
|
||||
this.request = request.defaults(requestDefaults);
|
||||
this.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) {
|
||||
|
Reference in New Issue
Block a user