catbox-memory
Advanced tools
Comparing version 3.1.0 to 3.1.1
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8262