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.0 to 1.0.1

2

build.js

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

if (isEtag) headers['ETag'] = `W/"${stats.size}-${stats.mtime.getTime()}"`;
if (/\.br$/.test(name)) isEncoding(name, 'brotli', headers);
if (/\.br$/.test(name)) isEncoding(name, 'br', headers);
if (/\.gz$/.test(name)) isEncoding(name, 'gzip', headers);

@@ -101,0 +101,0 @@ return headers;

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

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

},
"gitHead": "e390c6290b39f03146c564e0f94faafa1b62f01f"
"gitHead": "cb8114de372e41480cd364233d20cd8be2360744"
}

@@ -1,2 +0,2 @@

# sirv ![CI](https://github.com/lukeed/sirv/workflows/CI/badge.svg?branch=master&event=tag)
# sirv ![CI](https://github.com/lukeed/sirv/workflows/CI/badge.svg)

@@ -3,0 +3,0 @@ > The optimized and lightweight middleware for serving requests to static assets

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