Skip to content

Bundle contains calls to Function() which are "unsafe-eval" (CSP) #347

Open

Description

@drzraf

Content Security Policy (CSP) might block 'unsafe-eval' which includes eval(), Function(), setTimeout() and setInterval()

One such occurrence comes from regenerator-runtime provided by Babel.
This was somehow fixed by meta/regenerator#346 and subsequently but Babel:

Activity

  1. changed the title [-]v3 bundle contains calls to Function which are "unsafe-eval" (CSP)[/-] [+]Bundle contains calls to Function which are "unsafe-eval" (CSP)[/+] on Aug 9, 2021
  2. changed the title [-]Bundle contains calls to Function which are "unsafe-eval" (CSP)[/-] [+]Bundle contains calls to Function() which are "unsafe-eval" (CSP)[/+] on Aug 9, 2021
  3. drzraf commented on Aug 9, 2021

    @drzraf
    CollaboratorAuthor

    /edit I intended to post below #346

  4. AidasK commented on Aug 9, 2021

    @AidasK
    Member

    Sure, you can refactor it differently, sounds good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions