Update @types/node and node versions in package.json#3247
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the project's Node.js runtime requirements and TypeScript type definitions to align with newer versions of Node.js, ensuring compatibility with modern features and APIs.
Changes:
- Updated
@types/nodefrom version 20.14.8 to 22.19.8 - Increased minimum Node.js version requirement from >=20.18.3 to >=22.12.0
- Increased minimum npm version requirement from >=10.1.0 to >=10.9.0
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@fellyph there's a bunch of other places like docs and package.json files that should also be updated.
|
|
@bgrgicak, I opened a separate PR for the docs. For the internal packages, I will update them now. |
…ss multiple packages to support newer versions.
…PHP WASM builds to support newer versions.
…consistency with package.json
…PHP WASM builds to 22.12.0 and 10.9.0 respectively.
…ss all packages to 22.12.0 and 10.9.0 respectively for improved compatibility.
…all PHP WASM packages to 22.12.0 and 10.9.0 for improved compatibility.
…ll PHP WASM packages to 22.12.0 and 10.9.0 for improved compatibility.
…or consistency with recent updates.
|
@bgrgicak I have updated the other packages and updated the git action to run with node 22 |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 35 out of 36 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
brandonpayton
left a comment
There was a problem hiding this comment.
I don't see any issues with this, and the changes make sense to me. Thank you!
Note: I didn't check every package.json in the project for Node.js version updates, but if we miss anything, it is easily fixable.
…#3256) This reverts commit 015974c. This pull request updates the minimum required Node.js and npm versions across the codebase, lowering the Node.js requirement from 22.x to 20.x and adjusting npm requirements accordingly. It also updates the `@types/node` dependency version and ensures documentation and CI configurations are consistent with these changes. --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

This pull request updates the project's Node.js compatibility and related type definitions to ensure support for newer Node.js features and APIs.
Dependency updates:
@types/nodepackage from version20.14.8to22.19.8inpackage.json, ensuring type compatibility with the latest Node.js releases.Environment requirements:
>=20.18.3to>=22.12.0and npm from>=10.1.0to>=10.9.0in theenginesfield ofpackage.json, enforcing the use of more recent runtime environments.