@symbo.ls/mermaid 3.14.104 → 3.14.267
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 +16 -0
- package/dist/esm/src/bundle.js +4 -4
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @symbo.ls/mermaid
|
|
2
2
|
|
|
3
|
+
## 3.14.267
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Auto-generated cross-repo patch release.
|
|
8
|
+
|
|
9
|
+
## 3.14.105
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Manual patch bump triggered via workflow_dispatch (scope: all).
|
|
14
|
+
No source change behind this bump — released to refresh dist or
|
|
15
|
+
coordinate a cross-package version line.
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
- @symbo.ls/utils@3.14.105
|
|
18
|
+
|
|
3
19
|
## 3.14.104
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/dist/esm/src/bundle.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import r from"./utils/logger.js";import
|
|
2
|
-
var context = Smbls.deepDestringifyFunctions(${
|
|
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 = ${
|
|
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 (${
|
|
97
|
+
`;return r.debug(`[BUNDLE] Script generated (${h.length} bytes)`),h}export{k as getBundleScript,L as getSmblsIife};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/mermaid",
|
|
3
|
-
"version": "3.14.
|
|
3
|
+
"version": "3.14.267",
|
|
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,12 +69,12 @@
|
|
|
69
69
|
"mermaid": "./dist/esm/bin/start.js"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@symbo.ls/utils": "^3.14.
|
|
72
|
+
"@symbo.ls/utils": "^3.14.105",
|
|
73
73
|
"cors": "^2.8.6",
|
|
74
74
|
"express": "^4.21.2"
|
|
75
75
|
},
|
|
76
76
|
"optionalDependencies": {
|
|
77
|
-
"@symbo.ls/brender": "^3.14.
|
|
77
|
+
"@symbo.ls/brender": "^3.14.105"
|
|
78
78
|
},
|
|
79
79
|
"publishConfig": {
|
|
80
80
|
"access": "restricted"
|