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

Won't work on NodeJS >= 18 on Windows. #10

Open
daverickdunn opened this issue Dec 18, 2024 · 0 comments
Open

Won't work on NodeJS >= 18 on Windows. #10

daverickdunn opened this issue Dec 18, 2024 · 0 comments

Comments

@daverickdunn
Copy link

Nodejs 18 and higher included a security patch for CVE-2024-27980. This patch prevents executing .bat or .cmd commands from child processes. This lib calls npm.cmd, thus it doesn't work on Nodejs 18 or higher on Windows.

Note: I worked around this by dropping down to Node 16, but I think the following should also work:

npx --security-revert=CVE-2024-27980 ng-publish-to-git

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