feat(compiler-core): support BigInt in template (#2900)
This commit is contained in:
@@ -3,6 +3,6 @@ import { makeMap } from './makeMap'
|
||||
const GLOBALS_WHITE_LISTED =
|
||||
'Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,' +
|
||||
'decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,' +
|
||||
'Object,Boolean,String,RegExp,Map,Set,JSON,Intl'
|
||||
'Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt'
|
||||
|
||||
export const isGloballyWhitelisted = /*#__PURE__*/ makeMap(GLOBALS_WHITE_LISTED)
|
||||
|
||||
Reference in New Issue
Block a user