@hasna/testers 0.0.20 → 0.0.21

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.
package/dist/cli/index.js CHANGED
@@ -27115,7 +27115,7 @@ import chalk6 from "chalk";
27115
27115
  // package.json
27116
27116
  var package_default = {
27117
27117
  name: "@hasna/testers",
27118
- version: "0.0.20",
27118
+ version: "0.0.21",
27119
27119
  description: "AI-powered QA testing CLI \u2014 spawns cheap AI agents to test web apps with headless browsers",
27120
27120
  type: "module",
27121
27121
  main: "dist/index.js",
@@ -31044,7 +31044,7 @@ SCAN_COMMON_OPTIONS(scanCmd.command("injection <url>").description("Probe AI end
31044
31044
  process.exit(1);
31045
31045
  }
31046
31046
  });
31047
- SCAN_COMMON_OPTIONS(scanCmd.command("pii <url>").description("Scan AI API endpoint responses for PII and data leaks").option("--endpoint <path>", "API endpoint path (default: /api/chat)", "/api/chat").option("--seed <values>", "Comma-separated known PII values to watch for (e.g. 'user@example.com,555-1234')").option("--input-field <path>", "JSON path to inject prompt (e.g. messages[0].content)").option("--timeout <ms>", "Request timeout in ms", "15000")).action(async (url, opts) => {
31047
+ SCAN_COMMON_OPTIONS(scanCmd.command("pii <url>").description("Scan AI API endpoint responses for PII and data leaks").option("--endpoint <path>", "API endpoint path (default: /api/chat)", "/api/chat").option("--seed <values>", "Comma-separated known PII values to watch for (e.g. 'user@example.com,555-1234')").option("--input-field <path>", "JSON path to inject prompt (e.g. messages[0].content)")).action(async (url, opts) => {
31048
31048
  try {
31049
31049
  const { scanPiiEndpoint: scanPiiEndpoint2 } = await Promise.resolve().then(() => (init_pii_scanner(), exports_pii_scanner));
31050
31050
  const { upsertScanIssue: upsertScanIssue2 } = await Promise.resolve().then(() => (init_scan_issues(), exports_scan_issues));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/testers",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "description": "AI-powered QA testing CLI — spawns cheap AI agents to test web apps with headless browsers",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",