@symbo.ls/mermaid 3.14.105 → 3.14.485

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.
package/CHANGELOG.md CHANGED
@@ -1,10 +1,28 @@
1
1
  # @symbo.ls/mermaid
2
2
 
3
+ ## 3.14.485
4
+
5
+ ### Patch Changes
6
+
7
+ - Auto-generated cross-repo patch release.
8
+ - Updated dependencies
9
+ - @symbo.ls/utils@3.14.485
10
+
11
+ ## 3.14.267
12
+
13
+ ### Patch Changes
14
+
15
+ - Auto-generated cross-repo patch release.
16
+
3
17
  ## 3.14.105
4
18
 
5
19
  ### Patch Changes
6
20
 
7
- - @symbo.ls/utils@3.14.105
21
+ - Manual patch bump triggered via workflow_dispatch (scope: all).
22
+ No source change behind this bump — released to refresh dist or
23
+ coordinate a cross-package version line.
24
+ - Updated dependencies
25
+ - @symbo.ls/utils@3.14.105
8
26
 
9
27
  ## 3.14.104
10
28
 
@@ -1,5 +1,5 @@
1
- import r from"./utils/logger.js";import h from"smbls/iife-string";r.debug(`[BUNDLE] smbls IIFE loaded from smbls/iife-string (${h.length} bytes)`);const u=n=>n.replace(/</g,"\\u003c");function v(){return h}function w(n,e,t,{ProjectDataService:i}={}){if(r.debug(`[BUNDLE] getBundleScript started for ${n}`),!e)return r.warn("[BUNDLE] No data provided, returning empty"),"";try{if(e.merged)Object.assign(e,e.merged),r.debug(`[BUNDLE] Applied precomputed merged data for project ${e.id}`);else if(i&&Array.isArray(e.sharedLibraries)&&e.sharedLibraries.length>0){const s=i.mergeSharedLibraries(e,e.sharedLibraries,e.projectType);Object.assign(e,s),r.debug(`[BUNDLE] Merged ${e.sharedLibraries.length} shared libraries`)}}catch(s){r.error(`[BUNDLE] Failed to ensure merged data: ${s.message}`)}const m=u(JSON.stringify(e)),f=t?.headers&&typeof t.headers.get=="function"&&t.headers.get("host")||t?.headers?.host||t?.host||t?.url&&(()=>{try{return new URL(t.url).host}catch{return""}})()||"",o=String(f).toLowerCase().split(":")[0],a=(()=>{if(t?.query)return t.query;try{return Object.fromEntries(new URL(t?.url||"","http://x").searchParams)}catch{return{}}})(),g=a.release||!1,p=a.version,c=o.endsWith(".symbo.ls")||o.endsWith(".preview.symbols.app")||o==="localhost"||o.endsWith(".localhost"),l=!!g||!!p||!c,b=e&&(e._id||e.projectId||e.id)||null,y=c?u(JSON.stringify({...e.settings,liveSync:!l,inspect:!0,verbose:!l,projectId:b})):"null",d=`
2
- var context = Smbls.deepDestringifyFunctions(${m});
1
+ import r from"./utils/logger.js";import m from"smbls/iife-string";r.debug(`[BUNDLE] smbls IIFE loaded from smbls/iife-string (${m.length} bytes)`);const p=s=>s.replace(/</g,"\\u003c");function L(){return m}function k(s,e,t,{ProjectDataService:a}={}){if(r.debug(`[BUNDLE] getBundleScript started for ${s}`),!e)return r.warn("[BUNDLE] No data provided, returning empty"),"";try{if(e.merged)Object.assign(e,e.merged),r.debug(`[BUNDLE] Applied precomputed merged data for project ${e.id}`);else if(a&&Array.isArray(e.sharedLibraries)&&e.sharedLibraries.length>0){const o=a.mergeSharedLibraries(e,e.sharedLibraries,e.projectType);Object.assign(e,o),r.debug(`[BUNDLE] Merged ${e.sharedLibraries.length} shared libraries`)}}catch(o){r.error(`[BUNDLE] Failed to ensure merged data: ${o.message}`)}try{if(e.dependencies&&Array.isArray(e.sharedLibraries))for(const o of e.sharedLibraries){const u=o&&o.key;if(u)for(const v of["@symbo-ls","@symbo.ls"]){const i=`${v}/${u}`;e.dependencies[i]&&(delete e.dependencies[i],r.debug(`[BUNDLE] Dropped CDN dependency ${i} \u2014 already merged as shared library`))}}}catch(o){r.error(`[BUNDLE] Failed to strip shared-library dependencies: ${o.message}`)}const f=p(JSON.stringify(e)),g=t?.headers&&typeof t.headers.get=="function"&&t.headers.get("host")||t?.headers?.host||t?.host||t?.url&&(()=>{try{return new URL(t.url).host}catch{return""}})()||"",n=String(g).toLowerCase().split(":")[0],c=(()=>{if(t?.query)return t.query;try{return Object.fromEntries(new URL(t?.url||"","http://x").searchParams)}catch{return{}}})(),b=c.release||!1,y=c.version,l=n.endsWith(".symbo.ls")||n.endsWith(".preview.symbols.app")||n==="localhost"||n.endsWith(".localhost"),d=!!b||!!y||!l,S=e&&(e._id||e.projectId||e.id)||null,x=l?p(JSON.stringify({...e.settings,liveSync:!d,inspect:!0,verbose:!d,projectId:S})):"null",h=`
2
+ var context = Smbls.deepDestringifyFunctions(${f});
3
3
  context.packageManager = 'esm.sh';
4
4
  if (context.db && context.db.createClient) delete context.db.createClient;
5
5
  if (context.fetch && context.fetch.createClient) delete context.fetch.createClient;
@@ -16,7 +16,7 @@ import r from"./utils/logger.js";import h from"smbls/iife-string";r.debug(`[BUND
16
16
 
17
17
  var app = context.app || {};
18
18
  delete context.app;
19
- var settings = ${y};
19
+ var settings = ${x};
20
20
  if (settings) context.editor = settings;
21
21
 
22
22
  // Theme initialization: set data-theme before app renders to avoid FOUC.
@@ -94,4 +94,4 @@ import r from"./utils/logger.js";import h from"smbls/iife-string";r.debug(`[BUND
94
94
  }
95
95
 
96
96
  Smbls.create(app, context);
97
- `;return r.debug(`[BUNDLE] Script generated (${d.length} bytes)`),d}export{w as getBundleScript,v as getSmblsIife};
97
+ `;return r.debug(`[BUNDLE] Script generated (${h.length} bytes)`),h}export{k as getBundleScript,L as getSmblsIife};
@@ -1,4 +1,4 @@
1
- import b from"./utils/logger.js";import at from"./utils/vartranformer.js";import{getBundleScript as ct,getSmblsIife as lt}from"./bundle.js";import{deepDestringifyFunctions as pt}from"./utils/deepDestringify.js";import{transpile as J}from"./utils/funcql-transpile.js";import{normalizeRoute as gt,resolvePageRoute as ft}from"./route.js";import{generateMetaTags as mt,getPageMetadata as dt,getImportMapScript as ht}from"@symbo.ls/utils";const ut=process.env.BRENDER!=="false";let L=null,C=null,H=null;if(ut)try{const t=await import("@symbo.ls/brender");L=t.renderRoute,C=t.generateSitemap,H=t.prefetchPageData}catch(t){b.debug(`[MERMAID] Brender not available: ${t.message}`)}const yt=`<!doctype html>
1
+ import E from"./utils/logger.js";import at from"./utils/vartranformer.js";import{getBundleScript as pt,getSmblsIife as ft}from"./bundle.js";import{deepDestringifyFunctions as gt}from"./utils/deepDestringify.js";import{transpile as C}from"./utils/funcql-transpile.js";import{normalizeRoute as ht,resolvePageRoute as mt}from"./route.js";import{generateMetaTags as dt,getPageMetadata as ut,getImportMapScript as yt}from"@symbo.ls/utils";const H=(t,o)=>{if(typeof t=="string"){if(o&&typeof o[t]=="string")return o[t];if(/^(#|rgb|hsl|var\(|[a-z]+$)/i.test(t))return t}},bt=process.env.BRENDER!=="false";let B=null,z=null,U=null;if(bt)try{const t=await import("@symbo.ls/brender");B=t.renderRoute,z=t.generateSitemap,U=t.prefetchPageData}catch(t){E.debug(`[MERMAID] Brender not available: ${t.message}`)}const St=`<!doctype html>
2
2
  <html'\${{{ ROOT_ATTRS }}}'>
3
3
  <head>
4
4
  <meta charset="UTF-8" />
@@ -20,25 +20,25 @@ import b from"./utils/logger.js";import at from"./utils/vartranformer.js";import
20
20
  <\/script>
21
21
  '\${{{ EDITOR }}}'
22
22
  </body>
23
- </html>`;function M(t,i=Array.isArray(t)?[]:{}){for(const o in t){if(!Object.prototype.hasOwnProperty.call(t,o))continue;const n=t[o];if(typeof n=="string"){const s=n.trim();if(s.startsWith("(")&&s.includes("=>")||s.startsWith("function")||s.startsWith("async ")){const l=J(n);i[o]=l?l.schema:null}else i[o]=n}else Array.isArray(n)?i[o]=n.map(s=>{if(typeof s=="string"){const a=s.trim();if(a.startsWith("(")&&a.includes("=>")||a.startsWith("function")||a.startsWith("async ")){const y=J(s);return y?y.schema:null}}return s&&typeof s=="object"?M(s):s}):n&&typeof n=="object"&&!Array.isArray(n)?i[o]=M(n):i[o]=n}return i}async function xt(t,i={}){const{appkey:o,pathname:n="/",channel:s="production",userEnv:a=s,isProd:l=!1,req:y,query:bt,userId:B,smblsIife:U,editorBundle:A,analyzedScript:z="",indexHtml:K,ssrCache:r,ProjectDataService:W}=i;if(!t)return{html:"",status:404,contentType:"text/html"};if(typeof o=="string"&&o.includes("/")){const[c,p]=o.split("/");t.key||(t.key=p),t.owner||(t.owner=c)}const w=gt(n),S=ft(t.pages,n),N=a==="production"||a==="staging";let E="",I="",e=null,O=null,x="";if(r&&N){E=r.html||"";const c=[];r.fontLinks&&c.push(r.fontLinks);const p=[r.globalCSS||"",r.resetCss||""].filter(Boolean).join(`
24
- `);p&&c.push(`<style>${p}</style>`),r.css&&c.push(`<style data-emotion="smbls">${r.css}</style>`),I=c.join(`
25
- `);const g=[];if(r.ssrTranslations){const d=(t.config||t.settings||{}).polyglot||t.polyglot,h=d?.storagePrefix||"",T=d?.storageLangKey||"",f=[];for(const u in r.ssrTranslations){const m=r.ssrTranslations[u];m&&typeof m=="object"&&f.push(`localStorage.setItem(${JSON.stringify(h+u)},${JSON.stringify(JSON.stringify(m))})`)}if(T){const u=d?.defaultLang||"en";f.push(`if(!localStorage.getItem(${JSON.stringify(T)}))localStorage.setItem(${JSON.stringify(T)},${JSON.stringify(u)})`)}f.length&&g.push(`<script>try{${f.join(";")}}catch(e){}<\/script>`)}g.push("<script>window.__BRENDER__=true<\/script>"),x=g.join(`
26
- `),e={metadata:r.metadata,prefetchedState:r.prefetchedState,activeLang:r.activeLang}}else if(L&&N)try{const c=S?S.route:w;b.debug(`[MERMAID] Running brender for route: ${c}`);let p=!1;try{(0,eval)("1"),p=!0}catch{}if(O=p?pt(t):M(t),e=await L(O,{route:c,pathname:w}),e){E=e.html||"";const g=[];e.fontLinks&&g.push(e.fontLinks);const D=e.globalCSS||{},d=[D.rootRule||"",e.resetCss||"",D.keyframeRules||""].filter(Boolean).join(`
27
- `);d&&g.push(`<style>${d}</style>`),e.css&&g.push(`<style data-emotion="smbls">${e.css}</style>`),I=g.join(`
28
- `);const h=[];if(e.ssrTranslations){const f=(O?.config||{}).polyglot||O?.polyglot,u=f?.storagePrefix||"",m=f?.storageLangKey||"",v=[];for(const R in e.ssrTranslations){const P=e.ssrTranslations[R];P&&typeof P=="object"&&v.push(`localStorage.setItem(${JSON.stringify(u+R)},${JSON.stringify(JSON.stringify(P))})`)}if(m){const R=f?.defaultLang||"en";v.push(`if(!localStorage.getItem(${JSON.stringify(m)}))localStorage.setItem(${JSON.stringify(m)},${JSON.stringify(R)})`)}v.length&&h.push(`<script>try{${v.join(";")}}catch(e){}<\/script>`)}p&&e.brRegistry&&Object.keys(e.brRegistry).length&&h.push(`<script>window.__BR_REGISTRY__=${JSON.stringify(e.brRegistry)}<\/script>`),h.push("<script>window.__BRENDER__=true<\/script>"),x=h.join(`
29
- `),b.debug(`[MERMAID] Brender completed: body=${E.length}b, registry=${Object.keys(e.brRegistry||{}).length}`)}}catch(c){b.warn(`[MERMAID] Brender failed, falling back to client render: ${c.message}`)}const V=ct(o,t,y,{ProjectDataService:W}),Y=ht(t,t?.settings?.cdnProvider||"esmsh"),q=t?.files&&t.files["index.html"],G=K||q?.code||yt,Q=B?`<script>window.__SYMBOLS_AUTH__=${JSON.stringify({userId:B})}<\/script>`:"",_=e?.prefetchedState,X=(t.config||t.settings||{}).polyglot||t.polyglot,Z=e?.activeLang||X?.defaultLang||"en",tt=_&&Object.keys(_).length?{state:_,lang:Z,actualPathname:n}:{actualPathname:n},et=e?.metadata&&Object.keys(e.metadata).length?e.metadata:dt(t,S?S.route:w,tt,{isProduction:l,channel:s}),nt=mt(et,l),j=U||lt();if(!j)return b.error("[MERMAID] smbls IIFE bundle not available"),{html:"Internal Server Error: smbls bundle not found",status:500,contentType:"text/plain"};const st=A&&!l?`<script defer type="text/javascript">${A}<\/script>`:"",ot=l?`<!-- built with symbols.app -->
30
- `:`<!-- symbols | ${o} | ${a} | ${N?"ssr":"csr"} | noindex -->
31
- `,k=t.useDocumentTheme!==!1,$=t.globalTheme&&t.globalTheme!=="auto"?String(t.globalTheme):null,F=t.themeStorageKey?String(t.themeStorageKey):"",rt=k&&$?' data-theme="'+$+'"':"",it=k?"<script>(function(){try{var t=null;try{t=new URLSearchParams(location.search).get('globalTheme')}catch(e){}"+(F?"if(!t){try{t=localStorage.getItem("+JSON.stringify(F)+")}catch(e){}}":"")+"if(!t||t==='auto'){"+($?"t="+JSON.stringify($)+";":"try{t=window.matchMedia&&window.matchMedia('(prefers-color-scheme: dark)').matches?'dark':'light'}catch(e){}")+`}if(t&&t!=='auto')document.documentElement.setAttribute('data-theme',t);}catch(e){}})();<\/script>
32
- <meta name="color-scheme" content="light dark">`:"";return{html:at(ot+G,{ROOT_ATTRS:rt,HEAD_BOOT:it,META:nt+`
33
- `+I+`
23
+ </html>`;function M(t,o=Array.isArray(t)?[]:{}){for(const r in t){if(!Object.prototype.hasOwnProperty.call(t,r))continue;const s=t[r];if(typeof s=="string"){const n=s.trim();if(n.startsWith("(")&&n.includes("=>")||n.startsWith("function")||n.startsWith("async ")){const m=C(s);o[r]=m?m.schema:null}else o[r]=s}else Array.isArray(s)?o[r]=s.map(n=>{if(typeof n=="string"){const f=n.trim();if(f.startsWith("(")&&f.includes("=>")||f.startsWith("function")||f.startsWith("async ")){const $=C(n);return $?$.schema:null}}return n&&typeof n=="object"?M(n):n}):s&&typeof s=="object"&&!Array.isArray(s)?o[r]=M(s):o[r]=s}return o}async function _t(t,o={}){const{appkey:r,pathname:s="/",channel:n="production",userEnv:f=n,isProd:m=!1,req:$,query:$t,userId:j,smblsIife:K,editorBundle:k,analyzedScript:W="",indexHtml:V,ssrCache:l,ProjectDataService:Y}=o;if(!t)return{html:"",status:404,contentType:"text/html"};if(typeof r=="string"&&r.includes("/")){const[i,g]=r.split("/");t.key||(t.key=g),t.owner||(t.owner=i)}const N=ht(s),T=mt(t.pages,s),I=f==="production"||f==="staging";let O="",x="",e=null,v=null,D="";if(l&&I){O=l.html||"";const i=[];l.fontLinks&&i.push(l.fontLinks);const g=[l.globalCSS||"",l.resetCss||""].filter(Boolean).join(`
24
+ `);g&&i.push(`<style>${g}</style>`),l.css&&i.push(`<style data-emotion="smbls">${l.css}</style>`),x=i.join(`
25
+ `);const d=[];if(l.ssrTranslations){const a=(t.config||t.settings||{}).polyglot||t.polyglot,c=a?.storagePrefix||"",p=a?.storageLangKey||"",h=[];for(const u in l.ssrTranslations){const y=l.ssrTranslations[u];y&&typeof y=="object"&&h.push(`localStorage.setItem(${JSON.stringify(c+u)},${JSON.stringify(JSON.stringify(y))})`)}if(p){const u=a?.defaultLang||"en";h.push(`if(!localStorage.getItem(${JSON.stringify(p)}))localStorage.setItem(${JSON.stringify(p)},${JSON.stringify(u)})`)}h.length&&d.push(`<script>try{${h.join(";")}}catch(e){}<\/script>`)}d.push("<script>window.__BRENDER__=true<\/script>"),D=d.join(`
26
+ `),e={metadata:l.metadata,prefetchedState:l.prefetchedState,activeLang:l.activeLang}}else if(B&&I)try{const i=T?T.route:N;E.debug(`[MERMAID] Running brender for route: ${i}`);let g=!1;try{(0,eval)("1"),g=!0}catch{}if(v=g?gt(t):M(t),e=await B(v,{route:i,pathname:N}),e){O=e.html||"";const d=[];e.fontLinks&&d.push(e.fontLinks);const b=e.globalCSS||{},a=[b.rootRule||"",e.resetCss||"",b.keyframeRules||""].filter(Boolean).join(`
27
+ `);a&&d.push(`<style>${a}</style>`),e.css&&d.push(`<style data-emotion="smbls">${e.css}</style>`),x=d.join(`
28
+ `);const c=[];if(e.ssrTranslations){const h=(v?.config||{}).polyglot||v?.polyglot,u=h?.storagePrefix||"",y=h?.storageLangKey||"",R=[];for(const w in e.ssrTranslations){const L=e.ssrTranslations[w];L&&typeof L=="object"&&R.push(`localStorage.setItem(${JSON.stringify(u+w)},${JSON.stringify(JSON.stringify(L))})`)}if(y){const w=h?.defaultLang||"en";R.push(`if(!localStorage.getItem(${JSON.stringify(y)}))localStorage.setItem(${JSON.stringify(y)},${JSON.stringify(w)})`)}R.length&&c.push(`<script>try{${R.join(";")}}catch(e){}<\/script>`)}g&&e.brRegistry&&Object.keys(e.brRegistry).length&&c.push(`<script>window.__BR_REGISTRY__=${JSON.stringify(e.brRegistry)}<\/script>`),c.push("<script>window.__BRENDER__=true<\/script>"),D=c.join(`
29
+ `),E.debug(`[MERMAID] Brender completed: body=${O.length}b, registry=${Object.keys(e.brRegistry||{}).length}`)}}catch(i){E.warn(`[MERMAID] Brender failed, falling back to client render: ${i.message}`)}const q=pt(r,t,$,{ProjectDataService:Y}),G=yt(t,t?.settings?.cdnProvider||"esmsh"),Q=t?.files&&t.files["index.html"],X=V||Q?.code||St,Z=j?`<script>window.__SYMBOLS_AUTH__=${JSON.stringify({userId:j})}<\/script>`:"",_=e?.prefetchedState,tt=(t.config||t.settings||{}).polyglot||t.polyglot,et=e?.activeLang||tt?.defaultLang||"en",st=_&&Object.keys(_).length?{state:_,lang:et,actualPathname:s}:{actualPathname:s},nt=e?.metadata&&Object.keys(e.metadata).length?e.metadata:ut(t,T?T.route:N,st,{isProduction:m,channel:n}),ot=dt(nt,m),A=K||ft();if(!A)return E.error("[MERMAID] smbls IIFE bundle not available"),{html:"Internal Server Error: smbls bundle not found",status:500,contentType:"text/plain"};const rt=k&&!m?`<script defer type="text/javascript">${k}<\/script>`:"",it=m?`<!-- built with symbols.app -->
30
+ `:`<!-- symbols | ${r} | ${f} | ${I?"ssr":"csr"} | noindex -->
31
+ `,P=t.useDocumentTheme!==!1,S=t.globalTheme&&t.globalTheme!=="auto"?String(t.globalTheme):null,F=t.themeStorageKey?String(t.themeStorageKey):"",ct=P&&S?' data-theme="'+S+'"':"",lt=P?"<script>(function(){try{var t=null;try{t=new URLSearchParams(location.search).get('globalTheme')}catch(e){}"+(F?"if(!t){try{t=localStorage.getItem("+JSON.stringify(F)+")}catch(e){}}":"")+"if(!t||t==='auto'){"+(S?"t="+JSON.stringify(S)+";":"try{t=window.matchMedia&&window.matchMedia('(prefers-color-scheme: dark)').matches?'dark':'light'}catch(e){}")+`}if(t&&t!=='auto')document.documentElement.setAttribute('data-theme',t);}catch(e){}})();<\/script>
32
+ <meta name="color-scheme" content="light dark">`:"";let J="";if(P){const i=t.designSystem||t.config&&t.config.designSystem||{},g=i.color||{},d=i.theme&&i.theme.document||{},b=c=>{const p=d["@"+c];if(!p)return null;const h=H(p.background,g),u=H(p.color,g);return[h&&`background:${h}`,u&&`color:${u}`].filter(Boolean).join(";")||null},a=[];if(S){const c=b(S);c&&a.push(`html{${c}}`)}else{const c=b("dark"),p=b("light");c&&(a.push(`@media (prefers-color-scheme:dark){:root:not([data-theme]) html{${c}}}`),a.push(`[data-theme="dark"] html{${c}}`)),p&&(a.push(`@media (prefers-color-scheme:light){:root:not([data-theme]) html{${p}}}`),a.push(`[data-theme="light"] html{${p}}`))}a.length&&(J=`<style>${a.join("")}</style>`)}return{html:at(it+X,{ROOT_ATTRS:ct,HEAD_BOOT:lt+J,META:ot+`
34
33
  `+x+`
