New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.2.0 to 0.2.1

14

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

@@ -19,12 +19,12 @@ "main": "index.js",

"@types/lru-cache": "^7.10.10",
"@types/node": "^18.13.0",
"@types/node": "^20.1.0",
"@types/random-words": "^1.1.2",
"japa": "^4.0.0",
"lru-cache": "^7.14.1",
"lru-cache": "^9.1.1",
"node-cache": "^5.1.2",
"nodemon": "^2.0.20",
"prettier": "^2.8.4",
"random-words": "^1.2.1",
"nodemon": "^2.0.22",
"prettier": "^2.8.8",
"random-words": "^1.3.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
"typescript": "^5.0.4"
},

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

@@ -5,3 +5,3 @@ /**

import BraveCacheProvider from "../src/provider";
import LRUCache from "lru-cache";
import { LRUCache } from "lru-cache";
/**

@@ -14,2 +14,2 @@ * LRUCacheProvider

*/
export default function LRUCacheProvider(options?: LRUCache.Options<any, any>): BraveCacheProvider<LRUCache<string, any>>;
export default function LRUCacheProvider(options?: LRUCache.Options<any, any, any>): BraveCacheProvider<LRUCache<string, any, unknown>>;

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

const provider_1 = __importDefault(require("../src/provider"));
const lru_cache_1 = __importDefault(require("lru-cache"));
const lru_cache_1 = require("lru-cache");
/**

@@ -20,3 +20,3 @@ * LRUCacheProvider

function LRUCacheProvider(options = {}) {
const cache = new lru_cache_1.default(Object.assign({ max: 1000 }, options));
const cache = new lru_cache_1.LRUCache(Object.assign({ max: 1000 }, options));
return new provider_1.default({

@@ -23,0 +23,0 @@ name: "lru-cache",

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