bun 1.1.4 → 1.1.5
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/install.js +3 -3
- package/package.json +9 -9
package/install.js
CHANGED
|
@@ -315,7 +315,7 @@ function isWindowsAVX2() {
|
|
|
315
315
|
return spawn("powershell", [
|
|
316
316
|
"-c",
|
|
317
317
|
`(Add-Type -MemberDefinition '[DllImport("kernel32.dll")] public static extern bool IsProcessorFeaturePresent(int ProcessorFeature);' -Name 'Kernel32' -Namespace 'Win32' -PassThru)::IsProcessorFeaturePresent(40);`
|
|
318
|
-
]).stdout
|
|
318
|
+
]).stdout.trim() === "True";
|
|
319
319
|
} catch (error2) {
|
|
320
320
|
return debug("isWindowsAVX2 failed", error2), !1;
|
|
321
321
|
}
|
|
@@ -376,7 +376,7 @@ function installBun(platform, dst) {
|
|
|
376
376
|
write(join(cwd, "package.json"), "{}");
|
|
377
377
|
let { exitCode } = spawn(
|
|
378
378
|
"npm",
|
|
379
|
-
["install", "--loglevel=error", "--prefer-offline", "--no-audit", "--progress=false", `${module2}@1.1.
|
|
379
|
+
["install", "--loglevel=error", "--prefer-offline", "--no-audit", "--progress=false", `${module2}@1.1.5`],
|
|
380
380
|
{
|
|
381
381
|
cwd,
|
|
382
382
|
stdio: "pipe",
|
|
@@ -397,7 +397,7 @@ function installBun(platform, dst) {
|
|
|
397
397
|
__name(installBun, "installBun");
|
|
398
398
|
function downloadBun(platform, dst) {
|
|
399
399
|
return __async(this, null, function* () {
|
|
400
|
-
let tgz = yield (yield fetch(`https://registry.npmjs.org/@oven/${platform.bin}/-/${platform.bin}-1.1.
|
|
400
|
+
let tgz = yield (yield fetch(`https://registry.npmjs.org/@oven/${platform.bin}/-/${platform.bin}-1.1.5.tgz`)).arrayBuffer(), buffer;
|
|
401
401
|
try {
|
|
402
402
|
buffer = (0, import_zlib.unzipSync)(tgz);
|
|
403
403
|
} catch (cause) {
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bun",
|
|
3
3
|
"description": "Bun is a fast all-in-one JavaScript runtime.",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.5",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"postinstall": "node install.js"
|
|
7
7
|
},
|
|
8
8
|
"optionalDependencies": {
|
|
9
|
-
"@oven/bun-darwin-aarch64": "1.1.
|
|
10
|
-
"@oven/bun-darwin-x64": "1.1.
|
|
11
|
-
"@oven/bun-darwin-x64-baseline": "1.1.
|
|
12
|
-
"@oven/bun-linux-aarch64": "1.1.
|
|
13
|
-
"@oven/bun-linux-x64": "1.1.
|
|
14
|
-
"@oven/bun-linux-x64-baseline": "1.1.
|
|
15
|
-
"@oven/bun-windows-x64": "1.1.
|
|
16
|
-
"@oven/bun-windows-x64-baseline": "1.1.
|
|
9
|
+
"@oven/bun-darwin-aarch64": "1.1.5",
|
|
10
|
+
"@oven/bun-darwin-x64": "1.1.5",
|
|
11
|
+
"@oven/bun-darwin-x64-baseline": "1.1.5",
|
|
12
|
+
"@oven/bun-linux-aarch64": "1.1.5",
|
|
13
|
+
"@oven/bun-linux-x64": "1.1.5",
|
|
14
|
+
"@oven/bun-linux-x64-baseline": "1.1.5",
|
|
15
|
+
"@oven/bun-windows-x64": "1.1.5",
|
|
16
|
+
"@oven/bun-windows-x64-baseline": "1.1.5"
|
|
17
17
|
},
|
|
18
18
|
"bin": {
|
|
19
19
|
"bun": "bin/bun.exe",
|