Skip to content

v2.0.2 introduced a breaking change in a patch: now requires node@^20.17.0 || >=22.9.0 #924

Closed

Description

@serhalp

v2.0.2 was published a few hours ago as a patch, but it includes this bump of nopt from ^8.0.0 to ^9.0.0, which in turn bumped the supported node.js version range from ^18.17.0 || >=20.5.0 to ^20.17.0 || >=22.9.0.

This is a breaking change, but @mapbox/node-pre-gyp did not receive a major bump.

It might be too late to unpublish this release at this point. Could you please revert this change in a follow-up patch?

This is breaking downstream consumers of this very popular package.

Thanks!

Activity

  1. serhalp commented on Nov 26, 2025

    @serhalp
    ContributorAuthor

    Here's a PR if this makes sense to you: #925.

  2. changed the title [-]v2.0.2 introduced a breaking change in a patch: now required `node@^20.17.0 || >=22.9.0`[/-] [+]v2.0.2 introduced a breaking change in a patch: now requires `node@^20.17.0 || >=22.9.0`[/+] on Nov 26, 2025
  3. serhalp commented on Nov 26, 2025

    @serhalp
    ContributorAuthor

    Fixed by #925. Released in v2.0.3.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions