@remotex-labs/xjet 1.3.0 → 1.3.1
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.
- package/dist/bash.js +1 -1
- package/dist/bash.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/shared.js +1 -1
- package/dist/shared.js.map +2 -2
- package/package.json +1 -1
package/dist/bash.js
CHANGED
|
@@ -18,7 +18,7 @@ __ __ | | ___| |_
|
|
|
18
18
|
> </\\__/ / __/ |_
|
|
19
19
|
/_/\\_\\____/ \\___|\\__|
|
|
20
20
|
`;function z(){return`${Le.burntOrange(Mt)}
|
|
21
|
-
Version: ${Le.brightPink("1.3.
|
|
21
|
+
Version: ${Le.brightPink("1.3.1")}
|
|
22
22
|
`}o(z,"bannerComponent");import{existsSync as Gt}from"fs";import{version as Ot}from"process";var Ne={bail:!1,files:["**/*.test.ts","**/*.spec.ts"],watch:!1,suites:[],filter:[],verbose:!1,timeout:5e3,parallel:1,exclude:[/node_modules/],reporter:"default",randomize:!1,build:{target:[`node${Ot.slice(1)}`],packages:"bundle",platform:"browser",external:[]}};import{dirname as qt}from"path";import{createRequire as Ut}from"module";import{Script as Dt,createContext as jt}from"vm";async function M(i,e={},t={}){let r=new Dt(i,t),s=jt(e);return await r.runInContext(s,{breakOnSigint:!0,displayErrors:!1})}o(M,"sandboxExecute");var b=class i extends y{constructor(t,r){if(t instanceof y)return t;super(t.message,"VMRuntimeError");this.originalError=t;t instanceof AggregateError&&Array.isArray(t.errors)&&(this.errors=t.errors.map(s=>new i(s,r))),this.stack=t.stack,this.message=t.message,this.reformatStack(t,r)}static{o(this,"VMRuntimeError")}errors=[];[Symbol.for("nodejs.util.inspect.custom")](){if(this.errors&&this.errors.length>0){let t=this.errors.map(r=>`${r.formattedStack??r.stack}`).join("");return`VMRuntimeError Contains ${this.errors.length} nested errors:
|
|
23
23
|
${t}
|
|
24
24
|
`}return this.formattedStack??this.stack}};import{cwd as Be}from"process";import{build as Nt}from"esbuild";var h=class extends y{static{o(this,"xJetError")}constructor(e,t={withFrameworkFrames:!0}){super(e),this.reformatStack(this,t)}};import{xterm as de}from"@remotex-labs/xansi/xterm.component";import{formatCode as _t}from"@remotex-labs/xmap/formatter.component";import{highlightCode as Lt}from"@remotex-labs/xmap/highlighter.component";var W=class extends y{static{o(this,"esBuildError")}constructor(e){super("esBuildError build failed","esBuildError"),e.aggregateErrors?this.formatAggregateErrors(e.aggregateErrors):this.reformatStack(e,{withFrameworkFrames:!0})}formatAggregateErrors(e){this.formattedStack="";for(let t of e)this.formattedStack+=`
|