"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/vue-server-renderer/basic.js" between
vue-2.6.11.tar.gz and vue-2.6.12.tar.gz

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

basic.js  (vue-2.6.11):basic.js  (vue-2.6.12)
skipping to change at line 339 skipping to change at line 339
fn.apply(this, arguments); fn.apply(this, arguments);
} }
} }
} }
/* */ /* */
var isAttr = makeMap( var isAttr = makeMap(
'accept,accept-charset,accesskey,action,align,alt,async,autocomplete,' + 'accept,accept-charset,accesskey,action,align,alt,async,autocomplete,' +
'autofocus,autoplay,autosave,bgcolor,border,buffered,challenge,charset,' + 'autofocus,autoplay,autosave,bgcolor,border,buffered,challenge,charset,' +
'checked,cite,class,code,codebase,color,cols,colspan,content,http-equiv,' + 'checked,cite,class,code,codebase,color,cols,colspan,content,' +
'name,contenteditable,contextmenu,controls,coords,data,datetime,default,' + 'contenteditable,contextmenu,controls,coords,data,datetime,default,' +
'defer,dir,dirname,disabled,download,draggable,dropzone,enctype,method,for,' 'defer,dir,dirname,disabled,download,draggable,dropzone,enctype,for,' +
+
'form,formaction,headers,height,hidden,high,href,hreflang,http-equiv,' + 'form,formaction,headers,height,hidden,high,href,hreflang,http-equiv,' +
'icon,id,ismap,itemprop,keytype,kind,label,lang,language,list,loop,low,' + 'icon,id,ismap,itemprop,keytype,kind,label,lang,language,list,loop,low,' +
'manifest,max,maxlength,media,method,GET,POST,min,multiple,email,file,' + 'manifest,max,maxlength,media,method,GET,POST,min,multiple,email,file,' +
'muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,' + 'muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,' +
'preload,radiogroup,readonly,rel,required,reversed,rows,rowspan,sandbox,' + 'preload,radiogroup,readonly,rel,required,reversed,rows,rowspan,sandbox,' +
'scope,scoped,seamless,selected,shape,size,type,text,password,sizes,span,' + 'scope,scoped,seamless,selected,shape,size,type,text,password,sizes,span,' +
'spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,' + 'spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,' +
'target,title,type,usemap,value,width,wrap' 'target,title,usemap,value,width,wrap'
); );
var unsafeAttrCharRE = /[>/="'\u0009\u000a\u000c\u0020]/; // eslint-disable-li ne no-control-regex var unsafeAttrCharRE = /[>/="'\u0009\u000a\u000c\u0020]/; // eslint-disable-li ne no-control-regex
var isSSRUnsafeAttr = function (name) { var isSSRUnsafeAttr = function (name) {
return unsafeAttrCharRE.test(name) return unsafeAttrCharRE.test(name)
}; };
/* istanbul ignore next */ /* istanbul ignore next */
var isRenderableAttr = function (name) { var isRenderableAttr = function (name) {
return ( return (
skipping to change at line 4152 skipping to change at line 4152
if (child) { if (child) {
if (options.outputSourceRange) { if (options.outputSourceRange) {
child.start = start; child.start = start;
child.end = end; child.end = end;
} }
children.push(child); children.push(child);
} }
} }
}, },
comment: function comment (text, start, end) { comment: function comment (text, start, end) {
// adding anyting as a sibling to the root node is forbidden // adding anything as a sibling to the root node is forbidden
// comments should still be allowed, but ignored // comments should still be allowed, but ignored
if (currentParent) { if (currentParent) {
var child = { var child = {
type: 3, type: 3,
text: text, text: text,
isComment: true isComment: true
}; };
if (options.outputSourceRange) { if (options.outputSourceRange) {
child.start = start; child.start = start;
child.end = end; child.end = end;
 End of changes. 3 change blocks. 
6 lines changed or deleted 5 lines changed or added

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