Skip to content

Update yup@1.x module to avoid @types/lodash and babel runtime in production deps #1510

Open
@ziggornif

Description

@ziggornif

Explain your question

  • I have checked existing issue and found none that could answer my question.

I've found dev dependencies installed as production deps when I add this module in my project.

The module in question is Yup@032.11 https://github.com/jquense/yup

npm why @types/lodash
@types/lodash@4.14.191
node_modules/@types/lodash
  @types/lodash@"^4.14.175" from yup@0.32.11
  node_modules/yup
    yup@"^0.32.0" from graphql-shield@7.6.5

The 1.0 version no longer seems to have the problem, can you udpate the dependency ?

Thanks 🙏

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