Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): Bump typescript from 5.4.5 to 5.5.2 #462

Merged
merged 1 commit into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions dist/restore/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand All @@ -59544,31 +59551,26 @@ 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)
.split("\n")
.map((s) => s.replace(/^!\s+/, "!").trim())
.filter((x) => x !== "");
}
exports.getInputAsArray = getInputAsArray;
function isCacheFeatureAvailable() {
if (cache.isFeatureAvailable()) {
return true;
Expand All @@ -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 = [];
Expand All @@ -59595,7 +59595,6 @@ async function getBuildOutputPaths() {
}
return buildOutputPaths;
}
exports.getBuildOutputPaths = getBuildOutputPaths;


/***/ }),
Expand Down
17 changes: 8 additions & 9 deletions dist/save/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand All @@ -59536,31 +59543,26 @@ 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)
.split("\n")
.map((s) => s.replace(/^!\s+/, "!").trim())
.filter((x) => x !== "");
}
exports.getInputAsArray = getInputAsArray;
function isCacheFeatureAvailable() {
if (cache.isFeatureAvailable()) {
return true;
Expand All @@ -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 = [];
Expand All @@ -59587,7 +59587,6 @@ async function getBuildOutputPaths() {
}
return buildOutputPaths;
}
exports.getBuildOutputPaths = getBuildOutputPaths;


/***/ }),
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down