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

brave-cache

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brave-cache - npm Package Compare versions

Comparing version 0.1.6 to 0.2.0

2

index.d.ts
import BraveCacheProvider from "./src/provider";
declare type BraveCacheOptions = {
type BraveCacheOptions = {
provider?: string;

@@ -4,0 +4,0 @@ prefix?: string | boolean;

{
"name": "brave-cache",
"version": "0.1.6",
"version": "0.2.0",
"description": "A flexible semantic Api for handling multiple node cache drivers.",

@@ -18,13 +18,13 @@ "main": "index.js",

"devDependencies": {
"@types/lru-cache": "^7.6.1",
"@types/node": "^17.0.8",
"@types/lru-cache": "^7.10.10",
"@types/node": "^18.13.0",
"@types/random-words": "^1.1.2",
"japa": "^4.0.0",
"lru-cache": "^7.7.2",
"lru-cache": "^7.14.1",
"node-cache": "^5.1.2",
"nodemon": "^2.0.15",
"prettier": "^2.6.1",
"random-words": "^1.1.1",
"ts-node": "^10.4.0",
"typescript": "^4.5.4"
"nodemon": "^2.0.20",
"prettier": "^2.8.4",
"random-words": "^1.2.1",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
},

@@ -31,0 +31,0 @@ "engines": {

@@ -1,5 +0,5 @@

export declare type BraveCacheProviderConfig = {
export type BraveCacheProviderConfig = {
expires?: true;
};
export declare type BraveCacheProviderFunctions = {
export type BraveCacheProviderFunctions = {
get: (key: string) => any | Promise<any>;

@@ -6,0 +6,0 @@ set: (key: string, value: any, ttl?: number) => any | Promise<any>;

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