@stacksjs/stx-vscode 0.2.656 → 0.2.661

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stacksjs/stx-typescript-plugin",
3
- "version": "0.2.656",
3
+ "version": "0.2.661",
4
4
  "private": true,
5
5
  "main": "index.js"
6
6
  }
@@ -29,7 +29,7 @@ ${u.join(`
29
29
  `,s-1)+1;return s-t+1}function ne(e){let s=e.split(""),t=(i,o)=>{for(let r=i;r<o&&r<s.length;r++)if(s[r]!==`
30
30
  `)s[r]=" "},n=[/<script(?:\s[^>]*)?>[\s\S]*?<\/script>/gi,/<style(?:\s[^>]*)?>[\s\S]*?<\/style>/gi,/<!--[\s\S]*?-->/g,/\{\{--[\s\S]*?--\}\}/g,/@verbatim\b[\s\S]*?@endverbatim\b/g];for(let i of n){i.lastIndex=0;let o;while((o=i.exec(e))!==null)t(o.index,o.index+o[0].length)}return s.join("")}function jt(e){let s=0,t="";for(let n=0;n<e.length;n++){let i=e[n];if(t){if(i==="\\"){n++;continue}if(i===t)t="";continue}if(i==='"'||i==="'"||i==="`"){t=i;continue}if(i==="("||i==="["||i==="{"){s++;continue}if(i===")"||i==="]"||i==="}"){s--;continue}if(i==="|"&&s===0){if(e[n+1]==="|"){n++;continue}if(e[n-1]==="|")continue;return e.slice(0,n)}}return e}var Ue=new Set([":for","x-for","v-for"]),se=/(?:^|\s)((?::|x-|v-|@)[\w.:-]+)\s*=\s*(["'])([\s\S]*?)\2/g,le="__stx_interpolated",Ge="__StxElement",qe="__StxTemplateValue",Bt=`type ${qe}<T> = T extends { readonly _isSignal: true } | { readonly _isDerived: true } ? (T extends () => infer V ? T & V : T) : T`;function Ke(e){return e.replace(/\{\{[\s\S]*?\}\}/g,le).replace(/\{!![\s\S]*?!!\}/g,le)}function Ft(e){return e.replace(/\{\{[\s\S]*?\}\}|\{!![\s\S]*?!!\}/g,(s)=>{let t=s.split(`
31
31
  `).length-1,n=s.length-t;return`0${" ".repeat(Math.max(0,n-1))}${`
32
- `.repeat(t)}`})}var Vt=["foreach","endforeach","forelse","endforelse","for","endfor","while","endwhile","empty","if","elseif","else","endif","unless","endunless","isset","endisset","switch","case","default","endswitch","auth","endauth","guest","endguest","env","endenv","once","endonce","break","continue"],Wt=new RegExp(String.raw`^[ \t]*@(?:${Vt.join("|")})\b[ \t]*(\([^\n)]*\))?[ \t]*$`,"gm");function Gt(e){return e.replace(Wt,(s)=>s.replace(/[^\n]/g," "))}var He=new Set(["x-cloak","x-ref","x-transition","x-teleport","v-slot","x-hydrate",":key","x-tooltip","x-tooltip-position"]);function Kt(e){let s=ne(e),t=[],n=/(@?)\{\{([\s\S]*?)\}\}|(@?)\{!!([\s\S]*?)!!\}/g,i;while((i=n.exec(s))!==null){if(i[1]||i[3])continue;let a=i[2]??i[4]??"",c=i[2]!==void 0?2:3,u=jt(a);if(!u.trim())continue;let p=i.index+c+(u.length-u.trimStart().length);t.push({code:u.trim(),line:U(s,p),column:q(s,p),offset:p,kind:"interpolation"})}let o=/@(if|elseif|else\s+if|unless)\b\s*\(/g;while((i=o.exec(s))!==null){let r=i.index+i[0].length-1,a=0,c=r;for(;c<s.length;c++){let g=s[c];if(g==="(")a++;else if(g===")"){if(a--,a===0)break}}if(a!==0)continue;let u=s.slice(r+1,c),p=u.trim();if(o.lastIndex=c+1,!p)continue;let m=r+1+(u.length-u.trimStart().length);t.push({code:p,line:U(s,m),column:q(s,m),offset:i.index,kind:"condition"})}se.lastIndex=0;while((i=se.exec(s))!==null){let r=i[1],a=i[3]??"",c=r.replace(/\..*$/,"").replace(/^([^:].*?):.*$/,"$1");if(He.has(c)||He.has(r))continue;if(!a.trim())continue;let u=i.index+i[0].indexOf(i[2],i[0].indexOf(r)+r.length)+1;if(Ue.has(c)){let m=a.match(/\s+(?:in|of)\s+/);if(!m||m.index===void 0)continue;let g=a.slice(m.index+m[0].length),S=m.index+m[0].length+(g.length-g.trimStart().length);t.push({code:Ke(g.trim()),line:U(s,u+S),column:q(s,u+S),offset:u+S,kind:"directive",attribute:c});continue}let p=a.length-a.trimStart().length;t.push({code:Ke(a.trim()),line:U(s,u+p),column:q(s,u+p),offset:u+p,kind:"directive",attribute:c})}return t.sort((r,a)=>r.line-a.line||r.column-a.column),t}var Ht=2000;function zt(e,s){let t=0,n=Math.min(e.length,s+Ht);for(let i=s;i<n;i++){let o=e[i];if(o==="(")t++;else if(o===")"){if(t--,t===0)return e.slice(s+1,i)}}return null}function Xt(e){let s=new Map,t=(a,c)=>{let u=a.split(/[,[\]{}()\s]+/).filter(Boolean);for(let p of u){let m=p.replace(/^\.\.\./,"").trim();if(!/^\$?[A-Z_$][\w$]*$/i.test(m))continue;let g=u.length===1?c:void 0,S=s.get(m);if(!S)s.set(m,{name:m,iterable:g});else if(S.iterable!==g)S.iterable=void 0}},n=/^\$?[A-Z_$][\w$]*$/i,i=(a)=>{let c=a.trim();return n.test(c)?c:void 0};for(let a of e.matchAll(/@for(?:each|else)\s*\(/g)){let c=zt(e,a.index+a[0].length-1);if(c===null)continue;let u=Ce(c);if(!u)continue;t(u.itemVar.replace(/=>/g," "),i(u.arrayExpr))}for(let a of e.matchAll(/@for\s*\(\s*(?:(?:let|const|var)\s+)?([\w$]+|\[[^\]]*\]|\{[^}]*\})\s+(of|in)\s+([^)]*)/g))t(a[1],a[2]==="of"?i(a[3]):void 0);for(let a of e.matchAll(/@for\s*\(\s*(?:let|const|var)\s+([\w$]+)\s*[=;]/g))t(a[1]);let o=ne(e);se.lastIndex=0;let r;while((r=se.exec(o))!==null){let a=r[1].replace(/\..*$/,"");if(!Ue.has(a))continue;let c=r[3].match(/\s+(?:in|of)\s+/);if(!c||c.index===void 0)continue;t(r[3].slice(0,c.index),i(r[3].slice(c.index+c[0].length)))}for(let a of e.matchAll(/@(?:php|js|ts)\b([\s\S]*?)@end(?:php|js|ts)\b/g))for(let c of a[1].matchAll(/\b(?:const|let|var|function|class)\s+([\w$]+)/g))t(c[1]);return[...s.values()].sort((a,c)=>a.name.localeCompare(c.name))}function ee(e){let s=new Set;for(let t of e.matchAll(/^\s*(?:export\s+)?(?:const|let|var)\s+([\w$]+)/gm))s.add(t[1]);for(let t of e.matchAll(/^\s*(?:export\s+)?(?:async\s+)?function\s*\*?\s*([\w$]+)/gm))s.add(t[1]);for(let t of e.matchAll(/^\s*(?:export\s+)?class\s+([\w$]+)/gm))s.add(t[1]);for(let t of e.matchAll(/^\s*(?:export\s+)?(?:const|let|var)\s*[[{]([^\]}]*)[\]}]/gm))for(let n of t[1].split(",")){let i=n.split(":").pop().split("=")[0].replace(/^\.\.\./,"").trim();if(/^[A-Z_$][\w$]*$/i.test(i))s.add(i)}return[...s].sort()}var ze=["params","query","cookies","host","ip","setResponseStatus","setResponseHeader","notFound","request","url","definePageMeta","defineClientPayload","defineStore","props","$props"];var Xe=["$env","$user","$slot","$slots","$attrs","$props","$page","$route","$loop","loop","$errors","$csrf","props","slot"];function Ye(e){let s=new Set,t=new Set;for(let n of e){let i=n.kind==="server"?s:t;for(let o of ee(n.code))i.add(o)}return[...s].filter((n)=>t.has(n)).sort()}var Zt=/^\s*[A-Z_$][\w$]*\s*=[^=]/i;function Ut(e){let s=new Map,t=/!|===|!==|==|!=|&&|\|\||<|>|\btypeof\b|\binstanceof\b|\bin\b/;for(let n of e){let i=L(n),{depths:o,balanced:r}=Q(i);if(!r)continue;let a=/^([ \t]*(?:export[ \t]+)?const[ \t]+)([A-Za-z_$][\w$]*)[ \t]*(?::[^=\n]+)?=[ \t]*([^\n]+)$/gm;for(let c of i.matchAll(a)){let u=c.index??0;if(o[u+c[1].length]!==0)continue;let p=c[2],m=u+c[0].length-c[3].length,g=n.slice(m,u+c[0].length).trim().replace(/;$/,"").trim(),S=c[3],w=t.test(S)&&!/\bawait\b|=>|\bfunction\b|[{}]/.test(S)&&!/[,+\-*/%&|?:=]$/.test(g)&&Q(S).balanced;s.set(p,s.has(p)||!w?null:g)}}return new Map([...s].filter((n)=>n[1]!==null))}function Qe(e,s,t=0,n=new Set){if(s.size===0||t>=5)return e;let i=L(e),o="",r=0;for(let a of i.matchAll(/[A-Za-z_$][\w$]*/g)){let c=a.index??0,u=a[0],p=s.get(u);if(!p||n.has(u))continue;let m=i.slice(0,c).trimEnd(),g=i.slice(c+u.length).trimStart();if(m.endsWith(".")||/^:(?!:)/.test(g)&&/[{,]$/.test(m))continue;if(c>0&&/[\w$]/.test(i[c-1]))continue;o+=`${e.slice(r,c)}(${Qe(p,s,t+1,new Set([...n,u]))})`,r=c+u.length}return o+e.slice(r)}function qt(e,s){let t=/@(if|unless|elseif|else|endif|endunless)\b\s*(\()?/g,n=[],i;while((i=t.exec(e))!==null){if(i.index>s)break;let o=i[1];if(i.index===s){if(o==="elseif"){let a=n[n.length-1];if(a?.current)a.seen.push(a.current);if(a)a.current=null}break}if(o==="endif"||o==="endunless"){n.pop();continue}let r="";if(i[2]==="("){let a=0,c=i.index+i[0].length-1,u=c+1;for(;c<e.length;c++){let p=e[c];if(p==="(")a++;else if(p===")"){if(a--,a===0)break}}r=e.slice(u,c).trim(),t.lastIndex=c+1}if(o==="if")n.push({seen:[],current:r});else if(o==="unless")n.push({seen:[],current:`!(${r})`});else if(o==="elseif"||o==="else"){let a=n[n.length-1];if(!a)continue;if(a.current)a.seen.push(a.current);a.current=o==="elseif"?r:null}}return n.flatMap((o)=>[...o.seen.map((r)=>`!(${r})`),...o.current?[o.current]:[]]).filter(Boolean)}function Yt(e){let s=e.code.trim();if(!s)return null;if(e.attribute?.startsWith("@")){if(Zt.test(s))return null;let n=";(($event: any): void => { ";return{text:`${n}${s} });`,prefixLength:n.length}}let t=";void ((";return{text:`${t}${s}));`,prefixLength:t.length}}var Qt=/(\bfrom\s*|\bimport\s*\(\s*|\bimport\s+)(['"])(\.{1,2}\/[^'"\n]*)\2/g;function Ze(e,s){if(!s)return e;return e.replace(Qt,(t,n,i,o)=>{let r=ue.default.resolve(s,o).replace(/\\/g,"/");return`${n}${i}${r}${i}`})}function Jt(e){return" ".repeat(Math.max(0,(e.startColumn??1)-1))}function en(e){let s=new Set,t=L(e);for(let n of t.matchAll(/\bimport\s+(?:type\s+)?([\w$*{}\s,]+?)\s+from\b/g)){let i=n[1],o=/\{([^}]*)\}/.exec(i);for(let u of o?.[1].split(",")??[]){let p=u.trim().replace(/^type\s+/,"").split(/\s+as\s+/).pop()?.trim();if(p&&/^[A-Z_$][\w$]*$/i.test(p))s.add(p)}let r=i.replace(/\{[^}]*\}/,""),a=/\*\s*as\s+([A-Z_$][\w$]*)/i.exec(r);if(a)s.add(a[1]);let c=/^\s*([A-Z_$][\w$]*)/i.exec(r);if(c&&c[1]!=="type")s.add(c[1])}return[...s].sort()}function Je(e,s={}){let t=te(e),n=e.split(`
32
+ `.repeat(t)}`})}var Vt=["foreach","endforeach","forelse","endforelse","for","endfor","while","endwhile","empty","if","elseif","else","endif","unless","endunless","isset","endisset","switch","case","default","endswitch","auth","endauth","guest","endguest","env","endenv","once","endonce","break","continue"],Wt=new RegExp(String.raw`^[ \t]*@(?:${Vt.join("|")})\b[ \t]*(\([^\n)]*\))?[ \t]*$`,"gm");function Gt(e){return e.replace(Wt,(s)=>s.replace(/[^\n]/g," "))}var He=new Set(["x-cloak","x-ref","x-transition","x-teleport","v-slot","x-hydrate",":key","x-tooltip","x-tooltip-position"]);function Kt(e){let s=ne(e),t=[],n=/(@?)\{\{([\s\S]*?)\}\}|(@?)\{!!([\s\S]*?)!!\}/g,i;while((i=n.exec(s))!==null){if(i[1]||i[3])continue;let a=i[2]??i[4]??"",c=i[2]!==void 0?2:3,u=jt(a);if(!u.trim())continue;let p=i.index+c+(u.length-u.trimStart().length);t.push({code:u.trim(),line:U(s,p),column:q(s,p),offset:p,kind:"interpolation"})}let o=/@(if|elseif|else\s+if|unless)\b\s*\(/g;while((i=o.exec(s))!==null){let r=i.index+i[0].length-1,a=0,c=r;for(;c<s.length;c++){let g=s[c];if(g==="(")a++;else if(g===")"){if(a--,a===0)break}}if(a!==0)continue;let u=s.slice(r+1,c),p=u.trim();if(o.lastIndex=c+1,!p)continue;let m=r+1+(u.length-u.trimStart().length);t.push({code:p,line:U(s,m),column:q(s,m),offset:i.index,kind:"condition"})}se.lastIndex=0;while((i=se.exec(s))!==null){let r=i[1],a=i[3]??"",c=r.replace(/\..*$/,"").replace(/^([^:].*?):.*$/,"$1");if(He.has(c)||He.has(r))continue;if(!a.trim())continue;let u=i.index+i[0].indexOf(i[2],i[0].indexOf(r)+r.length)+1;if(Ue.has(c)){let m=a.match(/\s+(?:in|of)\s+/);if(!m||m.index===void 0)continue;let g=a.slice(m.index+m[0].length),S=m.index+m[0].length+(g.length-g.trimStart().length);t.push({code:Ke(g.trim()),line:U(s,u+S),column:q(s,u+S),offset:u+S,kind:"directive",attribute:c});continue}let p=a.length-a.trimStart().length;t.push({code:Ke(a.trim()),line:U(s,u+p),column:q(s,u+p),offset:u+p,kind:"directive",attribute:c})}return t.sort((r,a)=>r.line-a.line||r.column-a.column),t}var Ht=2000;function zt(e,s){let t=0,n=Math.min(e.length,s+Ht);for(let i=s;i<n;i++){let o=e[i];if(o==="(")t++;else if(o===")"){if(t--,t===0)return e.slice(s+1,i)}}return null}function Xt(e){let s=new Map,t=(a,c)=>{let u=a.split(/[,[\]{}()\s]+/).filter(Boolean);for(let p of u){let m=p.replace(/^\.\.\./,"").trim();if(!/^\$?[A-Z_$][\w$]*$/i.test(m))continue;let g=u.length===1?c:void 0,S=s.get(m);if(!S)s.set(m,{name:m,iterable:g});else if(S.iterable!==g)S.iterable=void 0}},n=/^\$?[A-Z_$][\w$]*$/i,i=(a)=>{let c=a.trim();return n.test(c)?c:void 0};for(let a of e.matchAll(/@for(?:each|else)\s*\(/g)){let c=zt(e,a.index+a[0].length-1);if(c===null)continue;let u=Ce(c);if(!u)continue;t(u.itemVar.replace(/=>/g," "),i(u.arrayExpr))}for(let a of e.matchAll(/@for\s*\(\s*(?:(?:let|const|var)\s+)?([\w$]+|\[[^\]]*\]|\{[^}]*\})\s+(of|in)\s+([^)]*)/g))t(a[1],a[2]==="of"?i(a[3]):void 0);for(let a of e.matchAll(/@for\s*\(\s*(?:let|const|var)\s+([\w$]+)\s*[=;]/g))t(a[1]);let o=ne(e);se.lastIndex=0;let r;while((r=se.exec(o))!==null){let a=r[1].replace(/\..*$/,"");if(!Ue.has(a))continue;let c=r[3].match(/\s+(?:in|of)\s+/);if(!c||c.index===void 0)continue;t(r[3].slice(0,c.index),i(r[3].slice(c.index+c[0].length)))}for(let a of e.matchAll(/@(?:php|js|ts)\b([\s\S]*?)@end(?:php|js|ts)\b/g))for(let c of a[1].matchAll(/\b(?:const|let|var|function|class)\s+([\w$]+)/g))t(c[1]);return[...s.values()].sort((a,c)=>a.name.localeCompare(c.name))}function ee(e){let s=new Set;for(let t of e.matchAll(/^\s*(?:export\s+)?(?:const|let|var)\s+([\w$]+)/gm))s.add(t[1]);for(let t of e.matchAll(/^\s*(?:export\s+)?(?:async\s+)?function\s*\*?\s*([\w$]+)/gm))s.add(t[1]);for(let t of e.matchAll(/^\s*(?:export\s+)?class\s+([\w$]+)/gm))s.add(t[1]);for(let t of e.matchAll(/^\s*(?:export\s+)?(?:const|let|var)\s*[[{]([^\]}]*)[\]}]/gm))for(let n of t[1].split(",")){let i=n.split(":").pop().split("=")[0].replace(/^\.\.\./,"").trim();if(/^[A-Z_$][\w$]*$/i.test(i))s.add(i)}return[...s].sort()}var ze=["params","query","cookies","host","ip","setResponseStatus","setResponseHeader","notFound","request","url","definePageMeta","defineClientPayload","defineStore","props","$props"];var Xe=["$env","$user","$slot","$slots","$attrs","$props","$page","$route","$loop","loop","$errors","$csrf","$native","props","slot"];function Ye(e){let s=new Set,t=new Set;for(let n of e){let i=n.kind==="server"?s:t;for(let o of ee(n.code))i.add(o)}return[...s].filter((n)=>t.has(n)).sort()}var Zt=/^\s*[A-Z_$][\w$]*\s*=[^=]/i;function Ut(e){let s=new Map,t=/!|===|!==|==|!=|&&|\|\||<|>|\btypeof\b|\binstanceof\b|\bin\b/;for(let n of e){let i=L(n),{depths:o,balanced:r}=Q(i);if(!r)continue;let a=/^([ \t]*(?:export[ \t]+)?const[ \t]+)([A-Za-z_$][\w$]*)[ \t]*(?::[^=\n]+)?=[ \t]*([^\n]+)$/gm;for(let c of i.matchAll(a)){let u=c.index??0;if(o[u+c[1].length]!==0)continue;let p=c[2],m=u+c[0].length-c[3].length,g=n.slice(m,u+c[0].length).trim().replace(/;$/,"").trim(),S=c[3],w=t.test(S)&&!/\bawait\b|=>|\bfunction\b|[{}]/.test(S)&&!/[,+\-*/%&|?:=]$/.test(g)&&Q(S).balanced;s.set(p,s.has(p)||!w?null:g)}}return new Map([...s].filter((n)=>n[1]!==null))}function Qe(e,s,t=0,n=new Set){if(s.size===0||t>=5)return e;let i=L(e),o="",r=0;for(let a of i.matchAll(/[A-Za-z_$][\w$]*/g)){let c=a.index??0,u=a[0],p=s.get(u);if(!p||n.has(u))continue;let m=i.slice(0,c).trimEnd(),g=i.slice(c+u.length).trimStart();if(m.endsWith(".")||/^:(?!:)/.test(g)&&/[{,]$/.test(m))continue;if(c>0&&/[\w$]/.test(i[c-1]))continue;o+=`${e.slice(r,c)}(${Qe(p,s,t+1,new Set([...n,u]))})`,r=c+u.length}return o+e.slice(r)}function qt(e,s){let t=/@(if|unless|elseif|else|endif|endunless)\b\s*(\()?/g,n=[],i;while((i=t.exec(e))!==null){if(i.index>s)break;let o=i[1];if(i.index===s){if(o==="elseif"){let a=n[n.length-1];if(a?.current)a.seen.push(a.current);if(a)a.current=null}break}if(o==="endif"||o==="endunless"){n.pop();continue}let r="";if(i[2]==="("){let a=0,c=i.index+i[0].length-1,u=c+1;for(;c<e.length;c++){let p=e[c];if(p==="(")a++;else if(p===")"){if(a--,a===0)break}}r=e.slice(u,c).trim(),t.lastIndex=c+1}if(o==="if")n.push({seen:[],current:r});else if(o==="unless")n.push({seen:[],current:`!(${r})`});else if(o==="elseif"||o==="else"){let a=n[n.length-1];if(!a)continue;if(a.current)a.seen.push(a.current);a.current=o==="elseif"?r:null}}return n.flatMap((o)=>[...o.seen.map((r)=>`!(${r})`),...o.current?[o.current]:[]]).filter(Boolean)}function Yt(e){let s=e.code.trim();if(!s)return null;if(e.attribute?.startsWith("@")){if(Zt.test(s))return null;let n=";(($event: any): void => { ";return{text:`${n}${s} });`,prefixLength:n.length}}let t=";void ((";return{text:`${t}${s}));`,prefixLength:t.length}}var Qt=/(\bfrom\s*|\bimport\s*\(\s*|\bimport\s+)(['"])(\.{1,2}\/[^'"\n]*)\2/g;function Ze(e,s){if(!s)return e;return e.replace(Qt,(t,n,i,o)=>{let r=ue.default.resolve(s,o).replace(/\\/g,"/");return`${n}${i}${r}${i}`})}function Jt(e){return" ".repeat(Math.max(0,(e.startColumn??1)-1))}function en(e){let s=new Set,t=L(e);for(let n of t.matchAll(/\bimport\s+(?:type\s+)?([\w$*{}\s,]+?)\s+from\b/g)){let i=n[1],o=/\{([^}]*)\}/.exec(i);for(let u of o?.[1].split(",")??[]){let p=u.trim().replace(/^type\s+/,"").split(/\s+as\s+/).pop()?.trim();if(p&&/^[A-Z_$][\w$]*$/i.test(p))s.add(p)}let r=i.replace(/\{[^}]*\}/,""),a=/\*\s*as\s+([A-Z_$][\w$]*)/i.exec(r);if(a)s.add(a[1]);let c=/^\s*([A-Z_$][\w$]*)/i.exec(r);if(c&&c[1]!=="type")s.add(c[1])}return[...s].sort()}function Je(e,s={}){let t=te(e),n=e.split(`
33
33
  `),i=Array.from({length:n.length},()=>""),o=new Map,r=s.filePath&&s.templateExpressions!==!1?Fe(e,ne(e),{filePath:s.filePath,componentsDir:s.componentsDir,projectRoot:s.projectRoot,readComponent:s.readComponent,scriptCode:(m,g)=>te(m).map((S)=>Ze(S.code,ue.default.dirname(g))).join(`
34
34
  `)}):void 0,a=new Set,c=[];for(let m of t){let g=Gt(Ft(m.code)),S=Ze(g,s.originDir??"").split(`
35
35
  `);S.forEach((w,b)=>{let v=m.startLine-1+b;if(v<i.length)i[v]=b===0?Jt(m)+w:w,a.add(v)}),c.push(m.startLine-1+S.length-1)}for(let m of c){let g=i[m]?.trim()===""?m:m+1;if(g<i.length&&i[g].trim()===""&&(g===m||!a.has(g)))i[g]=";"}let u=(m,g)=>{for(let[S,w]of m.split(`
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/stx-vscode",
3
3
  "type": "module",
4
- "version": "0.2.656",
4
+ "version": "0.2.661",
5
5
  "description": "stx language support for VS Code extensions to embed: the hovers, completions, diagnostics, grammar, snippets, language configuration and TypeScript server plugin behind the stx extension.",
6
6
  "author": "Chris Breuer <chris@stacksjs.org>",
7
7
  "license": "MIT",