"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "dist/vue.runtime.esm.js" between
vue-2.6.13.tar.gz and vue-2.6.14.tar.gz

About: Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

vue.runtime.esm.js  (vue-2.6.13):vue.runtime.esm.js  (vue-2.6.14)
/*! /*!
* Vue.js v2.6.13 * Vue.js v2.6.14
* (c) 2014-2021 Evan You * (c) 2014-2021 Evan You
* Released under the MIT License. * Released under the MIT License.
*/ */
/* */ /* */
var emptyObject = Object.freeze({}); var emptyObject = Object.freeze({});
// These helpers produce better VM code in JS engines due to their // These helpers produce better VM code in JS engines due to their
// explicitness and function inlining. // explicitness and function inlining.
function isUndef (v) { function isUndef (v) {
skipping to change at line 2606 skipping to change at line 2606
function normalizeScopedSlot(normalSlots, key, fn) { function normalizeScopedSlot(normalSlots, key, fn) {
var normalized = function () { var normalized = function () {
var res = arguments.length ? fn.apply(null, arguments) : fn({}); var res = arguments.length ? fn.apply(null, arguments) : fn({});
res = res && typeof res === 'object' && !Array.isArray(res) res = res && typeof res === 'object' && !Array.isArray(res)
? [res] // single vnode ? [res] // single vnode
: normalizeChildren(res); : normalizeChildren(res);
var vnode = res && res[0]; var vnode = res && res[0];
return res && ( return res && (
!vnode || !vnode ||
(vnode.isComment && !isAsyncPlaceholder(vnode)) // #9658, #10391 (res.length === 1 && vnode.isComment && !isAsyncPlaceholder(vnode)) // #96 58, #10391
) ? undefined ) ? undefined
: res : res
}; };
// this is a slot using the new v-slot syntax without scope. although it is // this is a slot using the new v-slot syntax without scope. although it is
// compiled as a scoped slot, render fn users would expect it to be present // compiled as a scoped slot, render fn users would expect it to be present
// on this.$slots because the usage is semantically a normal slot. // on this.$slots because the usage is semantically a normal slot.
if (fn.proxy) { if (fn.proxy) {
Object.defineProperty(normalSlots, key, { Object.defineProperty(normalSlots, key, {
get: normalized, get: normalized,
enumerable: true, enumerable: true,
skipping to change at line 5485 skipping to change at line 5485
/* istanbul ignore next */ /* istanbul ignore next */
return this.$vnode && this.$vnode.ssrContext return this.$vnode && this.$vnode.ssrContext
} }
}); });
// expose FunctionalRenderContext for ssr runtime helper installation // expose FunctionalRenderContext for ssr runtime helper installation
Object.defineProperty(Vue, 'FunctionalRenderContext', { Object.defineProperty(Vue, 'FunctionalRenderContext', {
value: FunctionalRenderContext value: FunctionalRenderContext
}); });
Vue.version = '2.6.13'; Vue.version = '2.6.14';
/* */ /* */
// these are reserved for web because they are directly compiled away // these are reserved for web because they are directly compiled away
// during template compilation // during template compilation
var isReservedAttr = makeMap('style,class'); var isReservedAttr = makeMap('style,class');
// attributes that should be using props for binding // attributes that should be using props for binding
var acceptValue = makeMap('input,textarea,option,select,progress'); var acceptValue = makeMap('input,textarea,option,select,progress');
var mustUseProp = function (tag, type, attr) { var mustUseProp = function (tag, type, attr) {
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)