New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ioredis-mock

Package Overview
Dependencies
Maintainers
1
Versions
195
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ioredis-mock - npm Package Versions

1
20

2.4.1

Diff

Changelog

Source

[2.4.1] - 2017-10-02

Fixes

  • Allow ioredis 3 as peer dependency. (#317 @aruberto)
stipsan
published 2.4.0 •

Changelog

Source

[2.4.0] - 2017-03-05

Features

  • exec supports a callback argument. (#290)

Fixes

  • Don't modify objects passed to or returned from the internal datastore. (#281 @jeffkenney)
  • Fix hash get commands for missing hashes. (#284 @jeffkenney)
stipsan
published 2.3.0 •

Changelog

Source

[2.3.0] - 2017-02-28

Added

  • Add event emitter inheritance. (#248 @xsellier)
  • Trigger connect & ready events on instantiation. (#280 @rexxars)

Changed

  • Prevent conversion of buffer arguments to strings. (#236 @dpikt)

Misc

  • updated all dependencies to latest stable versions. (@greenkeeperio-bot)
stipsan
published 2.2.0 •

Changelog

Source

[2.2.0] - 2016-10-31

Added

  • buffer operation aliases. (#234 @dpikt)
  • yarn lockfile.

Changed

  • updated redis-commands dependency and updated the compat table with new commands.
stipsan
published 2.1.0 •

Changelog

Source

[2.1.0] - 2016-10-05

Added

  • smove command. (#217)
  • sdiff command. (#216)
  • sunion command. (#215)
  • sinter command. (#214)

Changed

  • added compat table badge to readme. (#213)
stipsan
published 2.0.0 •

Changelog

Source

[2.0.0] - 2016-10-03

Bumping the version to v2 as there are fixes in this release that are breaking changes.

Added

  • flushdb command.

Changed

  • Command arguments is now transformed to strings before being passed to the command itself helping the mock behave more like a real ioredis client.

Fixed

  • append updated to return an integer.
  • dbsize updated to return an integer.
  • decr updated to return an integer.
  • decrby updated to return an integer.
  • expire updated to return an integer.
  • expireat updated to return an integer.
  • hdel updated to return an integer.
  • hexists updated to return an integer.
  • hincrby updated to return an integer.
  • hlen updated to return an integer.
  • hset updated to return an integer.
  • hsetnx updated to return an integer.
  • hstrlen updated to return an integer.
  • incr updated to return an integer.
  • incrby updated to return an integer.
  • lpush updated to return an integer.
  • lpushx updated to return an integer.
  • mget required a single array argument, updated to use multiple arguments (single array support will be added later when ioredis Argument Transformers is properly implemented).
  • msetnx updated to return an integer.
  • persist updated to return an integer.
  • pexpire updated to return an integer.
  • pexpireat updated to return an integer.
  • pttl updated to return an integer.
  • renamenx updated to return an integer.
  • rpush updated to return an integer.
  • rpushx updated to return an integer.
  • scard updated to return an integer.
  • setnx updated to return an integer.
  • sismember updated to return an integer.
  • strlen updated to return an integer.
  • ttl updated to return an integer.

Deprecated

  • hmset no longer accepts passing an object with keys and values directly. This will be added later when ioredis Argument Transformers is properly implemented.
stipsan
published 1.15.0 •

Changelog

Source

[1.15.0] - 2016-10-03

Added

  • type command (#207)

Fixed

  • sadd no longer allow duplicate values (#204 @kesla)
  • hset learned to create a new hash if not existing instead of throwing error (#207)
  • hset updated to return integer reply according to redis spec (#207)

Internal

  • set related commands (sadd, scard, etc) implemented using es6 Set instead of Array (#204 @kesla)
  • hset tests refactored (#207)
stipsan
published 1.14.0 •

Changelog

Source

[1.14.0] - 2016-10-02

Features

  • added scard command (#201)
  • added discard command (#200)

Documentation

  • added CHANGELOG.md file
stipsan
published 1.13.1 •

stipsan
published 1.13.0 •

Changelog

Source

[1.13.0] - 2016-10-02

Features

  • added mset command (#181)
  • added msetnx command (#182)
  • added dbsize command (#183)
  • added lpushx command (#184)
  • added incrbyfloat command (#185)
  • added rpushx command (#186)
  • added hincrbyfloat command (#187)
  • added lpop command (#189)
  • added rpop command (#190)
  • added lindex command (#191)
  • added srandmember command (#192)
  • added lset command (#193)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc