3 ms·
> Where do you et these lockfiles files from? I don't know about any lock files but the `version` it locked via the import url E.G import R from 'https://deno.
by vorticalbox 5y ago
> Where do you et these lockfiles files from?
I don't know about any lock files but the `version` it locked via the import url E.G import R from 'https://deno.land/x/rambda@v7.0.1 https://deno.land/x/rambda@v7.0.1'
- dmitriid 5y agoThis brings us back to the fact that Deno loads random files from random URLs with no way to change it. https://news.ycombinator.com/item?id=29871936 https://news.ycombinator.com/item?id=29871936
- vorticalbox 5y agosure but is that not how a browser works? for example to add bootstrap to a site you import like this <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstr..." integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script> which is exactly the same as deno's "loads random files from random URLs"
- dmitriid 5y ago> sure but is that not how a browser works? Deno is not a browser. > for example to add bootstrap to a site you import like this I know how to import a file in a browser. However, Deno is not a browser. The whole subthread is about managing dependencies, which Deno fails at, and its proponents come up with the most ridiculous things to justify it.
- lucacasonato 5y ago> with no way to change it You are so wrong. If you would have done maybe 3 minutes of Googling you would know we support import maps, which allow you to arbitrary rewrite specifiers, even deep inside of the module graph.