geut / discovery-swarm-webrtc

discovery-swarm for WebRTC
MIT License
94 stars 23 forks source link

Cannot be used in environments where `eval` is forbidden #11

Closed sammacbeth closed 5 years ago

sammacbeth commented 5 years ago

In applications where a CSP blocks eval this module cannot be imported. The cause is an upstream module in the mostly-minimal-spanning-tree dependency, and I opened an issue there: https://github.com/RangerMauve/mostly-minimal-spanning-tree/issues/2 . This issue is just to point out that upstream issue here.

This is currently blocking me trying out this module as Firefox webextensions are (rightly) always forbidden from doing eval.

tinchoz49 commented 5 years ago

Hi @sammacbeth, this should be working now (with the last version of mmst). If is not re-open the issue :)