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 0.2.6 to 0.2.7

5

index.js

@@ -127,6 +127,4 @@ const http2 = require('http2')

// NOTE http2.Http2ServerRequest doesn't forward stream errors.
const incoming = req.stream || req
(req.stream || req).on('error', onError)
incoming.on('error', onError)
return proxy(req, resOrSocket, options, onRes, onError)

@@ -170,3 +168,2 @@ } catch (err) {

} else {
err.statusCode = 500
callback(err)

@@ -173,0 +170,0 @@ }

2

package.json
{
"name": "http2-proxy",
"version": "0.2.6",
"version": "0.2.7",
"scripts": {

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

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