prisma-redis-middleware
Advanced tools
Comparing version 4.3.0 to 4.4.0
@@ -31,3 +31,3 @@ import type Redis from "ioredis"; | ||
cacheKey?: string; | ||
cacheTime?: number; | ||
cacheTime?: number | TtlFunction; | ||
excludeMethods?: PrismaQueryAction[]; | ||
@@ -42,3 +42,3 @@ }[]; | ||
}; | ||
cacheTime?: number | TtlFunction; | ||
cacheTime?: number; | ||
excludeModels?: string[] | Prisma.ModelName[]; | ||
@@ -45,0 +45,0 @@ excludeMethods?: PrismaQueryAction[]; |
{ | ||
"name": "prisma-redis-middleware", | ||
"author": "A-J Roos <asjas@hey.com>", | ||
"version": "4.3.0", | ||
"version": "4.4.0", | ||
"description": "Prisma Middleware for caching results of queries in Redis", | ||
@@ -38,6 +38,6 @@ "license": "Hippocratic-3.0", | ||
"devDependencies": { | ||
"@prisma/client": "4.6.1", | ||
"@prisma/client": "4.7.1", | ||
"@size-limit/preset-small-lib": "8.1.0", | ||
"@types/ioredis-mock": "8.2.0", | ||
"@vitest/coverage-c8": "0.25.2", | ||
"@types/ioredis-mock": "8.2.1", | ||
"@vitest/coverage-c8": "0.25.8", | ||
"c8": "7.12.0", | ||
@@ -47,3 +47,3 @@ "eslint-config-asjas": "2.0.3", | ||
"ioredis-mock": "8.2.2", | ||
"lint-staged": "13.0.3", | ||
"lint-staged": "13.1.0", | ||
"npm-run-all": "4.1.5", | ||
@@ -54,4 +54,4 @@ "rimraf": "3.0.2", | ||
"tslib": "2.4.1", | ||
"typescript": "4.9.3", | ||
"vitest": "0.25.2" | ||
"typescript": "4.9.4", | ||
"vitest": "0.25.8" | ||
}, | ||
@@ -58,0 +58,0 @@ "husky": { |
@@ -65,3 +65,3 @@ import type Redis from "ioredis"; | ||
cacheKey?: string; | ||
cacheTime?: number; | ||
cacheTime?: number | TtlFunction; | ||
excludeMethods?: PrismaQueryAction[]; | ||
@@ -78,3 +78,3 @@ }[]; | ||
}; | ||
cacheTime?: number | TtlFunction; | ||
cacheTime?: number; | ||
excludeModels?: string[] | Prisma.ModelName[]; | ||
@@ -81,0 +81,0 @@ excludeMethods?: PrismaQueryAction[]; |
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