Skip to content

Commit

Permalink
chore(deps): Bump (#41)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
qweeah and dependabot[bot] committed Jul 5, 2024
1 parent ebab43a commit 03c94b4
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 18 deletions.
14 changes: 6 additions & 8 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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.
Expand All @@ -6638,7 +6638,6 @@ function hash(path) {
stream.on('end', () => resolve(hash.digest('hex')));
});
}
exports.hash = hash;


/***/ }),
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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();
Expand All @@ -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();
Expand All @@ -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;


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

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

0 comments on commit 03c94b4

Please sign in to comment.