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/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])) ) { 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",