Skip to content

Commit c89b4cb

Browse files
committed
clarify cache key behavior
1 parent 49e313e commit c89b4cb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ All of the import statements in the module graph that address the same module wi
8181

8282
The determination of whether the `type` attribute is part of the module cache key is left up to hosts (as it is for all import attributes).
8383

84+
For example, `import "foo"` and `import "foo" with { type: "buffer" }` may return the same module in one host, and different modules with another host. Both are valid implementations.
85+
86+
See discussion in Issue https://github.com/styfle/proposal-import-bytes/issues/4
87+
8488
### Is there any prior art?
8589

8690
Deno 2.4 added support in [July 2025](https://deno.com/blog/v2.4) to inline a Uint8Array

0 commit comments

Comments
 (0)