John Carlson

Results 141 comments of John Carlson

I will close this issue if no further analysis is required!

We just upgraded to draft-2020-12 based on confidence using server side Ajv8 and now our webapps don't work. When can we see 2020-12 handling or higher on CDN? Since we...

I'm not sure I want to touch Ajv 8.6.3 yet. There are 44 moderate to high vulnerabilities in dependencies (probably in devDependencies, so they don't particularly show up as real...

Good news, @brutzman, I was able to produce dist and bundle files using this patch: ``` ~/ajv$ git diff . diff --git a/rollup.config.js b/rollup.config.js index d435b70f..09dafef1 100644 --- a/rollup.config.js +++...

Test results: ``` $ npm run test-all > [email protected] test-all > npm run test-cov && if-node-version 12 npm run test-browser > [email protected] test-cov > nyc npm run test-spec > [email protected]...

More test results: ``` ~/ajv$ npm run test-browser > [email protected] test-browser > rm -rf .browser && npm run bundle && scripts/prepare-tests && karma start > [email protected] bundle > rm -rf...

I went ahead anyway, despite failing tests. Here's what I got in Chromium: ``` Uncaught ReferenceError: module is not defined at ajv2020.bundle.js:7211 at ajv2020.bundle.js:4 at ajv2020.bundle.js:5 ``` Firefox: ``` Uncaught...

Here's how I include the bundle: exports = {};

I get this error on the console: ``` Uncaught TypeError: traverse$1 is not a function getSchemaRefs https://localhost:3000/src/main/node/ajv2020.bundle.js:3494 _addSchema https://localhost:3000/src/main/node/ajv2020.bundle.js:4741 addSchema https://localhost:3000/src/main/node/ajv2020.bundle.js:4525 addMetaSchema https://localhost:3000/src/main/node/ajv2020.bundle.js:4533 addMetaSchema2020 https://localhost:3000/src/main/node/ajv2020.bundle.js:7175 addMetaSchema2020 https://localhost:3000/src/main/node/ajv2020.bundle.js:7175 _addDefaultMetaSchema https://localhost:3000/src/main/node/ajv2020.bundle.js:7203 Ajv...

I have made these changes: ``` $ diff ~/ajv/bundle/ajv2020.bundle.js ajv2020.bundle.js 7211c7211 < module.exports = exports = Ajv2020; --- > module.exports = exports = window.ajv2020 = Ajv2020; ``` This is how...