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
How to set max array length (maxArrayLength
)?
#961
Comments
No you don't misunderstand, in theory that should work. Have you tried setting it to I looked at the code again and wow, we shouldn't be doing it the way we are. It's not very robust / potentially not very secure (though I struggle to think of an e.g. prototype injection attack where we could exploit it). If you can't figure it out then let me know, I'll mark this as a bug in the meantime. |
Description
How to set max array length (
maxArrayLength
)?Code I run
How I have tried to set max array length
Result
Despite all the 3 methods I have tried to set max array length I get the same result:
Additional Info
https://www.npmjs.com/package/debug#environment-variables chapter in documentation tells that by using DEBUG_ I can set Options object that gets used with %o/%O formatters like DEBUG_DEPTH, do I misunderstand that part?
The text was updated successfully, but these errors were encountered: