This uses flatted (https://github.com/WebReflection/flatted) instead of JSON, as it handles circular structures without throwing a TypeError.
Due to this breaking previous usage, the version has been bumped to 4.0.0
Fixes jorisvddonk#5 and effectively includes jorisvddonk#9 and jorisvddonk#11
This uses flatted (https://github.com/WebReflection/flatted) instead of JSON, as it handles circular structures without throwing a TypeError. Due to this breaking previous usage, the version has been bumped to 4.0.0 Fixes jorisvddonk#5 and effectively includes jorisvddonk#9 and jorisvddonk#11