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

catbox-memory

Package Overview
Dependencies
Maintainers
5
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

catbox-memory - npm Package Compare versions

Comparing version 3.1.0 to 3.1.1

14

lib/index.js

@@ -90,7 +90,7 @@ 'use strict';

if (!name) {
throw Boom('Empty string');
throw new Boom('Empty string');
}
if (name.indexOf('\u0000') !== -1) {
throw Boom('Includes null character');
throw new Boom('Includes null character');
}

@@ -104,3 +104,3 @@

if (!this.cache) {
throw Boom('Connection not started');
throw new Boom('Connection not started');
}

@@ -128,3 +128,3 @@

catch (err) {
throw Boom('Bad value content');
throw new Boom('Bad value content');
}

@@ -145,3 +145,3 @@ }

if (!this.cache) {
throw Boom('Connection not started');
throw new Boom('Connection not started');
}

@@ -168,3 +168,3 @@

throw Boom('Cache size limit reached');
throw new Boom('Cache size limit reached');
}

@@ -181,3 +181,3 @@

if (!this.cache) {
throw Boom('Connection not started');
throw new Boom('Connection not started');
}

@@ -184,0 +184,0 @@

{
"name": "catbox-memory",
"description": "Memory adapter for catbox",
"version": "3.1.0",
"version": "3.1.1",
"repository": "git://github.com/hapijs/catbox-memory",

@@ -6,0 +6,0 @@ "main": "lib/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