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

@forwardimpact/libutil

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forwardimpact/libutil - npm Package Compare versions

Comparing version
0.1.79
to
0.1.81
+7
-3
bin/fit-download-bundle.js

@@ -11,5 +11,9 @@ #!/usr/bin/env node

const { version: VERSION } = JSON.parse(
readFileSync(new URL("../package.json", import.meta.url), "utf8"),
);
// `bun build --compile` injects FIT_DOWNLOAD_BUNDLE_VERSION via --define,
// eliminating the readFileSync branch in the compiled binary (which would
// ENOENT against the bunfs virtual mount). Source execution falls through.
const VERSION =
process.env.FIT_DOWNLOAD_BUNDLE_VERSION ||
JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf8"))
.version;

@@ -16,0 +20,0 @@ const definition = {

@@ -7,5 +7,9 @@ #!/usr/bin/env node

const { version: VERSION } = JSON.parse(
readFileSync(new URL("../package.json", import.meta.url), "utf8"),
);
// `bun build --compile` injects FIT_TIKTOKEN_VERSION via --define, eliminating
// the readFileSync branch in the compiled binary (which would ENOENT against
// the bunfs virtual mount). Source execution falls through to package.json.
const VERSION =
process.env.FIT_TIKTOKEN_VERSION ||
JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf8"))
.version;

@@ -12,0 +16,0 @@ const definition = {

{
"name": "@forwardimpact/libutil",
"version": "0.1.79",
"version": "0.1.81",
"description": "Cross-cutting utilities: retry, hashing, token counting, and project discovery.",

@@ -41,2 +41,4 @@ "keywords": [

"@forwardimpact/libcli": "^0.1.0",
"@forwardimpact/libconfig": "^0.1.79",
"@forwardimpact/libstorage": "^0.1.78",
"@forwardimpact/libtelemetry": "^0.1.22"

@@ -43,0 +45,0 @@ },