Skip to content

Commit dad4362

Browse files
build(release): compiled action for 2.4.0
[skip ci]
1 parent bbedc70 commit dad4362

File tree

1 file changed

+16
-68
lines changed

1 file changed

+16
-68
lines changed

dist/index.js

Lines changed: 16 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -56584,7 +56584,7 @@ module.exports = parseParams
5658456584

5658556585
/***/ }),
5658656586

56587-
/***/ 390:
56587+
/***/ 3998:
5658856588
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __nccwpck_require__) => {
5658956589

5659056590
"use strict";
@@ -56598,7 +56598,7 @@ __nccwpck_require__.d(__webpack_exports__, {
5659856598
"getProxyAgent": () => (/* binding */ getProxyAgent)
5659956599
});
5660056600

56601-
;// CONCATENATED MODULE: ./node_modules/@octokit/action/node_modules/universal-user-agent/index.js
56601+
;// CONCATENATED MODULE: ./node_modules/universal-user-agent/index.js
5660256602
function getUserAgent() {
5660356603
if (typeof navigator === "object" && "userAgent" in navigator) {
5660456604
return navigator.userAgent;
@@ -56613,7 +56613,7 @@ function getUserAgent() {
5661356613
return "<environment undetectable>";
5661456614
}
5661556615

56616-
;// CONCATENATED MODULE: ./node_modules/@octokit/action/node_modules/before-after-hook/lib/register.js
56616+
;// CONCATENATED MODULE: ./node_modules/before-after-hook/lib/register.js
5661756617
// @ts-check
5661856618

5661956619
function register(state, name, method, options) {
@@ -56642,7 +56642,7 @@ function register(state, name, method, options) {
5664256642
});
5664356643
}
5664456644

56645-
;// CONCATENATED MODULE: ./node_modules/@octokit/action/node_modules/before-after-hook/lib/add.js
56645+
;// CONCATENATED MODULE: ./node_modules/before-after-hook/lib/add.js
5664656646
// @ts-check
5664756647

5664856648
function addHook(state, kind, name, hook) {
@@ -56690,7 +56690,7 @@ function addHook(state, kind, name, hook) {
5669056690
});
5669156691
}
5669256692

56693-
;// CONCATENATED MODULE: ./node_modules/@octokit/action/node_modules/before-after-hook/lib/remove.js
56693+
;// CONCATENATED MODULE: ./node_modules/before-after-hook/lib/remove.js
5669456694
// @ts-check
5669556695

5669656696
function removeHook(state, name, method) {
@@ -56711,7 +56711,7 @@ function removeHook(state, name, method) {
5671156711
state.registry[name].splice(index, 1);
5671256712
}
5671356713

56714-
;// CONCATENATED MODULE: ./node_modules/@octokit/action/node_modules/before-after-hook/index.js
56714+
;// CONCATENATED MODULE: ./node_modules/before-after-hook/index.js
5671556715
// @ts-check
5671656716

5671756717

@@ -56758,7 +56758,7 @@ function Collection() {
5675856758

5675956759
/* harmony default export */ const before_after_hook = ({ Singular, Collection });
5676056760

56761-
;// CONCATENATED MODULE: ./node_modules/@octokit/action/node_modules/@octokit/endpoint/dist-bundle/index.js
56761+
;// CONCATENATED MODULE: ./node_modules/@octokit/endpoint/dist-bundle/index.js
5676256762
// pkg/dist-src/defaults.js
5676356763

5676456764

@@ -57109,7 +57109,7 @@ function withDefaults(oldDefaults, newDefaults) {
5710957109
var endpoint = withDefaults(null, DEFAULTS);
5711057110

5711157111

57112-
;// CONCATENATED MODULE: ./node_modules/@octokit/action/node_modules/@octokit/request-error/dist-src/index.js
57112+
;// CONCATENATED MODULE: ./node_modules/@octokit/request-error/dist-src/index.js
5711357113
class RequestError extends Error {
5711457114
name;
5711557115
/**
@@ -57149,7 +57149,7 @@ class RequestError extends Error {
5714957149
}
5715057150

5715157151

57152-
;// CONCATENATED MODULE: ./node_modules/@octokit/action/node_modules/@octokit/request/dist-bundle/index.js
57152+
;// CONCATENATED MODULE: ./node_modules/@octokit/request/dist-bundle/index.js
5715357153
// pkg/dist-src/index.js
5715457154

5715557155

@@ -57353,7 +57353,7 @@ var request = dist_bundle_withDefaults(endpoint, {
5735357353
});
5735457354

5735557355

57356-
;// CONCATENATED MODULE: ./node_modules/@octokit/action/node_modules/@octokit/graphql/dist-bundle/index.js
57356+
;// CONCATENATED MODULE: ./node_modules/@octokit/graphql/dist-bundle/index.js
5735757357
// pkg/dist-src/index.js
5735857358

5735957359

@@ -57480,7 +57480,7 @@ function withCustomRequest(customRequest) {
5748057480
}
5748157481

5748257482

57483-
;// CONCATENATED MODULE: ./node_modules/@octokit/action/node_modules/@octokit/auth-token/dist-bundle/index.js
57483+
;// CONCATENATED MODULE: ./node_modules/@octokit/auth-token/dist-bundle/index.js
5748457484
// pkg/dist-src/auth.js
5748557485
var REGEX_IS_INSTALLATION_LEGACY = /^v1\./;
5748657486
var REGEX_IS_INSTALLATION = /^ghs_/;
@@ -57532,11 +57532,11 @@ var createTokenAuth = function createTokenAuth2(token) {
5753257532
};
5753357533

5753457534

57535-
;// CONCATENATED MODULE: ./node_modules/@octokit/action/node_modules/@octokit/core/dist-src/version.js
57535+
;// CONCATENATED MODULE: ./node_modules/@octokit/core/dist-src/version.js
5753657536
const version_VERSION = "6.1.2";
5753757537

5753857538

57539-
;// CONCATENATED MODULE: ./node_modules/@octokit/action/node_modules/@octokit/core/dist-src/index.js
57539+
;// CONCATENATED MODULE: ./node_modules/@octokit/core/dist-src/index.js
5754057540

5754157541

5754257542

@@ -57670,58 +57670,6 @@ class Octokit {
5767057670
}
5767157671

5767257672

57673-
;// CONCATENATED MODULE: ./node_modules/@octokit/auth-action/node_modules/@octokit/auth-token/dist-bundle/index.js
57674-
// pkg/dist-src/auth.js
57675-
var dist_bundle_REGEX_IS_INSTALLATION_LEGACY = /^v1\./;
57676-
var dist_bundle_REGEX_IS_INSTALLATION = /^ghs_/;
57677-
var dist_bundle_REGEX_IS_USER_TO_SERVER = /^ghu_/;
57678-
async function dist_bundle_auth(token) {
57679-
const isApp = token.split(/\./).length === 3;
57680-
const isInstallation = dist_bundle_REGEX_IS_INSTALLATION_LEGACY.test(token) || dist_bundle_REGEX_IS_INSTALLATION.test(token);
57681-
const isUserToServer = dist_bundle_REGEX_IS_USER_TO_SERVER.test(token);
57682-
const tokenType = isApp ? "app" : isInstallation ? "installation" : isUserToServer ? "user-to-server" : "oauth";
57683-
return {
57684-
type: "token",
57685-
token,
57686-
tokenType
57687-
};
57688-
}
57689-
57690-
// pkg/dist-src/with-authorization-prefix.js
57691-
function dist_bundle_withAuthorizationPrefix(token) {
57692-
if (token.split(/\./).length === 3) {
57693-
return `bearer ${token}`;
57694-
}
57695-
return `token ${token}`;
57696-
}
57697-
57698-
// pkg/dist-src/hook.js
57699-
async function dist_bundle_hook(token, request, route, parameters) {
57700-
const endpoint = request.endpoint.merge(
57701-
route,
57702-
parameters
57703-
);
57704-
endpoint.headers.authorization = dist_bundle_withAuthorizationPrefix(token);
57705-
return request(endpoint);
57706-
}
57707-
57708-
// pkg/dist-src/index.js
57709-
var dist_bundle_createTokenAuth = function createTokenAuth2(token) {
57710-
if (!token) {
57711-
throw new Error("[@octokit/auth-token] No token passed to createTokenAuth");
57712-
}
57713-
if (typeof token !== "string") {
57714-
throw new Error(
57715-
"[@octokit/auth-token] Token passed to createTokenAuth is not a string"
57716-
);
57717-
}
57718-
token = token.replace(/^(token|bearer) +/i, "");
57719-
return Object.assign(dist_bundle_auth.bind(null, token), {
57720-
hook: dist_bundle_hook.bind(null, token)
57721-
});
57722-
};
57723-
57724-
5772557673
;// CONCATENATED MODULE: ./node_modules/@octokit/auth-action/dist-src/index.js
5772657674

5772757675
const createActionAuth = function createActionAuth2() {
@@ -57746,11 +57694,11 @@ const createActionAuth = function createActionAuth2() {
5774657694
);
5774757695
}
5774857696
const token = definitions.pop();
57749-
return dist_bundle_createTokenAuth(token);
57697+
return createTokenAuth(token);
5775057698
};
5775157699

5775257700

57753-
;// CONCATENATED MODULE: ./node_modules/@octokit/action/node_modules/@octokit/plugin-paginate-rest/dist-bundle/index.js
57701+
;// CONCATENATED MODULE: ./node_modules/@octokit/plugin-paginate-rest/dist-bundle/index.js
5775457702
// pkg/dist-src/version.js
5775557703
var plugin_paginate_rest_dist_bundle_VERSION = "0.0.0-development";
5775657704

@@ -60342,7 +60290,7 @@ const { inspect } = __nccwpck_require__(3837);
6034260290
const yaml = __nccwpck_require__(1917);
6034360291

6034460292
const core = __nccwpck_require__(2186);
60345-
const { Octokit } = __nccwpck_require__(390);
60293+
const { Octokit } = __nccwpck_require__(3998);
6034660294

6034760295
main();
6034860296

0 commit comments

Comments
 (0)