toml-node
toml-node copied to clipboard
Toml parsing fails with Invalid array length on big arrays defined inside a toml
When performing a parse of a toml file that has a huge set of items inside an array I get an error with RangeError: Invalid array length

I've created here a reproducible example: https://stackblitz.com/edit/node-yjwouc?file=index.js In this case I've created a toml with an array of 10k + entries where inside the arrays there are long strings as well.