[PROPOSAL] Provide a way to enforce integrity check on module imports

Guy Bedford guybedford at gmail.com
Sat Aug 1 17:09:12 UTC 2020


The problem with inlining the integrity into every import site is that this
is naturally incompatible with import maps.

On Sat, 1 Aug 2020 at 08:57, Jordan Harband <ljharb at gmail.com> wrote:

> That seems like something that could possibly be achieved via
> https://github.com/tc39/proposal-import-assertions
>
> On Sat, Aug 1, 2020 at 1:15 AM Michaël Rouges <michael.rouges at gmail.com>
> wrote:
>
>> Hi all,
>>
>> As proposed a year ago on an old repository (thanks to ljharb, noticed me
>> that fact), on the browser side, the integrity check should be controllable
>> **for each imported module**. Actually, it's just impossible to do it
>> without bundling.
>>
>>
>> https://github.com/tc39/proposal-dynamic-import/issues/76#issuecomment-494686580
>>
>> What's your opinion on this, please?
>>
>> Michaël Rouges - https://github.com/Lcfvs - @Lcfvs
>> _______________________________________________
>> es-discuss mailing list
>> es-discuss at mozilla.org
>> https://mail.mozilla.org/listinfo/es-discuss
>>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20200801/61b547d4/attachment.html>


More information about the es-discuss mailing list