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

hashlru

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hashlru - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

5

index.js

@@ -18,3 +18,6 @@ module.exports = function (max) {

if(v) return v
if(v = _cache[key]) update(key, v)
if(v = _cache[key]) {
update(key, v)
return v
}
},

@@ -21,0 +24,0 @@ set: function (key, value) {

2

package.json
{
"name": "hashlru",
"description": "simpler faster substitute for LRU",
"version": "1.0.2",
"version": "1.0.3",
"homepage": "https://github.com/dominictarr/hashlru",

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

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