You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the flag. It should be possible to fix this, it's unfortunately caused by a lot of new ways to write functions in ES2015 which resulted in having to write a custom function replacer that only worked with the object key.
2.0.0 has a regression compared to 1.6.0. The replacer function doesn't seem to work on nested values, only on root-level ones.
Reproduction
This example code doesn't produce the desired output:
It outputs
() => {}
instead ofprocess.env.NODE_ENV === 'production' ? 'error' : 'off'
for example.The text was updated successfully, but these errors were encountered: