This repository was archived by the owner on May 11, 2026. It is now read-only.
Commit 9e8e190
chore: pin ajv to 8.11.0 to work around schema-compile bug
@snapshot-labs/snapshot.js requests ajv ^8.11.0; yarn happened to lock
this at 8.11.0, but Bun resolves fresh and gets 8.20.0, which generates
invalid JS in compiled validators ("SyntaxError: Unexpected token ':'")
for the snapshot.js space schema. This caused 19 test failures in CI.
Adding ajv@8.11.0 as a direct dependency hoists it to root, so
snapshot.js picks it up. eslint's transitive ajv (^6.x) lands nested
under node_modules/eslint/node_modules/ajv and stays untouched.
A scoped override would have been cleaner but Bun does not yet support
nested overrides (oven-sh/bun#6608).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 00478ce commit 9e8e190
2 files changed
Lines changed: 12 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
0 commit comments