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

cache-lru

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cache-lru - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

bower.json
{
"name": "cache-lru",
"version": "1.0.1",
"version": "1.0.2",
"description": "In-Memory Cache with O(1) Operations and LRU Purging Strategy",

@@ -5,0 +5,0 @@ "main": "lib/cache-lru.js",

{
"name": "cache-lru",
"version": "1.0.1",
"version": "1.0.2",
"description": "In-Memory Cache with O(1) Operations and LRU Purging Strategy",

@@ -29,4 +29,4 @@ "keywords": [ "cache", "lru" ],

"grunt-mocha-test": "~0.12.7",
"chai": "~1.10.0",
"6to5ify": "~4.1.0",
"chai": "~2.0.0",
"6to5ify": "~4.1.1",
"minifyify": "~6.1.0",

@@ -33,0 +33,0 @@ "browserify-header": "~0.9.1",

@@ -95,8 +95,7 @@

- `CacheLRU#clear(key: String): CacheLRU`: [O(1)]<br/>
Delete object under `key`.
If no object exists under `key` an exception is thrown.
### Convenience Operations
- `CacheLRU#clear(): CacheLRU`: [O(n)]<br/>
Delete all objects in the cache.
- `CacheLRU#keys(): String[]`: [O(n)]<br/>

@@ -103,0 +102,0 @@ Get the list of keys of all objects in the cache, in MRU to LRU order.

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