bun 1.3.3 → 1.3.4-canary.20251208.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/install.js +3 -3
- package/package.json +12 -12
package/install.js
CHANGED
|
@@ -439,7 +439,7 @@ function installBun(platform, dst) {
|
|
|
439
439
|
write(join(cwd, "package.json"), "{}");
|
|
440
440
|
let { exitCode } = spawn(
|
|
441
441
|
"npm",
|
|
442
|
-
["install", "--loglevel=error", "--prefer-offline", "--no-audit", "--progress=false", `${module2}@1.3.
|
|
442
|
+
["install", "--loglevel=error", "--prefer-offline", "--no-audit", "--progress=false", `${module2}@1.3.4-canary.20251208.1+3af0d23`],
|
|
443
443
|
{
|
|
444
444
|
cwd,
|
|
445
445
|
stdio: "pipe",
|
|
@@ -460,7 +460,7 @@ function installBun(platform, dst) {
|
|
|
460
460
|
__name(installBun, "installBun");
|
|
461
461
|
function downloadBun(platform, dst) {
|
|
462
462
|
return __async(this, null, function* () {
|
|
463
|
-
let tgz = yield (yield fetch(`https://registry.npmjs.org/@oven/${platform.bin}/-/${platform.bin}-1.3.
|
|
463
|
+
let tgz = yield (yield fetch(`https://registry.npmjs.org/@oven/${platform.bin}/-/${platform.bin}-1.3.4-canary.20251208.1+3af0d23.tgz`)).arrayBuffer(), buffer;
|
|
464
464
|
try {
|
|
465
465
|
buffer = (0, import_zlib.unzipSync)(tgz);
|
|
466
466
|
} catch (cause) {
|
|
@@ -487,7 +487,7 @@ function downloadBun(platform, dst) {
|
|
|
487
487
|
}
|
|
488
488
|
__name(downloadBun, "downloadBun");
|
|
489
489
|
function optimizeBun(path2) {
|
|
490
|
-
let installScript = os2 === "win32" ? 'powershell -c "irm bun.
|
|
490
|
+
let installScript = os2 === "win32" ? 'powershell -c "irm bun.sh/install.ps1 | iex"' : "curl -fsSL https://bun.com/install | bash";
|
|
491
491
|
try {
|
|
492
492
|
rename(path2, join(__dirname, "bin", "bun.exe")), link(join(__dirname, "bin", "bun.exe"), join(__dirname, "bin", "bunx.exe"));
|
|
493
493
|
return;
|
package/package.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bun",
|
|
3
3
|
"description": "Bun is a fast all-in-one JavaScript runtime.",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.4-canary.20251208.1+3af0d23",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"postinstall": "node install.js"
|
|
7
7
|
},
|
|
8
8
|
"optionalDependencies": {
|
|
9
|
-
"@oven/bun-darwin-aarch64": "1.3.
|
|
10
|
-
"@oven/bun-darwin-x64": "1.3.
|
|
11
|
-
"@oven/bun-darwin-x64-baseline": "1.3.
|
|
12
|
-
"@oven/bun-linux-aarch64": "1.3.
|
|
13
|
-
"@oven/bun-linux-x64": "1.3.
|
|
14
|
-
"@oven/bun-linux-x64-baseline": "1.3.
|
|
15
|
-
"@oven/bun-linux-aarch64-musl": "1.3.
|
|
16
|
-
"@oven/bun-linux-x64-musl": "1.3.
|
|
17
|
-
"@oven/bun-linux-x64-musl-baseline": "1.3.
|
|
18
|
-
"@oven/bun-windows-x64": "1.3.
|
|
19
|
-
"@oven/bun-windows-x64-baseline": "1.3.
|
|
9
|
+
"@oven/bun-darwin-aarch64": "1.3.4-canary.20251208.1+3af0d23",
|
|
10
|
+
"@oven/bun-darwin-x64": "1.3.4-canary.20251208.1+3af0d23",
|
|
11
|
+
"@oven/bun-darwin-x64-baseline": "1.3.4-canary.20251208.1+3af0d23",
|
|
12
|
+
"@oven/bun-linux-aarch64": "1.3.4-canary.20251208.1+3af0d23",
|
|
13
|
+
"@oven/bun-linux-x64": "1.3.4-canary.20251208.1+3af0d23",
|
|
14
|
+
"@oven/bun-linux-x64-baseline": "1.3.4-canary.20251208.1+3af0d23",
|
|
15
|
+
"@oven/bun-linux-aarch64-musl": "1.3.4-canary.20251208.1+3af0d23",
|
|
16
|
+
"@oven/bun-linux-x64-musl": "1.3.4-canary.20251208.1+3af0d23",
|
|
17
|
+
"@oven/bun-linux-x64-musl-baseline": "1.3.4-canary.20251208.1+3af0d23",
|
|
18
|
+
"@oven/bun-windows-x64": "1.3.4-canary.20251208.1+3af0d23",
|
|
19
|
+
"@oven/bun-windows-x64-baseline": "1.3.4-canary.20251208.1+3af0d23"
|
|
20
20
|
},
|
|
21
21
|
"bin": {
|
|
22
22
|
"bun": "bin/bun.exe",
|