Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
loynoir opened this issue May 12, 2023 · 0 comments
Open

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

loynoir opened this issue May 12, 2023 · 0 comments

Comments

@loynoir
Copy link

loynoir commented May 12, 2023

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

@loynoir loynoir changed the title yo depends on deprecated module.parent yo depends on deprecated module.parent, should update meow May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant