bun 1.4.0 → 1.4.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/README.md +3 -4
- package/install.js +2 -2
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -18,13 +18,12 @@ bun upgrade
|
|
|
18
18
|
|
|
19
19
|
- [macOS, arm64 (Apple Silicon)](https://www.npmjs.com/package/@oven/bun-darwin-aarch64)
|
|
20
20
|
- [macOS, x64](https://www.npmjs.com/package/@oven/bun-darwin-x64)
|
|
21
|
-
- [macOS, x64 (without AVX2 instructions)](https://www.npmjs.com/package/@oven/bun-darwin-x64-baseline)
|
|
22
21
|
- [Linux, arm64](https://www.npmjs.com/package/@oven/bun-linux-aarch64)
|
|
23
22
|
- [Linux, x64](https://www.npmjs.com/package/@oven/bun-linux-x64)
|
|
24
|
-
- [Linux, x64 (without AVX2 instructions)](https://www.npmjs.com/package/@oven/bun-linux-x64-baseline)
|
|
25
23
|
- [Windows, x64](https://www.npmjs.com/package/@oven/bun-windows-x64)
|
|
26
|
-
- [Windows,
|
|
27
|
-
|
|
24
|
+
- [Windows, arm64](https://www.npmjs.com/package/@oven/bun-windows-aarch64)
|
|
25
|
+
|
|
26
|
+
The x64 binary targets Nehalem (SSE4.2) and dispatches AVX2/AVX-512 at runtime. The `@oven/bun-*-x64-baseline` packages are published as aliases of the same binary for backward compatibility.
|
|
28
27
|
|
|
29
28
|
### Future Platforms
|
|
30
29
|
|
package/install.js
CHANGED
|
@@ -467,7 +467,7 @@ function installBun(platform, dst) {
|
|
|
467
467
|
write(join(cwd, "package.json"), "{}");
|
|
468
468
|
let { exitCode } = spawn(
|
|
469
469
|
"npm",
|
|
470
|
-
["install", "--loglevel=error", "--prefer-offline", "--no-audit", "--progress=false", `${module2}@1.4.
|
|
470
|
+
["install", "--loglevel=error", "--prefer-offline", "--no-audit", "--progress=false", `${module2}@1.4.1`],
|
|
471
471
|
{
|
|
472
472
|
cwd,
|
|
473
473
|
stdio: "pipe",
|
|
@@ -488,7 +488,7 @@ function installBun(platform, dst) {
|
|
|
488
488
|
__name(installBun, "installBun");
|
|
489
489
|
function downloadBun(platform, dst) {
|
|
490
490
|
return __async(this, null, function* () {
|
|
491
|
-
let tgz = yield (yield fetch(`https://registry.npmjs.org/@oven/${platform.bin}/-/${platform.bin}-1.4.
|
|
491
|
+
let tgz = yield (yield fetch(`https://registry.npmjs.org/@oven/${platform.bin}/-/${platform.bin}-1.4.1.tgz`)).arrayBuffer(), buffer;
|
|
492
492
|
try {
|
|
493
493
|
buffer = (0, import_zlib.unzipSync)(tgz);
|
|
494
494
|
} catch (cause) {
|
package/package.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bun",
|
|
3
3
|
"description": "Bun is a fast all-in-one JavaScript runtime.",
|
|
4
|
-
"version": "1.4.
|
|
4
|
+
"version": "1.4.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"postinstall": "node install.js"
|
|
7
7
|
},
|
|
8
8
|
"optionalDependencies": {
|
|
9
|
-
"@oven/bun-darwin-aarch64": "1.4.
|
|
10
|
-
"@oven/bun-darwin-x64": "1.4.
|
|
11
|
-
"@oven/bun-linux-aarch64": "1.4.
|
|
12
|
-
"@oven/bun-linux-x64": "1.4.
|
|
13
|
-
"@oven/bun-linux-aarch64-musl": "1.4.
|
|
14
|
-
"@oven/bun-linux-x64-musl": "1.4.
|
|
15
|
-
"@oven/bun-linux-aarch64-android": "1.4.
|
|
16
|
-
"@oven/bun-linux-x64-android": "1.4.
|
|
17
|
-
"@oven/bun-freebsd-aarch64": "1.4.
|
|
18
|
-
"@oven/bun-freebsd-x64": "1.4.
|
|
19
|
-
"@oven/bun-windows-x64": "1.4.
|
|
20
|
-
"@oven/bun-windows-aarch64": "1.4.
|
|
9
|
+
"@oven/bun-darwin-aarch64": "1.4.1",
|
|
10
|
+
"@oven/bun-darwin-x64": "1.4.1",
|
|
11
|
+
"@oven/bun-linux-aarch64": "1.4.1",
|
|
12
|
+
"@oven/bun-linux-x64": "1.4.1",
|
|
13
|
+
"@oven/bun-linux-aarch64-musl": "1.4.1",
|
|
14
|
+
"@oven/bun-linux-x64-musl": "1.4.1",
|
|
15
|
+
"@oven/bun-linux-aarch64-android": "1.4.1",
|
|
16
|
+
"@oven/bun-linux-x64-android": "1.4.1",
|
|
17
|
+
"@oven/bun-freebsd-aarch64": "1.4.1",
|
|
18
|
+
"@oven/bun-freebsd-x64": "1.4.1",
|
|
19
|
+
"@oven/bun-windows-x64": "1.4.1",
|
|
20
|
+
"@oven/bun-windows-aarch64": "1.4.1"
|
|
21
21
|
},
|
|
22
22
|
"bin": {
|
|
23
23
|
"bun": "bin/bun.exe",
|