Skip to content

yo depends on deprecated module.parent, should update meow #786

Open
@loynoir

Description

@loynoir

Type of issue


My environment

  • OS version/details: eg. Windows 10 64-bit
  • Node version: x.x.x (run node --version in your terminal)
  • npm version: x.x.x (run npm --version in your terminal)
  • Version of yo : x.x.x (run yo --version in your terminal) 4.3.1

Expected behavior

Should update meow to a version don't use module.parent.

Current behavior

[email protected] depends on [email protected]
https://github.com/yeoman/yo/blob/v4.3.1/package.json#L59

[email protected] depends on module.parent.filename
https://github.com/sindresorhus/meow/blob/v5.0.0/index.js#L15

module.parent Deprecated since: v14.6.0, v12.19.0

https://nodejs.org/api/modules.html#moduleparent

Steps to reproduce the behavior

Command line output

Paste your error output over here

Related

denoland/deno#19105

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions