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

koatty_store

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koatty_store - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

19

dist/index.d.ts

@@ -1,2 +0,3 @@

import { RedisStore } from "./redis";
import { RedisStore, StoreOptions } from "./redis";
export { RedisStore, RedisClient, StoreOptions } from "./redis";
/**

@@ -6,18 +7,2 @@ *

* @export
* @interface StoreOptions
*/
export interface StoreOptions {
key_prefix: string;
host: string;
port: number;
auth?: string;
db?: number;
timeout?: number;
pool_size?: number;
conn_timeout?: number;
}
/**
*
*
* @export
* @class Store

@@ -24,0 +9,0 @@ */

6

dist/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Store = void 0;
exports.Store = exports.RedisStore = void 0;
/*

@@ -8,3 +8,3 @@ * @Author: richen

* @LastEditors: linyyyang<linyyyang@tencent.com>
* @LastEditTime: 2020-12-01 17:37:40
* @LastEditTime: 2020-12-01 17:49:31
* @License: BSD (3-Clause)

@@ -14,2 +14,4 @@ * @Copyright (c) - <richenlin(at)gmail.com>

const redis_1 = require("./redis");
var redis_2 = require("./redis");
Object.defineProperty(exports, "RedisStore", { enumerable: true, get: function () { return redis_2.RedisStore; } });
/**

@@ -16,0 +18,0 @@ *

@@ -1,2 +0,1 @@

import { StoreOptions } from "./index";
import IORedis from "ioredis";

@@ -8,2 +7,27 @@ import genericPool from "generic-pool";

* @export
* @interface RedisClient
* @extends {IORedis.Redis}
*/
export interface RedisClient extends IORedis.Redis {
}
/**
*
*
* @export
* @interface StoreOptions
*/
export interface StoreOptions {
key_prefix: string;
host: string;
port: number;
auth?: string;
db?: number;
timeout?: number;
pool_size?: number;
conn_timeout?: number;
}
/**
*
*
* @export
* @class RedisStore

@@ -10,0 +34,0 @@ */

@@ -9,3 +9,3 @@ "use strict";

* @LastEditors: linyyyang<linyyyang@tencent.com>
* @LastEditTime: 2020-12-01 17:37:59
* @LastEditTime: 2020-12-01 17:52:56
* @License: BSD (3-Clause)

@@ -12,0 +12,0 @@ * @Copyright (c) - <richenlin(at)gmail.com>

{
"name": "koatty_store",
"version": "1.0.2",
"version": "1.1.0",
"description": "Cache store for koatty.",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

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