certops 1.1.7 → 1.1.8

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.
@@ -27,13 +27,15 @@ export const listCommand = new Command('list')
27
27
  for (const c of active) {
28
28
  const expiry = c.expiryDate ? `expires ${new Date(c.expiryDate).toLocaleDateString()}` : 'no expiry info';
29
29
  const covered = c.coveredByWildcardId ? ' [covered by wildcard]' : '';
30
- process.stdout.write(` ${pad(c.certName, maxLen)} ${typeTag(c)} ${expiry}${covered}\n`);
30
+ const ids = c.identifiers.length > 0 ? `\n ${c.identifiers.join(', ')}` : '';
31
+ process.stdout.write(` ${pad(c.certName, maxLen)} ${typeTag(c)} ${expiry}${covered}${ids}\n`);
31
32
  }
32
33
  }
33
34
  if (inactive.length > 0) {
34
35
  process.stdout.write(`\nOTHER (${inactive.length})\n`);
35
36
  for (const c of inactive) {
36
- process.stdout.write(` ${pad(c.certName, maxLen)} ${typeTag(c)} ${c.status}\n`);
37
+ const ids = c.identifiers.length > 0 ? `\n ${c.identifiers.join(', ')}` : '';
38
+ process.stdout.write(` ${pad(c.certName, maxLen)} ${typeTag(c)} ${c.status}${ids}\n`);
37
39
  }
38
40
  }
39
41
  process.stdout.write('\n');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "certops",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "description": "CertOps CLI — download and manage your SSL certificates",
5
5
  "type": "module",
6
6
  "files": [
@@ -18,10 +18,10 @@
18
18
  "preuninstall": "node scripts/preuninstall.cjs"
19
19
  },
20
20
  "optionalDependencies": {
21
- "certops-linux-x64": "1.1.7",
22
- "certops-linux-arm64": "1.1.7",
23
- "certops-darwin-x64": "1.1.7",
24
- "certops-darwin-arm64": "1.1.7"
21
+ "certops-linux-x64": "1.1.8",
22
+ "certops-linux-arm64": "1.1.8",
23
+ "certops-darwin-x64": "1.1.8",
24
+ "certops-darwin-arm64": "1.1.8"
25
25
  },
26
26
  "publishConfig": {
27
27
  "access": "public"