Skip to content

Drop node 18 and 20. Add 24.#1708

Open
mm-kevcenteno wants to merge 3 commits into
mainfrom
kevin/drop-old-node
Open

Drop node 18 and 20. Add 24.#1708
mm-kevcenteno wants to merge 3 commits into
mainfrom
kevin/drop-old-node

Conversation

@mm-kevcenteno
Copy link
Copy Markdown
Contributor

package-lock.json files were rebuilt because of missing transitive dependencies that caused npm ci to fail

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request drops support for Node.js 18 and 20, requiring Node.js 22 or greater. It updates the TypeScript compilation target to ES2022, adopts the node: prefix for built-in imports, and refactors Reader.open and WebServiceClient to use modern features like async/await, AbortSignal.timeout, and btoa. Feedback was provided regarding an unsafe type assertion (as Error) in the catch block of webServiceClient.ts, suggesting a safer check using instanceof Error to prevent potential runtime errors.

Comment thread src/webServiceClient.ts
@mm-kevcenteno mm-kevcenteno force-pushed the kevin/drop-old-node branch from 4f0cb32 to 54db174 Compare May 26, 2026 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants