Skip to content

Replace lodash functions with ES6 equivalents in settings.js#2671

Merged
corsacca merged 3 commits into
developfrom
replace-lodash-settings-js
May 26, 2025
Merged

Replace lodash functions with ES6 equivalents in settings.js#2671
corsacca merged 3 commits into
developfrom
replace-lodash-settings-js

Conversation

@corsacca
Copy link
Copy Markdown
Member

Description

This PR replaces lodash functions with ES6 equivalents in the settings.js file:

  • Replace lodash.orderBy with native JavaScript sort
  • Replace lodash.get with optional chaining and nullish coalescing operators

Fixes #2398

Related Issues

Resolves #2398
Part of the larger effort in #2361 to replace lodash functions with vanilla JS/ES6 functions

openhands-agent and others added 3 commits April 24, 2025 15:31
- Replace lodash.orderBy with native JavaScript sort
- Replace lodash.get with optional chaining and nullish coalescing operators

Fixes #2398
@corsacca corsacca marked this pull request as ready for review May 26, 2025 10:50
@corsacca corsacca merged commit 8564bf1 into develop May 26, 2025
4 checks passed
@corsacca corsacca deleted the replace-lodash-settings-js branch November 25, 2025 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace lodoash functions with es6 ones

2 participants