Skip to content

Commit

Permalink
feat(compiler): Allow BigInt usage in templates (issue #11126)
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowings-zy committed Feb 27, 2020
1 parent fdfb563 commit 4241f12
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/core/instance/proxy.js
Expand Up @@ -9,9 +9,8 @@ if (process.env.NODE_ENV !== 'production') {
const allowedGlobals = makeMap(
'Infinity,undefined,NaN,isFinite,isNaN,' +
'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' +
'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' +
'require,' + // for Webpack/Browserify
'BigInt' // for BigInt support issue #11126
'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,' +
'require' // for Webpack/Browserify
)

const warnNonPresent = (target, key) => {
Expand Down

0 comments on commit 4241f12

Please sign in to comment.