New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/koa-redis

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/koa-redis - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

2

koa-redis/index.d.ts

@@ -13,3 +13,3 @@ // Type definitions for koa-redis 4.0

interface RedisOptions extends ClientOpts {
duplicate?: boolean;
duplicate?: boolean | undefined;
client?: any;

@@ -16,0 +16,0 @@ }

{
"name": "@types/koa-redis",
"version": "4.0.0",
"version": "4.0.1",
"description": "TypeScript definitions for koa-redis",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-redis",
"license": "MIT",

@@ -30,4 +31,4 @@ "contributors": [

},
"typesPublisherContentHash": "869b2352c08ef4e2748227c6fc89d672fcdcd515a5fe2d3fda142a504095d259",
"typeScriptVersion": "2.8"
"typesPublisherContentHash": "f7d55ddb0d02094f5b145fbc0d99aa3c98e81506edb6b7371e373d634b8603cc",
"typeScriptVersion": "3.6"
}

@@ -9,5 +9,32 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-redis.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-redis/index.d.ts)
````ts
// Type definitions for koa-redis 4.0
// Project: https://github.com/koajs/koa-redis
// Definitions by: Nick Simmons <https://github.com/nsimmons>
// Scotland Stephenson <https://github.com/alsoscotland>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
import { ClientOpts } from 'redis';
import { stores } from 'koa-session';
declare namespace redisStore {
interface RedisOptions extends ClientOpts {
duplicate?: boolean | undefined;
client?: any;
}
interface RedisSessionStore extends stores {
client: any;
}
}
declare function redisStore(options: redisStore.RedisOptions): redisStore.RedisSessionStore;
export = redisStore;
````
### Additional Details
* Last updated: Wed, 27 Nov 2019 22:49:55 GMT
* Last updated: Thu, 08 Jul 2021 16:23:24 GMT
* Dependencies: [@types/redis](https://npmjs.com/package/@types/redis), [@types/koa-session](https://npmjs.com/package/@types/koa-session)

@@ -17,2 +44,2 @@ * Global values: none

# Credits
These definitions were written by Nick Simmons (https://github.com/nsimmons), and Scotland Stephenson (https://github.com/alsoscotland).
These definitions were written by [Nick Simmons](https://github.com/nsimmons), and [Scotland Stephenson](https://github.com/alsoscotland).

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