+1
-1
| { | ||
| "name": "moshcode", | ||
| "version": "0.78.0", | ||
| "version": "0.79.0", | ||
| "type": "module", | ||
@@ -5,0 +5,0 @@ "description": "moshcode \u2014 a metal wrapper for coding engines and native UGig/CoinPay workflow CLIs, with OpenPRD and moshscript", |
@@ -69,2 +69,3 @@ // Keeping the bridge running across reboots. | ||
| registryBase = null, | ||
| upstreams = [], | ||
| user = process.env.USER || process.env.LOGNAME, | ||
@@ -76,2 +77,9 @@ } = {}) { | ||
| if (registryBase) args.push("--registry", registryBase); | ||
| // The reason this unit exists at all is that the bridge now starts at boot — | ||
| // and at boot the resolved drop-in is already in place, so the only | ||
| // nameserver discovery can find is this bridge. It refuses loopback, comes up | ||
| // with nowhere to forward, and NXDOMAINs every clearnet name including the | ||
| // registry. Recorded here, while a working resolver is still around to be | ||
| // asked, rather than rediscovered at boot when it cannot be. | ||
| if (upstreams.length) args.push("--upstream", upstreams.join(",")); | ||
| const exec = [execPath, ...args].map((part) => (/\s/.test(part) ? JSON.stringify(part) : part)).join(" "); | ||
@@ -78,0 +86,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 2 instances
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 2 instances
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
2094038
0.22%37535
0.22%