Socket
Socket
Sign inDemoInstall

@nestjs/cache-manager

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nestjs/cache-manager - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2

9

dist/interfaces/cache-module.interface.d.ts
import { ConfigurableModuleAsyncOptions, Provider, Type } from '@nestjs/common';
import { CacheManagerOptions } from './cache-manager.interface';
export type CacheModuleOptions<StoreConfig extends Record<any, any> = Record<string, any>> = CacheManagerOptions & StoreConfig & {
export type CacheOptions<StoreConfig extends Record<any, any> = Record<string, any>> = CacheManagerOptions & StoreConfig;
export type CacheModuleOptions<StoreConfig extends Record<any, any> = Record<string, any>> = CacheOptions<StoreConfig> & {
/**

@@ -18,3 +19,3 @@ * If "true', register `CacheModule` as a global module.

export interface CacheOptionsFactory<StoreConfig extends Record<any, any> = Record<string, any>> {
createCacheOptions(): Promise<CacheModuleOptions<StoreConfig>> | CacheModuleOptions<StoreConfig>;
createCacheOptions(): Promise<CacheOptions<StoreConfig>> | CacheOptions<StoreConfig>;
}

@@ -28,3 +29,3 @@ /**

*/
export interface CacheModuleAsyncOptions<StoreConfig extends Record<any, any> = Record<string, any>> extends ConfigurableModuleAsyncOptions<CacheModuleOptions<StoreConfig>, keyof CacheOptionsFactory> {
export interface CacheModuleAsyncOptions<StoreConfig extends Record<any, any> = Record<string, any>> extends ConfigurableModuleAsyncOptions<CacheOptions<StoreConfig>, keyof CacheOptionsFactory> {
/**

@@ -44,3 +45,3 @@ * Injection token resolving to an existing provider. The provider must implement

*/
useFactory?: (...args: any[]) => Promise<CacheModuleOptions<StoreConfig>> | CacheModuleOptions<StoreConfig>;
useFactory?: (...args: any[]) => Promise<CacheOptions<StoreConfig>> | CacheOptions<StoreConfig>;
/**

@@ -47,0 +48,0 @@ * Dependencies that a Factory may inject.

{
"name": "@nestjs/cache-manager",
"version": "2.2.1",
"version": "2.2.2",
"description": "Nest - modern, fast, powerful node.js web framework (@cache-manager)",

@@ -22,19 +22,19 @@ "author": "Kamil Mysliwiec",

"devDependencies": {
"@commitlint/cli": "18.6.0",
"@commitlint/config-angular": "18.6.0",
"@nestjs/common": "10.3.2",
"@nestjs/core": "10.3.2",
"@nestjs/platform-express": "10.3.2",
"@nestjs/testing": "10.3.2",
"@commitlint/cli": "19.2.1",
"@commitlint/config-angular": "19.1.0",
"@nestjs/common": "10.3.5",
"@nestjs/core": "10.3.5",
"@nestjs/platform-express": "10.3.5",
"@nestjs/testing": "10.3.5",
"@types/jest": "29.5.12",
"@types/node": "20.11.16",
"@types/node": "20.11.30",
"@types/supertest": "6.0.2",
"@typescript-eslint/eslint-plugin": "6.21.0",
"@typescript-eslint/parser": "6.21.0",
"@typescript-eslint/eslint-plugin": "7.3.1",
"@typescript-eslint/parser": "7.3.1",
"cache-manager": "5.4.0",
"cache-manager-redis-store": "^3.0.1",
"eslint": "8.56.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"husky": "9.0.10",
"husky": "9.0.11",
"jest": "29.7.0",

@@ -44,3 +44,3 @@ "lint-staged": "15.2.2",

"reflect-metadata": "0.2.1",
"release-it": "17.0.3",
"release-it": "17.1.1",
"rimraf": "5.0.5",

@@ -50,3 +50,3 @@ "rxjs": "7.8.1",

"ts-jest": "29.1.2",
"typescript": "5.3.3"
"typescript": "5.4.3"
},

@@ -53,0 +53,0 @@ "peerDependencies": {

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