@sudoji/cli 0.1.8 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -252,8 +252,8 @@ function doctorCommand() {
252
252
  detail: `${baseUrl}/healthz \u2014 ${err instanceof Error ? err.message : err}`
253
253
  });
254
254
  }
255
- const testInput = "password=super$ecret TOKEN=abc123 STRIPE_KEY=sk_live_xxx";
256
- const testRedacted = redact(testInput);
255
+ const testInput = "password=super$ecret123 token=abcdefgh12 STRIPE_KEY=sk_live_xxx";
256
+ const { text: testRedacted } = redact(testInput);
257
257
  const redactionWorking = !testRedacted.includes("super$ecret") && !testRedacted.includes("abc123");
258
258
  checks.push({
259
259
  label: "Redaction active",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sudoji/cli",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "description": "Sudoji installable IT agent CLI — diagnose, approve, fix on your Linux server.",
5
5
  "type": "module",
6
6
  "bin": {