Skip to content

feature request: avoid use of new Function #411

@llimllib

Description

@llimllib

I'd like to run my fastify server with --disallow-code-generation-from-strings for additional safety, and this library is preventing me from doing so.

Is the usage of eval (via new Function) in this library absolutely necessary, or could it be avoided?

Would you be open to a PR that removed it, if it is possible to avoid?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions