restyler

Results 26 comments of restyler

I can confirm that validateSync() modifies the validated object if it has nesting, adding Circular ref. I had to use JSON.parse(JSON.stringify(data)) to do deep clone of input and prevent it....

Shoot. I have just spent two straight days debugging the exact same issue and thinking I am going crazy. The awful part of the bug is that it was not...

> We are aware. If you look at some their discussions, you'll see that we've been part of them. > This is why we maintain our own fork, where we...

It turned out that the problem is in query-string package which is used in `generators/json.js` dependency of the curlconverter. https://github.com/curlconverter/curlconverter/blob/v3.21.0/generators/json.js#L48 this is where the string gets corrupted. The funny thing...

This is a problem related to new lines inside the key. I managed to fix the error by switching the key format input type to "expression" ![2024-08-25 at 13 27](https://github.com/user-attachments/assets/4bed527b-b4b2-4331-b5f2-1bd85b81a596)

> > This is a problem related to new lines inside the key. I managed to fix the error by switching the key format input type to "expression" > >...