mirror of
https://github.com/julia-actions/setup-julia.git
synced 2026-02-12 11:06:53 +08:00
Bump typescript from 5.4.5 to 5.5.3 (#258)
* Bump typescript from 5.4.5 to 5.5.3 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.4.5 to 5.5.3. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](https://github.com/Microsoft/TypeScript/compare/v5.4.5...v5.5.3) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * npm run build --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dilum Aluthge <dilum@aluthge.com> Co-authored-by: Ian Butterworth <i.r.butterworth@gmail.com>
This commit is contained in:
15
lib/installer.js
generated
15
lib/installer.js
generated
@@ -32,7 +32,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
exports.showVersionInfo = exports.installJulia = exports.getDownloadURL = exports.getFileInfo = exports.getJuliaVersion = exports.getJuliaVersions = exports.getJuliaVersionInfo = void 0;
|
exports.getJuliaVersionInfo = getJuliaVersionInfo;
|
||||||
|
exports.getJuliaVersions = getJuliaVersions;
|
||||||
|
exports.getJuliaVersion = getJuliaVersion;
|
||||||
|
exports.getFileInfo = getFileInfo;
|
||||||
|
exports.getDownloadURL = getDownloadURL;
|
||||||
|
exports.installJulia = installJulia;
|
||||||
|
exports.showVersionInfo = showVersionInfo;
|
||||||
const core = __importStar(require("@actions/core"));
|
const core = __importStar(require("@actions/core"));
|
||||||
const exec = __importStar(require("@actions/exec"));
|
const exec = __importStar(require("@actions/exec"));
|
||||||
const tc = __importStar(require("@actions/tool-cache"));
|
const tc = __importStar(require("@actions/tool-cache"));
|
||||||
@@ -94,7 +100,6 @@ function getJuliaVersionInfo() {
|
|||||||
return JSON.parse(fs.readFileSync(versionsFile).toString());
|
return JSON.parse(fs.readFileSync(versionsFile).toString());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
exports.getJuliaVersionInfo = getJuliaVersionInfo;
|
|
||||||
/**
|
/**
|
||||||
* @returns An array of all Julia versions available for download
|
* @returns An array of all Julia versions available for download
|
||||||
*/
|
*/
|
||||||
@@ -107,7 +112,6 @@ function getJuliaVersions(versionInfo) {
|
|||||||
return versions;
|
return versions;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
exports.getJuliaVersions = getJuliaVersions;
|
|
||||||
function getJuliaVersion(availableReleases, versionInput, includePrerelease = false) {
|
function getJuliaVersion(availableReleases, versionInput, includePrerelease = false) {
|
||||||
if (semver.valid(versionInput) == versionInput || versionInput.endsWith('nightly')) {
|
if (semver.valid(versionInput) == versionInput || versionInput.endsWith('nightly')) {
|
||||||
// versionInput is a valid version or a nightly version, use it directly
|
// versionInput is a valid version or a nightly version, use it directly
|
||||||
@@ -128,7 +132,6 @@ function getJuliaVersion(availableReleases, versionInput, includePrerelease = fa
|
|||||||
version = version.replace(/^v/, '');
|
version = version.replace(/^v/, '');
|
||||||
return version;
|
return version;
|
||||||
}
|
}
|
||||||
exports.getJuliaVersion = getJuliaVersion;
|
|
||||||
function getDesiredFileExts() {
|
function getDesiredFileExts() {
|
||||||
let fileExt1;
|
let fileExt1;
|
||||||
let hasFileExt2;
|
let hasFileExt2;
|
||||||
@@ -262,7 +265,6 @@ function getFileInfo(versionInfo, version, arch) {
|
|||||||
core.error(`Encountered error: ${err}`);
|
core.error(`Encountered error: ${err}`);
|
||||||
throw err;
|
throw err;
|
||||||
}
|
}
|
||||||
exports.getFileInfo = getFileInfo;
|
|
||||||
function getDownloadURL(fileInfo, version, arch) {
|
function getDownloadURL(fileInfo, version, arch) {
|
||||||
const baseURL = `https://julialangnightlies-s3.julialang.org/bin/${osMap[osPlat]}/${arch}`;
|
const baseURL = `https://julialangnightlies-s3.julialang.org/bin/${osMap[osPlat]}/${arch}`;
|
||||||
// release branch nightlies, e.g. 1.6-nightlies should return .../bin/linux/x64/1.6/julia-latest-linux64.tar.gz
|
// release branch nightlies, e.g. 1.6-nightlies should return .../bin/linux/x64/1.6/julia-latest-linux64.tar.gz
|
||||||
@@ -280,7 +282,6 @@ function getDownloadURL(fileInfo, version, arch) {
|
|||||||
}
|
}
|
||||||
return fileInfo.url;
|
return fileInfo.url;
|
||||||
}
|
}
|
||||||
exports.getDownloadURL = getDownloadURL;
|
|
||||||
function installJulia(dest, versionInfo, version, arch) {
|
function installJulia(dest, versionInfo, version, arch) {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
// Download Julia
|
// Download Julia
|
||||||
@@ -348,7 +349,6 @@ function installJulia(dest, versionInfo, version, arch) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
exports.installJulia = installJulia;
|
|
||||||
/**
|
/**
|
||||||
* Test if Julia has been installed and print the version.
|
* Test if Julia has been installed and print the version.
|
||||||
*
|
*
|
||||||
@@ -385,4 +385,3 @@ function showVersionInfo(showVersionInfoInput, version) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
exports.showVersionInfo = showVersionInfo;
|
|
||||||
|
|||||||
14
package-lock.json
generated
14
package-lock.json
generated
@@ -28,7 +28,7 @@
|
|||||||
"nock": "^13.5.4",
|
"nock": "^13.5.4",
|
||||||
"prettier": "^3.3.2",
|
"prettier": "^3.3.2",
|
||||||
"ts-jest": "^29.1.5",
|
"ts-jest": "^29.1.5",
|
||||||
"typescript": "^5.4.5"
|
"typescript": "^5.5.3"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@actions/core": {
|
"node_modules/@actions/core": {
|
||||||
@@ -5049,9 +5049,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/typescript": {
|
"node_modules/typescript": {
|
||||||
"version": "5.4.5",
|
"version": "5.5.3",
|
||||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz",
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.3.tgz",
|
||||||
"integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==",
|
"integrity": "sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"bin": {
|
"bin": {
|
||||||
"tsc": "bin/tsc",
|
"tsc": "bin/tsc",
|
||||||
@@ -9022,9 +9022,9 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"typescript": {
|
"typescript": {
|
||||||
"version": "5.4.5",
|
"version": "5.5.3",
|
||||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz",
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.3.tgz",
|
||||||
"integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==",
|
"integrity": "sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"undici-types": {
|
"undici-types": {
|
||||||
|
|||||||
@@ -40,6 +40,6 @@
|
|||||||
"nock": "^13.5.4",
|
"nock": "^13.5.4",
|
||||||
"prettier": "^3.3.2",
|
"prettier": "^3.3.2",
|
||||||
"ts-jest": "^29.1.5",
|
"ts-jest": "^29.1.5",
|
||||||
"typescript": "^5.4.5"
|
"typescript": "^5.5.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user