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

sirv

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sirv - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

3

index.js

@@ -87,3 +87,3 @@ const fs = require('fs');

setHeaders(res, uri, stats);
send(req, res, file, stats, {
return send(req, res, file, stats, {
'Content-Type': mime.getType(file),

@@ -94,2 +94,3 @@ 'Last-Modified': stats.mtime.toUTCString(),

}
return next ? next() : isNotFound(req, res);
}

@@ -96,0 +97,0 @@ }

{
"name": "sirv",
"version": "0.4.1",
"version": "0.4.2",
"description": "The optimized & lightweight middleware for serving requests to static assets",

@@ -5,0 +5,0 @@ "repository": "lukeed/sirv",

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