35
- `+Q,BUNDLE:V,BODY:E,SMBLS_IIFE:j,NODE_ENV:"'production'",IMPORTMAP:Y,EDITOR:st+z},{allowScript:!0}),status:200,contentType:"text/html"}}function _t(t,i="production",o=null){const n=i!=="production"?` (${i})`:"",s=o==="not_public",a=s?"Site Not Yet Public":"Not Published",l=s?`This site isn't public yet${n}`:`This project hasn't been published yet${n}`;return`<!doctype html>
34
+ `+D+`
35
+ `+Z,BUNDLE:q,BODY:O,SMBLS_IIFE:A,NODE_ENV:"'production'",IMPORTMAP:G,EDITOR:rt+W},{allowScript:!0}),status:200,contentType:"text/html"}}function Pt(t,o="production",r=null){const s=o!=="production"?` (${o})`:"",n=r==="not_public",f=n?"Site Not Yet Public":"Not Published",m=n?`This site isn't public yet${s}`:`This project hasn't been published yet${s}`;return`<!doctype html>
36
36
  <html>
37
37
  <head>
38
38
  <meta charset="UTF-8">
39
39
  <meta name="viewport" content="width=device-width, initial-scale=1">
40
40
  <meta name="robots" content="noindex">
41
- <title>${a}</title>
41
+ <title>${f}</title>
42
42
  <style>
