bun 1.3.9 → 1.3.10
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/README.md +3 -2
- package/install.js +8 -8
- package/package.json +13 -12
package/README.md
CHANGED
|
@@ -22,8 +22,9 @@ bun upgrade
|
|
|
22
22
|
- [Linux, arm64](https://www.npmjs.com/package/@oven/bun-linux-aarch64)
|
|
23
23
|
- [Linux, x64](https://www.npmjs.com/package/@oven/bun-linux-x64)
|
|
24
24
|
- [Linux, x64 (without AVX2 instructions)](https://www.npmjs.com/package/@oven/bun-linux-x64-baseline)
|
|
25
|
-
- [Windows](https://www.npmjs.com/package/@oven/bun-windows-x64)
|
|
26
|
-
- [Windows (without AVX2 instructions)](https://www.npmjs.com/package/@oven/bun-windows-x64-baseline)
|
|
25
|
+
- [Windows, x64](https://www.npmjs.com/package/@oven/bun-windows-x64)
|
|
26
|
+
- [Windows, x64 (without AVX2 instructions)](https://www.npmjs.com/package/@oven/bun-windows-x64-baseline)
|
|
27
|
+
- [Windows ARM64](https://www.npmjs.com/package/@oven/bun-windows-aarch64)
|
|
27
28
|
|
|
28
29
|
### Future Platforms
|
|
29
30
|
|
package/install.js
CHANGED
|
@@ -335,13 +335,13 @@ var os2 = process.platform, arch = os2 === "darwin" && process.arch === "x64" &&
|
|
|
335
335
|
arch: "x64",
|
|
336
336
|
bin: "bun-windows-x64-baseline",
|
|
337
337
|
exe: "bin/bun.exe"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
os: "win32",
|
|
341
|
+
arch: "arm64",
|
|
342
|
+
bin: "bun-windows-aarch64",
|
|
343
|
+
exe: "bin/bun.exe"
|
|
338
344
|
}
|
|
339
|
-
// {
|
|
340
|
-
// os: "win32",
|
|
341
|
-
// arch: "arm64",
|
|
342
|
-
// bin: "bun-windows-aarch64",
|
|
343
|
-
// exe: "bin/bun.exe",
|
|
344
|
-
// },
|
|
345
345
|
], supportedPlatforms = platforms.filter(
|
|
346
346
|
(platform) => platform.os === os2 && platform.arch === arch && (!platform.avx2 || avx2) && (!platform.abi || abi === platform.abi)
|
|
347
347
|
).sort((a, b) => a.avx2 === b.avx2 ? 0 : a.avx2 ? -1 : 1);
|
|
@@ -445,7 +445,7 @@ function installBun(platform, dst) {
|
|
|
445
445
|
write(join(cwd, "package.json"), "{}");
|
|
446
446
|
let { exitCode } = spawn(
|
|
447
447
|
"npm",
|
|
448
|
-
["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.10`],
|
|
449
449
|
{
|
|
450
450
|
cwd,
|
|
451
451
|
stdio: "pipe",
|
|
@@ -466,7 +466,7 @@ function installBun(platform, dst) {
|
|
|
466
466
|
__name(installBun, "installBun");
|
|
467
467
|
function downloadBun(platform, dst) {
|
|
468
468
|
return __async(this, null, function* () {
|
|
469
|
-
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.10.tgz`)).arrayBuffer(), buffer;
|
|
470
470
|
try {
|
|
471
471
|
buffer = (0, import_zlib.unzipSync)(tgz);
|
|
472
472
|
} catch (cause) {
|
package/package.json
CHANGED
|
@@ -1,22 +1,23 @@
|
|
|
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.10",
|
|
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.10",
|
|
10
|
+
"@oven/bun-darwin-x64": "1.3.10",
|
|
11
|
+
"@oven/bun-darwin-x64-baseline": "1.3.10",
|
|
12
|
+
"@oven/bun-linux-aarch64": "1.3.10",
|
|
13
|
+
"@oven/bun-linux-x64": "1.3.10",
|
|
14
|
+
"@oven/bun-linux-x64-baseline": "1.3.10",
|
|
15
|
+
"@oven/bun-linux-aarch64-musl": "1.3.10",
|
|
16
|
+
"@oven/bun-linux-x64-musl": "1.3.10",
|
|
17
|
+
"@oven/bun-linux-x64-musl-baseline": "1.3.10",
|
|
18
|
+
"@oven/bun-windows-x64": "1.3.10",
|
|
19
|
+
"@oven/bun-windows-x64-baseline": "1.3.10",
|
|
20
|
+
"@oven/bun-windows-aarch64": "1.3.10"
|
|
20
21
|
},
|
|
21
22
|
"bin": {
|
|
22
23
|
"bun": "bin/bun.exe",
|