coderaft 0.0.29 → 0.0.31
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/code.mjs +1 -1
- package/code.tar.zst +0 -0
- package/dist/_chunks/server.mjs +1 -0
- package/package.json +1 -1
package/code.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { tmpdir } from "node:os";
|
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
5
|
|
|
6
6
|
// Auto-updated by scripts/pack.ts
|
|
7
|
-
const codeArchiveHash = "
|
|
7
|
+
const codeArchiveHash = "1e825760090ea31b";
|
|
8
8
|
|
|
9
9
|
const archivePath = fileURLToPath(new URL("./code.tar.zst", import.meta.url));
|
|
10
10
|
|
package/code.tar.zst
CHANGED
|
Binary file
|
package/dist/_chunks/server.mjs
CHANGED
|
@@ -157,6 +157,7 @@ async function createCodeServer(opts = {}) {
|
|
|
157
157
|
const baseURL = normalizeBaseURL(opts.baseURL ?? opts.vscode?.["server-base-path"]);
|
|
158
158
|
const mintKey = randomBytes(32);
|
|
159
159
|
process.env.CODE_SERVER_PARENT_PID ??= String(process.pid);
|
|
160
|
+
process.env.NODE_EXEC_PATH ??= process.execPath;
|
|
160
161
|
cleanupStaleLocks(opts.vscode?.["user-data-dir"] ?? join(_os.homedir(), ".vscode-server-oss", "data"));
|
|
161
162
|
watchChildProcessHealth();
|
|
162
163
|
const { modulesDir } = await loadCode();
|