From 3cc91614c78eb9725abb890e55d43f5c4c107f30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?PK=20Andr=C3=A9?= Date: Fri, 8 May 2020 23:01:14 +0200 Subject: [PATCH] add BigInt in allowedGlobals --- dist/vue.common.dev.js | 2 +- dist/vue.esm.browser.js | 2 +- dist/vue.esm.js | 2 +- dist/vue.js | 2 +- dist/vue.runtime.common.dev.js | 2 +- dist/vue.runtime.esm.js | 2 +- dist/vue.runtime.js | 2 +- packages/vue-server-renderer/basic.js | 2 +- packages/vue-server-renderer/build.dev.js | 2 +- packages/weex-vue-framework/factory.js | 2 +- src/core/instance/proxy.js | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/dist/vue.common.dev.js b/dist/vue.common.dev.js index 64e546098ab..92d3f7f075d 100644 --- a/dist/vue.common.dev.js +++ b/dist/vue.common.dev.js @@ -2035,7 +2035,7 @@ var initProxy; var 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,' + + 'Math,Number,BigInt,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' + 'require' // for Webpack/Browserify ); diff --git a/dist/vue.esm.browser.js b/dist/vue.esm.browser.js index fb4247285b7..b84de34d2bc 100644 --- a/dist/vue.esm.browser.js +++ b/dist/vue.esm.browser.js @@ -2066,7 +2066,7 @@ let initProxy; 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,' + + 'Math,Number,BigInt,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' + 'require' // for Webpack/Browserify ); diff --git a/dist/vue.esm.js b/dist/vue.esm.js index fc526710aea..96c6c439d7e 100644 --- a/dist/vue.esm.js +++ b/dist/vue.esm.js @@ -2039,7 +2039,7 @@ if (process.env.NODE_ENV !== 'production') { var 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,' + + 'Math,Number,BigInt,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' + 'require' // for Webpack/Browserify ); diff --git a/dist/vue.js b/dist/vue.js index e22cf13003c..e306c01a1a4 100644 --- a/dist/vue.js +++ b/dist/vue.js @@ -2039,7 +2039,7 @@ var 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,' + + 'Math,Number,BigInt,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' + 'require' // for Webpack/Browserify ); diff --git a/dist/vue.runtime.common.dev.js b/dist/vue.runtime.common.dev.js index 604657c8535..58edce4b691 100644 --- a/dist/vue.runtime.common.dev.js +++ b/dist/vue.runtime.common.dev.js @@ -2003,7 +2003,7 @@ var initProxy; var 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,' + + 'Math,Number,BigInt,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' + 'require' // for Webpack/Browserify ); diff --git a/dist/vue.runtime.esm.js b/dist/vue.runtime.esm.js index e475f279ab4..49332e42c7e 100644 --- a/dist/vue.runtime.esm.js +++ b/dist/vue.runtime.esm.js @@ -2007,7 +2007,7 @@ if (process.env.NODE_ENV !== 'production') { var 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,' + + 'Math,Number,BigInt,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' + 'require' // for Webpack/Browserify ); diff --git a/dist/vue.runtime.js b/dist/vue.runtime.js index 95232196cd9..8a0193e8b07 100644 --- a/dist/vue.runtime.js +++ b/dist/vue.runtime.js @@ -2007,7 +2007,7 @@ var 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,' + + 'Math,Number,BigInt,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' + 'require' // for Webpack/Browserify ); diff --git a/packages/vue-server-renderer/basic.js b/packages/vue-server-renderer/basic.js index a37fcb5dde4..5a73f065990 100644 --- a/packages/vue-server-renderer/basic.js +++ b/packages/vue-server-renderer/basic.js @@ -6840,7 +6840,7 @@ var 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,' + + 'Math,Number,BigInt,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' + 'require' // for Webpack/Browserify ); diff --git a/packages/vue-server-renderer/build.dev.js b/packages/vue-server-renderer/build.dev.js index 04c19919302..92c9d11c07d 100644 --- a/packages/vue-server-renderer/build.dev.js +++ b/packages/vue-server-renderer/build.dev.js @@ -6590,7 +6590,7 @@ function renderSSRStyle ( var 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,' + + 'Math,Number,BigInt,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' + 'require' // for Webpack/Browserify ); diff --git a/packages/weex-vue-framework/factory.js b/packages/weex-vue-framework/factory.js index 4cb547b5250..26d0aa29f0a 100644 --- a/packages/weex-vue-framework/factory.js +++ b/packages/weex-vue-framework/factory.js @@ -2000,7 +2000,7 @@ if (process.env.NODE_ENV !== 'production') { var 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,' + + 'Math,Number,BigInt,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' + 'require' // for Webpack/Browserify ); diff --git a/src/core/instance/proxy.js b/src/core/instance/proxy.js index 95c2b97a91f..4346d7719e9 100644 --- a/src/core/instance/proxy.js +++ b/src/core/instance/proxy.js @@ -9,7 +9,7 @@ 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,' + + 'Math,Number,BigInt,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' + 'require' // for Webpack/Browserify )