(0 , deps_1.saslprep) is not a function

When I am using MongoDB connection with mongoose getting this error. But when I am using the SHA-1 mechanism the error get vanishes. I have also installed the saslprep