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

any-cache

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

any-cache - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

lib/decorators.d.ts

@@ -8,3 +8,3 @@ import { IocContext } from 'power-di';

constructor(ioc?: IocContext, cacheManager?: CacheManager);
cache(cacheKey: CacheKeyType, config?: CacheConfig): (target: any, key: string, descriptor: TypedPropertyDescriptor<(...args: any[]) => Promise<any>>) => any;
cachePut(cacheKey: CacheKeyType, config?: CacheConfig): (target: any, key: string, descriptor: TypedPropertyDescriptor<(...args: any[]) => Promise<any>>) => any;
cacheEvict(cacheKey: CacheKeyType | CacheKeyType[]): (target: any, key: string, descriptor: TypedPropertyDescriptor<(...args: any[]) => Promise<any>>) => any;

@@ -11,0 +11,0 @@ private getCacheManager;

@@ -19,3 +19,3 @@ "use strict";

}
cache(cacheKey, config) {
cachePut(cacheKey, config) {
config = Object.assign({}, new CacheManager_1.CacheConfig, config);

@@ -22,0 +22,0 @@ const cacheManager = this.getCacheManager();

{
"name": "any-cache",
"version": "0.0.2",
"version": "0.0.3",
"description": "common cache lib for js/ts",

@@ -10,2 +10,3 @@ "keywords": [

"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"files": [

@@ -12,0 +13,0 @@ "lib/*.js",

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