diff --git a/dist/restore/index.js b/dist/restore/index.js index 4428fea..cf7212e 100644 --- a/dist/restore/index.js +++ b/dist/restore/index.js @@ -59534,7 +59534,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.getBuildOutputPaths = exports.setConditionalPageBuild = exports.isCacheFeatureAvailable = exports.getInputAsArray = exports.isValidEvent = exports.logWarning = exports.isExactKeyMatch = exports.isGhes = void 0; +exports.isGhes = isGhes; +exports.isExactKeyMatch = isExactKeyMatch; +exports.logWarning = logWarning; +exports.isValidEvent = isValidEvent; +exports.getInputAsArray = getInputAsArray; +exports.isCacheFeatureAvailable = isCacheFeatureAvailable; +exports.setConditionalPageBuild = setConditionalPageBuild; +exports.getBuildOutputPaths = getBuildOutputPaths; const cache = __importStar(__nccwpck_require__(7799)); const core = __importStar(__nccwpck_require__(2186)); const path_1 = __importDefault(__nccwpck_require__(1017)); @@ -59544,23 +59551,19 @@ function isGhes() { const ghUrl = new URL(url); return ghUrl.hostname.toUpperCase() !== "GITHUB.COM"; } -exports.isGhes = isGhes; function isExactKeyMatch(key, cacheKey) { return !!(cacheKey && cacheKey.localeCompare(key, undefined, { sensitivity: "accent", }) === 0); } -exports.isExactKeyMatch = isExactKeyMatch; function logWarning(message) { const warningPrefix = "[warning]"; core.info(`${warningPrefix}${message}`); } -exports.logWarning = logWarning; function isValidEvent() { return constants_1.RefKey in process.env && Boolean(process.env[constants_1.RefKey]); } -exports.isValidEvent = isValidEvent; function getInputAsArray(name, options) { return core .getInput(name, options) @@ -59568,7 +59571,6 @@ function getInputAsArray(name, options) { .map((s) => s.replace(/^!\s+/, "!").trim()) .filter((x) => x !== ""); } -exports.getInputAsArray = getInputAsArray; function isCacheFeatureAvailable() { if (cache.isFeatureAvailable()) { return true; @@ -59581,12 +59583,10 @@ Otherwise please upgrade to GHES version >= 3.5 and If you are also using Github logWarning("An internal error has occurred in cache backend. Please check https://www.githubstatus.com/ for any ongoing issue in actions."); return false; } -exports.isCacheFeatureAvailable = isCacheFeatureAvailable; function setConditionalPageBuild() { process.env[constants_1.Gatsby.Env] = "true"; core.debug(`Set ${constants_1.Gatsby.Env}=${process.env[constants_1.Gatsby.Env]}`); } -exports.setConditionalPageBuild = setConditionalPageBuild; async function getBuildOutputPaths() { const targetPaths = [constants_1.Gatsby.CacheDir, constants_1.Gatsby.PublicDir]; const buildOutputPaths = []; @@ -59595,7 +59595,6 @@ async function getBuildOutputPaths() { } return buildOutputPaths; } -exports.getBuildOutputPaths = getBuildOutputPaths; /***/ }), diff --git a/dist/save/index.js b/dist/save/index.js index 142a442..e075b74 100644 --- a/dist/save/index.js +++ b/dist/save/index.js @@ -59526,7 +59526,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.getBuildOutputPaths = exports.setConditionalPageBuild = exports.isCacheFeatureAvailable = exports.getInputAsArray = exports.isValidEvent = exports.logWarning = exports.isExactKeyMatch = exports.isGhes = void 0; +exports.isGhes = isGhes; +exports.isExactKeyMatch = isExactKeyMatch; +exports.logWarning = logWarning; +exports.isValidEvent = isValidEvent; +exports.getInputAsArray = getInputAsArray; +exports.isCacheFeatureAvailable = isCacheFeatureAvailable; +exports.setConditionalPageBuild = setConditionalPageBuild; +exports.getBuildOutputPaths = getBuildOutputPaths; const cache = __importStar(__nccwpck_require__(7799)); const core = __importStar(__nccwpck_require__(2186)); const path_1 = __importDefault(__nccwpck_require__(1017)); @@ -59536,23 +59543,19 @@ function isGhes() { const ghUrl = new URL(url); return ghUrl.hostname.toUpperCase() !== "GITHUB.COM"; } -exports.isGhes = isGhes; function isExactKeyMatch(key, cacheKey) { return !!(cacheKey && cacheKey.localeCompare(key, undefined, { sensitivity: "accent", }) === 0); } -exports.isExactKeyMatch = isExactKeyMatch; function logWarning(message) { const warningPrefix = "[warning]"; core.info(`${warningPrefix}${message}`); } -exports.logWarning = logWarning; function isValidEvent() { return constants_1.RefKey in process.env && Boolean(process.env[constants_1.RefKey]); } -exports.isValidEvent = isValidEvent; function getInputAsArray(name, options) { return core .getInput(name, options) @@ -59560,7 +59563,6 @@ function getInputAsArray(name, options) { .map((s) => s.replace(/^!\s+/, "!").trim()) .filter((x) => x !== ""); } -exports.getInputAsArray = getInputAsArray; function isCacheFeatureAvailable() { if (cache.isFeatureAvailable()) { return true; @@ -59573,12 +59575,10 @@ Otherwise please upgrade to GHES version >= 3.5 and If you are also using Github logWarning("An internal error has occurred in cache backend. Please check https://www.githubstatus.com/ for any ongoing issue in actions."); return false; } -exports.isCacheFeatureAvailable = isCacheFeatureAvailable; function setConditionalPageBuild() { process.env[constants_1.Gatsby.Env] = "true"; core.debug(`Set ${constants_1.Gatsby.Env}=${process.env[constants_1.Gatsby.Env]}`); } -exports.setConditionalPageBuild = setConditionalPageBuild; async function getBuildOutputPaths() { const targetPaths = [constants_1.Gatsby.CacheDir, constants_1.Gatsby.PublicDir]; const buildOutputPaths = []; @@ -59587,7 +59587,6 @@ async function getBuildOutputPaths() { } return buildOutputPaths; } -exports.getBuildOutputPaths = getBuildOutputPaths; /***/ }), diff --git a/package-lock.json b/package-lock.json index e01e798..0835e0e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,7 @@ "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.3", "prettier": "^3.3.2", - "typescript": "^5.4.5" + "typescript": "^5.5.2" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -2508,9 +2508,9 @@ } }, "node_modules/typescript": { - "version": "5.4.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", - "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", + "version": "5.5.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.2.tgz", + "integrity": "sha512-NcRtPEOsPFFWjobJEtfihkLCZCXZt/os3zf8nTxjVH3RvTSxjrCamJpbExGvYOF+tFHc3pA65qpdwPbzjohhew==", "dev": true, "bin": { "tsc": "bin/tsc", diff --git a/package.json b/package.json index a968f3a..82f52d4 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.3", "prettier": "^3.3.2", - "typescript": "^5.4.5" + "typescript": "^5.5.2" }, "dependencies": { "@actions/cache": "^3.2.4",