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

node-ral

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-ral - npm Package Compare versions

Comparing version 0.5.2 to 0.5.3

21

lib/ext/protocol/httpProtocolBase.js

@@ -140,2 +140,5 @@ /**

opt.headers = opt.headers || {};
if (!opt.headers.HOST && !opt.headers.host) {
opt.headers.HOST = opt.host + ':' + opt.port;
}
opt.path = url.resolve(uri, path);

@@ -157,11 +160,11 @@ var proxyUri = url.parse(proxy);

// or, just use zlib.createUnzip() to handle both cases
case 'gzip':
res.pipe(zlib.createGunzip()).pipe(response);
break;
case 'deflate':
res.pipe(zlib.createInflate()).pipe(response);
break;
default:
res.pipe(response);
break;
case 'gzip':
res.pipe(zlib.createGunzip()).pipe(response);
break;
case 'deflate':
res.pipe(zlib.createInflate()).pipe(response);
break;
default:
res.pipe(response);
break;
}

@@ -168,0 +171,0 @@ callback && callback(response);

{
"name": "node-ral",
"version": "0.5.2",
"version": "0.5.3",
"description": "a rpc client for node",

@@ -5,0 +5,0 @@ "main": "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