bun 1.3.8 → 1.3.9
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 +8 -2
- package/package.json +12 -12
package/install.js
CHANGED
|
@@ -336,6 +336,12 @@ var os2 = process.platform, arch = os2 === "darwin" && process.arch === "x64" &&
|
|
|
336
336
|
bin: "bun-windows-x64-baseline",
|
|
337
337
|
exe: "bin/bun.exe"
|
|
338
338
|
}
|
|
339
|
+
// {
|
|
340
|
+
// os: "win32",
|
|
341
|
+
// arch: "arm64",
|
|
342
|
+
// bin: "bun-windows-aarch64",
|
|
343
|
+
// exe: "bin/bun.exe",
|
|
344
|
+
// },
|
|
339
345
|
], supportedPlatforms = platforms.filter(
|
|
340
346
|
(platform) => platform.os === os2 && platform.arch === arch && (!platform.avx2 || avx2) && (!platform.abi || abi === platform.abi)
|
|
341
347
|
).sort((a, b) => a.avx2 === b.avx2 ? 0 : a.avx2 ? -1 : 1);
|
|
@@ -439,7 +445,7 @@ function installBun(platform, dst) {
|
|
|
439
445
|
write(join(cwd, "package.json"), "{}");
|
|
440
446
|
let { exitCode } = spawn(
|
|
441
447
|
"npm",
|
|
442
|
-
["install", "--loglevel=error", "--prefer-offline", "--no-audit", "--progress=false", `${module2}@1.3.
|
|
448
|
+
["install", "--loglevel=error", "--prefer-offline", "--no-audit", "--progress=false", `${module2}@1.3.9`],
|
|
443
449
|
{
|
|
444
450
|
cwd,
|
|
445
451
|
stdio: "pipe",
|
|
@@ -460,7 +466,7 @@ function installBun(platform, dst) {
|
|
|
460
466
|
__name(installBun, "installBun");
|
|
461
467
|
function downloadBun(platform, dst) {
|
|
462
468
|
return __async(this, null, function* () {
|
|
463
|
-
let tgz = yield (yield fetch(`https://registry.npmjs.org/@oven/${platform.bin}/-/${platform.bin}-1.3.
|
|
469
|
+
let tgz = yield (yield fetch(`https://registry.npmjs.org/@oven/${platform.bin}/-/${platform.bin}-1.3.9.tgz`)).arrayBuffer(), buffer;
|
|
464
470
|
try {
|
|
465
471
|
buffer = (0, import_zlib.unzipSync)(tgz);
|
|
466
472
|
} catch (cause) {
|
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.9",
|
|
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.9",
|
|
10
|
+
"@oven/bun-darwin-x64": "1.3.9",
|
|
11
|
+
"@oven/bun-darwin-x64-baseline": "1.3.9",
|
|
12
|
+
"@oven/bun-linux-aarch64": "1.3.9",
|
|
13
|
+
"@oven/bun-linux-x64": "1.3.9",
|
|
14
|
+
"@oven/bun-linux-x64-baseline": "1.3.9",
|
|
15
|
+
"@oven/bun-linux-aarch64-musl": "1.3.9",
|
|
16
|
+
"@oven/bun-linux-x64-musl": "1.3.9",
|
|
17
|
+
"@oven/bun-linux-x64-musl-baseline": "1.3.9",
|
|
18
|
+
"@oven/bun-windows-x64": "1.3.9",
|
|
19
|
+
"@oven/bun-windows-x64-baseline": "1.3.9"
|
|
20
20
|
},
|
|
21
21
|
"bin": {
|
|
22
22
|
"bun": "bin/bun.exe",
|