Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

squint-cljs

Package Overview
Dependencies
Maintainers
1
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

squint-cljs - npm Package Compare versions

Comparing version 0.6.91 to 0.6.92

14

lib/cli.js

@@ -14,6 +14,6 @@ import { $APP, shadow$provide, $jscomp } from "./compiler.js";

else a=new $APP.I(null,2,5,$APP.N,[a,b],null);b=a;a=$APP.B.j(b,0,null);b=$APP.B.j(b,1,null);return new $APP.n(null,2,[l$,a,n$,b],null)},w$=function(a,b,c,d,e){var f=$9(a),k="string"===typeof a?$APP.B.j(a,1,null):null,l;if(l=$APP.A.g(f,"-")){try{var m=Z9($APP.t.h(k))}catch(h){m=null}l=$APP.Za(m)}b=$APP.r(b)?b:l?p$:null;f=$APP.A.g(":",f);c=$APP.Qh.g(p$,b)&&f&&($APP.A.g(q$,d)||$APP.Za(c)||$APP.A.g(e,c));d=$APP.r(b)?b:c?r$:null;a=l?$APP.r(k)?$APP.Qh.g("-",k)&&2<$APP.xd(a):k:null;return new $APP.n(null,
5,[$APP.Pw,d,s$,l,t$,a,u$,c,v$,f],null)},tha=function(a,b){function c(vb){vb=$APP.Qk.l($APP.F([new $APP.n(null,2,[x$,d,$APP.Xk,y$],null),vb]));return O.h?O.h(vb):O.call(null,vb)}var d=x$.h(b),e=$APP.r(d)?W9(b,$APP.F([pha(d)])):b,f=f$.h(e),k=function(){var vb=g$.h(e);return $APP.r(vb)?vb:$APP.Er.h(e)}(),l=qha.h(e),m=$APP.GE.h(e),h=i$.h(e),p=j$.h(e),q=function(){var vb=z$.h(e);return $APP.r(vb)?vb:rha.h(e)}(),v=$APP.Zh($APP.R.l($APP.Mh($APP.Vd(d)?d:$APP.Rg.g($APP.hf,d)),$APP.Oh(k),$APP.F([$APP.Mh(f)]))),
5,[$APP.Qw,d,s$,l,t$,a,u$,c,v$,f],null)},tha=function(a,b){function c(vb){vb=$APP.Qk.l($APP.F([new $APP.n(null,2,[x$,d,$APP.Xk,y$],null),vb]));return O.h?O.h(vb):O.call(null,vb)}var d=x$.h(b),e=$APP.r(d)?W9(b,$APP.F([pha(d)])):b,f=f$.h(e),k=function(){var vb=g$.h(e);return $APP.r(vb)?vb:$APP.Er.h(e)}(),l=qha.h(e),m=$APP.GE.h(e),h=i$.h(e),p=j$.h(e),q=function(){var vb=z$.h(e);return $APP.r(vb)?vb:rha.h(e)}(),v=$APP.Zh($APP.R.l($APP.Mh($APP.Vd(d)?d:$APP.Rg.g($APP.hf,d)),$APP.Oh(k),$APP.F([$APP.Mh(f)]))),
D=$APP.A.g(!0,q)?v:null==q?null:$APP.Zh(q),J=h$.h(e),O=function(){var vb=sha.h(e);return $APP.r(vb)?vb:function(Yb){Yb=$APP.jf(Yb);var Ic=$APP.fe.g(Yb,A$);throw $APP.cl.g(Ic,Yb);}}(),P=m$(a,null),W=$APP.jf(P),ca=$APP.fe.g(W,k$),ha=$APP.fe.g(W,l$),na=function(){var vb=n$.h(e);vb=$APP.r(vb)?vb:B$.h(e);return $APP.r(vb)?o$(ca,vb):new $APP.n(null,2,[n$,null,l$,ha],null)}(),pa=$APP.jf(na),fa=$APP.fe.g(pa,l$),E=$APP.fe.g(pa,n$),C=$APP.Qh.g(fa,ha)?new $APP.I(null,2,5,$APP.N,[null,$APP.R.g(fa,ha)],null):
new $APP.I(null,2,5,$APP.N,[ca,ha],null),da=$APP.B.j(C,0,null),K=$APP.B.j(C,1,null),M=function(){for(var vb=$APP.hf,Yb=null,Ic=null,Ke=$APP.r(p)?p$:null,hd=$APP.x(K),Ig=E;;){if($APP.Za(hd))return new $APP.I(null,3,5,$APP.N,[vb,Yb,Ic],null);var kg=$APP.y(hd),Tc=kg instanceof $APP.H;if(Tc){Yb=e$(vb,Yb,Ic,null);var me=kg;hd=$APP.z(hd);vb=Yb;Yb=me}else{var Al=!0===kg,Qf=$APP.t.h(kg);me=d$(l,Yb,$APP.fe.g(f,Yb));var xi=$APP.fe.g(f,Yb),Bl=w$(Qf,Ke,Yb,xi,Ic),Kh=$APP.jf(Bl),Cl=$APP.fe.g(Kh,s$),Lh=$APP.fe.g(Kh,
t$),Dl=$APP.fe.g(Kh,u$),Rf=$APP.fe.g(Kh,$APP.Pw),mk=$APP.fe.g(Kh,v$);if($APP.r(function(){var Me=Cl;return $APP.r(Me)?Me:Dl}())){var Yc=$APP.qa(Qf,"--"),nk=Yc&&$APP.A.g("--",Qf);if(nk){var El=$APP.z(hd);return new $APP.I(null,3,5,$APP.N,[function(){var Me=vb;return El?$APP.jo.A(Me,$APP.Ju,new $APP.I(null,2,5,$APP.N,[y$,l$],null),$APP.mg(El)):Me}(),Yb,Ic],null)}var ok=Yc?$APP.ji.g(Qf,2):$APP.Zj(Qf,/^(:|-|)/,""),zf=Yc?$APP.Ar.g(ok,/=/):new $APP.I(null,1,5,$APP.N,[ok],null),Sd=$APP.B.j(zf,0,null),Be=
t$),Dl=$APP.fe.g(Kh,u$),Rf=$APP.fe.g(Kh,$APP.Qw),mk=$APP.fe.g(Kh,v$);if($APP.r(function(){var Me=Cl;return $APP.r(Me)?Me:Dl}())){var Yc=$APP.qa(Qf,"--"),nk=Yc&&$APP.A.g("--",Qf);if(nk){var El=$APP.z(hd);return new $APP.I(null,3,5,$APP.N,[function(){var Me=vb;return El?$APP.jo.A(Me,$APP.Ju,new $APP.I(null,2,5,$APP.N,[y$,l$],null),$APP.mg(El)):Me}(),Yb,Ic],null)}var ok=Yc?$APP.ji.g(Qf,2):$APP.Zj(Qf,/^(:|-|)/,""),zf=Yc?$APP.Ar.g(ok,/=/):new $APP.I(null,1,5,$APP.N,[ok],null),Sd=$APP.B.j(zf,0,null),Be=
$APP.B.j(zf,1,null),Tb=$APP.zi.h(Sd),Ec=$APP.fe.j(k,Tb,Tb);if($APP.r(Be))Ic=e$(vb,Yb,Ic,me),Yb=Ec,Ke=Rf,hd=$APP.He(Be,$APP.cd(hd)),vb=Ic,Ic=null;else{var Ab=$APP.z(hd),Le=$APP.y(Ab),jw=w$(Le,Rf,Yb,xi,Ic);if($APP.r(function(){var Me=s$.h(jw);return $APP.r(Me)?Me:$APP.Qd(Ab)}()))if($APP.r(Lh)){var kw=$APP.ai(Ec);Ic=$APP.aq.l(function(){return function(Me){return new $APP.I(null,2,5,$APP.N,[["-",$APP.t.h(Me)].join(""),!0],null)}}(vb,Yb,Ic,Ke,hd,Ig,kw,Ab,Le,jw,ok,zf,Sd,Be,Tb,Ec,Yc,nk,Al,Qf,me,xi,Bl,Kh,

@@ -40,5 +40,5 @@ Cl,Lh,Dl,Rf,mk,kg,Tc,d,e,f,k,l,m,h,p,q,v,D,J,O,c,P,W,ca,ha,na,pa,fa,E,C,da,K),$APP.F([kw]));hd=$APP.R.g(Ic,Ab);Ke=Rf;Ic=Yb=null}else hd=$APP.he(v,Ec)?null:$APP.uG($APP.t.h(Ec),":no-"),Ke=$APP.r(hd)?$APP.zi.h($APP.Zj($APP.t.h(Ec),":no-","")):Ec,hd=$APP.He($APP.Za(hd),Ab),Yb=e$(vb,Yb,Ic,me),me=Ke,Ke=Rf,vb=Yb,Yb=me;else Yb=e$(vb,Yb,Ic,me),me=Ec,Ke=Rf,hd=Ab,vb=Yb,Yb=me}}else if(nk=$APP.A.g(q$,xi)&&$APP.Qh.g(Qf,"true")&&$APP.Qh.g(Qf,"false")||$APP.A.g(Ic,Yb)&&$APP.Za(me))if(Ig=$APP.r(hd)?$APP.r(Ig)?o$(hd,

"s","s",1705939918),B$=new $APP.H(null,"cmds-opts","cmds-opts",-390130362),Bha=new $APP.H(null,"h","h",1109658740),k$=new $APP.H(null,"cmds","cmds",-1841503952);var J$=$APP.Vi.h(""),H$=$APP.Vi.h(!1),I$=$APP.Vi.h($APP.ir),X$,Y$=process.stdout.isTTY;X$=$APP.r(Y$)?process.stdin.setRawMode:Y$;var wha=$APP.Vi.h($APP.hf),Z$=function Z$(a){switch(arguments.length){case 0:return Z$.v();case 1:return Z$.h(arguments[0]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};Z$.v=function(){return Z$.h(null)};
Z$.h=function(a){$APP.ir=$APP.Xx;$APP.Xq=$APP.hr=!0;var b=function(){var d=$APP.lH.h(a);return $APP.r(d)?d:0}(),c=esm_import$net.createServer(yha);return c.listen(b,"127.0.0.1",function(){var d=c.address(),e=d.address;return $APP.jH.l($APP.F([["Socket REPL listening on port ",$APP.t.h(d.port)," on host ",$APP.t.h(e)].join("")]))})};Z$.m=1;
Z$.h=function(a){$APP.ir=$APP.Yx;$APP.Xq=$APP.hr=!0;var b=function(){var d=$APP.lH.h(a);return $APP.r(d)?d:0}(),c=esm_import$net.createServer(yha);return c.listen(b,"127.0.0.1",function(){var d=c.address(),e=d.address;return $APP.jH.l($APP.F([["Socket REPL listening on port ",$APP.t.h(d.port)," on host ",$APP.t.h(e)].join("")]))})};Z$.m=1;
var $$=function $$(a){switch(arguments.length){case 0:return $$.v();case 1:return $$.h(arguments[0]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};$$.v=function(){return $$.h(null)};
$$.h=function(){$APP.ir=$APP.Xx;$APP.Xq=$APP.hr=!0;$APP.r(X$)&&process.stdin.setRawMode(!0);return Promise.resolve(eval("globalThis.user \x3d globalThis.user || {};")).then(function(){return new Promise(function(a){var b=$APP.r(null)?esm_import$readline.createInterface({input:null,output:null}):esm_import$readline.createInterface({input:process.stdin,output:process.stdout});P$(b,null);b.setPrompt([$APP.t.h($APP.u(I$)),"\x3d\x3e "].join(""));b.on("close",a);return b.prompt()})})};$$.m=1;var T$=function T$(a){var c=esm_import$fs.readdirSync(a);return $APP.mg($APP.aq.l(function(d){d=esm_import$path.resolve(a,d);return $APP.r(esm_import$fs.lstatSync(d).isDirectory())?T$.h?T$.h(d):T$.call(null,d):new $APP.I(null,1,5,$APP.N,[d],null)},$APP.F([c])))},Cha=new $APP.I(null,7,5,$APP.N,[new $APP.n(null,3,[k$,new $APP.I(null,1,5,$APP.N,["run"],null),$APP.yo,function(a){a=$APP.jf(a);a=$APP.fe.g(a,$APP.mH);var b=$APP.u($APP.OG),c=$APP.Qk.l($APP.F([b,a]));a=$APP.jf(c);var d=$APP.fe.g(a,$APP.$k);
$$.h=function(){$APP.ir=$APP.Yx;$APP.Xq=$APP.hr=!0;$APP.r(X$)&&process.stdin.setRawMode(!0);return Promise.resolve(eval("globalThis.user \x3d globalThis.user || {};")).then(function(){return new Promise(function(a){var b=$APP.r(null)?esm_import$readline.createInterface({input:null,output:null}):esm_import$readline.createInterface({input:process.stdin,output:process.stdout});P$(b,null);b.setPrompt([$APP.t.h($APP.u(I$)),"\x3d\x3e "].join(""));b.on("close",a);return b.prompt()})})};$$.m=1;var T$=function T$(a){var c=esm_import$fs.readdirSync(a);return $APP.mg($APP.aq.l(function(d){d=esm_import$path.resolve(a,d);return $APP.r(esm_import$fs.lstatSync(d).isDirectory())?T$.h?T$.h(d):T$.call(null,d):new $APP.I(null,1,5,$APP.N,[d],null)},$APP.F([c])))},Cha=new $APP.I(null,7,5,$APP.N,[new $APP.n(null,3,[k$,new $APP.I(null,1,5,$APP.N,["run"],null),$APP.yo,function(a){a=$APP.jf(a);a=$APP.fe.g(a,$APP.mH);var b=$APP.u($APP.OG),c=$APP.Qk.l($APP.F([b,a]));a=$APP.jf(c);var d=$APP.fe.g(a,$APP.$k);
a=$APP.fe.g(a,U$);if($APP.r(a))return null;$APP.jH.l($APP.F(["[squint] Running",d]));return $APP.dH($APP.Rh.l(c,$APP.ZG,d,$APP.F([$APP.qr,function(e){return R$(c,d,e)}]))).then(function(e){e=$APP.jf(e);e=$APP.fe.g(e,$APP.aH);e=$APP.r(esm_import$path.isAbsolute(e))?e:[$APP.t.h(process.cwd()),"/",$APP.t.h(e)].join("");return shadow_esm_import(e)})},B$,new $APP.I(null,1,5,$APP.N,[$APP.$k],null)],null),new $APP.n(null,2,[k$,new $APP.I(null,1,5,$APP.N,["compile"],null),$APP.yo,function(a){var b=$APP.jf(a);

@@ -49,6 +49,6 @@ a=$APP.fe.g(b,W$);b=$APP.fe.g(b,$APP.mH);return V$(b,a)}],null),new $APP.n(null,2,[k$,new $APP.I(null,1,5,$APP.N,["repl"],null),$APP.yo,$$],null),new $APP.n(null,2,[k$,new $APP.I(null,1,5,$APP.N,["socket-repl"],null),$APP.yo,Z$],null),new $APP.n(null,2,[k$,new $APP.I(null,1,5,$APP.N,["nrepl-server"],null),$APP.yo,function(a){a=$APP.jf(a);var b=$APP.fe.g(a,$APP.mH);return shadow_esm_import("./node.nrepl_server.js").then(function(c){c=c.startServer;return c.h?c.h(b):c.call(null,b)})}],null),new $APP.n(null,

f.call(null,p)).on("all",function(D,J,O,P,W,ca,ha,na,pa,fa,E,C){return function(da,K){return $APP.r(esm_import$fs.lstatSync(K).isDirectory())?null:$APP.he(new $APP.Uh(null,new $APP.n(null,2,["add",null,"change",null],null),null),da)&&$APP.he(new $APP.Uh(null,new $APP.n(null,2,[".cljc",null,".cljs",null],null),null),esm_import$path.extname(K))?V$(fa,new $APP.I(null,1,5,$APP.N,[K],null)).catch(function(){return function(M){return console.error(M)}}(D,J,O,P,W,ca,ha,na,pa,fa,E,C)):S$(K,C,E)}}(k,l,m,h,
p,v,q,f,b,c,d,e)),k=$APP.z(v),l=null,m=0);h=0}else return null}})}],null),new $APP.n(null,2,[k$,$APP.lg,$APP.yo,function(a){a=$APP.jf(a);var b=$APP.fe.g(a,W$),c=$APP.fe.g(a,$APP.mH);a=$APP.nE.h(c);if($APP.r(a)){if($APP.r(U$.h(c)))return $APP.jH.l($APP.F(["Usage: squint -e \x3cexpr\x3e \x3copts\x3e\n\nOptions:\n\n--no-run: do not run compiled expression\n--show: print compiled expression"]));a=$APP.r($APP.st.h(c))?$APP.Zj("(do %s\n)","%s",a):a;a=$APP.tG.g(a,$APP.Rh.l(c,$APP.st,$APP.st.h(c),$APP.F([$APP.Br,
$APP.Vi.h(new $APP.n(null,1,[$APP.to,$APP.Xx],null)),$APP.Op,$APP.r($APP.st.h(c))?$APP.Rp:$APP.Sp,$APP.Wt,function(){var f=$APP.st.h(c);return $APP.r(f)?!1!==$APP.Wt.h(c):f}()])));a=$APP.r($APP.st.h(c))?$APP.Zj("(async function() { %s })()","%s",a):a;var d=esm_import$fs.mkdtempSync(".tmp"),e=[$APP.t.h(d),"/squint.mjs"].join("");esm_import$fs.writeFileSync(e,a,"utf-8");$APP.r(zha.h(c))&&$APP.jH.l($APP.F([a]));if(!1===Aha.h(c))return null;e=$APP.r(esm_import$path.isAbsolute(e))?e:[$APP.t.h(process.cwd()),
"/",e].join("");return($APP.r($APP.st.h(c))?Promise.resolve(eval(a)):shadow_esm_import(e)).then(function(f){return $APP.r($APP.st.h(c))?$APP.iH.l($APP.F([f])):null}).finally(function(){return esm_import$fs.rmSync(d,{force:!0,recursive:!0})})}return $APP.r(function(){var f=U$.h(c);return $APP.r(f)?f:$APP.A.g("help",$APP.y(b))||$APP.Qd(b)}())?$APP.jH.l($APP.F(["Squint v0.6.91\n\nUsage: squint \x3csubcommand\x3e \x3copts\x3e\n\nSubcommands:\n\n-e \x3cexpr\x3e Compile and run expression.\nrun \x3cfile.cljs\x3e Compile and run a file\nwatch Watch :paths in squint.edn\ncompile \x3cfile.cljs\x3e ... Compile file(s)\nrepl Start repl\nhelp Print this help\n\nUse squint \x3csubcommand\x3e --help to show more info."])):
p,v,q,f,b,c,d,e)),k=$APP.z(v),l=null,m=0);h=0}else return null}})}],null),new $APP.n(null,2,[k$,$APP.lg,$APP.yo,function(a){a=$APP.jf(a);var b=$APP.fe.g(a,W$),c=$APP.fe.g(a,$APP.mH);a=$APP.mE.h(c);if($APP.r(a)){if($APP.r(U$.h(c)))return $APP.jH.l($APP.F(["Usage: squint -e \x3cexpr\x3e \x3copts\x3e\n\nOptions:\n\n--no-run: do not run compiled expression\n--show: print compiled expression"]));a=$APP.r($APP.st.h(c))?$APP.Zj("(do %s\n)","%s",a):a;a=$APP.tG.g(a,$APP.Rh.l(c,$APP.st,$APP.st.h(c),$APP.F([$APP.Br,
$APP.Vi.h(new $APP.n(null,1,[$APP.to,$APP.Yx],null)),$APP.Op,$APP.r($APP.st.h(c))?$APP.Rp:$APP.Sp,$APP.Wt,function(){var f=$APP.st.h(c);return $APP.r(f)?!1!==$APP.Wt.h(c):f}()])));a=$APP.r($APP.st.h(c))?$APP.Zj("(async function() { %s })()","%s",a):a;var d=esm_import$fs.mkdtempSync(".tmp"),e=[$APP.t.h(d),"/squint.mjs"].join("");esm_import$fs.writeFileSync(e,a,"utf-8");$APP.r(zha.h(c))&&$APP.jH.l($APP.F([a]));if(!1===Aha.h(c))return null;e=$APP.r(esm_import$path.isAbsolute(e))?e:[$APP.t.h(process.cwd()),
"/",e].join("");return($APP.r($APP.st.h(c))?Promise.resolve(eval(a)):shadow_esm_import(e)).then(function(f){return $APP.r($APP.st.h(c))?$APP.iH.l($APP.F([f])):null}).finally(function(){return esm_import$fs.rmSync(d,{force:!0,recursive:!0})})}return $APP.r(function(){var f=U$.h(c);return $APP.r(f)?f:$APP.A.g("help",$APP.y(b))||$APP.Qd(b)}())?$APP.jH.l($APP.F(["Squint v0.6.92\n\nUsage: squint \x3csubcommand\x3e \x3copts\x3e\n\nSubcommands:\n\n-e \x3cexpr\x3e Compile and run expression.\nrun \x3cfile.cljs\x3e Compile and run a file\nwatch Watch :paths in squint.edn\ncompile \x3cfile.cljs\x3e ... Compile file(s)\nrepl Start repl\nhelp Print this help\n\nUse squint \x3csubcommand\x3e --help to show more info."])):
V$(c,b)}],null)],null);(function(){var a=new $APP.n(null,2,[$APP.Er,new $APP.n(null,1,[Bha,U$],null),f$,new $APP.n(null,4,[$APP.Wt,q$,$APP.Fr,q$,$APP.cH,$APP.nl,$APP.st,q$],null)],null),b=m$(process.argv.slice(2),a),c=$APP.jf(b),d=$APP.fe.g(c,k$),e=$APP.fe.g(c,l$);return $APP.oe.j(function(f,k){f=$APP.jf(k);var l=$APP.fe.g(f,k$),m=$APP.fe.g(f,$APP.yo),h=vha(l,d);if($APP.r(h)){k=function(){var v=null==h?null:$APP.x(h);return null==v?null:$APP.mg(v)}();k=$APP.R.g(k,e);f=uha(k,W9(a,$APP.F([f])));k=$APP.jf(f);var p=$APP.fe.g(k,
$APP.mH);f=$APP.fe.g(k,l$);k=$APP.fe.g(k,k$);var q=$APP.R.g(k,f);return $APP.ld(function(){var v=$APP.Rh.l(c,l$,q,$APP.F([W$,q,$APP.mH,p,$APP.ap,l]));return m.h?m.h(v):m.call(null,v)}())}return null},null,Cha)})();

