Fix Node 22 compatibility by updating better-sqlite3 to v10.1.0 #127
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR addresses Node 22 compatibility issues in the dapp-offer-up project by updating the
better-sqlite3
dependency to version 10.1.0, which includes Node 22 support.Changes Made
✅ Fixed: better-sqlite3 Compatibility
better-sqlite3
from versions 8.7.0 and 9.6.0 to 10.1.0"better-sqlite3": "^10.0.0"
to package.json resolutions to force the upgrade📋 Documented: ESM Module Issue
NODE_22_COMPATIBILITY.md
esm
module fromgithub:agoric-labs/esm#Agoric-built
is incompatible with Node 22Testing Results
Node 20 (Current)
Node 22 (Target)
Status
Partial Node 22 compatibility achieved - This PR resolves one of the two main compatibility issues:
Next Steps
To achieve full Node 22 compatibility, the project needs to upgrade to a newer version of the Agoric SDK (v0.22.0-u17 or later) that no longer depends on the problematic ESM module. Both referenced issues (#4788 and #11272) have been resolved in newer SDK versions.
Addressing #121.
Warning
Firewall rules blocked me from connecting to one or more addresses
I tried to connect to the following addresses, but was blocked by firewall rules:
download.cypress.io
edgedl.me.gvt1.com
iojs.org
If you need me to access, download, or install something from one of these locations, you can either:
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.