Skip to content

Commit

Permalink
build: build 2.5.17
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Aug 1, 2018
1 parent b3c5e64 commit 7e75b79
Show file tree
Hide file tree
Showing 14 changed files with 44 additions and 18 deletions.
4 changes: 2 additions & 2 deletions dist/vue.common.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.5.16
* Vue.js v2.5.17
* (c) 2014-2018 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -5090,7 +5090,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
value: FunctionalRenderContext
});

Vue.version = '2.5.16';
Vue.version = '2.5.17';

/* */

Expand Down
4 changes: 2 additions & 2 deletions dist/vue.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.5.16
* Vue.js v2.5.17
* (c) 2014-2018 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -5088,7 +5088,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
value: FunctionalRenderContext
});

Vue.version = '2.5.16';
Vue.version = '2.5.17';

/* */

Expand Down
4 changes: 2 additions & 2 deletions dist/vue.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.5.16
* Vue.js v2.5.17
* (c) 2014-2018 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -5075,7 +5075,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
value: FunctionalRenderContext
});

Vue.version = '2.5.16';
Vue.version = '2.5.17';

/* */

Expand Down
4 changes: 2 additions & 2 deletions dist/vue.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/vue.runtime.common.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.5.16
* Vue.js v2.5.17
* (c) 2014-2018 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -5086,7 +5086,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
value: FunctionalRenderContext
});

Vue.version = '2.5.16';
Vue.version = '2.5.17';

/* */

Expand Down
4 changes: 2 additions & 2 deletions dist/vue.runtime.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.5.16
* Vue.js v2.5.17
* (c) 2014-2018 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -5084,7 +5084,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
value: FunctionalRenderContext
});

Vue.version = '2.5.16';
Vue.version = '2.5.17';

/* */

Expand Down
4 changes: 2 additions & 2 deletions dist/vue.runtime.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.5.16
* Vue.js v2.5.17
* (c) 2014-2018 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -5071,7 +5071,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
value: FunctionalRenderContext
});

Vue.version = '2.5.16';
Vue.version = '2.5.17';

/* */

Expand Down
4 changes: 2 additions & 2 deletions dist/vue.runtime.min.js

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions packages/vue-server-renderer/basic.js
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,11 @@ var isAttr = makeMap(
'target,title,type,usemap,value,width,wrap'
);

var unsafeAttrCharRE = /[>/="'\u0009\u000a\u000c\u0020]/;
var isSSRUnsafeAttr = function (name) {
return unsafeAttrCharRE.test(name)
};

/* istanbul ignore next */
var isRenderableAttr = function (name) {
return (
Expand Down Expand Up @@ -427,6 +432,9 @@ function renderAttrs (node) {
}

for (var key in attrs) {
if (isSSRUnsafeAttr(key)) {
continue
}
if (key === 'style') {
// leave it to the style module
continue
Expand Down Expand Up @@ -6075,6 +6083,9 @@ function renderStringList (
function renderAttrs$1 (obj) {
var res = '';
for (var key in obj) {
if (isSSRUnsafeAttr(key)) {
continue
}
res += renderAttr(key, obj[key]);
}
return res
Expand Down
11 changes: 11 additions & 0 deletions packages/vue-server-renderer/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,11 @@ var isAttr = makeMap(
'target,title,type,usemap,value,width,wrap'
);

var unsafeAttrCharRE = /[>/="'\u0009\u000a\u000c\u0020]/;
var isSSRUnsafeAttr = function (name) {
return unsafeAttrCharRE.test(name)
};

/* istanbul ignore next */
var isRenderableAttr = function (name) {
return (
Expand Down Expand Up @@ -429,6 +434,9 @@ function renderAttrs (node) {
}

for (var key in attrs) {
if (isSSRUnsafeAttr(key)) {
continue
}
if (key === 'style') {
// leave it to the style module
continue
Expand Down Expand Up @@ -5818,6 +5826,9 @@ function renderStringList (
function renderAttrs$1 (obj) {
var res = '';
for (var key in obj) {
if (isSSRUnsafeAttr(key)) {
continue
}
res += renderAttr(key, obj[key]);
}
return res
Expand Down
2 changes: 1 addition & 1 deletion packages/vue-server-renderer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-server-renderer",
"version": "2.5.16",
"version": "2.5.17",
"description": "server renderer for Vue 2.0",
"main": "index.js",
"types": "types/index.d.ts",
Expand Down
2 changes: 2 additions & 0 deletions packages/vue-template-compiler/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -4698,6 +4698,8 @@ var isAttr = makeMap(
'target,title,type,usemap,value,width,wrap'
);



/* istanbul ignore next */
var isRenderableAttr = function (name) {
return (
Expand Down
2 changes: 2 additions & 0 deletions packages/vue-template-compiler/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -4300,6 +4300,8 @@ var isAttr = makeMap(
'target,title,type,usemap,value,width,wrap'
);



/* istanbul ignore next */
var isRenderableAttr = function (name) {
return (
Expand Down
2 changes: 1 addition & 1 deletion packages/vue-template-compiler/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-template-compiler",
"version": "2.5.16",
"version": "2.5.17",
"description": "template compiler for Vue 2.0",
"main": "index.js",
"unpkg": "browser.js",
Expand Down

0 comments on commit 7e75b79

Please sign in to comment.