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

update exec so it can accept a custom set buffersize #33

Open Dyon42 opened 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/b2abf0c97228bc825ad65314505bb28c5511025f/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.