Socket
Socket
Sign inDemoInstall

sirv

Package Overview
Dependencies
3
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0-next.2 to 1.0.0-next.4

5

index.js

@@ -138,2 +138,7 @@ const fs = require('fs');

if (isEtag && req.headers['if-none-match'] === data.headers['ETag']) {
res.writeHead(304);
return res.end();
}
setHeaders(res, pathname, data.stats);

@@ -140,0 +145,0 @@ send(req, res, data.abs, data.stats, data.headers);

4

package.json
{
"name": "sirv",
"version": "1.0.0-next.2",
"version": "1.0.0-next.4",
"description": "The optimized & lightweight middleware for serving requests to static assets",

@@ -23,3 +23,3 @@ "repository": "lukeed/sirv",

},
"gitHead": "78f9157a13e741e11a261ac81e2975907808168a"
"gitHead": "163281a5a4e1fe915932c4dda6eb238714012562"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc