Bump typescript from 5.4.5 to 5.5.4 (#30)

This commit is contained in:
dependabot[bot] 2024-09-05 09:30:29 -04:00 committed by GitHub
parent b3cf8231d5
commit 902c4a5691
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 23 additions and 30 deletions

12
dist/save-cache/index.js generated vendored
View File

@ -82788,7 +82788,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.restoreCache = exports.STATE_CACHE_MATCHED_KEY = exports.STATE_CACHE_KEY = void 0;
exports.STATE_CACHE_MATCHED_KEY = exports.STATE_CACHE_KEY = void 0;
exports.restoreCache = restoreCache;
const cache = __importStar(__nccwpck_require__(7799));
const glob = __importStar(__nccwpck_require__(8090));
const core = __importStar(__nccwpck_require__(2186));
@ -82816,7 +82817,6 @@ function restoreCache(version) {
handleMatchResult(matchedKey, cacheKey);
});
}
exports.restoreCache = restoreCache;
function computeKeys(version) {
return __awaiter(this, void 0, void 0, function* () {
let cacheDependencyPathHash = "-";
@ -82886,7 +82886,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
});
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.run = void 0;
exports.run = run;
const cache = __importStar(__nccwpck_require__(7799));
const core = __importStar(__nccwpck_require__(2186));
const exec = __importStar(__nccwpck_require__(1514));
@ -82906,7 +82906,6 @@ function run() {
process.exit(0);
});
}
exports.run = run;
function saveCache() {
return __awaiter(this, void 0, void 0, function* () {
const cacheKey = core.getState(restore_cache_1.STATE_CACHE_KEY);
@ -82988,7 +82987,8 @@ exports.cacheDependencyGlob = core.getInput("cache-dependency-glob");
"use strict";
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.getPlatform = exports.getArch = void 0;
exports.getArch = getArch;
exports.getPlatform = getPlatform;
function getArch() {
const arch = process.arch;
const archMapping = {
@ -83000,7 +83000,6 @@ function getArch() {
return archMapping[arch];
}
}
exports.getArch = getArch;
function getPlatform() {
const platform = process.platform;
const platformMapping = {
@ -83012,7 +83011,6 @@ function getPlatform() {
return platformMapping[platform];
}
}
exports.getPlatform = getPlatform;
/***/ }),

22
dist/setup/index.js generated vendored
View File

@ -83685,7 +83685,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.restoreCache = exports.STATE_CACHE_MATCHED_KEY = exports.STATE_CACHE_KEY = void 0;
exports.STATE_CACHE_MATCHED_KEY = exports.STATE_CACHE_KEY = void 0;
exports.restoreCache = restoreCache;
const cache = __importStar(__nccwpck_require__(7799));
const glob = __importStar(__nccwpck_require__(8090));
const core = __importStar(__nccwpck_require__(2186));
@ -83713,7 +83714,6 @@ function restoreCache(version) {
handleMatchResult(matchedKey, cacheKey);
});
}
exports.restoreCache = restoreCache;
function computeKeys(version) {
return __awaiter(this, void 0, void 0, function* () {
let cacheDependencyPathHash = "-";
@ -83783,7 +83783,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
});
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.isknownVersion = exports.validateChecksum = void 0;
exports.validateChecksum = validateChecksum;
exports.isknownVersion = isknownVersion;
const fs = __importStar(__nccwpck_require__(7147));
const crypto = __importStar(__nccwpck_require__(6113));
const core = __importStar(__nccwpck_require__(2186));
@ -83812,7 +83813,6 @@ function validateChecksum(checkSum, downloadPath, arch, platform, version) {
core.debug(`Checksum for ${downloadPath} is valid.`);
});
}
exports.validateChecksum = validateChecksum;
function validateFileCheckSum(filePath, expected) {
return __awaiter(this, void 0, void 0, function* () {
return new Promise((resolve, reject) => {
@ -83831,7 +83831,6 @@ function isknownVersion(version) {
const pattern = new RegExp(`^.*-.*-${version}$`);
return Object.keys(known_checksums_1.KNOWN_CHECKSUMS).some((key) => pattern.test(key));
}
exports.isknownVersion = isknownVersion;
/***/ }),
@ -85538,7 +85537,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
});
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.downloadLatest = void 0;
exports.downloadLatest = downloadLatest;
const core = __importStar(__nccwpck_require__(2186));
const tc = __importStar(__nccwpck_require__(7784));
const exec = __importStar(__nccwpck_require__(1514));
@ -85575,7 +85574,6 @@ function downloadLatest(platform, arch, checkSum, githubToken) {
return { cachedToolDir, version };
});
}
exports.downloadLatest = downloadLatest;
function getVersion(uvExecutablePath) {
return __awaiter(this, void 0, void 0, function* () {
// Parse the output of `uv --version` to get the version
@ -85638,7 +85636,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
});
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.downloadVersion = exports.tryGetFromToolCache = void 0;
exports.tryGetFromToolCache = tryGetFromToolCache;
exports.downloadVersion = downloadVersion;
const core = __importStar(__nccwpck_require__(2186));
const tc = __importStar(__nccwpck_require__(7784));
const path = __importStar(__nccwpck_require__(1017));
@ -85650,7 +85649,6 @@ function tryGetFromToolCache(arch, version) {
core.debug(`Cached versions: ${cachedVersions}`);
return tc.find(utils_1.TOOL_CACHE_NAME, version, arch);
}
exports.tryGetFromToolCache = tryGetFromToolCache;
function downloadVersion(platform, arch, version, checkSum, githubToken) {
return __awaiter(this, void 0, void 0, function* () {
const artifact = `uv-${arch}-${platform}`;
@ -85676,7 +85674,6 @@ function downloadVersion(platform, arch, version, checkSum, githubToken) {
return yield tc.cacheDir(uvDir, utils_1.TOOL_CACHE_NAME, version, arch);
});
}
exports.downloadVersion = downloadVersion;
/***/ }),
@ -85840,7 +85837,8 @@ exports.cacheDependencyGlob = core.getInput("cache-dependency-glob");
"use strict";
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.getPlatform = exports.getArch = void 0;
exports.getArch = getArch;
exports.getPlatform = getPlatform;
function getArch() {
const arch = process.arch;
const archMapping = {
@ -85852,7 +85850,6 @@ function getArch() {
return archMapping[arch];
}
}
exports.getArch = getArch;
function getPlatform() {
const platform = process.platform;
const platformMapping = {
@ -85864,7 +85861,6 @@ function getPlatform() {
return platformMapping[platform];
}
}
exports.getPlatform = getPlatform;
/***/ }),

