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

prisma-redis-middleware

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prisma-redis-middleware - npm Package Compare versions

Comparing version 4.3.0 to 4.4.0

4

dist/types.d.ts

@@ -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[];

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