bun 1.3.6-canary.20260118.1 → 1.3.6-canary.20260120.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/bin/bun.exe +11 -0
- package/bin/bunx.exe +11 -0
- package/install.js +2 -2
- package/package.json +12 -12
package/bin/bun.exe
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
echo "Error: Bun's postinstall script was not run." >&2
|
|
3
|
+
echo "" >&2
|
|
4
|
+
echo "This occurs when using --ignore-scripts during installation, or when using a" >&2
|
|
5
|
+
echo "package manager like pnpm that does not run postinstall scripts by default." >&2
|
|
6
|
+
echo "" >&2
|
|
7
|
+
echo "To fix this, run the postinstall script manually:" >&2
|
|
8
|
+
echo " cd node_modules/bun && node install.js" >&2
|
|
9
|
+
echo "" >&2
|
|
10
|
+
echo "Or reinstall bun without the --ignore-scripts flag." >&2
|
|
11
|
+
exit 1
|
package/bin/bunx.exe
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
echo "Error: Bun's postinstall script was not run." >&2
|
|
3
|
+
echo "" >&2
|
|
4
|
+
echo "This occurs when using --ignore-scripts during installation, or when using a" >&2
|
|
5
|
+
echo "package manager like pnpm that does not run postinstall scripts by default." >&2
|
|
6
|
+
echo "" >&2
|
|
7
|
+
echo "To fix this, run the postinstall script manually:" >&2
|
|
8
|
+
echo " cd node_modules/bun && node install.js" >&2
|
|
9
|
+
echo "" >&2
|
|
10
|
+
echo "Or reinstall bun without the --ignore-scripts flag." >&2
|
|
11
|
+
exit 1
|
package/install.js
CHANGED
|
@@ -439,7 +439,7 @@ function installBun(platform, dst) {
|
|
|
439
439
|
write(join(cwd, "package.json"), "{}");
|
|
440
440
|
let { exitCode } = spawn(
|
|
441
441
|
"npm",
|
|
442
|
-
["install", "--loglevel=error", "--prefer-offline", "--no-audit", "--progress=false", `${module2}@1.3.6-canary.
|
|
442
|
+
["install", "--loglevel=error", "--prefer-offline", "--no-audit", "--progress=false", `${module2}@1.3.6-canary.20260120.1+170f8f7`],
|
|
443
443
|
{
|
|
444
444
|
cwd,
|
|
445
445
|
stdio: "pipe",
|
|
@@ -460,7 +460,7 @@ function installBun(platform, dst) {
|
|
|
460
460
|
__name(installBun, "installBun");
|
|
461
461
|
function downloadBun(platform, dst) {
|
|
462
462
|
return __async(this, null, function* () {
|
|
463
|
-
let tgz = yield (yield fetch(`https://registry.npmjs.org/@oven/${platform.bin}/-/${platform.bin}-1.3.6-canary.
|
|
463
|
+
let tgz = yield (yield fetch(`https://registry.npmjs.org/@oven/${platform.bin}/-/${platform.bin}-1.3.6-canary.20260120.1+170f8f7.tgz`)).arrayBuffer(), buffer;
|
|
464
464
|
try {
|
|
465
465
|
buffer = (0, import_zlib.unzipSync)(tgz);
|
|
466
466
|
} 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.6-canary.
|
|
4
|
+
"version": "1.3.6-canary.20260120.1+170f8f7",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"postinstall": "node install.js"
|
|
7
7
|
},
|
|
8
8
|
"optionalDependencies": {
|
|
9
|
-
"@oven/bun-darwin-aarch64": "1.3.6-canary.
|
|
10
|
-
"@oven/bun-darwin-x64": "1.3.6-canary.
|
|
11
|
-
"@oven/bun-darwin-x64-baseline": "1.3.6-canary.
|
|
12
|
-
"@oven/bun-linux-aarch64": "1.3.6-canary.
|
|
13
|
-
"@oven/bun-linux-x64": "1.3.6-canary.
|
|
14
|
-
"@oven/bun-linux-x64-baseline": "1.3.6-canary.
|
|
15
|
-
"@oven/bun-linux-aarch64-musl": "1.3.6-canary.
|
|
16
|
-
"@oven/bun-linux-x64-musl": "1.3.6-canary.
|
|
17
|
-
"@oven/bun-linux-x64-musl-baseline": "1.3.6-canary.
|
|
18
|
-
"@oven/bun-windows-x64": "1.3.6-canary.
|
|
19
|
-
"@oven/bun-windows-x64-baseline": "1.3.6-canary.
|
|
9
|
+
"@oven/bun-darwin-aarch64": "1.3.6-canary.20260120.1+170f8f7",
|
|
10
|
+
"@oven/bun-darwin-x64": "1.3.6-canary.20260120.1+170f8f7",
|
|
11
|
+
"@oven/bun-darwin-x64-baseline": "1.3.6-canary.20260120.1+170f8f7",
|
|
12
|
+
"@oven/bun-linux-aarch64": "1.3.6-canary.20260120.1+170f8f7",
|
|
13
|
+
"@oven/bun-linux-x64": "1.3.6-canary.20260120.1+170f8f7",
|
|
14
|
+
"@oven/bun-linux-x64-baseline": "1.3.6-canary.20260120.1+170f8f7",
|
|
15
|
+
"@oven/bun-linux-aarch64-musl": "1.3.6-canary.20260120.1+170f8f7",
|
|
16
|
+
"@oven/bun-linux-x64-musl": "1.3.6-canary.20260120.1+170f8f7",
|
|
17
|
+
"@oven/bun-linux-x64-musl-baseline": "1.3.6-canary.20260120.1+170f8f7",
|
|
18
|
+
"@oven/bun-windows-x64": "1.3.6-canary.20260120.1+170f8f7",
|
|
19
|
+
"@oven/bun-windows-x64-baseline": "1.3.6-canary.20260120.1+170f8f7"
|
|
20
20
|
},
|
|
21
21
|
"bin": {
|
|
22
22
|
"bun": "bin/bun.exe",
|