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

Fix break on Windows caused by Node security fix. #335

Merged
merged 2 commits into from
Aug 6, 2024

Conversation

cliffAtOsaic
Copy link
Contributor

@cliffAtOsaic cliffAtOsaic commented Aug 5, 2024

Fix for #334.

The new code requires { shell: true } to be passed to child_process.sync() and child_process.spawnSync() in order to execute batch scripts. On Windows, npm and similar commands are run as "npm.cmd" rather than "npm.exe" and requires shell to be set to true.

Also fixed a warning that TypeDocs was running against an incompatible version of TypeScript. Fix was to upgrade TypeDocs to the latest version.

Copy link

sonarqubecloud bot commented Aug 5, 2024

@antongolub
Copy link
Owner

Hey, @cliffAtOsaic,

Should this option be applied for windows only?

@antongolub antongolub merged commit 6a29f1c into antongolub:master Aug 6, 2024
5 of 9 checks passed
@antongolub
Copy link
Owner

antongolub commented Aug 6, 2024

@cliffAtOsaic,

Thanks for highlighting the issue and for the patch. Released as part of v10.0.8. Could you verify it?

@cliffAtOsaic
Copy link
Contributor Author

Upgraded to the latest and it is working now on my box. Thanks!

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 this pull request may close these issues.

2 participants