Skip to content

Commit cc319bd

Browse files
committed
build: build 2.5.13
1 parent aac7634 commit cc319bd

File tree

14 files changed

+30
-1243
lines changed

14 files changed

+30
-1243
lines changed

Diff for: dist/vue.common.js

+2-45
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Vue.js v2.5.12
2+
* Vue.js v2.5.13
33
* (c) 2014-2017 Evan You
44
* Released under the MIT License.
55
*/
@@ -3279,7 +3279,6 @@ function proxy (target, sourceKey, key) {
32793279

32803280
function initState (vm) {
32813281
vm._watchers = [];
3282-
vm._inlineComputed = null;
32833282
var opts = vm.$options;
32843283
if (opts.props) { initProps(vm, opts.props); }
32853284
if (opts.methods) { initMethods(vm, opts.methods); }
@@ -3916,32 +3915,6 @@ function bindObjectListeners (data, value) {
39163915

39173916
/* */
39183917

3919-
/**
3920-
* This runtime helper creates an inline computed property for component
3921-
* props that contain object or array literals. The caching ensures the same
3922-
* object/array is returned unless the value has indeed changed, thus avoiding
3923-
* the child component to always re-render when comparing props values.
3924-
*
3925-
* Installed to the instance as _a, requires special handling in parser that
3926-
* transforms the following
3927-
* <foo :bar="{ a: 1 }"/>
3928-
* to:
3929-
* <foo :bar="_a(0, function(){return { a: 1 }})"
3930-
*/
3931-
function createInlineComputed (id, getter) {
3932-
var vm = this;
3933-
var watchers = vm._inlineComputed || (vm._inlineComputed = {});
3934-
var cached$$1 = watchers[id];
3935-
if (cached$$1) {
3936-
return cached$$1.value
3937-
} else {
3938-
watchers[id] = new Watcher(vm, getter, noop, { sync: true });
3939-
return watchers[id].value
3940-
}
3941-
}
3942-
3943-
/* */
3944-
39453918
function installRenderHelpers (target) {
39463919
target._o = markOnce;
39473920
target._n = toNumber;
@@ -3958,7 +3931,6 @@ function installRenderHelpers (target) {
39583931
target._e = createEmptyVNode;
39593932
target._u = resolveScopedSlots;
39603933
target._g = bindObjectListeners;
3961-
target._a = createInlineComputed;
39623934
}
39633935

39643936
/* */
@@ -5041,7 +5013,7 @@ Object.defineProperty(Vue$3.prototype, '$ssrContext', {
50415013
}
50425014
});
50435015

5044-
Vue$3.version = '2.5.12';
5016+
Vue$3.version = '2.5.13';
50455017

50465018
/* */
50475019

@@ -8972,20 +8944,16 @@ var argRE = /:(.*)$/;
89728944
var bindRE = /^:|^v-bind:/;
89738945
var modifierRE = /\.[^.]+/g;
89748946

8975-
var literalValueRE = /^(\{.*\}|\[.*\])$/;
8976-
89778947
var decodeHTMLCached = cached(he.decode);
89788948

89798949
// configurable state
89808950
var warn$2;
8981-
var literalPropId;
89828951
var delimiters;
89838952
var transforms;
89848953
var preTransforms;
89858954
var postTransforms;
89868955
var platformIsPreTag;
89878956
var platformMustUseProp;
8988-
var platformIsReservedTag;
89898957
var platformGetTagNamespace;
89908958

89918959

@@ -9013,11 +8981,9 @@ function parse (
90138981
options
90148982
) {
90158983
warn$2 = options.warn || baseWarn;
9016-
literalPropId = 0;
90178984

90188985
platformIsPreTag = options.isPreTag || no;
90198986
platformMustUseProp = options.mustUseProp || no;
9020-
platformIsReservedTag = options.isReservedTag || no;
90218987
platformGetTagNamespace = options.getTagNamespace || no;
90228988

90238989
transforms = pluckModuleFunction(options.modules, 'transformNode');
@@ -9486,15 +9452,6 @@ function processAttrs (el) {
94869452
);
94879453
}
94889454
}
9489-
// optimize literal values in component props by wrapping them
9490-
// in an inline watcher to avoid unnecessary re-renders
9491-
if (
9492-
!platformIsReservedTag(el.tag) &&
9493-
el.tag !== 'slot' &&
9494-
literalValueRE.test(value.trim())
9495-
) {
9496-
value = "_a(" + (literalPropId++) + ",function(){return " + value + "})";
9497-
}
94989455
if (isProp || (
94999456
!el.component && platformMustUseProp(el.tag, el.attrsMap.type, name)
95009457
)) {

Diff for: dist/vue.esm.js

+2-45
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Vue.js v2.5.12
2+
* Vue.js v2.5.13
33
* (c) 2014-2017 Evan You
44
* Released under the MIT License.
55
*/
@@ -3277,7 +3277,6 @@ function proxy (target, sourceKey, key) {
32773277

32783278
function initState (vm) {
32793279
vm._watchers = [];
3280-
vm._inlineComputed = null;
32813280
var opts = vm.$options;
32823281
if (opts.props) { initProps(vm, opts.props); }
32833282
if (opts.methods) { initMethods(vm, opts.methods); }
@@ -3914,32 +3913,6 @@ function bindObjectListeners (data, value) {
39143913

39153914
/* */
39163915

3917-
/**
3918-
* This runtime helper creates an inline computed property for component
3919-
* props that contain object or array literals. The caching ensures the same
3920-
* object/array is returned unless the value has indeed changed, thus avoiding
3921-
* the child component to always re-render when comparing props values.
3922-
*
3923-
* Installed to the instance as _a, requires special handling in parser that
3924-
* transforms the following
3925-
* <foo :bar="{ a: 1 }"/>
3926-
* to:
3927-
* <foo :bar="_a(0, function(){return { a: 1 }})"
3928-
*/
3929-
function createInlineComputed (id, getter) {
3930-
var vm = this;
3931-
var watchers = vm._inlineComputed || (vm._inlineComputed = {});
3932-
var cached$$1 = watchers[id];
3933-
if (cached$$1) {
3934-
return cached$$1.value
3935-
} else {
3936-
watchers[id] = new Watcher(vm, getter, noop, { sync: true });
3937-
return watchers[id].value
3938-
}
3939-
}
3940-
3941-
/* */
3942-
39433916
function installRenderHelpers (target) {
39443917
target._o = markOnce;
39453918
target._n = toNumber;
@@ -3956,7 +3929,6 @@ function installRenderHelpers (target) {
39563929
target._e = createEmptyVNode;
39573930
target._u = resolveScopedSlots;
39583931
target._g = bindObjectListeners;
3959-
target._a = createInlineComputed;
39603932
}
39613933

39623934
/* */
@@ -5039,7 +5011,7 @@ Object.defineProperty(Vue$3.prototype, '$ssrContext', {
50395011
}
50405012
});
50415013

5042-
Vue$3.version = '2.5.12';
5014+
Vue$3.version = '2.5.13';
50435015

50445016
/* */
50455017

@@ -8970,20 +8942,16 @@ var argRE = /:(.*)$/;
89708942
var bindRE = /^:|^v-bind:/;
89718943
var modifierRE = /\.[^.]+/g;
89728944

8973-
var literalValueRE = /^(\{.*\}|\[.*\])$/;
8974-
89758945
var decodeHTMLCached = cached(he.decode);
89768946

89778947
// configurable state
89788948
var warn$2;
8979-
var literalPropId;
89808949
var delimiters;
89818950
var transforms;
89828951
var preTransforms;
89838952
var postTransforms;
89848953
var platformIsPreTag;
89858954
var platformMustUseProp;
8986-
var platformIsReservedTag;
89878955
var platformGetTagNamespace;
89888956

89898957

@@ -9011,11 +8979,9 @@ function parse (
90118979
options
90128980
) {
90138981
warn$2 = options.warn || baseWarn;
9014-
literalPropId = 0;
90158982

90168983
platformIsPreTag = options.isPreTag || no;
90178984
platformMustUseProp = options.mustUseProp || no;
9018-
platformIsReservedTag = options.isReservedTag || no;
90198985
platformGetTagNamespace = options.getTagNamespace || no;
90208986

90218987
transforms = pluckModuleFunction(options.modules, 'transformNode');
@@ -9484,15 +9450,6 @@ function processAttrs (el) {
94849450
);
94859451
}
94869452
}
9487-
// optimize literal values in component props by wrapping them
9488-
// in an inline watcher to avoid unnecessary re-renders
9489-
if (
9490-
!platformIsReservedTag(el.tag) &&
9491-
el.tag !== 'slot' &&
9492-
literalValueRE.test(value.trim())
9493-
) {
9494-
value = "_a(" + (literalPropId++) + ",function(){return " + value + "})";
9495-
}
94969453
if (isProp || (
94979454
!el.component && platformMustUseProp(el.tag, el.attrsMap.type, name)
94989455
)) {

Diff for: dist/vue.js

+2-45
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Vue.js v2.5.12
2+
* Vue.js v2.5.13
33
* (c) 2014-2017 Evan You
44
* Released under the MIT License.
55
*/
@@ -3275,7 +3275,6 @@ function proxy (target, sourceKey, key) {
32753275

32763276
function initState (vm) {
32773277
vm._watchers = [];
3278-
vm._inlineComputed = null;
32793278
var opts = vm.$options;
32803279
if (opts.props) { initProps(vm, opts.props); }
32813280
if (opts.methods) { initMethods(vm, opts.methods); }
@@ -3908,32 +3907,6 @@ function bindObjectListeners (data, value) {
39083907

39093908
/* */
39103909

3911-
/**
3912-
* This runtime helper creates an inline computed property for component
3913-
* props that contain object or array literals. The caching ensures the same
3914-
* object/array is returned unless the value has indeed changed, thus avoiding
3915-
* the child component to always re-render when comparing props values.
3916-
*
3917-
* Installed to the instance as _a, requires special handling in parser that
3918-
* transforms the following
3919-
* <foo :bar="{ a: 1 }"/>
3920-
* to:
3921-
* <foo :bar="_a(0, function(){return { a: 1 }})"
3922-
*/
3923-
function createInlineComputed (id, getter) {
3924-
var vm = this;
3925-
var watchers = vm._inlineComputed || (vm._inlineComputed = {});
3926-
var cached$$1 = watchers[id];
3927-
if (cached$$1) {
3928-
return cached$$1.value
3929-
} else {
3930-
watchers[id] = new Watcher(vm, getter, noop, { sync: true });
3931-
return watchers[id].value
3932-
}
3933-
}
3934-
3935-
/* */
3936-
39373910
function installRenderHelpers (target) {
39383911
target._o = markOnce;
39393912
target._n = toNumber;
@@ -3950,7 +3923,6 @@ function installRenderHelpers (target) {
39503923
target._e = createEmptyVNode;
39513924
target._u = resolveScopedSlots;
39523925
target._g = bindObjectListeners;
3953-
target._a = createInlineComputed;
39543926
}
39553927

39563928
/* */
@@ -5026,7 +4998,7 @@ Object.defineProperty(Vue$3.prototype, '$ssrContext', {
50264998
}
50274999
});
50285000

5029-
Vue$3.version = '2.5.12';
5001+
Vue$3.version = '2.5.13';
50305002

50315003
/* */
50325004

@@ -8957,20 +8929,16 @@ var argRE = /:(.*)$/;
89578929
var bindRE = /^:|^v-bind:/;
89588930
var modifierRE = /\.[^.]+/g;
89598931

8960-
var literalValueRE = /^(\{.*\}|\[.*\])$/;
8961-
89628932
var decodeHTMLCached = cached(he.decode);
89638933

89648934
// configurable state
89658935
var warn$2;
8966-
var literalPropId;
89678936
var delimiters;
89688937
var transforms;
89698938
var preTransforms;
89708939
var postTransforms;
89718940
var platformIsPreTag;
89728941
var platformMustUseProp;
8973-
var platformIsReservedTag;
89748942
var platformGetTagNamespace;
89758943

89768944

@@ -8998,11 +8966,9 @@ function parse (
89988966
options
89998967
) {
90008968
warn$2 = options.warn || baseWarn;
9001-
literalPropId = 0;
90028969

90038970
platformIsPreTag = options.isPreTag || no;
90048971
platformMustUseProp = options.mustUseProp || no;
9005-
platformIsReservedTag = options.isReservedTag || no;
90068972
platformGetTagNamespace = options.getTagNamespace || no;
90078973

90088974
transforms = pluckModuleFunction(options.modules, 'transformNode');
@@ -9471,15 +9437,6 @@ function processAttrs (el) {
94719437
);
94729438
}
94739439
}
9474-
// optimize literal values in component props by wrapping them
9475-
// in an inline watcher to avoid unnecessary re-renders
9476-
if (
9477-
!platformIsReservedTag(el.tag) &&
9478-
el.tag !== 'slot' &&
9479-
literalValueRE.test(value.trim())
9480-
) {
9481-
value = "_a(" + (literalPropId++) + ",function(){return " + value + "})";
9482-
}
94839440
if (isProp || (
94849441
!el.component && platformMustUseProp(el.tag, el.attrsMap.type, name)
94859442
)) {

Diff for: dist/vue.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)