@remotex-labs/xjet 1.0.0 → 1.0.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/README.md +1 -1
- package/dist/bash.js +1 -1
- package/dist/bash.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +3 -3
- package/dist/shared.d.ts +0 -1
- package/dist/shared.js +31 -31
- package/dist/shared.js.map +4 -4
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -55,7 +55,7 @@ Run:
|
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
## Documentation
|
|
58
|
-
For complete API documentation, examples, and guides, visit: [
|
|
58
|
+
For complete API documentation, examples, and guides, visit: [xJet Documentation](https://remotex-labs.github.io/xJet/)
|
|
59
59
|
|
|
60
60
|
## Compatibility
|
|
61
61
|
- Node.js 20+
|
package/dist/bash.js
CHANGED
|
@@ -18,7 +18,7 @@ __ __ | | ___| |_
|
|
|
18
18
|
> </\\__/ / __/ |_
|
|
19
19
|
/_/\\_\\____/ \\___|\\__|
|
|
20
20
|
`;function G(){return`${je.burntOrange(Ft)}
|
|
21
|
-
Version: ${je.brightPink("1.0.
|
|
21
|
+
Version: ${je.brightPink("1.0.1")}
|
|
22
22
|
`}o(G,"bannerComponent");import{existsSync as qt}from"fs";import{version as $t}from"process";var Le={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${$t.slice(1)}`],packages:"bundle",platform:"browser",external:[]}};import{dirname as Bt}from"path";import{createRequire as Jt}from"module";import{Script as Mt,createContext as Ot}from"vm";async function $(i,e={},t={}){let r=new Mt(i,t),s=Ot(e);return await r.runInContext(s,{breakOnSigint:!0,displayErrors:!1})}o($,"sandboxExecute");var b=class i extends h{constructor(t,r){if(t instanceof h)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 Ne}from"process";import{build as Lt}from"esbuild";var d=class extends h{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 Dt}from"@remotex-labs/xmap/formatter.component";import{highlightCode as jt}from"@remotex-labs/xmap/highlighter.component";var z=class extends h{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+=`
|