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

volos-cache-common

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

volos-cache-common - npm Package Compare versions

Comparing version 0.10.6 to 0.10.7

.DS_Store

6

lib/cache-argo.js

@@ -116,5 +116,3 @@ /****************************************************************************

resp.on('finish', function() {
doCache = true;
headers = resp._headers;
content = chunk;
encoder.cache(resp.statusCode, resp._headers, chunk, cb);
});

@@ -129,3 +127,3 @@ }

return next();
return next(env);
};

@@ -132,0 +130,0 @@

@@ -124,5 +124,3 @@ /****************************************************************************

resp.on('finish', function() {
doCache = true;
headers = resp._headers;
content = chunk;
encoder.cache(resp.statusCode, resp._headers, chunk, cb);
});

@@ -129,0 +127,0 @@ }

@@ -56,3 +56,3 @@ /****************************************************************************

buffer = new Buffer(size);
buffer = new Buffer.allocUnsafe(size);
var pos = 0;

@@ -59,0 +59,0 @@ buffer.writeUInt16LE(statusCode, pos); pos+=2;

@@ -191,3 +191,3 @@ /****************************************************************************

if (typeof value === 'string') {
return new Buffer(value, encoding);
return new Buffer.from(value, encoding);
} else if (value instanceof Buffer) {

@@ -194,0 +194,0 @@ return value;

{
"name": "volos-cache-common",
"version": "0.10.6",
"version": "0.10.7",
"main": "lib/cache.js",

@@ -5,0 +5,0 @@ "license": "MIT",

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