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

cocaine

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cocaine - npm Package Compare versions

Comparing version 0.2.9-2 to 0.2.9-3

10

lib/http.js

@@ -110,8 +110,6 @@

var code = this.__statusCode || this.statusCode;
// var hh = Object.keys(headers).map(function(k){
// return [k,headers[k].toString()];
// });
var hh = this._header.split('\r\n')
__assert(hh.pop() === '') // remove last CRLF that produces empty string
hh = hh.map(function(kv){return kv.split(':').map(function(s){return s.trim()})})
headers = headers || { date : new Date().toUTCDate()}
var hh = Object.keys(headers).map(function(k){
return [k,headers[k].toString()];
});
this._header = mp.pack([code,hh]);

@@ -118,0 +116,0 @@ this._headerSent = false;

2

package.json
{
"name": "cocaine",
"version": "0.2.9-2",
"version": "0.2.9-3",
"description": "Node.js framework for Cocaine platform",

@@ -5,0 +5,0 @@

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