From 6fc313d77daefc8e419500c83f4c65922f7b12c8 Mon Sep 17 00:00:00 2001 From: Mike Yumatov Date: Wed, 24 Jun 2026 14:14:06 +0300 Subject: [PATCH] chore(renovate): pin p-limit to v3 (CommonJS) p-limit v4+ is pure ESM with no CommonJS entry. The rw-backend plugin compiles to CommonJS and Backstage's CLI Jest setup does not transform p-limit, so a v4+ bump breaks `runWorker.test.ts` with "Cannot use import statement outside a module". Backstage's own backend packages (backend-defaults, plugin-catalog-backend) also stay on p-limit v3 for the same reason. This closes the Renovate PR proposing p-limit v7 and prevents future v4+ bumps. Co-Authored-By: Claude Opus 4.8 (1M context) --- renovate.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/renovate.json b/renovate.json index a45c84c..5883158 100644 --- a/renovate.json +++ b/renovate.json @@ -29,6 +29,11 @@ "allowedVersions": "<6.0.0", "description": "Backstage pins TypeScript ~5.7" }, + { + "matchPackageNames": ["p-limit"], + "allowedVersions": "<4.0.0", + "description": "p-limit v4+ is pure ESM; our CommonJS backend plugin and Backstage's own backend packages stay on v3" + }, { "matchPackageNames": ["@material-ui/core", "@material-ui/icons"], "matchUpdateTypes": ["replacement"],