console-feed
console-feed copied to clipboard
CSP (Content Security Policy) unsafe-eval
The eval()
in the code trips CSP which don't allow eval. Possible to remove it?
Any reason why we can't return window
in https://github.com/samdenty/console-feed/blob/a65624858e3f99e47262108823624af24e80252e/src/Transform/replicator/index.ts#L10
?
@franciscolourenco That wouldn't work for web workers etc, if you want to send a PR that uses globalThis go ahead.
copied from https://github.com/inikulin/replicator