From d8a24757fb5de00eaba58fd480f4b10cd200cf91 Mon Sep 17 00:00:00 2001 From: dynst <148708712+dynst@users.noreply.github.com> Date: Tue, 18 Nov 2025 00:00:00 +0000 Subject: [PATCH 1/2] cli: fix string <= number comparison --- cli/src/tasks/migrate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/tasks/migrate.ts b/cli/src/tasks/migrate.ts index a471d295a..cddf0c3b9 100644 --- a/cli/src/tasks/migrate.ts +++ b/cli/src/tasks/migrate.ts @@ -251,7 +251,7 @@ export async function migrateCommand(config: Config, noprompt: boolean, packagem const value = txt.substring(first, txt.indexOf(replaceEnd, first)); if ( (typeof variablesAndClasspaths.variables[variable] === 'number' && - value <= variablesAndClasspaths.variables[variable]) || + Number(value) <= variablesAndClasspaths.variables[variable]) || (typeof variablesAndClasspaths.variables[variable] === 'string' && lt(value, variablesAndClasspaths.variables[variable])) ) { From e34f86e660ed843d0a7bb21929c8c942d67efffc Mon Sep 17 00:00:00 2001 From: dynst <148708712+dynst@users.noreply.github.com> Date: Tue, 18 Nov 2025 00:00:00 +0000 Subject: [PATCH 2/2] update to typescript 5.9 --- cli/package.json | 2 +- core/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/package.json b/cli/package.json index f2bb960dd..266da88d0 100644 --- a/cli/package.json +++ b/cli/package.json @@ -77,7 +77,7 @@ "jest-jasmine2": "^29.7.0", "tmp": "^0.2.3", "ts-jest": "^29.0.5", - "typescript": "~5.0.2" + "typescript": "~5.9" }, "jest": { "preset": "ts-jest", diff --git a/core/package.json b/core/package.json index f2e887afa..fd3969998 100644 --- a/core/package.json +++ b/core/package.json @@ -50,7 +50,7 @@ "rimraf": "^4.4.1", "rollup": "^2.21.0", "rollup-plugin-terser": "^7.0.2", - "typescript": "~5.0.2" + "typescript": "~5.9" }, "jest": { "preset": "ts-jest",