=== exit code
0
=== end of exit code

=== stdout - plain
{
  "errors": [],
  "paths": {
    "scanned": [
      "targets/dependency_aware/pnpm/foo.js",
      "targets/dependency_aware/pnpm/pnpm-lock.yaml"
    ]
  },
  "results": [
    {
      "check_id": "rules.dependency_aware.js-pnpm-sca",
      "end": {
        "col": 6,
        "line": 1,
        "offset": 5
      },
      "extra": {
        "engine_kind": "OSS",
        "fingerprint": "0x42",
        "lines": "requires login",
        "message": "oh no",
        "metadata": {},
        "sca_info": {
          "dependency_match": {
            "dependency_pattern": {
              "ecosystem": "npm",
              "package": "axios",
              "semver_range": "< 1.2.6"
            },
            "found_dependency": {
              "allowed_hashes": {},
              "children": [
                {
                  "package": "follow-redirects",
                  "version": "1.15.2"
                },
                {
                  "package": "form-data",
                  "version": "4.0.0"
                },
                {
                  "package": "proxy-from-env",
                  "version": "1.1.0"
                }
              ],
              "ecosystem": "npm",
              "line_number": 44,
              "lockfile_path": "targets/dependency_aware/pnpm/pnpm-lock.yaml",
              "package": "axios",
              "transitivity": "direct",
              "version": "1.2.5"
            },
            "lockfile": "targets/dependency_aware/pnpm/pnpm-lock.yaml"
          },
          "reachability_rule": true,
          "reachable": true,
          "sca_finding_schema": 20220913
        },
        "severity": "WARNING",
        "validation_state": "NO_VALIDATOR"
      },
      "path": "targets/dependency_aware/pnpm/foo.js",
      "start": {
        "col": 1,
        "line": 1,
        "offset": 0
      }
    }
  ],
  "skipped_rules": [],
  "time": "<masked in tests>",
  "version": "0.42"
}
=== end of stdout - plain

=== stderr - plain


┌─────────────┐
│ Scan Status │
└─────────────┘
  Scanning 2 files tracked by git with 0 Code rules, 2 Supply Chain rules:


  CODE RULES
  Nothing to scan.

  SUPPLY CHAIN RULES

  Dependency Sources                             Resolution Method   Ecosystem   Dependencies   Rules
 ─────────────────────────────────────────────────────────────────────────────────────────────────────
  targets/dependency_aware/pnpm/pnpm-lock.yaml   Lockfile            Npm         9                  2


  Analysis   Rules
 ──────────────────
  Unknown        2



┌──────────────┐
│ Scan Summary │
└──────────────┘
✅ Scan completed successfully.
 • Findings: 1 (1 blocking)
 • Rules run: 2
 • Targets scanned: 2
 • Parsed lines: ~100.0%
 • No ignore information available
Ran 2 rules on 2 files: 1 finding.

=== end of stderr - plain

=== stdout - color
<same as above: stdout - plain>
=== end of stdout - color

=== stderr - color
<same as above: stderr - plain>
=== end of stderr - color