Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop lodash as a dependency #1904

Open
Xorok opened this issue Feb 14, 2025 · 0 comments
Open

Drop lodash as a dependency #1904

Xorok opened this issue Feb 14, 2025 · 0 comments

Comments

@Xorok
Copy link

Xorok commented Feb 14, 2025

Is your feature request related to a problem? Please describe.

Lodash hasn't been updated in four years. It is also a CommonJS dependency and therefore increases bundle size (doesn't support tree shaking) and can cause optimization bailouts. For many functions, there are native JS alternatives nowadays and other more performant libraries.

Describe the solution you'd like / Describe alternatives you've considered

Replace Lodash with native ES6 JS functions or a more modern, actively maintained library.
I would suggest es-toolkit, which is actively maintained (last update 2 weeks ago), is faster than Lodash and offers a drop-in replacement for Lodash.

Additional context

Angular v19 project with @angular-builders/jest v19.0.0.

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

No branches or pull requests

1 participant