4172L4173: `),Z}async function h1($,Z,Y,X={}){if(!$.trim())return;let J;try{let P=new Bun.Transpiler({loader:"ts",target:"browser",define:o0()}),v=$.replace(/^\s*import\s+\w+\s+from\s+['"][^'...
L4174: `),N1=Z.params??{},z0=[],T1=[];for(let t=0;t<x.length;t++){if(x[t]==="params")continue;z0.push(x[t]),T1.push(g[t])}let X$=await Function("module","exports","require","props","$prop...
HighChild Process
Package source references child process execution.
dist/web-components.jsView on unpkg · L4172 1800@end${K}`;X.push(`Added ${U} missing @end${K}`)}}if(X.length>0&&Z.logRecoveryWarnings)console.warn("[stx] Auto-recovery applied fixes:"),X.forEach((K)=>console.warn(` - ${K}`)),co...
L1801: `)}}});import e7 from"path";function dK($){let Z={"&":"&","<":"<",">":">",'"':""","'":"'"};return $.replace(/[&<>"']/g,(Y)=>Z[Y]||Y)}function c$($,Z={}){let{allo...
L1802: `,V+=`<meta name="title" content="${p(O.title)}">
1796`)}writeToFile($){this.writeQueue=this.writeQueue.then(async()=>{try{let Z=await import("fs"),X=(await import("path")).dirname(this.logFilePath);if(!Z.existsSync(X))Z.mkdirSync(X,{...
L1797: `;Z.appendFileSync(this.logFilePath,J,"utf-8")}catch(Z){if(process.env.STX_DEBUG==="true")console.error("Failed to write to error log:",Z)}})}async rotateIfNeeded($){try{if(!$.exis...
L1798:
...
L1800: @end${K}`;X.push(`Added ${U} missing @end${K}`)}}if(X.length>0&&Z.logRecoveryWarnings)console.warn("[stx] Auto-recovery applied fixes:"),X.forEach((K)=>console.warn(` - ${K}`)),co...
L1801: `)}}});import e7 from"path";function dK($){let Z={"&":"&","<":"<",">":">",'"':""","'":"'"};return $.replace(/[&<>"']/g,(Y)=>Z[Y]||Y)}function c$($,Z={}){let{allo...
L1802: `,V+=`<meta name="title" content="${p(O.title)}">
HighSame File Env Network Execution
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/web-components.jsView on unpkg · L1796 13}
L14: `.trim()}function Y9(){return typeof globalThis.document<"u"&&typeof globalThis.document.createElement==="function"}function GQ($,Z){let Y=[],X=/<img\s+([^>]*)>/gi,J;J=X.exec($);wh...
L15: <!-- Fathom Analytics -->
...
L491: <span class="stx-clipboard-content">${$}</span>
L492: <button type="button" class="stx-clipboard-btn" onclick="navigator.clipboard.writeText(document.querySelector('[data-clipboard-id=\\'${Y}\\'] .stx-clipboard-content').textContent)....
L493: </span>
...
L611: `});let Y=/import\s*\{([^}]+)\}\s*from\s*['"]@composables['"]\s*;?\n?/g;return $=$.replace(Y,(X,J)=>{return`const { ${J.split(",").map((G)=>G.trim()).filter(Boolean).join(", ")} } ...
L612: `}),$}import B9 from"process";function o0($="STX_PUBLIC_"){let Z={},Y={};for(let[X,J]of Object.entries(B9.env)){if(!X.startsWith($)||J===void 0)continue;Z[`import.meta.env.${X}`]=J...
L613: export { ${H.join(", ")} }`:"";await Bun.write(_,$+V),console.log("[stx:bundler] bundling:",K,"from:",W0.basename(Z));let A=new Set;try{let w=await Bun.build({entrypoints:[_],outdi...
...
L656: // eslint-disable-next-line pickier/no-unused-vars
L657: `)}var L9,s1,q7,cQ,F9,iQ,w9,O9=65536;var F0=C(()=>{L9={maxSanitizeDept
HighObfuscated Payload Loader
Source contains an obfuscator-style string-array loader that reconstructs and executes hidden code.
dist/web-components.jsView on unpkg · L13 1070`||O==="\r"||O===" "||O===void 0)W++;_=L+9}else{if(W--,W===0){B=F;break}_=F+12}}if(B===-1)continue;let j=$.slice(U,B),H=$.slice(K,B+12);J.push({fullMatch:H,options:z,content:j,inde...
L1071: `)}function NO($,Z){if($.length===0)return;let Y=[...$].sort((J,Q)=>J.width-Q.width),X=Y.find((J)=>J.width>=Z);if(X)return X;return Y[Y.length-1]}function TO($,Z){let Y=Z?$.filter(...
L1072: <rect fill="rgb(${H},${L},${F})" width="32" height="32"/>
MediumDynamic Require
Package source references dynamic require/import behavior.
dist/web-components.jsView on unpkg · L1070