diff --git a/packages/shared/src/globalsWhitelist.ts b/packages/shared/src/globalsWhitelist.ts index c6f69bdd..198d66a9 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' +])