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/bin/slopcode +19 -0
- package/bundle/index.js +2122 -1725
- package/bundle/parser.worker.js +34 -1
- package/bundle/worker.js +1975 -1616
- package/package.json +12 -12
- package/postinstall.mjs +1 -3
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.
|
|
39
|
+
"version": "0.2.142",
|
|
40
40
|
"license": "MIT",
|
|
41
41
|
"optionalDependencies": {
|
|
42
|
-
"slopcode-bin-darwin-x64-baseline": "0.2.
|
|
43
|
-
"slopcode-bin-linux-x64-baseline": "0.2.
|
|
44
|
-
"slopcode-bin-linux-x64-musl": "0.2.
|
|
45
|
-
"slopcode-bin-windows-x64": "0.2.
|
|
46
|
-
"slopcode-bin-darwin-x64": "0.2.
|
|
47
|
-
"slopcode-bin-windows-x64-baseline": "0.2.
|
|
48
|
-
"slopcode-bin-darwin-arm64": "0.2.
|
|
49
|
-
"slopcode-bin-linux-x64-baseline-musl": "0.2.
|
|
50
|
-
"slopcode-bin-linux-x64": "0.2.
|
|
51
|
-
"slopcode-bin-linux-arm64-musl": "0.2.
|
|
52
|
-
"slopcode-bin-linux-arm64": "0.2.
|
|
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 })
|