Skip to content

Remove lodash #66

@Daniel15

Description

@Daniel15

Would you accept a PR that removes the lodash requirement?

  • !isRegExp(re) and isString can be replaced with typeof re === 'string'
  • flatten can be replaced with flatMap (as long as IE11 support is not required, but you could specify that a polyfill is needed for IE11 support)
  • escapeRegExp can just be inlined

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