Repository: deno
Issue: JSR import maps
Labels: suggestion,jsr

Version: Deno 1.42.4

I have the following script:

```ts
import * as types from "jsr:@std/media-types@0.223.0";
import * as mod from "jsr:@oak/commons@0.10.1/media_types";
```

`deno info` outputs the following dependencies tree:

```
➜  oak deno info main.ts
local: /Users/oscarotero/oak/main.ts
type: TypeScript
dependencies: 16 unique
size: 393.66KB

file:///Users/oscarotero/oak/main.ts (114B)
├─┬ https://jsr.io/@std/media-types/0.223.0/mod.ts (1.14KB)
│ ├─┬ https://jsr.io/@std/media-types/0.223.0/content_type.ts (3.04KB)
│ │ ├─┬ https://jsr.io/@std/media-types/0.223.0/parse_media_type.ts (3.23KB)
│ │ │ └── https://jsr.io/@std/media-types/0.223.0/_util.ts (3.29KB)
│ │ ├─┬ https://jsr.io/@std/media-types/0.223.0/get_charset.ts (1.18KB)
│ │ │ ├── https://jsr.io/@std/media-types/0.223.0/parse_media_type.ts *
│ │ │ ├── https://jsr.io/@std/media-types/0.223.0/_util.ts *
│ │ │ └─┬ https://jsr.io/@std/media-types/0.223.0/_db.ts (1.26KB)
│ │ │   ├── https://jsr.io/@std/media-types/0.223.0/vendor/mime-db.v1.52.0.ts (182.13KB)
│ │ │   └── https://jsr.io/@std/media-types/0.223.0/_util.ts *
│ │ ├─┬ https://jsr.io/@std/media-types/0.223.0/format_media_type.ts (1.73KB)
│ │ │ └── https://jsr.io/@std/media-types/0.223.0/_util.ts *
│ │ ├── https://jsr.io/@std/media-types/0.223.0/_db.ts *
│ │ └─┬ https://jsr.io/@std/media-types/0.223.0/type_by_extension.ts (912B)
│ │   └── https://jsr.io/@std/media-types/0.223.0/_db.ts *
│ ├─┬ https://jsr.io/@std/media-types/0.223.0/extension.ts (780B)
│ │ └─┬ https://jsr.io/@std/media-types/0.223.0/extensions_by_type.ts (979B)
│ │   ├── https://jsr.io/@std/media-types/0.223.0/parse_media_type.ts *
│ │   └── https://jsr.io/@std/media-types/0.223.0/_db.ts *
│ ├── https://jsr.io/@std/media-types/0.223.0/extensions_by_type.ts *
│ ├── https://jsr.io/@std/media-types/0.223.0/format_media_type.ts *
│ ├── https://jsr.io/@std/media-types/0.223.0/get_charset.ts *
│ ├── https://jsr.io/@std/media-types/0.223.0/parse_media_type.ts *
│ └── https://jsr.io/@std/media-types/0.223.0/type_by_extension.ts *
└─┬ https://jsr.io/@oak/commons/0.10.1/media_types.ts (6.36KB)
  └─┬ https://jsr.io/@std/media-types/0.222.1/type_by_extension.ts (912B)
    └─┬ https://jsr.io/@std/media-types/0.222.1/_db.ts (1.26KB)
      ├── https://jsr.io/@std/media-types/0.222.1/vendor/mime-db.v1.52.0.ts (182.13KB)
      └── https://jsr.io/@std/media-types/0.222.1/_util.ts (3.29KB)
```

As you can see, there are two different versions of the same package: `@std/media/0.223.0` and `std/media/0.222.1`. I want to use import maps to fix this:

```json
{
  "imports": {
    "jsr:@std/media-types@0.222.1": "jsr:@std/media-types@0.223.0"
  }
}
```

But it doesn't work. I've tried different strategies:

```json
{
  "imports": {
    "jsr:@std/media-types@0.222.1": "jsr:@std/media-types@0.223.0",
    "https://jsr.io/@std/media-types/0.222.1/": "https://jsr.io/@std/media-types/0.223.0/"
  },
  "scopes": {
    "https://jsr.io/@oak/commons/0.10.1/": {
      "https://jsr.io/@std/media-types/0.222.1/": "https://jsr.io/@std/media-types/0.223.0/"
    }
  }
}
```

But seems that none of them fixes this issue, `deno info` outputs the same tree, ignoring the import maps.
Are import maps supported in JSR dependencies?

FYI I found the same issue with NPM #23459