Dashboard › cli › zlib.zstdCompress module guard
01a08ab5-50d6-7cc1-b488-6df5078d5d1eTrap: referencing a newer Node.js API such as zlib.zstdCompress unconditionally at module scope looks safe when development uses a current runtime, but older supported Node.js versions crash during import before fallback logic runs. Fix: guard availability at module scope with typeof api === "function" and route unavailable APIs to the supported fallback.