Skip to content

Commit 0abcb2b

Browse files
authored
chore: update reference to transformExpressions (#2682) [ci skip]
1 parent 7d7a241 commit 0abcb2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/compiler-dom/src/transforms/stringifyStatic.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ function stringifyElement(
330330
// here, e.g. `{{ 1 }}` or `{{ 'foo' }}`
331331
// in addition, constant exps bail on presence of parens so you can't even
332332
// run JSFuck in here. But we mark it unsafe for security review purposes.
333-
// (see compiler-core/src/transformExpressions)
333+
// (see compiler-core/src/transforms/transformExpression)
334334
function evaluateConstant(exp: ExpressionNode): string {
335335
if (exp.type === NodeTypes.SIMPLE_EXPRESSION) {
336336
return new Function(`return ${exp.content}`)()

0 commit comments

Comments
 (0)