You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 08267f0
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(execution): parse user code with Babel, not the TypeScript 6 compiler
TypeScript 7 ships no compiler API, so the server kept @typescript/typescript6
only to parse and transpile code users write. Three of its four runtime uses move
to libraries built for the job:
- MCP code mode strips types with sucrase after Babel checks the syntax, so a
program that does not parse still reports every error with its own line.
- The Function block's import scan and the document file-reference scanner
parse with Babel through one shared parser for user JavaScript.
A Function body that does not parse now runs where its syntax error is
reported, instead of first starting a remote sandbox for the imports found in it.
0 commit comments