From 954f3f7560c302a8c724ba5a0b607ecd05f17a1b Mon Sep 17 00:00:00 2001 From: Evan You Date: Wed, 9 Oct 2019 14:16:11 -0400 Subject: [PATCH] chore: format globals whitelist --- packages/shared/src/globalsWhitelist.ts | 32 +++++++++++++++++++------ 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/packages/shared/src/globalsWhitelist.ts b/packages/shared/src/globalsWhitelist.ts index c6f69bddf..198d66a97 100644 --- a/packages/shared/src/globalsWhitelist.ts +++ b/packages/shared/src/globalsWhitelist.ts @@ -1,7 +1,25 @@ -export const globalsWhitelist = new Set( - [ - 'Infinity', 'undefined', 'NaN', 'isFinite', 'isNaN', 'parseFloat', 'parseInt', 'decodeURI', - 'decodeURIComponent', 'encodeURI', 'encodeURIComponent', 'Math', 'Number', 'Date', 'Array', - 'Object', 'Boolean', 'String', 'RegExp', 'Map', 'Set', 'JSON', 'Intl' - ] -) +export const globalsWhitelist = new Set([ + 'Infinity', + 'undefined', + 'NaN', + 'isFinite', + 'isNaN', + 'parseFloat', + 'parseInt', + 'decodeURI', + 'decodeURIComponent', + 'encodeURI', + 'encodeURIComponent', + 'Math', + 'Number', + 'Date', + 'Array', + 'Object', + 'Boolean', + 'String', + 'RegExp', + 'Map', + 'Set', + 'JSON', + 'Intl' +])