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

little-ds-toolkit

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

little-ds-toolkit - npm Package Compare versions

Comparing version 0.2.4 to 0.3.0

2

lib/lru-cache.js

@@ -62,3 +62,3 @@ var sizeof = require('sizeof');

validateKey(key);
return key in this._cache && !('expiration' in item && Date.now() > item.expiration);
return key in this._cache && !('expiration' in this._cache[key] && Date.now() > this._cache[key].expiration);
};

@@ -65,0 +65,0 @@

{
"name": "little-ds-toolkit",
"version": "0.2.4",
"version": "0.3.0",
"description": "A small collection of useful data structures",

@@ -5,0 +5,0 @@ "main": "index.js",

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