43
43
  * { margin: 0; padding: 0; box-sizing: border-box; }
44
44
  body { min-height: 100vh; display: flex; align-items: center; justify-content: center; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: #0a0a0a; color: #fafafa; }
@@ -53,9 +53,9 @@ import b from"./utils/logger.js";import at from"./utils/vartranformer.js";import
53
53
  </head>
54
54
  <body>
55
55
  <div class="container">
56
- <h1>${l}</h1>
57
- <p>${s?"The owner has connected this domain but the project's visibility is set to private. Once they switch it to public in the workspace settings, the site will appear here automatically.":'Run <code>smbls publish</code> to deploy your project, or visit <a href="https://symbols.app">symbols.app</a> to get started.'}</p>
58
- <span class="env">${t}${n}</span>
56
+ <h1>${m}</h1>
57
+ <p>${n?"The owner has connected this domain but the project's visibility is set to private. Once they switch it to public in the workspace settings, the site will appear here automatically.":'Run <code>smbls publish</code> to deploy your project, or visit <a href="https://symbols.app">symbols.app</a> to get started.'}</p>
58
+ <span class="env">${t}${s}</span>
59
59
  </div>
60
60
  </body>
61
- </html>`}export{yt as DEFAULT_TEMPLATE_HTML,C as generateSitemap,H as prefetchPageData,_t as renderNotPublishedHtml,xt as renderProjectHtml,M as transpileFunctionStrings};
61
+ </html>`}export{St as DEFAULT_TEMPLATE_HTML,z as generateSitemap,U as prefetchPageData,Pt as renderNotPublishedHtml,_t as renderProjectHtml,M as transpileFunctionStrings};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symbo.ls/mermaid",
3
- "version": "3.14.105",
3
+ "version": "3.14.485",
4
4
  "type": "module",
5
5
  "license": "CC-BY-NC-4.0",
6
6
  "description": "Self-sustaining server runner for Symbols projects from JSON. Renders DOMQL projects to HTML with optional brender SSR.",
@@ -69,7 +69,7 @@
69
69
  "mermaid": "./dist/esm/bin/start.js"
70
70
  },
71
71
  "dependencies": {
72
- "@symbo.ls/utils": "^3.14.105",
72
+ "@symbo.ls/utils": "^3.14.485",
73
73
  "cors": "^2.8.6",
74
74
  "express": "^4.21.2"
75
75
  },