Skip to content

feature: drop dependencies to improve runtime performance #230

Description

@jantimon

lodash is used for very trivial checks:

if (!_.isString(input)) {

if (_.isUndefined(encoded)) {

if (!_.isString(url)) {

if (_.isString(input) && input.length > 0 && CSS_TOKEN.test(input)) {

maybe we can remove lodash to reduce the amount of security warnings poping up for lodash

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions