mirror of https://github.com/vuejs/core.git
parent
cb37d0b9ff
commit
fe762247f8
|
@ -3,6 +3,6 @@ import { makeMap } from './makeMap'
|
||||||
const GLOBALS_WHITE_LISTED =
|
const GLOBALS_WHITE_LISTED =
|
||||||
'Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,' +
|
'Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,' +
|
||||||
'decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,' +
|
'decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,' +
|
||||||
'Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt'
|
'Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console'
|
||||||
|
|
||||||
export const isGloballyWhitelisted = /*#__PURE__*/ makeMap(GLOBALS_WHITE_LISTED)
|
export const isGloballyWhitelisted = /*#__PURE__*/ makeMap(GLOBALS_WHITE_LISTED)
|
||||||
|
|
Loading…
Reference in New Issue