From 0b0c2064232d5f02e4e206804b8db19b323f3f48 Mon Sep 17 00:00:00 2001 From: nothingismagick Date: Thu, 16 Jan 2020 16:03:03 +0100 Subject: [PATCH] feat(build): add 'constructor' to reservedKeywords See this: https://github.com/dotboris/vuejs-serverside-template-xss --- scripts/build.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build.ts b/scripts/build.ts index 27866c33f..2267ffba7 100644 --- a/scripts/build.ts +++ b/scripts/build.ts @@ -549,6 +549,7 @@ const reservedKeywords = new Set([ 'protected', 'implements', 'instanceof', + 'constructor', ]);