@forwardimpact/libutil
Advanced tools
@@ -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 = { |
+3
-1
| { | ||
| "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 @@ }, |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
53141
1.19%1118
0.72%4
100%6
50%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed