Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

redis-json

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redis-json - npm Package Versions

13

4.0.1

Diff

Changelog

Source

v4.0.1

  • clearAll() now scans the DB via scan command(with a COUNT 100), instead of getting all the prefixed keys via keys command which would block the DB if the list is huge
  • Now allows fetching of internal fields as well -> jsonCache.get('test', 'name', 'address', 'cars.0')
  • Improves documentation
  • fixes a bug, if the key contains '/.' in it, then it was being misinterpreted during retrieval of data from DB
  • adds more test cases for robustness
  • seggregates test cases for better readability
akashbabu
published 4.0.0 •

Changelog

Source

v4.0.0

  • Total rewrite of the library for better maintenance and performance improvement
  • Provides extension for custom types, which allows the users to defines how the custom object has to be stored in Redis and how to revive the same back from redis
  • Now provide type support, which means that the type of data use save in jsonCache is exactly(===) the same that you get back
akashbabu
published 3.2.1 •

Changelog

Source

v3.2.1

  • Now supports redis client
  • Improves efficiency by replacing .call with .bind while initializing internal redisClient
  • fixes #7
  • removes the support for browsers (I know it was stupid for this library 😭)
akashbabu
published 3.2.0 •

Changelog

Source

v3.2.0

  • Now supports .(Dot) in object property (Ex. {'a.b': 'c'})
akashbabu
published 3.1.0 •

akashbabu
published 3.0.0 •

Changelog

Source

v3.0.0

  • Usage of typescript
  • Better seggregation of files
  • Bug fix for handling empty object and empty array
akashbabu
published 2.2.2 •

akashbabu
published 2.1.0 •

Changelog

Source

v2.1.0

  • Support for key expiry
akashbabu
published 2.0.0 •

Changelog

Source

v2.0.0

Breaking Changes

  • Changed callbacks to native Promises
  • required node version > 7.0.0
  • resave has been renamed to rewrite
akashbabu
published 1.0.2 •

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