For anyone still looking for the solution I made public my is-function-pure repo that detects if JavaScript function is pure. You can give it a try any feedback is appreciated.