npm ioredis-mock 6.1.2
v6.1.2

latest releases: 8.9.0, 7.5.1, 8.8.3...
2 years ago

6.1.2 (2022-01-28)

Bug Fixes

  • improve bgrewriteaof, bgsave, decrby, rpoplpush & time (#1126) (4907dab)

bgrewriteaof

  • returns 'Background append only file rewriting started' instead of 'OK'

bgsave

  • returns 'Background saving started' instead of 'OK'

decrby

  • throws "ERR wrong number of arguments for 'decrby' command" if the decrement argument is missing

rpoplpush

  • throws 'WRONGTYPE Operation against a key holding the wrong kind of value' if the source argument is invalid
  • returns null if the destination is invalid

time

  • returns strings instead of numbers

Don't miss a new ioredis-mock release

NewReleases is sending notifications on new releases.