@types/connect-redis
Advanced tools
Comparing version 0.0.12 to 0.0.13
@@ -5,2 +5,3 @@ // Type definitions for connect-redis | ||
// Seth Butler <https://github.com/sbutler2901> | ||
// Jip Sterk <https://github.com/JipSterk> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -13,8 +14,8 @@ // TypeScript Version: 2.3 | ||
declare module "connect-redis" { | ||
import * as express from "express"; | ||
import * as session from "express-session"; | ||
import * as redis from "redis"; | ||
declare module 'connect-redis' { | ||
import * as express from 'express'; | ||
import * as session from 'express-session'; | ||
import * as ioRedis from 'ioredis'; | ||
import * as redis from 'redis'; | ||
function s(options: (options?: session.SessionOptions) => express.RequestHandler): s.RedisStore; | ||
@@ -25,6 +26,6 @@ | ||
new (options: RedisStoreOptions): RedisStore; | ||
client: redis.RedisClient; | ||
client: redis.RedisClient | ioRedis.Redis; | ||
} | ||
interface RedisStoreOptions { | ||
client?: redis.RedisClient; | ||
client?: redis.RedisClient | ioRedis.Redis; | ||
host?: string; | ||
@@ -31,0 +32,0 @@ port?: number; |
{ | ||
"name": "@types/connect-redis", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"description": "TypeScript definitions for connect-redis", | ||
@@ -16,2 +16,7 @@ "license": "MIT", | ||
"githubUsername": "sbutler2901" | ||
}, | ||
{ | ||
"name": "Jip Sterk", | ||
"url": "https://github.com/JipSterk", | ||
"githubUsername": "JipSterk" | ||
} | ||
@@ -30,6 +35,7 @@ ], | ||
"@types/express-session": "*", | ||
"@types/ioredis": "*", | ||
"@types/redis": "*" | ||
}, | ||
"typesPublisherContentHash": "8ea024a3ccb12e68f9ae34a56a573c434c77ae833d5a5e8cdfc7e3448db44c2b", | ||
"typesPublisherContentHash": "1012472fb24f5e33c99137809ea4bff6451392e9f2fbeca72a392d7ce8a8391d", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -11,7 +11,7 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 13 Nov 2019 01:27:32 GMT | ||
* Dependencies: [@types/express](https://npmjs.com/package/@types/express), [@types/express-session](https://npmjs.com/package/@types/express-session), [@types/redis](https://npmjs.com/package/@types/redis) | ||
* Last updated: Thu, 14 Nov 2019 19:54:28 GMT | ||
* Dependencies: [@types/express](https://npmjs.com/package/@types/express), [@types/express-session](https://npmjs.com/package/@types/express-session), [@types/ioredis](https://npmjs.com/package/@types/ioredis), [@types/redis](https://npmjs.com/package/@types/redis) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Xavier Stouder (https://github.com/xstoudi), and Seth Butler (https://github.com/sbutler2901). | ||
These definitions were written by Xavier Stouder (https://github.com/xstoudi), Seth Butler (https://github.com/sbutler2901), and Jip Sterk (https://github.com/JipSterk). |
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
4904
45
4
+ Added@types/ioredis@*
+ Added@ioredis/commands@1.2.0(transitive)
+ Added@types/ioredis@5.0.0(transitive)
+ Addeddebug@4.3.7(transitive)
+ Addeddenque@2.1.0(transitive)
+ Addedioredis@5.4.1(transitive)
+ Addedlodash.defaults@4.2.0(transitive)
+ Addedlodash.isarguments@3.1.0(transitive)
+ Addedms@2.1.3(transitive)
+ Addedredis-errors@1.2.0(transitive)
+ Addedredis-parser@3.0.0(transitive)
+ Addedstandard-as-callback@2.1.0(transitive)