Just to add, if USB is jumping to 8v that'll definitely be causing the reset - and you should try and avoid doing anything that makes that happen as it'll eventually kill the GPIO line attached to it, which will stop you from being able to connect over USB.
But that does mean that the only thing that could be causing the voltage is that diode...
I just checked and the rev 1.3 has a 1PS76SB40, which has a reverse voltage of 40v so should also be fine.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Just to add, if USB is jumping to 8v that'll definitely be causing the reset - and you should try and avoid doing anything that makes that happen as it'll eventually kill the GPIO line attached to it, which will stop you from being able to connect over USB.
But that does mean that the only thing that could be causing the voltage is that diode...
I just checked and the rev 1.3 has a 1PS76SB40, which has a reverse voltage of 40v so should also be fine.