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

mikro-orm-cache-adapter-redis

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mikro-orm-cache-adapter-redis - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

dist/index.cjs.js

3

CHANGELOG.md
# Mikro ORM - Redis cache adapter - Changelog
## 1.1.0
- Ignore cache when redis is not connected
## 1.0.1

@@ -4,0 +7,0 @@ - Expose adapter as default

import { RedisCacheAdapter } from './RedisCacheAdapter';
export * from './RedisCacheAdapter';
export default RedisCacheAdapter;

3

dist/RedisCacheAdapter.d.ts

@@ -17,6 +17,7 @@ import { CacheAdapter } from '@mikro-orm/core';

private readonly expiration?;
private connected;
constructor(options: RedisCacheAdapterOptions);
get(key: string): Promise<any>;
get<T = any>(key: string): Promise<T | undefined>;
set(name: string, data: any, origin: string, expiration?: number | undefined): Promise<void>;
clear(): Promise<void>;
}
{
"name": "mikro-orm-cache-adapter-redis",
"version": "1.0.1",
"version": "1.1.0",
"description": "A redis cache adapter for mikro-orm",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"repository": "https://github.com/ramiel/mikro-orm-cache-adapter-redis",

@@ -12,4 +13,4 @@ "author": "Fabrizio Ruggeri",

"prepare": "npm run build",
"build": "tsc",
"build-watch": "tsc -w"
"build": "rollup -c --environment NODE_ENV:production",
"build-watch": "rollup -c --environment NODE_ENV:production -w --no-watch.clearScreen"
},

@@ -20,4 +21,6 @@ "dependencies": {

"devDependencies": {
"@mikro-orm/core": "^4.4.3",
"ioredis": "^4.22.0",
"@mikro-orm/core": "^4.5.0",
"ioredis": "^4.24.4",
"rollup": "^2.42.4",
"rollup-plugin-typescript2": "^0.30.0",
"typescript": "^4.1.3"

@@ -24,0 +27,0 @@ },

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