Skip to content

Commit a501a85

Browse files
authoredMay 27, 2024··
feat(compiler-core): support Symbol global in template expressions (#9069)
1 parent b295cdf commit a501a85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/shared/src/globalsAllowList.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { makeMap } from './makeMap'
33
const GLOBALS_ALLOWED =
44
'Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,' +
55
'decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,' +
6-
'Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error'
6+
'Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol'
77

88
export const isGloballyAllowed = /*#__PURE__*/ makeMap(GLOBALS_ALLOWED)
99

0 commit comments

Comments
 (0)
Please sign in to comment.