Skip to content

[MAINT]: Breaking change released under a patch version #318

Closed
@JoaoBGusmao

Description

@JoaoBGusmao

Describe the need

I'm sadly tied to node 14 due to the complexity to update to node 18.
I'm using lerna, that installs @octokit/rest, that installs @octokit/plugin-paginate-rest.
@octokit/plugin-paginate-rest 6 to 7 introduced a breaking change related to node version, and this library just updated from 6.1.2 to 7.0.0 but published this change to 19.0.12 instead of 20.x.
It should have been published under 20.x as this change inherits the breaking change from @octokit/plugin-paginate-rest

SDK Version

No response

API Version

No response

Relevant log output

➜  libs yarn add [email protected]
yarn add v1.22.19
[1/4] 🔍  Resolving packages...
warning lerna > @lerna/bootstrap > @npmcli/arborist > @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
warning lerna > @lerna/create > pacote > cacache > @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
warning lerna > @lerna/bootstrap > @npmcli/arborist > [email protected]: This functionality has been moved to @npmcli/fs
[2/4] 🚚  Fetching packages...
error @octokit/[email protected]: The engine "node" is incompatible with this module. Expected version ">= 18". Got "14.17.6"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions