Revert update-deps script logic

This commit is contained in:
Andrey Sobolev
2025-10-14 10:01:50 +07:00
parent 611ebeb3e4
commit 955ed4846d
+2 -2
View File
@@ -160,8 +160,8 @@ async function updatePackageDependencies(project, latestVersions, dryRun = false
}
if (isNewerVersion(currentVersion, latestVersion)) {
// Use fixed version without ^ prefix for hcengineering packages
const newVersion = latestVersion
const prefix = currentVersion.match(/^[\^~]/)?.[0] || '^'
const newVersion = `${prefix}${latestVersion}`
changes.push({
depType,