feat: upgrade Node.js to 18.x LTS and update package manager#1
Open
devin-ai-integration[bot] wants to merge 1 commit intomasterfrom
Open
feat: upgrade Node.js to 18.x LTS and update package manager#1devin-ai-integration[bot] wants to merge 1 commit intomasterfrom
devin-ai-integration[bot] wants to merge 1 commit intomasterfrom
Conversation
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 to 18.x LTS and update package manager
Summary
This PR upgrades the Node.js runtime from the End-of-Life version >=8.15.1 to Node.js 18.20.4 LTS, addressing critical security vulnerabilities and ensuring long-term support. This is a major version upgrade spanning 10+ Node.js versions, which carries significant risk of breaking changes.
Key Changes:
.nvmrcfiles to specify Node.js 18.20.4package.jsonengines field to require Node.js >=18.20.4 and npm >=8.nvmrcfile for bank-server (previously missing)yarn.lockfiles with updated dependency resolutionNODE_OPTIONS="--openssl-legacy-provider"flag due to OpenSSL compatibility with older webpack configurationReview & Testing Checklist for Human
🔴 HIGH RISK - 5 Critical Items to Verify:
yarn buildworks for both applications without errors (currently failing in bank-client)Recommended Test Plan:
nvm useyarn install && yarn build && yarn startin both repositoriesDiagram
%%{ init : { "theme" : "default" }}%% graph TB subgraph "bank-client Repository" BC_NVMRC[".nvmrc<br/>lts/dubnium → 18.20.4"]:::major-edit BC_PKG["package.json<br/>engines: node >=8.15.1 → >=18.20.4<br/>engines: npm >=5 → >=8"]:::major-edit BC_YARN["yarn.lock<br/>(regenerated)"]:::major-edit BC_SERVER["server startup<br/>(OpenSSL issues)"]:::context end subgraph "bank-server Repository" BS_NVMRC[".nvmrc<br/>(newly created)<br/>18.20.4"]:::major-edit BS_PKG["package.json<br/>engines: added<br/>node >=18.20.4, npm >=8"]:::major-edit BS_YARN["yarn.lock<br/>(regenerated)"]:::major-edit BS_SERVER["server startup<br/>(TypeScript errors)"]:::context end BC_NVMRC --> BC_SERVER BC_PKG --> BC_SERVER BC_YARN --> BC_SERVER BS_NVMRC --> BS_SERVER BS_PKG --> BS_SERVER BS_YARN --> BS_SERVER 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
Link to Devin run: https://app.devin.ai/sessions/76a31d7c618d434caf5524c11a0ec469