|
|
@@ -1,7 +1,7 @@
|
|
|
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'
|
|
|
- ).split(',')
|
|
|
+ [
|
|
|
+ 'Infinity', 'undefined', 'NaN', 'isFinite', 'isNaN', 'parseFloat', 'parseInt', 'decodeURI',
|
|
|
+ 'decodeURIComponent', 'encodeURI', 'encodeURIComponent', 'Math', 'Number', 'Date', 'Array',
|
|
|
+ 'Object', 'Boolean', 'String', 'RegExp', 'Map', 'Set', 'JSON', 'Intl'
|
|
|
+ ]
|
|
|
)
|