Hacker News new | ask | show | jobs
by lucacasonato 1649 days ago
I am not aware of any specific proposals right now. There was some talk a while back about supporting SRI hashes inside of an import map, but that sorta dissolved. For Deno at least you can use a `lock.json` file with the `--lock` and `--lock-write` flags: https://deno.land/manual/linking_to_external_code/integrity_...
1 comments

There's an issue for that to be added as part of import assertions https://github.com/tc39/proposal-import-assertions/issues/11...
I don't think that's going to fly because it's in-band.