Skip to content

Drop lodash as a dependency #1904

@Xorok

Description

@Xorok

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 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions