by eis · 4y ago · 0 comments
It is also possible in Deno to set permissions for Workers but that's not just plug and play for existing libraries.
I'd love to see a permissions system on a library basis. It would ask the first time a dependency is added and when a new permission is requested after an update. Javascript doesn't make that easy though by being so dynamic. SES could maybe help: https://github.com/endojs/endo/blob/master/packages/ses/READ...