@live-codes/browser-compilers 0.5.6 → 0.5.8

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.
@@ -0,0 +1,53 @@
1
+ var elksvg=(()=>{var b=Object.create,a=Object.defineProperty,C=Object.getPrototypeOf,E=Object.prototype.hasOwnProperty,L=Object.getOwnPropertyNames,$=Object.getOwnPropertyDescriptor;var I=t=>a(t,"__esModule",{value:!0});var g=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),T=(t,e)=>{for(var r in e)a(t,r,{get:e[r],enumerable:!0})},k=(t,e,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of L(e))!E.call(t,i)&&i!=="default"&&a(t,i,{get:()=>e[i],enumerable:!(r=$(e,i))||r.enumerable});return t},_=t=>k(I(a(t!=null?b(C(t)):{},"default",t&&t.__esModule&&"default"in t?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t);var y=g((w,d)=>{"use strict";var o=class{constructor(){this.INDENTATION=2}indent(e){return" ".repeat(this.INDENTATION*e)}},u=class extends o{constructor(e){super();this.content=this._stripCommonIndentation(e)}_stripCommonIndentation(e){var r=0,i=!0;for(let s of e)if(!(i&&s==`
2
+ `)){if(s==" ")r+=1;else if(s==" ")r+=this.INDENTATION;else break;i=!1}return e.split(`
3
+ `).filter(s=>s.trim()).map(s=>s.slice(r)).join(`
4
+ `)}render(e=0){return this.content.split(`
5
+ `).map(r=>this.indent(e)+r).join(`
6
+ `)}},p=class extends o{constructor(e){super();this.child=e}render(e=0){var r=[];return r.push(`${this.indent(e)}<![CDATA[
7
+ `),r.push(this.child.render(e+1)),r.push(`
8
+ ${this.indent(e)}]]>`),r.join("")}},h=class extends o{constructor(e,r={},i=[]){super();this.tagName=e,this.attributes=r,this.children=i}render(e=0){var r=Object.keys(this.attributes).map(l=>`${l}="${this.attributes[l]}"`).join(" "),i=this.children.length,s=[];if(s.push(`${this.indent(e)}<${this.tagName}${r?" "+r:""}`),this.children.length!=0){s.push(">"),s.push(`
9
+ `);for(let l of this.children)s.push(`${l.render(e+1)}
10
+ `);s.push(this.indent(e)),s.push(`</${this.tagName}>`)}else s.push(" />");return s.join("")}};undefined===d&&console.log(new h("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:104,height:104},[new h("defs",{},[new h("style",{type:"text/css"},[new p(new u(`
11
+ rect {
12
+ opacity: 0.8;
13
+ fill: #6094CC;
14
+ stroke-width: 1;
15
+ stroke: #222222;
16
+ }
17
+
18
+ rect.port {
19
+ opacity: 1;
20
+ fill: #326CB2;
21
+ }
22
+ `))])]),new h("g",{transform:"translate(0,0)"},[new h("polyline",{points:"42,27 62,27",id:"e1",class:"edge"}),new h("polyline",{points:"42,37 52,37 52,77 62,77",id:"e2",class:"edge"}),new h("rect",{id:"n1",class:"node",x:"12",y:"17",width:"30",height:"30"}),new h("rect",{id:"n2",class:"node",x:"62",y:"12",width:"30",height:"30"}),new h("rect",{id:"n3",class:"node",x:"62",y:"62",width:"30",height:"30"})])]).render());w=d.exports={Xml:h,Text:u,Cdata:p}});var m=g((x,v)=>{"use strict";var{Xml:n,Text:f,Cdata:A}=y();function c(){this._style=`
23
+ rect {
24
+ opacity: 0.8;
25
+ fill: #6094CC;
26
+ stroke-width: 1;
27
+ stroke: #222222;
28
+ }
29
+ rect.port {
30
+ opacity: 1;
31
+ fill: #326CB2;
32
+ }
33
+ text {
34
+ font-size: 10px;
35
+ font-family: sans-serif;
36
+ /* in elk's coordinates "hanging" would be the correct value" */
37
+ dominant-baseline: hanging;
38
+ text-align: left;
39
+ }
40
+ g.port > text {
41
+ font-size: 8px;
42
+ }
43
+ polyline {
44
+ fill: none;
45
+ stroke: black;
46
+ stroke-width: 1;
47
+ }
48
+ path {
49
+ fill: none;
50
+ stroke: black;
51
+ stroke-width: 1;
52
+ }
53
+ `,this._defs=new n("marker",{id:"arrow",markerWidth:"10",markerHeight:"8",refX:"10",refY:"4",orient:"auto"},[new n("path",{d:"M0,7 L10,4 L0,1 L0,7",style:"fill: #000000;"})]),this.reset()}c.prototype={constructor:c,reset(){this._edgeRoutingStyle={__global:"POLYLINE"},this._parentIds={},this._edgeParents={}},init(t){this.reset(),this.registerParentIds(t),this.registerEdges(t)},isDescendant(t,e){for(var r=e.id;this._parentIds[r];)if(r=this._parentIds[r],r==t.id)return!0;return!1},getOption(t,e){if(!!t){if(t.id)return t.id;var r=e.substr(e.lastIndexOf(".")+1);if(t[r])return t[r]}},registerParentIds(t){if(this._edgeParents[t.id]=[],t.properties){var e=this.getOption(t.properties);e&&(this._edgeRoutingStyle[t.id]=e)}(t.children||[]).forEach(r=>{this._parentIds[r.id]=t.id,this.registerParentIds(r)})},registerEdges(t){(t.edges||[]).forEach(e=>{e.sources.forEach(r=>{e.targets.forEach(i=>{r.includes(":")&&(r=r.slice(0,r.indexOf(":"))),this.isDescendant(r,i)||(r=this._parentIds[r]),this._edgeParents[r].push(e)})})}),(t.children||[]).forEach(e=>this.registerEdges(e))},renderRoot(t,e="DEFAULT",r="DEFAULT"){var i=[],s=[];return(e!=null||r!=null)&&(e!=null&&s.push(this.svgCss(e=="DEFAULT"?this._style:e)),r!=null&&s.push(r=="DEFAULT"?this._defs:new f(r)),i.push(new n("defs",{},s))),i.push(this.renderGraph(t)),new n("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:t.width||100,height:t.height||100},i)},renderGraph(t){var e=[];for(let i of this._edgeParents[t.id])e.push(this.renderEdge(i,t)),i.labels&&e.push(this.renderLabels(i.labels));for(let i of t.children)e.push(this.renderRect(i)),(i.ports||i.labels)&&e.push(this.renderPortsAndLabels(i)),i.children!=null&&i.children.length>0&&e.push(this.renderGraph(i));var r={};return(t.x||t.y)&&(r.transform=`translate(${t.x||0},${t.y||0})`),new n("g",r,e)},renderPortsAndLabels(t){var e=[];for(let r of t.ports)e.push(this.renderRect(r)),r.labels&&e.push(this.renderPort(r));if(t.labels)for(let r of t.labels)e.push(this.renderLabel(r));return new n("g",{transform:`translate(${t.x||0},${t.y||0})`},e)},renderRect(t){return new n("rect",{...this.idClass(t,"node"),...this.posSize(t),...this.style(t),...this.attributes(t)})},renderPort(t){return new n("g",{...this.idClass(t,"port"),transform:`translate(${t.x||0},${t.y||0})`},this.renderLabels(t.labels))},renderEdge(t,e){var r=this.getBends(t.sections);return this._edgeRoutingStyle[e.id]=="SPLINES"||this._edgeRoutingStyle.__global=="SPLINES"?this.renderPath(t,r):this.renderPolyline(t,r)},renderPath(t,e){return new n("path",{d:this.bendsToSpline(e),...this.idClass(t,"edge"),...this.style(t),...this.attributes(t)})},renderPolyline(t,e){return new n("polyline",{points:this.bendsToPolyline(e),...this.idClass(t,"edge"),...this.style(t),...this.attributes(t)})},getBends(t){var e=[];return t&&t.length>0&&t.forEach(r=>{r.startPoint&&e.push(r.startPoint),r.bendPoints&&(e=e.concat(r.bendPoints)),r.endPoint&&e.push(r.endPoint)}),e},renderLabels(t){return(t||[]).map(e=>this.renderLabel(e))},renderLabel(t){return new n("text",{...this.idClass(t,"label"),...this.posSize(t),...this.style(t),...this.attributes(t)},[new f(t.text)])},bendsToPolyline(t){return t.map(e=>`${e.x},${e.y}`).join(" ")},bendsToSpline(t){if(!t.length)return"";let{x:e,y:r}=t[0];points=[`M${e} ${r}`];for(let s=1;s<t.length;s=s+3){var i=t.length-s;i==1?points.push(`L${t[s].x+" "+t[s].y}`):i==2?(points.push(`Q${t[s].x+" "+t[s].y}`),points.push(t[s+1].x+" "+t[s+1].y)):(points.push(`C${t[s].x+" "+t[s].y}`),points.push(t[s+1].x+" "+t[s+1].y),points.push(t[s+2].x+" "+t[s+2].y))}return points.join(" ")},svgCss(t){return t==""?"":new n("style",{type:"text/css"},[new A(new f(t))])},posSize(t){return{x:t.x||0,y:t.y||0,width:t.width||0,height:t.height||0}},idClass(t,e){var r=Array.isArray(t.class)?t.class.join(" "):t.class,i=[r,e].filter(l=>l).join(" "),s={};return t.id&&(s.id=t.id),i&&(s.class=i),s},style(t){return t.style?{style:t.style}:{}},attributes(t){return t.attributes},toSvg(t,e="DEFAULT",r="DEFAULT"){this.init(t);var i=this.renderRoot(t,e,r);return i.render()}};x=v.exports={Renderer:c}});var N={};T(N,{Renderer:()=>P.Renderer});var P=_(m());return N;})();
@@ -0,0 +1,2 @@
1
+ var lightningcss=(()=>{var k=Object.defineProperty;var E=(r,t)=>{for(var u in t)k(r,u,{get:t[u],enumerable:!0})};var C={};E(C,{browserslistToTargets:()=>M,init:()=>O,transform:()=>T});var c,I=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});I.decode();var d=null;function m(){return(d===null||d.buffer!==c.memory.buffer)&&(d=new Uint8Array(c.memory.buffer)),d}function S(r,t){return I.decode(m().subarray(r,r+t))}var b=new Array(32).fill(void 0);b.push(void 0,null,!0,!1);var l=b.length;function _(r){l===b.length&&b.push(b.length+1);let t=l;return l=b[t],b[t]=r,t}function o(r){return b[r]}function U(r){r<36||(b[r]=l,l=r)}function w(r){let t=o(r);return U(r),t}function j(r){return r==null}var y=null;function F(){return(y===null||y.buffer!==c.memory.buffer)&&(y=new Float64Array(c.memory.buffer)),y}var p=null;function g(){return(p===null||p.buffer!==c.memory.buffer)&&(p=new Int32Array(c.memory.buffer)),p}var h=0,v=new TextEncoder("utf-8"),$=typeof v.encodeInto=="function"?function(r,t){return v.encodeInto(r,t)}:function(r,t){let u=v.encode(r);return t.set(u),{read:r.length,written:u.length}};function N(r,t,u){if(u===void 0){let f=v.encode(r),s=t(f.length);return m().subarray(s,s+f.length).set(f),h=f.length,s}let a=r.length,e=t(a),n=m(),i=0;for(;i<a;i++){let f=r.charCodeAt(i);if(f>127)break;n[e+i]=f}if(i!==a){i!==0&&(r=r.slice(i)),e=u(e,a,a=i+r.length*3);let f=m().subarray(e+i,e+a);i+=$(r,f).written}return h=i,e}function x(r){let t=typeof r;if(t=="number"||t=="boolean"||r==null)return`${r}`;if(t=="string")return`"${r}"`;if(t=="symbol"){let e=r.description;return e==null?"Symbol":`Symbol(${e})`}if(t=="function"){let e=r.name;return typeof e=="string"&&e.length>0?`Function(${e})`:"Function"}if(Array.isArray(r)){let e=r.length,n="[";e>0&&(n+=x(r[0]));for(let i=1;i<e;i++)n+=", "+x(r[i]);return n+="]",n}let u=/\[object ([^\]]+)\]/.exec(toString.call(r)),a;if(u.length>1)a=u[1];else return toString.call(r);if(a=="Object")try{return"Object("+JSON.stringify(r)+")"}catch(e){return"Object"}return r instanceof Error?`${r.name}: ${r.message}
2
+ ${r.stack}`:a}function T(r){try{let e=c.__wbindgen_add_to_stack_pointer(-16);c.transform(e,_(r));var t=g()[e/4+0],u=g()[e/4+1],a=g()[e/4+2];if(a)throw w(u);return w(t)}finally{c.__wbindgen_add_to_stack_pointer(16)}}function A(r,t){try{return r.apply(this,t)}catch(u){c.__wbindgen_exn_store(_(u))}}async function B(r,t){if(typeof Response=="function"&&r instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(r,t)}catch(a){if(r.headers.get("Content-Type")!="application/wasm")console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",a);else throw a}let u=await r.arrayBuffer();return await WebAssembly.instantiate(u,t)}else{let u=await WebAssembly.instantiate(r,t);return u instanceof WebAssembly.Instance?{instance:u,module:r}:u}}async function R(r){typeof r=="undefined"&&(r=new URL("lightningcss_node_bg.wasm",location));let t={};t.wbg={},t.wbg.__wbindgen_string_new=function(e,n){var i=S(e,n);return _(i)},t.wbg.__wbindgen_object_drop_ref=function(e){w(e)},t.wbg.__wbg_set_e543156a3c4d08a8=function(e,n,i){var f=o(e).set(o(n),o(i));return _(f)},t.wbg.__wbindgen_is_string=function(e){var n=typeof o(e)=="string";return n},t.wbg.__wbg_new_55259b13834a484c=function(e,n){var i=new Error(S(e,n));return _(i)},t.wbg.__wbg_set_f1a4ac8f3a605b11=function(e,n,i){o(e)[w(n)]=w(i)},t.wbg.__wbg_get_2d1407dba3452350=function(e,n){var i=o(e)[w(n)];return _(i)},t.wbg.__wbindgen_is_null=function(e){var n=o(e)===null;return n},t.wbg.__wbindgen_is_undefined=function(e){var n=o(e)===void 0;return n},t.wbg.__wbindgen_is_object=function(e){let n=o(e);var i=typeof n=="object"&&n!==null;return i},t.wbg.__wbindgen_number_get=function(e,n){let i=o(n);var f=typeof i=="number"?i:void 0;F()[e/8+1]=j(f)?0:f,g()[e/4+0]=!j(f)},t.wbg.__wbg_isSafeInteger_91192d88df6f12b9=function(e){var n=Number.isSafeInteger(o(e));return n},t.wbg.__wbindgen_boolean_get=function(e){let n=o(e);var i=typeof n=="boolean"?n?1:0:2;return i},t.wbg.__wbindgen_string_get=function(e,n){let i=o(n);var f=typeof i=="string"?i:void 0,s=j(f)?0:N(f,c.__wbindgen_malloc,c.__wbindgen_realloc),W=h;g()[e/4+1]=W,g()[e/4+0]=s},t.wbg.__wbg_new_d3138911a89329b0=function(){var e=new Object;return _(e)},t.wbg.__wbg_isArray_8480ed76e5369634=function(e){var n=Array.isArray(o(e));return n},t.wbg.__wbg_iterator_4b9cedbeda0c0e30=function(){var e=Symbol.iterator;return _(e)},t.wbg.__wbg_values_71935f80778b5113=function(e){var n=o(e).values();return _(n)},t.wbg.__wbg_entries_38f300d4350c7466=function(e){var n=Object.entries(o(e));return _(n)},t.wbg.__wbg_next_dd1a890d37e38d73=function(){return A(function(e){var n=o(e).next();return _(n)},arguments)},t.wbg.__wbg_done_982b1c7ac0cbc69d=function(e){var n=o(e).done;return n},t.wbg.__wbg_value_2def2d1fb38b02cd=function(e){var n=o(e).value;return _(n)},t.wbg.__wbg_get_f45dff51f52d7222=function(e,n){var i=o(e)[n>>>0];return _(i)},t.wbg.__wbindgen_number_new=function(e){var n=e;return _(n)},t.wbg.__wbg_new_16f24b0728c5e67b=function(){var e=new Array;return _(e)},t.wbg.__wbg_push_a72df856079e6930=function(e,n){var i=o(e).push(o(n));return i},t.wbg.__wbg_new_b563cacb0bf27b31=function(){var e=new Map;return _(e)},t.wbg.__wbg_get_8bbb82393651dd9c=function(){return A(function(e,n){var i=Reflect.get(o(e),o(n));return _(i)},arguments)},t.wbg.__wbindgen_is_function=function(e){var n=typeof o(e)=="function";return n},t.wbg.__wbg_call_89558c3e96703ca1=function(){return A(function(e,n){var i=o(e).call(o(n));return _(i)},arguments)},t.wbg.__wbg_next_c7a2a6b012059a5e=function(e){var n=o(e).next;return _(n)},t.wbg.__wbg_has_3850edde6df9191b=function(){return A(function(e,n){var i=Reflect.has(o(e),o(n));return i},arguments)},t.wbg.__wbg_length_30803400a8f15c59=function(e){var n=o(e).length;return n},t.wbg.__wbindgen_memory=function(){var e=c.memory;return _(e)},t.wbg.__wbg_buffer_5e74a88a1424a2e0=function(e){var n=o(e).buffer;return _(n)},t.wbg.__wbg_new_e3b800e570795b3c=function(e){var n=new Uint8Array(o(e));return _(n)},t.wbg.__wbg_set_5b8081e9d002f0df=function(e,n,i){o(e).set(o(n),i>>>0)},t.wbg.__wbg_instanceof_Uint8Array_8a8537f46e056474=function(e){var n=o(e)instanceof Uint8Array;return n},t.wbg.__wbg_instanceof_ArrayBuffer_649f53c967aec9b3=function(e){var n=o(e)instanceof ArrayBuffer;return n},t.wbg.__wbg_newwithbyteoffsetandlength_278ec7532799393a=function(e,n,i){var f=new Uint8Array(o(e),n>>>0,i>>>0);return _(f)},t.wbg.__wbindgen_object_clone_ref=function(e){var n=o(e);return _(n)},t.wbg.__wbindgen_debug_string=function(e,n){var i=x(o(n)),f=N(i,c.__wbindgen_malloc,c.__wbindgen_realloc),s=h;g()[e/4+1]=s,g()[e/4+0]=f},t.wbg.__wbindgen_throw=function(e,n){throw new Error(S(e,n))},(typeof r=="string"||typeof Request=="function"&&r instanceof Request||typeof URL=="function"&&r instanceof URL)&&(r=fetch(r));let{instance:u,module:a}=await B(await r,t);return c=u.exports,R.__wbindgen_wasm_module=a,c}var O=R;var L={and_chr:"chrome",and_ff:"firefox",ie_mob:"ie",op_mob:"opera",and_qq:null,and_uc:null,baidu:null,bb:null,kaios:null,op_mini:null};function M(r){let t={};for(let u of r){let[a,e]=u.split(" ");if(L[a]===null)continue;let n=q(e);n!=null&&(t[a]==null||n<t[a])&&(t[a]=n)}return t}function q(r){let[t,u=0,a=0]=r.split("-")[0].split(".").map(e=>parseInt(e,10));return isNaN(t)||isNaN(u)||isNaN(a)?null:t<<16|u<<8|a}return C;})();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-codes/browser-compilers",
3
- "version": "0.5.6",
3
+ "version": "0.5.8",
4
4
  "description": "Compilers that run in the browser, for use in livecodes.io",
5
5
  "author": "Hatem Hosny",
6
6
  "license": "MIT",
@@ -15,10 +15,8 @@
15
15
  "copy:types": "recursive-copy vendor_modules/types dist/types",
16
16
  "gh-pages": "gh-pages -m \"[ci skip] Updates\" -d dist",
17
17
  "fix": "run-s fix:*",
18
- "fix:prettier": "prettier src --ignore-path .eslintignore --write",
19
- "fix:eslint": "eslint --fix --ext js,jsx,ts,tsx .",
20
- "lint:prettier": "prettier src --ignore-path .eslintignore --list-different",
21
- "lint:eslint": "eslint --ext js,jsx,ts,tsx . ",
18
+ "fix:prettier": "prettier vendor_modules/imports --ignore-path .eslintignore --write",
19
+ "lint:prettier": "prettier vendor_modules/imports --ignore-path .eslintignore --list-different",
22
20
  "release": "standard-version",
23
21
  "prepare-release": "run-s reset build test cov release",
24
22
  "reset": "git clean -dfx && git reset --hard && npm i",
@@ -36,10 +34,12 @@
36
34
  "@webassemblyjs/wast-refmt": "1.11.1",
37
35
  "babel-preset-solid": "1.3.5",
38
36
  "dts-bundle": "0.7.3",
37
+ "elkjs-svg": "0.2.1",
39
38
  "esbuild-plugin-cache": "0.2.9",
40
39
  "esbuild-plugin-velcro": "0.1.1",
41
40
  "eslint": "8.11.0",
42
41
  "less": "4.1.2",
42
+ "lightningcss-wasm": "1.14.0",
43
43
  "postcss": "8.4.6",
44
44
  "postcss-preset-env": "7.3.1",
45
45
  "react": "17.0.2",
@@ -286,3 +286,26 @@ fs.copyFileSync(
286
286
  path.resolve(vendor_modules_src + '/lua-fmt/lua-fmt.js'),
287
287
  path.resolve(targetDir + '/lua-fmt/lua-fmt.js'),
288
288
  );
289
+
290
+ // elkjs-svg
291
+ esbuild.build({
292
+ ...baseOptions,
293
+ entryPoints: ['vendor_modules/imports/elkjs-svg.js'],
294
+ outfile: 'dist/elkjs-svg/elkjs-svg.js',
295
+ globalName: 'elksvg',
296
+ define: { 'require.main': 'undefined' },
297
+ });
298
+
299
+ // lightningcss
300
+ mkdirp(targetDir + '/lightningcss');
301
+ fs.copyFileSync(
302
+ path.resolve('node_modules/lightningcss-wasm/lightningcss_node_bg.wasm'),
303
+ path.resolve(targetDir + '/lightningcss/lightningcss_node_bg.wasm'),
304
+ );
305
+ esbuild.build({
306
+ ...baseOptions,
307
+ entryPoints: ['vendor_modules/imports/lightningcss.js'],
308
+ outfile: 'dist/lightningcss/lightningcss.js',
309
+ globalName: 'lightningcss',
310
+ define: { 'import.meta.url': 'location' },
311
+ });
@@ -12,6 +12,8 @@ CoffeeScript: [MIT License](https://github.com/jashkenas/coffeescript/tree/07f64
12
12
 
13
13
  dart-sass: [MIT License](https://github.com/sass/dart-sass/blob/e3bf3eb3a3a8708877a86a08c7e3bee92160ac1f/LICENSE)
14
14
 
15
+ elkjs-svg: [MIT License](https://github.com/EmilStenstrom/elkjs-svg/blob/4a8709b2407d23218904f523552c565a37764e40/LICENSE)
16
+
15
17
  gnuplot-JS: [MIT License](https://github.com/chhu/gnuplot-JS/blob/62a3c8488ad00c97807ba48ae75738ca3af607fe/LICENSE)
16
18
 
17
19
  JSCPP: [MIT License](https://github.com/felixhao28/JSCPP/blob/befbd6b48666007151c259c5dd291ab028ad4c04/LICENSE)
@@ -20,6 +22,8 @@ Less: [Apache License 2.0](https://github.com/less/less.js/blob/870f9b2d8136bfbc
20
22
 
21
23
  LiveScript: [MIT License](https://github.com/gkz/LiveScript/blob/bd9faa4d484b6abb110473f96c28bf8686e7b7a0/LICENSE)
22
24
 
25
+ lua-fmt: [MIT License](https://github.com/trixnz/lua-fmt/blob/3cbb57c38b12b849711286dda4f43b62e09f806d/LICENSE)
26
+
23
27
  MDX: [MIT License](https://github.com/mdx-js/mdx/blob/02509286b5a39d6df233225545cf87e070130588/license)
24
28
 
25
29
  Monaco-editor: [MIT License](https://github.com/microsoft/monaco-editor/blob/f849d3f2653d1097652a7d9e1d01d242cc225da8/LICENSE.md)
@@ -0,0 +1 @@
1
+ export { Renderer } from 'elkjs-svg';
@@ -0,0 +1,3 @@
1
+ import init, { transform, browserslistToTargets } from 'lightningcss-wasm';
2
+
3
+ export { init, transform, browserslistToTargets };