Socket
Socket
Sign inDemoInstall

koa-spdy-push

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa-spdy-push - npm Package Compare versions

Comparing version 0.1.8 to 0.1.9

6

index.js

@@ -40,6 +40,8 @@

&& filter(headers['content-type'])
if (compress)
if (compress) {
headers['content-encoding'] = 'gzip'
else if (typeof length === 'number')
delete headers['content-length']
} else if (typeof length === 'number') {
headers['content-length'] = String(length)
}

@@ -46,0 +48,0 @@ // regular push stream handling

{
"name": "koa-spdy-push",
"description": "SPDY Push helper for Koa",
"version": "0.1.8",
"version": "0.1.9",
"author": {

@@ -6,0 +6,0 @@ "name": "Jonathan Ong",

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