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

cachalot

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cachalot - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [1.3.1](https://github.com/TinkoffCreditSystems/cachalot/compare/v1.3.0...v1.3.1) (2020-01-28)
### Bug Fixes
* mset does not add cache key prefix. ([8d58233](https://github.com/TinkoffCreditSystems/cachalot/commit/8d58233))
# [1.3.0](https://github.com/TinkoffCreditSystems/cachalot/compare/v1.2.1...v1.3.0) (2020-01-27)

@@ -2,0 +9,0 @@

6

dist/adapters/redis/index.js

@@ -60,3 +60,7 @@ "use strict";

async mset(values) {
await with_timeout_1.withTimeout(this.redisInstance.mset(values), this.options.operationTimeout);
const data = new Map();
for (const [key, value] of values.entries()) {
data.set(`${exports.CACHE_PREFIX}:${key}`, value);
}
await with_timeout_1.withTimeout(this.redisInstance.mset(data), this.options.operationTimeout);
}

@@ -63,0 +67,0 @@ /**

5

package.json
{
"name": "cachalot",
"version": "1.3.0",
"version": "1.3.1",
"description": "Cache manager for nodejs with support different cache strategies",

@@ -36,2 +36,3 @@ "keywords": [

"test:ci": "npm run test:unit -- --coverageReporters=text-lcov | coveralls",
"test:integration": "jest --config ./integration/jest.config.js --forceExit --detectOpenHandles",
"test:unit:watch": "jest --watch",

@@ -47,2 +48,3 @@ "prepublishOnly": "npm run check && npm run build",

"@semantic-release/git": "^7.0.16",
"@types/faker": "^4.1.9",
"@types/ioredis": "^4.14.4",

@@ -54,2 +56,3 @@ "@types/jest": "^24.0.15",

"cz-conventional-changelog": "^3.0.2",
"faker": "^4.1.0",
"ioredis": "^4.14.1",

@@ -56,0 +59,0 @@ "jest": "^24.8.0",

Sorry, the diff of this file is not supported yet

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