]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: format globals whitelist
authorEvan You <yyx990803@gmail.com>
Wed, 9 Oct 2019 18:16:11 +0000 (14:16 -0400)
committerEvan You <yyx990803@gmail.com>
Wed, 9 Oct 2019 18:16:11 +0000 (14:16 -0400)
packages/shared/src/globalsWhitelist.ts

index c6f69bddffb043469c1c1df343c0660d5d8ae682..198d66a97e5903252e7e320df329b1a056c19e55 100644 (file)
@@ -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'
+])