Merge pull request #16246 from nextcloud/webpack/cachebuster

Add cache buster to webpack chunks
This commit is contained in:
Roeland Jago Douma 2019-07-05 14:42:24 +02:00 committed by GitHub
commit eeeb5af524
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
22 changed files with 27 additions and 27 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -21,4 +21,4 @@
*
*/
n.default.prototype.t=t,n.default.component("PopoverMenu",r.PopoverMenu),n.default.directive("ClickOutside",d.a),n.default.directive("Tooltip",a.a),n.default.use(l.a)}}]);
//# sourceMappingURL=files_sharing.4.js.map
//# sourceMappingURL=files_sharing.4.js.map?v=d7b2c05ed071f0d84c2c

File diff suppressed because one or more lines are too long

View File

@ -10,6 +10,6 @@ module.exports = {
path: path.resolve(__dirname, './js/dist/'),
publicPath: '/js/',
filename: '[name].js',
chunkFilename: 'files_sharing.[id].js'
chunkFilename: 'files_sharing.[id].js?v=[chunkhash]'
}
}

View File

@ -763,4 +763,4 @@ Object(o.a)(p),n.default=p},function(t,e,n){"use strict";var i=n(38);n.n(i).a},f
* @license MIT
*/
t.exports=function(){"use strict";var t=function(){this._properties={},this._namespace="",this._isSupported=!0},n={namespace:{}};n.namespace.get=function(){return this._namespace},n.namespace.set=function(t){this._namespace=t?t+".":""},t.prototype._getLsKey=function(t){return""+this._namespace+t},t.prototype._lsSet=function(t,e,n){var i=this._getLsKey(t),o=n&&[Array,Object].includes(n)?JSON.stringify(e):e;window.localStorage.setItem(i,o)},t.prototype._lsGet=function(t){var e=this._getLsKey(t);return window.localStorage[e]},t.prototype.get=function(t,e,n){if(void 0===e&&(e=null),void 0===n&&(n=String),!this._isSupported)return null;if(this._lsGet(t)){var i=n;for(var o in this._properties)if(o===t){i=this._properties[o].type;break}return this._process(i,this._lsGet(t))}return null!==e?e:null},t.prototype.set=function(t,e){if(!this._isSupported)return null;for(var n in this._properties){var i=this._properties[n].type;if(n===t)return this._lsSet(t,e,i),e}return this._lsSet(t,e),e},t.prototype.remove=function(t){return this._isSupported?window.localStorage.removeItem(t):null},t.prototype.addProperty=function(t,e,n){void 0===n&&(n=void 0),e=e||String,this._properties[t]={type:e},this._lsGet(t)||null===n||this._lsSet(t,n,e)},t.prototype._process=function(t,e){switch(t){case Boolean:return"true"===e;case Number:return parseFloat(e);case Array:try{var n=JSON.parse(e);return Array.isArray(n)?n:[]}catch(t){return[]}case Object:try{return JSON.parse(e)}catch(t){return{}}default:return e}},Object.defineProperties(t.prototype,n);var i=new t;return{install:function(t,n){if(void 0===n&&(n={}),void 0===e||!(e.server||e.SERVER_BUILD||e.env&&"server"===e.env.VUE_ENV)){var o=!0;try{var r="__vue-localstorage-test__";window.localStorage.setItem(r,r),window.localStorage.removeItem(r)}catch(t){o=!1,i._isSupported=!1,console.error("Local storage is not supported")}var a=n.name||"localStorage",s=n.bind;n.namespace&&(i.namespace=n.namespace),t.mixin({beforeCreate:function(){var e=this;o&&this.$options[a]&&Object.keys(this.$options[a]).forEach(function(n){var o=e.$options[a][n],r=[o.type,o.default],c=r[0],l=r[1];i.addProperty(n,c,l);var u=Object.getOwnPropertyDescriptor(i,n);if(u)t.config.silent||console.log(n+": is already defined and will be reused");else{var d={get:function(){return t.localStorage.get(n,l)},set:function(e){return t.localStorage.set(n,e)},configurable:!0};Object.defineProperty(i,n,d),t.util.defineReactive(i,n,l)}(s||o.bind)&&!1!==o.bind&&(e.$options.computed=e.$options.computed||{},e.$options.computed[n]||(e.$options.computed[n]={get:function(){return t.localStorage[n]},set:function(e){t.localStorage[n]=e}}))})}}),t[a]=i,t.prototype["$"+a]=i}}}}()}).call(this,n(6))}}]);
//# sourceMappingURL=vue-0.js.map
//# sourceMappingURL=vue-0.js.map?v=06a700b174e7c80b3dc0

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -805,4 +805,4 @@ t.exports=function(t){return null!=t&&null!=t.constructor&&"function"==typeof t.
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
i.default.use(s.a);var h={setEnforced:function(t,e){i.default.set(t,"enforced",e)},setEnforcedGroups:function(t,e){i.default.set(t,"enforcedGroups",e)},setExcludedGroups:function(t,e){i.default.set(t,"excludedGroups",e)}},v={save:function(t){var e=t.commit;return e("setEnabled",!1),generateCodes().then(function(t){var n=t.codes,r=t.state;return e("setEnabled",r.enabled),e("setTotal",r.total),e("setUsed",r.used),e("setCodes",n),!0})}},m=new s.a.Store({strict:!1,state:{enforced:!1,enforcedGroups:[],excludedGroups:[]},mutations:h,actions:v});r.nc=btoa(OC.requestToken),i.default.prototype.t=t,window.OC=window.OC||{},window.OC.Settings=window.OC.Settings||{},m.replaceState(OCP.InitialState.loadState("settings","mandatory2FAState")),new(i.default.extend(p))({store:m}).$mount("#two-factor-auth-settings")}]);
//# sourceMappingURL=vue-settings-admin-security.js.map
//# sourceMappingURL=vue-settings-admin-security.js.map?v=15cdb9813efeb0fb6f90

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -833,4 +833,4 @@ t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
i.nc=btoa(OC.requestToken),o.default.use(a.a),o.default.use(s.a),o.default.prototype.t=t,new(o.default.extend(E))({propsData:{tokens:OCP.InitialState.loadState("settings","app_tokens")}}).$mount("#security")}]);
//# sourceMappingURL=vue-settings-personal-security.js.map
//# sourceMappingURL=vue-settings-personal-security.js.map?v=4c61a98ac39aa3c24a85

File diff suppressed because one or more lines are too long

View File

@ -9,7 +9,7 @@ module.exports = {
output: {
path: path.resolve(__dirname, './js'),
publicPath: '/',
filename: 'vue-[name].js'
filename: 'vue-[name].js?v=[chunkhash]'
},
optimization: {
splitChunks: {