Skip to content
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

peer dependency issues #418

Closed
dacbd opened this issue Jul 21, 2022 · 8 comments · Fixed by #420
Closed

peer dependency issues #418

dacbd opened this issue Jul 21, 2022 · 8 comments · Fixed by #420
Projects

Comments

@dacbd
Copy link

dacbd commented Jul 21, 2022

Hi all, I recently went through some package updating in a project, and found that you have updated your ocktokit/core to v4 on v2.21.2 and then did a subsequent v3 that dropped the old node version support. Shouldn't that peer update have happened in your v3 release and not as a final patch release on v2?

I can probably work on my own updates to fix the npm install issue, but it is inconvenient.

@ghost ghost added this to Inbox in JS Jul 21, 2022
@wolfy1339 wolfy1339 added the bug label Jul 21, 2022
@ghost ghost moved this from Inbox to Bugs in JS Jul 21, 2022
@wolfy1339
Copy link
Member

Yes, it should have happened in the v3 release.

Can you pin the version to 2.21.1? The 2.21.2 update didn't contain any other updates

@dacbd
Copy link
Author

dacbd commented Jul 21, 2022

it wasn't directly installed, but a minimal example is:

{
  "name": "test",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "ISC",
  "dependencies": {
    "@actions/github": "4.x",
    "@octokit/core": "3.x"
  }
}

@dacbd
Copy link
Author

dacbd commented Jul 21, 2022

@wolfy1339 requiring and pining to 2.21.1 did resolve the issue

dacbd added a commit to iterative/cml that referenced this issue Jul 21, 2022
@oscard0m
Copy link
Member

Should we close this issue @dacbd ?

@wolfy1339 do you want me to edit https://github.com/octokit/plugin-paginate-rest.js/releases/v2.21.2 Release notes to add alert users about this?

@dacbd
Copy link
Author

dacbd commented Jul 21, 2022

@oscard0m I'd say if you can npm install the example package.json above without an npm WARN ERESOLVE overriding peer dependency then sure we can close it, but until then I would prefer it stay open.

@wolfy1339 wolfy1339 linked a pull request Jul 21, 2022 that will close this issue
@github-actions
Copy link
Contributor

🎉 This issue has been resolved in version 2.21.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@gr2m
Copy link
Contributor

gr2m commented Jul 21, 2022

@dacbd can you confirm that the problem is resolved please?

@dacbd
Copy link
Author

dacbd commented Jul 22, 2022

@gr2m confirmed the problem is resolved, thanks for all the responses team! ❤️

@dacbd dacbd closed this as completed Jul 22, 2022
JS automation moved this from Bugs to Done Jul 22, 2022
dacbd added a commit to iterative/cml that referenced this issue Jul 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
JS
  
Done
Development

Successfully merging a pull request may close this issue.

4 participants