Skip to content

chore(deps): bump @maxmind/geoip2-node from 6.3.4 to 7.0.0#559

Open
dependabot[bot] wants to merge 1 commit into
stagingfrom
dependabot/npm_and_yarn/staging/maxmind/geoip2-node-7.0.0
Open

chore(deps): bump @maxmind/geoip2-node from 6.3.4 to 7.0.0#559
dependabot[bot] wants to merge 1 commit into
stagingfrom
dependabot/npm_and_yarn/staging/maxmind/geoip2-node-7.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 8, 2026

Copy link
Copy Markdown
Contributor

Bumps @maxmind/geoip2-node from 6.3.4 to 7.0.0.

Release notes

Sourced from @​maxmind/geoip2-node's releases.

7.0.0

  • Breaking Dropped support for Node.js 18 and 20. Node.js 22 or greater is now
  • Breaking Dropped commonjs support. The package is now only available as an ES module.
  • Breaking Errors from the WebServiceClient are now thrown as WebServiceError instances, which extend Error, rather than as plain objects. The code, error, status, and url properties are preserved, so existing field access continues to work, but the thrown value is now an Error. The original error is now preserved as the standard cause property (for example, the network error behind a FETCH_ERROR). The WebServiceError class and the WebServiceClientError type are now exported from the package.
  • The code property on WebServiceError and the WebServiceClientError interface is now typed as WebServiceErrorCode (ClientErrorCode | (string & {})) instead of string, providing autocompletion for the client-generated codes while still accepting any code returned by the web service. The ClientErrorCode and WebServiceErrorCode types are exported from the package.
  • The AddressNotFoundError, BadMethodCallError, InvalidDbBufferError, and ValueError classes now accept an optional cause and forward it to Error. Reader.openBuffer() now preserves the underlying parsing error as the cause of the InvalidDbBufferError it throws.
  • Added a fetcher option to the WebServiceClient options, allowing a custom fetch implementation to be supplied (for example, to route requests through a custom dispatcher or proxy, or for testing). It defaults to the global fetch. The WebServiceClientOptions type is exported from the package.
Changelog

Sourced from @​maxmind/geoip2-node's changelog.

7.0.0 (2026-06-29)

  • Breaking Dropped support for Node.js 18 and 20. Node.js 22 or greater is now
  • Breaking Dropped commonjs support. The package is now only available as an ES module.
  • Breaking Errors from the WebServiceClient are now thrown as WebServiceError instances, which extend Error, rather than as plain objects. The code, error, status, and url properties are preserved, so existing field access continues to work, but the thrown value is now an Error. The original error is now preserved as the standard cause property (for example, the network error behind a FETCH_ERROR). The WebServiceError class and the WebServiceClientError type are now exported from the package.
  • The code property on WebServiceError and the WebServiceClientError interface is now typed as WebServiceErrorCode (ClientErrorCode | (string & {})) instead of string, providing autocompletion for the client-generated codes while still accepting any code returned by the web service. The ClientErrorCode and WebServiceErrorCode types are exported from the package.
  • The AddressNotFoundError, BadMethodCallError, InvalidDbBufferError, and ValueError classes now accept an optional cause and forward it to Error. Reader.openBuffer() now preserves the underlying parsing error as the cause of the InvalidDbBufferError it throws.
  • Added a fetcher option to the WebServiceClient options, allowing a custom fetch implementation to be supplied (for example, to route requests through a custom dispatcher or proxy, or for testing). It defaults to the global fetch. The WebServiceClientOptions type is exported from the package.
Commits
  • b016a48 Set release date
  • 187d401 Merge pull request #1726 from maxmind/greg/stf-809
  • 7aca5fc Broaden the ValueError doc comment
  • 1fc3e90 Merge pull request #1727 from maxmind/dependabot/github_actions/zizmorcore/zi...
  • 571c99e Validate WebServiceClient option member types
  • 4967e3e Document camelcaseKeys' contract and cover non-plain-object passthrough
  • 1551d74 List the exported WebServiceClientOptions type in the CHANGELOG
  • e070a79 Drop the unused host option from the clientWith test helper
  • 6efc4f2 build(deps): bump zizmorcore/zizmor-action from 0.5.6 to 0.5.7
  • 4ce7d11 Mark the 7.0.0 CHANGELOG section as unreleased
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by cubic

Upgrade @maxmind/geoip2-node to v7.0.0 in apps/basket and apps/links. v7 is ESM-only, changes WebServiceClient errors to WebServiceError, and requires Node.js 22+.

  • Migration
    • Ensure all environments run Node.js 22+.
    • Replace CommonJS usage with ESM imports: import { ... } from '@maxmind/geoip2-node' (use await import() if staying on CJS).
    • Update error handling to catch WebServiceError (fields like code, error, status, url are still available).

Written for commit 87e865b. Summary will update on new commits.

Review in cubic

Bumps [@maxmind/geoip2-node](https://github.com/maxmind/GeoIP2-node) from 6.3.4 to 7.0.0.
- [Release notes](https://github.com/maxmind/GeoIP2-node/releases)
- [Changelog](https://github.com/maxmind/GeoIP2-node/blob/main/CHANGELOG.md)
- [Commits](maxmind/GeoIP2-node@v6.3.4...v7.0.0)

---
updated-dependencies:
- dependency-name: "@maxmind/geoip2-node"
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 8, 2026
@vercel

vercel Bot commented Jul 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
databuddy-status Ready Ready Preview, Comment Jul 8, 2026 4:14am
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
dashboard Skipped Skipped Jul 8, 2026 4:14am
documentation Skipped Skipped Jul 8, 2026 4:14am

@unkey-deploy

unkey-deploy Bot commented Jul 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Unkey Deploy

Name Status Preview Inspect Updated (UTC)
api (preview) Failed Visit Preview Inspect Jul 8, 2026 4:16am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants