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

bare-http1

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bare-http1 - npm Package Compare versions

Comparing version

to
4.0.2

@@ -5,3 +5,3 @@ const { Readable } = require('bare-stream')

constructor(socket = null, headers = {}, opts = {}) {
super({ eagerOpen: true })
super()

@@ -8,0 +8,0 @@ this.socket = socket

@@ -159,2 +159,5 @@ const tcp = require('bare-tcp')

this.req.resume()
this.req.pause()
if (headers.connection && headers.connection.toLowerCase() === 'upgrade') {

@@ -161,0 +164,0 @@ const head = this._buffer

{
"name": "bare-http1",
"version": "4.0.1",
"version": "4.0.2",
"description": "Native HTTP/1 library for JavaScript",

@@ -5,0 +5,0 @@ "exports": {