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

Outdated dependency spawn-command #287

Open
KosRud opened this issue Jan 26, 2025 · 1 comment · May be fixed by #288
Open

Outdated dependency spawn-command #287

KosRud opened this issue Jan 26, 2025 · 1 comment · May be fixed by #288

Comments

@KosRud
Copy link

KosRud commented Jan 26, 2025

Problem description

const proc = spawnCommand(cmd, { stdio: 'inherit', cwd: projectPath });

This line produces a warning:

[DEP0060] DeprecationWarning: The util._extend API is deprecated. Please use Object.assign() instead.

Because the dependency spawn-command uses outdated api (see DEP0060):

https://github.com/mmalecki/spawn-command/blob/78f3fa3b904b767ec4dd1c4b27c9b288eb498f03/lib/spawn-command.js#L9

The dependency is specified here:

"spawn-command": "^0.0.2-1",

There is a newer version of spawn-command where the warning was resolved (see v1.0.0)

https://github.com/mmalecki/spawn-command/blob/ce19cf2504aff72769755aea1bd4330e020f4a25/lib/spawn-command.js#L8

Solution

Update the version of spawn-command in package.json

@SharonIV0x86 SharonIV0x86 linked a pull request Jan 31, 2025 that will close this issue
@SharonIV0x86
Copy link

@KosRud i have opened the PR #288

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

Successfully merging a pull request may close this issue.

2 participants