+1
-1
| { | ||
| "name": "moshcode", | ||
| "version": "0.81.0", | ||
| "version": "0.82.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", |
@@ -70,2 +70,3 @@ // Keeping the bridge running across reboots. | ||
| upstreams = [], | ||
| proxy = null, | ||
| user = process.env.USER || process.env.LOGNAME, | ||
@@ -84,2 +85,9 @@ } = {}) { | ||
| if (upstreams.length) args.push("--upstream", upstreams.join(",")); | ||
| // Without this the supervised bridge answers every name with its origin, and | ||
| // the origin serves a certificate no CA signed — so `https://` fails on a | ||
| // machine where the pinned-TLS proxy is installed, trusted and running. | ||
| // `dns enable` has always probed for the proxy and passed it through; | ||
| // `dns service` did not, which made a service-managed bridge the one way to | ||
| // run Moshpit where HTTPS could never work. | ||
| if (proxy) args.push("--proxy", proxy); | ||
| const exec = [execPath, ...args].map((part) => (/\s/.test(part) ? JSON.stringify(part) : part)).join(" "); | ||
@@ -86,0 +94,0 @@ |
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 3 instances
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 3 instances
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
2118342
0.09%39043
0.08%