Comparing version 1.0.0 to 1.0.1
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21070