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

connect-static

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connect-static - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

1

index.js

@@ -84,3 +84,2 @@ var zlib = require('zlib');

resp.setHeader('ETag', c.hash);
console.log(req.url, req.headers);
if (req.headers['accept-encoding'] == null) {

@@ -87,0 +86,0 @@ sink.createReadStream().pipe(zlib.createGunzip()).pipe(resp);

2

package.json
{
"name": "connect-static",
"version": "1.1.0",
"version": "1.1.1",
"description": "static file server middleware for connect. loads files once at startup and saves gzipped versions in memory",

@@ -5,0 +5,0 @@ "main": "index.js",

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