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.7.98 to 0.7.99

26

lib/cli.js

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

c):c:null},d$=function(a,b,c,d){return $APP.Qh.g(b,c)?(c=$APP.XG(a,b),$APP.r(c)?($APP.B.j(c,0,null),c=$APP.B.j(c,1,null),$APP.Rh.j(a,b,$APP.r(d)?d.g?d.g(c,!0):d.call(null,c,!0):!0)):$APP.Rh.j(a,b,$APP.r(d)?d.g?d.g(null,!0):d.call(null,null,!0):!0)):a},Hha=function(a,b,c,d,e,f){d=$APP.r($APP.r(d)?!$APP.Rd(d):d)?Gha(e,d,f):a$(e);return $APP.r(c)?$APP.Tm.A(a,b,c,d):$APP.Rh.j(a,b,d)},Iha=function(a){return $APP.oe.j(function(b,c){var d=$APP.B.j(c,0,null);c=$APP.B.j(c,1,null);var e=$APP.jf(c),f=$APP.fe.g(e,
e$),k=$APP.fe.g(e,f$);c=$APP.fe.g(e,$APP.Dm);var l=$APP.fe.g(e,$APP.WE);e=$APP.fe.g(e,g$);b=$APP.r(f)?$APP.Tm.J(b,e$,$APP.Rh,d,f):b;b=$APP.r(k)?$APP.Tm.j(b,f$,function(m){if($APP.he(m,k))throw $APP.cl.g(["Conflicting alias ",$APP.t.h(k)," between ",$APP.t.h($APP.fe.g(m,k))," and ",$APP.t.h(d)].join(""),new $APP.n(null,1,[f$,k],null));return $APP.Rh.j(m,k,d)}):b;b=$APP.r(l)?$APP.Tm.j(b,$APP.WE,$APP.Wq.g(function(m){return $APP.Ee.g(m,d)},$APP.Vh)):b;b=$APP.r(e)?$APP.Tm.J(b,g$,$APP.Rh,d,e):b;return $APP.r(c)?
e$),k=$APP.fe.g(e,f$);c=$APP.fe.g(e,$APP.Dm);var l=$APP.fe.g(e,$APP.YE);e=$APP.fe.g(e,g$);b=$APP.r(f)?$APP.Tm.J(b,e$,$APP.Rh,d,f):b;b=$APP.r(k)?$APP.Tm.j(b,f$,function(m){if($APP.he(m,k))throw $APP.cl.g(["Conflicting alias ",$APP.t.h(k)," between ",$APP.t.h($APP.fe.g(m,k))," and ",$APP.t.h(d)].join(""),new $APP.n(null,1,[f$,k],null));return $APP.Rh.j(m,k,d)}):b;b=$APP.r(l)?$APP.Tm.j(b,$APP.YE,$APP.Wq.g(function(m){return $APP.Ee.g(m,d)},$APP.Vh)):b;b=$APP.r(e)?$APP.Tm.J(b,g$,$APP.Rh,d,e):b;return $APP.r(c)?
$APP.Tm.J(b,h$,$APP.Rh,d,c):b},$APP.hf,a)},l$=function(a,b){b=$APP.jf(b);var c=$APP.fe.g(b,i$);b=$APP.YG(function(d){var e=$APP.r(c)?null:$APP.qa(d,":");return!($APP.r(e)?e:$APP.qa(d,"-"))},a);a=$APP.B.j(b,0,null);b=$APP.B.j(b,1,null);return new $APP.n(null,2,[j$,a,k$,b],null)},n$=function(a,b){if($APP.r(b))if($APP.x(a)){var c=$APP.xd(a),d=$APP.$e(c,b);c=c<d?c:d;a=new $APP.J(null,2,5,$APP.N,[$APP.R.g($APP.Ou.g(b,a),$APP.Nf.g(c,a)),$APP.Nf.g(c,b)],null)}else a=new $APP.J(null,2,5,$APP.N,[a,b],null);
else a=new $APP.J(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,[k$,a,m$,b],null)},v$=function(a,b,c,d,e){var f=Z9(a),k="string"===typeof a?$APP.B.j(a,1,null):null,l;if(l=$APP.A.g(f,"-")){try{var m=Y9($APP.t.h(k))}catch(h){m=null}l=$APP.Za(m)}b=$APP.r(b)?b:l?o$:null;f=$APP.A.g(":",f);c=$APP.Qh.g(o$,b)&&f&&($APP.A.g(p$,d)||$APP.Za(c)||$APP.A.g(e,c));d=$APP.r(b)?b:c?q$:null;a=l?$APP.r(k)?$APP.Qh.g("-",k)&&2<$APP.xd(a):k:null;return new $APP.n(null,
5,[$APP.Zw,d,r$,l,s$,a,t$,c,u$,f],null)},Mha=function(a,b){function c(vb){vb=$APP.Qk.l($APP.F([new $APP.n(null,2,[w$,d,$APP.Xk,x$],null),vb]));return O.h?O.h(vb):O.call(null,vb)}var d=w$.h(b),e=$APP.r(d)?V9(b,$APP.F([Iha(d)])):b,f=e$.h(e),k=function(){var vb=f$.h(e);return $APP.r(vb)?vb:$APP.Hr.h(e)}(),l=Jha.h(e),m=$APP.WE.h(e),h=h$.h(e),q=i$.h(e),p=function(){var vb=y$.h(e);return $APP.r(vb)?vb:Kha.h(e)}(),v=$APP.Zh($APP.R.l($APP.Kh($APP.Vd(d)?d:$APP.Rg.g($APP.hf,d)),$APP.Oh(k),$APP.F([$APP.Kh(f)]))),
5,[$APP.ax,d,r$,l,s$,a,t$,c,u$,f],null)},Mha=function(a,b){function c(vb){vb=$APP.Qk.l($APP.F([new $APP.n(null,2,[w$,d,$APP.Xk,x$],null),vb]));return O.h?O.h(vb):O.call(null,vb)}var d=w$.h(b),e=$APP.r(d)?V9(b,$APP.F([Iha(d)])):b,f=e$.h(e),k=function(){var vb=f$.h(e);return $APP.r(vb)?vb:$APP.Hr.h(e)}(),l=Jha.h(e),m=$APP.YE.h(e),h=h$.h(e),q=i$.h(e),p=function(){var vb=y$.h(e);return $APP.r(vb)?vb:Kha.h(e)}(),v=$APP.Zh($APP.R.l($APP.Kh($APP.Vd(d)?d:$APP.Rg.g($APP.hf,d)),$APP.Oh(k),$APP.F([$APP.Kh(f)]))),
D=$APP.A.g(!0,p)?v:null==p?null:$APP.Zh(p),I=g$.h(e),O=function(){var vb=Lha.h(e);return $APP.r(vb)?vb:function(Zb){Zb=$APP.jf(Zb);var Ic=$APP.fe.g(Zb,z$);throw $APP.cl.g(Ic,Zb);}}(),P=l$(a,null),W=$APP.jf(P),ca=$APP.fe.g(W,j$),ha=$APP.fe.g(W,k$),na=function(){var vb=m$.h(e);vb=$APP.r(vb)?vb:A$.h(e);return $APP.r(vb)?n$(ca,vb):new $APP.n(null,2,[m$,null,k$,ha],null)}(),pa=$APP.jf(na),fa=$APP.fe.g(pa,k$),E=$APP.fe.g(pa,m$),C=$APP.Qh.g(fa,ha)?new $APP.J(null,2,5,$APP.N,[null,$APP.R.g(fa,ha)],null):
new $APP.J(null,2,5,$APP.N,[ca,ha],null),ea=$APP.B.j(C,0,null),K=$APP.B.j(C,1,null),M=function(){for(var vb=$APP.hf,Zb=null,Ic=null,Me=$APP.r(q)?o$:null,hd=$APP.x(K),Jg=E;;){if($APP.Za(hd))return new $APP.J(null,3,5,$APP.N,[vb,Zb,Ic],null);var ng=$APP.y(hd),Tc=ng instanceof $APP.H;if(Tc){Zb=d$(vb,Zb,Ic,null);var me=ng;hd=$APP.z(hd);vb=Zb;Zb=me}else{var Al=!0===ng,Sf=$APP.t.h(ng);me=c$(l,Zb,$APP.fe.g(f,Zb));var xi=$APP.fe.g(f,Zb),Bl=v$(Sf,Me,Zb,xi,Ic),Lh=$APP.jf(Bl),Cl=$APP.fe.g(Lh,r$),Mh=$APP.fe.g(Lh,
s$),Dl=$APP.fe.g(Lh,t$),Tf=$APP.fe.g(Lh,$APP.Zw),mk=$APP.fe.g(Lh,u$);if($APP.r(function(){var Oe=Cl;return $APP.r(Oe)?Oe:Dl}())){var Yc=$APP.qa(Sf,"--"),nk=Yc&&$APP.A.g("--",Sf);if(nk){var El=$APP.z(hd);return new $APP.J(null,3,5,$APP.N,[function(){var Oe=vb;return El?$APP.jo.A(Oe,$APP.Qu,new $APP.J(null,2,5,$APP.N,[x$,k$],null),$APP.lg(El)):Oe}(),Zb,Ic],null)}var ok=Yc?$APP.ji.g(Sf,2):$APP.Zj(Sf,/^(:|-|)/,""),zf=Yc?$APP.Dr.g(ok,/=/):new $APP.J(null,1,5,$APP.N,[ok],null),Sd=$APP.B.j(zf,0,null),Ce=
$APP.B.j(zf,1,null),Tb=$APP.zi.h(Sd),Ec=$APP.fe.j(k,Tb,Tb);if($APP.r(Ce))Ic=d$(vb,Zb,Ic,me),Zb=Ec,Me=Tf,hd=$APP.He(Ce,$APP.cd(hd)),vb=Ic,Ic=null;else{var Ab=$APP.z(hd),Ne=$APP.y(Ab),pw=v$(Ne,Tf,Zb,xi,Ic);if($APP.r(function(){var Oe=r$.h(pw);return $APP.r(Oe)?Oe:$APP.Qd(Ab)}()))if($APP.r(Mh)){var qw=$APP.ai(Ec);Ic=$APP.aq.l(function(){return function(Oe){return new $APP.J(null,2,5,$APP.N,[["-",$APP.t.h(Oe)].join(""),!0],null)}}(vb,Zb,Ic,Me,hd,Jg,qw,Ab,Ne,pw,ok,zf,Sd,Ce,Tb,Ec,Yc,nk,Al,Sf,me,xi,Bl,Lh,
Cl,Mh,Dl,Tf,mk,ng,Tc,d,e,f,k,l,m,h,q,p,v,D,I,O,c,P,W,ca,ha,na,pa,fa,E,C,ea,K),$APP.F([qw]));hd=$APP.R.g(Ic,Ab);Me=Tf;Ic=Zb=null}else hd=$APP.he(v,Ec)?null:$APP.NG($APP.t.h(Ec),":no-"),Me=$APP.r(hd)?$APP.zi.h($APP.Zj($APP.t.h(Ec),":no-","")):Ec,hd=$APP.He($APP.Za(hd),Ab),Zb=d$(vb,Zb,Ic,me),me=Me,Me=Tf,vb=Zb,Zb=me;else Zb=d$(vb,Zb,Ic,me),me=Ec,Me=Tf,hd=Ab,vb=Zb,Zb=me}}else if(nk=$APP.A.g(p$,xi)&&$APP.Qh.g(Sf,"true")&&$APP.Qh.g(Sf,"false")||$APP.A.g(Ic,Zb)&&$APP.Za(me))if(Jg=$APP.r(hd)?$APP.r(Jg)?n$(hd,
Jg):new $APP.n(null,1,[k$,hd],null):new $APP.n(null,1,[k$,hd],null),Me=$APP.jf(Jg),Jg=$APP.fe.g(Me,k$),Me=$APP.fe.g(Me,m$),$APP.Qh.g(hd,Jg))me=Me,Me=Tf,hd=Jg,Jg=me;else return new $APP.J(null,3,5,$APP.N,[$APP.jo.A(vb,$APP.Qu,new $APP.J(null,2,5,$APP.N,[x$,k$],null),$APP.lg(hd)),Zb,Ic],null);else{try{var Zd=Hha(vb,Zb,me,Dha(xi),Sf,Al)}catch(Oe){c(new $APP.n(null,4,[B$,e$,z$,$APP.bH(Oe),C$,Zb,D$,Sf],null)),Zd=vb}Ic=$APP.r(function(){var Oe=$APP.A.g(q$,Tf);return Oe?mk:Oe}())?null:Zb;me=$APP.r(function(){var Oe=
new $APP.J(null,2,5,$APP.N,[ca,ha],null),ea=$APP.B.j(C,0,null),K=$APP.B.j(C,1,null),M=function(){for(var vb=$APP.hf,Zb=null,Ic=null,Me=$APP.r(q)?o$:null,hd=$APP.x(K),Jg=E;;){if($APP.Za(hd))return new $APP.J(null,3,5,$APP.N,[vb,Zb,Ic],null);var ng=$APP.y(hd),Tc=ng instanceof $APP.H;if(Tc){Zb=d$(vb,Zb,Ic,null);var me=ng;hd=$APP.z(hd);vb=Zb;Zb=me}else{var Bl=!0===ng,Sf=$APP.t.h(ng);me=c$(l,Zb,$APP.fe.g(f,Zb));var xi=$APP.fe.g(f,Zb),Cl=v$(Sf,Me,Zb,xi,Ic),Lh=$APP.jf(Cl),Dl=$APP.fe.g(Lh,r$),Mh=$APP.fe.g(Lh,
s$),El=$APP.fe.g(Lh,t$),Tf=$APP.fe.g(Lh,$APP.ax),mk=$APP.fe.g(Lh,u$);if($APP.r(function(){var Oe=Dl;return $APP.r(Oe)?Oe:El}())){var Yc=$APP.qa(Sf,"--"),nk=Yc&&$APP.A.g("--",Sf);if(nk){var Fl=$APP.z(hd);return new $APP.J(null,3,5,$APP.N,[function(){var Oe=vb;return Fl?$APP.jo.A(Oe,$APP.Qu,new $APP.J(null,2,5,$APP.N,[x$,k$],null),$APP.lg(Fl)):Oe}(),Zb,Ic],null)}var ok=Yc?$APP.ji.g(Sf,2):$APP.Zj(Sf,/^(:|-|)/,""),zf=Yc?$APP.Dr.g(ok,/=/):new $APP.J(null,1,5,$APP.N,[ok],null),Sd=$APP.B.j(zf,0,null),Ce=
$APP.B.j(zf,1,null),Tb=$APP.zi.h(Sd),Ec=$APP.fe.j(k,Tb,Tb);if($APP.r(Ce))Ic=d$(vb,Zb,Ic,me),Zb=Ec,Me=Tf,hd=$APP.He(Ce,$APP.cd(hd)),vb=Ic,Ic=null;else{var Ab=$APP.z(hd),Ne=$APP.y(Ab),pw=v$(Ne,Tf,Zb,xi,Ic);if($APP.r(function(){var Oe=r$.h(pw);return $APP.r(Oe)?Oe:$APP.Qd(Ab)}()))if($APP.r(Mh)){var qw=$APP.ai(Ec);Ic=$APP.aq.l(function(){return function(Oe){return new $APP.J(null,2,5,$APP.N,[["-",$APP.t.h(Oe)].join(""),!0],null)}}(vb,Zb,Ic,Me,hd,Jg,qw,Ab,Ne,pw,ok,zf,Sd,Ce,Tb,Ec,Yc,nk,Bl,Sf,me,xi,Cl,Lh,
Dl,Mh,El,Tf,mk,ng,Tc,d,e,f,k,l,m,h,q,p,v,D,I,O,c,P,W,ca,ha,na,pa,fa,E,C,ea,K),$APP.F([qw]));hd=$APP.R.g(Ic,Ab);Me=Tf;Ic=Zb=null}else hd=$APP.he(v,Ec)?null:$APP.NG($APP.t.h(Ec),":no-"),Me=$APP.r(hd)?$APP.zi.h($APP.Zj($APP.t.h(Ec),":no-","")):Ec,hd=$APP.He($APP.Za(hd),Ab),Zb=d$(vb,Zb,Ic,me),me=Me,Me=Tf,vb=Zb,Zb=me;else Zb=d$(vb,Zb,Ic,me),me=Ec,Me=Tf,hd=Ab,vb=Zb,Zb=me}}else if(nk=$APP.A.g(p$,xi)&&$APP.Qh.g(Sf,"true")&&$APP.Qh.g(Sf,"false")||$APP.A.g(Ic,Zb)&&$APP.Za(me))if(Jg=$APP.r(hd)?$APP.r(Jg)?n$(hd,
Jg):new $APP.n(null,1,[k$,hd],null):new $APP.n(null,1,[k$,hd],null),Me=$APP.jf(Jg),Jg=$APP.fe.g(Me,k$),Me=$APP.fe.g(Me,m$),$APP.Qh.g(hd,Jg))me=Me,Me=Tf,hd=Jg,Jg=me;else return new $APP.J(null,3,5,$APP.N,[$APP.jo.A(vb,$APP.Qu,new $APP.J(null,2,5,$APP.N,[x$,k$],null),$APP.lg(hd)),Zb,Ic],null);else{try{var Zd=Hha(vb,Zb,me,Dha(xi),Sf,Bl)}catch(Oe){c(new $APP.n(null,4,[B$,e$,z$,$APP.bH(Oe),C$,Zb,D$,Sf],null)),Zd=vb}Ic=$APP.r(function(){var Oe=$APP.A.g(q$,Tf);return Oe?mk:Oe}())?null:Zb;me=$APP.r(function(){var Oe=
$APP.A.g(q$,Tf);return Oe?mk:Oe}())?null:Zb;Me=Tf;hd=$APP.z(hd);vb=Zd;Zb=Ic;Ic=me}}}}(),da=$APP.B.j(M,0,null),ia=$APP.B.j(M,1,null),ja=$APP.B.j(M,2,null),sa=c$(l,ia,$APP.fe.g(f,ia)),ta=function(){var vb=d$(da,ia,ja,sa);return $APP.x(ea)?$APP.jo.A(vb,$APP.Nk,new $APP.J(null,2,5,$APP.N,[x$,k$],null),function(Zb){return $APP.Rg.g($APP.lg(ea),Zb)}):vb}(),wa=$APP.r(h)?$APP.Md($APP.Qk.l($APP.F([h,ta])),$APP.Nd(ta)):ta;if($APP.r(D)){a=$APP.x($APP.Kh(wa));b=null;for(var ya=0,Ca=0;;)if(Ca<ya){var Ha=b.ba(null,
Ca);$APP.he(D,Ha)||c(new $APP.n(null,4,[B$,y$,z$,["Unknown option: ",$APP.t.h(Ha)].join(""),y$,D,C$,Ha],null));Ca+=1}else if(a=$APP.x(a))b=a,$APP.Yd(b)?(a=$APP.uc(b),Ca=$APP.vc(b),b=a,ya=$APP.xd(a),a=Ca):(a=$APP.y(b),$APP.he(D,a)||c(new $APP.n(null,4,[B$,y$,z$,["Unknown option: ",$APP.t.h(a)].join(""),y$,D,C$,a],null)),a=$APP.z(b),b=null,ya=0),Ca=0;else break}if($APP.r(m))for(a=$APP.x(m),b=null,Ca=ya=0;;)if(Ca<ya)Ha=b.ba(null,Ca),$APP.r($APP.XG(wa,Ha))||c(new $APP.n(null,4,[B$,$APP.WE,z$,["Required option: ",
$APP.t.h(Ha)].join(""),$APP.WE,m,C$,Ha],null)),Ca+=1;else if(a=$APP.x(a))b=a,$APP.Yd(b)?(a=$APP.uc(b),Ca=$APP.vc(b),b=a,ya=$APP.xd(a),a=Ca):(a=$APP.y(b),$APP.r($APP.XG(wa,a))||c(new $APP.n(null,4,[B$,$APP.WE,z$,["Required option: ",$APP.t.h(a)].join(""),$APP.WE,m,C$,a],null)),a=$APP.z(b),b=null,ya=0),Ca=0;else break;if($APP.r(I))for(var Da=$APP.x(I),Aa=null,Oa=0,Sa=0;;)if(Sa<Oa){var db=Aa.ba(null,Sa),ub=$APP.B.j(db,0,null),Bb=$APP.B.j(db,1,null),Yb=function(){var vb=(vb=$APP.Vd(Bb))?E$.h(Bb):vb;return $APP.r(vb)?
Ca);$APP.he(D,Ha)||c(new $APP.n(null,4,[B$,y$,z$,["Unknown option: ",$APP.t.h(Ha)].join(""),y$,D,C$,Ha],null));Ca+=1}else if(a=$APP.x(a))b=a,$APP.Yd(b)?(a=$APP.uc(b),Ca=$APP.vc(b),b=a,ya=$APP.xd(a),a=Ca):(a=$APP.y(b),$APP.he(D,a)||c(new $APP.n(null,4,[B$,y$,z$,["Unknown option: ",$APP.t.h(a)].join(""),y$,D,C$,a],null)),a=$APP.z(b),b=null,ya=0),Ca=0;else break}if($APP.r(m))for(a=$APP.x(m),b=null,Ca=ya=0;;)if(Ca<ya)Ha=b.ba(null,Ca),$APP.r($APP.XG(wa,Ha))||c(new $APP.n(null,4,[B$,$APP.YE,z$,["Required option: ",
$APP.t.h(Ha)].join(""),$APP.YE,m,C$,Ha],null)),Ca+=1;else if(a=$APP.x(a))b=a,$APP.Yd(b)?(a=$APP.uc(b),Ca=$APP.vc(b),b=a,ya=$APP.xd(a),a=Ca):(a=$APP.y(b),$APP.r($APP.XG(wa,a))||c(new $APP.n(null,4,[B$,$APP.YE,z$,["Required option: ",$APP.t.h(a)].join(""),$APP.YE,m,C$,a],null)),a=$APP.z(b),b=null,ya=0),Ca=0;else break;if($APP.r(I))for(var Da=$APP.x(I),Aa=null,Oa=0,Sa=0;;)if(Sa<Oa){var db=Aa.ba(null,Sa),ub=$APP.B.j(db,0,null),Bb=$APP.B.j(db,1,null),Yb=function(){var vb=(vb=$APP.Vd(Bb))?E$.h(Bb):vb;return $APP.r(vb)?
vb:Bb}(),qc=$APP.XG(wa,ub);if($APP.r(qc)){var $c=qc,Sb=$APP.B.j($c,0,null),nf=$APP.B.j($c,1,null);if(!$APP.r(Yb.h?Yb.h(nf):Yb.call(null,nf))){var ik=function(){var vb=F$.h(Bb);return $APP.r(vb)?vb:function(){return function(Zb){var Ic=$APP.jf(Zb);Zb=$APP.fe.g(Ic,C$);Ic=$APP.fe.g(Ic,D$);return["Invalid value for option ",$APP.t.h(Zb),": ",$APP.t.h(Ic)].join("")}}(Da,Aa,Oa,Sa,vb,$c,Sb,nf,qc,Yb,db,ub,Bb,d,e,f,k,l,m,h,q,p,v,D,I,O,c,P,W,ca,ha,na,pa,fa,E,C,ea,K,M,da,ia,ja,sa,ta,wa)}();c(new $APP.n(null,
5,[B$,g$,z$,function(){var vb=new $APP.n(null,2,[C$,ub,D$,nf],null);return ik.h?ik.h(vb):ik.call(null,vb)}(),g$,I,C$,ub,D$,nf],null))}}Sa+=1}else{var xl=$APP.x(Da);if(xl){var vi=xl;if($APP.Yd(vi))ya=$APP.uc(vi),a=$APP.vc(vi),b=ya,ya=$APP.xd(ya),Da=a,Aa=b,Oa=ya;else{var jk=$APP.y(vi),kk=$APP.B.j(jk,0,null),rj=$APP.B.j(jk,1,null),lk=function(){var vb=(vb=$APP.Vd(rj))?E$.h(rj):vb;return $APP.r(vb)?vb:rj}(),yl=$APP.XG(wa,kk);if($APP.r(yl)){var Hc=yl,sj=$APP.B.j(Hc,0,null),wi=$APP.B.j(Hc,1,null);if(!$APP.r(lk.h?
lk.h(wi):lk.call(null,wi))){var zl=function(){var vb=F$.h(rj);return $APP.r(vb)?vb:function(){return function(Zb){var Ic=$APP.jf(Zb);Zb=$APP.fe.g(Ic,C$);Ic=$APP.fe.g(Ic,D$);return["Invalid value for option ",$APP.t.h(Zb),": ",$APP.t.h(Ic)].join("")}}(Da,Aa,Oa,Sa,vb,Hc,sj,wi,yl,lk,jk,kk,rj,vi,xl,d,e,f,k,l,m,h,q,p,v,D,I,O,c,P,W,ca,ha,na,pa,fa,E,C,ea,K,M,da,ia,ja,sa,ta,wa)}();c(new $APP.n(null,5,[B$,g$,z$,function(){var vb=new $APP.n(null,2,[C$,kk,D$,wi],null);return zl.h?zl.h(vb):zl.call(null,vb)}(),
5,[B$,g$,z$,function(){var vb=new $APP.n(null,2,[C$,ub,D$,nf],null);return ik.h?ik.h(vb):ik.call(null,vb)}(),g$,I,C$,ub,D$,nf],null))}}Sa+=1}else{var yl=$APP.x(Da);if(yl){var vi=yl;if($APP.Yd(vi))ya=$APP.uc(vi),a=$APP.vc(vi),b=ya,ya=$APP.xd(ya),Da=a,Aa=b,Oa=ya;else{var jk=$APP.y(vi),kk=$APP.B.j(jk,0,null),rj=$APP.B.j(jk,1,null),lk=function(){var vb=(vb=$APP.Vd(rj))?E$.h(rj):vb;return $APP.r(vb)?vb:rj}(),zl=$APP.XG(wa,kk);if($APP.r(zl)){var Hc=zl,sj=$APP.B.j(Hc,0,null),wi=$APP.B.j(Hc,1,null);if(!$APP.r(lk.h?
lk.h(wi):lk.call(null,wi))){var Al=function(){var vb=F$.h(rj);return $APP.r(vb)?vb:function(){return function(Zb){var Ic=$APP.jf(Zb);Zb=$APP.fe.g(Ic,C$);Ic=$APP.fe.g(Ic,D$);return["Invalid value for option ",$APP.t.h(Zb),": ",$APP.t.h(Ic)].join("")}}(Da,Aa,Oa,Sa,vb,Hc,sj,wi,zl,lk,jk,kk,rj,vi,yl,d,e,f,k,l,m,h,q,p,v,D,I,O,c,P,W,ca,ha,na,pa,fa,E,C,ea,K,M,da,ia,ja,sa,ta,wa)}();c(new $APP.n(null,5,[B$,g$,z$,function(){var vb=new $APP.n(null,2,[C$,kk,D$,wi],null);return Al.h?Al.h(vb):Al.call(null,vb)}(),
g$,I,C$,kk,D$,wi],null))}}Da=$APP.z(vi);Aa=null;Oa=0}Sa=0}else break}return wa},Nha=function(a,b){a=Mha(a,b);b=x$.h($APP.Nd(a));return $APP.Rh.j(b,$APP.FH,$APP.Rk.g(a,x$))},Oha=function(a,b){var c=$APP.Of($APP.xd(a),b);b=$APP.B.j(c,0,null);c=$APP.B.j(c,1,null);return $APP.A.g(b,a)?c:null},K$=function(a,b){$APP.Jf(G$,!1);a.setPrompt([$APP.t.h($APP.u(H$)),"\x3d\x3e "].join(""));a.prompt();return $APP.gk($APP.u(I$))?null:J$.g?J$.g(b,a):J$.call(null,b,a)},L$=function(a){var b=$APP.Bk(a);a=$APP.Ck(a);

@@ -49,6 +49,6 @@ var c=$APP.cH($APP.u(I$));b=$APP.Nf.g(b-1,c);c=$APP.x(b);b=$APP.y(c);c=$APP.z(c);a=$APP.r(b)?$APP.ji.g(b,a):null;$APP.Jf(I$,$APP.Mp.g("\n",$APP.He(a,c)))},Qha=function(a,b,c){var d=function(){var f=$APP.lr;$APP.lr=$APP.u(H$);try{a:{var k=$APP.La;$APP.La=!0;try{var l=$APP.Ri.l($APP.F([a]));break a}finally{$APP.La=k}l=void 0}return $APP.nu(l,new $APP.n(null,3,[$APP.Op,$APP.Rp,$APP.Er,Pha,$APP.cu,!0],null),null)}finally{$APP.lr=f}}(),e=$APP.jf(d);d=$APP.fe.g(e,$APP.mu);e=$APP.fe.g(e,$APP.T);d=$APP.Zj("(async function () {\n%s\n}) ()",

m=l,D=$APP.xd(l),l=h,h=D):(p=$APP.y(D),(k.h?k.h(p):k.call(null,p)).on("all",function(I,O,P,W,ca,ha,na,pa,fa,E,C,ea,K){return function(M,da){return $APP.r(esm_import$fs.existsSync(da))?$APP.r(esm_import$fs.lstatSync(da).isDirectory())?null:$APP.he(new $APP.Uh(null,new $APP.n(null,2,["add",null,"change",null],null),null),M)&&$APP.he(new $APP.Uh(null,new $APP.n(null,2,[".cljc",null,".cljs",null],null),null),esm_import$path.extname(da))?V$(E,new $APP.J(null,1,5,$APP.N,[da],null)).catch(function(){return function(ia){return console.error(ia)}}(I,
O,P,W,ca,ha,na,pa,fa,E,C,ea,K)):R$(K,da,ea,C):null}}(l,m,h,q,p,D,v,k,b,c,d,e,f)),l=$APP.z(D),m=null,h=0);q=0}else return null}})}],null),new $APP.n(null,2,[j$,$APP.kg,$APP.yo,function(a){a=$APP.jf(a);var b=$APP.fe.g(a,W$),c=$APP.fe.g(a,$APP.FH);a=$APP.EE.h(c);if($APP.r(a)){if($APP.r(U$.h(c)))return $APP.CH.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.xt.h(c))?$APP.Zj("(do %s\n)",
O,P,W,ca,ha,na,pa,fa,E,C,ea,K)):R$(K,da,ea,C):null}}(l,m,h,q,p,D,v,k,b,c,d,e,f)),l=$APP.z(D),m=null,h=0);q=0}else return null}})}],null),new $APP.n(null,2,[j$,$APP.kg,$APP.yo,function(a){a=$APP.jf(a);var b=$APP.fe.g(a,W$),c=$APP.fe.g(a,$APP.FH);a=$APP.GE.h(c);if($APP.r(a)){if($APP.r(U$.h(c)))return $APP.CH.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.xt.h(c))?$APP.Zj("(do %s\n)",
"%s",a):a;a=$APP.MG.g(a,$APP.Rh.l(c,$APP.xt,$APP.xt.h(c),$APP.F([$APP.Er,$APP.Vi.h(new $APP.n(null,1,[$APP.to,$APP.hy],null)),$APP.Op,$APP.r($APP.xt.h(c))?$APP.Rp:$APP.Sp,$APP.cu,function(){var f=$APP.xt.h(c);return $APP.r(f)?!1!==$APP.cu.h(c):f}()])));a=$APP.r($APP.xt.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(Sha.h(c))&&$APP.CH.l($APP.F([a]));if(!1===Tha.h(c))return null;
e=$APP.r(esm_import$path.isAbsolute(e))?e:[$APP.t.h(process.cwd()),"/",e].join("");return($APP.r($APP.xt.h(c))?Promise.resolve(eval(a)):shadow_esm_import(e)).then(function(f){return $APP.r($APP.xt.h(c))?$APP.BH.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.CH.l($APP.F(["Squint v0.7.98\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."])):
e=$APP.r(esm_import$path.isAbsolute(e))?e:[$APP.t.h(process.cwd()),"/",e].join("");return($APP.r($APP.xt.h(c))?Promise.resolve(eval(a)):shadow_esm_import(e)).then(function(f){return $APP.r($APP.xt.h(c))?$APP.BH.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.CH.l($APP.F(["Squint v0.7.99\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.Hr,new $APP.n(null,1,[Uha,U$],null),e$,new $APP.n(null,4,[$APP.cu,p$,$APP.Ir,p$,$APP.vH,$APP.nl,$APP.xt,p$],null)],null),b=l$(process.argv.slice(2),a),c=$APP.jf(b),d=$APP.fe.g(c,j$),e=$APP.fe.g(c,k$);return $APP.oe.j(function(f,k){f=$APP.jf(k);var l=$APP.fe.g(f,j$),m=$APP.fe.g(f,$APP.yo),h=Oha(l,d);if($APP.r(h)){k=function(){var v=null==h?null:$APP.x(h);return null==v?null:$APP.lg(v)}();k=$APP.R.g(k,e);f=Nha(k,V9(a,$APP.F([f])));k=$APP.jf(f);var q=$APP.fe.g(k,
$APP.FH);f=$APP.fe.g(k,k$);k=$APP.fe.g(k,j$);var p=$APP.R.g(k,f);return $APP.ld(function(){var v=$APP.Rh.l(c,k$,p,$APP.F([W$,p,$APP.FH,q,$APP.ap,l]));return m.h?m.h(v):m.call(null,v)}())}return null},null,Vha)})();

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

oH=function(a,b){b=$APP.jf(b);var c=$APP.fe.g(b,$APP.Er);a=$APP.jp($APP.hp(a),$APP.$t);if($APP.be(a)&&$APP.A.g($APP.Dj,$APP.y(a))){a=$APP.x(a);$APP.y(a);a=$APP.z(a);var d=$APP.y(a);a=$APP.z(a);a=$APP.Ef(function(k){var l=$APP.B.j(k,0,null);k=$APP.B.j(k,1,null);return $APP.be(l)&&$APP.A.g(iH,$APP.y(l))?new $APP.J(null,2,5,$APP.N,[$APP.cd(l),k],null):null},$APP.jH.j(2,1,a));var e=$APP.B.j(a,0,null),f=$APP.B.j(a,1,null);return $APP.r(e)?shadow_esm_import("./compiler.sci.js").then(function(){var k=$APP.kH.h($APP.u($APP.lH));
return $APP.oe.j(function(l,m){return l.then(function(){var h=$APP.x(m),q=$APP.y(h);h=$APP.z(h);h=$APP.jf(h);var p=$APP.fe.g(h,$APP.zr),v=$APP.fe.g(h,$APP.Ar);return Promise.resolve(function(){var D=function(){var O=new $APP.G(null,$APP.bF,new $APP.G(null,new $APP.G(null,$APP.Mj,new $APP.G(null,q,null,1,null),2,null),null,1,null),2,null);return $APP.r(f)?$APP.R.g(O,new $APP.J(null,1,5,$APP.N,[$APP.mH],null)):O}();k.h?k.h(D):k.call(null,D);var I=function(){var O=$APP.S.h($APP.x($APP.R.g(new $APP.G(null,
return $APP.oe.j(function(l,m){return l.then(function(){var h=$APP.x(m),q=$APP.y(h);h=$APP.z(h);h=$APP.jf(h);var p=$APP.fe.g(h,$APP.zr),v=$APP.fe.g(h,$APP.Ar);return Promise.resolve(function(){var D=function(){var O=new $APP.G(null,$APP.cF,new $APP.G(null,new $APP.G(null,$APP.Mj,new $APP.G(null,q,null,1,null),2,null),null,1,null),2,null);return $APP.r(f)?$APP.R.g(O,new $APP.J(null,1,5,$APP.N,[$APP.mH],null)):O}();k.h?k.h(D):k.call(null,D);var I=function(){var O=$APP.S.h($APP.x($APP.R.g(new $APP.G(null,
nH,null,1,null),new $APP.G(null,$APP.S.h($APP.x($APP.R.g(new $APP.G(null,$APP.Mj,null,1,null),new $APP.G(null,q,null,1,null)))),null,1,null))));return k.h?k.h(O):k.call(null,O)}();D=$APP.Kh(I);I=$APP.Oh(I);I=$APP.ui.g($APP.od,I);return $APP.bi(D,I)}()).then(function(D){return $APP.Wi.g(c,function(I){I=$APP.Qu(I,new $APP.J(null,2,5,$APP.N,[$APP.wt,q],null),D);I=$APP.r(v)?$APP.Qu(I,new $APP.J(null,3,5,$APP.N,[d,$APP.Hr,v],null),q):I;return $APP.r(p)?$APP.Qu(I,new $APP.J(null,2,5,$APP.N,[d,$APP.Fr],

@@ -26,5 +26,5 @@ null),$APP.bi(p,$APP.Gr.h(q))):I})})})},Promise.resolve(null),e)}):null}return null};pH=function(a,b){return Promise.resolve(oH(a,b)).then(function(){return $APP.nu(a,b,null)})};

arguments.length);};k.v=f;k.h=e;k.g=d;return k}()}};$APP.jH.g=function(a,b){return $APP.jH.j(a,a,b)};$APP.jH.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.jH.j(a,b,$APP.Nf.g(b,d))):null},null,null)};$APP.jH.m=3;$APP.ZG.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.ZG.prototype.$c=function(){return $APP.Za(this.f)};
$APP.ZG.prototype.R=function(a,b,c){$APP.ic(b,"#object[cljs.core.Delay ");$APP.ti(new $APP.n(null,2,[$APP.xD,null==this.f?$APP.Aw:$APP.hB,$APP.hv,this.value],null),b,c);return $APP.ic(b,"]")};$APP.DH=function DH(a){switch(arguments.length){case 1:return DH.h(arguments[0]);case 2:return DH.g(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};
$APP.ZG.prototype.R=function(a,b,c){$APP.ic(b,"#object[cljs.core.Delay ");$APP.ti(new $APP.n(null,2,[$APP.uD,null==this.f?$APP.Cw:$APP.gB,$APP.hv,this.value],null),b,c);return $APP.ic(b,"]")};$APP.DH=function DH(a){switch(arguments.length){case 1:return DH.h(arguments[0]);case 2:return DH.g(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};
$APP.DH.h=function(a){return dH(new $APP.n(null,3,[$APP.Cm,$APP.u($APP.OF),$APP.Dm,$APP.u($APP.NF),$APP.il,null],null),a)};$APP.DH.g=function(a,b){return dH($APP.Tm.j($APP.Qk.l($APP.F([new $APP.n(null,1,[$APP.Dm,$APP.u($APP.NF)],null),a])),$APP.Cm,function(c){return $APP.Qk.l($APP.F([$APP.u($APP.OF),c]))}),b)};$APP.DH.m=2;$APP.EH=new $APP.H(null,"port","port",1534937262);$APP.mH=new $APP.H(null,"reload","reload",863702807);$APP.FH=new $APP.H(null,"opts","opts",155075701);
$APP.vH=new $APP.H(null,"output-dir","output-dir",-290956991);iH=new $APP.H(null,"require-macros","require-macros",707947416);$APP.GH=new $APP.H(null,"message","message",-406056002);$APP.rH=new $APP.H(null,"in-file","in-file",-1682176692);$APP.HH=new $APP.H(null,"id","id",-1388402092);nH=new $APP.w("cljs.core","ns-publics","cljs.core/ns-publics",488240955,null);$APP.fH=new $APP.H(null,"paths","paths",-1807389588);$APP.IH=new $APP.H(null,"eval","eval",-1103567905);
$APP.kH=new $APP.H(null,"eval-form","eval-form",-1934118476);$APP.tH=new $APP.H(null,"out-file","out-file",-1187066405);sH=new $APP.H(null,"in-str","in-str",-1014658121);$APP.uH=new $APP.H(null,"extension","extension",1453374065);$APP.gH=new $APP.ZG(function(){if($APP.r(esm_import$fs.existsSync("squint.edn"))){var a=esm_import$fs.readFileSync("squint.edn","utf-8");a=$APP.DH.h(a)}else a=null;return a},null);var JH;$APP.lH=$APP.Vi.h(null);JH=yH(pH);export const compileFile=yH($APP.wH);export const compileString=JH;

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

"sideEffects": false,
"version": "0.7.98",
"version": "0.7.99",
"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