koatty_store
Advanced tools
Comparing version 1.1.2 to 1.2.0
@@ -9,7 +9,7 @@ "use strict"; | ||
* @LastEditors: linyyyang<linyyyang@tencent.com> | ||
* @LastEditTime: 2020-12-01 19:06:17 | ||
* @LastEditTime: 2020-12-02 10:09:58 | ||
* @License: BSD (3-Clause) | ||
* @Copyright (c) - <richenlin(at)gmail.com> | ||
*/ | ||
const koatty_lib_1 = tslib_1.__importDefault(require("koatty_lib")); | ||
const helper = tslib_1.__importStar(require("koatty_lib")); | ||
const koatty_logger_1 = require("koatty_logger"); | ||
@@ -56,3 +56,3 @@ const ioredis_1 = tslib_1.__importDefault(require("ioredis")); | ||
} | ||
const defer = koatty_lib_1.default.getDefer(); | ||
const defer = helper.getDefer(); | ||
const connection = new ioredis_1.default(this.options); | ||
@@ -236,3 +236,3 @@ connection.on("error", (err) => { | ||
return this.wrap('keys', [`${keyword}*`]).then((keys) => { | ||
if (koatty_lib_1.default.isEmpty(keys)) { | ||
if (helper.isEmpty(keys)) { | ||
return null; | ||
@@ -239,0 +239,0 @@ } |
{ | ||
"name": "koatty_store", | ||
"version": "1.1.2", | ||
"version": "1.2.0", | ||
"description": "Cache store for koatty.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
85619