From a40f7f950b36434c43000955b80af32877d07909 Mon Sep 17 00:00:00 2001 From: Thomas Flament Date: Mon, 21 Sep 2026 17:02:41 +0200 Subject: [PATCH 1/2] Declare levelup, memdown and encoding-down libV2/client/index.js requires all three at runtime but package.json declared none of them. They resolved only because Yarn 1's hoisting happened to place compatible versions within reach, so which version utapi got was never guaranteed. Under a stricter resolver that luck runs out: migrating Cloudserver to Yarn 4 hoists levelup@0.19.1 instead of 4.4.0, UtapiClient then calls the v4 API against it, and the S3 server dies at startup with "InitializationError: Must provide a location for the database". The declared ranges are the ones already present in yarn.lock as transitive requirements, resolving to the same encoding-down@6.3.0, levelup@4.4.0 and memdown@5.1.0 as before, so the lockfile is unchanged and installs are unaffected. Issue: UTAPI-126 --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 51aa8094..b9bd88c8 100644 --- a/package.json +++ b/package.json @@ -30,11 +30,14 @@ "commander": "^5.1.0", "cron-parser": "^2.15.0", "diskusage": "^1.1.3", + "encoding-down": "^6.3.0", "express": "^4.17.1", "get-folder-size": "^2.0.1", "ioredis": "^4.28.0", "js-yaml": "^3.14.0", "level-mem": "^5.0.1", + "levelup": "^4.3.2", + "memdown": "^5.0.0", "needle": "^2.5.0", "node-schedule": "^1.3.2", "oas-tools": "^2.2.2", From aff0add629afff75ebb3c083ebffc7d1890ca269 Mon Sep 17 00:00:00 2001 From: Thomas Flament Date: Mon, 21 Sep 2026 17:08:11 +0200 Subject: [PATCH 2/2] bf(UTAPI-126): Bump project version Issue: UTAPI-126 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b9bd88c8..50f73882 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "engines": { "node": ">=16" }, - "version": "8.1.19", + "version": "8.1.20", "description": "API for tracking resource utilization and reporting metrics", "main": "index.js", "repository": {