catbox-memory
Advanced tools
Comparing version 3.1.1 to 3.1.2
@@ -26,3 +26,3 @@ 'use strict'; | ||
if (allowMixedContent && Buffer.isBuffer(value)) { | ||
this.item = new Buffer(value.length); | ||
this.item = Buffer.alloc(value.length); | ||
// copy buffer to prevent value from changing while in the cache | ||
@@ -29,0 +29,0 @@ value.copy(this.item); |
{ | ||
"name": "catbox-memory", | ||
"description": "Memory adapter for catbox", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"repository": "git://github.com/hapijs/catbox-memory", | ||
@@ -26,3 +26,3 @@ "main": "lib/index.js", | ||
"scripts": { | ||
"test": "lab -a code -v -L -t 100", | ||
"test": "lab -a code -L -t 100", | ||
"test-cov-html": "lab -a code -r html -o coverage.html" | ||
@@ -29,0 +29,0 @@ }, |
Sorry, the diff of this file is not supported yet
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
8261