Skip to content

chore: update dependencies and Node.js to latest LTS#49

Merged
nealrichardson merged 1 commit intomainfrom
update-deps-node22
Jan 29, 2026
Merged

chore: update dependencies and Node.js to latest LTS#49
nealrichardson merged 1 commit intomainfrom
update-deps-node22

Conversation

@nealrichardson
Copy link
Contributor

Summary

  • Update CI test matrix from Node 18/20 to Node 20/22 (Node 18 reached EOL April 2025)
  • Update TypeScript toolchain to latest versions (TypeScript 5.8, ts-standard 12, ts-node 10)
  • Update runtime dependencies including tar 7.x, tough-cookie 5.x, axios 1.9
  • Fix compatibility issues with new package versions (tar v7 API, isolatedModules)

Test plan

  • CI passes on Node 20.x
  • CI passes on Node 22.x
  • Integration tests pass with Connect server

🤖 Generated with Claude Code

- Update CI matrix from Node 18/20 to Node 20/22
- Update TypeScript from 4.9 to 5.8
- Update @tsconfig/node16 to @tsconfig/node22
- Update @types/node from 14.x to 22.x
- Update tar from 6.x to 7.x (includes built-in types)
- Update tough-cookie from 4.x to 5.x
- Update ts-standard from 9.x to 12.x
- Update ts-node from 9.x to 10.x
- Update various other dependencies to latest versions
- Add isolatedModules: true to tsconfig for Node22 module compatibility
- Fix tar import for v7 API changes
- Fix type re-exports for isolatedModules
- Apply linter auto-fixes

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copy link

@marcosnav marcosnav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving. Although found surprising that this repo has a mix of Promise practices, try/catch and async/await used interchangeably, something that makes asynchronous flow hard to follow and causes inconsistent error handling.

Claude should be able to fix that pretty easily.

}

return this.findExistingContentByName(name)
return await this.findExistingContentByName(name)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This await here caught my attention, there is an odd mix of async/await and then/catch in this method. Not specific to this PR, since seem to be a past practice in many places in this repo.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Created a separate issue for this #50. I'll delegate this to Claude later.

@nealrichardson nealrichardson merged commit bb387db into main Jan 29, 2026
5 checks passed
@nealrichardson nealrichardson deleted the update-deps-node22 branch January 29, 2026 22:21
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