Skip to content

Commit 01bf27e

Browse files
yyx990803hefeng
authored and
hefeng
committed
build: build 2.4.4
1 parent c81c803 commit 01bf27e

File tree

13 files changed

+7633
-82
lines changed

13 files changed

+7633
-82
lines changed

dist/vue.common.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Vue.js v2.4.3
2+
* Vue.js v2.4.4
33
* (c) 2014-2017 Evan You
44
* Released under the MIT License.
55
*/
@@ -4724,7 +4724,7 @@ Object.defineProperty(Vue$3.prototype, '$ssrContext', {
47244724
}
47254725
});
47264726

4727-
Vue$3.version = '2.4.3';
4727+
Vue$3.version = '2.4.4';
47284728

47294729
/* */
47304730

dist/vue.esm.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Vue.js v2.4.3
2+
* Vue.js v2.4.4
33
* (c) 2014-2017 Evan You
44
* Released under the MIT License.
55
*/
@@ -4722,7 +4722,7 @@ Object.defineProperty(Vue$3.prototype, '$ssrContext', {
47224722
}
47234723
});
47244724

4725-
Vue$3.version = '2.4.3';
4725+
Vue$3.version = '2.4.4';
47264726

47274727
/* */
47284728

dist/vue.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Vue.js v2.4.3
2+
* Vue.js v2.4.4
33
* (c) 2014-2017 Evan You
44
* Released under the MIT License.
55
*/
@@ -4713,7 +4713,7 @@ Object.defineProperty(Vue$3.prototype, '$ssrContext', {
47134713
}
47144714
});
47154715

4716-
Vue$3.version = '2.4.3';
4716+
Vue$3.version = '2.4.4';
47174717

47184718
/* */
47194719

dist/vue.min.js

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

dist/vue.runtime.common.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Vue.js v2.4.3
2+
* Vue.js v2.4.4
33
* (c) 2014-2017 Evan You
44
* Released under the MIT License.
55
*/
@@ -4720,7 +4720,7 @@ Object.defineProperty(Vue$3.prototype, '$ssrContext', {
47204720
}
47214721
});
47224722

4723-
Vue$3.version = '2.4.3';
4723+
Vue$3.version = '2.4.4';
47244724

47254725
/* */
47264726

dist/vue.runtime.esm.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Vue.js v2.4.3
2+
* Vue.js v2.4.4
33
* (c) 2014-2017 Evan You
44
* Released under the MIT License.
55
*/
@@ -4718,7 +4718,7 @@ Object.defineProperty(Vue$3.prototype, '$ssrContext', {
47184718
}
47194719
});
47204720

4721-
Vue$3.version = '2.4.3';
4721+
Vue$3.version = '2.4.4';
47224722

47234723
/* */
47244724

dist/vue.runtime.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Vue.js v2.4.3
2+
* Vue.js v2.4.4
33
* (c) 2014-2017 Evan You
44
* Released under the MIT License.
55
*/
@@ -4709,7 +4709,7 @@ Object.defineProperty(Vue$3.prototype, '$ssrContext', {
47094709
}
47104710
});
47114711

4712-
Vue$3.version = '2.4.3';
4712+
Vue$3.version = '2.4.4';
47134713

47144714
/* */
47154715

dist/vue.runtime.min.js

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

packages/vue-server-renderer/build.js

+14-16
Original file line numberDiff line numberDiff line change
@@ -7833,27 +7833,25 @@ function createBundleRunner (entry, files, basedir, runInNewContext) {
78337833
}
78347834
}
78357835
userContext._registeredComponents = new Set();
7836+
78367837
// vue-style-loader styles imported outside of component lifecycle hooks
78377838
if (initialContext._styles) {
78387839
userContext._styles = deepClone(initialContext._styles);
7839-
}
7840-
// #6353 after the app is resolved, if the userContext doesn't have a
7841-
// styles property, it means the app doesn't have any lifecycle-injected
7842-
// styles, so vue-style-loader never defined the styles getter.
7843-
// just expose the same styles from the initialContext.
7844-
var exposeStylesAndResolve = function (app) {
7845-
if (!userContext.hasOwnProperty('styles')) {
7846-
userContext.styles = initialContext.styles;
7840+
// #6353 ensure "styles" is exposed even if no styles are injected
7841+
// in component lifecycles.
7842+
// the renderStyles fn is exposed by vue-style-loader >= 3.0.3
7843+
var renderStyles = initialContext._renderStyles;
7844+
if (renderStyles) {
7845+
Object.defineProperty(userContext, 'styles', {
7846+
enumerable: true,
7847+
get: function get () {
7848+
return renderStyles(userContext._styles)
7849+
}
7850+
});
78477851
}
7848-
resolve(app);
7849-
};
7850-
7851-
var res = runner(userContext);
7852-
if (typeof res.then === 'function') {
7853-
res.then(exposeStylesAndResolve);
7854-
} else {
7855-
exposeStylesAndResolve(res);
78567852
}
7853+
7854+
resolve(runner(userContext));
78577855
});
78587856
}
78597857
}

0 commit comments

Comments
 (0)