Skip to content

remove lodash dependency #313

@dynst

Description

@dynst

_.each(this.inputs, function (input) {

lodash is a gigantic, heavy dependency that hasn't had an update since 2021. It's being used for very, very little (type checking, replacing Array.forEach ...)

Possible Solution

Replace calls to lodash helper functions with the type checking functions from is-what (10 million+ weekly downloads).

Alternatives Considered

Write polyfills? But is-what is already tiny and minimal.

Additional Context

lodash/lodash#5989 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions