@bryan-thompson/inspector-assessment-cli 1.22.8 → 1.22.9

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.
@@ -693,10 +693,12 @@ function saveResults(serverName, results, options) {
693
693
  const finalPath = options.outputPath || defaultPath;
694
694
  // For JSON format, add metadata wrapper
695
695
  if (format === "json") {
696
+ // Filter out undefined/skipped modules from results (--skip-modules support)
697
+ const filteredResults = Object.fromEntries(Object.entries(results).filter(([_, v]) => v !== undefined));
696
698
  const output = {
697
699
  timestamp: new Date().toISOString(),
698
700
  assessmentType: "full",
699
- ...results,
701
+ ...filteredResults,
700
702
  ...(policyReport ? { policyCompliance: policyReport } : {}),
701
703
  };
702
704
  fs.writeFileSync(finalPath, JSON.stringify(output, null, 2));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bryan-thompson/inspector-assessment-cli",
3
- "version": "1.22.8",
3
+ "version": "1.22.9",
4
4
  "description": "CLI for the Enhanced MCP Inspector with assessment capabilities",
5
5
  "license": "MIT",
6
6
  "author": "Bryan Thompson <bryan@triepod.ai>",