Socket
Socket
Sign inDemoInstall

tiny-lru

Package Overview
Dependencies
0
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

5

lib/tiny-lru.js

@@ -9,3 +9,3 @@ /**

* @module tiny-lru
* @version 1.0.0
* @version 1.0.1
*/

@@ -122,2 +122,5 @@ ( function ( global ) {

}
else {
item.value = value;
}

@@ -124,0 +127,0 @@ item.next = null;

2

package.json
{
"name": "tiny-lru",
"description": "Tiny LRU cache for Client or Server",
"version": "1.0.0",
"version": "1.0.1",
"homepage": "https://github.com/avoidwork/tiny-lru",

@@ -6,0 +6,0 @@ "author": {

@@ -70,3 +70,3 @@ [![build status](https://secure.travis-ci.org/avoidwork/tiny-lru.png)](http://travis-ci.org/avoidwork/tiny-lru)

```javascript
var cache = $.lru(500);
var cache = lru(500);

@@ -73,0 +73,0 @@ cache.max; // 500

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc