Skip to content

chore: upgrade @octokit/rest to v22, require Node.js 20+#10

Merged
yungweng merged 2 commits intomainfrom
chore/upgrade-octokit-v22
Dec 30, 2025
Merged

chore: upgrade @octokit/rest to v22, require Node.js 20+#10
yungweng merged 2 commits intomainfrom
chore/upgrade-octokit-v22

Conversation

@yungweng
Copy link
Copy Markdown
Owner

Summary

  • Upgrade @octokit/rest from v21 to v22
  • Bump Node.js requirement from >=18 to >=20
  • Update tsup target from node18 to node20
  • Update README prerequisites

Why

Removes deprecation warnings for octokit.rest.search.issuesAndPullRequests(). The warning was removed in @octokit/plugin-rest-endpoint-methods v17 which ships with @octokit/rest v22.

Node.js 18 LTS ends maintenance in April 2025, so this is a reasonable bump.

Test plan

  • pnpm typecheck passes
  • pnpm build passes
  • pnpm lint passes
  • pnpm dev -- sync runs without deprecation warnings

Removes deprecation warnings for search.issuesAndPullRequests().
The warning was removed in plugin-rest-endpoint-methods v17 which
ships with @octokit/rest v22.
- Update tsup target from node18 to node20
- Update README prerequisites to Node.js 20+
@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​octokit/​rest@​21.1.1 ⏵ 22.0.1991009085100

View full report

@yungweng yungweng merged commit 8936f4f into main Dec 30, 2025
4 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.

1 participant