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 1.0.1 to 1.0.5

5

build.js

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

if (tmp = res.getHeader('content-type')) {
headers['Content-Type'] = tmp;
headers = { ...headers, 'Content-Type': tmp };
}

@@ -77,3 +77,4 @@

}
if (!tmp) headers = { ...headers };
headers['Content-Range'] = `bytes ${start}-${end}/${stats.size}`;

@@ -80,0 +81,0 @@ headers['Content-Length'] = (end - start + 1);

4

package.json
{
"name": "sirv",
"version": "1.0.1",
"version": "1.0.5",
"description": "The optimized & lightweight middleware for serving requests to static assets",

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

},
"gitHead": "cb8114de372e41480cd364233d20cd8be2360744"
"gitHead": "45e2dafabb65fc68b7fb3ec21d47bf40a2cbb8d4"
}

Sorry, the diff of this file is not supported yet

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