The code has been updated and merged: https://github.com/kcbanner/connect-mongo/commit/9822790b0af5907b3616179f0548ec64c2300890 but in npm repositories is still old version.