#2674·ajv

feat: support trusted types for jit compilation

Author: atsjoCreated Sep 24, 2026Updated Sep 24, 2026
Labelsenhancement

What version of Ajv you are you using? 8:20.0

What problem do you want to solve?

What do you think is the correct solution to problem? allow users to provide own policy, if none provided create a default one called ajv (this is how it's implemented in DOMPurify)

Will you be able to implement it? maybe yes, but this is a small change for the maintainers knowing the code-base, and I am just evaluating this for an internal backed config tool, alongside zod and others...