From d2ac3d880b7c8bbc92bf959e2d83b73c4768c1f8 Mon Sep 17 00:00:00 2001 From: Timothy Johnson Date: Tue, 30 Jul 2019 17:42:15 -0700 Subject: [PATCH] Missing globals --- src/compiler/utils/names.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/compiler/utils/names.ts b/src/compiler/utils/names.ts index c5a67a651b..8d9150bc18 100644 --- a/src/compiler/utils/names.ts +++ b/src/compiler/utils/names.ts @@ -15,15 +15,18 @@ export const globals = new Set([ 'encodeURIComponent', 'Error', 'EvalError', + 'history', 'Infinity', 'InternalError', 'Intl', 'isFinite', 'isNaN', 'JSON', + 'localStorage', 'Map', 'Math', 'NaN', + 'navigator', 'Number', 'Object', 'parseFloat', @@ -34,6 +37,7 @@ export const globals = new Set([ 'RangeError', 'ReferenceError', 'RegExp', + 'sessionStorage', 'Set', 'String', 'SyntaxError',