Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Commit a501a85

Browse files
authored
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

Lines changed: 1 addition & 1 deletion
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)