Skip to content

Commit 63dfe8e

Browse files
authored
fix: add isGloballyWhitelisted back, but deprecated (#8556)
Fixes the regression described at #8416 (comment)
1 parent 96c76fa commit 63dfe8e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/shared/src/globalsAllowList.ts

+3
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ const GLOBALS_ALLOWED =
66
'Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console'
77

88
export const isGloballyAllowed = /*#__PURE__*/ makeMap(GLOBALS_ALLOWED)
9+
10+
/** @deprecated use `isGloballyAllowed` instead */
11+
export const isGloballyWhitelisted = isGloballyAllowed

0 commit comments

Comments
 (0)