New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@peerbit/cache

Package Overview
Dependencies
Maintainers
0
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@peerbit/cache - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

2

dist/src/index.js

@@ -13,3 +13,3 @@ // Fifo

if (options.max <= 0) {
throw new Error("Expecting max >= 0");
throw new Error("Expecting max > 0");
}

@@ -16,0 +16,0 @@ this.max = options.max;

{
"name": "@peerbit/cache",
"version": "2.1.0",
"version": "2.1.1",
"description": "Simple cache",

@@ -5,0 +5,0 @@ "type": "module",

@@ -21,3 +21,3 @@ // Fifo

if (options.max <= 0) {
throw new Error("Expecting max >= 0");
throw new Error("Expecting max > 0");
}

@@ -24,0 +24,0 @@ this.max = options.max;

Sorry, the diff of this file is not supported yet

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