dwmkerr / node-imagemagick-cli

Access the ImageMagick CLI tools from Node. No dependencies, cross-platform, with support for ImageMagick 6 and 7.
8 stars 2 forks source link

buffer size update #32

Closed Dyon42 closed 4 years ago

Dyon42 commented 4 years ago

in some situations the buffer size needs to be bigger so i made a extra parameter for the buffer

it will accept an object like {maxBuffer: 1024 * 500} this is for 500kb

the default of node is just 200kb

guardrails[bot] commented 4 years ago

:warning: We detected security issues in this pull request:

Insecure Use of Dangerous Function (1) https://github.com/dwmkerr/node-imagemagick-cli/blob/848411c54a389ff183a2a0ac99b1ce80237b0ebd/src/exec.js#L43 More info on how to fix Insecure Use of Dangerous Function in [Javascript](https://www.guardrails.io/docs/en/vulnerabilities/javascript/insecure_use_of_dangerous_function.html?utm_source=ghpr).

👉 Go to the dashboard for detailed results.

📥 Happy? Share your feedback with us.