From 6d6aabbbc626f63ba052c6d382d25b1ba267d944 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 20:11:07 +0700 Subject: [PATCH] chore: bump gha-utils from 0.3.0 to 0.4.0 Bumps [gha-utils](https://github.com/threeal/gha-utils) from 0.3.0 to 0.4.0. - [Release notes](https://github.com/threeal/gha-utils/releases) - [Commits](https://github.com/threeal/gha-utils/compare/v0.3.0...v0.4.0) --- updated-dependencies: - dependency-name: gha-utils dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Signed-off-by: Alfi Maulana --- dist/action.mjs | 3 ++- package.json | 2 +- yarn.lock | 10 +++++----- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/dist/action.mjs b/dist/action.mjs index 4f22d6e..eb9d4d5 100644 --- a/dist/action.mjs +++ b/dist/action.mjs @@ -5,6 +5,7 @@ import path from 'node:path'; import { execFileSync } from 'node:child_process'; /** + * @internal * Retrieves the value of an environment variable. * * @param name - The name of the environment variable. @@ -25,7 +26,7 @@ function mustGetEnvironment(name) { * @returns The value of the GitHub Actions input, or an empty string if not found. */ function getInput(name) { - const value = process.env[`INPUT_${name.toUpperCase()}`] || ""; + const value = process.env[`INPUT_${name.toUpperCase()}`] ?? ""; return value.trim(); } /** diff --git a/package.json b/package.json index 1d785c9..53e92ad 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "test": "jest" }, "dependencies": { - "gha-utils": "^0.3.0" + "gha-utils": "^0.4.0" }, "devDependencies": { "@eslint/js": "^9.10.0", diff --git a/yarn.lock b/yarn.lock index 4d3ddde..c71dbc8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2378,10 +2378,10 @@ __metadata: languageName: node linkType: hard -"gha-utils@npm:^0.3.0": - version: 0.3.0 - resolution: "gha-utils@npm:0.3.0" - checksum: 10c0/f8fe13abc48640d60072518260c8e6d5fb695e933c3ef2e16970838d3676254d21ed239e4267ae65f83dc5c167a1bd97959005b713217ead7bf8873e79b2343b +"gha-utils@npm:^0.4.0": + version: 0.4.0 + resolution: "gha-utils@npm:0.4.0" + checksum: 10c0/8ea206e160ee8f67eb1aa2422bfe07d67f609fa294447da1a39d5ce1fc677fd1f5d44386a04aa6d0304f042cf8c430553cd13a7df6e2dabbe07932f5738bb29a languageName: node linkType: hard @@ -4110,7 +4110,7 @@ __metadata: "@types/jest": "npm:^29.5.13" "@types/node": "npm:^22.5.5" eslint: "npm:^9.10.0" - gha-utils: "npm:^0.3.0" + gha-utils: "npm:^0.4.0" jest: "npm:^29.7.0" prettier: "npm:^3.3.3" rollup: "npm:^4.21.3"