<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/15936231/92454136-c6ecaa80-f1f2-11ea-9868-4d31a1724743.png"><img src="https://user-images.githubusercontent.com/15936231/92454136-c6ecaa80-f1f2-11ea-9868-4d31a1724743.png" alt="image" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/15936231/92454331-fac7d000-f1f2-11ea-9eaf-4ed7c21142a3.png"><img src="https://user-images.githubusercontent.com/15936231/92454331-fac7d000-f1f2-11ea-9eaf-4ed7c21142a3.png" alt="image" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/15936231/92454417-14691780-f1f3-11ea-9579-d966efdc9180.png"><img src="https://user-images.githubusercontent.com/15936231/92454417-14691780-f1f3-11ea-9579-d966efdc9180.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">this issue is caused by <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="695687412" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/7390" data-hovercard-type="issue" data-hovercard-url="/denoland/deno/issues/7390/hovercard" href="https://github.com/denoland/deno/issues/7390">#7390</a></p>
<p dir="auto">Lets say I have code like this:</p>
<p dir="auto">foo.ts:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import { myDep } from &quot;https://unpkg.com/my_dep@0.0.5/myDep.ts&quot;"><pre class="notranslate"><code class="notranslate">import { myDep } from "https://unpkg.com/my_dep@0.0.5/myDep.ts"
</code></pre></div>
<p dir="auto">bar.ts:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import { myDep } from &quot;https://unpkg.com/my_dep@0.0.5/myDep.ts&quot;"><pre class="notranslate"><code class="notranslate">import { myDep } from "https://unpkg.com/my_dep@0.0.5/myDep.ts"
</code></pre></div>
<p dir="auto">How do I ensure my versions of myDep stay in sync across <code class="notranslate">foo.ts</code> and <code class="notranslate">bar.ts</code>?</p>
<p dir="auto">Should Deno-idomatic code use dependency injection so dependencies are only externally referenced in one place? That seems like a good idea, but difficult to enforce.</p>