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

http2-proxy

Package Overview
Dependencies
Maintainers
1
Versions
193
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http2-proxy - npm Package Compare versions

Comparing version 5.0.14 to 5.0.15

2

package.json
{
"name": "http2-proxy",
"version": "5.0.14",
"version": "5.0.15",
"scripts": {

@@ -5,0 +5,0 @@ "dev": "nodemon --inspect=9308 src",

@@ -169,2 +169,3 @@ # http2-proxy

let finished = false
let bytesWritten = 0
try {

@@ -201,3 +202,3 @@ return await proxy.web(req, res, {

// WORKAROUND: https://github.com/nodejs/node/pull/28004
res.bytesWritten = (res.bytesWritten || 0) + buf.length
bytesWritten += buf.length
if (!res.write(buf)) {

@@ -233,3 +234,3 @@ proxyRes.pause()

if (req.method === 'HEAD' || req.method === 'GET') {
if (!res.bytesWritten) {
if (!bytesWritten) {
continue

@@ -236,0 +237,0 @@ } else {

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