chore(deps): Bump (#41)
Bumps @actions/core from 1.10.0 to 1.10.1 and typescript from 5.2.2 to 5.5.3. Closes #33, closes #39. --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Billy Zha <jinzha1@microsoft.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
parent
ebab43aab8
commit
03c94b448c
|
@ -558,7 +558,7 @@ class OidcClient {
|
|||
.catch(error => {
|
||||
throw new Error(`Failed to get ID Token. \n
|
||||
Error Code : ${error.statusCode}\n
|
||||
Error Message: ${error.result.message}`);
|
||||
Error Message: ${error.message}`);
|
||||
});
|
||||
const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;
|
||||
if (!id_token) {
|
||||
|
@ -6625,7 +6625,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|||
return result;
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.hash = void 0;
|
||||
exports.hash = hash;
|
||||
const crypto = __importStar(__nccwpck_require__(6113));
|
||||
const fs = __importStar(__nccwpck_require__(7147));
|
||||
// hash computes SH256 of file at path.
|
||||
|
@ -6638,7 +6638,6 @@ function hash(path) {
|
|||
stream.on('end', () => resolve(hash.digest('hex')));
|
||||
});
|
||||
}
|
||||
exports.hash = hash;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
@ -6687,7 +6686,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.getBinaryExtension = exports.mapArch = exports.mapPlatform = exports.getReleaseInfo = void 0;
|
||||
exports.getReleaseInfo = getReleaseInfo;
|
||||
exports.mapPlatform = mapPlatform;
|
||||
exports.mapArch = mapArch;
|
||||
exports.getBinaryExtension = getBinaryExtension;
|
||||
const os = __importStar(__nccwpck_require__(2037));
|
||||
const releases_json_1 = __importDefault(__nccwpck_require__(2387));
|
||||
// Get release info of a certain verion of ORAS CLI
|
||||
|
@ -6720,7 +6722,6 @@ function getReleaseInfo(version, url, checksum) {
|
|||
}
|
||||
return download;
|
||||
}
|
||||
exports.getReleaseInfo = getReleaseInfo;
|
||||
// getPlatform maps os.platform() to ORAS supported platforms.
|
||||
function mapPlatform() {
|
||||
const platform = os.platform();
|
||||
|
@ -6737,7 +6738,6 @@ function mapPlatform() {
|
|||
throw new Error(`unsupported platform: ${platform}`);
|
||||
}
|
||||
}
|
||||
exports.mapPlatform = mapPlatform;
|
||||
// mapArch maps os.arch() to ORAS supported architectures.
|
||||
function mapArch() {
|
||||
const architecture = os.arch();
|
||||
|
@ -6760,12 +6760,10 @@ function mapArch() {
|
|||
throw new Error(`unsupported architecture: ${architecture}`);
|
||||
}
|
||||
}
|
||||
exports.mapArch = mapArch;
|
||||
function getBinaryExtension() {
|
||||
const platform = mapPlatform();
|
||||
return platform === 'windows' ? '.exe' : '';
|
||||
}
|
||||
exports.getBinaryExtension = getBinaryExtension;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
|
|
@ -9,17 +9,17 @@
|
|||
"version": "0.1.0",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@actions/core": "^1.10.0",
|
||||
"@actions/core": "^1.10.1",
|
||||
"@actions/tool-cache": "^2.0.1",
|
||||
"@types/node": "^20.14.9",
|
||||
"@vercel/ncc": "^0.38.1",
|
||||
"typescript": "^5.2.2"
|
||||
"typescript": "^5.5.3"
|
||||
}
|
||||
},
|
||||
"node_modules/@actions/core": {
|
||||
"version": "1.10.0",
|
||||
"resolved": "https://registry.npmjs.org/@actions/core/-/core-1.10.0.tgz",
|
||||
"integrity": "sha512-2aZDDa3zrrZbP5ZYg159sNoLRb61nQ7awl5pSvIq5Qpj81vwDzdMRKzkWJGJuwVvWpvZKx7vspJALyvaaIQyug==",
|
||||
"version": "1.10.1",
|
||||
"resolved": "https://registry.npmjs.org/@actions/core/-/core-1.10.1.tgz",
|
||||
"integrity": "sha512-3lBR9EDAY+iYIpTnTIXmWcNbX3T2kCkAEQGIQx4NVQ0575nk2k3GRZDTPQG+vVtS2izSLmINlxXf0uLtnrTP+g==",
|
||||
"dependencies": {
|
||||
"@actions/http-client": "^2.0.1",
|
||||
"uuid": "^8.3.2"
|
||||
|
@ -101,9 +101,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/typescript": {
|
||||
"version": "5.2.2",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz",
|
||||
"integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==",
|
||||
"version": "5.5.3",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.3.tgz",
|
||||
"integrity": "sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ==",
|
||||
"bin": {
|
||||
"tsc": "bin/tsc",
|
||||
"tsserver": "bin/tsserver"
|
||||
|
|
|
@ -17,10 +17,10 @@
|
|||
},
|
||||
"homepage": "https://github.com/oras-project/setup-oras#readme",
|
||||
"dependencies": {
|
||||
"@actions/core": "^1.10.0",
|
||||
"@actions/core": "^1.10.1",
|
||||
"@actions/tool-cache": "^2.0.1",
|
||||
"@types/node": "^20.14.9",
|
||||
"@vercel/ncc": "^0.38.1",
|
||||
"typescript": "^5.2.2"
|
||||
"typescript": "^5.5.3"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue