Socket
Socket
Sign inDemoInstall

nodecap2

Package Overview
Dependencies
23
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.2.1 to 2.2.2

test/samples/unknown_status_code.in.txt

2

package.json
{
"name": "nodecap2",
"version": "2.2.1",
"version": "2.2.2",
"description": "ICAP server framework for node.js - create custom HTTP proxy filters for Squid, etc.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -44,3 +44,5 @@ "use strict";

options = options || {};
return [options.version || 'ICAP/1.0', code, codes[code][0]];
var description = codes[code];
description = description ? description[0] : "Unknown";
return [options.version || 'ICAP/1.0', code, description];
},

@@ -47,0 +49,0 @@ setIcapStatusCode: function(code, options) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc