mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-30 21:01:54 +08:00
Move Node.js-only functions (evalConfigFileContent, tryEvalConfigFileContent, detectImportPackageFromDir) to new config-eval.ts. This prevents the dashboard browser build from failing on fs/path/jiti imports. Dashboard now uses parseStaticConfigLiteral (regex+JSON.parse) instead of jiti eval for untrusted GitHub-fetched config content, avoiding RCE risk. Remove type casts in favor of isRecord type guard. Co-Authored-By: mantra <mantra@stack-auth.com> |
||
|---|---|---|
| .. | ||
| backend | ||
| dashboard | ||
| dev-launchpad | ||
| e2e | ||
| hosted-components | ||
| internal-tool | ||
| mcp | ||
| mock-oauth-server | ||
| oauth-mock-server | ||
| skills | ||