Skip to content

Commit 4241f12

Browse files
committed
feat(compiler): Allow BigInt usage in templates (issue #11126)
1 parent fdfb563 commit 4241f12

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/core/instance/proxy.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ if (process.env.NODE_ENV !== 'production') {
99
const allowedGlobals = makeMap(
1010
'Infinity,undefined,NaN,isFinite,isNaN,' +
1111
'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' +
12-
'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' +
13-
'require,' + // for Webpack/Browserify
14-
'BigInt' // for BigInt support issue #11126
12+
'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,' +
13+
'require' // for Webpack/Browserify
1514
)
1615

1716
const warnNonPresent = (target, key) => {

0 commit comments

Comments
 (0)