mirror of https://github.com/vuejs/core.git
fix: add isGloballyWhitelisted back, but deprecated (#8556)
Fixes the regression described at https://github.com/vuejs/core/issues/8416#issuecomment-1566583260
This commit is contained in:
parent
96c76facb7
commit
63dfe8eab4
|
|
@ -6,3 +6,6 @@ const GLOBALS_ALLOWED =
|
|||
'Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console'
|
||||
|
||||
export const isGloballyAllowed = /*#__PURE__*/ makeMap(GLOBALS_ALLOWED)
|
||||
|
||||
/** @deprecated use `isGloballyAllowed` instead */
|
||||
export const isGloballyWhitelisted = isGloballyAllowed
|
||||
|
|
|
|||
Loading…
Reference in New Issue