# https://jsr.io/@scope/a/meta.json
{
  "versions": {
    "1.0.0": {}
  }
}

# https://jsr.io/@scope/a/1.0.0_meta.json
{
  "manifest": {},
  "exports": {
    ".": "./mod.ts",
    "./sub": "./sub_dir/sub.ts",
    "./other": "./other.js"
  }
}

# mod.ts
import 'jsr:@scope/a/non_existent' // invalid export

# output
{
  "roots": [
    "file:///mod.ts"
  ],
  "modules": [
    {
      "kind": "esm",
      "dependencies": [
        {
          "specifier": "jsr:@scope/a/non_existent",
          "code": {
            "specifier": "jsr:@scope/a/non_existent",
            "resolutionMode": "import",
            "span": {
              "start": {
                "line": 0,
                "character": 7
              },
              "end": {
                "line": 0,
                "character": 34
              }
            }
          }
        }
      ],
      "size": 53,
      "mediaType": "TypeScript",
      "specifier": "file:///mod.ts"
    },
    {
      "specifier": "jsr:@scope/a/non_existent",
      "error": "Unknown export './non_existent' for '@scope/a@1.0.0'.\n  Package exports:\n * .\n * ./sub\n * ./other"
    }
  ],
  "redirects": {},
  "packages": {
    "@scope/a@*": "@scope/a@1.0.0"
  }
}
