chore: sync-wasm package.json: use exact matching version for its direct dependencies
Author: yanghuidongCreated Sep 28, 2026Updated Sep 28, 2026
My understanding is that sync-wasm package is published in lock-step and thus meant to work best with its 3 deps at matching version, is that correct?
For example, on version 0.8.0-pre.12, we have:
"dependencies": {
"@tursodatabase/database-common": "^0.8.0-pre.12",
"@tursodatabase/database-wasm-common": "^0.8.0-pre.12",
"@tursodatabase/sync-common": "^0.8.0-pre.12"
}As of this writing, the latest version has been bumped to pre.14, so if we attempt to install sync-wasm at pre.12, we end up getting version pre.14 for the 3 dependencies, which seems less ideal. The local workaround would be e.g. to explicitly pin the versions using overrides:
"overrides": {
"@tursodatabase/database-common": "0.8.0-pre.12",
"@tursodatabase/database-wasm-common": "0.8.0-pre.12",
"@tursodatabase/sync-common": "0.8.0-pre.12"
}But it might be better to just declare exact versions in package.json?
Source: tursodatabase/turso