View File

@ -32707,7 +32707,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
});
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.updateChecksums = void 0;
exports.updateChecksums = updateChecksums;
const fs_1 = __nccwpck_require__(7147);
const tc = __importStar(__nccwpck_require__(7784));
function updateChecksums(filePath, downloadUrls) {
@ -32728,7 +32728,6 @@ function updateChecksums(filePath, downloadUrls) {
yield fs_1.promises.appendFile(filePath, "}\n");
});
}
exports.updateChecksums = updateChecksums;
function getKey(downloadUrl) {
// https://github.com/astral-sh/uv/releases/download/0.3.2/uv-aarch64-apple-darwin.tar.gz.sha256
const parts = downloadUrl.split("/");

14
package-lock.json generated
View File

@ -33,7 +33,7 @@
"js-yaml": "^4.1.0",
"prettier": "^3.3.3",
"ts-jest": "^29.2.5",
"typescript": "^5.4.5"
"typescript": "^5.5.4"
}
},
"node_modules/@aashutoshrathi/word-wrap": {
@ -7558,9 +7558,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.4",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz",
"integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==",
"dev": true,
"bin": {
"tsc": "bin/tsc",
@ -13472,9 +13472,9 @@
}
},
"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.4",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz",
"integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==",
"dev": true
},
"unbox-primitive": {

View File

@ -52,6 +52,6 @@
"js-yaml": "^4.1.0",
"prettier": "^3.3.3",
"ts-jest": "^29.2.5",
"typescript": "^5.4.5"
"typescript": "^5.5.4"
}
}