yeoman / yo

CLI tool for running Yeoman generators
http://yeoman.io
BSD 2-Clause "Simplified" License
3.8k stars 396 forks source link

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

Open loynoir opened 1 year ago

loynoir commented 1 year ago

Type of issue


My environment

Expected behavior

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

Current behavior

yo@4.3.1 depends on meow@5.0.0 https://github.com/yeoman/yo/blob/v4.3.1/package.json#L59

meow@5.0.0 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

https://github.com/denoland/deno/issues/19105