Skip to content

Update to Octokit v21, remove support for Node 16, add support for Node 22#15

Merged
sindresorhus merged 1 commit intosindresorhus:mainfrom
strmer15:upgrade-octokit-21
Feb 20, 2025
Merged

Update to Octokit v21, remove support for Node 16, add support for Node 22#15
sindresorhus merged 1 commit intosindresorhus:mainfrom
strmer15:upgrade-octokit-21

Conversation

@strmer15
Copy link
Contributor

@strmer15 strmer15 commented Feb 19, 2025

The latest version of @octokit/rest is 21.1.1 - it fixes some security vulnerabilities related to regular expressions that were present in dependent packages. Packages that depend on this one would like to update in order to patch these vulnerabilities.

This change:

  • Updates @octokit/rest to the latest to fix the ReDos security vulnerabilities
  • Updates the dev dependencies to the latest versions
  • Updates the node version matrix to remove support for Node 16, because @octokit/rest v20 removed Node 16 support in feat: v20 octokit/rest.js#305
  • Adds Node 22 to the support matrix, since it's the latest LTS release
  • Updates to the latest version of GitHub actions

@sindresorhus sindresorhus merged commit 1198f36 into sindresorhus:main Feb 20, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants