<div dir="auto">Here is particular issue I Ajv repository:</div><div dir="auto"><br></div><div dir="auto"><div><a href="https://github.com/ajv-validator/ajv/issues/1765">https://github.com/ajv-validator/ajv/issues/1765</a></div><br></div><div dir="auto">Thanks!</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 13, 2021 at 6:04 PM John Carlson <<a href="mailto:yottzumm@gmail.com">yottzumm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">X3DJSONLD requires a JavaScript expert in order to get Ajv 8.6.3 working in a browser with JSON Schema 2020-12.  We have gotten Ajv 8 working on server side code.   The particular problem seem to stem from removing requires from the code to support the web, but I think somehow that the traverse$1 function is undefined, there may be an issue with typescript.   There is a month old issue in Ajv-validator repository.   A simplistic view says that only the rollup config file needs to be changed, but the issue is deeper than that.   One needs a way to export Ajv2020 as well.   I used the window variable for that.<div dir="auto"><br></div><div dir="auto">I’ve mostly modified the loadValidation JavaScript code.</div><div dir="auto"><br><div dir="auto"><br></div><div dir="auto">John</div></div>
</blockquote></div></div>