Skip to content
This repository was archived by the owner on May 11, 2026. It is now read-only.

Commit 9e8e190

Browse files
bonustrackclaude
andcommitted
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

File tree

bun.lock

Lines changed: 11 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"@snapshot-labs/snapshot-metrics": "^1.4.1",
3434
"@snapshot-labs/snapshot-sentry": "^1.5.5",
3535
"@snapshot-labs/snapshot.js": "^0.14.20",
36+
"ajv": "8.11.0",
3637
"bluebird": "^3.7.2",
3738
"connection-string": "^1.0.1",
3839
"cors": "^2.8.5",

0 commit comments

Comments
 (0)