sloppycode 0.2.140 → 0.2.142

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/package.json CHANGED
@@ -36,20 +36,20 @@
36
36
  "scripts": {
37
37
  "postinstall": "bun ./postinstall.mjs || node ./postinstall.mjs"
38
38
  },
39
- "version": "0.2.140",
39
+ "version": "0.2.142",
40
40
  "license": "MIT",
41
41
  "optionalDependencies": {
42
- "slopcode-bin-darwin-x64-baseline": "0.2.140",
43
- "slopcode-bin-linux-x64-baseline": "0.2.140",
44
- "slopcode-bin-linux-x64-musl": "0.2.140",
45
- "slopcode-bin-windows-x64": "0.2.140",
46
- "slopcode-bin-darwin-x64": "0.2.140",
47
- "slopcode-bin-windows-x64-baseline": "0.2.140",
48
- "slopcode-bin-darwin-arm64": "0.2.140",
49
- "slopcode-bin-linux-x64-baseline-musl": "0.2.140",
50
- "slopcode-bin-linux-x64": "0.2.140",
51
- "slopcode-bin-linux-arm64-musl": "0.2.140",
52
- "slopcode-bin-linux-arm64": "0.2.140",
42
+ "slopcode-bin-darwin-x64-baseline": "0.2.142",
43
+ "slopcode-bin-linux-x64-baseline": "0.2.142",
44
+ "slopcode-bin-linux-x64-musl": "0.2.142",
45
+ "slopcode-bin-windows-x64": "0.2.142",
46
+ "slopcode-bin-darwin-x64": "0.2.142",
47
+ "slopcode-bin-windows-x64-baseline": "0.2.142",
48
+ "slopcode-bin-darwin-arm64": "0.2.142",
49
+ "slopcode-bin-linux-x64-baseline-musl": "0.2.142",
50
+ "slopcode-bin-linux-x64": "0.2.142",
51
+ "slopcode-bin-linux-arm64-musl": "0.2.142",
52
+ "slopcode-bin-linux-arm64": "0.2.142",
53
53
  "@oven/bun-linux-aarch64-android": "1.3.14",
54
54
  "@oven/bun-linux-x64-android": "1.3.14"
55
55
  }
package/postinstall.mjs CHANGED
@@ -251,9 +251,7 @@ async function installAndroidBun(arch) {
251
251
  if (result.status !== 0) {
252
252
  throw new Error((result.stderr || result.stdout || "tar failed").trim())
253
253
  }
254
- const source = fs.existsSync(path.join(extract, "package", "bin", "bun"))
255
- ? path.join(extract, "package")
256
- : extract
254
+ const source = fs.existsSync(path.join(extract, "package", "bin", "bun")) ? path.join(extract, "package") : extract
257
255
  const binary = path.join(source, "bin", "bun")
258
256
  if (!fs.existsSync(binary)) throw new Error("Downloaded Android Bun bootstrap is missing bin/bun")
259
257
  await fs.promises.rm(target, { recursive: true, force: true })