From 1683b4580000f197645bf5cc6183af8660dd72d4 Mon Sep 17 00:00:00 2001 From: jules Date: Tue, 13 Jan 2026 14:24:31 -0500 Subject: [PATCH] fix: downgrade juice to v10 for Bun compatibility juice v11 introduces entities@7.0.0 which conflicts with htmlparser2@9.1.0's requirement for entities@4.5.0. Bun's default hoisted mode resolves entities to v7.0.0 globally, causing "Cannot find module 'entities/lib/decode.js'" errors since this path was removed in entities v5+. Downgrading to juice@10.0.1 avoids the conflict entirely. Related: #1577 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index aee9ea18..14b5943e 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "html-crush": "^6.0.19", "is-url-superb": "^6.1.0", "istextorbinary": "^9.5.0", - "juice": "^11.1.0", + "juice": "^10.0.1", "lodash-es": "^4.17.21", "morphdom": "^2.7.4", "ora": "^8.1.0",