Comparing version 1.3.0 to 1.3.1
@@ -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 @@ |
@@ -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 @@ /** |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
117937
1645
18