Closed BananaAcid closed 3 years ago
:) interesting. I will add a test case for this and fix it; I need a few hours...
Added test which passed without any additional modifications; updated version and published 1.1.2. Please let me know if there's additional issues. (I'm not sure about the reporting of which file failed.)
Hm? That means, that is expected behavior?
that means it was fixed already in the meantime, and really just requires publishing...
Is that wanted behaviour?
Version 1.1.1
test string required and parsed:
throws no error.
Testet with
JSON6.parse('{');
... it seems, there is no error, if an object is not closed.
2nd;
Getting it to trigger error with require, there is no filename included.
If a module fails with require, it mentions what file it is.