mirror of
				https://github.com/astral-sh/setup-uv.git
				synced 2025-10-30 22:46:46 +00:00 
			
		
		
		
	Bump typescript from 5.4.5 to 5.5.4 (#30)
This commit is contained in:
		
							
								
								
									
										12
									
								
								dist/save-cache/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								dist/save-cache/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -82788,7 +82788,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) { | |||||||
|     return (mod && mod.__esModule) ? mod : { "default": mod }; |     return (mod && mod.__esModule) ? mod : { "default": mod }; | ||||||
| }; | }; | ||||||
| Object.defineProperty(exports, "__esModule", ({ value: true })); | 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 cache = __importStar(__nccwpck_require__(7799)); | ||||||
| const glob = __importStar(__nccwpck_require__(8090)); | const glob = __importStar(__nccwpck_require__(8090)); | ||||||
| const core = __importStar(__nccwpck_require__(2186)); | const core = __importStar(__nccwpck_require__(2186)); | ||||||
| @@ -82816,7 +82817,6 @@ function restoreCache(version) { | |||||||
|         handleMatchResult(matchedKey, cacheKey); |         handleMatchResult(matchedKey, cacheKey); | ||||||
|     }); |     }); | ||||||
| } | } | ||||||
| exports.restoreCache = restoreCache; |  | ||||||
| function computeKeys(version) { | function computeKeys(version) { | ||||||
|     return __awaiter(this, void 0, void 0, function* () { |     return __awaiter(this, void 0, void 0, function* () { | ||||||
|         let cacheDependencyPathHash = "-"; |         let cacheDependencyPathHash = "-"; | ||||||
| @@ -82886,7 +82886,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge | |||||||
|     }); |     }); | ||||||
| }; | }; | ||||||
| Object.defineProperty(exports, "__esModule", ({ value: true })); | Object.defineProperty(exports, "__esModule", ({ value: true })); | ||||||
| exports.run = void 0; | exports.run = run; | ||||||
| const cache = __importStar(__nccwpck_require__(7799)); | const cache = __importStar(__nccwpck_require__(7799)); | ||||||
| const core = __importStar(__nccwpck_require__(2186)); | const core = __importStar(__nccwpck_require__(2186)); | ||||||
| const exec = __importStar(__nccwpck_require__(1514)); | const exec = __importStar(__nccwpck_require__(1514)); | ||||||
| @@ -82906,7 +82906,6 @@ function run() { | |||||||
|         process.exit(0); |         process.exit(0); | ||||||
|     }); |     }); | ||||||
| } | } | ||||||
| exports.run = run; |  | ||||||
| function saveCache() { | function saveCache() { | ||||||
|     return __awaiter(this, void 0, void 0, function* () { |     return __awaiter(this, void 0, void 0, function* () { | ||||||
|         const cacheKey = core.getState(restore_cache_1.STATE_CACHE_KEY); |         const cacheKey = core.getState(restore_cache_1.STATE_CACHE_KEY); | ||||||
| @@ -82988,7 +82987,8 @@ exports.cacheDependencyGlob = core.getInput("cache-dependency-glob"); | |||||||
| "use strict"; | "use strict"; | ||||||
| 
 | 
 | ||||||
| Object.defineProperty(exports, "__esModule", ({ value: true })); | Object.defineProperty(exports, "__esModule", ({ value: true })); | ||||||
| exports.getPlatform = exports.getArch = void 0; | exports.getArch = getArch; | ||||||
|  | exports.getPlatform = getPlatform; | ||||||
| function getArch() { | function getArch() { | ||||||
|     const arch = process.arch; |     const arch = process.arch; | ||||||
|     const archMapping = { |     const archMapping = { | ||||||
| @@ -83000,7 +83000,6 @@ function getArch() { | |||||||
|         return archMapping[arch]; |         return archMapping[arch]; | ||||||
|     } |     } | ||||||
| } | } | ||||||
| exports.getArch = getArch; |  | ||||||
| function getPlatform() { | function getPlatform() { | ||||||
|     const platform = process.platform; |     const platform = process.platform; | ||||||
|     const platformMapping = { |     const platformMapping = { | ||||||
| @@ -83012,7 +83011,6 @@ function getPlatform() { | |||||||
|         return platformMapping[platform]; |         return platformMapping[platform]; | ||||||
|     } |     } | ||||||
| } | } | ||||||
| exports.getPlatform = getPlatform; |  | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| /***/ }), | /***/ }), | ||||||
|   | |||||||
							
								
								
									
										22
									
								
								dist/setup/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										22
									
								
								dist/setup/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -83685,7 +83685,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) { | |||||||
|     return (mod && mod.__esModule) ? mod : { "default": mod }; |     return (mod && mod.__esModule) ? mod : { "default": mod }; | ||||||
| }; | }; | ||||||
| Object.defineProperty(exports, "__esModule", ({ value: true })); | 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 cache = __importStar(__nccwpck_require__(7799)); | ||||||
| const glob = __importStar(__nccwpck_require__(8090)); | const glob = __importStar(__nccwpck_require__(8090)); | ||||||
| const core = __importStar(__nccwpck_require__(2186)); | const core = __importStar(__nccwpck_require__(2186)); | ||||||
| @@ -83713,7 +83714,6 @@ function restoreCache(version) { | |||||||
|         handleMatchResult(matchedKey, cacheKey); |         handleMatchResult(matchedKey, cacheKey); | ||||||
|     }); |     }); | ||||||
| } | } | ||||||
| exports.restoreCache = restoreCache; |  | ||||||
| function computeKeys(version) { | function computeKeys(version) { | ||||||
|     return __awaiter(this, void 0, void 0, function* () { |     return __awaiter(this, void 0, void 0, function* () { | ||||||
|         let cacheDependencyPathHash = "-"; |         let cacheDependencyPathHash = "-"; | ||||||
| @@ -83783,7 +83783,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge | |||||||
|     }); |     }); | ||||||
| }; | }; | ||||||
| Object.defineProperty(exports, "__esModule", ({ value: true })); | 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 fs = __importStar(__nccwpck_require__(7147)); | ||||||
| const crypto = __importStar(__nccwpck_require__(6113)); | const crypto = __importStar(__nccwpck_require__(6113)); | ||||||
| const core = __importStar(__nccwpck_require__(2186)); | const core = __importStar(__nccwpck_require__(2186)); | ||||||
| @@ -83812,7 +83813,6 @@ function validateChecksum(checkSum, downloadPath, arch, platform, version) { | |||||||
|         core.debug(`Checksum for ${downloadPath} is valid.`); |         core.debug(`Checksum for ${downloadPath} is valid.`); | ||||||
|     }); |     }); | ||||||
| } | } | ||||||
| exports.validateChecksum = validateChecksum; |  | ||||||
| function validateFileCheckSum(filePath, expected) { | function validateFileCheckSum(filePath, expected) { | ||||||
|     return __awaiter(this, void 0, void 0, function* () { |     return __awaiter(this, void 0, void 0, function* () { | ||||||
|         return new Promise((resolve, reject) => { |         return new Promise((resolve, reject) => { | ||||||
| @@ -83831,7 +83831,6 @@ function isknownVersion(version) { | |||||||
|     const pattern = new RegExp(`^.*-.*-${version}$`); |     const pattern = new RegExp(`^.*-.*-${version}$`); | ||||||
|     return Object.keys(known_checksums_1.KNOWN_CHECKSUMS).some((key) => pattern.test(key)); |     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 })); | Object.defineProperty(exports, "__esModule", ({ value: true })); | ||||||
| exports.downloadLatest = void 0; | exports.downloadLatest = downloadLatest; | ||||||
| const core = __importStar(__nccwpck_require__(2186)); | const core = __importStar(__nccwpck_require__(2186)); | ||||||
| const tc = __importStar(__nccwpck_require__(7784)); | const tc = __importStar(__nccwpck_require__(7784)); | ||||||
| const exec = __importStar(__nccwpck_require__(1514)); | const exec = __importStar(__nccwpck_require__(1514)); | ||||||
| @@ -85575,7 +85574,6 @@ function downloadLatest(platform, arch, checkSum, githubToken) { | |||||||
|         return { cachedToolDir, version }; |         return { cachedToolDir, version }; | ||||||
|     }); |     }); | ||||||
| } | } | ||||||
| exports.downloadLatest = downloadLatest; |  | ||||||
| function getVersion(uvExecutablePath) { | function getVersion(uvExecutablePath) { | ||||||
|     return __awaiter(this, void 0, void 0, function* () { |     return __awaiter(this, void 0, void 0, function* () { | ||||||
|         // Parse the output of `uv --version` to get the version
 |         // 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 })); | 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 core = __importStar(__nccwpck_require__(2186)); | ||||||
| const tc = __importStar(__nccwpck_require__(7784)); | const tc = __importStar(__nccwpck_require__(7784)); | ||||||
| const path = __importStar(__nccwpck_require__(1017)); | const path = __importStar(__nccwpck_require__(1017)); | ||||||
| @@ -85650,7 +85649,6 @@ function tryGetFromToolCache(arch, version) { | |||||||
|     core.debug(`Cached versions: ${cachedVersions}`); |     core.debug(`Cached versions: ${cachedVersions}`); | ||||||
|     return tc.find(utils_1.TOOL_CACHE_NAME, version, arch); |     return tc.find(utils_1.TOOL_CACHE_NAME, version, arch); | ||||||
| } | } | ||||||
| exports.tryGetFromToolCache = tryGetFromToolCache; |  | ||||||
| function downloadVersion(platform, arch, version, checkSum, githubToken) { | function downloadVersion(platform, arch, version, checkSum, githubToken) { | ||||||
|     return __awaiter(this, void 0, void 0, function* () { |     return __awaiter(this, void 0, void 0, function* () { | ||||||
|         const artifact = `uv-${arch}-${platform}`; |         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); |         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"; | "use strict"; | ||||||
| 
 | 
 | ||||||
| Object.defineProperty(exports, "__esModule", ({ value: true })); | Object.defineProperty(exports, "__esModule", ({ value: true })); | ||||||
| exports.getPlatform = exports.getArch = void 0; | exports.getArch = getArch; | ||||||
|  | exports.getPlatform = getPlatform; | ||||||
| function getArch() { | function getArch() { | ||||||
|     const arch = process.arch; |     const arch = process.arch; | ||||||
|     const archMapping = { |     const archMapping = { | ||||||
| @@ -85852,7 +85850,6 @@ function getArch() { | |||||||
|         return archMapping[arch]; |         return archMapping[arch]; | ||||||
|     } |     } | ||||||
| } | } | ||||||
| exports.getArch = getArch; |  | ||||||
| function getPlatform() { | function getPlatform() { | ||||||
|     const platform = process.platform; |     const platform = process.platform; | ||||||
|     const platformMapping = { |     const platformMapping = { | ||||||
| @@ -85864,7 +85861,6 @@ function getPlatform() { | |||||||
|         return platformMapping[platform]; |         return platformMapping[platform]; | ||||||
|     } |     } | ||||||
| } | } | ||||||
| exports.getPlatform = getPlatform; |  | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| /***/ }), | /***/ }), | ||||||
|   | |||||||
							
								
								
									
										3
									
								
								dist/update-known-checksums/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								dist/update-known-checksums/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -32707,7 +32707,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge | |||||||
|     }); |     }); | ||||||
| }; | }; | ||||||
| Object.defineProperty(exports, "__esModule", ({ value: true })); | Object.defineProperty(exports, "__esModule", ({ value: true })); | ||||||
| exports.updateChecksums = void 0; | exports.updateChecksums = updateChecksums; | ||||||
| const fs_1 = __nccwpck_require__(7147); | const fs_1 = __nccwpck_require__(7147); | ||||||
| const tc = __importStar(__nccwpck_require__(7784)); | const tc = __importStar(__nccwpck_require__(7784)); | ||||||
| function updateChecksums(filePath, downloadUrls) { | function updateChecksums(filePath, downloadUrls) { | ||||||
| @@ -32728,7 +32728,6 @@ function updateChecksums(filePath, downloadUrls) { | |||||||
|         yield fs_1.promises.appendFile(filePath, "}\n"); |         yield fs_1.promises.appendFile(filePath, "}\n"); | ||||||
|     }); |     }); | ||||||
| } | } | ||||||
| exports.updateChecksums = updateChecksums; |  | ||||||
| function getKey(downloadUrl) { | function getKey(downloadUrl) { | ||||||
|     // https://github.com/astral-sh/uv/releases/download/0.3.2/uv-aarch64-apple-darwin.tar.gz.sha256
 |     // https://github.com/astral-sh/uv/releases/download/0.3.2/uv-aarch64-apple-darwin.tar.gz.sha256
 | ||||||
|     const parts = downloadUrl.split("/"); |     const parts = downloadUrl.split("/"); | ||||||
|   | |||||||
							
								
								
									
										14
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										14
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							| @@ -33,7 +33,7 @@ | |||||||
|         "js-yaml": "^4.1.0", |         "js-yaml": "^4.1.0", | ||||||
|         "prettier": "^3.3.3", |         "prettier": "^3.3.3", | ||||||
|         "ts-jest": "^29.2.5", |         "ts-jest": "^29.2.5", | ||||||
|         "typescript": "^5.4.5" |         "typescript": "^5.5.4" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/@aashutoshrathi/word-wrap": { |     "node_modules/@aashutoshrathi/word-wrap": { | ||||||
| @@ -7558,9 +7558,9 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/typescript": { |     "node_modules/typescript": { | ||||||
|       "version": "5.4.5", |       "version": "5.5.4", | ||||||
|       "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", |       "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", | ||||||
|       "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", |       "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", | ||||||
|       "dev": true, |       "dev": true, | ||||||
|       "bin": { |       "bin": { | ||||||
|         "tsc": "bin/tsc", |         "tsc": "bin/tsc", | ||||||
| @@ -13472,9 +13472,9 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "typescript": { |     "typescript": { | ||||||
|       "version": "5.4.5", |       "version": "5.5.4", | ||||||
|       "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", |       "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", | ||||||
|       "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", |       "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", | ||||||
|       "dev": true |       "dev": true | ||||||
|     }, |     }, | ||||||
|     "unbox-primitive": { |     "unbox-primitive": { | ||||||
|   | |||||||
| @@ -52,6 +52,6 @@ | |||||||
|     "js-yaml": "^4.1.0", |     "js-yaml": "^4.1.0", | ||||||
|     "prettier": "^3.3.3", |     "prettier": "^3.3.3", | ||||||
|     "ts-jest": "^29.2.5", |     "ts-jest": "^29.2.5", | ||||||
|     "typescript": "^5.4.5" |     "typescript": "^5.5.4" | ||||||
|   } |   } | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user