Skip to content

Commit c74522c

Browse files
ochafikclaude
andcommitted
fix: widen @oven/bun-* version range to improve install compatibility
Lower the minimum version of @oven/bun-* optional dependencies from ^1.3.4 to ^1.2.21. This is the lowest common version available across all platform-specific packages, improving compatibility for contributors who may not have access to the latest package versions. The caret range (^) still allows npm to install newer versions when available. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 3e95d64 commit c74522c

File tree

3 files changed

+23
-23
lines changed

3 files changed

+23
-23
lines changed

package-lock.json

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -97,17 +97,17 @@
9797
"prettier": "^3.6.2"
9898
},
9999
"optionalDependencies": {
100-
"@oven/bun-darwin-aarch64": "^1.3.4",
101-
"@oven/bun-darwin-x64": "^1.3.4",
102-
"@oven/bun-darwin-x64-baseline": "^1.3.4",
103-
"@oven/bun-linux-aarch64": "^1.3.4",
104-
"@oven/bun-linux-aarch64-musl": "^1.3.4",
105-
"@oven/bun-linux-x64": "^1.3.4",
106-
"@oven/bun-linux-x64-baseline": "^1.3.4",
107-
"@oven/bun-linux-x64-musl": "^1.3.4",
108-
"@oven/bun-linux-x64-musl-baseline": "^1.3.4",
109-
"@oven/bun-windows-x64": "^1.3.4",
110-
"@oven/bun-windows-x64-baseline": "^1.3.4",
100+
"@oven/bun-darwin-aarch64": "^1.2.21",
101+
"@oven/bun-darwin-x64": "^1.2.21",
102+
"@oven/bun-darwin-x64-baseline": "^1.2.21",
103+
"@oven/bun-linux-aarch64": "^1.2.21",
104+
"@oven/bun-linux-aarch64-musl": "^1.2.21",
105+
"@oven/bun-linux-x64": "^1.2.21",
106+
"@oven/bun-linux-x64-baseline": "^1.2.21",
107+
"@oven/bun-linux-x64-musl": "^1.2.21",
108+
"@oven/bun-linux-x64-musl-baseline": "^1.2.21",
109+
"@oven/bun-windows-x64": "^1.2.21",
110+
"@oven/bun-windows-x64-baseline": "^1.2.21",
111111
"@rollup/rollup-darwin-arm64": "^4.53.3",
112112
"@rollup/rollup-darwin-x64": "^4.53.3",
113113
"@rollup/rollup-linux-arm64-gnu": "^4.53.3",

scripts/setup-bun.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function findBunBinary() {
108108
async function downloadBunForWindowsArm64() {
109109
// Windows ARM64 can run x64 binaries via emulation
110110
const pkg = "bun-windows-x64-baseline";
111-
const version = "1.3.4";
111+
const version = "1.2.21";
112112
const url = `https://registry.npmjs.org/@oven/${pkg}/-/${pkg}-${version}.tgz`;
113113
const destDir = join(nodeModules, "@oven", pkg);
114114

0 commit comments

Comments
 (0)