@@ -15,3 +15,3 @@ import { $APP, shadow$provide, $jscomp } from "./compiler.js";

$APP.YG=function(a,b){return $APP.oe.j(function(c,d){a:{var e=esm_import$path.resolve(d).split(esm_import$path.sep);for(var f=esm_import$path.resolve(a).split(esm_import$path.sep);;){var k=$APP.Qd(e);if(k){e=k;break a}if(k=$APP.x(f))if(k=$APP.A.g($APP.y(e),$APP.y(f)))e=$APP.cd(e),f=$APP.cd(f);else{e=k;break a}else{e=k;break a}}}return e?$APP.ld(esm_import$path.relative(d,a)):c},a,b)};
$APP.dH=function(a){a=$APP.jf(a);var b=$APP.fe.g(a,$APP.ZG),c=$APP.fe.g(a,$G),d=$APP.fe.g(a,$APP.aH),e=$APP.fe.g(a,$APP.bH),f=$APP.fe.j(a,$APP.cH,"");c=$APP.r(c)?c:esm_import$fs.readFileSync(b,"utf-8");return XG(c,$APP.Rh.j(a,$APP.Br,$APP.Vi.h(new $APP.n(null,1,[$APP.to,$APP.Xx],null)))).then(function(k){k=$APP.jf(k);var l=$APP.fe.g(k,$APP.fu),m=$APP.fe.g(k,$APP.vq),h=$APP.NG.g($APP.u($APP.OG),new $APP.I(null,2,5,$APP.N,[".","src"],null)),p=esm_import$path,q=p.resolve;$APP.r(d)?h=d:(h=$APP.YG(b,h),
$APP.dH=function(a){a=$APP.jf(a);var b=$APP.fe.g(a,$APP.ZG),c=$APP.fe.g(a,$G),d=$APP.fe.g(a,$APP.aH),e=$APP.fe.g(a,$APP.bH),f=$APP.fe.j(a,$APP.cH,"");c=$APP.r(c)?c:esm_import$fs.readFileSync(b,"utf-8");return XG(c,$APP.Rh.j(a,$APP.Br,$APP.Vi.h(new $APP.n(null,1,[$APP.to,$APP.Yx],null)))).then(function(k){k=$APP.jf(k);var l=$APP.fe.g(k,$APP.fu),m=$APP.fe.g(k,$APP.vq),h=$APP.NG.g($APP.u($APP.OG),new $APP.I(null,2,5,$APP.N,[".","src"],null)),p=esm_import$path,q=p.resolve;$APP.r(d)?h=d:(h=$APP.YG(b,h),
$APP.r(m)?m=".jsx":(m=$APP.r(e)?[".",$APP.Zj(e,/^\./,"")].join(""):null,m=$APP.r(m)?m:".mjs"),h=$APP.Zj(h,/.clj(s|c)$/,m));p=q.call(p,f,h);q=esm_import$path.dirname(p);$APP.r(esm_import$fs.existsSync(q))||esm_import$fs.mkdirSync(q,{recursive:!0});if(!$APP.r(esm_import$fs.existsSync(q)))throw Error("File not found, make sure output-dir is a valid path: ",new $APP.n(null,2,[$APP.cH,f,$APP.aH,p],null));esm_import$fs.writeFileSync(p,l,"utf-8");return $APP.Rh.j(k,$APP.aH,p)})};

@@ -26,5 +26,5 @@ eH=function(a){return $APP.hu.l(a,$APP.F([$APP.iu,!0]))};fH=function(a){return function(){function b(d){var e=null;if(0<arguments.length){e=0;for(var f=Array(arguments.length-0);e<f.length;)f[e]=arguments[e+0],++e;e=new $APP.Xc(f,0,null)}return c.call(this,e)}function c(d){d=$APP.Iu.g(eH,d);d=$APP.Gf.g(a,d);return d instanceof Promise?d.then($APP.cv):$APP.cv(d)}b.m=0;b.o=function(d){d=$APP.x(d);return c(d)};b.l=c;return b}()};$APP.BG.prototype.add=function(a){return this.C.push(a)};

arguments.length);};k.v=f;k.h=e;k.g=d;return k}()}};$APP.RG.g=function(a,b){return $APP.RG.j(a,a,b)};$APP.RG.j=function(a,b,c){return new $APP.Qe(null,function(){var d=$APP.x(c);return d?$APP.He($APP.Mf.g(a,d),$APP.RG.j(a,b,$APP.Nf.g(b,d))):null},null,null)};$APP.RG.m=3;$APP.GG.prototype.nb=function(){$APP.r(this.f)&&(this.value=this.f.v?this.f.v():this.f.call(null),this.f=null);return this.value};$APP.GG.prototype.$c=function(){return $APP.Za(this.f)};
$APP.GG.prototype.R=function(a,b,c){$APP.ic(b,"#object[cljs.core.Delay ");$APP.ti(new $APP.n(null,2,[$APP.gD,null==this.f?$APP.rw:$APP.SA,$APP.av,this.value],null),b,c);return $APP.ic(b,"]")};$APP.kH=function kH(a){switch(arguments.length){case 1:return kH.h(arguments[0]);case 2:return kH.g(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};
$APP.GG.prototype.R=function(a,b,c){$APP.ic(b,"#object[cljs.core.Delay ");$APP.ti(new $APP.n(null,2,[$APP.dD,null==this.f?$APP.sw:$APP.QA,$APP.av,this.value],null),b,c);return $APP.ic(b,"]")};$APP.kH=function kH(a){switch(arguments.length){case 1:return kH.h(arguments[0]);case 2:return kH.g(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};
$APP.kH.h=function(a){return LG(new $APP.n(null,3,[$APP.Cm,$APP.u($APP.wF),$APP.Dm,$APP.u($APP.vF),$APP.il,null],null),a)};$APP.kH.g=function(a,b){return LG($APP.Tm.j($APP.Qk.l($APP.F([new $APP.n(null,1,[$APP.Dm,$APP.u($APP.vF)],null),a])),$APP.Cm,function(c){return $APP.Qk.l($APP.F([$APP.u($APP.wF),c]))}),b)};$APP.kH.m=2;$APP.lH=new $APP.H(null,"port","port",1534937262);$APP.UG=new $APP.H(null,"reload","reload",863702807);$APP.mH=new $APP.H(null,"opts","opts",155075701);
$APP.cH=new $APP.H(null,"output-dir","output-dir",-290956991);QG=new $APP.H(null,"require-macros","require-macros",707947416);$APP.nH=new $APP.H(null,"message","message",-406056002);$APP.ZG=new $APP.H(null,"in-file","in-file",-1682176692);$APP.oH=new $APP.H(null,"id","id",-1388402092);VG=new $APP.w("cljs.core","ns-publics","cljs.core/ns-publics",488240955,null);$APP.NG=new $APP.H(null,"paths","paths",-1807389588);$APP.pH=new $APP.H(null,"eval","eval",-1103567905);
$APP.SG=new $APP.H(null,"eval-form","eval-form",-1934118476);$APP.aH=new $APP.H(null,"out-file","out-file",-1187066405);$G=new $APP.H(null,"in-str","in-str",-1014658121);$APP.bH=new $APP.H(null,"extension","extension",1453374065);$APP.OG=new $APP.GG(function(){if($APP.r(esm_import$fs.existsSync("squint.edn"))){var a=esm_import$fs.readFileSync("squint.edn","utf-8");a=$APP.kH.h(a)}else a=null;return a},null);var qH;$APP.TG=$APP.Vi.h(null);qH=fH(XG);export const compileFile=fH($APP.dH);export const compileString=qH;

@@ -5,3 +5,3 @@ {

"sideEffects": false,
"version": "0.6.91",
"version": "0.6.92",
"files": [

@@ -8,0 +8,0 @@ "core.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc