coderaft 0.0.21 → 0.0.23
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/android-preload.cjs +0 -2
- package/code.mjs +1 -1
- package/code.tar.zst +0 -0
- package/dist/_chunks/server.mjs +0 -1
- package/package.json +1 -1
package/android-preload.cjs
CHANGED
|
@@ -9,8 +9,6 @@
|
|
|
9
9
|
// is not enough — we must monkey-patch child_process.spawn to re-inject it.
|
|
10
10
|
"use strict";
|
|
11
11
|
|
|
12
|
-
Object.defineProperty(process, "platform", { value: "linux" });
|
|
13
|
-
|
|
14
12
|
// Fix process.execPath when termux-exec is unavailable
|
|
15
13
|
const execPath = process.execPath;
|
|
16
14
|
if (execPath.includes("linker64") || execPath.startsWith("/apex/")) {
|
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 = "4578b0a8f19e8531";
|
|
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
|
@@ -8,7 +8,6 @@ import { extname, join, normalize, sep } from "node:path";
|
|
|
8
8
|
import { stat } from "node:fs/promises";
|
|
9
9
|
import { loadCode } from "#code";
|
|
10
10
|
if (process.platform === "android") {
|
|
11
|
-
Object.defineProperty(process, "platform", { value: "linux" });
|
|
12
11
|
if (process.execPath.includes("linker64") || process.execPath.startsWith("/apex/")) {
|
|
13
12
|
const resolved = process.env.TERMUX_EXEC__PROC_SELF_EXE || "/data/data/com.termux/files/usr/bin/node";
|
|
14
13
|
Object.defineProperty(process, "execPath", {
|