{ "version": "1.1.17", "description": "Incredibly fast JavaScript runtime, bundler, transpiler and package manager - all in one.", "homepage": "https://bun.sh/", "license": "MIT", "suggest": { "vcredist": "extras/vcredist2022" }, "architecture": { "64bit": { "url": [ "https://github.com/oven-sh/bun/releases/download/bun-v1.1.17/bun-windows-x64.zip", "https://github.com/oven-sh/bun/releases/download/bun-v1.1.17/bun-windows-x64-baseline.zip" ], "hash": [ "5b3ce21babca3e2bb994d5de0263264434be37c2113ef291cc20e1e12a63e62b", "572555694f0f53b3d9953a6de12966112d5bb537f39662c967b5bf12ccdfdb48" ] } }, "pre_install": [ "$avx2 = Start-Job -ScriptBlock {", " Add-Type -MemberDefinition '[DllImport(\"kernel32.dll\")] public static extern bool IsProcessorFeaturePresent(int ProcessorFeature);' -Name Kernel32 -Namespace Win32", " return [Win32.Kernel32]::IsProcessorFeaturePresent(40)", "} | Receive-Job -Wait -AutoRemoveJob", "$target = 'bun-windows-x64'", "if (-not $avx2) {", " $target += '-baseline'", "}", "Move-Item \"$dir\\$target\\bun.exe\" \"$dir\\bun.exe\"", "Remove-Item \"$dir\\bun-windows-*\" -Recurse" ], "bin": [ "bun.exe", [ "bun.exe", "bunx", "x" ] ], "checkver": { "github": "https://github.com/oven-sh/bun", "re": "bun-v([\\d.]+)" }, "autoupdate": { "architecture": { "64bit": { "url": [ "https://github.com/oven-sh/bun/releases/download/bun-v$version/bun-windows-x64.zip", "https://github.com/oven-sh/bun/releases/download/bun-v$version/bun-windows-x64-baseline.zip" ] } }, "hash": { "url": "$baseurl/SHASUMS256.txt" } } }