Skip to content

Allow strict bundle via CDN. #237

Description

@ahjahjpulaj

Hi,
I am having issues with Content-Security-Policy using plotly via CDN, because the bundle need "unsafe-eval" policy.
it would be useful to be able to use the strict version of the bundle.
e.g
PlotlyViaCDNModule.setPlotlyVersion("strict-2.24.1")
allowing in PlotlyViaCDNModule also the "strict" keyword
const isOk = version === 'latest' || /^\d\.\d{1,2}\.\d{1,2}$/.test(version) || /^strict-\d\.\d{1,2}\.\d{1,2}$/;

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions