@@ -13532,7 +13532,7 @@ const github = __importStar(__nccwpck_require__(5438));
1353213532const toolCache = __importStar(__nccwpck_require__(7784));
1353313533const core = __importStar(__nccwpck_require__(2186));
1353413534const exec = __importStar(__nccwpck_require__(1514));
13535- const rest_1 = __nccwpck_require__(6080 );
13535+ const rest_1 = __nccwpck_require__(4567 );
1353613536// Define constants
1353713537const PATCHER_ORG = core.getInput("github_org") || "gruntwork-io";
1353813538const PATCHER_GIT_REPO = core.getInput("patcher_git_repo") || "patcher-cli";
@@ -14405,7 +14405,7 @@ __webpack_unused_export__ = defaultContentType
1440514405
1440614406/***/ }),
1440714407
14408- /***/ 6080 :
14408+ /***/ 4567 :
1440914409/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __nccwpck_require__) => {
1441014410
1441114411"use strict";
@@ -14577,15 +14577,30 @@ function Collection() {
1457714577
1457814578/* harmony default export */ const before_after_hook = ({ Singular, Collection });
1457914579
14580- ;// CONCATENATED MODULE: ./node_modules/@octokit/core/node_modules/@octokit/endpoint/dist-bundle/index.js
14580+ ;// CONCATENATED MODULE: ./node_modules/@octokit/endpoint/node_modules/universal-user-agent/index.js
14581+ function universal_user_agent_getUserAgent() {
14582+ if (typeof navigator === "object" && "userAgent" in navigator) {
14583+ return navigator.userAgent;
14584+ }
14585+
14586+ if (typeof process === "object" && process.version !== undefined) {
14587+ return `Node.js/${process.version.substr(1)} (${process.platform}; ${
14588+ process.arch
14589+ })`;
14590+ }
14591+
14592+ return "<environment undetectable>";
14593+ }
14594+
14595+ ;// CONCATENATED MODULE: ./node_modules/@octokit/endpoint/dist-bundle/index.js
1458114596// pkg/dist-src/defaults.js
1458214597
1458314598
1458414599// pkg/dist-src/version.js
1458514600var VERSION = "0.0.0-development";
1458614601
1458714602// pkg/dist-src/defaults.js
14588- var userAgent = `octokit-endpoint.js/${VERSION} ${getUserAgent ()}`;
14603+ var userAgent = `octokit-endpoint.js/${VERSION} ${universal_user_agent_getUserAgent ()}`;
1458914604var DEFAULTS = {
1459014605 method: "GET",
1459114606 baseUrl: "https://api.github.com",
@@ -14923,9 +14938,24 @@ function withDefaults(oldDefaults, newDefaults) {
1492314938var endpoint = withDefaults(null, DEFAULTS);
1492414939
1492514940
14941+ ;// CONCATENATED MODULE: ./node_modules/@octokit/request/node_modules/universal-user-agent/index.js
14942+ function node_modules_universal_user_agent_getUserAgent() {
14943+ if (typeof navigator === "object" && "userAgent" in navigator) {
14944+ return navigator.userAgent;
14945+ }
14946+
14947+ if (typeof process === "object" && process.version !== undefined) {
14948+ return `Node.js/${process.version.substr(1)} (${process.platform}; ${
14949+ process.arch
14950+ })`;
14951+ }
14952+
14953+ return "<environment undetectable>";
14954+ }
14955+
1492614956// EXTERNAL MODULE: ./node_modules/fast-content-type-parse/index.js
1492714957var fast_content_type_parse = __nccwpck_require__(7263);
14928- ;// CONCATENATED MODULE: ./node_modules/@octokit/core /node_modules/@octokit/request-error/dist-src/index.js
14958+ ;// CONCATENATED MODULE: ./node_modules/@octokit/request /node_modules/@octokit/request-error/dist-src/index.js
1492914959class RequestError extends Error {
1493014960 name;
1493114961 /**
@@ -14965,7 +14995,7 @@ class RequestError extends Error {
1496514995}
1496614996
1496714997
14968- ;// CONCATENATED MODULE: ./node_modules/@octokit/core/node_modules/@octokit/ request/dist-bundle/index.js
14998+ ;// CONCATENATED MODULE: ./node_modules/@octokit/request/dist-bundle/index.js
1496914999// pkg/dist-src/index.js
1497015000
1497115001
@@ -14978,7 +15008,7 @@ var dist_bundle_VERSION = "10.0.3";
1497815008// pkg/dist-src/defaults.js
1497915009var defaults_default = {
1498015010 headers: {
14981- "user-agent": `octokit-request.js/${dist_bundle_VERSION} ${getUserAgent ()}`
15011+ "user-agent": `octokit-request.js/${dist_bundle_VERSION} ${node_modules_universal_user_agent_getUserAgent ()}`
1498215012 }
1498315013};
1498415014
@@ -15161,7 +15191,22 @@ function dist_bundle_withDefaults(oldEndpoint, newDefaults) {
1516115191var request = dist_bundle_withDefaults(endpoint, defaults_default);
1516215192
1516315193
15164- ;// CONCATENATED MODULE: ./node_modules/@octokit/core/node_modules/@octokit/graphql/dist-bundle/index.js
15194+ ;// CONCATENATED MODULE: ./node_modules/@octokit/graphql/node_modules/universal-user-agent/index.js
15195+ function graphql_node_modules_universal_user_agent_getUserAgent() {
15196+ if (typeof navigator === "object" && "userAgent" in navigator) {
15197+ return navigator.userAgent;
15198+ }
15199+
15200+ if (typeof process === "object" && process.version !== undefined) {
15201+ return `Node.js/${process.version.substr(1)} (${process.platform}; ${
15202+ process.arch
15203+ })`;
15204+ }
15205+
15206+ return "<environment undetectable>";
15207+ }
15208+
15209+ ;// CONCATENATED MODULE: ./node_modules/@octokit/graphql/dist-bundle/index.js
1516515210// pkg/dist-src/index.js
1516615211
1516715212
@@ -15275,7 +15320,7 @@ function graphql_dist_bundle_withDefaults(request2, newDefaults) {
1527515320// pkg/dist-src/index.js
1527615321var graphql2 = graphql_dist_bundle_withDefaults(request, {
1527715322 headers: {
15278- "user-agent": `octokit-graphql.js/${graphql_dist_bundle_VERSION} ${getUserAgent ()}`
15323+ "user-agent": `octokit-graphql.js/${graphql_dist_bundle_VERSION} ${graphql_node_modules_universal_user_agent_getUserAgent ()}`
1527915324 },
1528015325 method: "POST",
1528115326 url: "/graphql"
@@ -15288,7 +15333,7 @@ function withCustomRequest(customRequest) {
1528815333}
1528915334
1529015335
15291- ;// CONCATENATED MODULE: ./node_modules/@octokit/core/node_modules/@octokit/ auth-token/dist-bundle/index.js
15336+ ;// CONCATENATED MODULE: ./node_modules/@octokit/auth-token/dist-bundle/index.js
1529215337// pkg/dist-src/is-jwt.js
1529315338var b64url = "(?:[a-zA-Z0-9_-]+)";
1529415339var sep = "\\.";
0 commit comments