From 1490a0c4066ad43284b5111968f10de59473773c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Jul 2024 11:27:56 +0000 Subject: [PATCH 1/2] build(deps-dev): bump typescript from 5.4.5 to 5.5.2 in /scripts/cc-cli Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.4.5 to 5.5.2. - [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.2) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- scripts/cc-cli/package.json | 2 +- scripts/cc-cli/yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/cc-cli/package.json b/scripts/cc-cli/package.json index 7bf90626c..cdd9414a0 100644 --- a/scripts/cc-cli/package.json +++ b/scripts/cc-cli/package.json @@ -44,6 +44,6 @@ "prettier": "^3.3.2", "ts-jest": "^29.1.0", "ts-node": "^10.8.0", - "typescript": "^5.4.5" + "typescript": "^5.5.2" } } diff --git a/scripts/cc-cli/yarn.lock b/scripts/cc-cli/yarn.lock index 398d8db67..a052e4e65 100644 --- a/scripts/cc-cli/yarn.lock +++ b/scripts/cc-cli/yarn.lock @@ -4415,10 +4415,10 @@ typedarray-to-buffer@^3.1.5: dependencies: is-typedarray "^1.0.0" -typescript@^5.4.5: - version "5.4.5" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.5.tgz#42ccef2c571fdbd0f6718b1d1f5e6e5ef006f611" - integrity sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ== +typescript@^5.5.2: + version "5.5.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.2.tgz#c26f023cb0054e657ce04f72583ea2d85f8d0507" + integrity sha512-NcRtPEOsPFFWjobJEtfihkLCZCXZt/os3zf8nTxjVH3RvTSxjrCamJpbExGvYOF+tFHc3pA65qpdwPbzjohhew== uglify-js@^3.1.4: version "3.17.4" From 3ecb4fdc5effdd1e7e352bbe4197039f0c5dba8d Mon Sep 17 00:00:00 2001 From: Alex Todorov Date: Tue, 2 Jul 2024 12:45:01 +0300 Subject: [PATCH 2/2] Remove unnecessary type assertion --- scripts/cc-cli/src/commands/registerAddress.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cc-cli/src/commands/registerAddress.ts b/scripts/cc-cli/src/commands/registerAddress.ts index d55b320d3..0c1ef6dee 100644 --- a/scripts/cc-cli/src/commands/registerAddress.ts +++ b/scripts/cc-cli/src/commands/registerAddress.ts @@ -117,7 +117,7 @@ async function initWalletFromEnvOrPrompt( } if (process.env[envVar] !== undefined) { - const seed = process.env[envVar] as string; + const seed = process.env[envVar]; if (!validateInput(seed)) { throw new Error(`Error: ${inputName} is invalid`);