Uh oh!
There was an error while loading. Please reload this page.
Fix Ajv import compatibility issue by downgrading to v6 - #517
Conversation
Downgrade Ajv from v8.17.1 to v6.12.6 to resolve ESM/CJS module compatibility issues that were causing "does not provide an export named 'Ajv'" errors in projects using this SDK. This ensures consistent import patterns across different module systems. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
ihrpr
commented
May 20, 2025
Should we just upgrade eslint as well to make sure we have only one version of Ajv? |
bhosmer-ant
commented
May 20, 2025
Sadly it looks like the latest eslint is still using the old version of ajv |
make auth token configurable via env var
jake-danton
commented
Sep 25, 2025
@bhosmer-ant@ihrpr@alexander-zuev Since And as for the issue in #512 , I believe that was due to Vitest having issues with AJV v8 and Cloudflare workers as seen in this Cloudflare bug which sounds like it has a workaround. So it is an uncommon case due to a bug in other libraries, not due to having So is there any reason we can't revert this revert? |
Downgrade Ajv from v8.17.1 to v6.12.6 to resolve ESM/CJS module compatibility issues that were causing "does not provide an export named 'Ajv'" errors in projects using this SDK. This ensures consistent import patterns across different module systems.
🤖 Generated with Claude Code
Motivation and Context
Original PR built successfully, tracking down where the build error was subsequently introduced. Meanwhile this simplifies things by using the same version of ajv as
eslintand builds successfully.How Has This Been Tested?
SDK tests pass
Breaking Changes
No
Types of changes
Checklist
Additional context
May fix#512