feat: upgrade Node.js from 8.15.1 to 20.18.0 LTS (SCRUM-2)#2
Open
devin-ai-integration[bot] wants to merge 2 commits intomasterfrom
Open
feat: upgrade Node.js from 8.15.1 to 20.18.0 LTS (SCRUM-2)#2devin-ai-integration[bot] wants to merge 2 commits intomasterfrom
devin-ai-integration[bot] wants to merge 2 commits intomasterfrom
Conversation
- Create .nvmrc file with 20.18.0 - Add engines field to package.json requiring Node.js >=20.18.0 - Addresses SCRUM-2: Node.js infrastructure upgrade for security and modern dependency support Co-Authored-By: Arthur Poon <arthur.poon@windsurf.com>
- Remove old yarn.lock generated with Node.js 8.x - Regenerate with latest Yarn 1.22.22 and Node.js 20.18.0 LTS - Ensures dependency compatibility with modern Node.js runtime - Part of SCRUM-2: Node.js infrastructure upgrade Co-Authored-By: Arthur Poon <arthur.poon@windsurf.com>
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat: upgrade Node.js from 8.15.1 to 20.18.0 LTS (SCRUM-2)
Summary
This PR upgrades the Node.js runtime from the severely outdated version 8.15.1 (EOL since December 2019) to Node.js 20.18.0 LTS across both bank-client and bank-server repositories. This critical infrastructure upgrade enables modern dependency updates, security patches, and improved performance.
Key Changes:
.nvmrcfiles to specify Node.js 20.18.0package.jsonengines field to require Node.js >=20.18.0.nvmrcfile for bank-serveryarn.lockfiles with Node.js 20.18.0 and Yarn 1.22.22Testing Performed:
NODE_OPTIONS="--openssl-legacy-provider"Review & Testing Checklist for Human
Risk Level: 🟡 MEDIUM - Major version upgrade with some compatibility warnings
npm run buildworks correctly for clientNODE_OPTIONS="--openssl-legacy-provider"and this is acceptableRecommended Test Plan:
Diagram
%%{ init : { "theme" : "default" }}%% graph TB subgraph "akkp-windsurf/bank-client" A["client/.nvmrc<br/>lts/dubnium → 20.18.0"]:::major-edit B["client/package.json<br/>engines: >=8.15.1 → >=20.18.0"]:::major-edit C["client/yarn.lock<br/>Regenerated with Node 20.x"]:::major-edit end subgraph "akkp-windsurf/bank-server" D["server/.nvmrc<br/>Created: 20.18.0"]:::major-edit E["server/package.json<br/>Added engines: >=20.18.0"]:::major-edit F["server/yarn.lock<br/>Regenerated with Node 20.x"]:::major-edit end G["Node.js Runtime<br/>8.15.1 → 20.18.0 LTS"]:::context A --> G B --> G D --> G E --> G subgraph Legend L1["Major Edit"]:::major-edit L2["Minor Edit"]:::minor-edit L3["Context/No Edit"]:::context end classDef major-edit fill:#90EE90 classDef minor-edit fill:#87CEEB classDef context fill:#FFFFFFNotes
NODE_OPTIONS="--openssl-legacy-provider"due to webpack 4.x compatibility issues with Node.js 20.x's updated OpenSSLSession Details: