globalsWhitelist.ts 345 B

12345678910111213141516171819202122232425
  1. export const globalsWhitelist = new Set([
  2. 'Infinity',
  3. 'undefined',
  4. 'NaN',
  5. 'isFinite',
  6. 'isNaN',
  7. 'parseFloat',
  8. 'parseInt',
  9. 'decodeURI',
  10. 'decodeURIComponent',
  11. 'encodeURI',
  12. 'encodeURIComponent',
  13. 'Math',
  14. 'Number',
  15. 'Date',
  16. 'Array',
  17. 'Object',
  18. 'Boolean',
  19. 'String',
  20. 'RegExp',
  21. 'Map',
  22. 'Set',
  23. 'JSON',
  24. 'Intl'
  25. ])