Skip to content

uses unsafe-eval #593

@diracdeltas

Description

@diracdeltas

protobuf.js version: 6.3.x

it appears that recent versions of protobufjs are using eval, which prevents the browserified library from working in web applications that have a Content Security Policy without unsafe-eval, such as is the case for Chrome extensions.

EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: default-src 'self'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions