Closed bibixx closed 4 years ago
I'm actually not sure why I used this, its been a while and on most other projects I also use strigify. I feel like it had something to do with object depth, but I'm really not sure.
Thanks so much for the PR!
ah yes, in theory:
When having heavy nested objects, JSON.stringify does not stringify all levels. Would it be possible to use util.inspect instead of JSON.stringify?
@bibixx I'm still using util.inspect
as I don't have time to make sure right now that JSON.stringify
does not result in lost data in some situations (I moved to it for a reason). But I've updated it so it should process more than 100 items now. Thanks for the report!
@chrisdrackett sure, whatever it is to make it work š
Issue
When importing a significant number of elements (>100) the
util.inspect
doesn't behave properly ā instead of outputting the objects it returns... 1 more item
text.Example
Please note that I am using the old output format here, as it is what I am using in my project. However the same issue happens on the newest version of figmint
Concerns
Was there any specific reason to using
util.inspect
instead ofJSON.stringify
? Especially as the nodejs documentation states that