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.3.0 to 1.3.1

1

index.js

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

resp.setHeader('Content-Type', c.mime);
resp.setHeader('Cache-Control', 'max-age=0, must-revalidate');
resp.setHeader('ETag', c.hash);

@@ -97,0 +98,0 @@ if (req.headers['accept-encoding'] == null) {

2

package.json
{
"name": "connect-static",
"version": "1.3.0",
"version": "1.3.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