From 3e88fc0921733bdd31ba7cb6977c32c70fe07807 Mon Sep 17 00:00:00 2001 From: Chirag Singhal <76880977+chirag127@users.noreply.github.com> Date: Wed, 1 Jul 2026 17:29:48 +0530 Subject: [PATCH] fix(deps): add missing runtime deps @toon-format/toon and safe-regex (#5771) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Both packages are imported at runtime but were only declared for their type shims (safe-regex was via @types/safe-regex; @toon-format/toon had no declaration at all). Missing runtime deps mean: - open-sse/services/compression/engines/headroom/toon.ts imports @toon-format/toon → MODULE_NOT_FOUND on cold pnpm/npm install - open-sse/services/compression/engines/ccr/ccrQuery.ts imports safe-regex → MODULE_NOT_FOUND Both engines are wired into the stacked compression pipeline (default enabled), so a fresh clone that does not have a stale node_modules from a previous version crashes as soon as the pipeline runs. Verified with pnpm ls / grep before/after. --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index dbd8ecece4..dad7009ab6 100644 --- a/package.json +++ b/package.json @@ -217,6 +217,7 @@ "@monaco-editor/react": "^4.7.0", "@ngrok/ngrok": "^1.7.0", "@swc/helpers": "0.5.23", + "@toon-format/toon": "^2.3.0", "@types/mdx": "^2.0.13", "@xyflow/react": "^12.11.1", "axios": "^1.16.1", @@ -265,6 +266,7 @@ "react-markdown": "^10.1.0", "react-reconciler": "^0.33.0", "recharts": "^3.8.1", + "safe-regex": "^2.1.1", "selfsigned": "^5.5.0", "socks": "^2.8.7", "sql.js": "^1.14.1",