Skip to content

Commit cc72912

Browse files
chore(build): add 'constructor' to reservedKeywords (#760)
See this: https://github.com/dotboris/vuejs-serverside-template-xss
1 parent 81d9ff1 commit cc72912

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/build.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,7 @@ const reservedKeywords = new Set([
549549
'protected',
550550
'implements',
551551
'instanceof',
552+
'constructor',
552553
]);
553554

554555

0 commit comments

Comments
 (0)