cherry-cljs
Advanced tools
Comparing version 0.1.12 to 0.1.13
@@ -1,1 +0,1 @@ | ||
export { compileString } from './lib/compiler.js' | ||
export { compileString } from './lib/compiler.js'; |
import { $APP, shadow$provide, $jscomp } from "./cljs.core.js"; | ||
const shadow_esm_import = function(x) { return import(x) }; | ||
var mr,nr,vr;$APP.ir=function(a,b){return 0==a.lastIndexOf(b,0)};$APP.jr=function(a){return String(a.charAt(0)).toUpperCase()+String(a.slice(1)).toLowerCase()};$APP.lr=function(a){return a.replace(kr,"$2$1").split("").reverse().join("")};mr=function(a,b,c){var d=RegExp,e=b.source,f=$APP.r(b.ignoreCase)?"gi":"g";f=$APP.r(b.multiline)?[f,"m"].join(""):f;b=$APP.r(b.unicode)?[f,"u"].join(""):f;return a.replace(new d(e,b),c)}; | ||
nr=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.pd(f,0,null)}return c.call(this,e)}function c(d){d=$APP.eo.g(2,d);if($APP.Td.g($APP.Sd(d),1))return d=$APP.A(d),a.h?a.h(d):a.call(null,d);d=$APP.ef(d);return a.h?a.h(d):a.call(null,d)}b.m=0;b.o=function(d){d=$APP.y(d);return c(d)};b.j=c;return b}()}; | ||
nr=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.pd(f,0,null)}return c.call(this,e)}function c(d){d=$APP.eo.g(2,d);if($APP.Td.g($APP.Sd(d),1))return d=$APP.A(d),a.h?a.h(d):a.call(null,d);d=$APP.ef(d);return a.h?a.h(d):a.call(null,d)}b.m=0;b.o=function(d){d=$APP.z(d);return c(d)};b.j=c;return b}()}; | ||
$APP.or=function(a,b,c){if("string"===typeof b)return a.replace(new RegExp(String(b).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"),"g"),c);if(b instanceof RegExp)return"string"===typeof c?mr(a,b,c):mr(a,b,nr(c));throw["Invalid match arg: ",$APP.t.h(b)].join("");};$APP.qr=function(a,b,c){return a.replace(b,c)};$APP.rr=function(a){return a.toUpperCase()};$APP.sr=function(a){return a.toLowerCase()};$APP.tr=function(a){return $APP.jr(a)}; | ||
vr=function(a,b){if(0>=b||b>=2+$APP.Sd(a))return $APP.lg.g($APP.ef($APP.og("",$APP.Jk.g($APP.t,$APP.y(a)))),"");if($APP.r($APP.ur.g?$APP.ur.g(1,b):$APP.ur.call(null,1,b)))return new $APP.K(null,1,5,$APP.O,[a],null);if($APP.r($APP.ur.g?$APP.ur.g(2,b):$APP.ur.call(null,2,b)))return new $APP.K(null,2,5,$APP.O,["",a],null);b-=2;return $APP.lg.g($APP.ef($APP.og("",$APP.wo.l($APP.ef($APP.Jk.g($APP.t,$APP.y(a))),0,b))),$APP.zk.g(a,b))};$APP.xr=function(a){return $APP.wr.g(a,/\n|\r\n/)};$APP.yr=function(a){return(0,$APP.Om)(a)}; | ||
vr=function(a,b){if(0>=b||b>=2+$APP.Sd(a))return $APP.lg.g($APP.ef($APP.og("",$APP.Jk.g($APP.t,$APP.z(a)))),"");if($APP.r($APP.ur.g?$APP.ur.g(1,b):$APP.ur.call(null,1,b)))return new $APP.K(null,1,5,$APP.O,[a],null);if($APP.r($APP.ur.g?$APP.ur.g(2,b):$APP.ur.call(null,2,b)))return new $APP.K(null,2,5,$APP.O,["",a],null);b-=2;return $APP.lg.g($APP.ef($APP.og("",$APP.wo.l($APP.ef($APP.Jk.g($APP.t,$APP.z(a))),0,b))),$APP.zk.g(a,b))};$APP.xr=function(a){return $APP.wr.g(a,/\n|\r\n/)};$APP.yr=function(a){return(0,$APP.Om)(a)}; | ||
$APP.zr=function(a){return a.replace(/^[\s\xa0]+/,"")};$APP.Ar=function(a){return a.replace(/[\s\xa0]+$/,"")};$APP.Br=function(a){for(var b=a.length;;){if(0===b)return"";var c=$APP.Se.g(a,b-1);if("\n"===c||"\r"===c)--b;else return a.substring(0,b)}};$APP.Cr=function(a){return/^[\s\xa0]*$/.test(null==a?"":String(a))};$APP.Dr=function(a,b){for(var c=new $APP.xa,d=a.length,e=0;;){if(d===e)return c.toString();var f=a.charAt(e),h=$APP.Se.g(b,f);null!=h?c.append($APP.t.h(h)):c.append(f);e+=1}}; | ||
$APP.Er=function(a,b){return $APP.ir(a,b)};$APP.Fr=function(a,b){return $APP.ka(a,b)};$APP.Gr=function(a,b){return-1!=a.indexOf(b)};$APP.ur=function ur(a){switch(arguments.length){case 1:return ur.h(arguments[0]);case 2:return ur.g(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,e=0;;)if(e<d)c.push(arguments[e]),e+=1;else break;return ur.j(arguments[0],arguments[1],new $APP.pd(c.slice(2),0,null))}};$APP.ur.h=function(){return!0};$APP.ur.g=function(a,b){return $APP.dc(a,b)}; | ||
$APP.ur.j=function(a,b,c){for(;;)if(a===b)if($APP.B(c))a=b,b=$APP.A(c),c=$APP.B(c);else return b===$APP.A(c);else return!1};$APP.ur.o=function(a){var b=$APP.A(a),c=$APP.B(a);a=$APP.A(c);c=$APP.B(c);return this.j(b,a,c)};$APP.ur.m=2;var kr;kr=RegExp("([\\uD800-\\uDBFF])([\\uDC00-\\uDFFF])","g");$APP.Hr=function Hr(a){switch(arguments.length){case 1:return Hr.h(arguments[0]);case 2:return Hr.g(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};$APP.Hr.h=function(a){var b=new $APP.xa;for(a=$APP.y(a);;)if(null!=a)b=b.append($APP.t.h($APP.A(a))),a=$APP.B(a);else return b.toString()}; | ||
$APP.Hr.g=function(a,b){var c=new $APP.xa;for(b=$APP.y(b);;)if(null!=b)c.append($APP.t.h($APP.A(b))),b=$APP.B(b),null!=b&&c.append(a);else return c.toString()};$APP.Hr.m=2;$APP.wr=function wr(a){switch(arguments.length){case 2:return wr.g(arguments[0],arguments[1]);case 3:return wr.l(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};$APP.wr.g=function(a,b){return $APP.wr.l(a,b,0)}; | ||
$APP.ur.j=function(a,b,c){for(;;)if(a===b)if($APP.B(c))a=b,b=$APP.A(c),c=$APP.B(c);else return b===$APP.A(c);else return!1};$APP.ur.o=function(a){var b=$APP.A(a),c=$APP.B(a);a=$APP.A(c);c=$APP.B(c);return this.j(b,a,c)};$APP.ur.m=2;var kr;kr=RegExp("([\\uD800-\\uDBFF])([\\uDC00-\\uDFFF])","g");$APP.Hr=function Hr(a){switch(arguments.length){case 1:return Hr.h(arguments[0]);case 2:return Hr.g(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};$APP.Hr.h=function(a){var b=new $APP.xa;for(a=$APP.z(a);;)if(null!=a)b=b.append($APP.t.h($APP.A(a))),a=$APP.B(a);else return b.toString()}; | ||
$APP.Hr.g=function(a,b){var c=new $APP.xa;for(b=$APP.z(b);;)if(null!=b)c.append($APP.t.h($APP.A(b))),b=$APP.B(b),null!=b&&c.append(a);else return c.toString()};$APP.Hr.m=2;$APP.wr=function wr(a){switch(arguments.length){case 2:return wr.g(arguments[0],arguments[1]);case 3:return wr.l(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};$APP.wr.g=function(a,b){return $APP.wr.l(a,b,0)}; | ||
$APP.wr.l=function(a,b,c){if("/(?:)/"===$APP.t.h(b))b=vr(a,c);else if(1>c)b=$APP.ef($APP.t.h(a).split(b));else a:for(var d=c,e=$APP.$h;;){if(1===d){b=$APP.lg.g(e,a);break a}var f=$APP.wk(b,a);if(null!=f){var h=a.indexOf(f);f=a.substring(h+$APP.Sd(f));--d;e=$APP.lg.g(e,a.substring(0,h));a=f}else{b=$APP.lg.g(e,a);break a}}if(0===c&&1<$APP.Sd(b))a:for(c=b;;)if(""===$APP.le(c))c=$APP.me(c);else break a;else c=b;return c};$APP.wr.m=3; | ||
@@ -12,0 +12,0 @@ $APP.Ir=function Ir(a){switch(arguments.length){case 2:return Ir.g(arguments[0],arguments[1]);case 3:return Ir.l(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};$APP.Ir.g=function(a,b){a=a.indexOf(b);return 0>a?null:a};$APP.Ir.l=function(a,b,c){a=a.indexOf(b,c);return 0>a?null:a};$APP.Ir.m=3; |
@@ -5,3 +5,3 @@ { | ||
"sideEffects": false, | ||
"version": "0.1.12", | ||
"version": "0.1.13", | ||
"files": [ | ||
@@ -18,12 +18,10 @@ "cljs.core.js", | ||
"@babel/core": "^7.19.0", | ||
"@babel/preset-react": "^7.18.6", | ||
"@vercel/ncc": "^0.34.0", | ||
"chalk": "^5.0.1", | ||
"cherry-cljs": ".", | ||
"esbuild": "^0.14.49", | ||
"esbuild": "^0.14.54", | ||
"react": "^18.2.0", | ||
"shadow-cljs": "^2.20.1", | ||
"@babel/preset-react": "^7.18.6" | ||
}, | ||
"dependencies": { | ||
"shadow-cljs": "^2.20.1" | ||
} | ||
} |
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
Sorry, the diff of this file is too big to display
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
1706810
7165
1