Skip to content

feat: upgrade mmdb-lib to v3 #920

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

oschwald
Copy link
Collaborator

@oschwald oschwald commented Aug 1, 2025

BREAKING CHANGE: Values stored in the database as uint64 or uint128
will now be decoded to BigInt. Previously, they were decoded as strings.
This change comes from mmdb-lib v3 which now uses BigInt for all 64-bit
and 128-bit unsigned integers.

BREAKING CHANGE: Values stored in the database as uint64 or uint128
will now be decoded to BigInt. Previously, they were decoded as strings.
This change comes from mmdb-lib v3 which now uses BigInt for all 64-bit
and 128-bit unsigned integers.
"lib": ["ES2019"],
"target": "ES2019"
"lib": ["ES2020"],
"target": "ES2020"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This adds support for BigInt literals. We could also do BigInt(...) and stick with ES2019 if that is preferred.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants