Ghost/core
Fabien O'Carroll 53b884ec2b
Refactored json-schema to use one instance of ajv (#10746)
refs https://github.com/TryGhost/Team/issues/211

Previous code was creating a new ajv instance for each call, as well as
loading the schemas, which are cached. This was causing a memory leak as
ajv caches all schemas.

We've replaced it with one instance of ajv, and conditionally
loading/compiling the schemas if they haven't been seen before.
2019-05-15 13:28:10 +02:00
..
client@27a6bd98a8 Updated Ghost-Admin to 2.22.1 2019-05-14 11:16:04 +02:00
server Refactored json-schema to use one instance of ajv (#10746) 2019-05-15 13:28:10 +02:00
test Bumped gscan version to 2.6.0 2019-05-08 16:56:22 +02:00
index.js