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.18 to 1.0.19

4

build.js

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

const list = require('totalist/sync');
const mime = require('mime/lite');
const { lookup } = require('mrmime');

@@ -100,3 +100,3 @@ const noop = () => {};

let ctype = mime.getType(name.slice(0, enc && -3)) || '';
let ctype = lookup(name.slice(0, enc && -3)) || '';
if (ctype === 'text/html') ctype += ';charset=utf-8';

@@ -103,0 +103,0 @@

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

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

"@polka/url": "^1.0.0-next.20",
"mime": "^2.3.1",
"mrmime": "^1.0.0",
"totalist": "^1.0.0"
}
}

Sorry, the diff of this file is not supported yet

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