This adds a small feature isolate.reset()
to reset the internal impure counter that creates different scopes. isolate.reset()
is not meant to be used in user land. It was built to better support https://github.com/Widdershin/cycle-restart/. Upgrading to isolate v1.2.0 should require no changes to your code. Please just use v1.2.0 without worrying.