@forwardimpact/libdoc
Advanced tools
+7
-3
@@ -17,5 +17,9 @@ #!/usr/bin/env node | ||
| const { version: VERSION } = JSON.parse( | ||
| readFileSync(new URL("../package.json", import.meta.url), "utf8"), | ||
| ); | ||
| // `bun build --compile` injects FIT_DOC_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_DOC_VERSION || | ||
| JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf8")) | ||
| .version; | ||
@@ -22,0 +26,0 @@ const definition = { |
+4
-4
| { | ||
| "name": "@forwardimpact/libdoc", | ||
| "version": "0.2.25", | ||
| "version": "0.2.27", | ||
| "description": "Static documentation sites from markdown — publish docs without a framework.", | ||
@@ -44,8 +44,8 @@ "keywords": [ | ||
| "@hono/node-server": "^2.0.1", | ||
| "hono": "^4.12.16", | ||
| "marked": "^18.0.2", | ||
| "hono": "^4.12.18", | ||
| "marked": "^18.0.3", | ||
| "marked-gfm-heading-id": "^4.1.4", | ||
| "marked-highlight": "^2.2.4", | ||
| "mustache": "^4.2.0", | ||
| "yaml": "^2.8.3" | ||
| "yaml": "^2.8.4" | ||
| }, | ||
@@ -52,0 +52,0 @@ "devDependencies": { |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
46381
0.56%963
0.42%3
50%Updated
Updated
Updated