Closed fengmk2 closed 1 week ago
The changes involve modifications to the HTTP client configuration in config/config.default.ts
, specifically the removal of the allowH2
property, which disables HTTP/2 support. Additionally, the package.json
file has been updated to lower the minimum required version of Node.js from >= 18.20.0
to >= 16.13.0
, reflecting a change in compatibility requirements for the project.
File | Change Summary |
---|---|
config/config.default.ts | Removed allowH2 configuration property, disabling HTTP/2 support. |
package.json | Updated minimum Node.js version requirement from >= 18.20.0 to >= 16.13.0 . |
allowH2
configuration in config/config.default.ts
and also updates the Node.js version requirement in package.json
, indicating a direct relationship in the changes made to the HTTP client configuration.🐰 In the code, we hop and play,
With settings changed, we find our way.
HTTP/2, we bid adieu,
Node.js version, we adjust too!
A leap for all, both big and small,
In this code garden, we thrive and sprawl! 🌼
package.json (1)
`148-148`: **Verify compatibility with Node.js 16.13.0 and consider security implications** The change in the minimum required Node.js version from 18.20.0 to 16.13.0 aligns with the PR objective to revert a previous commit. However, this downgrade raises several considerations: 1. Compatibility: Ensure that all dependencies in the project are compatible with Node.js 16.13.0. Some packages might have dropped support for older Node.js versions. 2. Features: Node.js 18 introduced several new features and improvements. Verify that the codebase doesn't rely on any Node.js 18+ specific features. 3. Security: Node.js 16.13.0 is an older version and may not include the latest security patches. Consider the security implications of using this version, especially if the application is deployed in a production environment. 4. Long-term support: Node.js 16 reached its end-of-life on September 11, 2023. Using an unsupported version in production is not recommended. 5. Performance: Newer Node.js versions often come with performance improvements. Reverting to an older version might impact the application's performance. To ensure compatibility, run the following script to check for any dependencies that require Node.js >= 18: Given these considerations, please clarify the reason for reverting to Node.js 16.13.0. If this is a temporary measure, consider adding a TODO comment or creating an issue to track the need for upgrading back to a more recent, supported Node.js version in the future.
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
Package | New capabilities | Transitives | Size | Publisher |
---|
🚮 Removed packages: npm/node-rsa@1.1.1, npm/npm-package-arg@10.1.0, npm/oss-cnpm@5.0.1, npm/p-map@4.0.0, npm/s3-cnpmcore@1.1.2, npm/semver@7.6.3, npm/ssri@8.0.1, npm/type-fest@2.19.0, npm/typescript@5.2.2, npm/ua-parser-js@1.0.39, npm/validate-npm-package-name@3.0.0
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 96.81%. Comparing base (
9a79940
) to head (c79d042
). Report is 3 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This reverts commit 9a7994090b18df0847eb7552ceff273eab80dea9.
Summary by CodeRabbit
New Features
Bug Fixes