node-csvtojson icon indicating copy to clipboard operation
node-csvtojson copied to clipboard

maxRowLength not throwing error?

Open cstrat opened this issue 4 years ago • 1 comments

I am just testing out how the library handles errors. I can't seem to get it to throw an error with maxRowLength exceeded.

https://codesandbox.io/s/csvtojson-max-row-length-24v2w

maxRowLength = 4...

Drop this in and it doesn't throw any errors:

test1, test2
1,2
3,4
5,6
6,7
8,9
3,4
5,6
6,7
8,9

cstrat avatar Jun 22 '21 23:06 cstrat

I should have just checked it on your demo before setting up the codesandbox, it also doesn't throw any errors there.

https://csv.keyangxiang.com/

image image

cstrat avatar Jun 22 '21 23:06 cstrat