cubefarm 0.3.0 → 0.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/index.html CHANGED
@@ -8,7 +8,7 @@
8
8
  <link rel="preconnect" href="https://fonts.googleapis.com" />
9
9
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
10
10
  <link href="https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap" rel="stylesheet" />
11
- <script type="module" crossorigin src="/assets/index-CDs_MaRq.js"></script>
11
+ <script type="module" crossorigin src="/assets/index-BCFM-9fU.js"></script>
12
12
  <link rel="stylesheet" crossorigin href="/assets/index-BU33ZUhQ.css">
13
13
  </head>
14
14
  <body>
@@ -602,7 +602,7 @@ var clip = (s, n) => s.length > n ? `${s.slice(0, n - 1)}\u2026` : s;
602
602
  function rel(cwd, p) {
603
603
  const s = String(p ?? "");
604
604
  if (!s) return "";
605
- const r = path3.relative(cwd, s);
605
+ const r = path3.relative(cwd, path3.resolve(cwd, s));
606
606
  return r && !r.startsWith("..") ? r.replaceAll("\\", "/") : s;
607
607
  }
608
608
  var escapeRe = (s) => s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
@@ -1360,7 +1360,7 @@ function spawnPty(file, args, o, meta) {
1360
1360
  return p2;
1361
1361
  }
1362
1362
  if (!nodePty) throw new Error("the terminal module could not be loaded on this machine");
1363
- const p = nodePty.spawn(file, args, { name: "xterm-256color", cols: o.cols, rows: o.rows, cwd: o.cwd, env: o.env });
1363
+ const p = nodePty.spawn(file, args, { name: "xterm-256color", cols: o.cols, rows: o.rows, cwd: o.cwd, env: o.env, useConptyDll: true });
1364
1364
  return {
1365
1365
  get pid() {
1366
1366
  return p.pid;