Skip to content

replace lodash with es-toolkit - #8909

Merged
jackkav merged 1 commit into
Kong:developfrom
jackkav:replace-lodash-with-es-toolkit
Jul 31, 2025
Merged

replace lodash with es-toolkit#8909
jackkav merged 1 commit into
Kong:developfrom
jackkav:replace-lodash-with-es-toolkit

Conversation

@jackkav

@jackkav jackkav commented Jul 25, 2025

Copy link
Copy Markdown
Contributor

lodash doesn't play nice with es modules, and holds us back from some architectural goals

this is effectively a polyfill for it so we can continue to support it as an ambient script env module.

@ihexxa ihexxa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good strategy for evolving util functions.

@jackkav
jackkav marked this pull request as ready for review July 28, 2025 07:35

@ihexxa ihexxa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw BingBing's question and i think it's valid point with the scripting feature. Also as this blocks other component upgrading so overall it seems fine to move forward to the aligned direction and minor potential unsupported ones could be tackled as regressions if it really happened.

@jackkav
jackkav force-pushed the replace-lodash-with-es-toolkit branch from 07335bd to f7a2fd7 Compare July 30, 2025 10:29
@jackkav
jackkav enabled auto-merge (squash) July 30, 2025 10:29
@jackkav
jackkav disabled auto-merge July 30, 2025 10:30
@jackkav
jackkav force-pushed the replace-lodash-with-es-toolkit branch from f7a2fd7 to ce09fa4 Compare July 31, 2025 06:27
@jackkav
jackkav enabled auto-merge (squash) July 31, 2025 06:39
@jackkav
jackkav merged commit b6c7467 into Kong:develop Jul 31, 2025
9 of 10 checks passed
@jackkav
jackkav deleted the replace-lodash-with-es-toolkit branch July 31, 2025 06:40
RoamingLost pushed a commit to RoamingLost/insomnia that referenced this pull request Aug 6, 2025
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.

2 participants