This repository has been archived by the owner on Dec 18, 2019. It is now read-only.
Fix bug with circular infinite loop
onionify now does object reference checks to prevent the (exactly) same
object reference to be emitted consecutively. Internally, this uses
dropRepeats.
BREAKING CHANGE:
Just in case you were relying on buggy behavior, this library will no
longer emit redundant/duplicate references of state. Overall this
improves reliability, but also performance, to some extent. For most
users, this should be super safe to upgrade.