← All tasks
javascriptoctokit/rest.js #318Not a task: not reproduced

[MAINT]: Breaking change released under a patch version

envgap__octokit__rest.js-318

01 / FAILURE SIGNATURE

As reported upstream

error @octokit/plugin-paginate-rest@7.1.2: The engine "node" is incompatible with this module. Expected version ">= 18". Got "14.17.6"
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
a860845b8dd115d18fa93699f0be721abc6c4ec5
Manifest
package.json
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

octokit/rest.js #318 · read the original issue
### 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](https://github.com/octokit/rest.js/commit/a860845b8dd115d18fa93699f0be721abc6c4ec5) 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

```shell
➜  libs yarn add lerna@6.4.1

yarn add v1.22.19

[1/4] 🔍  Resolving packages...

warning lerna > @lerna/bootstrap > @npmcli/arborist > @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs

warning lerna > @lerna/create > pacote > cacache > @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs

warning lerna > @lerna/bootstrap > @npmcli/arborist > readdir-scoped-modules@1.1.0: This functionality has been moved to @npmcli/fs

[2/4] 🚚  Fetching packages...

error @octokit/plugin-paginate-rest@7.1.2: 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

- [X] I agree to follow this project's Code of Conduct
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]