What's wrong with this entry?
Workflow scripts are now parsed with the Acorn JavaScript parser (including the acorn-walk tree traversal library) for accurate static validation before execution.
'with' statementsare rejected:SyntaxError: 'with' statements are not supported in workflow scripts.'await using' declarationsare rejected:SyntaxError: 'await using' declarations are not supported in workflow scripts.- Identifiers starting with the internal prefix are rejected:
SyntaxError: Identifier '<name>' is reserved. import()expressions are disallowed.- The AST-based approach replaces simpler regex-based checks and properly handles edge cases like
awaitinside async arrow functions with expression bodies.
Error messages (search for "'with' statements are not supported in workflow scripts." and "'await using' declarations are not supported in workflow scripts.")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.