Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

freebuff

Package Overview
Dependencies
Maintainers
3
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

freebuff - npm Package Compare versions

Comparing version
0.0.64
to
0.0.74
+21
-0
index.js

@@ -376,2 +376,23 @@ #!/usr/bin/env node

// Move tree-sitter.wasm next to the binary if the tarball included
// it. The CLI binary loads this at startup; embedding it inside the
// binary itself was unreliable on Windows (bun --compile asset
// bundling silently dropped or unbound it across several attempts),
// so we ship it as a sibling file instead. Older artifacts that
// pre-date this change won't have the wasm and will still install —
// they'll just hit the same crash they had before, which is fine.
const tempWasmPath = path.join(CONFIG.tempDownloadDir, 'tree-sitter.wasm')
if (fs.existsSync(tempWasmPath)) {
const targetWasmPath = path.join(
path.dirname(CONFIG.binaryPath),
'tree-sitter.wasm',
)
try {
if (fs.existsSync(targetWasmPath)) fs.unlinkSync(targetWasmPath)
} catch {
// best effort; rename below will surface the real error if it matters
}
fs.renameSync(tempWasmPath, targetWasmPath)
}
fs.writeFileSync(

@@ -378,0 +399,0 @@ CONFIG.metadataPath,

+1
-1
{
"name": "freebuff",
"version": "0.0.64",
"version": "0.0.74",
"description": "The world's strongest free coding agent",

@@ -5,0 +5,0 @@ "license": "MIT",