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.
Files changed (2) hide show
  1. package/install.js +8 -2
  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.8`],
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.8.tgz`)).arrayBuffer(), buffer;
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.8",
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.8",
10
- "@oven/bun-darwin-x64": "1.3.8",
11
- "@oven/bun-darwin-x64-baseline": "1.3.8",
12
- "@oven/bun-linux-aarch64": "1.3.8",
13
- "@oven/bun-linux-x64": "1.3.8",
14
- "@oven/bun-linux-x64-baseline": "1.3.8",
15
- "@oven/bun-linux-aarch64-musl": "1.3.8",
16
- "@oven/bun-linux-x64-musl": "1.3.8",
17
- "@oven/bun-linux-x64-musl-baseline": "1.3.8",
18
- "@oven/bun-windows-x64": "1.3.8",
19
- "@oven/bun-windows-x64-baseline": "1.3.8"
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",