From 73de4c0cc19968746d1678ae5998680ae189f3c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C5=ABdolfs=20O=C5=A1i=C5=86=C5=A1?= Date: Tue, 3 Nov 2026 17:33:10 +0100 Subject: [PATCH] explorer: Deny install scripts in the Open Graph worker The worker isn't part of the npm workspace, so the root allowScripts doesn't cover it, and npm 12 refuses to install its dependencies under strict-allow-scripts. The wrangler dry-run bundle doesn't need any of these scripts. --- explorer/workers/open-graph/package.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/explorer/workers/open-graph/package.json b/explorer/workers/open-graph/package.json index 022a15cf0..3670d5060 100644 --- a/explorer/workers/open-graph/package.json +++ b/explorer/workers/open-graph/package.json @@ -8,5 +8,11 @@ }, "devDependencies": { "wrangler": "^4" + }, + "allowScripts": { + "esbuild": false, + "fsevents": false, + "sharp": false, + "workerd": false } }