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

# https://jsr.io/@scope/a/1.0.0_meta.json
{
  "exports": {
    ".": "./mod.ts"
  },
  "moduleGraph1": {
    "/mod.ts": {
      "dependencies": [{
          "type": "static",
          "kind": "import",
          "specifier": "jsr:@scope/b@1",
          "specifierRange": [[5, 6], [7, 8]],
          "range": [[5, 0], [7, 8]]
      }]
    }
  }
}

# https://jsr.io/@scope/b/meta.json
{
  "versions": {
    "1.0.0": {},
    "1.1.0": {},
    "1.2.0": {},
    "2.0.0": {}
  }
}

# https://jsr.io/@scope/b/1.1.0_meta.json
{
  "exports": {
    ".": "./mod.ts"
  }
}

# https://jsr.io/@scope/a/1.0.0/mod.ts
import "jsr:@scope/b@1";

# https://jsr.io/@scope/b/1.1.0/mod.ts
console.log(1);

export class Test {
  method(value: string) {
    console.log(1);
  }
}

# mod.ts
import "jsr:@scope/a@^1.0";
import "jsr:@scope/b@1.1";

# output
{
  "roots": [
    "file:///mod.ts"
  ],
  "modules": [
    {
      "kind": "esm",
      "dependencies": [
        {
          "specifier": "jsr:@scope/a@^1.0",
          "code": {
            "specifier": "jsr:@scope/a@^1.0",
            "resolutionMode": "import",
            "span": {
              "start": {
                "line": 0,
                "character": 7
              },
              "end": {
                "line": 0,
                "character": 26
              }
            }
          }
        },
        {
          "specifier": "jsr:@scope/b@1.1",
          "code": {
            "specifier": "jsr:@scope/b@1.1",
            "resolutionMode": "import",
            "span": {
              "start": {
                "line": 1,
                "character": 7
              },
              "end": {
                "line": 1,
                "character": 25
              }
            }
          }
        }
      ],
      "size": 55,
      "mediaType": "TypeScript",
      "specifier": "file:///mod.ts"
    },
    {
      "kind": "esm",
      "dependencies": [
        {
          "specifier": "jsr:@scope/b@1",
          "code": {
            "specifier": "jsr:@scope/b@1",
            "resolutionMode": "import",
            "span": {
              "start": {
                "line": 5,
                "character": 6
              },
              "end": {
                "line": 7,
                "character": 8
              }
            }
          }
        }
      ],
      "size": 25,
      "mediaType": "TypeScript",
      "specifier": "https://jsr.io/@scope/a/1.0.0/mod.ts"
    },
    {
      "kind": "esm",
      "size": 89,
      "mediaType": "TypeScript",
      "specifier": "https://jsr.io/@scope/b/1.1.0/mod.ts"
    }
  ],
  "redirects": {
    "jsr:@scope/a@^1.0": "https://jsr.io/@scope/a/1.0.0/mod.ts",
    "jsr:@scope/b@1": "https://jsr.io/@scope/b/1.1.0/mod.ts",
    "jsr:@scope/b@1.1": "https://jsr.io/@scope/b/1.1.0/mod.ts"
  },
  "packages": {
    "@scope/a@1": "@scope/a@1.0.0",
    "@scope/b@1.1": "@scope/b@1.1.0",
    "@scope/b@1": "@scope/b@1.1.0"
  }
}

jsr deps: {
    "@scope/a@1.0.0": [
        "jsr:@scope/b@1",
    ],
}

Fast check https://jsr.io/@scope/a/1.0.0/mod.ts:
  {}
  <empty>
Fast check https://jsr.io/@scope/b/1.1.0/mod.ts:
  {}
  export class Test {
    method(value: string): void {}
  }
  --- DTS ---
  export declare class Test {
    method(value: string): void;
  }
